1 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
3 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
5 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8 * text2.C (deleteEmptyParagraphMechanism): take care whether
9 a blank has been deleted (in change tracking mode) (bug 1254).
11 2005-07-20 John Levon <levon@movementarian.org>
13 * text2.C (insertStringAsLines): remove old dubious code,
16 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
18 * MenuBackend.C (expandToc): use Floating::listName() as title of
21 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
23 * toc.[Ch]: Do not use translatable strings (bug 1870).
25 2005-07-20 John Levon <levon@movementarian.org>
27 * tabular.C: fix 1748 - setting multicolumn adds
28 left line to the first cell
30 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
33 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
36 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
38 * messages.C: supress some lyxerr messages
40 2005-07-18 Juergen Vigna <jug@lyx.org>
42 * text.C (drawSelection): honor boundary when asking for cursorX.
44 2005-07-17 José Matos <jamatos@fc.up.pt>
46 * tabular.C (recalculateMulticolumns): fix handling of one column
49 2005-07-17 Juergen Vigna <jug@lyx.org>
51 * text.C (Delete, backspace): fixed so that paragraph with the
52 same layout can be merged by Delete/Backspace.
54 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
56 * text.C (readParToken): fix spelling.
58 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
60 * text2.C: fix counter update for DEPM problem reported by
63 2005-07-17 Juergen Vigna <jug@lyx.org>
65 * BufferView_pimpl.C (setBuffer): save/restore the
66 cursor/selection when switching buffers
69 * buffer.C (saveCursor): add saveDocumentIterators to save the
70 cursor when switching buffer.
72 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
75 * buffer.C: clarify message
77 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
79 * dociterator.C (DocIterator): fix initialization order
81 2005-07-17 Juergen Vigna <jug@lyx.org>
83 * text2.C (cursorHome):
84 * text.C (drawSelection, cursorX):
85 * dociterator.C (textRow): add boundary to getRow() call
87 * paragraph.C (getRow): implementation of below
89 * paragraph.h: add parameter boundary for getRow() function
91 2005-07-17 José Matos <jamatos@fc.up.pt>
95 * tex-strings.[Ch]: new file format, remove support for a4.sty,
96 a4wide.sty and a4widemargins.
98 2005-07-17 Juergen Vigna <jug@lyx.org>
100 * text2.C (cursorLeft): fix one of error
102 2005-07-17 Juergen Vigna <jug@lyx.org>
104 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
106 more fixes for boundary handling
108 * text3.C (dispatch): don't reset cursor if boundary has changed
111 2005-07-16 Juergen Vigna <jug@lyx.org>
113 * text2.C (getColumnNearX): hopefully got it right now,
114 check if we are on column 0 for special case.
116 2005-07-16 Juergen Vigna <jug@lyx.org>
118 * text2.C (getColumnNearX): handle special case Newline Inset
120 * text.C (singleWidth): Just remove bogus check
122 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
124 * funcrequest.C (split): avoid reading uninitialized char c
126 2005-07-16 José Matos <jamatos@fc.up.pt>
132 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
133 single papersize variable.
135 2005-07-16 Juergen Vigna <jug@lyx.org>
137 * text3.C (dispatch): honor boundary when checking if a cursor
138 movement has been done
140 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
141 (setCursor, setCursorIntern): fix cursor movement with boundary
143 2005-07-16 Juergen Vigna <jug@lyx.org>
145 * text.C (currentState): output the actual Boundary
147 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
149 * factory.C (createInset): fix bad logic for tabular creation
151 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
153 * lyx_main.C (init): change some reLyX reference to tex2lyx
155 2005-07-16 Juergen Vigna <jug@lyx.org>
157 * dociterator.C (DocIterator): initialize boundary
159 2005-07-16 Juergen Vigna <jug@lyx.org>
161 * text2.C (getColumnNearX): Consider rows without trailing blank.
163 2005-07-16 André Pönitz <poenitz@gmx.net>
165 * lyxfont.h: Change order of declarations to give the compiler
166 a better chance to inline things
168 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
169 questions on unsaved docs for better scritability
171 2005-07-16 André Pönitz <poenitz@gmx.net>
173 * paragraph.h (getChar): remove asserts as the same kind of security
174 can be achieved by using a suitable standard library implementation
175 and the function was in the critical path (25.9% in profiler)
177 2005-07-16 Juergen Vigna <jug@lyx.org>
179 * cursor.C (bruteFind2):
180 * bufferview_funcs.C (coordOffset):
181 * text.C (cursorX,cursorY): Handle cursor position after last char
182 in row before a inset which uses a whole row.
184 2005-07-15 José Matos <jamatos@lyx.org>
186 * output_plaintext.[Ch] (writeFileAscii): control reference title
188 (asciiParagraph): noparbreak was already deal and was incorrectly
191 2005-07-15 Juergen Vigna <jug@lyx.org>
193 * lyxfunc.C (dispatch): save and restore the cursor after a
196 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
198 * text.C (backspace): bug 806 for empty keepempty paragraphs we
199 change the layout to default before letting DEPM do its thing.
201 * paragraph_funcs.C (breakParagraph): dont reset the layout on
204 * text.C (setCursorFromCoordinates): add a debug statement
206 * text2.C (getColumnNearX): bug 1825 make sure that we don't
207 return a pos that is not on the row
209 * output_latex.C (TeXDeeper): get rid of potential dereferencing
210 of past the end iterator
212 2005-07-14 André Pönitz <poenitz@gmx.net>
214 * undo.C (recordUndoFullBuffer): implement undo for
217 2005-07-14 André Pönitz <poenitz@gmx.net>
219 * cursor.C (setSelection): open insets when selection is set there
220 to avoid crashs with cold coord cache
222 2005-07-14 André Pönitz <poenitz@gmx.net>
224 * trans_mgr.C (insert): move cursor to the right after inserting
227 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
229 * BufferView_pimpl.C (update): dampen some of the debug blabbering
230 * factory.C (readInset): ditto
231 * text.C, text2.C: ditto
233 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
235 * buffer.C: format incremented to 242. There is no file format per
236 se, but the "frenchb" language has been removed from lib/language
237 and has to be translated to "french" by lyx2lyx.
239 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
241 * cursor_slice.h, dociterator.h: add some documentation
242 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
244 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
246 * text.C (leftMargin): do not add identation to display() style
247 insets, because they are always centered (bug 1293).
249 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
251 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
252 formatted_time methods in support/lyxtime.
254 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
256 * toc.[Ch]: new method getGuiName, which is used by the frontends
257 to set the toc combo (fixes bug 1870). Make TOC string translatable.
259 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
261 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
262 StableDocIterator const &)
263 * undo.C (recordUndo): use the above instead of cell.size() comparison
264 (fixes bug 1808; instructed by Andr�.
266 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
269 * dociterator.h: Fix the assert when copying rows/cols in math
271 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
273 * BufferView_pimpl.C:
275 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
277 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
278 (findInset): new functions, refactored from goto Inset that return
279 the position of a certain inset without setting the buffer's cursor
281 (gotoInset): rewrite to call findInset and then set the cursor
284 2005-06-16 Angus Leeming <leeming@lyx.org>
286 * lyxrc.C (output, read): wrap all input and output of paths with
287 calls to os::internal_path and os::external_path, respectively.
288 (output): wrap bind_file inside quotes.
290 * format.C (view): enable the viewer to use the '$$s' placeholder.
292 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
294 * LColor.[Ch] (getFromLaTeXName): new
296 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
298 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
300 2005-06-14 Angus Leeming <leeming@lyx.org>
302 * lyx_main.C (init): ensure that the LyX binary dir is the first
303 element in the PATH on non-POSIX builds.
305 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
307 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
309 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
311 * rowpainter.C (paintInset, paintHebrewComposeChar)
312 (paintArabicComposeChar, paintChars): add a LyXFont argument.
313 (paintChars): use getFontSpan to reduce calls to getFont to a
314 minimum; use Paragraph::lookupChange instead of isXXXText.
315 (paintForeignMark): rename LyXFont argument.
316 (paintFromPos): pass a LyXFont object to the various paintXXX
319 * FontIterator.C (FontIterator, operator++): use
320 Paragraph::getFontSpan
322 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
323 version that returns the font span as a pair.
325 2005-06-09 Angus Leeming <leeming@lyx.org>
327 * converter.C (convert): Don't forget "outfile = real_outfile" as
328 the final step in a conversion where the input and output file names
329 are the same. Otherwise, future conversion steps won't work...
331 2005-06-09 Angus Leeming <leeming@lyx.org>
333 * lyxsocket.C: remove stub code as it isn't needed by
334 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
336 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
338 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
339 effectively disabled -x
341 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
343 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
344 when it actually makes sense.
346 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
348 * BufferView_pimpl.C: revert to showCursor in connection with
349 Lars's front-end stack
351 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
353 * text.C (redoParagraph): move cursor right after a bibitem
356 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
358 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
360 * buffer_funcs.C (bufferErrors): fix computation of the end of an
363 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
365 * BufferView.[Ch] (update):
366 * BufferView_pimpl.[Ch] (update, metrics):
367 * dimension.h (operator==):
368 * lyxfunc.C (dispatch):
369 * metricsinfo.h (ViewMetricsInfo):
370 * rowpainter.C (paintText):
372 * text.C (redoParagraph):
373 * text3.C (dispatch): Make LyX only repaint current paragraph in
374 case of character insert --> speedup. Also fix cursor draw
377 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
379 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
380 avoid a crash (bug 1891)
382 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
386 * text2.C (getStringToIndex): constify cur argument.
388 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
389 argument has been given
390 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
391 try to invoke LFUN_INSET_APPLY).
393 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
394 if no inset was created by doInsertInset
395 (doInsertInset): return true if an inset has been inserted.
397 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
399 * vspace.C (asGUIName): new method. A version of the space
400 suitable for showing on screen.
402 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
405 * lyxrc.C: rename "ASCII" to "Plain Text"
407 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
409 * buffer_funcs.C (expandLabel): take a Buffer as argument;
410 translate the labelstring.
411 (setCounter): translate labelstring as needed.
413 * output_docbook.C (makeCommand): fix expandLabel invokation
415 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
417 * BufferView.C: fix dialog title
419 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
421 * lyx_main.C (priv_exec): fix logic error with help from Angus
422 * lyx_main.C (parse_execute): set is_gui = false and remove now
423 obsolete comment about a segfault
425 2005-05-18 Angus Leeming <leeming@lyx.org>
427 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
429 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
431 * tabular.[hC]: added setCellInset to fix tabular paste.
433 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
435 * buffer.C (save): check if destination is writable before trying
438 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
440 * BufferView_pimpl.C (update): fix processEvents -caused update
443 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
445 * buffer_funcs.C (setCounter): fix test for numbering of
448 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
449 depth correctly; use optional argument when it exists
451 * lyxtextclass.C: remove unused MaxCounterTags enum
452 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
453 (max_toclevel, min_toclevel): new methods.
455 * MenuBackend.C (expandToc2): fix case where depth is smaller than
456 the smallest depth in toc.
458 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
459 layouts that should not appear in a table of contents.
461 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
463 * cursor.h (undispatched, noUpdate): add comments from Andr�
464 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
468 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
470 2005-05-07 André Pönitz <poenitz@gmx.net>
472 * cursor.[Ch] (leaveInset): new function
474 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
476 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
478 2005-05-04 Angus Leeming <leeming@lyx.org>
480 * lyxfunc.C (getStatus): disable the spell checker dialog if
481 none of USE_[AIP]SPELL are defined.
483 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
485 * tabular.C (setWidthOfCell): remove obsolete comment
487 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
489 * paragraph.C (bibitem):
490 * buffer_funcs.C (setCounter):
491 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
493 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
495 * text3.C (getStatus): immediately return after setOnOff
497 * rowpainter.C: fix drawing of appendix start
499 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
501 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
502 SwitchBetweenClasses and remove the unused return value.
503 Handle character styles, too
505 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
507 * factory.C (createInset): handle undefined character styles
509 2005-05-02 Angus Leeming <leeming@lyx.org>
511 * buffer.C: protect the #include of utime.h with a preprocessor
514 2005-05-02 Angus Leeming <leeming@lyx.org>
516 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
517 function so that auto-saving works, albeit in a blocking manner.
519 * Makefile.am: make compilation of the client sub directory, of
520 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
521 on conditionals set at configure time.
523 * SpellBase.[Ch]: no longer an abstract base class. Instead,
524 it can be compiled in its own right but has no-op functionality.
526 * aspell.C, pspell.C: remove preprocessor guards. The files should
527 be compiled only if the necessary functionality exists.
529 * lyxserver.C, lyxsocket.C: disable on Windows.
531 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
533 * text.C (leftMargin): Fix the parindent use bug (1764)
536 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
538 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
541 2005-04-25 Angus Leeming <leeming@lyx.org>
549 include <config.h> in .C files, not .h ones.
551 protect headers inside preprocessor guards.
553 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
555 * FuncStatus.h (StatusCodes): document
557 2005-04-21 André Pönitz <poenitz@gmx.net>
559 * FuncStatus.h (enabled, onoff): document
561 2005-04-19 Angus Leeming <leeming@lyx.org>
563 * BufferView_pimpl.C (cursorToggle): no longer test whether
564 any child processes have been reaped before calling
565 handleCompletedProcesses().
567 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
569 * text3.C (dispatch): fix, finally fix, the language problem in
570 new lyxtexts, without disabling on-the-fly font changes (Helge's
573 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
575 * text3.C (dispatch): set cursor on double/triple click events
578 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
580 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
581 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
583 * rowpainter.C (paintFirst): simplify the code a little bit. In
584 particular, remove the test for secnumdepth.
585 * text.C (setHeightOfRow): only allocate space for chapter number
586 when updateCounters provided an actual label, instead of looking
587 at secnumdepth directly.
589 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
591 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
592 paragraphs when secnumdepth is large enough or, for environments,
593 when they are not the first in a sequence.
595 2005-04-17 Angus Leeming <leeming@lyx.org>
597 * buffer.C (makeLaTeXFile): replace code to manipulate a path
598 containing space and '~' characters with a call to latex_path().
600 2005-04-17 Angus Leeming <leeming@lyx.org>
602 * converter.C (convert): protect all args of convertDefault.sh
605 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
607 * text3.C (dispatch): change the layout to "Caption" after inserting
610 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
612 * text3.C (dispatch): fix language problem in newly created
613 textinsets (and main text) in non-english docs
615 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
617 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
618 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
619 * text3.C (getStatus): disable LFUN_INSET_MODIFY
621 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
626 * rowpainter.C (getFont): Fix metrics bug introduced by inset
629 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
631 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
632 output of \item arguments without trailing text.
634 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
636 * FontIterator.C (operator*): avoid a copy of the font.
638 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
640 * rowpainter.C (getFont): fix language bug from previous fix
642 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
644 * rowpainter.C (RowPainter, getFont): fix font inside inset
647 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
649 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
650 preventing inserted font, deco, delim insets jumping to start of
653 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
655 * lyxfunc.C (dispatch): translate message before sending it to the
658 2005-03-29 Angus Leeming <leeming@lyx.org>
660 * lyx_main.C (priv_exec): call os::internal_path on each file passed
661 to LyX on the command line.
663 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
665 * vc-backend.C: use QuoteName to protect file names wherever
668 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
671 * BranchList.h: fix bugs 1844,1845: document settings don't
674 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
676 * lyxrc.C (setDefaults, read, output, getDescription): add support
677 for tex_allows_spaces.
679 * exporter.C (Export): allows files in directory containing spaces
680 if tex_allows_spaces is true.
682 * buffer.C (makeLaTeXFile): if the document path contains spaces,
683 output it in double quotes.
685 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
687 * rowpainter.C: use default text height for drawing change tracker
690 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
692 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
694 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
696 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
697 directory is missing.
699 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
701 * text2.C: fixed the fix, extended to other case.
703 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
705 * text2.C: fix for cursor up/down stuck in math [bug 1792]
707 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
709 * text2.C (cursorUp): get rid of a crash
710 * text.C (x2pos): add an assert
712 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
714 * lyxfunc.C (getStatus): fix warning when assertions are disabled
718 * dociterator.C: include <boost/current_function.hpp>, which is
719 needed when assertions are disabled.
721 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
723 * text2.C: fix for stuck cursor when traversing two
724 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
726 2005-02-25 Andreas Vox <avox@arcor.de>
728 * output_docbook.C (makeParagraph): suppress trailing newline
729 after a run of paragraphs
731 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
733 * paragraph.C: fix for confused change tracker when pasting
734 text that begins with a lineseparator. [bug 1827]
735 (setChange(0, Change::INSERTED);)
737 * paragraph_funcs.C: fix for lost changes on triple-paste
738 in change tracking mode [bug 1827] (par.setChange()).
740 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
742 * text2.C (updateCounters, setCounter, expandLabel): move to
745 * buffer_funcs.C (updateCounters): turn into a free standing
746 function and add a buffer parameter. Remove dead code for tracking
748 (setCounter): change into a free-standing function which gets a
749 dociterator as argument. Use this iterator to fix captions in a
750 simple way. When no float is found above the caption, use the
751 labelstring of the caption layout as default.
753 * text.C (breakParagraph, backspace):
754 * text2.C (init, setLayout, changeDepth):
755 * text3.C (dispatch):
756 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
759 * dociterator.C (forwardPar): make it much faster by calling
760 forwardPos() only when really necessary.
762 * output_docbook.C (makeCommand): adapt to expandLabel move.
764 * cursor.C: remove unused variable
766 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
768 * paragraph_funcs.C: fix crash when pasting insets in change
769 tracking mode [bug 1277] (honour change type in moveItem).
771 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
773 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
775 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
777 * BufferView.C (setCursor): change to use a DocIterator.
778 (gotoLabel): use BufferView::setCursor (other part of bug 781).
779 (putSelectionAt): adapt to BufferView::setCursor change.
781 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
782 moved here from LyXText and rewritten to use proper cursor
783 methods. Fixes bug 1787, 616 and 835.
785 * BufferView_pimpl.C (restorePosition): set the cursor correctly
786 when inside an inset (part of bug 781).
787 (dispatch): adapt to change of BufferView::setCursor.
788 (getStatus, dispatch): handle LFUN_GOTOERROR,
789 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
791 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
792 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
793 * text3.C (gotoNextInset, gotoInset): removed.
795 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
797 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
799 2005-02-15 Angus Leeming <leeming@lyx.org>
801 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
802 can be used meaningfully in a comparison.
804 2005-02-13 André Pönitz <poenitz@gmx.net>
806 * bufferview_funcs.C (coordOffset): improve cursor drawing
808 2005-02-13 André Pönitz <poenitz@gmx.net>
810 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
811 * Cursor.C (dispatch): use fixIfBroken
812 * lyxfunc.C (getStatus): use fixIfBroken
814 2005-02-15 Angus Leeming <leeming@lyx.org>
816 * lyx_main.C (error_handler):
818 * lyxrc.C (setDefaults):
820 #include "environment.h".
822 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
824 2005-02-15 Angus Leeming <leeming@lyx.org>
826 * lyxserver.C (startPipe): squash MSVC warning "local variable
827 'fd' used without having been initialized".
829 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
831 * BufferView_pimpl.C: revert accidental commit.
833 2005-02-14 André Pönitz <poenitz@gmx.net>
835 * dociterator.[Ch]: new member forwardPosNoDescent(),
836 which doesn't enter nested insets.
837 * text2.C (setFont): use forwardPosNoDescent() instead
838 of ForwardPos() (fixes crash on font change).
840 2005-02-13 Angus Leeming <leeming@lyx.org>
842 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
843 only if lyxrc.path_prefix is not empty.
845 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
847 * bufferparams.C (readGraphicsDriver): prevent crash
849 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
851 * text2.C (setCounter): check for inInset() == 0
853 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
855 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
856 but use update() to get correct screen display; use convert
857 instead of istringstream.
858 (getStatus): handle LFUN_GOTO_PARAGRAPH
860 * lyxfunc.C (dispatch, getStatus): do not handle
861 LFUN_GOTO_PARAGRAPH here.
863 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
865 * text3.C (dispatch): size() -> depth()
867 * text2.C: remove some debug output
869 * paragraph.C: ws changes only
871 * lyxfunc.C (getStatus): size() -> depth()
873 * dociterator.h (clear, push_back, pop_back, internalData,
874 operator[], resize, empty): new functions
875 Make StableDocIterator and operator== be friends. Don't inherit
876 from std::vector use a privat class variable slices_ instead.
879 * dociterator.C: update because of not inheriting from std::vector
880 anymore. Call explictly to slices_ instead. Use depth() instead of
881 size() and top() instead of back()
883 * cursor.C: chagne size() -> depth and back() -> top(). Also
884 remove some direct operator[](i) calls in favour of foo[i]
885 (getFont): remove some dead code
887 * bufferview_funcs.C (coordOffset): size() -> depth()
889 * buffer.C: ws changes only
891 * CutAndPaste.C (eraseSelection): back() -> top()
893 * BufferView_pimpl.C (selectionRequested): back() -> top()
895 * BufferView.C (setCursor): size() -> depth()
897 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
899 * text3.C (cursorPrevious): return true if depm changed something
901 (dispatch): rename sl to oldTopSlice, remove moving use the new
902 NoUpdate func attrib instead. Make sure that needsUpdate is set
903 for function that have NoUpdate, but where depm might have changed
906 * text2.C (cursorLeft): make us return true if depm changed
909 (cursorUpParagraph): ditto
910 (curosrDownParagraph): ditto
911 (cursorUp, cursorDown): ditto, make sure to read comments in code
912 (deleteEmptyParagraphMechanism): remove an assert, also return
913 true if just a single char was deleted.
915 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
916 cursor that we modify, to avoid modifying an active cursor before
917 we call setCursor. This allows depm to run. Also return true if
918 depm deleted something.
920 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
921 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
922 cursorDownParagraph, cursorPrevious and cursorNext, return true if
923 something was changed in the buffer because of them (ie. depm run)
925 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
926 debug messages. Make update by default be false. Make sure that
927 the result of update is retained throught several calls down to
930 * LyXAction.h: add a new func_attrib: NoUpdate
932 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
933 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
934 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
936 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
938 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
940 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
941 bv_->owner(), bv_->buffer() by direct references to the private
943 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
944 (getStatus): isSavedPosition() is in BufferView::Pimpl.
945 (fitCursor): center() is in BufferView::Pimpl.
946 (getStatus, trackChanges, dispatch): no need for a temporary buf
948 (fitCursor, workAreaDispatch): use workarea().workheight()
950 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
952 * CutAndPaste.C (pasteSelectionHelper): fix a crash
954 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
956 * buffer.C: format up to 241.
957 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
958 break if pasting into ERT
959 * lyxfunc.C (getStatus): suppress mathpanel and
960 LFUN_DIALOG_SHOW_NEW_INSET in ERT
962 2005-02-01 Angus Leeming <leeming@lyx.org>
964 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
966 2005-02-01 Angus Leeming <leeming@lyx.org>
968 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
969 calling fs::is_directory().
971 2005-01-31 Angus Leeming <leeming@lyx.org>
973 * lyx_main.C (priv_exec): specify explicitly the relative location
974 of the top level build directory when run in-place.
976 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
978 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
979 LyXText containing the cursor, not the top-level one.
981 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
983 (insertStringAsLines): rename par to pit; use temporary variable
984 par to hold a Paragraph; do not store par.layout() in a variable,
985 since the pointer may die when breaking paragraphs; pass pars to
986 breakParagraph() instead of Buffer::paragraphs().
988 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
990 * lyxlex_pimpl.h: #include <fstream>.
992 * BufferView.[Ch] (getLyXText): add a const version.
994 * BufferView_pimpl.C: add debug aids.
999 * paragraph_funcs.h: add commentary explaining what the class does.
1002 * coordcache.[Ch]: add lots of commentary.
1003 (startUpdating, doneUpdating): debug aids.
1004 (arrays, insets, parPos, getParPos): accessors to private data.
1006 * cursor_slice.[Ch] (text): add a const version.
1007 * dociterator.[Ch] (text, innerText): add const versions.
1009 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1012 * paragraph.C (getRow, pos2ros): add asserts.
1014 * paragraph.h: add commentary. Lots of.
1016 * paragraph.[Ch] (metrucs, draw): removed.
1019 * rowpainter.[Ch]: const-correct changes.
1021 * text.C: various obvious clean-ups. Removal of ancient cruft.
1024 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1026 * vc-backend.C (find_file): rewrite to use boost.filesystem
1029 * main.C (main): set default name check for boost.filesystem to
1032 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1035 (actOnUpdatedPrefs): ditto
1037 * lyx_main.C (init): rewrite to use boost.filesystem
1038 (queryUserLyXDir): ditto
1040 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1041 (getContentsOfAsciiFile): ditto
1043 * lastfiles.C (readFile): rewrite to use boost.filesystem
1045 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1047 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1048 (loadLyXFile): ditto
1050 * buffer.C (Buffer): adjust for destroydir
1051 (getLogName): rewrite to use boost.filesystem
1052 (setFileName): ditto
1053 (save): use fs::copy_file (from fs_extras)
1055 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1057 * LaTeX.C (run): rewrite to use boost.filesystem
1058 (scanAuxFiles): ditto
1059 (handleFoundFile): ditto
1061 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1063 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1065 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1067 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1069 * lyxlayout.[Ch]: change some vars from float to double
1071 * buffer.C (readFile): make a local var const
1073 * Several files: use convert<> instead of atoi,strToXXX and friends
1075 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1077 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1078 holds the contents of packages.lst. New functions getAvailable
1079 and isAvailable to parse and check that list, resp.
1083 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1085 * bufferparams.[Ch]: new param output_changes.
1087 * Buffer.C: increase file format to 240.
1088 Use output_changes and isVailable.
1092 * paragraph_pimpl.C: Use output_changes and isVailable.
1094 2005-01-23 Angus Leeming <leeming@lyx.org>
1096 * output_latex.C: #include "insetbibitem.h", rather than
1097 forward declare function bibitemWidest.
1099 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1101 * lyx_main.C (init): make it compile on the Mac.
1103 2005-01-20 Angus Leeming <leeming@lyx.org>
1105 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1106 (setLyXMisc): (char string literal) != (char string literal) is
1107 performing a comparison on the addresses. Convert one operand
1108 explicitly to string to guarantee expected behaviour.
1111 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1114 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1116 * output_plaintext.C: remove unneeded #include gzstream.h.
1118 2005-01-20 Angus Leeming <leeming@lyx.org>
1120 * SpellBase.h: rename some of the elements of the Result enum.
1127 * pspell.C (check): ditto
1129 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1131 * buffer.C: add #include <fstream>.
1133 * lyx_main.C (init): Compile fix.
1135 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1137 2005-01-20 Angus Leeming <leeming@lyx.org>
1139 * mover.h: change commentary to reflect the changed meaning of
1140 the $$s placeholder.
1142 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1144 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1146 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1148 2005-01-20 Angus Leeming <leeming@lyx.org>
1150 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1151 printing diagnostic data by not dereferecing an iterator past the
1154 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1156 * buffer.C (readHeader): use "&&" rather than "and".
1158 * lyxserver.h (inPipeName, outPipeName): make these const.
1160 2005-01-19 Angus Leeming <leeming@lyx.org>
1162 * lyx_main.C (error_handler, init): protect SIGHUP with
1163 #ifdef SIGHUP guards.
1165 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1167 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1169 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1171 * text.C (setHeightOfRow): add a margin at the top and bottom of
1172 the document (bug 1761)
1174 2005-01-17 Angus Leeming <leeming@lyx.org>
1176 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1177 with "python ". Workaround for a brain-dead Windows.
1179 2005-01-16 Angus Leeming <leeming@lyx.org>
1181 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1182 for MacOSX and Windows to use prependEnvPath.
1183 Strip out the hard-coded block to add elements to the PATH for
1184 MacOSX and replace it with a call to prependEnvPath using the
1185 contents of LyXRC::path_prefix.
1186 (queryUserLyXDir): strip out the code to run reconfigure, instead
1187 returning a boolean indicating the necessity to do so.
1188 (reconfigureUserLyXDir): contains the code to reconfigure the
1189 user support directory. Is now called after the various LyXRC data
1190 files have been read.
1192 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1194 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1196 * converter.[Ch] (convert): take a new parameter try_default. Use
1197 a default converter (imagemagick) if try_default is true.
1199 2005-01-13 Angus Leeming <leeming@lyx.org>
1201 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1202 os::cygwin_path_fix.
1203 (write): output LyXRC::cygwin_path_fix as necessary.
1205 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1208 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1210 2005-01-12 Angus Leeming <leeming@lyx.org>
1212 * lyx_main.C (init): set the PATH variable to include the
1213 directory containing the LyX binary when running on Mac or Windows.
1215 2005-01-12 Angus Leeming <leeming@lyx.org>
1217 * lyx_main.C (init): remove cruft that purports to set the locale
1218 dir. It doesn't and is not needed anyway.
1220 2005-01-10 Angus Leeming <leeming@lyx.org>
1222 * Makefile.am: remove the lyx_main.C special casing.
1224 * BufferView_pimpl.C:
1230 * messages.C: use support/package.h to provide the paths to the
1231 various directories used by LyX.
1233 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1235 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1236 layout if pasting into an empty paragraph)
1238 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1240 * tex-accent.C: add <string>
1242 2005-01-06 José Matos <jamatos@lyx.org>
1244 * ParagraphParameters.C (write): put every parameter in its own line.
1245 * paragraph.C (write): reduce number of consecutive empty lines exported.
1246 * buffer.C (LYX_FORMAT): increase file format to 239.
1248 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1250 * everywhere: change support/tostr.h -> support/convert.h
1252 * tabular.C: make all write_attributes templates, tostr -> convert
1254 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1255 (emptyTag): and -> &&, and fix type for ret from getChar
1256 (getFirstWord): fix type for ret from getChar
1257 (onlyText): and -> &&
1258 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1261 * toc.C (goTo, action):
1262 * text3.C (dispatch):
1263 * text.C (currentState):
1264 * tex-accent.C (DoAccent):
1267 * lyxfunc.C (menuNew):
1268 * lyxfinc.C (replace):
1269 * counters.C (laberItem):
1270 * bufferview_funcs.C (font2string):
1271 * bufferparams.C (writeFile):
1272 * buffer.C (readFile):
1274 * MenuBackend.C: tostr -> convert
1276 * LaTeX.C (runMessage): fix format
1277 (scanAuxFiles): tostr -> convert
1279 * BufferView_pimpl.C (savePosition): fix format
1280 (restorePosition): ditto
1283 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1285 * Spacing.[Ch]: New method getValueAsString().
1289 * ParagraphParameters.C:
1292 * text3.C: store/read spacing value as string.
1294 * rowpainter.C: change float value (spacing_val) to double.
1296 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1297 broken custom document spacing).
1299 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1301 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1302 namespace, also more use of temp references and const
1304 * cursor.[Ch] (getStatus): move to lyxfunc.C
1306 * bufferparams.C: reformat slightly
1308 * bufferview_funcs.C (font2string): constify arg
1314 * buffer_funcs.C: (many funcs): constify arg on function
1315 definitions, also make more local vars const, also add ASSERTS on
1318 * buffer.C (LYX_FORMAT): put const in correct place
1319 (many funcs): constify arg on function definitions, also make
1320 more local vars const
1322 * aspell_local.h: remove "struct" from typdef setup
1324 * aspell.C (check): make word_ok const
1325 (nextMiss): simplify slightly
1328 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1330 * lyxrc.[Ch]: store all float values as strings.
1331 use int (not float) for lyxrc.dpi.
1333 2005-01-04 Angus Leeming <leeming@lyx.org>
1335 * lyx_cb.C (Reconfigure):
1336 * lyx_main.C (queryUserLyXDir):
1337 to run the <system_lyxdir>/configure correctly on Windows, prefix
1338 the path to the script with "sh " when generating the string that
1339 is passed to system().
1341 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1343 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1345 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1347 * lyxlength.C (asLatexString): get rid of setprecision
1349 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1351 * text2.C (setLayout): remove unused variable endpit.
1352 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1354 * paragraph.C (onlyText): remove unused variable style.
1356 * cursor.C (bruteFind): remove unused variables beg and end.
1358 * Makefile.am (dist_noinset_DATA): not needed anymore
1360 * cheaders/*: remove.
1362 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1364 * text3.C: fix LFUN_MATH_MODE.
1366 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1368 * buffer_funcs.C (countWords): new function. Counts words between
1371 * BufferView_pimpl.C (getStatus, dispatch): handle
1374 * LyXAction.C (init):
1375 * lfuns.h: add LFUN_WORDS_COUNT.
1377 2004-12-19 Angus Leeming <leeming@lyx.org>
1379 * buffer.C (save): s/slashify_path/internal_path/.
1381 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1383 * lyxfind.C (findChange): do not search for end of pars, because
1384 the change tracker cannot handle this (fixes bug 1719).
1386 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1388 * paragraph.[Ch] (autoBreakRows): remove
1390 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1392 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1393 avoid using the paragraph one
1395 * text2.C (LyXText, insertStringAsLines): adjust
1397 2004-12-16 Angus Leeming <leeming@lyx.org>
1401 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1403 2004-12-14 Angus Leeming <leeming@lyx.org>
1405 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1407 * bufferlist.C (emergencyWrite):
1408 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1411 2004-12-14 Angus Leeming <leeming@lyx.org>
1413 * main.C: (main): no longer pass pointers to os::init.
1415 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1417 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1418 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1420 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1423 * text3.C: remove selection_possible global flag
1425 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1427 * text2.C (getSelectionSpan): remove
1428 (changeDepth, changeDepthAllowed): adjust
1430 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1432 * Makefile.am (BOOST_LIBS): use boost variables
1434 2004-12-03 José Matos <jamatos@lyx.org>
1436 * buffer.C: format up to 238.
1438 2004-12-03 José Matos <jamatos@lyx.org>
1440 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1442 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1444 * cursor.C (goUpDown): remove call to idxUpDown2
1446 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1448 * tabular.[Ch]: use size_t-like types for cell, row and column
1451 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1453 * lyxfunc.C (getStatus): do not lose previous information when
1454 calling BufferView::getStatus; do not set a default "Command
1455 disabled" message at the beginning, but just before returning.
1457 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1459 * cursor.h (getStatus): add better comment from src/cursor.C
1461 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1463 * text3.C (getStatus): return false when the lfun is not handled
1465 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1467 * broken_headers.h: remove
1469 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1471 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1473 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1474 offset_ref accessors
1476 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1477 top_y_, merge fitcursor with update
1478 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1480 (metrics): introduce
1481 (workAreaDispatch): adapt to new coord scheme
1482 (redoCurrentBuffer): remove
1484 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1486 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1489 * coordcache.[Ch]: add paragraph cache and helpers
1491 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1494 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1495 (targetX, setTargetX): introduce
1497 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1498 baseline -> ascent, as the rest of lyx
1500 * lyxtext.h: remove redoParagraphs, updateParPositions,
1501 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1502 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1503 have ascent/descent (ascent is ascent of first par)
1505 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1508 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1510 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1512 * pariterator.C: fix infinite loop introduced in par->pit renaming
1514 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1515 in insets and LyXText, draw two off-screen paragraphs using
1516 NullPainter, and adapt to new coord scheme
1520 * text3.C: adapt lfun handlers to the new coord scheme, which
1521 means: there's only guaranteed coord information for onscreen pars
1522 plus one above and one below. This implies that one can do search
1523 from y coordinates in the range [-1,workHeight]
1525 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1527 * rename a lot of InsetOld to InsetBase
1529 2004-11-25 Angus Leeming <leeming@lyx.org>
1531 * BufferView_pimpl.C:
1533 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1535 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1537 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1538 call BufferView::getStatus if LCursor::getStatus did nothing
1539 (setStatusMessage, getStatusMessage): removed.
1541 * FuncStatus.C (message): new methods. Used to provide an error
1542 message indicating why a command is disabled.
1543 (clear, |=, FuncStatus): update for message.
1545 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1547 * lyxfunc.C (dispatch): always call sendDispatchMessage
1549 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1552 * BufferView_pimpl.C:
1557 * cursor_slice.[Ch]:
1560 * paragraph_funcs.C:
1566 * undo.C: par->pit renaming
1568 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1570 * tabular.C (cellstruct): use initialization, store a shared_ptr
1571 to insettext instead of the insettext directly, adjust to fit.
1572 (operator=): new function
1573 (swap): new function
1574 (rowstruct): use initialization
1575 (columnstruct): use initialization
1576 (ltType): use initialization
1579 * lyxlength.h (swap): new function
1581 * LColor.[Ch] (operator=): use the common semantics
1583 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1585 * lyxfind.C (findNextChange): update the bufferview after setting
1588 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1590 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1591 number of InsetOptArgs has already been inserted.
1593 * output_latex.C (latexOptArgInsets): new method. This outputs all
1594 the optarg insets, up to the limit defined in the layout file.
1595 (optArgInset): removed
1596 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1598 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1600 * paragraph.C (isLetter): remove special spellchecker-related
1601 code; return true also for digits
1602 (isWord, isKomma): remove
1604 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1605 * lyxfind.C (MatchString()): use isLetter instead of isWord
1607 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1609 * pariterator.h (operatir=): comment out un-implemented member
1612 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1615 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1617 * lyxfont.h: include LColor.h to satisfy concept checks.
1619 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1621 * pariterator.h: add typdefs for value_type, difference_type,
1622 pointer and reference to satisfy concept checks. Also add default
1623 constructor for same reason.
1625 * pariterator.C (operator++): add post-increment operator to
1626 satisfy concept checks.
1628 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1631 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1633 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1634 checks. Also rename base_type to BaseType to follow naming
1637 * FloatList.h: include Floating.h to satisfy concept checks.
1639 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1641 * lyxfunc.C (getStatus): when the origin of the request is menu or
1642 toolbar, and the LyXView does not have focus, do as if there was
1643 no buffer (bug 1720)
1645 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1646 FuncRequest to individual entries of LFUN_SEQUENCE
1648 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1650 * output_latex.C (TeXOnePar): override runparams.moving_arg
1651 according to the needprotect value of the current paragraph (bug
1654 * paragraph.C (simpleTeXOnePar): no need to override
1655 runparams.moving_args here
1657 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1659 * vspace.C: fix off-by-one-error, related to fix #1682
1661 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1663 * lengthcommon.C: a more general fix for bug 1682
1665 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1667 * text.C (backspace): fix crash
1669 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1671 * format.[Ch] (getFormatFromFile): new method
1672 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1674 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1676 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1678 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1680 * lyxfunc.C (dispatch): remove the verbose argument
1681 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1684 * kbmap.C (defkey): set the origin of func to KEYBOARD
1686 * MenuBackend.C (MenuItem):
1687 * ToolbarBackend.C (add): set the origin of func to UI
1689 * funcrequest.[Ch]: add origin member, which indicates which part
1690 of LyX requests an action
1692 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1694 * converter.C (move): don't lie in the error message
1695 * converter.h (isReachable, move): document
1697 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1699 * buffer.C: remove unused using lyx::support::atoi
1700 * paragraph_funcs.C: ditto
1702 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1704 * bufferlist.C (exists): use bind and equal_to instead of
1707 * lyxtextclasslist.C (NumberOfClass): ditto
1709 * cursor.C (insert): use for_each instead of explicit for loop
1711 * bufferlist.C (getFileNames): use std::transform and
1712 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1714 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1717 * buffer.C (changeLanguage): use for_each instead of explicit for
1719 (hasParWithID): implement using getParFromID
1721 * LaTeXFeatures.C: ws change only
1723 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1726 * BufferView_pimpl.C (trackChanges): use for_each instead of
1729 2004-11-04 André Pönitz <poenitz@gmx.net>
1732 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1734 * dociterator.C (asDocIterator): use hard assert again.
1736 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1738 * lyxlength.C (asLatexString): rewrite so that it does not use
1741 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1743 * text3.C (specialChar, dispatch): make sure cursor moves to the
1744 right after inserting an inset
1746 2004-11-02 José Matos <jamatos@lyx.org>
1748 * output_docbook.C (docbook):
1749 * paragraph.C (getID):
1750 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1751 garantee that the output is always legal.
1753 * tabular.C (docbook):
1754 * outputprams.[Ch]: remove mixed contents.
1756 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1758 * text2.C (setCounter): prevent endless loop
1760 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1762 * exporter.C (copyFile): use the mover instead of support::copy()
1763 * exporter.C (Export): pass format and latex name to copyFile()
1764 * exporter.h (addExternalFile): document
1765 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1767 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1769 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1771 2004-10-30 José Matos <jamatos@lyx.org>
1773 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1774 text and no inset or font change. This allows to use CDATA
1775 sections just for the whole paragraph.
1777 2004-10-30 José Matos <jamatos@lyx.org>
1779 * paragraph.C (getFirstWord): remove unused variable.
1781 2004-10-30 José Matos <jamatos@lyx.org>
1783 * paragraph.C (getFirstWord): the content should always be escaped
1785 (simpleDocBookOnePar):
1786 * output_docbook.C (makeEnvironment): replace reference to CDATA
1789 2004-10-30 José Matos <jamatos@lyx.org>
1791 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1793 2004-10-30 José Matos <jamatos@lyx.org>
1795 * output_docbook.C (makeParagraphs):
1796 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1797 standard paragraph has only a given type of content drop the wrapper.
1799 2004-10-29 José Matos <jamatos@lyx.org>
1801 * output_docbook.C (makeEnvironment):
1803 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1805 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1807 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1808 (cleanID): sanitize any id.
1810 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1812 * buffer.C, lyxlex_pimpl.C:
1813 * lyxlex_pimpl.C (setFile):
1814 s/getExtFromContents/getFormatFromContents/
1816 2004-10-28 José Matos <jamatos@lyx.org>
1818 * output_docbook.C (makeEnvironment): move id to broadest possible
1821 * sgml.C (openTag): apply substitution of <> for all attributes.
1823 2004-10-28 José Matos <jamatos@lyx.org>
1825 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1826 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1827 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1829 * sgml.[Ch]: new version for open and closeTag for paragraph and
1830 for strings. Now they handle the ids of paragraphs.
1832 2004-10-26 Angus Leeming <leeming@lyx.org>
1834 * Makefile.am: add mover.[Ch].
1836 * converter.C (convert, move): use the new Movers to move external
1837 files to the temp directory.
1839 * lyx_main.C (init): ensure that the global system_movers data
1842 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1845 * mover.[Ch]: new files, defining a Mover as a utility to move an
1846 external file between directories and, if necessary, manipulate this
1847 file using a helper script.
1849 2004-10-25 José Matos <jamatos@lyx.org>
1851 * output_docbook.C (makeCommand): merge two if's that tested the
1854 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1856 * sgml.C (escapeString): fix warning in a better way
1858 2004-10-25 José Matos <jamatos@lyx.org>
1860 * sgml.C (escapeString): import the require boosts header file for
1861 tie, and avoid a signed unsigned comparison.
1863 2004-10-25 José Matos <jamatos@lyx.org>
1865 * sgml.h: add #include <string>
1867 2004-10-25 José Matos <jamatos@lyx.org>
1869 * sgml.[Ch] (escapeString): new function to escape all the string.
1871 2004-10-24 José Matos <jamatos@lyx.org>
1873 * paragraph.[Ch] (getFirstWord): new function to get the first
1874 word. Useful for description.
1875 (simpleDocBookOnePar): remove depth argument, add another that
1876 says where to start the paragraph.
1878 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1879 use the new functions to fix cleanly the support for descriptions.
1881 2004-10-24 José Matos <jamatos@lyx.org>
1883 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1884 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1885 * output_linuxdoc.C (linuxdocParagraphs):
1886 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1887 add buffer as argument.
1889 2004-10-24 José Matos <jamatos@lyx.org>
1891 * output_docbook.C (makeEnvironment, searchEnvironment): place
1892 CDATA inside paragraphs and fix scope for listitems.
1894 2004-10-24 José Matos <jamatos@lyx.org>
1896 * output_docbook.C: remove using statement for stack.
1898 2004-10-23 José Matos <jamatos@lyx.org>
1900 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1901 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1902 docbook. The new scheme is recursive and makes use of iterators, the
1903 same as latex export works.
1904 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1905 directly with the paragraph contents. This code was moved up to
1906 output_docbook.C (docbookParagraphs).
1907 * sgml.C (openTag, closeTag): removed unneeded newlines.
1908 (closeEnvTags) removed.
1910 2004-10-23 André Pönitz <poenitz@gmx.net>
1912 * undo.C (textUndoOrRedo):
1913 * dociterator.C (asDocIterator): work around crash
1915 * cursor.C (getStatus): replace ASSERT by more verbose error message
1916 and manual correction of the problem. Should increase stability
1917 while providing more sensible information.
1919 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1921 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1923 * bufferlist.C (previous, next): new methods
1926 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1928 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1930 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1931 entities to preamble.
1933 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1935 * messages.C (Pimpl): strip off translation context information
1937 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1939 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1940 the cursor is correct (bug 1694)
1942 2004-10-13 José Matos <jamatos@lyx.org>
1944 * output_docbook.C (docbookParagraphs): fix closing tags in the
1945 end of the document.
1947 2004-10-09 José Matos <jamatos@lyx.org>
1949 * buffer.C: format up to 237.
1950 * bufferparams.C (write): use tostr to convert booleans to strings.
1952 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1954 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1956 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1958 * LaTeX.C: implement use of babel language in xindy.
1960 2004-10-05 José Matos <jamatos@lyx.org>
1962 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1963 Add new translators to help reading and writing the lyx file.
1965 2004-10-05 José Matos <jamatos@lyx.org>
1967 * ParagraphParameters.C (read):
1968 * text.C (readParToken): replace nexToken by more appropriate lex
1971 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1973 * LaTeX.C (runMakeIndex):
1974 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1975 (usually 'makeindex') configurable.
1977 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1978 with a variable rather than with a number.
1980 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1982 * output_latex.C (TeXOnePar): make sure font setting is the first
1983 thing that gets output (and the last at the end). Should fix bug
1986 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1988 * pch.h: use proper signal include
1990 * LaTeX.h: Use preferred calling of Boost.Signal
1993 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1995 * pch.h: dont include <boost/function/function0.hpp>
1997 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1999 * paragraph_pimpl.h: remove usage of ShareContainer
2001 * paragraph_pimpl.C: remove initialization of ShareContainer.
2003 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2007 * BufferView.C (putSelectionAt): change the semantics when
2008 backwards == true: now, this just swaps cursor and anchor wrt the
2011 * BufferView.h (putSelectionAt): add some documentation
2013 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2014 make sure backwardChar is done at least once (to avoid getting
2016 (findNextChange): use putSelectionAt in the forward direction
2017 (operator()): use Paragraph::isWord
2019 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2021 * Spacing.C (set): c_str fix
2023 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2025 * lyx_cb.C (Reconfigure): quote the name of configure script in
2026 case it contains spaces
2028 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2032 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2033 (BOOST_LIBS): use top_buildir when looking for the file
2035 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2037 * pch.h: do not use include boost/format.hpp, multiple symbols
2038 will result (gcc bug)
2041 2004-08-23 José Matos <jamatos@lyx.org>
2043 * bufferparams.C (readToken): fix reading of the author field.
2045 2004-08-20 José Matos <jamatos@lyx.org>
2047 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2049 2004-08-20 José Matos <jamatos@lyx.org>
2051 * lyxlex.[Ch] (findToken): remove function.
2053 * ParagraphParameters.C (findToken):
2054 * bufferparams.C (findToken): replace call for previous function
2055 with local copy. This local function has one more argument, the
2056 read string argument.
2058 2004-08-16 José Matos <jamatos@lyx.org>
2060 * ParagraphParameters.C (write):
2061 * Spacing.C (writeFile):
2062 * bufferparams.C (writeLaTeX):
2063 * lyx_cb.C (Reconfigure):
2064 * paragraph.C (write):
2065 * tabular.C (write): remove unnecessary space at end of line.
2068 2004-08-16 José Matos <jamatos@lyx.org>
2070 * text.C (readParagraph): remove debug message.
2072 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2074 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2077 * output_plaintext.C (asciiParagraph): set depth correctly
2079 * outputparams.h: add member depth
2081 * paragraph_funcs.C (ownerPar): remove.
2083 * text2.C (setCounter): remove first_pit; comment out some
2084 non-working code that uses ownerPar
2086 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2089 2004-08-16 José Matos <jamatos@lyx.org>
2091 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2092 For the same level of importance use the same chanel to report problems.
2093 (read): add code to deal with \begin_body and \end_body.
2096 2004-08-15 José Matos <jamatos@lyx.org>
2098 * lyxlex.C (getString): fix comment, buffer::readBody is now
2099 buffer:readDocument.
2101 * tex-strings.C (string_papersize): Default -> default,
2102 Custom -> custom, for consistency with other options.
2104 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2108 * Makefile.am: support pch
2110 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2112 * text.C (readParToken): remove the static LyXFont variable and
2113 pass it as a parameter instead. This fixes a nasty bug where an
2114 inset will be inserted with a bad font in some situations
2115 (readParagraph): adapt
2117 * text2.C (setCounter): reduce number of calls to pars_[pit]
2119 * text.C (singleWidth): add an assert, fix a test
2121 * rowpainter.C (paintText): reduce number of calls to singleWidth
2123 * paragraph.C (isHfill):
2124 (isNewline): ws only
2126 2004-08-14 André Pönitz <poenitz@gmx.net>
2131 * lyxtext.h (several functions): use a Paragraph & argument
2134 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2136 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2138 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2140 * text.C (singleWidth): remove useless test
2142 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2144 * tabular.h: remove bogus comments
2146 * tabular.C (getDescentOfRow):
2147 (isPartOfMultiColumn): add assertions
2149 * lyxlength.C (inPixels): remove #warning
2151 2004-08-14 André Pönitz <poenitz@gmx.net>
2153 * paragraph.h: inline getChar()
2155 * BufferView.h: remove unused declarations
2157 2004-08-14 José Matos <jamatos@lyx.org>
2159 * Buffer.[Ch] (readDocument): new name for old readBody.
2160 * Buffer.C: new file format, new keywords: \begin_document,
2161 \begin_header, \begin_body, \end_body.
2163 * bufferparams.C (readToken): replace all calls to lex.nextToken
2164 by lex.next(). Do the same to eatLine except where really needed.
2166 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2167 line when writing to the lyx file.
2169 * output_plaintext.C (asciiParagraph): fix Bibliography style
2172 * text.C (read): fix end of file handling.
2174 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2176 * MenuBackend.C (Menu::operator[]): new method to access
2177 individual menu items
2178 (Menu::hasFunc): new method. search for an item that corresponds
2180 (MenuBackend::specialMenu): new method
2181 (MenuBackend::expand): if a special menu has been set, skip
2182 entries whose func() appears in this menu
2184 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2186 * text3.C: use Debug::DEBUG a bit more
2188 * text.C (leftMargin): try to simplify a tiny bit change var x to
2189 l_margin. Dont output the wide margins always.
2190 (rightMargin): no margin in inner texts
2192 * rowpainter.h (nestMargin): new func
2193 (changebarMargin): new func
2194 (rightMargin): new func
2196 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2200 * factory.C (createInset): modify setDrawFrame
2202 * cursor.C: use Debug::DEBUG a bit more
2204 2004-08-14 André Pönitz <poenitz@gmx.net>
2207 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2208 cache for all insets in (at least partially) visible (top-level)
2211 * BufferView_pimpl.C: reset external coord cache before every update.
2212 This means the coord cache only contains valid entries.
2214 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2217 * BufferView_pimpl.C (getInsetByCode): move function out of class
2218 and change in to a template in anon namespace. Also fix to do what
2221 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2224 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2226 (breakParagraph): rename par to par_offset and use a local
2227 reference. Add code to keep the language over a rebreak.
2228 (breakParagraphConservative): rename par to par_offset, use a
2230 (mergeParagraph): ditto
2232 (isFirstInSequence): ditto
2233 (outerFont): rename pit to par_offset
2235 * paragraph.C: ws change
2236 * paragraph.h: ditto
2240 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2242 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2245 * paragraph.C (simpleTeXOnePar): when we have a \item with
2246 optional argument, enclose the argument with curly brackets (in
2247 case it contains a closing square bracket)
2251 * text3.C (checkInsetHit): constify
2253 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2255 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2256 documents (bug 1629)
2258 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2260 Fix toggling of collapsable insets with the mouse (bug 1558)
2262 * lyxfunc.C (dispatch): adapt to LCursor changes
2264 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2265 make sure that dispatch is not invoked twice
2267 * cursor.C (needsUpdate): new method
2268 (dispatch): return void
2269 (result): new method, to access the DispatchResult of the cursor.
2271 2004-08-13 José Matos <jamatos@lyx.org>
2273 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2275 2004-08-13 André Pönitz <poenitz@gmx.net>
2277 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2279 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2282 2004-08-12 André Pönitz <poenitz@gmx.net>
2284 * text3.C: take out the 'cursor right' form insertInset and only
2285 do it in those places when it is really needed. Fixes crash on
2288 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2290 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2292 * BufferView_pimpl.C (setBuffer): initialize the current font of
2293 the underlying LyXText
2295 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2297 * kbsequence.C (print): use UI native formatting for menu
2300 * text.C (insertChar): call Paragraph::insertChar with a font
2303 * paragraph.C (insertInset, insertChar): the version that takes a
2304 LyXFont argument is now a wrapper around the other one (the
2305 opposite used to be true).
2307 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2308 argument. Font setting is done in Paragraph now.
2310 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2312 * outputparams.h: add new members intitle and lang.
2314 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2315 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2317 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2319 * text3.C (dispatch): remove special handling of button 4 and 5,
2320 it is now taken care of in the frontend code.
2322 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2324 * Spacing.h: add <string> (STLPort compile fix)
2326 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2328 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2330 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2332 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2335 * converter.C (showMessage): inherit from unary_function, make
2338 * buffer.C (writeFile): initialize retval
2340 * InsetList.h: rename private variable list to list_
2341 * InsetList.[Ch]: adjust accordingly.
2343 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2345 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2346 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2347 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2348 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2349 * ParagraphParameters.C, LaTeXFeatures.C: replace
2350 "support/std_sstream.h" with <sstream>
2352 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2354 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2355 * lyxsocket.C (LyXServerSocket): ditto
2356 (serverCallback): ditto
2358 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2360 * LaTeXFeatures.C: check release date when loading jurabib.
2362 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2364 * lyxserver.C (startPipe): call register_socket_callback
2365 (endPipe): call unregister_socket_callback
2367 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2369 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2370 (LyXServerSocket): register the callback
2371 (LyXServerSocket): unregister the callback
2372 (fd): delete function
2373 (serverCallback): improve error checking and setup the callbacks.
2374 (dataCallback): change arg to fd.
2375 (writeln): new func (copied fro the client socket) used for server
2377 (LyXDataSocket): simplify
2378 (~LyXDataSocket): close ann unregiser callback
2379 (server): delete function
2380 (fd): delete function
2381 (readln): small changes, improve some std::string usage
2382 (writeln): constify a bit
2384 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2386 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2389 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2391 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2392 after it has been populated
2394 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2396 * text2.C (insertInset): move cursor when inserting inset.
2398 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2400 * kbmap.C (findbindings): a couple of new methods. returns a
2401 container of kb_sequence objects. The real work is done by the
2402 private recursive version
2403 (printbindings): uses findbindings to print out a bracketed list
2404 of bindings (renamed from findbinding).
2406 * MenuBackend.C (binding): use kb_keymap::findbindings
2408 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2410 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2412 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2414 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2416 * paragraph.C (isWord): return true on insets that report
2419 * text.C (getWord): use Paragraph::isWord to decide what is in a
2420 word and what is not; fix bug 1609.
2422 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2424 * tex-strings.C: add "none" to string_paperpackages[], fixes
2425 off-by-one-error in the paperpackage selection.
2428 * tex-strings.[Ch]: char const * string[n]
2429 -> char const * const string[]
2431 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2433 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2434 command, return early.
2436 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2438 * debug.h: add DEBUG to enum and fix size of ANY.
2440 * debug.C: add support for Debug::DEBUG
2441 (showTags): cast errorTags.level to unsigned int
2443 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2444 (redoCurrentBuffer): ditto
2445 (updateScrollbar): ditto
2446 * cursor.C (dispatch): ditto
2447 * text2.C (setLayout): ditto
2449 (updateCounters): ditto
2451 (deleteEmptyParagraphMechanism): ditto
2453 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2455 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2456 annotations to cleanup the Makefile slightly.
2458 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2460 * lyxrc.C: do not set user_email to a default value but use empty
2461 instead. The entry used to be translated, which does not work
2462 since at the point where lyxrc is constructed there is no
2463 translation service available
2465 * messages.C (getLocaleDir): remove and use directly
2466 lyx_localedir() instead
2468 2004-06-02 Angus Leeming <leeming@lyx.org>
2470 Fix crash caused by dereferencing null pointer 'exportdata' in
2471 OutputParams by creating a new ExportData variable on the heap,
2472 storing it in a boost::shared_ptr.
2473 The crash was triggered when generating an Instant Preview
2474 of an external inset.
2476 * Makefile.am: add outputparams.C
2478 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2479 (c-tor): allocate memory to it.
2481 * exporter.C (c-tor): associated changes.
2483 2004-06-01 Angus Leeming <leeming@lyx.org>
2485 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2486 contains data before calling isInset(0). (Bug 1513.)
2488 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2490 * exporter.C (checkOverwrite): new method
2491 * exporter.C (copyFile): new method
2492 * exporter.C (Export): copy referenced files to the document dir
2493 * exporter.[Ch]: new class ExportedFile
2494 * exporter.[Ch]: new class ExportData. Contains currently the
2495 names of referenced external files
2496 * outputparams.h: add exportdata member.
2498 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2500 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2503 2004-05-19 Angus Leeming <leeming@lyx.org>
2508 * lyxfunc.C: small changes due to the introduction of namespace
2509 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2511 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2513 * text3.C (dispatch): supress update when only moving the cursor
2514 * cursor.C (selHandle): remove commented code
2516 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2518 * paragraph.C (startTeXParParams): correct column count
2519 * CutAndPaste.C (pasteSelection): remove const_cast
2520 * output_docbook.C (docbookParagraphs): remove const_cast
2521 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2522 const_cast and return ParagraphList::const_iterator
2523 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2524 * output_plaintext.C (writeFileAscii): remove const_cast
2525 * paragraph.[Ch] (simpleTeXOnePar): make const
2526 * paragraph_funcs.C (outerPar): use const iterators
2527 * paragraph_pimpl.C (validate): use const iterators
2528 * text.C (setHeightOfRow): use const iterators
2530 2004-05-17 Angus Leeming <leeming@lyx.org>
2533 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2535 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2536 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2537 if the citation engine has changed.
2539 2004-05-14 José Matos <jamatos@lyx.org>
2541 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2542 if the textclass does not provide it. Have it different for sgml and
2544 support the language of document.
2545 * output_docbook.C (docbookParagraphs):
2546 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2547 first anchor as the id of the paragraph, remove special case code.
2548 * sgml.C (escapeChar): escape only < & >.
2550 2004-05-14 Angus Leeming <leeming@lyx.org>
2552 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2553 dependencies on src/frontends/controllers/biblio.h. Define a
2554 CiteEngine_enum wrapper class to enable the enum to be forward
2557 2004-05-12 Angus Leeming <leeming@lyx.org>
2559 * buffer.C: up LYX_FORMAT to 234.
2560 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2561 use_numerical_citations with a single biblio::CiteEngine cite_engine
2563 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2565 2004-05-13 José Matos <jamatos@lyx.org>
2568 * converter.C (Converter, readFlags): add xml member.
2569 * outputparams.h: add XML flavor.
2570 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2572 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2574 * lyxfunc.C (dispatch):
2575 (getStatus): fix handling of LFUN_SEQUENCE
2577 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2579 * debug.C (showLevel): do not forget the end-of-line marker
2581 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2583 * kbmap.C (read): do not stop parsing a bind file when an error
2586 2004-04-29 Angus Leeming <leeming@lyx.org>
2591 * text2.C: wrap a bunch of #warning statements
2592 inside #ifdef WITH_WARNINGS blocks.
2594 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2596 * buffer.C: increment format to 233.
2598 2004-04-28 Angus Leeming <leeming@lyx.org>
2600 * BufferView_pimpl.C:
2603 s/updateToolbar()/updateToolbars()/
2604 s/Toolbar.h/Toolbars.h/
2606 2004-04-28 Angus Leeming <leeming@lyx.org>
2608 * BufferView.[Ch] (c-tor):
2609 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2610 No longer passes these data to the WorkArea generator.
2612 2004-04-28 Angus Leeming <leeming@lyx.org>
2614 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2616 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2618 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2620 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2622 * output_latex.C (TeXEnvironment): make sure that there is a line
2623 break before \end{foo} for the last paragraph of a document
2624 (TeXOnePar): if the paragraph is at the end of the document (or
2625 inset) and the language has to be reset, then make sure that the
2626 line break is _before_ the language command, not after (fixes bug
2627 1225); also make sure that the language reset command is the first
2628 thing after the paragraph (to ensure proper nesting of
2629 environments and thus fix bug 1404)
2631 2004-04-21 John Levon <levon@movementarian.org>
2634 * ToolbarBackend.C: make "name" be a programmatic name
2635 and a gui_name field.
2637 * lyxfunc.C: display the minibuffer on M-x
2639 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2641 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2644 2004-04-19 Angus Leeming <leeming@lyx.org>
2646 * BufferView_pimpl.C (setBuffer): changed preview interface.
2648 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2651 2004-04-19 John Levon <levon@movementarian.org>
2653 * BufferView_pimpl.C:
2654 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2656 2004-04-05 Angus Leeming <leeming@lyx.org>
2658 * text.C (redoParagraphs): add call to updateCounters(), thereby
2659 fixing the missing "Figure #:" label from the caption of a
2662 2004-04-13 Angus Leeming <leeming@lyx.org>
2664 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2665 cursor is clicked out of an inset.
2667 2004-04-13 Angus Leeming <leeming@lyx.org>
2669 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2670 than an InsetOld one.
2672 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2674 * format.[Ch]: add editor to Format
2675 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2676 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2678 2004-04-08 André Pönitz <poenitz@gmx.net>
2680 * metricsinfo.h: remove PainterInfo::width member
2682 2004-04-08 Angus Leeming <leeming@lyx.org>
2684 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2685 "\providecommand" rather than "\newcommand", thereby preventing
2686 clashes with packages that define "\boldsymbol" themselves.
2689 2004-04-08 Angus Leeming <leeming@lyx.org>
2691 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2692 thereby squashing an unnecessary warning.
2694 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2696 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2699 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2701 * BufferView.C (setCursor): call redoParagraph (some insets could
2703 (putSelectionAt): remove the 'double update' trick
2705 * BufferView_pimpl.C (fitCursor): call refreshPar
2706 (workAreaDispatch): remove an uneeded update call
2707 (dispatch): remove some manual update calls
2709 * cursor.[Ch]: remove cached_y_, updatePos
2710 (selHandle): set noUpdate when appropriate
2712 * lyxfunc.C (dispatch): track if we need an update
2714 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2716 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2717 (paintSelection): cheap optimization, do not call cursorX when not
2719 (paintPars): change signature
2722 (paintTextInset): adjust
2726 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2728 * lengthcommon.C: compilation fix: remove explicit array size from
2729 unit_name[] and friends
2731 2004-04-05 Angus Leeming <leeming@lyx.org>
2733 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2735 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2736 present only for the preferences dialog.
2737 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2739 2004-04-05 Angus Leeming <leeming@lyx.org>
2741 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2742 to enable the frontends to export changes to lyxrc correctly.
2744 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2746 2004-04-07 André Pönitz <poenitz@gmx.net>
2748 * cursor.[Ch] (selClear, adjust): remove math
2750 * cursor_slice.C: more agressive assert
2753 * BufferView_pimpl.C: rework mouse event dispatch
2760 2004-04-05 André Pönitz <poenitz@gmx.net>
2762 * cursor.[Ch] (valign, halign...): remove unneeded functions
2764 2004-04-05 Angus Leeming <leeming@lyx.org>
2766 * lyxlength.[Ch] (unit_name et al.): const-correct.
2768 2004-04-05 Angus Leeming <leeming@lyx.org>
2770 * BufferView_pimpl.C:
2779 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2781 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2783 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2785 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2787 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2788 * BufferView_pimpl.[Ch] (getStatus)
2789 * BufferView.[Ch] (getStatus): add
2790 * lyxfunc.C (getStatus): move lfuns handled in
2791 BufferView::dispatch to te function above
2792 * Cursor.C (setSelection): set selection() = true
2794 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2796 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2798 2004-03-31 Angus Leeming <leeming@lyx.org>
2800 * lyxfunc.C (dispatch): Fall through to the generic
2801 Dialogs::show("preamble").
2803 2004-03-31 Angus Leeming <leeming@lyx.org>
2805 * lyxfunc.C (dispatch): Fall through to the generic
2806 Dialogs::show("spellchecker").
2808 2004-03-31 Angus Leeming <leeming@lyx.org>
2810 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2813 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2818 * insetiterator.[Ch]:
2823 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2825 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2827 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2828 insets where we are putting the cursor.
2830 2004-03-31 Angus Leeming <leeming@lyx.org>
2833 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2835 * lyxrc.[Ch] (read, write): overloaded member functions taking
2836 a std::[io]stream arguments.
2838 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2840 2004-03-31 Angus Leeming <leeming@lyx.org>
2842 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2843 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2845 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2846 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2848 2004-03-31 Angus Leeming <leeming@lyx.org>
2850 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2851 the LFUN_ALL_INSETS_TOGGLE code.
2853 2004-03-30 Angus Leeming <leeming@lyx.org>
2855 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2856 has died. Fall through to the generic Dialogs::show("document").
2858 2004-03-30 Angus Leeming <leeming@lyx.org>
2861 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2862 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2864 * lyxfunc.C (getStatus, dispatch): define the actions for these
2865 lfuns. Little more than a cut and pste job from ControlDocument.C
2867 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2869 2004-03-30 Angus Leeming <leeming@lyx.org>
2872 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2873 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2875 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2876 open/closed state of ollapsable insets. Usage:
2878 all-inset-toggle <state> <name>, where
2879 <state> == "open" || "closed" || "toggle" and
2880 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2882 * lyxtext.h, text2.C (toggleInset): removed.
2884 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2885 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2886 now passes LFUN_INSET_TOGGLE to the found inset.
2888 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2889 is now invoked as "all-insets-toggle toggle branch".
2891 2004-03-30 Angus Leeming <leeming@lyx.org>
2895 * pariterator.[Ch]: added/corrected header blurb.
2897 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2899 * dociterator.[Ch]: add an inset_ member
2900 (backwardPos): implemented
2901 (backwardPos, forwardPos): use inset_ when the stack is empty.
2902 (doc_iterator_begin, doc_iterator_end): implemented
2903 * pariterator.[Ch]: adjust, add begin, end
2904 * insetiterator.[Ch]: adjust, add begin, end
2908 * BufferView_pimpl.C:
2909 * CutAndPaste.C: adjust
2911 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2913 * buffer.C: increment file format to 232.
2914 * LaTeXFeatures.C: add bibtopic package.
2915 * bufferparams.[Ch]: param \use_bibtopic.
2917 * lyxrc.[Ch]: add lyxrc bibtex_command
2918 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2920 * buffer.C: increment file format to 231.
2922 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2924 * dociterator.C: implement forwardPar
2925 * iterators.[Ch]: remove, replaced by
2926 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2928 * BufferView_pimpl.C:
2931 * bufferview_funcs.C:
2937 * Makefile.am: adjust
2939 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2941 * CutAndPaste.C (pasteSelection): fix 2 crashes
2942 (eraseSelection): fix a crash
2943 * paragraph_funcs.C: remove a warning
2945 2004-03-28 Angus Leeming <leeming@lyx.org>
2948 * LyXAction.C (init): new LFUN_PRINT.
2950 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2952 2004-03-27 Angus Leeming <leeming@lyx.org>
2955 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2957 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2959 2004-03-27 Angus Leeming <leeming@lyx.org>
2961 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2962 insetlist always contains non-null pointers to insets.
2964 2004-03-26 Angus Leeming <leeming@lyx.org>
2966 * src/BufferView_pimpl.C:
2967 * src/CutAndPaste.C:
2970 * src/output_plaintext.C:
2971 * src/outputparams.h:
2972 * src/paragraph_funcs.C:
2976 * src/frontends/controllers/ControlErrorList.C:
2977 * src/frontends/gtk/FileDialogPrivate.C:
2978 * src/frontends/gtk/GPainter.C:
2979 * src/frontends/gtk/GToolbar.C:
2980 * src/frontends/qt2/QRef.C:
2981 * src/mathed/math_scriptinset.C: squash compiler warnings.
2983 2004-03-26 Angus Leeming <leeming@lyx.org>
2985 * ispell.C (LaunchIspell::start):
2986 * lyx_cb.C (AutoSaveBuffer::start):
2987 invoke run(DontWait) rather than runNonBlocking().
2989 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2991 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2993 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2995 * kbsequence.C (print): adjust
2997 * kbmap.C (printKeySym): rename and change signature
2998 (printKey): use LyXKeySym::print()
3000 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3002 * undo.C: add using std::advance to compile for stlport
3004 2004-03-24 Angus Leeming <leeming@lyx.org>
3006 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3007 it leads to a crash when no buffer is present.
3009 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3010 Martin Vermeer <martin.vermeer@hut.fi>
3012 * lyxfunc.C (dispatch):
3013 * bufferparams.C (readToken): use the new LColor::setColor
3015 * LColor.[Ch] (setColor): new version that takes two strings as
3016 argument and creates a new color entry if necessary
3018 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3020 * buffer.C (makeLaTeXFile): if the main latex file that is
3021 processed is usually a subdocument of some master, then pretend
3022 for a while that it is actually the master
3024 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3026 * buffer.C (getLabelList):
3027 (getBibkeyList): use getMasterBuffer()
3028 (getMasterBuffer): new method. Returns the main document in the
3029 case where one is using included documents.
3031 2004-03-25 André Pönitz <poenitz@gmx.net>
3035 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3037 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3039 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3040 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3042 * ParameterStruct.h: merge with ParagraphParameters
3044 * lyxtext.h: remove LyXText::parOffset() and getPar()
3046 * text3.C: Remove all 'manual' update calls. We do now one per user
3047 interaction which is completely sufficient.
3051 * BufferView_pimpl.C:
3052 * FontIterator.[Ch]:
3054 * ParagraphParameters.[Ch]:
3059 * cursor_slice.[Ch]:
3066 * output_docbook.[Ch]:
3067 * output_latex.[Ch]:
3068 * output_linuxdoc.[Ch]:
3069 * output_plaintext.[Ch]:
3071 * paragraph_funcs.[Ch]:
3072 * paragraph_pimpl.[Ch]:
3080 * frontends/controllers/ControlDocument.C:
3081 * frontends/controllers/ControlErrorList.C:
3082 * frontends/controllers/ControlSpellchecker.C:
3085 * insets/insetbase.h:
3086 * insets/insetbibitem.C:
3087 * insets/insetbox.C:
3088 * insets/insetbranch.C:
3089 * insets/insetcaption.C:
3090 * insets/insetcharstyle.C:
3091 * insets/insetcharstyle.h:
3092 * insets/insetcollapsable.C:
3093 * insets/insetcollapsable.h:
3094 * insets/insetert.C:
3095 * insets/insetfloat.C:
3096 * insets/insetfoot.C:
3097 * insets/insetmarginal.C:
3098 * insets/insetnote.C:
3099 * insets/insetoptarg.C:
3100 * insets/insettabular.C:
3101 * insets/insettext.C:
3102 * insets/insettext.h:
3103 * insets/insetwrap.C:
3104 * mathed/math_mboxinset.C:
3105 * mathed/math_nestinset.C:
3106 * mathed/math_scriptinset.C:
3107 * mathed/math_scriptinset.h:
3110 2004-03-24 Angus Leeming <leeming@lyx.org>
3112 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3113 deal with any child processes that have finished but are waiting to
3114 communicate this fact to the rest of LyX.
3116 2004-03-24 Angus Leeming <leeming@lyx.org>
3118 64-bit compile fixes.
3120 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3121 (c-tor): pass lyx::pos_types rather than ints.
3123 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3126 * text.C (Delete): compile fix.
3127 (getPar): ensure that function declaration is the same as that in
3130 2004-03-23 Angus Leeming <leeming@lyx.org>
3132 * ispell.C (LaunchIspell):
3133 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3134 a boost::shred_ptr rather than a std::auto_ptr.
3136 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3138 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3139 handle LFUN_FILE_INSERT_*
3141 * lyxrc.C (setDefaults, getDescription, output, read):
3142 * lyxrc.h: remove ps_command
3144 2004-03-22 Angus Leeming <leeming@lyx.org>
3146 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3147 Ensure that error_handler is processed once only and that all data
3148 is saved before attempting to output any warning messages.
3150 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3152 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3154 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3156 2004-03-19 André Pönitz <poenitz@gmx.net>
3158 * cursor.[Ch] (reset): take main text inset as argument
3160 * BufferView: adjust
3161 * BufferView_pimpl.C: adjust
3163 * paragraph.[Ch]: fix completely broken operator=()
3165 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3167 * LColor.C (getFromLyXName): make sure that the color name is used
3170 2004-03-17 Angus Leeming <leeming@lyx.org>
3173 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3175 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3176 dialog and to kill a forked process.
3178 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3180 * text2.C (setCursorFromCoordinates): fix font problem
3182 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3184 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3185 bogus "rebuild cursor" code
3187 2004-03-11 André Pönitz <poenitz@gmx.net>
3189 * buffer.[Ch]: use InsetText instead of LyXText as container for
3192 * dociterator.[Ch]: drop the BufferView * member which is not needed
3193 anymore after the change to buffer.C
3195 * paragraph_funcs.C:
3199 * BufferView_pimpl.[Ch]:
3201 * cursor_slice.[Ch]: adjust
3203 * text3.C: fix bug in mathDispatch
3205 2004-03-08 André Pönitz <poenitz@gmx.net>
3207 * undo.[Ch]: use 'StableDocumentIterator' as base for
3210 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3213 * bufferparams.[Ch]: add jurabib support and param.
3215 * LaTeX.C: add FIXME/comment.
3217 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3219 * buffer.C: increment file format to 230.
3221 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3223 * cursor.C (dispatch): avoid infinite loops
3225 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3227 * rowpainter.C (paintSelection): fix x coordinates
3229 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3231 * text.C (rowBreakPoint): fix breaking before displayed insets
3233 2004-03-01 André Pönitz <poenitz@gmx.net>
3235 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3237 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3241 * BufferView_pimpl.C:
3249 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3255 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3256 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3258 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3260 * Bidi.[Ch] (computeTables): const correctness
3261 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3262 fill_hfill, fill_label_hfill and x from Row
3263 * lyxtext.h: prepareToPrint returns a RowMetrics
3264 * rowPainter.C: adjust
3265 * text.C (prepareToPrint): use width, not textWidth. adjust
3266 (redoParagraphInternal, cursorX): adjust
3267 * text2.C (getColumnNearX): adjust
3268 (init): put a default value to the top LyXText::width
3270 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3272 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3274 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3276 * lyxtext.h: add FontIterator class
3278 * text.C (FontIterator, operator*, operator->, operator++): add
3279 (rowBreakPoint, setRowWidth): adjust (fixing a
3282 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3284 * BufferView_pimpl.C (workAreaDispatch): allow also
3285 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3287 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3289 * text.C (rowBreakPoint): fix a bug showing with very large insets
3291 2004-02-25 André Pönitz <poenitz@gmx.net>
3294 * cursor.[Ch]: move some mathed specific code to mathed
3296 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3298 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3299 use_tempdir in preferences
3300 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3302 * lyx_main.C: ensure that tempdir is valid
3303 * lyxlex.h: correct typo
3304 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3305 * paragraph.[Ch] (isMultiLingual): make const
3306 * cursor.[Ch] (openable): make const
3308 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3310 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3312 2004-02-20 André Pönitz <poenitz@gmx.net>
3314 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3316 * cursor.[Ch]: prepare for localized getStatus()
3322 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3324 2004-02-20 André Pönitz <poenitz@gmx.net>
3326 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3328 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3330 * text2.C (setCursorFromCoordinates): switch to absolute coords
3332 (cursorDown): adjust
3333 * text3.C (dispatch): adjust
3335 2004-02-16 André Pönitz <poenitz@gmx.net>
3337 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3340 * cursor_slice.[Ch]: remove unneeded acessor function
3342 * lyxtext.h: rename rtl() to isRTL()
3350 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3352 * rowpainter.C (paintSelection): coord fix
3354 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3356 * Spacing.C: compile fix
3358 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3360 * cursor.C (dispatch): restore current_ before returning
3362 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3364 * text2.C (cursorUp, cursorDown): fix coords
3367 2004-02-12 André Pönitz <poenitz@gmx.net>
3372 * text3.C: add LCursor & parameter to most cursor movement functions
3373 remove usage of LyXText::cursorRow() and cursorPar()
3375 * cursor.[Ch]: add textRow() needed members
3378 * BufferView_pimpl.C:
3381 * BufferView_pimpl.C: adjust
3383 2004-02-11 André Pönitz <poenitz@gmx.net>
3387 * BufferView_pimpl.C: shift undo/redo handling
3389 * cursor.[Ch]: fix mathed crash
3392 * lyxtext.h: move selectionAsText to LCursor
3400 * rowpainter.C: fix excessive drawing
3402 2004-02-06 André Pönitz <poenitz@gmx.net>
3405 * BufferView_pimpl.[Ch]:
3406 * text3.C: move some text specific LFUN handling
3408 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3410 * text3.C (checkInsetHit): adjust coords
3411 * text2.C (getColumnNearX): adjust coords
3412 (edit): adjust coords
3413 * text.C (getRowNearY): add two asserts
3415 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3418 * format.C: add using std::distance to compile on gcc 2.95/stlport
3420 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3422 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3424 2004-02-04 André Pönitz <poenitz@gmx.net>
3426 * BufferView.[Ch] (insertInset):
3427 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3432 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3434 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3435 on the default clause of the switch
3436 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3437 wasn't catched by LCursor::dispatch
3439 2004-02-03 André Pönitz <poenitz@gmx.net>
3442 * cursor.[Ch]: some additional asserts
3444 * undo.[Ch]: remove LyXText dependency in interface
3448 * lyxtext.h (firstPar, lastPar): remove dead functions
3453 * paragraph.[Ch]: adjust
3455 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3457 * lyxfind.C (find): fix argument order in call to ::find
3459 2004-02-02 André Pönitz <poenitz@gmx.net>
3461 * cursor.[Ch]: remove direct access to anchor
3463 * text.C: remove findText() hack
3465 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3467 * iterators.[Ch] (lockPath): remove in favour of...
3468 * BufferView.[Ch] (setCursor): this addition
3469 * BufferView.C (putSelectionAt): adjust
3470 * undo.C (performUndoOrRedo): adjust
3471 * lyxfunc.C (dispatch): adjust
3473 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3475 * iterators.C (lockPath): add a missing slice
3476 * undo.C (performUndoOrRedo): remove redundant positioning code
3478 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3480 * vc-backend.C (scanMaster): ";" -> ';'
3482 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3484 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3485 std::binary_function
3487 * lyxtextclass.C (compare_name): rename to...
3488 (LayoutNamesEqual): ...this
3490 * lyxlex_pimpl.C (compare_tags): inherit from
3491 std::binary_function, put back into anon namespace
3493 * lyxfind.C (MatchString): inherig from std::binary_function
3494 (findChange): use empty() istead of !size()
3496 * format.C (FormatNamesEqual): new functor
3503 * converter.C (compare_Converter): rename to...
3504 (ConverterEqual): ...this, and fixup a bit.
3505 (getConverter): use it, and make function const
3506 (getNumber): use it, and make function const
3510 * bufferlist.C: add using boost::bind
3512 * MenuBackend.C (MenuNamesEqual): new functor
3513 (hasMenu): use it, and make function const
3514 (hasSubmenu): use nested bind to get rid of compare_memfun.
3516 2004-01-30 André Pönitz <poenitz@gmx.net>
3518 * BufferView_pimpl.C:
3521 * cursor_slice.[Ch]:
3524 * paragraph_funcs.C:
3525 * paragraph_funcs.h:
3529 * text3.C: move some of the edit(x,y) handling to the insets
3530 some coordinate changes.
3532 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3534 * text.C: add using statements for std::advance and std::distance
3536 * paragraph.C: add using statement for std::distance
3538 * lyxfind.C: add using statement for std::advance
3540 * cursor.C (region): remove std:: from swap
3541 (openable): use nucleus in stead of operator->
3543 * BufferView.C: add using statements for std::distance and std::swap
3545 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3547 * iterators.C: Remove the pimple, move the needed structures to
3548 the header file. Create accessor for the positions stack.
3549 (asPosIterator): remove function
3551 * PosIterator.C (PosIterator): move constructors to top of file
3552 (PosIterator): reimplement the constructor taking a ParIterator in
3554 (setFrom): new function
3555 (operator!=): inline it
3557 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3559 * lyxfind.C (replaceAll): use std::advance
3561 * iterators.h: inherit from std::iterator.
3563 * PosIterator.C (advance, distance): remove
3564 * PosIterator.h: interit from std::iterator.
3566 2004-01-26 André Pönitz <poenitz@gmx.net>
3569 * BufferView_pimpl.[Ch]:
3573 * bufferview_funcs.C:
3583 * output_linuxdoc.C:
3584 * output_plaintext.C:
3586 * paragraph_funcs.[Ch]:
3587 * paragraph_pimpl.[Ch]:
3593 * text3.C: more IU: dumps most of the rest of the mathcursor
3594 implementation into cursor.[Ch]; "globalize" a bit of it.
3596 2004-01-25 Angus Leeming <leeming@lyx.org>
3598 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3600 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3602 * LaTeXFeatures.h: add nice_ and nice() const
3603 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3605 2004-01-20 André Pönitz <poenitz@gmx.net>
3608 * BufferView_pimpl.C:
3610 * bufferview_funcs.C:
3612 * cursor_slice.[Ch]:
3623 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3624 LCursor and mathcursor parts to LCursor and InsetBase.
3626 2004-01-15 André Pönitz <poenitz@gmx.net>
3628 * cursor_slice.[Ch]: add a few covienience functions
3630 * funcrequest.[Ch]: remove BufferView * member
3632 * BufferView_pimpl.C:
3639 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3641 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3643 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3644 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3646 2004-01-13 André Pönitz <poenitz@gmx.net>
3649 * lyxtext.h: hide cursor and selection anchor behind accessor function
3652 * BufferView_pimpl.[Ch]:
3654 * bufferview_funcs.C:
3664 * cursor_slice.[Ch]: some integer type changes for inset unification
3666 * lyxcursor.[hC]: remove, it's CursorSlice now.
3669 * BufferView_pimpl.[Ch]:
3670 * bufferview_funcs.C:
3676 * textcursor.[Ch]: adjust
3678 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3680 * text2.C (undoSpan): add and use
3681 * text.C (breakParagraph): use undoSpan (fix bug 578)
3684 2004-01-08 Angus Leeming <leeming@lyx.org>
3686 * BufferView_pimpl.C (MenuInsertLyXFile):
3687 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3688 * lyxfunc.C (menuNew, open, doImport):
3689 FileFilterList change to the FileDialog open and save functions.
3691 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3693 * ShareContainer.h: make isEqual and isUnique adaptable
3695 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3697 2004-01-07 Angus Leeming <leeming@lyx.org>
3700 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3702 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3704 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3705 functions replacing find, replace and replaceAll.
3707 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3708 LFUN_WORDFIND(FORWARD|BACKWARD).
3710 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3712 * text.C (breakParagraph): remove an outdated #warning
3714 2004-01-07 André Pönitz <poenitz@gmx.net>
3716 * lyxfind.C: somewhat clearer logic
3718 * text.C: prevent crash in cursorX on unitialized row cache
3720 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3722 * lyxcursor.[Ch] (operator>): add
3723 * textcursor.C (selStart, selEnd): use std::min and std::max
3725 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3727 * Chktex.C: include boost/format.hpp
3729 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3731 * InsetList.C: replace functor MathcIt with adaptable functor
3733 (insetIterator): modify accordingly
3735 * BranchList.h: move the BranchNamesEqual functor here from...
3736 * BranchList.C: ... to here
3738 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3740 (add): replace a finding loop with std::find_if.
3742 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3744 * output_docbook.C: moving LatexParam functionality into
3747 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3749 * buffer.C: increment format to 229.
3751 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3754 * lyx_sty.[Ch]: remove minipageindent_def
3760 * text3.C: remove LFUN_INSET_MINIPAGE
3762 2003-12-28 Angus Leeming <leeming@lyx.org>
3764 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3766 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3768 * text2.C (setParagraph): fix off-by-one crash
3770 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3772 * output_docbook.C: header stuff for AGU
3774 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3776 * text2.C (redoCursor): remove
3779 * BufferView_pimpl.C: remove calls to redoCursor and
3780 setCursor(cursor.par(), cursor.pos()) all around
3782 2003-12-15 Angus Leeming <leeming@lyx.org>
3784 * buffer.C: up the format to 228.
3786 2003-12-15 André Pönitz <poenitz@gmx.net>
3788 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3793 * BufferView_pimpl.C:
3802 2003-12-15 Angus Leeming <leeming@lyx.org>
3804 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3805 than getFromGUIName to manipulate the color.
3807 2003-12-14 Angus Leeming <leeming@lyx.org>
3809 * BranchList.[Ch]: minimize the API.
3810 (Branch::getBranch, getColor): now return a 'const &'.
3811 (Branch::setSelected) now returns a bool set to true if the
3812 selection status changes.
3813 (BranchList::clear, size, getColor, setColor, setSelected,
3814 allBranches, allSelected, separator): removed.
3815 (BranchList::find): new functions, returning the Branch with
3817 (BranchList::add, remove): return a bool indicating that
3818 the operation was successful.
3820 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3821 new InsetBranch::isBranchSlected member function.
3823 * LColor.[Ch]: mimimize the API.
3824 (fill): renamed as addColor and made private.
3825 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3826 versions of these functions taking a string arg have been removed.
3828 * bufferparams.C (readToken):
3829 * lyxfunc.C (dispatch):
3830 * lyxrc.C (read): changes due to the altered BranchList and
3833 * factory.C (createInset, readInset): changes due to altered
3836 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3839 * lyxfunc.C: remove insetminipage. "minipage-insert"
3840 now produces a frameless minipage box inset.
3842 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3844 * textcursor.[Ch] (selStart,selEnd): add new methods
3845 remove selection::start, end, use LyXCursor::operator<
3846 * lyxcursor.[Ch] (operator<): add
3847 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3848 * BufferView.[Ch] (unsetXSel): add
3849 * text2.C (clearSelection): use unsetXSel,adjust
3852 * rowpainter.C: adjust
3853 * bufferview_funcs.C (put_selection_at): adjust
3855 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3857 * BufferView_pimpl.C: small coord. correction
3859 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3861 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3862 dragging over the splash screen.
3864 2003-12-11 Angus Leeming <leeming@lyx.org>
3866 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3867 as it is now handled in LyXText::dispatch.
3869 * text3.C (doInsertInset): remove a level of nesting.
3871 2003-12-11 Angus Leeming <leeming@lyx.org>
3873 * factory.C (createInset): changes due to the changed interface to
3874 InsetCommandMailer::string2params.
3876 2003-12-10 Angus Leeming <leeming@lyx.org>
3878 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3879 'dialog-show-new-inset <inset name>'
3881 2003-12-10 Angus Leeming <leeming@lyx.org>
3883 * buffer.C: up the format to 227.
3885 * factory.C: the box inset is now identified simply by 'Box'.
3887 2003-12-10 Angus Leeming <leeming@lyx.org>
3889 * buffer.C: up the format to 226.
3891 * factory.C: the note inset is now identified simply by 'Note'.
3893 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3895 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3896 when a pit is enough. Standarize a couple of loops.
3898 2003-12-05 Angus Leeming <leeming@lyx.org>
3900 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3901 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3902 data to the re-worked "log" dialog.
3904 2003-12-03 André Pönitz <poenitz@gmx.net>
3910 * paragraph_funcs.C:
3912 * text2.C: use Inset::getText instead of Inset::getParagraph
3914 2003-12-03 André Pönitz <poenitz@gmx.net>
3918 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3919 InsetText::read() as LyXText::read()
3921 2003-12-02 Angus Leeming <leeming@lyx.org>
3923 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3924 type. Add a comment in the implementation that the function uses
3925 the stream's bad() function rather than fail() as the std::streams
3928 2003-12-02 André Pönitz <poenitz@gmx.net>
3930 * lyxlex.[Ch]: make interface more similar to std::stream
3932 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3934 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3936 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3938 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3940 * vspace.[Ch]: remove VSpace::NONE
3942 2003-12-01 André Pönitz <poenitz@gmx.net>
3945 * lyxtext.h: move ParagraphList member to LyXText
3946 rename LyXText::ownerParagraphs to LyXText::paragraph
3949 * bufferview_funcs.C:
3959 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3961 * undo.C: fix cursor positioning
3963 2003-12-01 John Levon <levon@movementarian.org>
3965 * BufferView_pimpl.C: fix a crash on exit with
3968 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3970 * BranchList.C: fix setSelected() method.
3972 2003-11-28 André Pönitz <poenitz@gmx.net>
3974 * ParagraphParameters.[Ch]:
3975 * ParameterStruct.h: remove space above/below from Paragraph to
3978 * BufferView_pimpl.C:
3984 * paragraph_funcs.C:
3990 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3992 * factory.C: Syntax change for CharStyles
3994 2003-11-28 André Pönitz <poenitz@gmx.net>
3999 * buffer.[Ch]: move LyXText member
4001 2003-11-28 André Pönitz <poenitz@gmx.net>
4003 * BufferView.[Ch]: make LyXText * text a private member
4005 * BufferView_pimpl.C:
4016 * output_plaintext.C: cleanup
4018 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4021 * lyxtextclass.[Ch]: parametrize SGML document header
4023 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4026 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4029 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4031 * text2.C (setFont): rework using PosIterator (no more recursive)
4032 (setCharFont): no more needed
4033 (setLayout): no more selection cursors fiddling (done by redoCursor)
4034 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4035 destroy remaining ones)
4037 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4039 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4041 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4044 * text3.C: adjust + re-allow multi par depth changes
4045 * textcursor.C: simplify a bit
4047 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4053 * src/output_docbook.C:
4054 * src/output_latex.C:
4059 * src/text2.C: Introducing a number of tags parametrizing various
4060 XML formats that we may want to support
4062 2003-11-25 André Pönitz <poenitz@gmx.net>
4064 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4066 * lyxtext.h (leftMargin/rightMargin): simplify interface
4073 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4075 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4076 master file to any child files. Fixes bug 546.
4078 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4080 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4082 2003-11-24 André Pönitz <poenitz@gmx.net>
4084 * rowpainter.C: simplification
4086 * text2.C (updateCounters): remove call to redoParagraph on
4087 changed labels as this is far too expensive.
4089 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4091 * converter.C (convert): fix a crash: this function gets
4092 called with buffer == 0 from importer code.
4094 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4096 * text3.C (cursorPrevious): make sure that we do not compare
4097 iterators form different containers.
4100 * rowpainter.C (paintSelection): make sure that we do not compare
4101 iterators from different containers.
4103 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4104 iterators from different ParagraphList containers.
4107 * text2.C (LyXText): change order of initialization slightly
4108 (operator=): new function. copy all variables except cache_par_
4109 (moveUp): make sure that we do not compare iterators from
4110 different ParagraphList constainers.
4113 * text.C (firstPar): new function
4114 (lastPar): new function
4115 (endPar): new function
4117 * lyxtext.h: move things around and group public functions, public
4118 variables, private functions, private variables
4120 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4122 * factory.C: change call to InsetERT constructor to avoid
4123 additional invocation of method status
4124 * text2.C (toggleInset): remove redundant update() call
4125 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4126 instead of a Bufferview pointer
4128 2003-11-21 André Pönitz <poenitz@gmx.net>
4130 * rowpainter.C: simplification
4132 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4134 * text3.C (dispatch): make possible to extend a word/row selection
4137 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4139 * lyxtext.h: x0_,y0_ -> xo_,yo_
4140 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4141 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4142 * rowpainter.C (paintRows): paint full paragraphs
4144 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4146 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4149 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4151 * lyxtext.h: add x0_, y0_
4152 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4153 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4155 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4157 * text2.C (setCursorIntern): move the x_target update here *
4158 * text3.C: change some bv() to true/false in calls to
4159 cursorUp/Down/Right/Left
4160 * cursor.C: use helper function.
4162 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4164 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4165 * paragraph_funcs.[Ch]: correct comment
4166 * rowpainter.C: do not paint selections away from bv->cursor()
4167 Fix a long standing selection painting bug.
4168 * text3.C: generalize mouse-selection code to LyXTexts other that
4170 * textcursor.C: do not use y coords if we can use par offsets
4172 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4174 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4175 cursor position after e.g. inset insert)
4177 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4179 * lyxfind.C (replace): adjust to locking removal + some
4182 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4184 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4187 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4190 * output_docbook.C: XML sanitation: new layout
4191 parameters InnerTag and CommandDepth
4193 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4195 * BufferView_pimpl.C:
4197 * text3.C: Fix the insertion and modification of button-style
4200 2003-11-13 André Pönitz <poenitz@gmx.net>
4202 * InsetList.[Ch]: remove deleteLyXText
4204 * paragraph.[Ch]: cache beginOfBody position
4209 * text3.C: remove superfluous update() calls
4213 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4215 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4216 * BufferView.C (fitLockedInsetCursor): remove
4217 * cursor.[Ch] (getDim): add
4218 * text.C (getRowNearY): add faster version
4219 * text3.C: remove some update calls
4221 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4233 * text3.C: The Character Style /XML short element patch.
4235 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4238 * factory.C: Small step to solving 'unable to insert some insets'
4241 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4243 * cursor.[Ch] (updatePos): new function for updating the y
4244 position of the tip inset
4245 * bufferview_funcs.C (put_selection_at):
4246 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4248 2003-11-11 André Pönitz <poenitz@gmx.net>
4250 * text.C: remove big comment on invalid Paragraph pointers as it is
4253 2003-11-11 André Pönitz <poenitz@gmx.net>
4255 * text_funcs.[Ch]: merge with ...
4263 * Makefile.am: remove text_funcs.[Ch]
4265 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4267 * cursor.C (getPos): return absolute cached y coord
4269 * BufferView_pimpl.C (fitCursor): new simplistic code
4270 (workAreaDispatch): add a fitCursor call
4272 2003-11-10 André Pönitz <poenitz@gmx.net>
4275 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4277 2003-11-10 André Pönitz <poenitz@gmx.net>
4279 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4280 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4281 indicate that the cursor needs to leave an inset
4283 * lyxtext.h: remove inset locking
4285 * cursor.[Ch]: re-implement functionality provided by inset locking
4288 * BufferView_pimpl.[Ch]:
4290 * bufferview_funcs.[Ch]:
4302 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4304 * PosIterator.[Ch]: replace the stack with a vector, add inset
4306 * iterators.[C]: adjust
4308 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4310 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4312 * paragraph_funcs.C (readParToken): put the correct id in the
4313 error item, not the id of the top paragraph
4315 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4317 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4318 * bufferview_funcs.C (put_selection_at): use the above
4320 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4322 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4324 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4326 * output_linuxdoc.h:
4327 * output_plaintext.h:
4329 * output_docbook.h: add #include statements
4331 2003-11-05 José Matos <jamatos@lyx.org>
4333 * output_docbook.[Ch]:
4334 * output_latex.[Ch]:
4335 * output_linuxdoc.[Ch]:
4336 * output_plaintext.[Ch]: New files for output formats.
4337 * output.[Ch]: New file for helper functions.
4340 * paragraph_funcs.[Ch]: output functions moved to new files.
4342 * outputparams.h: rename of latexrunparams.h
4350 * paragraph_funcs.[Ch]:
4351 * paragraph_pimpl.[Ch]:
4352 * tabular.[Ch]: rename ascii to plaintext
4353 and LatexRunParams to OutputParams.
4355 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4357 * iterators.[Ch] (text): require bv argument
4358 * undo.C (recordUndo):
4359 * lyxfunc.C (dispatch):
4360 * bufferview_funcs.C (put_selection_at): adjust
4362 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4364 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4366 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4368 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4371 2003-11-04 André Pönitz <poenitz@gmx.net>
4373 * cursor.[Ch]: restructure
4376 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4378 * iterators.[Ch] (asCursor): remove
4380 * lfuns.h: remove LFUN_INSET_EDIT
4386 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4388 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4390 * lyxfind.[Ch]: complete overhaul
4391 * BufferView_pimpl.C:
4393 * paragraph.[Ch] (insert): add
4395 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4399 * text.C: remove dead spellcheck code
4401 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4403 * dispatchresult.h: add a val setter
4405 * cursor.C (dispatch): use a tempvar for data_[i]
4407 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4409 * PosIterator.[Ch]: compile fix
4411 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4413 * text.C (cursorPar): deactivate the cursor cache
4415 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4417 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4419 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4421 * text3.C (dispatch): adjust for new DisptchResult semantics.
4423 * lyxfunc.C (dispatch): handle update when return from
4424 Cursor::dispatch, adjust for new DispatchResult semantics.
4426 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4427 DispatchResult(true) mean to not update. Add class functions for
4428 setting dispatched and update, as well as reading.
4430 * cursor.C (dispatch): don't handle update here
4432 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4434 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4435 * trans_mgr.C: adjust
4437 * paragraph_funcs.C (readParToken): exception safety
4439 * lyxvc.h: store the vcs pointer in a scoped_ptr
4442 * lyxsocket.C (serverCallback): exception safety
4444 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4446 * ispell.C (clone): make it return a auto_ptr
4448 * factory.C (createInset): exception safety
4449 (readInset): exception safety
4451 * bufferlist.C (newBuffer): exception safety
4453 * Thesaurus.C (Thesaurus): use initialization for aik_
4455 * MenuBackend.C (expandToc): exception safety.
4457 2003-11-03 André Pönitz <poenitz@gmx.net>
4461 * bufferview_funcs.C: remove getInsetFromId()
4464 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4470 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4472 * PosIterator.C (distance, advance): new
4473 * bufferview_funcs.[Ch] (put_selection_at): new
4474 * iterators.[Ch] (lockPath): new
4476 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4478 * iterators.[Ch] (asPosIterator): added
4479 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4480 * PosIterator.[Ch]: added
4482 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4486 * cursor.C (dispatch):
4487 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4489 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4490 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4491 contructor, add a class function dispatched. Remove operator>=
4493 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4495 * debug.C: only use the default constructor for debugstream
4498 * main.C (main): include debug.h and setup the lyxerr streambuf
4501 2003-10-31 José Matos <jamatos@lyx.org>
4503 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4505 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4506 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4507 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4508 * paragraph_pimpl.C (simpleTeXSpecialC):
4509 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4510 add LatexRunParams argument.
4512 * exporter.C (Export): change call accordingly.
4514 * latexrunparams.h: add new member to take care of the other backends.
4515 2003-10-30 José Matos <jamatos@lyx.org>
4517 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4518 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4519 factorise code for paragraph output.
4521 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4524 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4526 * text3.C (dispatch):
4527 * lyxfunc.C (dispatch):
4528 * cursor.C (dispatch):
4529 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4531 * dispatchresult.h: make the dispatch_result_t ctor explicit
4533 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4536 * buffer.C: small refactoring of docbook stuff
4538 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4540 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4543 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4545 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4546 operator dispatch_result_t, and operators for == != and >=
4548 * cursor.C (dispatch): adjust for operator dispatch_result_t
4549 removal. comment out call to update
4551 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4553 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4561 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4564 * dispatchresult.h: new file, DispatchResult broken out of
4567 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4569 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4571 * text.C (rowBreakPoint): put a hack inside #if 0
4573 2003-10-28 André Pönitz <poenitz@gmx.net>
4577 * paragraph_funcs.C:
4580 * text2.C: general cleanup (lots of small stuff)
4582 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4584 * text2.C (cursorEnd): simple fix to the "end key goes to one
4585 before the end on last row" bug
4587 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4589 * text.C (backspace): fix the "zombie characters"
4591 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4593 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4595 2003-10-27 André Pönitz <poenitz@gmx.net>
4597 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4599 * factory.C: handle new InsetPagebreak, InsetLine
4601 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4602 and move handling into new InsetPagebreak, InsetLine
4604 * BufferView_pimpl.C:
4606 * ParagraphParameters.C:
4607 * ParameterStruct.h:
4612 * paragraph_funcs.C:
4613 * paragraph_pimpl.C:
4619 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4622 * lyxrow_funcs.[Ch]:
4628 * text3.C: remove lastPos uses in favour of Row::endpos
4630 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4632 * undo.C (performUndoOrRedo): fix two crashes by setting a
4633 cursor by hand and reordering some calls. Use bv->lockInset instead
4634 of inset->edit because the latter loses cursor information
4636 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4638 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4640 (rowBreakPoint): fix width. change point to point + 1.
4641 Add a missing check.
4643 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4646 * lyxfunc.C: fix (at least partly) the problems
4647 with the Nav menu and headers inside branch insets
4650 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4652 * paragraph.C (getChar): add strong asserts
4654 * lyxrow_funcs.C (lastPos): remove hideous hack
4656 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4657 (fill): adjust to that (avoid an infinite loop)
4659 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4661 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4663 2003-10-23 André Pönitz <poenitz@gmx.net>
4665 * RowList_fwd.h: change list<> to vector<> to gain speed
4666 after suggestion from Alfredo
4668 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4670 * lyxtext.h: move the bidi stuff from here...
4673 * Bidi.[Ch]: ... to here
4675 2003-10-23 André Pönitz <poenitz@gmx.net>
4678 * text.C (isLastRow, isFirstRow): new functions
4680 * paragraph.h: new width cache member
4682 * rowpainter.C: replace RowList::iterator with Row & where possible
4684 * lyxfunc.C: replace several view()->text with a single call
4686 * toc.C: fix 'unused' warning
4688 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4690 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4691 when woring with stream::pos_type
4692 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4694 2003-10-22 André Pönitz <poenitz@gmx.net>
4697 * text.C: use Row & instead of RowList::iterator
4699 * lyxrow.h: rename end() to endpos()
4705 2003-10-22 Angus Leeming <leeming@lyx.org>
4707 * buffer.[Ch] (fully_loaded): new member function, returning true
4708 only when the file has been loaded fully.
4709 Used to prevent the premature generation of previews and by the
4710 citation inset to prevent computation of the natbib-style label.
4712 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4713 templates are all set up.
4715 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4717 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4719 * text.C: fixed an "oops" in the "is a bit silly"
4722 2003-10-21 André Pönitz <poenitz@gmx.net>
4724 * FuncStatus.[Ch]: small stuff, whitespace
4726 * lyxfont.[Ch]: operator<<() for debug reasons
4730 * lyxtext.h: whitespace, spelling
4732 * paragraph.C: naming of variables
4735 * text2.C: small stuff
4738 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4740 * text.C: (1) finish off the inset display() work;
4741 (2) fix the "is a bit silly" bug (accessing char
4744 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4746 * text.C: re-introduce display() for insets, fixing the
4747 various bugs (stretch of line above, math inset
4750 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4752 * text.C (rightMargin): remove spurious semicolon
4754 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4757 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4759 * text3.C: fix one crash due to wrong cursor def
4761 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4763 * vc-backend.C (scanMaster): make the regex static
4765 * LaTeX.C (scanAuxFile): make the regexs static
4767 * text3.C (doInsertInset, dispatch, dispatch):
4768 * text2.C (cursorUp, cursorDown):
4769 * text.C (selectNextWordToSpellcheck):
4770 * BufferView_pimpl.C (dispatch):
4771 * lyxfunc.C (dispatch): localDispatch -> dispatch
4773 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4775 * lyxsocket.C: include <cerrno>
4777 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4779 * lyxfunc.C (dispatch): remove textcache stuff
4781 * bufferlist.C (release): remove textcache stuff
4784 * TextCache.C: delete file
4785 * TextCache.h: delete file
4787 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4789 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4790 delete of the bv_->text.
4791 (resizeCurrentBuffer): remove texcache stuff
4792 (workAreaResize): ditto
4794 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4796 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4799 2003-10-16 André Pönitz <poenitz@gmx.net>
4806 * text3.C: speed up by storing y positions per paragraph plus per-row
4807 offset instead of having a 'full' y position in the row.
4809 2003-10-15 André Pönitz <poenitz@gmx.net>
4813 * undo.[Ch]: make undo aware of inner insets
4815 2003-10-14 Angus Leeming <leeming@lyx.org>
4817 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4818 static member functions LyX::ref() and LyX::cref.
4819 (lastfiles): new accessor functions for the new lastfiles_ member var.
4820 (addLyXView, views_): add a new LyXView to the list of views_.
4821 (updateInset): loop over all LyXViews to call their own updateInset
4822 member function, returning a pointer to the Buffer owning the inset.
4824 * BufferView_pimpl.C (loadLyXFile):
4825 * MenuBackend.C (expandLastfiles):
4826 * bufferlist.C (MenuWrite, QuitLyX):
4827 lastfiles is no longer a global variable.
4828 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4830 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4831 static function. Access through LyX::cref().emergencyCleanup().
4833 2003-10-14 André Pönitz <poenitz@gmx.net>
4835 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4837 * undo.[Ch]: restoring part of 'undo in insets'
4840 * undo_funcs.[Ch]: merge with undo.[Ch]
4842 * tabular.C: small cleansing stuff
4844 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4846 * paragraph_funcs.C (readParToken): report unknown insets as error
4847 boxes. Use the outer paragraph as location (also for unknown
4850 * factory.C (readInset): do not abort on reading an unknown inset.
4851 Eat it and return 0.
4853 2003-10-13 Angus Leeming <leeming@lyx.org>
4855 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4857 * lyxrc.C: displayTranslator is now a function,
4858 declared in GraphicsTypes.h.
4860 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4862 * format.C: new placeholder $$a to pass the socket address.
4864 * bufferlist.[Ch]: new function getBufferFromTmp.
4866 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4867 files in the temporary dir.
4869 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4871 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4873 * Makefile.am: add lyxsocket.[Ch].
4875 * lyx_main.C (error_handler): handle SIGPIPE.
4877 2003-10-13 André Pönitz <poenitz@gmx.net>
4879 * BufferView_pimpl.C:
4884 * undo_funcs.[Ch]: use paroffset_type instead of
4885 ParagraphList::iterators to prevent multiple conversion
4886 (and get a more robust interface)
4888 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4890 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4892 * text3.C (dispatch): ditto
4894 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4896 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4897 move the onlyfile, use onlyfile instead of foundfile in a couple
4900 * DepTable.C (update): flush the error stream a bit more
4902 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4904 * lyxserver.C (callback): adjust
4906 * lyxfunc.C (getStatus): add a missing brace in commented code
4907 (ensureBufferClean): reindent
4908 (dispatch): delete version taking a string
4910 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4912 * LaTeX.C (deplog): move found file handlig from here...
4913 (handleFoundFile): .. to new function here.
4914 (deplog): make sure to discover several files mentioned on the
4917 2003-10-10 André Pönitz <poenitz@gmx.net>
4924 * text3.C: fix some of the tabular crashes
4926 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4928 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4930 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4932 2003-10-09 André Pönitz <poenitz@gmx.net>
4934 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4937 * BufferView_pimpl.C:
4938 * bufferview_funcs.C:
4949 * undo_funcs.C: adjust
4951 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4953 * text2.C (incrementItemDepth): new function, use a backtracking
4954 algorithm to discover the correct item depth.
4955 (resetEnumCounterIfNeeded): new function, use a backtracking
4956 algorithm to discover if counter reset is needed.
4957 (setCounter): use them. Simplify a bit. Add different labels for
4958 different item depths for itemize.
4960 * paragraph.C (Paragraph): remove initialization of enumdepth
4963 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4964 enumerate and itemize. Change the type of itemdepth to signed char.
4966 2003-10-08 André Pönitz <poenitz@gmx.net>
4968 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4973 * tabular.[Ch]: fix crash after 'row-insert'
4975 2003-10-08 Angus Leeming <leeming@lyx.org>
4977 Fix doxygen warnings.
4979 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4980 Remove CutAndPaste:: prefix from header file declaration.
4982 * LColor.h (fill): remove LColor:: prefix from declaration.
4984 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4985 use lyx::depth_type rather than Paragraph::depth_type so that
4986 header file and .C file match.
4988 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4990 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4991 * aspell.C: \file aspell_local.C -> \file aspell.C
4992 * gettext.C: \file gettext.C -> \file src/gettext.C
4993 * gettext.h: \file gettext.h -> \file src/gettext.h
4994 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4995 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4996 * text.C: \file text.C -> \file src/text.C
4998 * toc.C: move comment so that doxygen is not confused.
5000 2003-10-07 Angus Leeming <leeming@lyx.org>
5002 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5004 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5007 * aspell_local.h: add forgotten std::string's.
5009 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5016 * text3.C: The Box patch. Fancybox support, minipage, parbox
5018 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5024 * ParagraphParameters.h:
5034 * lyxtextclasslist.h:
5037 * paragraph_pimpl.C:
5038 * textcursor.h: add <string> and other small fixes to make Lars'
5039 std::string patch compile with STLport.
5041 2003-10-06 Angus Leeming <leeming@lyx.org>
5043 * LColor.h: Add missing #include <string>.
5045 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5047 * All most all file in all subdirs: Make <string> be the prefered
5048 way of getting to std::string, add using declarations.
5050 2003-10-06 André Pönitz <poenitz@gmx.net>
5052 * metricsinfo.C: initialize LyXFont before changing attribute.
5053 (fixes the 'math in \emph is upright' bug)
5055 2003-10-06 André Pönitz <poenitz@gmx.net>
5057 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5059 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5062 * paragraph_pimpl.C: Small fixes to build using STLport
5064 2003-10-02 André Pönitz <poenitz@gmx.net>
5067 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5069 2003-10-01 André Pönitz <poenitz@gmx.net>
5071 * factory.C: assert early
5073 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5075 * lyx_main.C: remove the global debug object
5077 * debug.h: adjust for new debugstream
5079 * debug.C: adjust for new debugstream and keep the global debug
5082 2003-09-22 Angus Leeming <leeming@lyx.org>
5084 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5085 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5086 an incomplete class LyXFont.
5088 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5090 * factory.C: bug fix in branches
5092 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5094 * lyxfunc.C (processKeySym): adjust
5096 (dispatch): change arg name from ev to func, adjust
5097 (sendDispatchMessage): ditto
5099 * lyx_main.C (defaultKeyBindings): adjust keybindings
5100 (deadKeyBindings): ditto
5102 * kbsequence.C (addkey): return a FuncRequest
5104 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5106 * kbmap.C (bind): take a FuncRequest as arg, adjust
5109 (defkey): change to take a FuncRequest as arg, adjust
5110 (findbinding): take a FuncRequest as arg, adjust.
5112 * funcrequest.h (operator=): added
5114 * funcrequest.C (FuncRequest): default kb_action changed from
5115 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5117 * buffer.C (dispatch): simplify
5118 (dispatch): adjust to take a FuncRequest as arg, adjust
5120 * boost.C (assertion_failed): change assertion message slightly
5122 * ToolbarBackend.C (read): simplify
5124 * MenuBackend.C (binding): adjust call to findbinding, add a
5125 message if no binding is found.
5127 (expandToc): correct by adding a empty FuncRequest
5129 * LyXAction.C: include <boost/assert.hpp>
5130 (isPseudoAction): delete function
5131 (LookupFunc): change name to...
5132 (lookupFunc): this. change return type to FuncRequest.
5133 (getActionName): take kb_action as arg, simplify
5134 (funcHasFlag): add an assert, simplify.
5136 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5138 * toc.C (action): return a FuncRequest, simplify
5140 * lyxfunc.C (processKeySym): adjust
5141 (getStatus): delete version that takes an int.
5143 (dispatch): delete version that takes action as int
5145 (sendDispatchMessage): simplify and adjust
5147 * funcrequest.C (getArg): take unsigned int as arg
5149 * ToolbarBackend.C (read): adjust
5150 (add): delete version that takes func as a string.
5151 (getIton): take a FuncRequest as arg
5153 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5156 * MenuBackend.C (MenuItem): add a new construct that only takes a
5157 Kind, simplify the constructor use for submenus.
5159 (expandLastfiles): adjust
5160 (expandDocuments): adjust
5161 (expandFormats): adjust
5162 (expandFloatListInsert): adjust
5163 (expandFloatInsert): adjust
5164 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5166 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5167 Remove class variables lyx_pseudo_map and lyx_arg_map
5169 * LyXAction.C (searchActionArg): delete function
5170 (getPseudoAction): delete function
5171 (retrieveActionArg): delete function
5172 (LookupFunc): make it return kb_action, simplify.
5173 (getActionName): simplify
5175 * factory.C (createInset): fix new bug
5177 2003-09-19 Angus Leeming <leeming@lyx.org>
5179 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5180 masterFilename_ parameter in the include inset.
5182 * factory.C (createInset): changes due to the changes to InsetInclude.
5184 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5186 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5188 2003-09-18 Angus Leeming <leeming@lyx.org>
5191 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5192 Inset::fillWithBibKeys.
5193 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5195 2003-09-18 Angus Leeming <leeming@lyx.org>
5197 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5199 (ctor): pass and store a 'Buffer const &'
5200 (buffer): new member function.
5202 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5203 '*this' to the LaTeXFeatures ctor.
5205 2003-09-18 Angus Leeming <leeming@lyx.org>
5211 * text.C: rename EnumLColor as LColor_color.
5213 2003-09-18 Angus Leeming <leeming@lyx.org>
5215 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5216 remove #include "insets/insetbase.h" from cursor.h.
5218 2003-09-18 Angus Leeming <leeming@lyx.org>
5220 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5221 InsetOld_code to remove #include "inset.h".
5223 * iterators.C: add #include "insets/inset.h"
5225 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5227 * BufferView.C: remove more locking stuff that apparently doesn't
5228 do anything sensible.
5230 2003-09-16 André Pönitz <poenitz@gmx.net>
5233 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5236 2003-09-16 Angus Leeming <leeming@lyx.org>
5238 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5240 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5243 * paragraph.h: remove #include "lyxfont.h". Forward declare
5246 2003-09-16 Angus Leeming <leeming@lyx.org>
5248 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5249 of support/textutils.h.
5250 (isWord): move the contents of support/textutils.h's IsWordChar here.
5256 * text2.C: add #include "paragraph.h".
5259 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5261 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5267 * LaTeX.C: use namespace alias for lyx::support::os
5269 2003-09-16 Angus Leeming <leeming@lyx.org>
5272 * bufferview_funcs.C:
5275 * paragraph_pimpl.C:
5277 * text.C: add #include "LColor.h".
5279 2003-09-16 Angus Leeming <leeming@lyx.org>
5281 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5282 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5284 Store the FontBits::color variable as an int rather than as an
5285 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5288 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5289 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5290 string calls together.
5292 * lyxrc.C: add #include "LColor.h".
5294 2003-09-15 Angus Leeming <leeming@lyx.org>
5296 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5299 2003-09-15 Angus Leeming <leeming@lyx.org>
5301 * LColor.h: add an EnumLColor wrapper for LColor::color.
5303 * lyxfont.[Ch] (color, setColor, realColor):
5304 * lyxtext.h, text.C (backgroundColor):
5305 pass EnumLColor args to/from the functions, rather than LColor::color
5309 * lyxtext.h: forward declare EnumLColor.
5311 * lyx_main.C: add #include "LColor.h".
5313 2003-09-15 Angus Leeming <leeming@lyx.org>
5315 * .cvsignore: add lyx-gtk.
5317 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5322 * ParagraphParameters.C
5326 * bufferview_funcs.C
5336 * vc-backend.C: remove usage of STRCONV
5338 2003-09-15 Angus Leeming <leeming@lyx.org>
5340 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5341 explicitly define the color passed to the painter.
5343 2003-09-15 Angus Leeming <leeming@lyx.org>
5345 * bufferparams.C (BufferParams): reorder member initializers to avoid
5348 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5350 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5351 * text.C (updateRowPositions): remove an unusual nop
5353 2003-09-12 André Pönitz <poenitz@gmx.net>
5355 * BufferView_pimpl.C:
5364 * Counters.[Ch]: finish the 'automatic counters' job
5366 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5368 * aspell.C: include <boost/assert.cpp> (compile fix)
5370 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5372 * boost.C (assertion_failed): use lyx::support::abort instead of
5375 2003-09-10 Angus Leeming <leeming@lyx.org>
5377 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5378 with their _fwd progeny.
5380 2003-09-09 Angus Leeming <leeming@lyx.org>
5382 134 files throughtout the source tree: replace 'using namespace abc;'
5383 directives with the appropriate 'using abc::xyz;' declarations.
5385 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5387 * boost.C (emergencyCleanup): moved here from LAssert.c
5388 (assertion_failed): new function, called by BOOST_ASSERT
5390 * several files: change Assert to BOOST_ASSERT
5392 2003-09-09 Angus Leeming <leeming@lyx.org>
5394 * buffer.[Ch]: Add an Impl class and move Buffer's member
5395 variables into it. As a result move several header files out of
5398 Add header files to lots of .C files all over the tree as a result.
5400 2003-09-09 Angus Leeming <leeming@lyx.org>
5402 * buffer.[Ch]: make Buffer's member variables private. Add
5405 Lots of changes all over the tree as a result.
5407 2003-09-08 Angus Leeming <leeming@lyx.org>
5409 * graph.C: #include <config.h>.
5411 2003-09-08 Angus Leeming <leeming@lyx.org>
5415 * BufferView_pimpl.C:
5444 * toc.C: remove redundant using directives.
5446 2003-09-07 Angus Leeming <leeming@lyx.org>
5448 * LaTeXFeatures.h: remove #include "support/types.h".
5449 * ToolbarBackend.h: remove #include <algorithm>.
5450 * changes.h: remove #include <ctime>.
5451 * debug.h: remove #include <iosfwd>.
5452 * graph.h: remove #include "support/std_string.h".
5453 * lyx_main.h: remove #include <csignal>.
5454 * lyxlex_pimpl.h: remove #include <fstream>.
5455 * sgml.h: remove #include <algorithm>, <utility>.
5456 * toc.h: remove #include "support/std_ostream.h".
5457 Add #include <iosfwd>.
5459 2003-09-07 Angus Leeming <leeming@lyx.org>
5461 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5463 * converter.h: forward declare LatexRunParams.
5464 * encoding.h: remove #include "lyxrc.h".
5465 * lyxtext.h: remove #include "LColor.h".
5466 * lyxtextclass.h: remove #include "support/types.h".
5467 * trans.h: remove #include "tex-accent.h".
5468 * trans_mgr.h: remove #include "tex-accent.h".
5469 * insets/inset.h: remove #include "support/types.h", <vector>.
5470 * insets/insetcollapsable.h: remove #include "LColor.h".
5471 * insets/insetinclude.h: remove #include "dimension.h".
5472 * insets/insetlatexaccent.h: remove #include "dimension.h".
5473 * insets/insetoptarg.h:: remove #include "insettext.h".
5474 * insets/insettext.h: remove #include "dimension.h",
5475 <boost/shared_ptr.hpp>
5477 * insets/renderers.h: add #include "dimension.h".
5478 * insets/updatableinset.h: add #include "support/types.h".
5480 * many .C files: Associated changes.
5482 2003-09-06 Angus Leeming <leeming@lyx.org>
5484 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5485 one, inside testInvariant.
5487 * PrinterParams.C: new file.
5488 * PrinterParams.[Ch]: move the function bodies out of line.
5490 2003-09-06 Angus Leeming <leeming@lyx.org>
5492 * ParagraphParameters.h: forward declare ParameterStruct rather than
5493 including its header file.
5494 (depth): moved out-of-line.
5496 2003-09-06 Angus Leeming <leeming@lyx.org>
5498 * BufferView_pimpl.h:
5501 * lyxfunc.h: forward declare LyXKeySym rather than
5502 #include "frontends/LyXKeySym.h".
5504 * BufferView_pimpl.C:
5507 * lyxfunc.C: associated changes.
5509 2003-09-06 Angus Leeming <leeming@lyx.org>
5511 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5512 As a result, can remove the #include "insets/inset.h" from BufferView.h
5514 2003-09-06 Angus Leeming <leeming@lyx.org>
5516 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5517 As a result, can remove the #include "insets/inset.h" from BufferView.h
5519 2003-09-06 Angus Leeming <leeming@lyx.org>
5525 * bufferview_funcs.C:
5526 * BufferView_pimpl.C:
5531 * ParagraphParameters.C:
5536 * frontends/controllers/ControlDocument.C:
5537 * insets/insetcaption.C: rearrange the #includes into some sort of
5540 * buffer.h: remove #includes ErrorList.h, undo.h
5542 2003-09-06 Angus Leeming <leeming@lyx.org>
5544 * support/types.h: add a 'depth_type' typedef, used to store the
5545 nesting depth of a paragraph.
5548 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5549 defining explicitly.
5552 * paragraph_funcs.h:
5553 * ParagraphParameters.h:
5554 * sgml.h: use lyx::depth_type rather than Paragraph or
5555 ParameterStruct's depth_type.
5558 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5561 * BufferView_pimpl.C:
5563 * ParagraphParameters.C:
5566 * bufferview_funcs.C:
5573 * frontends/LyXView.C:
5574 * frontends/controllers/ControlDocument.C:
5575 * frontends/controllers/ControlErrorList.C:
5576 * insets/insetbibitem.C:
5577 * insets/insetbranch.C:
5578 * insets/insetcaption.C:
5579 * insets/insetcollapsable.C:
5580 * insets/insetenv.C:
5581 * insets/insetert.C:
5582 * insets/insetfloat.C:
5583 * insets/insetfoot.C:
5584 * insets/insetfootlike.C:
5585 * insets/insetnewline.C:
5586 * insets/insetquotes.C:
5587 * insets/insettabular.C:
5588 * insets/insettext.C:
5589 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5591 * frontends/controllers/ControlChanges.C: #include "changes.h".
5593 2003-09-06 Angus Leeming <leeming@lyx.org>
5595 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5596 than #including paragraph.h.
5599 * RowList.h: deleted. Superfluous.
5609 * insets/insettext.h: use ParagraphList_fwd.h rather than
5612 * paragraph.h: don't forward declare ParagraphList.
5615 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5616 rather than ParagraphList.h. paragraph.h is still needed for the
5617 Paragraph::depth_type parameters.
5619 * textcursor.h: enable it to compile stand-alone in light of the
5622 * bufferview_funcs.C:
5634 * frontends/controllers/ControlParagraph.C:
5635 * frontends/controllers/ControlTabular.C:
5636 * insets/insetmarginal.C:
5637 * insets/insetminipage.C:
5638 * insets/insetnote.C:
5639 * insets/insetoptarg.C: add header files needed to compile again.
5641 2003-09-06 Angus Leeming <leeming@lyx.org>
5643 * RowList_fwd.h: new file, forward-declaring Row rather than
5644 #including lyxrow.h.
5649 * insets/insettext.h: use it instead of RowList.h
5651 * bufferview_funcs.C:
5658 * text3.C: #include "RowList.h".
5660 2003-09-05 Angus Leeming <leeming@lyx.org>
5662 * factory.C (createInset):
5663 * vspace.C (c-tor): replace sscanf call with an istringstream.
5664 * ispell.C: re-add missing HP/UX headers.
5665 * lyxserver.C: re-add missing os2 headers.
5667 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5676 * text3.C: re-add missing system headers, needed for 2.95.2.
5678 2003-09-05 Angus Leeming <leeming@lyx.org>
5680 Changes most place everywhere due to the removal of using directives
5681 from support/std_sstream.h.
5683 2003-09-05 Angus Leeming <leeming@lyx.org>
5685 Replace LString.h with support/std_string.h,
5686 Lsstream.h with support/std_sstream.h,
5687 support/LIstream.h with support/std_istream.h,
5688 support/LOstream.h with support/std_ostream.h.
5690 Changes resulting throughout the tree.
5692 2003-09-05 Angus Leeming <leeming@lyx.org>
5694 * sgml.h: ensure that the header file can be compiled stand-alone.
5695 * *.C: strip out redundant #includes. (320 in total.)
5697 2003-09-04 Angus Leeming <leeming@lyx.org>
5699 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5700 here (from getPackages).
5702 * debug.[Ch]: add a new EXTERNAL tag.
5704 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5706 * text2.C (cursorEnd): simplify
5708 (getColumnNearX): adjust
5710 * text.C (computeBidiTables): adjust
5713 * rowpainter.C (paintChars): adjust
5714 (paintSelection): adjust
5715 (paintChangeBar): adjust
5718 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5720 (numberOfSeparators): adjust
5722 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5728 * text3.C: Restricts the mouse click functionality
5729 of insets like bibtex, include, toc and floatlist to the visible
5730 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5731 up the dialogs. Cursor has to be in front of the inset (i.e.
5732 start of row) for this to function.
5734 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5736 * bufferview_funcs.C (currentState): output row information
5738 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5740 * bufferview_funcs.C (currentState): output paragraph position
5742 2003-09-04 Angus Leeming <leeming@lyx.org>
5744 * FloatList.h: move out #include "Floating.h".
5745 * LaTeX.h: move out #include "DepTable.h".
5746 * LyXAction.h: move out #include "funcrequest.h".
5747 * buffer.h: move out #include "author.h", "iterators.h".
5748 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5749 * lyx_main.h: move out #include "errorlist.h".
5750 * lyxfunc.h: move out #include "FuncStatus.h".
5751 * lyxtext: move out #include "lyxcursor.h".
5752 * paragraph_pimpl.h: move out #include "counters.h".
5754 2003-09-03 Angus Leeming <leeming@lyx.org>
5756 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5757 preamble_snippets list, enabling us to add snippets to the preamble
5758 only if the snippet was not there already.
5760 2003-09-04 Angus Leeming <leeming@lyx.org>
5762 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5764 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5766 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5769 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5771 * BranchList.C: point fix, earlier forgotten
5773 2003-09-02 Angus Leeming <leeming@lyx.org>
5775 * box.C (contains): renamed from 'contained' after a fantastic
5778 2003-09-02 John Levon <levon@movementarian.org>
5784 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5786 2003-09-02 John Levon <levon@movementarian.org>
5788 * text2.C: simplification of cursorEnd(), including partial
5791 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5793 * buffer.C (readFile): add a space
5795 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5797 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5799 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5801 * buffer.C (readFile): new function, take a filename and a
5802 ParagraphList::iterator
5804 (readFile): adjust, make it private. don't use setStream, make
5805 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5806 always contain the filename.
5808 * BufferView.C (insertLyXFile): simplify and make it work for
5811 2003-08-30 John Levon <levon@movementarian.org>
5813 * Makefile.am: fix dist (from Kayvan)
5815 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5817 * most files: change to use const Buffer refs
5819 2003-08-27 André Pönitz <poenitz@gmx.net>
5821 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5822 on top of ownerPar().
5824 2003-08-27 John Levon <levon@movementarian.org>
5826 * funcrequest.C: properly initialise POD members
5828 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5830 * lyxtext.h (top_y): move top_y from here
5835 * BufferView_pimpl.[Ch]: to here
5836 * frontends/screen.C:
5837 * insets/insettabular.C:
5838 * insets/insettext.C: adjust
5839 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5841 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5844 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5846 2003-08-26 André Pönitz <poenitz@gmx.net>
5848 * paragraph_func.[Ch] (outerPar): new function
5851 * paragraph_funcs.C:
5852 * paragraph_funcs.h:
5853 * paragraph_pimpl.C:
5854 * text2.C: remove Inset::par_owner
5856 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5861 * text2.C: eliminates the needFullRow/display() stuff
5862 altogether, putting the logic in metrics/draw in the insets.
5864 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5866 * text2.C (redoParagraphInternal, redoParagraphs):
5867 * text.C (redoParagraph): add a call to updateRowPositions at the
5868 end of each 'metrics-like' call. Remove all others.
5869 (getRow): remove the 'y-computing' version.
5870 (getRowNearY): do not compute nor return the real y. Solve the
5871 'y < 0' problem and simplify.
5873 2003-08-22 Angus Leeming <leeming@lyx.org>
5875 * *.[Ch]: clean-up of licence and author blurbs.
5876 Also move config.h out of a few .h files and into a few .C files.
5878 2003-08-22 André Pönitz <poenitz@gmx.net>
5880 * lyxrow.[Ch]: add x_ and *fill_ members
5885 * text2.C: adjust/remove prepareToPrint() calls
5887 2003-08-22 André Pönitz <poenitz@gmx.net>
5889 * lyxrow.[Ch]: add end_ member
5891 * lyxrow_funcs.C: use LyXRow::end_
5893 * lyxtext.h (singleWidth): add LyXFont parameter
5896 * text2.C: adjust LyXText::singleWidth() calls
5898 * text.C (redoParagraph): simplify row breaking logic
5901 2003-08-19 André Pönitz <poenitz@gmx.net>
5903 * funcrequest.C: initialize button_ member
5906 * rowpainter.[Ch]: interface consolidation
5908 2003-08-18 André Pönitz <poenitz@gmx.net>
5911 * BufferView_pimpl.C:
5913 * paragraph_funcs.C:
5915 * text3.C: remove LyXScreen::draw() and fitCursor calls
5917 * BranchList.h: remove spurious semicolons
5919 * MenuBackend.C: fix branchlist related crash
5921 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5929 * bufferparams.[Ch]:
5933 * text3.C: implements the 'branch inset'
5934 idea. This allows the output of various versions of a document
5935 from a single source version, selectively outputing or suppressing
5936 output of parts of the text.
5937 This implementation contains a 'branch list editor' in a separate
5938 tab of the document settings dialog. Branches are user definable
5939 and have a "display colour" to distinguish them on-screen.
5941 ColorHandler was somewhat cleaned up.
5942 (1) make possible a dynamically growing LColor list by allowing
5943 the graphic context cache to grow along (vector);
5944 (2) eliminate an IMHO unnecessary step in colour allocation.
5946 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5948 * BufferView_pimpl.C: compile fix
5950 2003-08-15 André Pönitz <poenitz@gmx.net>
5952 * rowpainter.C: remove extra metrics calls
5954 * lyxtext.h: merge the two constructors into a single one,
5955 pass reference to owner's par list
5957 * BufferView_pimpl.C:
5961 2003-08-15 André Pönitz <poenitz@gmx.net>
5963 * lyxrow_funcs.[Ch]:
5966 * paragraph_funcs.C:
5971 * text_funcs.C: split LyXText::rowlist_ into individual
5972 Paragraph::rows_ chunks
5975 * BufferView_pimpl.[Ch]:
5978 * text3.C: remove toggleSelection()
5980 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5982 * bufferlist.C: beautify two alerts (shorter text of buttons)
5983 * buffer.C: Remove redundant ' ' from message
5985 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5986 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5987 rename VALIGN_CENTER to VALIGN_MIDDLE
5989 2003-08-11 André Pönitz <poenitz@gmx.net>
5991 * lyxtext.h (getPar):
5992 * text.C: new function
5994 2003-08-11 André Pönitz <poenitz@gmx.net>
5997 * tracer.[Ch]: remove unneeded files
5999 * InsetList.[Ch]: remove resizeInsetsLyXText()
6004 * text3.C: merge insertParagraphs() and appendParagraph()
6005 remove breakAgain(), update()
6007 * BufferView_pimpl.[Ch]:
6008 * bufferview_funcs.[Ch]:
6012 * tabular.C: adjust after text & InsetList changes.
6014 2003-08-08 André Pönitz <poenitz@gmx.net>
6016 * text.C (insertChar, backspace): replace rowlist fiddling
6017 with rebreak of full par
6020 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6021 checkParagraph, updateInset): removed
6023 2003-08-07 André Pönitz <poenitz@gmx.net>
6026 * text3.C: merge some LFUN handlers, remove dead code
6028 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6030 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6032 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6034 * text2.C (DEPM): fix part of bug 1255 and 1256
6036 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6038 * BufferView_pimpl.C (workAreaDispatch): change to use
6039 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6040 that are no mouse related.
6042 2003-08-05 André Pönitz <poenitz@gmx.net>
6045 * BufferView_pimpl.[Ch]:
6046 * bufferview_funcs.C:
6048 * text3.C: rip out "deep update"
6050 * textcursor.[Ch] (last_sel_cursor): remove unused member
6052 2003-08-04 André Pönitz <poenitz@gmx.net>
6055 * BufferView_pimpl.[Ch]:
6056 * ParagraphParameters.C:
6057 * bufferview_funcs.C:
6063 * text3.C: replace "complicated" BufferView::update(...) calls with
6066 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6068 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6070 * Makefile.am (lyx_SOURCES): add paper.h
6072 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6074 * Makefile.am: move things around so that both lyx-qt and
6075 lyx-xforms can be built (according to --with-frontend). Then lyx
6076 is a symbolic link to lyx-[firstfrontend]
6078 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6080 * Always use std::endl with lyxerr
6082 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6084 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6086 2003-08-01 André Pönitz <poenitz@gmx.net>
6089 * BufferView_pimpl.[Ch]:
6091 * text3.C: merge BufferView::repaint() and BufferView::update()
6093 2003-08-01 José Matos <jamatos@lyx.org>
6095 * buffer.[Ch]: file_format is no longer a buffer data element.
6097 2003-08-01 André Pönitz <poenitz@gmx.net>
6102 * text2.C: make redoParagraph more independent of current cursor
6104 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6106 * text2.C: remove unneeded members
6108 2003-07-30 André Pönitz <poenitz@gmx.net>
6110 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6112 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6113 create a single function...
6115 * paragraph_funcs.C (moveItem): ... here.
6118 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6120 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6122 * LColor.[Ch]: Add comment and greyedout logical colors.
6124 2003-07-30 André Pönitz <poenitz@gmx.net>
6126 * tabular.C: don't use Assert too heavily. This crashes where it
6129 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6131 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6132 is disabled (bug 1232)
6134 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6136 * factory.C: limited 'arg' scope
6138 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6140 * factory.C: fixed Note submenu issues
6142 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6144 * factory.C: submenu for Note/Comment/Greyedout
6146 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6149 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6151 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6154 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6155 greyedout. Patch provided by Jürgen Spitzmüller.
6157 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6159 * kbmap.C (read): fix error message when reading bind files
6161 2003-07-29 Angus Leeming <leeming@lyx.org>
6163 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6164 certainly does not do what it purports to do. I am doing it, and
6165 us, a favour by killing it.
6167 2003-07-28 José Matos <jamatos@lyx.org>
6169 * buffer.C (readBody, do_writeFile):
6170 * paragraph.C(readParagraph): \end_document replaces \the_end.
6172 2003-07-29 André Pönitz <poenitz@gmx.net>
6175 * BufferView_pimpl.[Ch]:
6179 * textcursor.[Ch]: remove toggleToggle & Co
6181 2003-07-28 José Matos <jamatos@fep.up.pt>
6183 * buffer.C (readParagraph):
6184 * params_func (readParToken, readParagraph):
6185 * paragraph.C (write): \layout -> \begin_layout.
6187 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6189 * lyxlex_pimpl.C (setFile): clean up slightly.
6191 * bufferparams.h: add compressed var
6193 * buffer_funcs.C (readFile): adjust for LyXLex change
6194 (newFile): ditto + simplify
6196 * buffer.C (writeFile): handle writing of compressed files
6198 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6199 Check if the file is compressed and set a bufferparm if so.
6201 * Makefile.am (lyx_LDADD): remove explicit -lz
6203 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6205 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6206 makeDocBookFile): put the real LyX version in the first line of
6210 * version.C.in: remove lyx_docversion
6212 * tabular.C (write_attribute): add a template-based version to
6213 write enums properly
6215 2003-07-28 André Pönitz <poenitz@gmx.net>
6220 * text3.C: use doubles again for x-coordinates. They are needed.
6222 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6224 * messages.C (getLocaleDir): use lyx_localedir()
6226 * lyxlex_pimpl.C (setFile): compress stuff
6228 * buffer.C (writeFile): add some compression stuff
6229 (do_writeFile): new func, dont call expliti close... will this
6232 * Makefile.am (lyx_LDADD): add -lz
6234 2003-07-28 José Matos <jamatos@fep.up.pt>
6236 * buffer.C: increment file format.
6237 * paragraph_funcs (readParagraph, readParToken):
6238 * paragraph.C (readParagraph): add \end_layout.
6240 2003-07-27 Angus Leeming <leeming@lyx.org>
6242 * Makefile.am: remove special casing for configure-time setting of
6243 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6245 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6246 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6248 2003-07-26 André Pönitz <poenitz@gmx.net>
6250 * paragraph_func.[Ch]:
6251 * paragraph.C (realizeFont): inline it whereever it is used
6256 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6259 2003-07-26 André Pönitz <poenitz@gmx.net>
6263 * text2.C: get rid of LyXText::need_break_row
6265 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6267 * toc.[Ch]: put namespace toc inside namespace lyx
6269 * MenuBackend.C (expandToc2): adjust for lyx::toc
6272 * lyxfunc.C (dispatch): adjust for lyx::find
6274 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6275 lyx::find instead. Reorganize a bit.
6276 (LyXReplace): rename to replace
6277 (LyXFind): rename to find
6279 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6282 2003-07-26 André Pönitz <poenitz@gmx.net>
6284 * text.C (setHeightOfRow): restrict scope of temporary variable
6286 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6287 code (never has been used?)
6289 2003-07-27 Asger Alstrup <alstrup@local>
6291 * text.C (fill): Optimise algorithm to exploit that we can reuse
6292 the LyXFont for many characters.
6293 (setHeightOfRow): Same thing.
6294 (rowBreakPoint): Same thing.
6296 2003-07-26 Asger Alstrup <alstrup@local>
6298 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6300 * text.C (singleWidth): Spurious font copying in hot-spot
6301 singleWidth avoided. Reorder tests for arabic for efficiency.
6303 * text.C (fill): handle empty paragraphs better.
6305 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6308 * encoding.h: add includes
6310 * lyxrc.C: remove reading of bind files
6312 * lyx_main.C (init): setup bindings and menus only if we have a
6315 * kbmap.C (read): new method. Do the actual reading of bind
6318 * converter.C (dvipdfm_options):
6321 (output): adapt PAPER_* enums.
6323 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6325 * bufferparams.h: remove paper-related enums from there
6327 * paper.h: New file. A trivial header file to hold paper-related
6328 enums. It should later expand to contain many paper-related
6331 * lyxrc.C: declare extern displayTranslator
6333 2003-07-27 José Matos <jamatos@fep.up.pt>
6335 * tabular.[Ch] (linuxdoc): add support for tables and figures
6338 2003-07-27 José Matos <jamatos@fep.up.pt>
6340 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6341 consistency in both functions.
6342 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6344 2003-07-26 Asger Alstrup <alstrup@local>
6346 * rowpainter.C (paintRows): Change algorithm to work directly on
6347 the insets rather than asking every character in the document
6348 whether its an inset.
6350 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6352 * buffer.C (openFileWrite): factorize some code
6354 2003-07-26 Angus Leeming <leeming@lyx.org>
6357 * lyx_main.[Ch]: replace occurances of system_tempdir with
6360 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6362 * rename Inset to InsetOld
6364 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6366 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6367 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6368 which I think is a bit clearer. EDIT is gone, since it was
6369 premature optimisation, and broken for mathed anyway.
6370 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6371 with cursor positioning in insets as well (math insets still do not
6372 work, but that's a different story anyway.) It mysteriously
6373 crashes sometimes with undo in the first paragraph, but I'm fairly
6374 confident that this is a compiler bug.
6376 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6378 * paragraph.C (Paragraph): adjust for new clone return type
6380 (copyIntoMinibuffer): ditto
6382 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6384 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6385 by not having a special case, and always doing a full rebreak of
6386 the document after undo.
6388 2003-07-23 Angus Leeming <leeming@lyx.org>
6390 * factory.C (createInset): InsetExternal::setParams now takes a
6393 2003-07-23 Angus Leeming <leeming@lyx.org>
6395 * factory.C (createInset): changed interface to the external and
6396 graphics mailers' string2params functions.
6398 2003-07-23 Angus Leeming <leeming@lyx.org>
6400 * factory.C (createInset): pass a
6401 Buffer const * parameter to InsetExternalMailer's string2params.
6403 2003-07-22 John Levon <levon@movementarian.org>
6405 * Thesaurus.h: include the right aiksaurus header
6407 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6409 * MenuBackend.C (expand): check menu shortcuts unconditionally
6411 2003-07-21 Angus Leeming <leeming@lyx.org>
6413 * factory.C (createInset): pass a
6414 buffer_path parameter to InsetGraphicsMailer's string2params.
6416 2003-07-21 Angus Leeming <leeming@lyx.org>
6418 * BufferView_pimpl.C (buffer):
6421 * lyxfunc.C (dispatch):
6422 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6423 rather than the grfx shortcut.
6425 2003-07-21 André Pönitz <poenitz@gmx.net>
6427 * rowpainter.C: remove unused variables
6430 * tabular_funcs.h: move to tabular.C
6431 * Makefile.am: adjust
6433 * tabular.[Ch]: basic optical cleaning
6435 * author.h: pass references, not values
6437 2003-07-18 André Pönitz <poenitz@gmx.net>
6445 * text3.C: two-phase drawing for InsetText and InsetTabular
6446 some float -> int changes.
6448 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6450 * lyx_main.C: fix the fix
6452 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6454 * lyx_main.C: fix a crash in batch mode if no files specified
6457 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6459 * format.[Ch] (papersize): moved to BufferParams
6460 * converter.[Ch] (dvips_options): moved to BufferParams
6461 (dvipdfm_options): moved to anon namespace
6462 * bufferparams.[Ch]: added above functions.
6464 2003-07-17 André Pönitz <poenitz@gmx.net>
6468 * text2.C: don't call inset->update() anymore
6470 * metricsinfo.[Ch]: add convenience constructor
6472 2003-07-16 André Pönitz <poenitz@gmx.net>
6477 * text2.C: replace the LyXCursor::irow_ member with
6478 on-demand computation of the value
6480 2003-07-16 John Levon <levon@movementarian.org>
6482 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6484 2003-07-15 André Pönitz <poenitz@gmx.net>
6487 * text2.C: remove no more needed refresh_row
6489 2003-07-15 André Pönitz <poenitz@gmx.net>
6494 * text3.C: refresh_status tristate -> need_update bool
6496 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6498 * lyxtext.h (init): remove reinit argument (act as if always true)
6499 * text2.C: adjust to that
6501 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6503 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6504 * text3.C: use it to delete selections in some cases
6505 (bugs 441, 673, 702, 954).
6507 2003-07-14 André Pönitz <poenitz@gmx.net>
6509 * rowpainter.[Ch]: reduce interface
6511 2003-07-14 André Pönitz <poenitz@gmx.net>
6513 * BufferView_pimpl.C:
6514 * text2.C: adjust after removing unused BufferView * argument
6516 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6518 * text2.C (init): fix a crash fired on resize
6520 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6522 * buffer.[Ch]: added new closing signal
6523 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6524 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6525 BufferView::Pimpl via the closing the signal
6527 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6529 * buffer.[Ch]: take out all bv-related from buffer
6531 * BufferView_pimpl.[Ch]: connect to new signals
6532 * CutAndPaste.C: removed useless asserts
6533 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6536 * lyxfunc.C: moved view-related funciontality from vc here
6537 * paragraph.C: removed outdated comments
6540 2003-07-10 André Pönitz <poenitz@gmx.net>
6542 * BufferView_pimpl.C:
6546 * text2.C: remove InsetText::InnerCache, clean up consequences
6548 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6550 * ispell.C: fix two typos in error messages
6552 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6554 * Extend Note inset to other forms of annotation like Comment
6555 and Greyedout. Right button click gives dialog.
6557 Files modified or added (+):
6561 * ControlNote.[Ch] +
6563 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6564 frontends/controllers
6568 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6570 * aspell.C: add missing namespace lyx::support
6572 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6574 * BufferView.[Ch] (newFile): Add
6575 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6576 * LaTeX.[Ch] (message): added this signal and use it
6577 * buffer.[Ch] (busy, message): added these signals and use them
6578 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6582 * importer.C: use buffer signals instead of direct bv calling
6583 * lyx_cb.[Ch] (ShowMessage): removed
6586 * paragraph_funcs.C:
6587 * text2.C: use buffer signals
6589 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6591 * introduce namespace lyx::graphics
6593 2003-07-02 André Pönitz <poenitz@gmx.net>
6595 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6597 2003-07-01 André Pönitz <poenitz@gmx.net>
6604 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6605 text*.C to text_func.C
6607 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6609 * introduce namespace lyx::support
6611 2003-06-30 André Pönitz <poenitz@gmx.net>
6616 * text.C: re-enable --with-included-string
6618 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6620 * textcursor.C: add <config.h>
6622 * text.C (getWord): remove const from word_location arg
6624 * lyxvc.C (getLogFile): fix const type order
6626 * lyxtext.h: remove const from word_location arg, add arg name
6628 * lyxlayout.h: currect type on labeltype.
6630 * importer.C: correct \file
6632 * converter.C (intToFormat): use std:: on ret val, ws changes
6634 * bufferlist.h: correct \file
6636 * buffer.C (makeLinuxDocFile): fix const type order
6637 (makeDocBookFile): ditto
6638 (fillWithBibKeys): use std:: on stdlib args.
6640 * CutAndPaste.C: fix authors.
6641 (availableSelections): use std:: on return vector
6643 2003-06-27 André Pönitz <poenitz@gmx.net>
6645 * BufferView_pimpl.C:
6646 * bufferview_funcs.C:
6654 * text3.C: remove LyXCursor::row_ member
6657 * text.C: rename fullRebreak() to partialRebreak() and implement
6658 a fullRebreak() that really bereks fully
6660 * textcursor.h: new struct for cursor-related data
6662 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6664 * lyx_main.C (LyX): get full path of document loaded on the
6667 2003-06-26 André Pönitz <poenitz@gmx.net>
6669 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6670 remove unused/broken operator>,<,>=.
6672 * text.C: remove only use of broken operator<= in an Assert().
6674 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6676 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6677 moved errorlist_.clear to showErrorList
6679 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6681 * converter.C (scanLog, runLaTeX):
6682 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6683 move the bv->showErrorList call to the callers
6684 * lyxfunc.C: i.e. here...
6686 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6687 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6688 namespace, the second to...
6689 * buffer_funcs (BufferFormat, parseErrors): added
6690 * errorlist.C (ErrorList(TeXErrors const &)): removed
6692 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6694 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6696 2003-06-24 "Garst R. Reese" <reese@isn.net>
6700 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6702 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6704 * version.C.in: change docversion to 1.4
6706 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6708 * buffer.C: fix a bug just introduced
6710 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6712 * buffer.[Ch]: added the parseError signal and use it, removed
6714 * BufferView.[Ch] (addError): moved to ...
6715 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6716 to the Buffer::parseError signal to catch (guess what) parse errors
6717 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6719 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6721 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6722 ability to create a buffer and to return an existing one from
6723 the list. Moved these functions to...
6724 * buffer_funcs.[Ch]: added
6725 * BufferView.[Ch] (loadLyXFile): added
6726 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6727 job removed from bufferlist::loadLyXFile.
6728 * buffer.C (setReadOnly): make it work without view
6729 (i.e added an if (users))
6731 2003-06-19 Angus Leeming <leeming@lyx.org>
6734 * LyXAction.C (init):
6735 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6736 with LFUN_DIALOG_SHOW <name> <data>.
6738 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6740 * CutAndPaste.C (availableSelections): small compilation fix for
6741 ancient (gcc 2.9x) compilers
6743 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6745 * text3.C (cursorNext): add tmp var
6747 * text2.C (updateCounters): for function calling out of for clause
6748 (replaceSelectionWithString): ditto
6749 (insertStringAsParagraphs): ditto
6750 (getColumnNearX): add tmp var
6751 (setCursorFromCoordinates): add tmp var
6752 (cursorDownParagraph): add tmp var
6753 (deleteEmptyParagraphMechanism): add tmp var
6755 * text.C (insertChar): add tmp var
6757 * rowpainter.C (paintDepthBar): add tmp var
6759 * CutAndPaste.C (availableSelections): potentially check all
6760 paragraphs in a cut to fill the shown strings.
6762 2003-06-18 André Pönitz <poenitz@gmx.net>
6764 * kbmap.[Ch]: use vector<> instead of list<>
6766 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6768 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6769 pasteSelection with index
6771 * text2.C (pasteSelection): modify, call pasteSelection with index
6773 * paragraph.C (asString): reimplement version with no interval to
6774 call the one with interval.
6776 * lyxtext.h: add index arg to pasteSelection
6778 * MenuBackend.C (MenuItem): handle PasteRecent
6779 (Menu::read::Menutags): add md_pasterecent
6781 (expandPasteRecent): new function
6784 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6786 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6788 (availableSelections): new function
6790 2003-06-17 Angus Leeming <leeming@lyx.org>
6792 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6794 2003-06-17 Angus Leeming <leeming@lyx.org>
6797 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6799 * lyxfunc.C (dispatch): invoke it.
6801 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6803 * iterators.C (operator++, ParPosition): reintroduce some
6804 const_cast for the benefit of older compilers.
6806 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6808 * text3.C (dispatch): do not modify clipboard when doing
6809 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6810 LFUN_DELETE_SKIP on a selection selection
6812 2003-06-16 André Pönitz <poenitz@gmx.net>
6818 * tabular.[Ch]: IU of clone() and getLabelList();
6820 2003-06-13 André Pönitz <poenitz@gmx.net>
6822 * tabular.h: compactification
6824 2003-06-12 André Pönitz <poenitz@gmx.net>
6828 * tabular_funcs.h: some renaming plus whitespace
6830 2003-06-12 André Pönitz <poenitz@gmx.net>
6833 * BufferView_pimpl.C:
6839 * toc.C: Return a Paragraph & for ParIterator::operator*()
6841 2003-06-11 John Levon <levon@movementarian.org>
6845 * ToolbarBackend.C: add "Toolbars" section and
6848 2003-06-10 Angus Leeming <leeming@lyx.org>
6851 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6853 * lyxfunc.C (dispatch): invoke it.
6855 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6857 * main.C: protect <ios> with HAVE_IOS
6858 (main): protect sync_with_stdio with HAVE_IOS
6860 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6862 * text2.C (cutSelection): adjust
6863 (pasteSelection): adjust
6865 * messages.C: handle get of empty string
6867 * main.C (main): use sync_with_stdio(false)
6869 * lyxfunc.C (dispatch): adjust
6871 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6872 (WriteAs): remove unneeded BufferView arg.
6874 * bufferparams.h: use correct types on papersize, papersize2 and
6877 * bufferparams.C (readToken): adjust for type
6878 (writeLaTeX): add missing cases to switch.
6880 * bufferlist.C (quitWriteBuffer): adjust
6883 * buffer.C (asciiParagraph): remove some commented code.
6885 * CutAndPaste.C: remove current_view extern variable.
6886 (cutSelection): add BufferParams arg.
6887 (eraseSelection): add BufferParams arg.
6888 (pasteSelection): add Buffer const & arg
6890 2003-06-07 John Levon <levon@movementarian.org>
6893 * paragraph_funcs.C:
6894 * paragraph_pimpl.C:
6898 * paragraph.C: allow InsetERT to freely space lines,
6899 and some consolidation of code
6901 2003-06-06 José Matos <jamatos@fep.up.pt>
6903 * buffer.C (makeDocBookFile): fix bug #821
6905 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6907 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6909 2003-06-04 Angus Leeming <leeming@lyx.org>
6911 * buffer.C: bump format to 224.
6913 2003-06-05 André Pönitz <poenitz@gmx.net>
6915 * text2.C (redoParagraphs): remove two const_cast<>
6917 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6919 * ParagraphList.h: remove last remnants of NO_STD_LIST
6921 2003-06-03 Angus Leeming <leeming@lyx.org>
6923 * factory.C (createInset): small change to the way InsetExternal's params
6926 2003-06-04 André Pönitz <poenitz@gmx.net>
6928 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6930 * paragraph_pimpl.h:
6931 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6933 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6935 * undo_funcs.C: make some simple cases of undo work again
6937 2003-06-03 John Levon <levon@movementarian.org>
6939 * ispell.C: HPUX doesn't have sys/select.h
6942 2003-06-03 John Levon <levon@movementarian.org>
6944 * CutAndPaste.C: update tabular and include inset
6949 * paragraph.C: remove owningBuffer(), don't pass Buffer
6952 * factory.C: insetGraphicsParams changed
6954 2003-06-02 John Levon <levon@movementarian.org>
6960 * text3.C: remove insetparent
6962 2003-06-02 John Levon <levon@movementarian.org>
6965 * buffer.C: fix inset_iterator.end(), move out of line
6968 2003-06-01 John Levon <levon@movementarian.org>
6970 * text3.C: use a proper cut/paste when doing inset
6971 insert (from Jürgen Spitzmüller)
6973 2003-06-01 John Levon <levon@movementarian.org>
6975 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6977 2003-05-30 André Pönitz <poenitz@gmx.net>
6979 * rowpainter.C: unify second drawing phase
6981 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6983 * trans_mgr.C: remove one case of current_view
6985 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6987 * paragraph_funcs.h: remove paragraph.h include
6989 * paragraph.h: delete NO_STD_LIST stuff
6991 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6993 * buffer.h: remove paragraph.h include
6995 * ParagraphList.C: delete file
6997 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6999 * toc.C (getTocList): adjust
7001 * paragraph_pimpl.C (validate): adjust
7003 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7005 * paragraph.C (Paragraph): adjust
7006 (getPositionOfInset): use const_iterator, adjust
7007 (bibitem): use const_iterator, adjust
7008 (setInsetOwner): adjust
7010 * iterators.C (operator++): adjust
7012 * InsetList.[Ch]: Replace selfmade iterator with standard
7013 vector::iterator also introduce const_iterator. Remove getPos,
7014 getInset and setInset from InsetTable. Adjust accordingly.
7016 * BufferView.C (lockInset): adjust
7017 (ChangeInsets): adjust
7019 * tabular.[Ch]: delete commented same_id functions
7021 2003-05-28 John Levon <levon@movementarian.org>
7023 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7025 2003-05-28 André Pönitz <poenitz@gmx.net>
7027 * metricsinfo.[Ch]: remove 'fullredraw' member
7029 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7031 * lyxtextclass.C (operator): remove caching.
7033 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7037 * text2.C (cursorBottom): adjust
7038 (setCounter): use ParagraphList::find, adjust
7040 * text.C (workWidth): use ParagraphList::find, adjust
7042 * lyxcursor.C (LyXCursor): adjust
7044 * buffer.C (inset_iterator): adjust
7046 * ParagraphList.h: make iterator(value_type) private, make
7047 ParagraphList a friend of iterator.
7049 * ParagraphList.C (find): new function
7051 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7053 2003-05-27 André Pönitz <poenitz@gmx.net>
7055 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7057 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7059 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7061 2003-05-26 John Levon <levon@movementarian.org>
7063 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7065 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7067 * remove same_id from function signatures, adjust.
7069 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7071 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7073 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7075 * paragraph.C (Paragraph): get rid of same_ids parameter
7077 * ParagraphList.C (insert): adjust
7080 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7082 * paragraph_funcs.C (breakParagraph): adjust
7083 (breakParagraphConservative): adjust
7085 * buffer.C (readParagraph): adjust
7087 * ParagraphList.C (insert): take a reference instead of a pointer
7090 * paragraph.[Ch] (id): new function
7092 * bufferlist.C (newFile): adjust
7094 * ParagraphList.C (ParagraphList): adjust
7096 (push_back): take a reference instead of a pointer.
7098 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7100 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7103 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7104 set else use old code.
7106 * ParagraphList.C: remove all NO_NEXT code and only compile this
7107 code of NO_STD_LIST is set.
7109 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7111 * BufferView_pimpl.C:
7121 * graphics/GraphicsConverter.C:
7122 * graphics/PreviewLoader.C: header adjustment
7124 2003-05-23 Angus Leeming <leeming@lyx.org>
7126 * LaTeXFeatures.[Ch] (useBabel): new method.
7127 * bufferparams.C (writeLaTeX): use it.
7129 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7131 * ParagraphList.h (set): remove unused function.
7133 2003-05-23 André Pönitz <poenitz@gmx.net>
7136 * BufferView_pimpl.C:
7140 * undo_funcs.C: setUndo reworked
7142 * iterators.[Ch]: add access to topmost ParagraphList
7144 * lyxtext.[Ch] (workWidth): add a const
7146 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7148 * texrow.[Ch] (increasePos): remove function
7149 * exporter.C (export): removed unused var and outdated comment
7151 2003-05-23 Angus Leeming <leeming@lyx.org>
7153 * latexrunparams.h: rename fragile as moving_arg.
7154 * paragraph.C (simpleTeXOnePar): ditto.
7155 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7157 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7159 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7161 (textUndoOrRedo): comment out a currently unused var.
7163 * paragraph.h (NO_NEXT): enable NO_NEXT
7165 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7167 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7169 * exporter.C (Export): adjust for removeAutoInsets removal.
7171 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7173 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7175 * BufferView.[Ch] (removeAutoInsets): delete function
7177 2003-05-22 Angus Leeming <leeming@lyx.org>
7179 * latexrunparams.h: add a free_spacing variable.
7181 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7182 to pass moving_arg, as the data is stored in runparams.fragile.
7184 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7185 to Inset::latexOptional or to simpleTeXOnePar.
7187 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7188 free_spacing arg to Inset::latexOptional.
7190 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7193 2003-05-22 Angus Leeming <leeming@lyx.org>
7195 * latexrunparams.h: add fragile and use_babel variables.
7197 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7198 * buffer.C (makeLaTeXFile): store this returned value in
7199 runparams.use_babel, thus passing it to the inset::latex methods.
7201 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7202 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7204 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7205 longer has a fragile arg, as it is stored in runparams.fragile.
7207 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7208 moving_arg parameter as the data is stored in runparams.fragile.
7210 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7211 a fragile parameter as the data is stored in runparams.fragile.
7213 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7215 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7217 2003-05-22 Angus Leeming <leeming@lyx.org>
7219 * latexrunparams.h: add a 'bool nice' which defaults to false.
7221 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7222 now encapsulated within runparams.
7224 * bufferlist.C (updateIncludedTeXfiles):
7225 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7227 2003-05-22 Angus Leeming <leeming@lyx.org>
7229 * latexrunparams.h: new file containing struct LatexRunParams.
7230 * Makefile.am: add new file.
7232 * LaTeX.[Ch] (c-tor, run):
7233 * buffer.[Ch] (makeLaTeXFile):
7234 * bufferlist.[Ch] (updateIncludedTeXfiles):
7235 * converter.C (convert, scanLog):
7236 * converter.[Ch] (runLaTeX):
7237 * exporter.C (Export):
7238 * paragraph.[Ch] (simpleTeXOnePar):
7239 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7240 * paragraph_funcs.[Ch] (latexParagraphs):
7241 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7242 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7243 pass around a LatexRunParams parameter.
7245 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7247 * paragraph.[Ch]: remove unused constructor
7249 * ParagraphList.C (erase): new function, taking two iterators
7251 2003-05-22 André Pönitz <poenitz@gmx.net>
7253 * undo_funcs.C: remove duplicated code
7255 * iterator.[Ch]: operator=
7257 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7259 * tabular.C (SetMultiColumn): ws changes
7261 * rowpainter.C (paintFirst): get rid of a ->previous
7263 * lyx_cb.C (getPossibleLabel): parlist simplification
7265 * BufferView.C (ChangeInsets): simplify slightly.
7267 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7269 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7270 * lfuns.h: new LFUN_SPACE
7271 * lyxfunc.C: protected space has a new lfun
7272 * paragraph_funcs.C: read new space insets
7274 * factory.C: handle new space insets
7276 2003-05-22 André Pönitz <poenitz@gmx.net>
7279 * BufferView_pimpl.C:
7282 * undo_funcs.C: return a ParIterator from getParFromID.
7284 * iterators.[Ch]: add two const's
7286 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7288 * toc.C (getTocList): adjust
7290 * iterators.[Ch]: rework for parlist
7292 * buffer.C (par_iterator_begin): adjust
7293 (par_iterator_end): adjust
7295 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7297 * BufferView.C (removeAutoInsets): adjust
7298 (ChangeInsets): adjust
7300 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7302 * text.C (top_y): fix bug 1110
7304 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7306 * errorlist.[Ch]: added
7309 * BufferView_pimpl.C:
7310 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7313 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7315 * Makefile.am: ensure that lyx is relinked upon changes to the
7316 various "convenience" libs.
7318 2003-05-20 Angus Leeming <leeming@lyx.org>
7320 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7321 files are compiled in alphabetical order again.
7323 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7325 2003-05-19 Angus Leeming <leeming@lyx.org>
7327 * gettext.[Ch]: remove "char const * _(char const *)".
7329 2003-05-19 André Pönitz <poenitz@gmx.net>
7331 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7340 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7342 2003-05-19 André Pönitz <poenitz@gmx.net>
7346 * lyxtextclass.[Ch]:
7348 * paragraph_funcs.[Ch]:
7350 * text3.C: more insetenv work
7352 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7354 * ParagraphParameters.C (params2string): small bug fixed
7356 2003-05-16 André Pönitz <poenitz@gmx.net>
7359 * bufferview_funcs.C: patch from Kornel Benko to prevent
7360 crash when _(...) is called twice in a statement
7362 2003-05-16 André Pönitz <poenitz@gmx.net>
7369 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7371 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7373 * lyx_main.C (init): remove spurious static_cast
7375 2003-05-14 André Pönitz <poenitz@gmx.net>
7377 * BufferView.C: fix format string
7379 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7381 * BufferView.[Ch] (insertErrors): removed
7382 * BufferView.[Ch] (showErrorList): added
7383 * buffer.C (runChkTeX):
7384 * converter.C (scanLog): call showErrorList instead of inserterrors
7386 2003-05-13 André Pönitz <poenitz@gmx.net>
7388 * BufferView_pimpl.C:
7390 * bufferview_func.C:
7397 * tabular_funcs.h: tostr() from its own header
7399 * ParagraphParameters.C:
7404 * text3.C: STRCONV()
7406 2003-05-12 André Pönitz <poenitz@gmx.net>
7409 * BufferView_pimpl.C:
7413 * ParagraphParameters.C:
7417 * bufferview_funcs.C:
7430 * paragraph_funcs.C:
7434 * text3.C: boost::format -> bformat all over the place
7437 2003-05-09 André Pönitz <poenitz@gmx.net>
7439 * LColor.[Ch]: Pimpl the #include <map> away
7441 2003-05-09 John Levon <levon@movementarian.org>
7443 * bufferlist.C: never remove emergency saves
7445 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7447 * Makefile.am: better lib building
7449 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7451 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7453 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7454 (simpleTeXSpecialChars): adjust
7455 (simpleTeXSpecialChars): adjust
7456 * paragraph.C (simpleTeXOnePar): adjust
7457 * buffer.C (makeLaTeXFile): adjust
7459 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7461 * text2.C (changeDepth): parlist cleanup
7462 (getColumnNearX): ditto
7464 * rowpainter.C (getLabelFont): parlist cleanup
7466 * bufferlist.C (newFile): parlist cleanup
7468 * CutAndPaste.C (eraseSelection): parlist cleanup
7470 * BufferView_pimpl.C (trackChanges): parlist cleanup
7473 * BufferView.C (lockInset): parlist cleanup.
7474 (ChangeInsets): ditto
7476 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7478 * CutAndPaste.h: Update file header.
7480 * CutAndPaste.C: Update file header.
7481 Store the parts cut out of the Document in a limited_stack.
7482 (copySelection): adjust
7483 (pasteSelection): new function, takes the index in the limited stack.
7484 (nrOfParagraphs): adjust
7485 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7486 simplify error inset insertion.
7487 (checkPastePossible): adjust
7489 2003-05-06 John Levon <levon@movementarian.org>
7491 * text2.C: don't cast wrap inset to float
7493 2003-05-05 André Pönitz <poenitz@gmx.net>
7496 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7498 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7499 few naked Paragraph *.
7501 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7503 * bufferparams.C: Output warning if a document with missing
7504 TeX document class is loaded
7505 * exporter.C: Disable TeX exports if the document class is missing
7508 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7509 isTeXClassAvailable()
7511 2003-05-03 John Levon <levon@movementarian.org>
7514 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7515 explicit cursor show/hide
7517 * BufferView_pimpl.h:
7518 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7519 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7521 * lyxfunc.C: hide cursor before dispatching.
7526 * text3.C: remove explicit cursor hides
7528 2003-05-02 André Pönitz <poenitz@gmx.net>
7530 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7533 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7536 * text2.C: tiny whitespace
7538 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7540 * undo_funcs.C: almost only ws changes.
7542 * ParagraphList.C (splice): just return if pl is empty.
7544 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7546 * ParagraphList.C (splice): new function.
7548 * CutAndPaste.C (pasteSelection): use it
7550 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7552 * CutAndPaste.C (pasteSelection): remove the last next and
7553 previous from this file.
7555 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7557 * CutAndPaste.C (pasteSelection): more clean up, user proper
7558 ParagraphList functions for pasteing.
7560 * ParagraphList.C (insert): new function, three arg insert
7562 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7564 * ParagraphList.C (insert): new function, three arg insert
7566 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7569 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7571 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7573 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7575 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7577 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7579 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7580 (copySelection): clean up a bit.
7581 (pasteSelection): use make_pair
7583 * ParagraphList.C (ParagraphList): implement copy constructor
7584 (operator=): implement, base on copy constructor.
7587 * paragraph.C (erase): return a bool
7589 * paragraph_pimpl.C (erasePos): remove function, move contents...
7590 (erase): ... here. Return a bool.
7591 (erase): call erase instead of erasePos.
7593 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7595 * ParagraphList.h: define PitPosPair
7596 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7597 ParagraphList, fix a bug on pasting multiple pars
7598 * text2.C: change interface to C&P
7600 2003-04-30 André Pönitz <poenitz@gmx.net>
7602 * undo_func.C: revert part of yesterday's patch 2
7604 2003-04-30 John Levon <levon@movementarian.org>
7606 * LColor.C: s/tabular/table/
7608 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7610 * text3.C (dispatch): do not convert iterator -> pointer
7611 * undo_funcs.C (setCursorParUndo): ditto
7612 * text_funcs.C (transposeChars): ditto
7614 * text2.C (setLayout): ws changes only
7616 * text.C (breakParagraph): do not convert iterator -> pointer
7618 (acceptChange): ditto
7619 (rejectChange): ditto
7624 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7627 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7629 * text3.C (gotoInset): YABG (yet another bad getChar)
7631 2003-04-29 André Pönitz <poenitz@gmx.net>
7633 * paragraph.h: make operator= private unimplemented as long as
7636 * ParagraphList.C: whitespace
7639 * paragraph_pimpl.[Ch]:
7640 * paragraph_funcs.C:
7642 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7645 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7647 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7649 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7650 * paragraph.[Ch] (erase):
7651 * paragraph_pimpl.[Ch] (erase): change return type and value
7652 * text2.C (cutSelection): some rework
7654 2003-04-28 John Levon <levon@movementarian.org>
7656 * bufferlist.C: changes for unsaved changes dialog
7658 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7660 * bufferlist.C (newFile): set language (messages_) for new
7663 * buffer.C (readFile): ws changes only.
7665 2003-04-28 André Pönitz <poenitz@gmx.net>
7670 * BufferView_pimpl.C:
7671 * BufferView.C: getParFromID related ParagraphList::iterator changes
7673 2003-04-28 André Pönitz <poenitz@gmx.net>
7675 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7678 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7680 * messages.C: remove one more localedir class variable.
7682 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7684 * messages.C (getLocaleDir): singleton generation function
7686 (Messages): add a default constructor.
7688 * main.C (main): do not setup localedir here, do not call
7691 * gettext.C (_): use it.
7692 (gettext_init): delete funciton
7694 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7696 * gettext.C (getLyXMessages): new singleton generating function.
7698 * buffer.C (updateDocLang): adjust
7700 * Makefile.am (messages.o): add target
7701 (main.o): remove target
7703 2003-04-27 John Levon <levon@movementarian.org>
7708 * lyxvc.C: specify cancel button in Alert::prompt
7710 2003-04-26 John Levon <levon@movementarian.org>
7715 * LyXAction.C: add LFUN_INSET_SETTINGS
7717 * lyxfunc.C: don't enable tabular-feature when there's
7718 just any locking inset
7720 2003-04-26 John Levon <levon@movementarian.org>
7722 * bufferlist.C: re-add Cancel to buffer close question
7724 * lyxfunc.C: fix import UI a bit
7726 2003-04-25 John Levon <levon@movementarian.org>
7728 * gettext.C: remove the broken asserts for now
7730 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7732 * messages.C: make case where setlocale cannot comply work better.
7734 * buffer.C (updateDocLang): new function
7735 (changeLanguage): use it
7738 * text2.C (setCounter): use B_ a bit.
7740 * lyxlayout.C (Read): be sure to trim the label strings.
7742 * messages.C (Messages): fix typo in comment
7744 * buffer.C (readFile): set message_ after file is loaded.
7745 (makeDocBookFile): remove double return
7746 (changeLanguage): reset message_ upon language change.
7747 (B_): new func, use this to get translated buffer strings.
7749 * main.C: add myself and Jean Marc as authors.
7751 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7753 * messages.[hC]: pimplify Messages, and three different pimpls to be
7754 used in different circumstances.
7756 * gettext.[Ch]: change for use with new message code.
7758 2003-04-24 André Pönitz <poenitz@gmx.net>
7760 * factory.C: support for eqref
7762 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7764 * messages.[Ch]: add missing char
7766 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7768 * messages.[Ch]: New files
7770 2003-04-18 John Levon <levon@movementarian.org>
7774 * BufferView_pimpl.C:
7778 * text2.C: remove layout-copy/paste (bug 778)
7780 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7782 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7784 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7786 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7787 if they succeed. Act accordingly.
7789 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7791 * text2.C (setCharFont): adjust
7792 (setCounter): adjust
7793 (insertStringAsLines): adjust
7795 * text.C (leftMargin): adjust
7796 (setHeightOfRow): adjust
7798 * rowpainter.C (paintFirst): adjust
7801 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7803 (isFirstInSequence): ditto
7804 (getEndLabel): ditto
7807 * paragraph.C (getParLanguage): comment out some hard stuff.
7809 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7811 (simpleDocBookOnePar): ditto
7812 (makeDocBookFile): use ParagraphList::iterator
7814 * CutAndPaste.C (pasteSelection): adjust
7816 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7818 * text2.C (getFont): adjust
7819 (getLayoutFont): adjust
7820 (getLabelFont): adjust
7822 * paragraph_funcs.C (TeXOnePar): adjust
7824 * buffer.C (simpleLinuxDocOnePar): adjust
7825 (simpleDocBookOnePar): adjust
7827 * CutAndPaste.C (pasteSelection): adjust
7829 * BufferView.C (getEncoding): adjust
7831 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7833 2003-04-16 John Levon <levon@movementarian.org>
7835 * lyxfind.C: use parlist stuff for search/changes
7837 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7839 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7841 * text2.C (deleteEmptyParagraphMechanism): adjust
7843 * text2.[Ch] (ownerParagraph): delete func (both of them
7845 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7847 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7849 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7851 * ParagraphList.C: prepare for NO_NEXT
7853 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7855 * text2.C (getFont): adjust
7856 (getLayoutFont): adjust
7857 (getLabelFont): adjust
7859 * paragraph.C (getFont): adjust
7860 (getLabelFont): adjust
7861 (getLayoutFont): adjust
7863 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7865 2003-04-15 John Levon <levon@movementarian.org>
7869 * lyx_main.C: handle Include in .ui files
7871 2003-04-15 John Levon <levon@movementarian.org>
7873 * MenuBackend.C: make the doc files length shorter
7876 * ToolbarBackend.C: handle toolbar placement flags,
7879 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7881 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7884 * paragraph_funcs.C (TeXOnePar): adjust
7886 * paragraph.C (getLabelFont): add outerfont arg, adjust
7887 (getLayoutFont): ditto
7888 (simpleTeXOnePar): adjust
7890 * paragraph_pimpl.C (realizeFont): delete func
7892 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7894 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7895 row argument, constify cur argument.
7897 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7899 * text2.C (getFont): adjust
7900 (getLayoutFont): adjust
7901 (getLabelFont): adjust
7903 * paragraph_funcs.C (TeXOnePar): adjust
7904 (outerFont): new func...
7905 (realizeFont): ...moved out from here, changed this to facilitate
7908 * paragraph.C (getFont): take outerfont as arg, adjust
7909 (simpleTeXOnePar): add outerfont arg, adjust
7911 * buffer.C (simpleLinuxDocOnePar): adjust
7912 (simpleDocBookOnePar): adjust
7914 * CutAndPaste.C (pasteSelection): adjust
7916 * BufferView.C (getEncoding): adjust
7918 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7920 * text2.C (setCharFont): adjust
7921 (setCounter): adjust
7923 * text.C (leftMargin): adjust
7924 (setHeightOfRow): adjust
7926 * rowpainter.C (paintFirst): adjust
7929 * paragraph_pimpl.C (realizeFont): adjust
7931 * paragraph.C (isFirstInSequence): move from here...
7932 * paragraph_funcs.C (isFirstInSequence): ...to here
7934 * paragraph.C (outerHook): move from here...
7935 * paragraph_funcs.C (outerHook): ...to here
7937 * paragraph.C (depthHook): move from here...
7938 * paragraph_funcs.C (depthHook): ...to here
7940 * paragraph.C (getEndLabel): move from here...
7941 * paragraph_funcs.C (getEndLabel): ...to here
7943 * text2.C (realizeFont): move from here...
7944 * paragraph_funcs.C (realizeFont): ...to here
7946 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7948 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7950 2003-04-14 Angus Leeming <leeming@lyx.org>
7952 * LColor.[Ch]: scrap LColor mathcursor.
7954 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7956 * lyxlex.[Ch] (text): delete function
7957 * trans.C (Load): adjust
7958 * paragraph_funcs.C (readParToken): adjust
7960 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7962 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7963 vector<char> instead of a char[].
7965 * lyxlex_pimpl.C (getString): adjust
7967 (lex): use getString
7971 * lyxlex.C (text): use pimpl_->getString()
7975 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7977 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7978 (makeFontEntriesLayoutSpecific): temp var for par.size()
7979 (setLayout): temp var for ownerParagraphs().end()
7980 (fullRebreak): temp var for rows().end()
7981 (selectionAsString): temp var for boost::next(startpit), realize
7982 that the while really is a regular for loop.
7983 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7984 setCursor in one place.
7985 (setParagraph): temp vr for ownerParagraphs().end()
7986 (updateCounters): make the while loop a for loop
7987 (cutSelection): temp var for ownerParagraphs().end()
7988 (updateInset): make the do {} while() a regular for loop
7989 (getCursorX): use temp vars
7990 (setCurrentFont): use temp vars
7991 (getColumnNearX): use temp vars
7993 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7995 * text.C (transformChar): use temp var for getChar
7996 (computeBidiTables): use temp var for row->par()
7997 (fill): move temp vars for row->par() and pit->layout() earlier in
7999 (labelFill): use temp var for row->par()
8000 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8001 asc and desc, realize that pit never changes and that firstpit is
8002 just a duplicate and not needed. Exchange rit->par() with pit in a
8004 (breakAgain): use a temp var for boost::next(rit)
8005 (breakAgainOneRow): ditto
8006 (breakParagraph): use a temp var for rows().begin()
8007 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8008 (cursorRightOneWord): use temp var for cursor.par() and
8009 cursor.pos(), remove usage of tmpcursor.
8010 (cursorLeftOneWord): use temp var for cursor.par() and
8011 cursor.pos() only set cur at end of function.
8013 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8015 * text.C, text2.C: exchange all usage of Paragraph::next with
8016 boost::next(ParagraphList::iterator)
8018 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8020 * text2.C (cursorTop): simplify implementation
8021 (cursorBottom): ditto
8022 (setParagraph): use ParagraphList::iterator
8023 (setCurrentFont): adjust
8024 (getColumnNearX): adjust
8025 (cursorRight): adjust
8026 (cursorLeft): remove usage of Paragraph::previous
8027 (cursorUpParagraph): ditto
8028 (deleteEmptyParagraphMechanism): slight cleanup
8030 * text.C (isBoundary): take a Paragraph const & instead of a
8032 (addressBreakPoint): ditto
8033 (leftMargin): remove usage of Paragraph::previous.
8034 (setHeightOfRow): ditto
8035 (cursorLeftOneWord): ditto
8036 (selectNextWordToSpellcheck): ditto
8039 (breakParagraph): remove one usage of Paragraph::next
8040 (redoParagraph): ditto
8041 (acceptChange): ditto
8042 (insertChar): adjust
8043 (rowBreakPoint): adjust
8045 * bufferview_funcs.C (toggleAndShow): adjust
8047 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8049 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8050 methods to access it.
8052 * text.C: Added updateRowPositions to compute all row positions.
8053 Make top_y and getRowNearY() to use the cached y position
8055 2003-04-11 John Levon <levon@movementarian.org>
8057 * text.C (rowBreakPoint): reintroduce the labelEnd
8058 checks, code copied from the row fill stuff. Deep voodoo.
8060 * text.C (fill): add a comment and debugging for the
8063 2003-04-11 John Levon <levon@movementarian.org>
8065 * text.C: make sure fullrow insets get wrapped to the next line,
8066 even when they're in a manual label
8068 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8070 * text2.C (insertParagraph): make it take ParagraphList::iterator
8072 (setLayout): make it return ParagraphList::iterator
8073 (redoParagraphs): ditto
8075 (checkParagraph): ditto
8077 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8079 * text2.C: adjust several funcs.
8080 (realizeFont): take a ParagraphList::iterator as arg.
8081 (getLayoutFont): ditto
8082 (getLabelFont): ditto
8083 (setCharFont): ditto
8085 * text.C: adjust several funcs.
8087 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8089 * text.C (selectNextWordToSpellcheck): don't accidentally
8092 2003-04-10 John Levon <levon@movementarian.org>
8094 * ToolbarBackend.C (getIcon): special handling for
8097 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8099 * text2.C (cursorRight): a getChar assert fixed
8101 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8103 * text2.C (getFont): change to take a ParagraphList::iterator
8104 instead of Paragraph*
8105 Adjust several functions.
8107 * text.C (transformChar): change to take a ParagraphList::iterator
8108 instead of Paragraph*
8109 (singleWidth): ditto
8110 Adjust several functions.
8112 * rowpainter.C: adjust several functions
8113 * rowpainter.h:store a ParagraphList::iterator and not a
8117 2003-04-09 John Levon <levon@movementarian.org>
8122 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8123 and the "help" bits as well
8125 2003-04-09 John Levon <levon@movementarian.org>
8128 * ToolbarBackend.C: allow multiple toolbars
8130 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8132 * undo_funcs.C (setCursorParUndo): adjust
8134 * text_funcs.C (transposeChars): adjust
8136 * text3.C (gotoNextInset): adjust
8139 * text2.C (setLayout): adjust
8140 (changeDepth): adjust
8142 (redoParagraphs): adjust
8143 (selectionAsString): adjust
8144 (setParagraph): adjust
8145 (insertInset): adjust
8146 (cutSelection): adjust
8147 (copySelection): adjust
8148 (pasteSelection): adjust
8149 (insertStringAsLines): adjust
8150 (updateInset): adjust
8151 (setCursor): change to take a ParagraphList::iterator parameter
8152 (setCursorIntern): change to take a ParagraphList::iterator parameter
8153 (setCurrentFont): adjust
8154 (cursorLeft): adjust
8155 (cursorRight): adjust
8156 (deleteEmptyParagraphMechanism): adjust
8158 * text.C (breakParagraph): adjust
8159 (insertChar): adjust
8160 (acceptChange): adjust
8161 (rejectChange): adjust
8162 (selectNextWordToSpellcheck): adjust
8163 (changeCase): adjust
8167 * lyxfind.C (SearchForward): adjust
8168 (SearchBackward): adjust
8169 (nextChange): adjust
8171 * lyxcursor.C (par): adjust
8173 * lyxcursor.h: store a ParagraphList::iterator instead of a
8176 * lyx_cb.C (getPossibleLabel): adjust
8178 * bufferview_funcs.C (toggleAndShow): adjust
8180 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8183 * BufferView.C (removeAutoInsets): adjust
8184 (lockedInsetStoreUndo): adjust
8186 2003-04-09 John Levon <levon@movementarian.org>
8188 * ToolbarBackend.C: try icon without argument
8189 if with argument fails
8191 2003-04-08 John Levon <levon@movementarian.org>
8194 * ToolbarBackend.C: add getIcon(), handle tooltip,
8195 and change from "Icon" to "Item".
8197 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8199 * BufferView.C (lockInset): another bad getchar crunched
8201 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8203 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8206 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8208 * lyxfind.C (searchForward, searchBackwards): bug 782
8210 2003-04-07 John Levon <levon@movementarian.org>
8212 * paragraph.C: remove dead comment
8214 * text.C: remove troublesome depth-fiddling code
8215 in leftMargin() and rightMargin() (bug 1017)
8217 * text.C: fix breaking of rows in nested lists
8220 * text2.C (updateCounters): fix up depth values
8223 2003-04-07 John Levon <levon@movementarian.org>
8225 * BufferView_pimpl.C: clear message when doc finishes resizing,
8226 and after a mouse event
8228 * lyxfunc.C: clear message after exiting inset
8230 2003-04-07 John Levon <levon@movementarian.org>
8232 * bufferview_funcs.C: show math status not outside
8233 status in the statusbar
8235 2003-04-07 John Levon <levon@movementarian.org>
8237 * lyxfunc.C: note status changed after a depth change
8239 2003-04-04 Angus Leeming <leeming@lyx.org>
8241 * LaTeX.h: move AuxInfo operator==, != out of line.
8242 Remove LaTeX virtual destructor; nothing derives from it.
8243 Move operator()() out of public area and rename it startscript().
8244 Change protected for private.
8246 2003-04-04 Angus Leeming <leeming@lyx.org>
8249 * text2.C: remove unneeded #includes.
8251 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8253 * text2.C (dEPM): fix the heigth of the next row
8255 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8257 * text.C: squashed an invalid getChar requester + some ws changes
8259 2003-04-03 John Levon <levon@movementarian.org>
8261 * bufferview_funcs.h:
8262 * bufferview_funcs.C:
8265 * text2.C: make getStatus work for the env depth lfuns
8267 2003-04-03 John Levon <levon@movementarian.org>
8269 * bufferview_funcs.h:
8270 * bufferview_funcs.C:
8273 * text2.C: parlistize decDepth(), by merging it with incDepth()
8275 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8277 * lyxrow.h: store a ParagraphList::iterator instead of a
8278 Paragraph* and adjust other class functions to suit.
8280 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8283 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8285 * text2.C (setCursor): do not anchor to cursor row for the time being
8287 2003-04-02 John Levon <levon@movementarian.org>
8294 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8296 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8298 * paragraph.h: make ParagraphList and ParagraphList::iterator
8299 friends of Paragraph.
8301 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8303 * ParagraphList.C: Use the private next_ and previous_ from
8306 2003-04-01 John Levon <levon@movementarian.org>
8310 * Makefile.am: rename, remove defaults gunk
8313 * MenuBackend.C: remove defaults gunk
8316 * Languages.C: remove defaults gunk
8319 * lyx_main.C: error out if files couldn't be found.
8321 2003-04-02 John Levon <levon@movementarian.org>
8323 * text2.C: make incDepth() use parlist
8325 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8327 * undo_funcs.C (firstUndoParagraph): adjust
8329 * text3.C (gotoInset): adjust
8330 (dispatch): adjust, and rewrite loop.
8332 * text2.C (init): adjust, and rewrite loop.
8333 (redoParagraphs): adjust
8334 (updateInset): adjust, and rewrite loop.
8335 (deleteEmptyParagraphMechanism): adjust
8337 * tabular.C (LyXTabular): adjust
8338 (SetMultiColumn): adjust
8341 * lyxtext.[Ch] (ownerParagraph): delete function
8342 (ownerParagraphs): new function returns a ParagraphList.
8344 * BufferView.C (removeAutoInsets): adjust
8345 (insertErrors): adjust
8346 (setCursorFromRow): adjust
8348 2003-04-01 Angus Leeming <leeming@lyx.org>
8350 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8353 2003-04-02 John Levon <levon@movementarian.org>
8359 * text_funcs.C: make transposeChars a free function
8361 * lyxrow_funcs.C: remove wrong comment
8363 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8366 * rowpainter.C: adjust
8371 * lyxrow_funcs. [Ch]: new files
8373 * lyxrow.[Ch]: remove next and previous pointers
8374 (next,previous): remove accessor functions
8375 (isParEnd): move to lyxrow_funcs
8376 (lastPos): move to lyxrow_funcs
8377 (nextRowIsAllInset): move to lyxrow_funcs
8378 (lastPrintablePos): move to lyxrow_funcs
8379 (numberOfSeparators): move to lyxrow_funcs
8380 (numberOfHfills): move to lyxrow_funcs
8381 (numberOfLabelHfills): move to lyxrow_funcs
8382 (hfillExpansion): move to lyxrow_funcs
8386 * bufferview_funcs.C (toggleAndShow): adjust
8388 * RowList.h: Remove class RowList from file leave just a
8391 * RowList.C: delete file
8393 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8396 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8398 * text3.C (cursorPrevious): adjust
8399 (cursorNext): adjust
8402 * text2.C (redoHeightOfParagraph): adjust
8403 (redoDrawingOfParagraph): adjust
8406 * text.C (breakParagraph): adjust
8407 (insertChar): adjust
8410 * rowpainter.C (RowPainter): adjust
8411 (leftMargin): simplify and adjust
8412 (most rowpainter functions): adjust.
8414 * rowpainter.h: store the row as RowList::iterator not as Row*
8416 * lyxcursor.C (row): taka RowList::iterator as arg
8419 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8422 2003-04-01 Angus Leeming <leeming@lyx.org>
8424 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8425 stuff like bool Bool.
8427 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8429 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8432 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8434 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8437 * lyxtext.h (rows): drop one version and leve a const variant that
8438 returns a RowList::iterator.
8440 2003-03-31 Angus Leeming <leeming@lyx.org>
8442 * text.C (fill): ensure that the signature is the same as that in the
8445 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8447 * text2.C (redoParagraphs): adjust
8448 (updateCounters): adjust
8449 (checkParagraph): adjust
8450 (getColumnNearX): adjust and reformat a bit.
8452 * text.C (top_y): adjust
8454 (leftMargin): adjust
8455 (prepareToPrint): adjust
8457 (getRowNearY): adjust
8459 * lyxtext.h: make rowlist_ mutable.
8461 * RowList.h: add const_iterator
8462 * RowList.C: adjust for RowList::const_iterator.
8464 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8467 2003-03-31 John Levon <levon@movementarian.org>
8470 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8472 * lyx_main.C: set default fonts from using lyx_gui funcs
8474 * exporter.C: pdf_mode moved from lyxrc
8477 * lyxfunc.C: changes from above
8479 2003-03-31 John Levon <levon@movementarian.org>
8481 * lyx_main.C: fix to the last fix
8483 2003-03-31 John Levon <levon@movementarian.org>
8485 * bufferlist.C: "Load original" -> "Load Original"
8491 * format.C: more Alert cleanups
8493 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8495 * text2.C (removeParagraph): make it take a RowList::iterator as
8497 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8498 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8500 * text.C (anchor_row): make it take a RowList::iterator as arg,
8502 (computeBidiTables): make it take a const reference to Row instead
8503 of Row pointer, adjust.
8504 (leftMargin): make it take a RowList::iterator as arg, adjust.
8505 (rowBreakPoint): adjust
8506 (breakAgainOneRow): make it take a RowList::iterator as arg,
8508 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8510 * bufferview_funcs.C (toggleAndShow): adjust
8512 2003-03-30 John Levon <levon@movementarian.org>
8516 * boost-inst.C: moved to support
8518 * several files: changes as a result
8520 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8522 * text2.C (LyXText): adjust.
8524 (removeRow): make it take a RowList::iterator as arg, adjust.
8525 (fullRebreak): adjust
8526 (deleteEmptyParagraphMechanism): adjust
8527 (clearPaint): adjust
8530 * text.C (top_y): adjust
8531 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8532 (breakAgain): make it take a RowList::iterator as arg, adjust.
8533 (breakParagraph): adjust
8534 (insertChar): adjust
8537 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8538 need_break_row, and refresh_row.
8540 * text3.C (dispatch): adjust
8542 * text2.C (checkParagraph): adjust
8544 (setCursorFromCoordinates): adjust
8546 * text.C (top_y): adjust
8548 (getRow): make it return a RowList::iterator, adjust
8549 (getRowNearY): make it return a RowList::iterator, adjust
8551 * text2.C (init): adjust
8552 (insertRow): remove function
8553 (insertParagraph): adjust
8554 (redoParagraphs): adjust
8555 (fullRebreak): adjust
8556 (updateCounters): adjust
8558 * text.C (top_y): rewrite to use RowList iterators.
8560 (setHeightOfRow): rewrite to sue RowList iterators.
8561 (appendParagraph): adjust
8562 (breakAgain): adjust
8563 (breakAgainOneRow): adjust
8564 (breakParagraph): adjust
8566 (getRowNearY): adjust, and remove commented code.
8568 * lyxtext.h (firstRow): delete function
8569 (lastRow): delete function
8570 (rows): new function (const and non-const versions.)
8571 (insertRow): delete function
8573 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8575 2003-03-29 John Levon <levon@movementarian.org>
8577 * BufferView_pimpl.C: always update scrollbar top
8578 because pasting text when we're anchored could mean we
8579 miss an update altogether
8581 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8583 * text2.C (init): use rowlist_.end() and not 0.
8584 (insertRow): change to take a RowList::iterator as arg, adjust
8586 (insertParagraph): change to take a RowList::iterator as arg,
8588 (redoParagraphs): remove some debug msgs.
8590 * text.C (appendParagraph): change to take a RowList::iterator
8591 arg, adjust for this.
8592 (breakAgain): add an assert
8593 (breakAgainOneRow): ditto
8595 2003-03-29 John Levon <levon@movementarian.org>
8597 * text2.C: do not clear selection after inc/decDepth
8600 2003-03-29 John Levon <levon@movementarian.org>
8603 * buffer.C: fix broken strerrors according to Lars
8605 2003-03-29 John Levon <levon@movementarian.org>
8607 * converters.C: more Alert cleanups
8609 2003-03-29 John Levon <levon@movementarian.org>
8611 * bufferview_funcs.C: remove pointless Alert
8613 * buffer.C: fix confusing error message when
8614 a template is chmoded 000
8616 2003-03-29 John Levon <levon@movementarian.org>
8620 * BufferView_pimpl.C: Alert fixes
8624 * tabular-old.C: remove unused table compat reading
8626 2003-03-29 John Levon <levon@movementarian.org>
8631 * lyx_cb.C: more Alert cleanups
8633 * lyxfunc.C: don't allow chktex if not latex document
8635 2003-03-29 John Levon <levon@movementarian.org>
8639 * buffer.C: warnings pushed down from support/,
8642 2003-03-29 John Levon <levon@movementarian.org>
8644 * lyxfunc.C: safety check for C-r (revert)
8646 2003-03-29 John Levon <levon@movementarian.org>
8649 * bufferlist.C: several UI fixes using Alert::prompt.
8650 Fix the pointless looping quit code. Fix stupid revert
8655 * lyx_cb.C: use Alert::prompt
8657 * lyx_main.C: remove a silly question
8659 * lyxfunc.C: remove a couple of silly questions,
8662 2003-03-28 John Levon <levon@movementarian.org>
8664 * text2.C: fix bug 974 (End on empty par)
8666 2003-03-28 John Levon <levon@movementarian.org>
8668 * BufferView_pimpl.C:
8670 * lfuns.h: remove do-nothing math greek lfuns
8672 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8674 * lyxgluelength.h (isValidGlueLength): add default arg on
8675 parameter 2. Remove default arg from friend in class.
8677 * lyxlength.h (isValidLength): add default arg on parameter 2.
8678 Remove default arg from friend in class.
8680 * text2.C (LyXText): adjust, initialize refresh_row.
8684 (insertParagraph): adjst
8685 (redoParagraphs): adjust
8686 (fullRebreak): adjust
8687 (updateCounters): adjust
8688 (deleteEmptyParagraphMechanism): first attempt at fixing a
8691 * text.C (top_y): adjust
8692 (setHeightOfRow): adjust
8694 (getRowNearY): adjust
8696 * lyxtext.h: include RowList.h
8697 (~LyXText): not needed anymore, deleted.
8698 (firstRow): modify for RowList
8699 (lastRow): new function
8700 Delete firstrow and lastrow class variables, add a Rowlist
8701 rowlist_ class variable.
8703 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8706 * RowList.C (insert): fix case where it == begin().
8708 2003-03-26 Angus Leeming <leeming@lyx.org>
8710 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8711 the thesaurus dialog.
8713 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8715 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8717 * RowList.[Ch]: new files
8719 * ParagraphList.C (erase): handle the case where it == begin
8722 2003-03-25 John Levon <levon@movementarian.org>
8726 * aspell.C: add new aspell support
8729 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8732 2003-03-25 Angus Leeming <leeming@lyx.org>
8735 * LyXAction.C (init): new LFUN_INSET_INSERT.
8737 * BufferView_pimpl.C (dispatch): split out part of the
8738 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8740 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8743 2003-03-25 Angus Leeming <leeming@lyx.org>
8745 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8747 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8750 * text3.C: remove useless row->height(0)
8752 2003-03-25 John Levon <levon@movementarian.org>
8756 * text3.C: rename the refreshing stuff to better names
8758 2003-03-24 John Levon <levon@movementarian.org>
8760 * BufferView_pimpl.h:
8761 * BufferView_pimpl.C: update layout choice on a mouse
8764 2003-03-23 John Levon <levon@movementarian.org>
8766 * Makefile.am: fix commandtags.h reference
8768 2003-03-22 John Levon <levon@movementarian.org>
8770 * BufferView_pimpl.C:
8775 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8777 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8780 * text.C: take the rtl methods out of line
8782 2003-03-21 André Pönitz <poenitz@gmx.net>
8784 * metricsinfo.[Ch]: new files containing structures to be passed around
8785 during the two-phase-drawing...
8787 2003-03-21 André Pönitz <poenitz@gmx.net>
8789 * lyxtextclass.C: read 'environment' tag.
8791 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8793 * text2.C (removeRow): fix bug 964
8795 2003-03-20 John Levon <levon@movementarian.org>
8799 * text2.C: paint cleanups. Inset::update() dropped font
8802 2003-03-19 John Levon <levon@movementarian.org>
8804 * lyxfunc.C: only fitcursor/markDirty if available()
8806 2003-03-19 John Levon <levon@movementarian.org>
8808 * commandtags.h: rename to ...
8810 * lfuns.h: ... this, and renumber / cleanup
8812 2003-03-19 John Levon <levon@movementarian.org>
8814 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8815 fit the cursor after an lfun
8819 * BufferView_pimpl.h:
8820 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8822 * LyXAction.C: layout-character should have ReadOnly
8824 * ParagraphParameters.C:
8826 * bufferview_funcs.C:
8833 * undo_funcs.C: changes from above
8835 2003-03-18 John Levon <levon@movementarian.org>
8837 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8838 remove it from update()
8840 * lyxfunc.C: update layout choice after an lfun
8842 * text3.C: remove extra updateLayoutChoice()s
8844 2003-03-18 John Levon <levon@movementarian.org>
8846 * text.C: top_y change means full repaint, fix
8847 a drawing bug with cursor movement
8849 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8853 * text2.C: anchor row on setCursor
8855 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8857 * lyxtext.h: remove almost all mutable keywords
8860 * text3.C: remove const keywords accordingly
8862 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8864 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8866 (TeXEnvironment): ditto
8869 2003-03-17 John Levon <levon@movementarian.org>
8871 * text.C (rowBreakPoint): remove attempt to fix displayed
8872 math insets inside a manual label
8874 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8876 * lyxtext.h: remove BufferView* as first arg from almost all class
8878 * other files: adjust.
8880 2003-03-17 John Levon <levon@movementarian.org>
8884 * text2.C: more paint cleanups
8886 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8889 * rowpainter.C: remove "smart" background painting code
8891 2003-03-16 John Levon <levon@movementarian.org>
8896 * text3.C: add helper functions for setting refresh_row/y
8898 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8900 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8901 newline inset which *can* get inserted in the pass_thru layouts.
8902 This is primarily for literate documents.
8904 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8906 * buffer.C: increment LYX_FORMAT to 223
8908 2003-03-14 André Pönitz <poenitz@gmx.net>
8910 * textclass.h: prepare for environment handling, ws changes
8911 * lyxlayout.C: read latexheader and latexfooter tags
8913 2003-03-14 John Levon <levon@movementarian.org>
8915 * text2.C: rewrite ::status() a bit
8917 2003-03-13 John Levon <levon@movementarian.org>
8919 * lyxtext.h: add some docs
8921 2003-03-13 John Levon <levon@movementarian.org>
8926 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8928 2003-03-13 John Levon <levon@movementarian.org>
8930 * text3.C: fix appendix redrawing
8932 2003-03-13 John Levon <levon@movementarian.org>
8934 * text.C (setHeightOfRow):
8936 * rowpainter.C: make appendix mark have the text
8937 "Appendix" so the user knows what it is
8940 * LColor.C: s/appendixline/appendix/ from above
8942 2003-03-13 John Levon <levon@movementarian.org>
8944 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8946 * text.C: fix a getChar(pos) bug properly
8948 2003-03-13 Angus Leeming <leeming@lyx.org>
8951 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8952 Probably only temporary. Let's see how things pan out.
8954 * BufferView.C (unlockInset):
8955 * BufferView_pimpl.C (fitCursor):
8956 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8958 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8959 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8961 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8962 new functions that convert ParagraphParameters to and from a string.
8964 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8965 BufferView::Pimpl's dispatch.
8966 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8968 2003-03-13 André Pönitz <poenitz@gmx.net>
8972 * factory.C: make it aware of InsetEnv
8974 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8976 * text2.C (setCursor): never ask for one past last
8977 (setCursor): add some debugging messages.
8979 * text.C (singleWidth): never ask for one past last
8980 (singleWidth): ditto
8982 (rightMargin): ditto
8983 (rowBreakPoint): ditto
8984 (setHeightOfRow): ditto
8985 (prepareToPrint): ditto
8987 * rowpainter.C (paintBackground): never ask for one past last
8988 (paintText): never ask for one past last
8990 * paragraph_pimpl.C (getChar): make the assert stricter, never
8991 allow the one past last pos to be taken
8993 * paragraph.C (getChar): ws changes only
8995 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8996 (numberOfSeparators): ditto
8997 (numberOfHfills): ditto
8999 2003-03-12 John Levon <levon@movementarian.org>
9005 * paragraph_funcs.C: fix per-buffer authorlists
9007 2003-03-12 John Levon <levon@movementarian.org>
9009 * text.C: fix newline in right address
9011 2003-03-12 Angus Leeming <leeming@lyx.org>
9013 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9014 duplicate those in LyXFunc::dispatch.
9018 * ToolbarDefaults.C:
9019 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9020 Add LFUN_FONTFREE_UPDATE.
9022 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9023 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9025 * bufferview_func.[Ch]: several new functions to facilliate
9026 transfer of data to and from the character dialog.
9028 2003-03-12 John Levon <levon@movementarian.org>
9033 * paragraph_funcs.C:
9034 * paragraph_pimpl.C:
9038 * text3.C: remove META_NEWLINE in favour of an inset
9041 * rowpainter.C: remove paintNewline (done by inset)
9043 2003-03-12 John Levon <levon@movementarian.org>
9045 * paragraph_pimpl.C: complain about bad getChar()s
9046 for a while at least
9048 2003-03-12 John Levon <levon@movementarian.org>
9051 * buffer.C: move paragraph read into a separate function,
9052 a little renaming to reflect that.
9055 * bufferparams.C: remove the author_ids map, not necessary now
9058 * factory.C: moved Buffer::readInset to here
9060 * paragraph_funcs.h:
9061 * paragraph_funcs.C: readParagraph free function moved from
9064 * tabular.C: name change
9066 2003-03-12 John Levon <levon@movementarian.org>
9069 * ParagraphParameters.C: move par params input to
9072 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9073 behave like a normal read from the stream wrt reading
9074 a line vs. a \\token
9076 2003-03-12 John Levon <levon@movementarian.org>
9079 * ParagraphParameters.h:
9080 * ParagraphParameters.C: move output code to a
9083 2003-03-12 John Levon <levon@movementarian.org>
9085 * BufferView.C (insertLyXFile):
9088 * tabular.C: use a parlist iterator for creating the
9091 2003-03-12 John Levon <levon@movementarian.org>
9093 * buffer.C: make current_change static local not
9096 2003-03-12 John Levon <levon@movementarian.org>
9098 * buffer.C: fix insertStringAsLines for change tracking
9100 2003-03-12 John Levon <levon@movementarian.org>
9107 * bufferparams.C: move author list into params. Rename some
9108 functions. Move the header reading into a separate token
9109 loop. Move the header token reading into BufferParams.
9111 2003-03-12 John Levon <levon@movementarian.org>
9113 * changes.C: put debug inside lyxerr.debugging() checks
9115 2003-03-11 André Pönitz <poenitz@gmx.net>
9117 * factory.C: make it aware of InsetHFill
9119 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9121 * buffer.C (latexParagraphs): move function from here...
9122 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9125 2003-03-10 Angus Leeming <leeming@lyx.org>
9127 * LyXAction.C (init): fix bug in poplating array with multiple entries
9128 with the same LFUN (spotted by JMarc).
9130 2003-03-10 John Levon <levon@movementarian.org>
9133 * text2.C: move getColumnNearX() near its
9136 2003-03-10 John Levon <levon@movementarian.org>
9138 * text.C: fix break before a minipage
9140 2003-03-10 John Levon <levon@movementarian.org>
9142 * text.C: fix the last commit
9144 2003-03-09 John Levon <levon@movementarian.org>
9148 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9149 bug 365 (don't break before insets unless needed). Don't
9150 return a value > last under any circumstances.
9152 2003-03-09 Angus Leeming <leeming@lyx.org>
9154 * BufferView_pimpl.C (trackChanges, dispatch): call
9155 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9157 2003-03-09 Angus Leeming <leeming@lyx.org>
9159 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9160 than Dialogs::showAboutlyx().
9162 2003-03-09 Angus Leeming <leeming@lyx.org>
9164 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9165 than Dialogs::showTabularCreate().
9167 2003-03-09 John Levon <levon@movementarian.org>
9171 * text2.C: 3rd arg to nextBreakPoint was always the same.
9174 2003-03-08 John Levon <levon@movementarian.org>
9181 * text2.C: Remove the "main" bit from the "main body"
9184 2003-03-08 John Levon <levon@movementarian.org>
9186 * text.C (leftMargin): The left margin of an empty
9187 manual label paragraph should not include the label width
9190 * text.C (prepareToPrint): don't attempt to measure hfills
9191 for empty manual label paragraphs - the answer should be 0
9193 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9195 * CutAndPaste.C: remove commented code and reindent.
9197 2003-03-08 John Levon <levon@movementarian.org>
9200 * lyxfunc.C: move reloadBuffer()
9203 * BufferView.C: to here
9205 * lyxvc.C: add comment
9208 * vc-backend.C: call bv->reload() to avoid
9209 getStatus() check on MENURELOAD
9211 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9213 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9214 to an old format .dep file.
9216 2003-03-07 Angus Leeming <leeming@lyx.org>
9218 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9219 when the LFUN_MOUSE_RELEASE should have been handled by
9220 inset->localDispatch.
9222 2003-03-07 Angus Leeming <leeming@lyx.org>
9224 * BufferView_pimpl.C (dispatch):
9225 * LyXAction.C (init):
9226 * ToolbarDefaults.C (init):
9228 * lyxfunc.C (getStatus):
9229 remove LFUN_INSET_GRAPHICS.
9231 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9233 2003-03-07 Angus Leeming <leeming@lyx.org>
9236 * LyXAction.C (init):
9237 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9239 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9242 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9244 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9245 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9247 2003-03-07 Angus Leeming <leeming@lyx.org>
9249 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9252 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9254 * ParagraphList.C (front): new function
9257 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9259 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9260 and top_row_offset_. removed var first_y.
9262 * text2.C (LyXText, removeRow):
9264 * BufferView_pimpl.C:
9265 use these methods instead of using first_y
9267 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9269 * text2.C (pasteSelection): adjust for checkPastePossible
9271 * CutAndPaste.C: remove Paragraph * buf and replace with
9272 ParagraphList paragraphs.
9273 (DeleteBuffer): delete
9274 (cutSelection): change the tc type to textclass_type
9275 (copySelection): change the tc type to textclass_type
9276 (copySelection): adjust for ParagraphList
9277 (pasteSelection): change the tc type to textclass_type
9278 (pasteSelection): adjust for Paragraphlist
9279 (nrOfParagraphs): simplify for ParagraphList
9280 (checkPastePossible): simplify for ParagraphList
9281 (checkPastePossible): remove unused arg
9283 * ParagraphList.C (insert): handle the case where there are no
9286 * CutAndPaste.h: make CutAndPaste a namespace.
9288 * text3.C (dispatch): adjust
9290 * text.C (breakParagraph): add a ParagraphList as arg
9292 * paragraph_funcs.C (breakParagraph): change to take a
9293 BufferParams and a ParagraphList as args.
9294 (breakParagraphConservative): ditto
9295 (mergeParagraph): ditto
9296 (TeXDeeper): add a ParagraphList arg
9297 (TeXEnvironment): ditto
9300 * buffer.C (readLyXformat2): adjust
9301 (insertStringAsLines): adjust
9302 (latexParagraphs): adjust
9304 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9305 (cutSelection): adjust
9306 (pasteSelection): adjust
9308 * BufferView_pimpl.C (insertInset): adjust
9310 2003-03-05 Angus Leeming <leeming@lyx.org>
9313 * LyXAction.C (init):
9314 * BufferView_pimpl.C (dispatch):
9315 * lyxfunc.C (getStatus):
9316 remove LFUN_CHILD_INSERT.
9318 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9320 2003-03-05 Angus Leeming <leeming@lyx.org>
9323 * LyXAction.C (init):
9324 * src/factory.C (createInset):
9325 * lyxfunc.C (getStatus):
9326 * text3.C (dispatch):
9327 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9329 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9331 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9333 * ParagraphList.C (insert): handle insert right before end()
9334 (erase): fix cases where it can be first or last paragraph.
9336 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9338 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9339 Paragraph::next and Paragraph::previous
9342 * text.C (breakParagraph): adjust
9344 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9345 BufferParams& as arg.
9346 (breakParagraph): use ParagraphList::insert
9347 (breakParagraphConservative): take a Buffer* instead of a
9348 BufferParams& as arg.
9349 (breakParagraphConservative): use ParagraphList::insert.
9351 * buffer.C (insertStringAsLines): un-const it
9352 (insertStringAsLines): adjust
9354 * ParagraphList.C (insert): new function
9356 * CutAndPaste.C (pasteSelection): adjust
9358 * text.C (backspace): adjust
9360 * tabular.C (SetMultiColumn): adjust
9362 * CutAndPaste.C (cutSelection): adjust
9363 (pasteSelection): adjust
9365 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9366 Buffer const * as arg
9368 * ParagraphList.C (erase): new function
9369 * paragraph_funcs.C (mergeParagraph): use it
9370 (mergeParagraph): make it take a Buffer* instead of a
9371 BufferParams* as arg
9373 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9375 (breakParagraphConservative): ditto
9377 * paragraph.h: remove the breakParagraph friend
9379 * paragraph.C (eraseIntern): new function
9380 (setChange): new function
9382 * paragraph_funcs.C (mergeParagraph): make it take a
9383 ParagraphList::iterator instead of a Paragraph *, adjust
9386 * paragraph.h: move an #endif so that the change tracking stuff
9387 also works in the NO_NEXT case.
9389 2003-03-04 Angus Leeming <leeming@lyx.org>
9392 * LyXAction.C: new LFUN_INSET_MODIFY.
9394 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9395 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9397 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9399 * several files: ws changes only
9401 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9402 (TeXEnvironment): ditto
9405 * buffer.C (makeLaTeXFile): adjust
9406 (latexParagraphs): make it take ParagraphList::iterator as args
9408 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9410 * buffer.C (latexParagraphs): adjust
9412 * paragraph.C (TeXOnePar): move function...
9413 (optArgInset): move function...
9414 (TeXEnvironment): move function...
9415 * paragraph_pimpl.C (TeXDeeper): move function...
9416 * paragraph_funcs.C: ...here
9418 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9420 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9422 * buffer.C (readInset): remove compability code for old Figure and
9425 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9427 * buffer.C: ws changes
9430 * BufferView_pimpl.C: ditto
9433 * bufferlist.h: ditto
9437 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9439 * converter.[Ch]: split into itself +
9442 * Makefile.am: += graph.[Ch] + format.[Ch]
9449 * lyxrc.C: added #include "format.h"
9451 2003-02-27 Angus Leeming <leeming@lyx.org>
9453 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9456 * factory.C (createInset): add "label" to the factory.
9458 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9459 string and do no more.
9461 2003-02-27 Angus Leeming <leeming@lyx.org>
9464 * LyXAction.C (init):
9465 * factory.C (createInset):
9466 * BufferView_pimpl.C (dispatch):
9467 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9469 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9471 * lyxfunc.C (dispatch):
9472 * text3.C (dispatch): pass name to params2string.
9474 2003-02-26 Angus Leeming <leeming@lyx.org>
9476 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9478 Rearrange the ~includes. Strip out the unnecessary ones.
9480 * factory.C (createInset): reformat.
9481 create new insets for the various LFUN_XYZ_APPLY lfuns.
9483 2003-02-26 John Levon <levon@movementarian.org>
9486 * lyxrow.C: add isParStart,isParEnd helpers
9488 * paragraph.h: make isInserted/DeletedText take refs
9490 * paragraph_funcs.h:
9491 * paragraph_funcs.C: remove #if 0'd code
9496 * text.C: use lyxrow helpers above.
9497 Move draw and paint routines to RowPainter.
9498 Make several methods use refs not pointers.
9499 Make backgroundColor() const.
9500 Add markChangeInDraw(), isInInset().
9501 Merge changeRegionCase into changeCase.
9502 Make workWidth() shouldn't-happen code into an Assert.
9505 * rowpainter.C: new class for painting a row.
9508 * vspace.C: make inPixels take a ref
9510 2003-02-26 Angus Leeming <leeming@lyx.org>
9512 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9515 2003-02-25 John Levon <levon@movementarian.org>
9517 * ispell.C: give the forked command a more accurate name
9519 2003-02-22 John Levon <levon@movementarian.org>
9522 * toc.C: make TocItem store an id not a Paragraph *
9525 2003-02-21 Angus Leeming <leeming@lyx.org>
9527 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9528 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9529 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9530 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9531 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9532 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9534 * BufferView_pimpl.C (dispatch):
9535 * LyXAction.C (init):
9536 * factory.C (createInset):
9537 * lyxfunc.C (getStatus, dispatch):
9538 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9540 2003-02-21 Angus Leeming <leeming@lyx.org>
9542 * BufferView_pimpl.C (MenuInsertLyXFile):
9543 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9544 * lyxfunc.C (menuNew, open, doImport):
9545 no longer pass a LyXView & to fileDlg.
9547 2003-02-21 Angus Leeming <leeming@lyx.org>
9549 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9550 * LyXAction.C: change, BIBKEY to BIBITEM.
9551 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9552 Change InsetBibKey to InsetBibitem.
9553 Change BIBKEY_CODE to BIBITEM_CODE.
9554 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9555 * factory.C: replace insetbib.h with insetbibitem.h.
9556 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9557 * paragraph.C: replace insetbib.h with insetbibitem.h.
9558 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9559 Change bibkey() to bibitem().
9560 * text.C: remove insetbib.h.
9561 * text2.C: replace insetbib.h with insetbibitem.h.
9562 change bibkey() to bibitem().
9563 * text3.C: remove insetbib.h.
9564 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9566 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9568 * lyxrc.C (output): enclose user email in quotes (in case there are
9571 2003-02-18 John Levon <levon@movementarian.org>
9573 * buffer.h: add std::
9575 2003-02-17 John Levon <levon@movementarian.org>
9581 * pspell.C: reworking. Especially in ispell, a large
9582 number of clean ups and bug fixes.
9584 * lyxfunc.C: fix revert to behave sensibly
9586 2003-02-17 André Pönitz <poenitz@gmx.net>
9589 * commandtags.h: new LFUN_INSERT_BIBKEY
9599 * paragraph_func.C: remove special bibkey handling
9601 2003-02-17 John Levon <levon@movementarian.org>
9603 * text.C (Delete): fix case where delete at the end of
9604 the very first paragraph would not merge the pars
9606 2003-02-17 John Levon <levon@movementarian.org>
9608 * lyxrow.C: fix lastPrintablePos()
9610 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9612 * bufferparams.C (writeLaTeX): add a std:here
9614 * buffer.C: and remove a using directive there
9616 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9618 * buffer.C (makeLaTeXFile): move the code that generates the
9621 * bufferparams.C (writeLaTeX): ... in this new method
9623 * LaTeXFeatures.C (getEncodingSet): make const
9624 (getLanguages): make const
9626 * MenuBackend.C (binding): returns the binding associated to this
9628 (add): sets the status of each item by calling getStatus. Adds
9630 (read): add support for OptSubMenu
9631 (expand): remove extra separator at the end of expanded menu
9633 2003-02-15 John Levon <levon@movementarian.org>
9636 * BufferView_pimpl.C:
9638 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9639 inset code that had no actual effect. Remove unneeded status
9642 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9644 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9647 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9649 * text.C (drawLengthMarker): also draw an arrow marker for
9650 symbolic lengths (medskip...)
9652 2003-02-14 John Levon <levon@movementarian.org>
9655 * tabular.C: better method names
9657 2003-02-14 John Levon <levon@movementarian.org>
9659 * BufferView_pimpl.C:
9664 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9665 it's a more accurate name. Remove some pointless uses.
9667 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9669 * text2.C (LyXText): change order of initilizers to shut off
9672 2003-02-14 John Levon <levon@movementarian.org>
9674 * buffer.C: use ParIterator for getParFromID()
9678 * paragraph_pimpl.h:
9679 * paragraph_pimpl.C: remove unused getParFromID()
9681 2003-02-14 John Levon <levon@movementarian.org>
9683 * buffer.C: remove some very old #if 0'd parse code
9685 2003-02-13 John Levon <levon@movementarian.org>
9689 * text2.C: move hfillExpansion(), numberOfSeparators(),
9690 rowLast(), rowLastPrintable(), numberofHfills(),
9691 numberOfLabelHfills() ...
9694 * lyxrow.C: ... to member functions here.
9699 * text.C: remove LyXText::beginningOfMainBody(), and call
9700 p->beginningOfMainBody() directly. Move the check for
9701 LABEL_MANUAL into the latter.
9708 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9714 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9715 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9717 2003-02-13 John Levon <levon@movementarian.org>
9719 * CutAndPaste.C: remove debug
9721 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9723 * paragraph.C (asString): remove two unused variables
9725 * lyxtextclass.C (readTitleType):
9727 (LyXTextClass): handle new members titletype_ and titlename_
9729 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9731 2003-02-09 John Levon <levon@movementarian.org>
9734 * buffer.C: replace hand-coded list with a map for the dep clean
9736 2003-02-08 John Levon <levon@movementarian.org>
9738 * LaTeX.C: consolidate code into showRunMessage() helper
9740 2003-02-08 John Levon <levon@movementarian.org>
9745 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9746 and pass the size in explicitly
9748 * BufferView_pimpl.h:
9749 * BufferView_pimpl.C:
9751 * BufferView.C: add getCurrentChange()
9753 * BufferView_pimpl.h:
9754 * BufferView_pimpl.C: handle change lfuns
9756 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9757 for changes. Mark pasted paragraphs as new.
9759 * support/lyxtime.h:
9760 * support/lyxtime.C:
9761 * DepTable.C: abstract time_t as lyx::time_type
9764 * LColor.C: add colours for new text, deleted text, changebars
9766 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9767 package use "usenames" option.
9771 * LyXAction.C: add change lfuns
9775 * author.C: author handling
9778 * buffer.C: add a per-buffer author list, with first entry as
9779 current author. Handle new .lyx tokens for change tracking. Output
9780 author list to .lyx file. Output dvipost stuff to .tex preamble.
9781 Bump lyx format to 222.
9784 * bufferlist.C: add setCurrentAuthor() to reset current author details
9788 * bufferparams.C: add param for tracking
9790 * bufferview_funcs.C: output change info in minibuffer
9794 * changes.C: add change-tracking structure
9797 * debug.C: add CHANGES debug flag
9800 * lyxfind.C: add code for finding the next change piece
9803 * lyxrc.C: add user_name and user_email
9806 * lyxrow.C: add a metric for the top of the text line
9809 * text.C: implement accept/rejectChange()
9812 * text.C: paint changebars. Paint new/deleted text in the chosen
9813 colours. Strike through deleted text.
9817 * paragraph_pimpl.h:
9818 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9819 in the current change to the insert functions. Rework erase to
9820 mark text as deleted, adding an eraseIntern() and a range-based
9821 erase(). Implement per-paragraph change lookup and
9824 * paragraph_funcs.C: Fixup paste for change tracking.
9826 * tabular.C: mark added row/columns as new.
9828 * text.C: fix rowLast() to never return -1. Don't allow
9829 spellchecking of deleted text. Track transpose changes. Don't
9830 allow paragraph break or merge where appropriate.
9832 * text2.C: leave cursor at end of selection after a cut.
9834 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9836 * text.C (getLengthMarkerHeight):
9837 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9838 visible on screen too.
9840 2003-02-07 John Levon <levon@movementarian.org>
9842 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9844 2003-02-05 Angus Leeming <leeming@lyx.org>
9846 * lyxserver.C (read_ready): revert my patch of 11 September last year
9847 as it sends PC cpu through the roof. Presumably this means that
9848 the lyxserver will no longer run on an Alpha...
9850 2003-01-30 Angus Leeming <leeming@lyx.org>
9852 * factory.C (createInset): create an InsetCommandParam of type "index"
9853 and use it to 'do the right thing'.
9855 * text2.C (getStringToIndex): ensure that cursor position is always
9856 reset to the reset_cursor position.
9858 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9860 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9863 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9867 * lyxfunc.C: Output messages with identical spelling, punctuation,
9870 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9872 * MenuBackend.C (expandFormats): List only viewable export formats
9875 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9878 * lyxfunc.C (getStatus): Make sure that formats other than
9879 "fax" can also be disabled
9881 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9883 * text3.C (dispatch): put the lfuns that insert insets in 3
9884 groups, and call doInsertInset with appropriate arguments.
9885 (doInsertInset): new function, that creates an inset and inserts
9886 it according to some boolean parameters.
9888 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9890 * buffer.C (readFile): remember to pass on 'par' when calling
9891 readFile recursively.
9893 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9895 * MenuBackend.C (expandFormats): add "..." to import formats.
9897 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9899 * paragraph.C (asString): Remove XForms RTL hacks.
9901 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9902 * buffer.C: fix typo
9904 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9906 * Makefile.am (LIBS): delete var
9907 (lyx_LDADD): add @LIBS@ here instead.
9909 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9911 * Clarify the meaning of "wheel mouse jump"
9913 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9915 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9918 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9920 * importer.C (Loaders): do not preallocate 3 elements in the
9921 vector, since one ends up with 6 elements otherwise
9923 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9925 * DepTable.C (write): write the file name as last element of the
9926 .dep file (because it may contain spaces)
9927 (read): read info in the right order
9929 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9931 * paragraph_pimpl.C (simpleTeXBlanks):
9932 (simpleTeXSpecialChars):
9933 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9935 * tabular.C (latex): add some missing case statements. Reindent.
9937 * MenuBackend.C (expandToc): remove unused variable.
9939 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9948 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9951 2003-01-05 John Levon <levon@movementarian.org>
9954 * BufferView.C: add getEncoding()
9957 * kbsequence.C: do not store last keypress
9960 * lyxfunc.C: store last keypress here instead. Pass encoding
9963 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9965 * lyx_main.C (init): remove annoying error message when following
9966 symbolic links (bug #780)
9968 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9970 * text.C (insertChar):
9971 * lyxrc.C (getDescription): remove extra spaces
9973 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9975 * lyxrc.C (getDescription): remove extra spaces
9977 2002-12-20 John Levon <levon@movementarian.org>
9979 * text3.C: hack fix for page up/down across tall rows
9981 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9983 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9986 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9988 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9989 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9990 thesaurus is not compiled in
9992 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9994 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9996 2002-12-16 Angus Leeming <leeming@lyx.org>
9999 * lyx_main.C (init): remove override_x_deadkeys stuff.
10001 2002-12-12 John Levon <levon@movementarian.org>
10003 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10004 insert. Only remove shift modifier under strict
10007 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10009 * MenuBackend.C (expandToc): fix crash.
10011 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10013 * MenuBackend.C (expandToc): gettext on float names.
10015 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10017 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10018 implement bool empty() [bug 490]
10020 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10022 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10024 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10026 * several files: ws changes
10028 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10030 * text2.C (setCounter): clean up a bit, use boost.format.
10031 (updateCounters): initialize par upon declaration.
10033 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10034 if the layout exists. We do not just store the layout any more.
10035 (SwitchLayoutsBetweenClasses): use boost.format
10037 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10039 * converter.C (convert): if from and to files are the same, use a
10040 temporary files as intermediary
10042 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10045 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10047 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10049 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10051 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10053 * tabular.C (asciiPrintCell): use string(size, char) instead of
10056 * sgml.C (openTag): fix order of arguments to string constructor
10059 * lyxfunc.C (dispatch): use boost.format
10061 * lots of files: change "c" -> 'c'
10063 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10065 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10067 2002-11-25 Angus Leeming <leeming@lyx.org>
10069 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10071 * lyx_main.C (init): compile fix.
10073 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10075 * lyx_cb.C (start): boost.formatify
10076 do not include <iostream>
10078 * lengthcommon.C: ws only
10080 * boost-inst.C,BoostFormat.h: add more explict instantations
10082 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10084 * lots of files: handle USE_BOOST_FORMAT
10086 2002-11-21 John Levon <levon@movementarian.org>
10088 * pspell.C: fix compile
10090 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10092 * lyxfunc.C (dispatch): use boost::format
10096 * lyxfont.C (stateText): use boost::format
10098 * lyx_main.C (LyX): use boost::format
10100 (queryUserLyXDir): ditto
10101 (readRcFile): ditto
10103 (typedef boost::function): use the recommened syntax.
10105 * importer.C (Import): use boost::format
10107 * debug.C (showLevel): use boost::format
10109 * converter.C (view): use boost::format
10114 * bufferview_funcs.C (currentState): use boost::format
10116 * bufferlist.C (emergencyWrite): use boost::format
10118 * buffer.C (readLyXformat2): use boost::format
10119 (parseSingleLyXformat2Token): ditto
10121 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10123 * LaTeX.C (run): use boost::format
10125 * Chktex.C (scanLogFile): use boost::format
10127 * BufferView_pimpl.C (savePosition): use boost::format
10128 (restorePosition): ditto
10129 (MenuInsertLyXFile): ditto
10131 * BoostFormat.h: help file for explicit instation.
10133 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10135 * tabular.C (latex): Support for block alignment in fixed width
10138 2002-11-17 John Levon <levon@movementarian.org>
10140 * BufferView_pimpl.C:
10142 * lyxfunc.C: split filedialog into open/save
10144 2002-11-08 Juergen Vigna <jug@sad.it>
10146 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10147 by my last patch (hopefully).
10149 2002-11-08 John Levon <levon@movementarian.org>
10158 * toc.C: ParConstIterator, and use it (from Lars)
10160 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10162 * lyxtextclass.[Ch]: revise and add doxygen comments
10164 2002-11-07 John Levon <levon@movementarian.org>
10166 * text.C: fix progress value for spellchecker
10168 * toc.C: fix navigate menu for insetwrap inside minipage
10170 * paragraph_funcs.C: added FIXME for suspect code
10172 2002-11-07 John Levon <levon@movementarian.org>
10174 * BufferView_pimpl.C: fix redrawing of insets
10177 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10179 * text2.C (updateCounters): fix bug 668
10181 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10183 * text3.C (dispatch): Do not make the buffer dirty when moving the
10186 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10188 * vc-backend.C: STRCONV
10189 (scanMaster): ditto
10191 * text2.C (setCounter): STRCONV
10193 * paragraph.C (asString): STRCONV
10195 * lyxlength.C (asString): STRCONV
10196 (asLatexString): ditto
10198 * lyxgluelength.C (asString): STRCONV
10199 (asLatexString): ditto
10201 * lyxfunc.C (dispatch): STRCONV
10204 * lyxfont.C (stateText): STRCONV
10206 * importer.C (Import): STRCONV
10208 * counters.C (labelItem): STRCONV
10209 (numberLabel): ditto
10210 (numberLabel): remove unused ostringstream o
10215 * bufferview_funcs.C (currentState): STRCONV
10217 * buffer.C (readFile): STRCONV
10218 (asciiParagraph): ditto
10219 (makeLaTeXFile): ditto
10221 * Spacing.C (writeEnvirBegin): STRCONV
10223 * LaTeXFeatures.C (getLanguages): STRCONV
10224 (getPackages): ditto
10226 (getBabelOptions): ditto
10227 (getTClassPreamble): ditto
10228 (getLyXSGMLEntities): ditto
10229 (getIncludedFiles): ditto
10233 (scanAuxFile): ditto
10236 * LString.h: add the STRCONV macros
10238 * BufferView_pimpl.C (savePosition): STRCONV
10239 (restorePosition): ditto
10240 (MenuInsertLyXFile): ditto
10242 * vc-backend.C (scanMaster): change from submatch[...] to
10245 * funcrequest.C: include config.h
10247 * factory.C: include config.h
10249 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10251 * box.C: include config.h
10253 * LaTeX.C (scanAuxFile): change from submatch[...] to
10257 2002-10-25 Angus Leeming <leeming@lyx.org>
10259 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10261 * ispell.[Ch] (setError): new method.
10262 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10263 Use setError() insetead of goto END.
10265 * lyx_cb.C (AutoSave): move out child process into new class
10268 2002-10-30 John Levon <levon@movementarian.org>
10270 * text3.C: make start appendix undoable
10272 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10274 * lyxlength.C (inPixels): Fix returned value.
10276 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10279 2002-10-24 Angus Leeming <leeming@lyx.org>
10281 * lyxgluelength.h: no need to forward declare BufferParams
10282 or BufferView, so don't.
10284 2002-10-21 John Levon <levon@movementarian.org>
10286 * BufferView.C: menuUndo ->undo, redo
10288 * BufferView.h: document, remove dead, make some methods private
10290 * paragraph_funcs.h:
10291 * paragraph_funcs.C:
10292 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10297 * sgml.C: move sgml open/close tag into sgml.C
10299 * bufferview_funcs.h: unused prototype
10302 * lyxfunc.C: remove unused
10305 * text.C: remove unused
10307 2002-10-21 John Levon <levon@movementarian.org>
10311 * BufferView_pimpl.h:
10312 * BufferView_pimpl.C: fix mouse wheel handling based on
10313 patch from Darren Freeman
10315 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10317 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10319 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10321 * lyxlength.C (inPixels): Fix hanfling of negative length.
10322 Fix LyXLength::MU case.
10324 2002-10-16 John Levon <levon@movementarian.org>
10326 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10328 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10330 * converter.C (view): add support for $$i (file name) and $$p
10331 (file path) for the viewer command. If $$i is not specified, then
10332 it is appended to the command (for compatibility with old syntax)
10334 2002-10-14 Juergen Vigna <jug@sad.it>
10336 * undo_funcs.C (textHandleUndo): alter the order in which the
10337 new undopar is added to the LyXText, as we have to set first
10338 the right prev/next and then add it as otherwise the rebuild of
10339 LyXText is not correct. Also reset the cursor to the right paragraph,
10340 with this IMO we could remove the hack in "redoParagraphs()".
10342 2002-10-09 Angus Leeming <leeming@lyx.org>
10344 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10345 to turn off an optimisation if a new inset is to be inserted.
10347 2002-10-11 André Pönitz <poenitz@gmx.net>
10349 * lyxtext.h: make some functions public to allow access
10350 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10352 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10354 * text3.C (dispatch): when changing layout, avoid an infinite loop
10357 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10359 * lyxrc.C (read): treat a viewer or converter command of "none" as
10362 * MenuBackend.C (expandFormats): for an update, also allow the
10363 formats that are not viewable
10365 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10366 script if it is newer than the lyxrc.defaults in user directory
10368 2002-10-07 André Pönitz <poenitz@gmx.net>
10370 * text.C: Vitaly Lipatov's small i18n fix
10372 2002-09-25 Angus Leeming <leeming@lyx.org>
10374 * ispell.h: doxygen fix.
10376 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10378 * buffer.h (readFile): Add a new argument to the method, to allow
10379 reading of old-format templates.
10381 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10383 * toc.C (getTocList): Get TOC from InsetWrap.
10385 2002-09-16 John Levon <levon@movementarian.org>
10387 * lyxfunc.C: check tabular for cut/copy too
10389 2002-09-12 John Levon <levon@movementarian.org>
10391 * LyXAction.C: tidy
10394 * factory.C: add header
10396 * paragraph_funcs.h:
10397 * paragraph_funcs.C: cleanup
10399 2002-09-11 John Levon <levon@movementarian.org>
10401 * PrinterParams.h: odd/even default to true
10403 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10405 * PrinterParams.h: update printer parameters for new xforms dialog
10407 2002-09-11 Angus Leeming <leeming@lyx.org>
10409 * lyxserver.C (read_ready): re-write to make it more transparent
10410 and to make it work in coherent fashion under Tru64 Unix.
10412 2002-09-11 André Pönitz <poenitz@gmx.net>
10416 * text3.C: implement LFUN_WORDSEL
10418 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10420 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10421 make floatlist_ a boost::shared_ptr<FloatList>
10423 * lyxtextclass.C: include FloatList.h
10424 (LyXTextClass): initialize floatlist_
10425 (TextClassTags): add TC_NOFLOAT
10426 (Read): match "nofloat" to TC_NOFLOAT and use it.
10427 (readFloat): modify call to floatlist_
10431 * FloatList.[Ch] (FloatList): remove commented out float
10433 (erase): new function
10435 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10437 * MenuBackend.C (expandToc): fix crash when there is no document
10440 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10442 * many files: Add insetwrap.
10444 2002-09-09 John Levon <levon@movementarian.org>
10446 * text2.C: remove confusing and awkward depth wraparound
10448 2002-09-09 John Levon <levon@movementarian.org>
10450 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10453 * buffer.C: remove getIncludeonlyList()
10456 * lyxfunc.C: remove headers
10458 2002-09-09 Juergen Vigna <jug@sad.it>
10460 * text.C (getColumnNearX): fix form Michael this is most
10461 probably a cut&paste bug.
10463 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10465 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10467 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10468 references, ws changes.
10470 * text2.C (init): update counters after init
10471 (insertParagraph): no need to set counter on idividual paragraphs.
10472 (setCounter): access the counters object in the textclass object
10473 on in the buffer object.
10474 (updateCounters): ditto
10476 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10477 shared_ptr<Counters> to avoid loading counters.h in all
10479 (LyXTextClass): initialize ctrs_
10480 (TextClassTags): add TC_COUNTER, and ...
10481 (Read): use it here.
10482 (CounterTags): new tags
10483 (readCounter): new function
10484 (counters): new funtion
10485 (defaultLayoutName): return a const reference
10487 * counters.C (Counters): remove contructor
10488 (newCounter): remove a couple of unneeded statements.
10489 (newCounter): simplify a bit.
10490 (numberLabel): some small formatting changes.
10492 * buffer.[Ch]: remove all traces of counters, move the Counters
10493 object to the LyXTextClass.
10495 2002-09-06 Alain Castera <castera@in2p3.fr>
10497 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10498 package to set the horizontal alignment on fixed width columns.
10501 * lyx_sty.h: added tabularnewline macro def.
10503 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10505 2002-09-06 John Levon <levon@movementarian.org>
10507 * LyXAction.C: tooltips for sub/superscript
10509 * MenuBackend.C: a bit more verbose
10511 * lyxfunc.C: tiny clean
10513 * undo_funcs.C: document undo_frozen
10515 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10517 * counters.C (Counters): add missing algorithm counter.
10519 * text2.C (setCounter): lookup the counter with layouts latexname
10520 instead of by section number.
10521 (setCounter): use a hackish way to lookup the correct enum
10523 a float name->type change
10524 reset enum couners with counter name directly instead of depth value.
10526 * counters.C (Counters): remove the push_backs, change to use the
10527 float type not the float name.
10528 (labelItem): remove unused string, float name->type change
10530 * counters.h: don't include vector, loose the enums and sects vectors
10532 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10534 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10535 (Read): add float->TC_FLOAT to textclassTags
10536 (Read): and handle it in the switch
10537 (readFloat): new function
10539 * FloatList.C (FloatList): comment out the hardcoded float
10542 * lyxlayout.h: ws change.
10544 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10546 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10548 2002-09-03 Angus Leeming <leeming@lyx.org>
10550 * BufferView_pimpl.h: qualified name is not allowed in member
10551 declaration: WorkArea & Pimpl::workarea() const;
10553 * factory.C: added using std::endl directive.
10555 * text3.C: added using std::find and std::vector directives.
10557 2002-08-29 André Pönitz <poenitz@gmx.net>
10560 * text2.C: remove unused member number_of_rows
10563 * BufferView2.C: remove file, move contents to...
10564 * BufferView.C: ... here
10566 * BufferView_pimpl.C:
10567 * factory.C: move more inset creation to factory
10569 * vspace.C: avoid direct usage of LyXText, ws changes
10572 don't provide direct access to WorkArea, use two simple
10573 acessors haveSelction() and workHeight() instead
10576 2002-08-29 John Levon <levon@movementarian.org>
10578 * BufferView_pimpl.C (dispatch): do not continue when
10581 2002-08-28 André Pönitz <poenitz@gmx.net>
10583 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10586 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10588 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10590 * buffer.C: increment LYX_FORMAT to 221
10592 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10593 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10595 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10597 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10599 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10601 * factory.C (createInset): use LyXTextClass::floats
10603 * MenuBackend.C (expandFloatListInsert):
10604 (expandFloatInsert):
10607 * text2.C (setCounter):
10609 * LaTeXFeatures.C (useFloat):
10610 (getFloatDefinitions):
10612 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10614 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10615 floatlist_, with accessor floats().
10617 * FloatList.h: remove global FloatList
10619 2002-08-26 André Pönitz <poenitz@gmx.net>
10621 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10625 * BufferView_pimpl.C:
10626 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10628 2002-08-25 John Levon <levon@movementarian.org>
10630 * LyXAction.C: fix margin note description
10632 2002-08-24 John Levon <levon@movementarian.org>
10636 * bufferview_funcs.C:
10638 * undo_funcs.C: cleanups
10640 * lyxfunc.C: disable CUT/COPY when no selection
10642 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10644 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10645 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10647 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10648 Add backward compatibility to "mono", "gray" and "no".
10650 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10652 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10653 (and file_format >= 200).
10655 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10657 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10659 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10661 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10663 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10665 * BufferView_pimpl.C:
10672 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10673 inset and code to make it work with the paragraph code. The inset
10674 can be anywhere in the paragraph, but will only do the expected
10675 thing in LaTeX if the layout file contains the parameter line
10677 (or more generally, a nonzero value) for that layout.
10679 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10681 * paragraph.h: remove the declaration of undefined counters class
10684 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10686 * text2.C (setCounter): fixed enumeration mis-count as reported by
10687 Dr. Richard Hawkins.
10689 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10691 * paragraph_funcs.h: remove some unneeded includes
10693 * text.C (backspace): pasteParagraph now in global scipe
10695 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10696 (pasteSelection): ditto
10698 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10699 * paragraph_funcs.C (pasteParagraph): ... here
10701 2002-08-20 André Pönitz <poenitz@gmx.net>
10703 * commandtags.h: new LFUNs for swapping/copying table row/colums
10706 * lyxfunc.C: support for new lfuns
10708 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10711 * buffer.[Ch]: remove NO_COMPABILITY stuff
10713 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10715 * boost.C (throw_exception): new file, with helper function for
10716 boost compiled without exceptions.
10721 * ParameterStruct.h:
10722 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10724 * bufferlist.C (emergencyWriteAll): use boost bind
10726 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10728 * text.C: include paragraph_funcs.h
10729 (breakParagraph): breakParagraph is now in global scope
10731 * paragraph_funcs.[Ch]: new files
10733 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10736 * buffer.C: include paragraph_funcs.h
10737 (insertStringAsLines): breakParagraph is now in global scope
10739 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10742 * CutAndPaste.C: include paragraph_funcs.h
10743 (cutSelection): breakParagraphConservative is now in global scope
10744 (pasteSelection): ditto
10746 * buffer.h: declare oprator== and operator!= for
10747 Buffer::inset_iterator
10749 * bufferlist.C (emergencyWrite): don't use fmt(...)
10751 * text3.C: add using std::endl
10753 * BufferView.C (moveCursorUpdate): remove default arg
10755 2002-08-20 André Pönitz <poenitz@gmx.net>
10757 * buffer.[Ch]: move inline functions to .C
10760 * BufferView_pimpl.C:
10762 * buffer.[Ch]: use improved inset_iterator
10765 * paragraph.[Ch]: write one paragraph at a time
10767 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10769 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10770 style if style is not specified.
10772 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10774 * text2.C (setCounter): when searching for right label for a
10775 caption, make sure to recurse to parent insets (so that a caption
10776 in a minipage in a figure float works) (bug #568)
10778 2002-08-20 André Pönitz <poenitz@gmx.net>
10780 * text3.C: new file for LyXText::dispatch() and helpers
10782 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10784 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10786 2002-08-19 André Pönitz <poenitz@gmx.net>
10789 * text.C: new LyXText::dispatch()
10791 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10793 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10795 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10797 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10800 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10802 * Makefile.am: use $(variables) instead of @substitutions@
10804 2002-08-15 André Pönitz <poenitz@gmx.net>
10807 * BufferView_pimpl.C: streamlining mathed <-> outer world
10811 * LyXAction.C: remove unused LFUN_MATH
10813 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10815 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10817 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10819 * paragraph.C (Paragraph): reformat a bit
10820 (cutIntoMinibuffer): use builtin InsetList function instad of
10824 * buffer.C: include boost/bind.hpp, add using std::for_each
10825 (writeFileAscii): use ParagraphList iterators
10826 (validate): use for_each for validate traversal of paragraphs
10827 (getBibkeyList): use ParagraphList iterators
10828 (resizeInsets): use for_each to resizeInsetsLyXText for all
10830 (getParFromID): use ParagraphList iterators
10832 * BufferView2.C (lockInset): use paragraph list and iterators
10834 2002-08-14 John Levon <levon@movementarian.org>
10836 * lyxserver.C: remove spurious xforms include
10838 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10840 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10842 2002-08-13 André Pönitz <poenitz@gmx.net>
10845 * lyxfunc.C: further cleaning
10847 2002-08-13 André Pönitz <poenitz@gmx.net>
10849 * funcrequest.h: new constructor
10851 * funcrequest.C: move stuff here from .h
10854 * BufferView_pimpl.C:
10857 * lyxfunc.C: subsequent changes
10859 * lyxfunc.h: new view() member function
10861 * lyxfunc.C: subsequent changes
10863 2002-08-13 Angus Leeming <leeming@lyx.org>
10866 * BufferView_pimpl.C:
10874 changes due to the changed LyXView interface that now returns references
10875 to member variables not pointers.
10877 2002-08-13 Angus Leeming <leeming@lyx.org>
10879 * WordLangTuple (word, lang_code): return references to strings,
10884 * lyxtext.h: forward-declare WordLangTuple.
10889 * text.C: #include "WordLangTuple.h".
10892 * text.C: (selectNextWordToSpellcheck): constify return type.
10894 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10900 * paragraph_pimpl.h:
10903 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10904 suggested by Angus.
10905 Made updateCounter always count from start of buffer, and removed
10906 second argument (par).
10907 Reverted floats number display to '#'. Perhaps I'll try again when the
10908 code base is sanitized a bit.
10910 2002-08-12 Angus Leeming <leeming@lyx.org>
10912 * buffer.[Ch] (getLabelList): constify.
10914 2002-08-07 André Pönitz <poenitz@gmx.net>
10916 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10918 * funcrequest.h: extension to keep mouse (x,y) position
10920 2002-08-12 Juergen Vigna <jug@sad.it>
10922 * BufferView2.C (insertErrors): forbid undo when inserting error
10925 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10927 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10929 * ParagraphList.[Ch]: new files
10931 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10933 * BufferView2.C (lockInset): ParagraphList changes
10936 * bufferlist.C: ditto
10940 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10942 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10943 unused class variable counter_,
10945 * paragraph.[Ch] (getFirstCounter): delete unused function
10947 * counters.C: include LAssert.h
10948 (reset): add a new function with no arg, change other version to
10949 not have def. arg and to not allow empty arg.
10951 * text2.C (setCounter): remove empty arg from call to Counters::reset
10953 2002-08-11 John Levon <levon@movementarian.org>
10955 * Makefile.am: add WordLangTuple.h
10957 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10959 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10960 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10962 * insets/insettext.C: InsetList changes
10964 * graphics/GraphicsSupport.C (operator()): InsetList changes
10966 * toc.C (getTocList): InsetList changes
10968 * paragraph_pimpl.[Ch]: InsetList changes
10970 * paragraph.[Ch]: InsetList changes
10972 * buffer.C (inset_iterator): InsetList changes
10973 (setParagraph): ditto
10974 * buffer.h (inset_iterator): ditto
10975 * iterators.C (operator++): ditto
10976 * iterators.h: ditto
10978 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10980 * InsetList.[Ch]: new files, most InsetList handling moved out of
10983 * BufferView2.C (removeAutoInsets): InsetList changes
10985 (ChangeInsets): ditto
10987 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10989 * paragraph_pimpl.h (empty): new function
10991 * paragraph.[Ch] (empty): new function
10993 * other files: use the new Paragraph::empty function
10995 2002-08-09 John Levon <levon@movementarian.org>
10997 * lyxtext.h: remove unused refresh_height
10999 2002-08-09 John Levon <levon@movementarian.org>
11006 * paragraph.C: move sgml char escaping out of paragraph
11009 * paragraph.C: remove id setter
11013 * paragraph_pimpl.C: remove dead tex_code_break_column
11015 * bufferview_funcs.C: small cleanup
11017 * lyxfunc.C: remove dead proto
11019 * lyxtext.h: make some stuff private. Remove some dead stuff.
11021 * lyxgluelength.C: make as[LyX]String() readable
11023 2002-08-08 John Levon <levon@movementarian.org>
11028 * ToolbarDefaults.C:
11031 * toc.C: lyxaction cleanup
11033 2002-08-08 John Levon <levon@movementarian.org>
11035 * BufferView2.C: small cleanup
11038 * lyxfind.C: move unnecessary header into the .C
11040 2002-08-08 John Levon <levon@movementarian.org>
11042 * funcrequest.h: just tedious nonsense
11045 * lyx_main.C: cleanups
11048 * vspace.C: remove dead header lyx_main.h
11050 2002-08-07 Angus Leeming <leeming@lyx.org>
11053 * paragraph_pimpl.h:
11054 Forward declare class Counters in paragraph.h by moving the ctrs member
11055 variable into Paragraph::Pimpl.
11056 (counters): new method, returning a reference to pimpl_->ctrs.
11058 * text2.C: ensuing changes.
11060 2002-08-07 John Levon <levon@movementarian.org>
11062 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11064 * BufferView_pimpl.C: announce X selection on double/triple
11067 * lyx_main.C: use correct bool in batch dispatch
11069 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11071 2002-08-07 André Pönitz <poenitz@gmx.net>
11073 * funcrequest.h: new class to wrap a kb_action and its argument
11076 * BufferView_pimpl[Ch]:
11080 * lyxrc.C: subsequent changes
11083 2002-08-07 John Levon <levon@movementarian.org>
11085 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11086 document options change.
11088 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11093 * makefile.am: move counters functionality over from
11094 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11096 2002-08-06 John Levon <levon@movementarian.org>
11098 * WordLangTuple.h: new file for word + language code tuple
11109 * BufferView2.C: use WordLangTuple
11112 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11114 2002-08-06 John Levon <levon@movementarian.org>
11116 * lyx_main.C: fix cmdline batch handling
11118 2002-08-06 André Pönitz <poenitz@gmx.net>
11120 * lyxrc.C: set default for show_banner to true
11122 2002-08-06 John Levon <levon@movementarian.org>
11124 * pspell.C: fix a crash, and allow new aspell to work
11126 2002-08-06 John Levon <levon@movementarian.org>
11129 * kbmap.C: small cleanup
11132 * vspace.C: add const
11134 2002-08-05 John Levon <levon@movementarian.org>
11136 * LyXAction.C: back to tabular-insert
11138 2002-08-04 John Levon <levon@movementarian.org>
11141 * BufferView.C: cosmetic change
11143 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11153 * BufferView2.C: purge all "Lyx" not "LyX" strings
11156 * lyxcursor.C: attempt to add some documentation
11161 * ToolbarDefaults.C:
11162 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11163 merge with LFUN_TABULAR_INSERT
11170 * pspell.C: split up i/pspell implementations into separate
11171 files, many cleanups
11173 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11175 * text2.C: some cleanup
11177 * lyxfunc.C: don't check for isp_command == "none" any more, it
11178 didn't make any sense
11180 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11185 * makefile.am: move counters functionality over
11186 from text2.C/paragraph.[Ch] to counters.[Ch], and
11188 2002-08-02 John Levon <levon@movementarian.org>
11190 * buffer.C: s/lyxconvert/lyx2lyx/
11192 2002-08-02 Angus Leeming <leeming@lyx.org>
11194 * lyxlex.C: revert John's change as it breaks reading of the user
11197 2002-08-02 Angus Leeming <leeming@lyx.org>
11199 * importer.C (Import):
11200 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11201 changes due to LyXView::view() now returning a boost::shared_ptr.
11203 2002-08-02 John Levon <levon@movementarian.org>
11205 * lyxlex.C: small cleanup
11207 2002-08-02 John Levon <levon@movementarian.org>
11209 * text2.C (status): small cleanup, no logic change
11211 2002-08-01 John Levon <levon@movementarian.org>
11214 * buffer.C (writeFile): don't output alerts, caller
11218 * lyx_cb.C: from above
11220 * lyxfunc.C: allow to open non-existent files
11222 2002-07-31 John Levon <levon@movementarian.org>
11224 * lyxserver.C: don't let incidental errors get
11227 2002-07-30 John Levon <levon@movementarian.org>
11229 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11231 2002-07-30 John Levon <levon@movementarian.org>
11234 * lyxserver.C: remove I/O callback too
11236 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11238 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11241 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11243 * many files: strip,frontStrip -> trim,ltrim,rtrim
11245 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11247 * PrinterParams.h: remove extern containsOnly, and include
11248 support/lstrings.h instead.
11250 * LaTeX.C (scanAuxFile): modify because of strip changes
11252 * buffer.C (makeLaTeXFile): ditto
11253 * bufferparams.C (writeFile): ditt
11254 * lyxfont.C (stateText): ditto
11255 * lyxserver.C (read_ready): ditto
11256 * vc-backend.C (scanMaster): ditto
11258 * BufferView_pimpl.h: ws changes
11260 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11262 2002-07-26 André Pönitz <poenitz@gmx.net>
11264 * kb_sequence.C: remove unnedred usings
11266 2002-07-26 Juergen Vigna <jug@sad.it>
11268 * lyxfind.C (LyXReplace): we have to check better if the returned
11269 text is not of theLockingInset()->getLockingInset().
11271 2002-07-25 Juergen Vigna <jug@sad.it>
11273 * lyxfind.C (LyXReplace): don't replace if we don't get the
11276 * undo_funcs.C (createUndo): remove debugging code.
11278 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11280 * buffer.C (parseSingleLyXformat2Token): Use default placement
11281 when reading old floats.
11283 * FloatList.C (FloatList): Change the default placement of figure
11284 and tables to "tbp".
11286 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11288 * MenuBackend.C: using std::max
11290 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11292 * MenuBackend.C (expandToc):
11293 (expandToc2): code moved from xforms menu frontend. It is now
11294 generic and TOCs are transparent to menu frontends.
11296 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11298 * toc.C (getTocList): protect against buf=0
11300 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11301 Menu as first parameter. Now, this calls itself recursively to
11302 expand a whole tree (this will be useful for TOC handling)
11303 (expandFloatInsert): remove 'wide' version of floats
11305 * MenuBackend.h (submenuname): returns the name of the submenu.
11306 (submenu): returns the submenu itself, provided it has been
11307 created by MenuBackend::expand
11309 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11311 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11312 insets which have noFontChange == true. (bug #172)
11314 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11316 * BufferView_pimpl.C: add connection objects and use them...
11319 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11321 * MenuBackend.C (expandLastfiles):
11324 (expandFloatListInsert):
11325 (expandFloatInsert):
11326 (expand): split expand in parts
11328 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11330 * lyx_gui.C: use lyx_gui::exit()
11332 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11334 * LyXAction.C: show the failing pseudo action
11336 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11338 * buffer.C (readFile): Run the lyxconvert script in order to read
11341 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11345 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11347 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11351 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11353 2002-07-22 Herbert Voss <voss@lyx.org>
11356 * lyxlength.[Ch]: add support for the vertical lengths
11358 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11360 * toc.[Ch]: std:: fixes
11362 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11364 * lyxrc.C: do not include lyx_main.h
11366 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11372 * BufferView2.C: include "lyxlex.h"
11375 * bufferparams.h: do not #include "lyxlex.h"
11377 * lyxtextclasslist.C (Add): remove method
11378 (classlist): renamed to classlist_
11380 * paragraph_pimpl.C:
11384 * bufferview_funcs.C:
11389 * toc.C (getTocList): use BufferParams::getLyXTextClass
11391 * toc.C (getTocList): use InsetFloat::addToToc
11393 * toc.[Ch]: new files, containing helper functions to handle table
11396 * lyxfunc.C (dispatch): no need to remove spaces around command
11398 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11399 first command of the sequence; it is not very clever, but I do not
11400 have a better idea, actually
11402 * LyXAction.C (LookupFunc): make sure to remove space at the
11403 beginning and end of the command
11405 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11407 * MenuBackend.C (getMenubar): new method: return the menubar of
11409 (read): treat differently reading of menu and menubar (in
11410 particular, the menubar has no name now)
11411 (Menu::menubar): remove
11413 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11416 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11418 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11419 a bibitem inset in a RTL paragraph.
11421 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11423 * paragraph_pimpl.C: constify
11425 * BufferView_pimpl.C:
11427 * lyxfunc.C: fix dispatch in a nicer way
11429 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11431 * lyxfunc.C (dispatch):
11432 * BufferView_pimpl.C:
11433 * BufferView_pimpl.h:
11435 * BufferView.h: rename Dispatch() to dispatch()
11437 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11439 * lyxlayout.C (Read): honor DependsOn tag
11441 * lyxlayout.[Ch] (depends_on): new method
11443 * version.C.in: update lyx_docversion
11445 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11447 * paragraph.C (validate): remove from here...
11448 * paragraph_pimpl.C (validate): ... and move here
11449 (isTextAt): make it const
11451 * buffer.C (getLists): ws cleanup
11453 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11455 * language.C (read): Use iso8859-1 encoding in latex_lang
11456 (this prevents LyX from crashing when using iso10646-1 encoding).
11458 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11460 * text2.C (toggleInset): if cursor is inside an inset, close the
11461 inset and leave cursor _after_ it
11463 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11465 * lyxfunc.C: move minibuffer completion handling out of here
11467 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11469 * BufferView_pimpl.C:
11470 * LaTeX.C: fix dispatch calls
11472 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11474 * text.C (drawChars): Fix Arabic text rendering.
11476 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11480 * lyxfunc.C: remove message-push/pop
11484 * lyxfunc.C: rationalise some code by removing verboseDispatch
11485 in favour of a bool argument to dispatch()
11487 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11489 * lyx_main.C (init): make sure to read symlinks as absolute paths
11491 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11494 * lyxfunc.C: no need for commandshortcut to be a member
11496 2002-07-15 André Pönitz <poenitz@gmx.net>
11498 * converter.C: add support for $$s (scripts from lib/scripts dir)
11499 * lyx_main.C: white space
11501 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11505 * lyxrc.C: remove second exit confirmation
11507 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11512 * BufferView_pimpl.h:
11513 * BufferView_pimpl.C:
11514 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11516 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11518 * MenuBackend.C (expand): add numeric shortcuts to document menu
11520 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11522 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11524 * lyxfont.C (setLyXFamily):
11531 * buffer.C (asciiParagraph): use ascii_lowercase
11533 2002-07-15 Mike Fabian <mfabian@suse.de>
11535 * lyxlex_pimpl.C (search_kw):
11536 * lyxlex.C (getLongString):
11537 * converter.h (operator<):
11538 * converter.C (operator<):
11539 * buffer.C (parseSingleLyXformat2Token):
11541 * ToolbarDefaults.C (read):
11542 * MenuBackend.C (checkShortcuts):
11544 * LColor.C (getFromGUIName):
11545 (getFromLyXName): use the compare_ascii_no_case instead of
11546 compare_no_case, because in turkish, 'i' is not the lowercase
11547 version of 'I', and thus turkish locale breaks parsing of tags.
11549 2002-07-16 Angus Leeming <leeming@lyx.org>
11551 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11552 now takes a Buffer const & argument.
11554 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11556 * BufferView.C (resize): check there's a buffer to resize
11558 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11560 * lyxfunc.C: remove dead code
11563 * lyxserver.C: use lyx_guii::set_read_callback
11565 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11567 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11568 an inset in a RTL paragraph.
11570 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11572 * lyxfunc.C: repaint after a font size update
11574 2002-07-15 André Pönitz <poenitz@gmx.net>
11576 * lyxlength.C: inBP should be able to return negative values
11578 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11580 * lyxfunc.C: use lyx_gui::update_fonts()
11582 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11584 * lyxfunc.C: use lyx_gui::update_color()
11586 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11592 * lyxrc.C: remove file->new asks for name option, and let
11593 buffer-new take an argument
11595 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11597 * BufferView_pimpl.C: remove unneeded extra repaint()
11599 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11601 * LyXAction.C: allow command-sequence with NoBuffer
11603 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11605 2002-07-10 Angus Leeming <leeming@lyx.org>
11607 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11609 2002-07-09 Angus Leeming <leeming@lyx.org>
11611 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11613 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11615 * lengthcommon.h: whitespace
11617 * lyxfunc.C: update scrollbar after goto paragraph
11619 * lyxtext.h: factor out page break drawing, and fix it so
11620 page break/added space paints as selected nicely
11622 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11624 * BufferView_pimpl.C: add FIXMEs, clean up a little
11626 2002-07-09 André Pönitz <poenitz@gmx.net>
11628 * lyxfont.[Ch]: support for wasy symbols
11630 2002-07-08 André Pönitz <poenitz@gmx.net>
11632 * BufferView_pimpl.C: apply John's patch for #93.
11634 2002-07-05 Angus Leeming <leeming@lyx.org>
11636 * BufferView_pimpl.C (buffer): generate previews if desired.
11638 * LColor.h: add "preview" to the color enum.
11640 * LColor.C (LColor): add a corresponding entry to the items array.
11642 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11645 2002-07-05 Angus Leeming <leeming@lyx.org>
11647 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11648 The body of the code is now in the method that is passed an ostream &
11649 rather than a file name.
11650 Pass an additional only_preamble parameter, useful for the forthcoming
11653 2002-07-03 André Pönitz <poenitz@gmx.net>
11655 * lyxfunc.C: simplify getStatus() a bit for math stuff
11657 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11659 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11661 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11663 * text.C (changeRegionCase): do not change case of all the
11664 document when region ends at paragraph end (bug #461)
11666 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11668 * paragraph.C (startTeXParParams):
11669 (endTeXParParams): add \protect when necessary
11671 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11673 * BufferView_pimpl.C (workAreaExpose): remove warning
11675 2002-06-27 Angus Leeming <leeming@lyx.org>
11677 * Makefile.am: add lyxlayout_ptr_fwd.h.
11679 2002-06-26 André Pönitz <poenitz@gmx.net>
11681 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11683 2002-06-25 Angus Leeming <leeming@lyx.org>
11685 * lyxfunc.C (dispatch): Comment out the call to
11686 grfx::GCache::changeDisplay. The method no longer exists now that the
11687 pixmap generation part of the graphics loader has been moved into
11690 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11692 * text2.C: layout as layout
11694 * text.C: layout as layout
11696 * tabular.C (OldFormatRead): layout as layout
11698 * paragraph_pimpl.C (TeXDeeper): layout as layout
11699 (realizeFont): layout as layout
11701 * paragraph.C (writeFile): layout as layout
11702 (validate): layout as layout
11703 (getFont): layout as layout
11704 (getLabelFont): layout as layout
11705 (getLayoutFont): layout as layout
11706 (breakParagraph): layout as layout
11707 (stripLeadingSpaces): layout as layout
11708 (getEndLabel): layout as layout
11709 (getMaxDepthAfter): layout as layout
11710 (applyLayout): layout as layout
11711 (TeXOnePar): layout as layout
11712 (simpleTeXOnePar): layout as layout
11713 (TeXEnvironment): layout as layout
11714 (layout): layout as layout
11715 (layout): layout as layout
11717 * lyxtextclass.C (compare_name): new functor to work with
11718 shared_ptr, layout as layout
11719 (Read): layout as layout
11720 (hasLayout): layout as layout
11721 (operator): layout as layout
11722 (delete_layout): layout as layout
11723 (defaultLayout): layout as layout
11725 * lyxlayout_ptr_fwd.h: new file
11727 * lyxlayout.C (Read): layout as layout
11729 * lyx_cb.C (MenuInsertLabel): layout as layout
11731 * bufferlist.C (newFile): layout as layout
11733 * buffer.C (readLyXformat2): layout as layout
11734 (parseSingleLyXformat2Token): layout as layout
11735 (insertStringAsLines): layout as layout
11736 (asciiParagraph): layout as layout
11737 (latexParagraphs): layout as layout
11738 (makeLinuxDocFile): layout as layout
11739 (simpleLinuxDocOnePar): layout as layout
11740 (makeDocBookFile): layout as layout
11741 (simpleDocBookOnePar): layout as layout
11742 (getLists): layout as layout
11744 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11746 * CutAndPaste.C (cutSelection): layout as layout
11747 (pasteSelection): layout as layout
11748 (SwitchLayoutsBetweenClasses): layout as layout
11750 * BufferView_pimpl.C (Dispatch): layout as layout
11751 (smartQuote): layout as layout
11753 * BufferView2.C (unlockInset): layout as layout
11755 2002-06-24 André Pönitz <poenitz@gmx.net>
11757 * lyxfunc.C: fix #487
11759 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11763 * lyxfunc.C: remove display_shortcuts, show_banner
11765 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11767 * Buffer_pimpl.C: oops, update on resize
11769 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11776 * BufferView.C: use repaint()
11778 * BufferView_pimpl.h:
11779 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11780 as it's a clearer description. Remove superfluous
11783 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11785 * text.C: fix bug 488. Not ideal, but getting
11786 getWord() to work properly for the insets that
11787 matter is more difficult ...
11789 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11791 * BufferView_pimpl.C:
11794 * lyxfunc.C: remove the six million index lyxfuncs to just
11795 one, and DTRT (bug 458)
11797 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11801 * BufferView_pimpl.h:
11802 * BufferView_pimpl.C: clean up resize() stuff,
11803 and unnecessary updateScreen()s
11805 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11809 * BufferView_pimpl.h:
11810 * BufferView_pimpl.C:
11813 * minibuffer.C: remove focus management of workarea,
11814 not needed. Use screen's greyOut()
11816 2002-06-17 Herbert Voss <voss@lyx.org>
11818 * converter.C: (convert) do not post a message, when converting
11819 fails, let the calling function decide what to do in this case
11821 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11823 * lyxfunc.C: tidy up a little
11825 2002-06-16 <alstrup@diku.dk>
11827 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11828 Got rid of FORMS_H_LOCATION include. Now we are
11831 2002-06-15 LyX Development team <lyx@rilke>
11833 * buffer.[Ch] (sgmlOpenTag):
11834 (sgmlCloseTag): Added support for avoiding pernicious mixed
11835 content. Return number of lines written.
11837 (makeLinuxDocFile):
11838 (makeDocBookFile): Fixed calls to sgml*Tag.
11839 Simple white space clean.
11841 (simpleDocBookOnePar): Simple white space clean.
11843 * tabular.[Ch] (docBook): Renamed to docbook and got another
11844 argument to related with the pernicious mixed content.
11846 (docbookRow): Fixed calls for docbook inset method.
11848 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11850 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11851 so it's X11 independent.
11855 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11857 2002-06-15 Lyx Development team <lyx@electronia>
11859 * intl.h: Renamed getTrans to getTransManager.
11861 2002-06-14 Angus Leeming <leeming@lyx.org>
11863 * Makefile.am: nuke forgotten stl_string_fwd.h.
11865 2002-06-12 Angus Leeming <leeming@lyx.org>
11867 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11869 2002-06-13 Angus Leeming <leeming@lyx.org>
11872 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11874 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11876 * kbmap.C (getiso): add support for cyrillic and greek
11878 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11882 * BufferView_pimpl.h:
11883 * BufferView_pimpl.C: move bogus scrolling logic
11886 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11889 * BufferView_pimpl.C: view->resize() change
11891 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11893 * BufferView_pimpl.C: topCursorVisible
11896 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11900 * lyx_gui.C: move to frontends/
11904 * lyx_main.C: changes from above
11906 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11913 * lyx_main.C: minor tidy
11915 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11917 * BufferView_pimpl.h:
11918 * BufferView_pimpl.C:
11920 * BufferView.C: make painter() const,
11923 * BufferView2.C: use screen() accessor
11926 * lyx_main.C: some minor cleanup
11928 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11930 * BufferView_pimpl.h:
11931 * BufferView_pimpl.C: remove enter/leaveView,
11934 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11939 * BufferView_pimpl.h:
11940 * BufferView_pimpl.C: only construct screen once,
11943 * lyxrc.C: remove pointless comment
11945 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11948 * BufferView.C: remove active() and belowMouse()
11950 * BufferView_pimpl.h:
11951 * BufferView_pimpl.C: use workarea() not workarea_,
11952 and make it use a scoped_ptr instead
11954 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11956 * lyx_gui.C: add debug message on BadWindow
11958 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11960 * sp_spell.C: fdopen is not part of the C++ standard.
11962 * paragraph.C (InsetIterator): use >= instead of ==
11964 2002-06-07 Angus Leeming <leeming@lyx.org>
11966 Fixes needed to compile with Compaq cxx 6.5.
11967 * BufferView_pimpl.C:
11974 * lyxtextclasslist.C:
11979 all c-library variables have been moved into namespace std. Wrap
11980 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11985 Add a using std::abs declaration.
11987 * kbmap.h (modifier_pair):
11988 * paragraph.h (InsetTable, InsetList):
11989 * lyxfont.h (FontBits):
11990 type definition made public.
11992 * bufferlist.C (emergencyWriteAll): the compiler complains that
11993 there is more than one possible lyx::class_fun template to choose from.
11994 I re-named the void specialisation as lyx::void_class_fun.
11996 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11998 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11999 the compiler is is unable to find tostr in write_attribute.
12001 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12003 * buffer.C (sgmlError): hide #warning
12005 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12007 * xtl/*: get rid of xtl, which is not in use anyway
12009 * LyXAction.C (init):
12010 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12011 were unimplemented xtl experimentation
12013 2002-06-04 André Pönitz <poenitz@gmx.net>
12015 * lyxfunc.C: disable array operation on simple formulae
12017 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12019 * converter.C: constify a bit
12021 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12023 * lyx_gui.C: check xforms version correctly
12025 2002-04-30 Herbert Voss <voss@lyx.org>
12027 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12030 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12032 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12033 attempt to register it with a VCS)
12035 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12037 * lyx_main.C (init): honor variables LYX_DIR_13x and
12040 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12044 * lyx_main.C: fix a crash on bad command line,
12045 and give a useful exit status on error
12047 * lyxfunc.C (doImport): allow -i lyx to work
12049 2002-03-30 André Pönitz <poenitz@gmx.net>
12051 * lyxfunc.C: mathed font changes
12053 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12068 * trans_mgr.h: srcdocs, and some minor cleanups
12070 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12072 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12073 call getFont all the time)
12075 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12077 * switch from SigC signals to boost::signals
12079 2002-05-29 André Pönitz <poenitz@gmx.net>
12081 * paragraph_pimpl.C (getChar): don't call size() too often...
12083 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12085 * paragraph_pimpl.C (insertChar): do not try to update tables when
12086 appending (pos == size())
12088 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12089 in order to reduce drastically the number of comparisons needed to
12090 parse a large document
12092 2002-05-29 André Pönitz <poenitz@gmx.net>
12098 * textclasslist.[Ch]:
12099 * sp_ispell.h: whitespace change
12101 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12103 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12104 lyxaction directly now.
12106 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12110 * lyxvc.C: remove unused headers
12112 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12119 * undo_funcs.C: some cleanups. Use shared_ptr
12120 and a template for the undo stacks.
12122 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12124 * BufferView_pimpl.h:
12125 * BufferView_pimpl.C:
12132 * text2.C: use key_state/mouse_state
12134 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12136 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12139 * chset.C: change include order
12140 (loadFile): use boost regex and get rid of LRegex and LSubstring
12142 * Makefile.am (BOOST_LIBS): new variable
12143 (lyx_LDADD): use it
12145 * LaTeX.C: change include order.
12146 (scanAuxFile): use boost regex and get rid of LRegex and
12150 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12155 * FontInfo.C: moved to frontends/xforms/
12158 * FontLoader.C: moved into frontends for GUIIzation
12163 * lyxfunc.C: changes from above
12165 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12167 * LColor.C: remove spurious X include
12169 * BufferView_pimpl.C:
12174 * text2.C: move font metrics to frontends/
12176 2002-05-24 Juergen Vigna <jug@sad.it>
12178 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12179 setting the undo_cursor.
12181 * ParagraphParameters.h: include local includes first.
12183 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12185 * BufferView_pimpl.C:
12186 * BufferView_pimpl.h:
12190 * screen.C: move WorkArea into frontends/
12196 * BufferView2.C: move LyXScreen into frontends/
12200 * lyx_gui.C: move lyxlookup into frontends/xforms/
12202 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12205 * BufferView_pimpl.C:
12215 * bufferview_funcs.C:
12228 * vc-backend.C: move LyX/XFormsView into frontends/
12230 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12242 * text2.C: move Painter to frontends/
12244 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12246 * buffer.C: comment out some some code that depend upon lyx_format
12249 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12250 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12252 * buffer.h (NO_COMPABILITY): turn off compability
12254 * ColorHandler.C: include scoped_array.hpp
12256 * font.C: Use more specific smart_ptr header.
12259 * ShareContainer.h: ditto
12260 * lyx_main.h: ditto
12262 * FontInfo.h: ditto
12263 * BufferView_pimpl.h: ditto
12264 * ColorHandler.h: ditto
12266 * kbmap.C (defkey): change call to shared_ptr::reset
12268 2002-05-21 Juergen Vigna <jug@sad.it>
12270 * buffer.C (insertErtContents): fix to insert ert asis if it is
12271 non empty. Skip it completely if it contains only whitespaces.
12273 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12275 * BufferView_pimpl.C:
12276 * BufferView2.C: clear selection on paste (bug 393)
12278 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12280 * DepTable.C: include ctime
12282 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12284 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12286 2002-05-14 Juergen Vigna <jug@sad.it>
12288 * text.C (breakParagraph): fixed function to honor the keepempty
12289 layout in the right maner and also to permit the right breaking
12290 algorithm on empty or non empyt keepempty paragraphs.
12292 * paragraph.C (breakParagraph): we have to check also if the par
12293 is really empty (!size()) for isempty otherwise we do the wrong
12296 2002-05-10 Juergen Vigna <jug@sad.it>
12298 * buffer.[Ch] : The following are only changes to the ert
12299 compatibility read reading old LaTeX layout and font stuff and
12300 convert it to ERTInsets.
12302 * buffer.h: added isErtInset().
12304 * buffer.C (struct ErtComp): add a fromlayout bool to check
12305 if we're inside a LaTeX layout.
12306 (isErtInset): new helper function.
12307 (insertErtContents): look for other ert insets before this one
12308 and insert the contents there, so that we don't have subsequent
12309 ERT insets with nothing between them. This way we create only one
12310 inset with multiple paragraphs. Also check if we don't insert only
12311 spaces ' ' as they are ignored anyway afterwards in the .tex file
12312 so if we have only spaces we will ignore this latex part in the
12314 (parseSingleLyXformat2Token \\layout): better compatibility when
12315 reading layout-latex stuff.
12316 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12318 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12319 stuff after reading the inset only get the information back from
12322 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12324 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12326 * LaTeXFeatures.C (getBabelOptions): New method.
12328 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12330 * BufferView_pimpl.C (Dispatch): work around missing argument for
12333 2002-05-08 Juergen Vigna <jug@sad.it>
12335 * text.C (leftMargin): handle paragraph leftindent.
12337 * paragraph.C (writeFile): write the new \\leftindent tag.
12338 (validate): handle leftindent code.
12339 (TeXEnvironment): handle paragraphleftindent code again.
12341 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12343 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12344 for paragrap_extra indent code and new token \\leftindent.
12345 (latexParagraphs): handle the leftindent as environment.
12347 * ParameterStruct.h: added leftindent support.
12349 * ParagraphParameters.C (leftIndent): added support functions for
12350 the paragraph left indent.
12352 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12355 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12357 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12360 * text.C (computeBidiTables): No bidi in insetERT.
12362 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12365 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12367 * version.C.in: pre 5
12369 2002-05-02 José Matos <jamatos@fep.up.pt>
12370 * buffer.C (makeDocBookFile): white space changes, add newline to
12372 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12374 * tabular.C (docBook): fix typo.
12376 2002-05-03 Juergen Vigna <jug@sad.it>
12378 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12379 change in LyXText as we can not be sure it was not freed.
12380 (drawOneRow): remove unused code.
12382 * text.C (drawInset): redo the calculation of the need_break_row as
12383 it could have a row which was already freed.
12384 (draw): look at the return value of drawInset and return false if
12385 it also returned false.
12386 (paintRowText): look at the return value of draw and return false if
12387 it also returned false.
12389 * lyxtext.h: added bool return type to drawInset() and draw() so that
12390 if we have a change in the row so that the rowbreak has to be redone
12391 we abort drawing as it will be called again.
12393 2002-05-02 Juergen Vigna <jug@sad.it>
12395 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12396 a change in the maintext also if we're inside an inset.
12397 (Dispatch): set the cursor again after a break line and after the
12398 screen has been updated as it could be we're in a different row.
12400 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12401 to set the cursor behind the pargraph with > size().
12402 (setCursor): check also for the same paragraph when checking where
12403 to put the cursor if we have a NFR inset.
12405 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12406 parts of layout read further up as it still was in the wrong
12409 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12411 * screen.C (drawFromTo): change sine fullRebreak always return
12414 * buffer.C (parseSingleLyXformat2Token): reindent some
12416 * BufferView_pimpl.C (update): change since fullRebreak always
12418 (Dispatch): git rid of the last hardcoded "Standard"s.
12420 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12422 * text2.[Ch] (fullRebreak): make it return void now that we always
12425 2002-04-30 Juergen Vigna <jug@sad.it>
12427 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12428 ert compatibility check for "latex" layout.
12430 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12432 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12433 minipages: use col% instead of p%, and also use the current font.
12434 (makeLaTeXFile): Fix use babel condition.
12435 (parseSingleLyXformat2Token): Correct font when reading old floats.
12437 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12439 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12440 inserting list of floats.
12442 2002-04-25 Herbert Voss <voss@lyx.org>
12444 * MenuBackend.C (expand): don't add the graphics extensions to the
12447 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12449 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12450 non-existing layout, do not complain if it was the default layout
12451 of the original class (bug #342)
12453 2002-04-24 Juergen Vigna <jug@sad.it>
12455 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12456 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12458 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12460 * buffer.C (getBibkeyList): If using \bibliography, return the
12461 option field with the reference itself. Enables us to provide natbib
12462 support when using \bibliography.
12464 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12466 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12468 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12469 natbib is provided by the LaTeX class.
12471 2002-04-23 Juergen Vigna <jug@sad.it>
12473 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12476 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12478 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12480 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12482 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12483 ensuremath around textordmasculine, textordfeminine and
12486 2002-04-19 Juergen Vigna <jug@sad.it>
12488 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12489 reinitializing the buffer otherwise row-dimensions may be wrong.
12490 (update): reset also the selection cursors if they do exits otherwise
12491 their x/y positions may be wrong.
12493 * text2.C (cursorDown): don't enter the inset if we came from a row
12494 above and are one row over the inset.
12496 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12497 really leaving an inset.
12499 2002-04-18 Juergen Vigna <jug@sad.it>
12501 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12502 of the selected paragraph does not have the selected layout also if
12505 * text2.C (setLayout): fixed bug which did not change last selected
12508 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12509 changed the read and substituted \\end_float with \\end_inset!
12511 * BufferView_pimpl.C (cursorPrevious):
12512 (cursorNext): fixed to make it work with rows heigher than the work
12513 area without moving the cursor only the draw of the row.
12514 (workAreaMotionNotify): fix jumping over high rows.
12516 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12518 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12521 2002-04-16 Juergen Vigna <jug@sad.it>
12523 * text2.C (setCursor): set also the irow().
12524 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12526 (cursorDown): support for locking an inset if the x_fix value goes
12527 inside it. That way I can transverse insets too with cursor up/down.
12529 * lyxrow.h: added irow helper function same as other (i) functions.
12531 * BufferView_pimpl.C (cursorPrevious):
12532 (cursorNext): fixed for insets!
12534 2002-04-15 Juergen Vigna <jug@sad.it>
12536 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12537 position otherwise it is wrong in some cases.
12539 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12540 inside the inset before the call.
12542 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12544 * buffer.[Ch] (getBibkeyList): make it const.
12546 2002-04-12 Juergen Vigna <jug@sad.it>
12548 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12550 * text2.C (getCursorX): new helper function
12551 (setCursor): compute also ix_
12552 (setCursorFromCoordinates): set also ix.
12554 * lyxcursor.h: added ix_ and helper functions.
12556 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12558 * buffer.C (insertStringAsLines): dont break paragraph if the this
12559 paragraph is inside an inset which does not permit it!
12561 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12562 also with no chars on this paragraph.
12563 (paintRowText): only paint stuff if it's inside the workarea!
12565 * paragraph.C (breakParagraph): honor keepempty flag and break the
12566 paragraph always below not above.
12568 * BufferView2.C (unlockInset): update the paragraph layout on inset
12569 unlock as we changed paragraph in such a case.
12571 * lyxfind.C (LyXFind): clear the former selection if not found!
12573 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12574 again called in insertChar().
12576 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12577 an inset which uses the whole row!
12578 (rightMargin): ditto.
12579 (insertChar): force a rebreak if we inserted an inset!
12581 2002-03-28 Herbert Voss <voss@lyx.org>
12583 * lyxlength.[Ch]: add inBP() to get the right PS-point
12584 units (BigPoint). With inPixels we have rounding errors
12586 2002-04-11 Juergen Vigna <jug@sad.it>
12588 * text2.C (setCursorFromCoordinates): set iy to the right value.
12589 (setCursor): add check if row->previous exists!
12591 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12592 an old float_type as this was the case in the old code!
12594 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12596 * BufferView2.C (showLockedInsetCursor): use iy
12597 (fitLockedInsetCursor): ditto
12599 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12600 locked insets as there we have the right value now.
12602 * lyxcursor.C: added iy_ variable and iy functions to set to the
12603 baseline of cursor-y of the locked inset.
12605 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12606 (setCursor): fixed for insets which need a full row.
12608 * text.C (rowLastPrintable): don't ignore the last space when before
12609 an inset which needs a full row.
12610 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12611 as last character of a row when before a inset which needs a full row.
12613 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12615 * version.C.in: update date
12617 * text2.C (fullRebreak): try to always return true and see what
12620 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12622 * MenuBackend.C (expand): use Floating::listName
12624 * FloatList.C (FloatList): add listName argument to the built-in
12627 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12628 text associated with the float.
12630 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12632 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12634 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12636 * ShareContainer.h: add a couple of missing typenames.
12638 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12640 * lyxrc.C (getDescription): use _() correctly rather than N_().
12642 2002-03-28 Herbert Voss <voss@lyx.org>
12644 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12645 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12647 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12649 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12650 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12652 2002-03-29 Juergen Vigna <jug@sad.it>
12654 * lyxfunc.C (dispatch): add a missing fitCursor call.
12656 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12657 it was scrolled by a cursor move, so return the bool status.
12659 * BufferView.C (fitCursor): return the bool flag also to the outside
12660 world as this is needed.
12662 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12664 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12665 call the edit() as it is not needed (and wrong) IMO.
12666 (workAreaButtonPress): set the screen_first variable before evt.
12667 unlock the inset as this may change screen_first and then we have
12668 a wrong y position for the click!
12670 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12672 * MenuBackend.C (expand): another translation that I missed
12674 2002-03-28 Juergen Vigna <jug@sad.it>
12676 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12678 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12680 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12682 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12684 * MenuBackend.C (expand): fix export/view/update when there is no
12687 2002-03-27 Herbert Voss <voss@lyx.org>
12689 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12692 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12694 * bufferview_funcs.C (currentState): only show paragraph number
12695 for is DEVEL_VERSION is set.
12697 * lyxfunc.C (dispatch): put warning in INFO channel
12699 * MenuBackend.C (expand): translate the name of floats
12701 * FloatList.C (FloatList): mark the float names for translation
12703 * converter.C (convert): use LibScriptSearch
12705 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12707 * MenuBackend.C (defaults): fix default menu (we might as well get
12710 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12712 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12715 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12717 * lyxvc.C: reorder includes.
12719 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12721 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12724 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12726 * CutAndPaste.C: change layouts earlier on paste
12727 to avoid crashing when calling getFont()
12729 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12731 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12734 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12736 * WorkArea.C: remove 'Pending' debug message.
12738 * most files: ws cleanup
12740 * buffer.[Ch]: ws changes
12742 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12744 2002-03-21 Juergen Vigna <jug@sad.it>
12746 * tabular.C (SetMultiColumn): collapse also the contents of the
12747 cells and set the last border right. Added a Buffer const * param.
12749 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12751 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12754 2002-03-19 Juergen Vigna <jug@sad.it>
12756 * text2.C (clearSelection): reset also xsel_cache.
12758 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12759 where it needs to be called (John tells us to do so too :)
12760 (selectionLost): reset sel_cache.
12762 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12764 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12766 * text2.C (setCursorIntern): put debuging code in INSETS channel
12768 2002-03-19 André Pönitz <poenitz@gmx.net>
12770 * lyxfunc.C: tiny whitespace change
12772 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12774 * ToolbarDefaults.C (init):
12775 * LyXAction.C (init):
12777 * BufferView_pimpl.C (Dispatch):
12778 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12780 2002-03-19 Allan Rae <rae@lyx.org>
12782 * exporter.C (Export): removeAutoInsets before doing anything else.
12783 While I've just introduced a dependency on BufferView this really is
12784 the best place to clean the buffer otherwise you need to cleanup in
12785 a dozen places before calling export or cleanup in a dozen functions
12788 * converter.C (runLaTeX):
12789 (scanLog): Better handling of removeAutoInsets and screen updates.
12791 * lyxfunc.C (dispatch): small whitespace changes
12793 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12795 * WorkArea.C (C_WorkAreaEvent): return a value.
12796 (event_cb): return 1 if we handled the event, 0 otherwise.
12798 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12800 2002-03-18 Juergen Vigna <jug@sad.it>
12802 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12803 (GetAdditionalWidth): ditto.
12804 (RightLine): ditto.
12807 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12808 inset if we're there actually (probably not used right now but this
12809 is the direction to go for unifying code).
12810 (paste): disable code to clear the selection.
12812 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12813 inside an InsetText and move the check further up as it is in the
12816 * text2.C (pasteSelection): set a selection over the pasted text.
12818 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12820 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12821 and libgraphics to build on Cygwin.
12823 2002-03-15 Juergen Vigna <jug@sad.it>
12825 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12826 inserting an Inset into the paragraph. I know this is not the best
12827 fix but we already use current_view in CutAndPaste so we will remove
12828 all of it's using at the same time.
12830 * buffer.C (sgmlError): deactivated function till it is rewritten in
12831 the right mode, now it can create problems.
12833 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12834 before accessing it.
12836 2002-03-14 Juergen Vigna <jug@sad.it>
12838 * undo_funcs.C (textHandleUndo): do the right thing when updating
12839 the inset after the undo/redo.
12841 * text2.C (setCursor): just some testcode for #44 not ready yet.
12843 * undo_funcs.C (textHandleUndo): set the next() and previous()
12844 pointers of the paragraph to 0 before deleting otherwise we have
12845 problems with the Paragraph::[destructor].
12847 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12848 on a paragraph insertion.
12850 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12852 * buffer.C (asciiParagraph): use += operator for char append to
12855 * paragraph.C (getFontSettings): compare >= not just >
12856 (highestFontInRange): ditto
12859 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12861 * paragraph.C: change several algorithm to be more appripriate for
12862 the problem domain. This is lookip in FontList and in the InsetList.
12864 2002-03-13 André Pönitz <poenitz@gmx.net>
12867 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12869 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12874 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12876 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12878 * Painter.C (display): anon helper function, adjust code for this
12880 (pixmap): remove function.
12882 * Painter.h: remove private display variable.
12884 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12886 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12888 * WorkArea.[Ch]: remove figinset_canvas cruft.
12890 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12892 * lyxtextclass.C (operator): add one item cache optimization.
12894 * bufferlist.h: doxy changes
12896 * bufferlist.C: ws changes
12898 * DepTable.[Ch] (ext_exist): place const in the right spot.
12900 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12902 (workAreaExpose): call resizeInsets when the with BufferView changes.
12903 (Dispatch): adjust for protectedBlank removal
12904 (specialChar): call updateInset if the insert went ok.
12906 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12907 specialChar instead.
12909 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12911 * BufferView.h: doxy change
12913 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12915 * lyxtextclass.C (operator[]): remove non-const version
12916 (defaultLayout): remove non-const version
12918 2002-03-12 Juergen Vigna <jug@sad.it>
12920 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12921 did resize the LyXText too.
12923 * buffer.C (readLyXformat2): set layout information on newly allocated
12926 * tabular.C (OldFormatRead): set layout information on the paragraph.
12928 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
12930 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12932 2002-03-11 Juergen Vigna <jug@sad.it>
12934 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12936 (resizeCurrentBuffer): force also the insets to resize themselfes.
12937 (moveCursorUpdate): fixed up for InsetText.
12939 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12942 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12943 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12944 value of Dialogs::tooltipsEnabled().
12945 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12947 2002-03-08 Juergen Vigna <jug@sad.it>
12949 * BufferView_pimpl.C (updateInset): update inset inside inset also
12950 if it isn't inside theLockingInset().
12952 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12954 * buffer.C (asciiParagraph): redo some of the word and line length
12956 (getLists): look for Caption instead of caption.
12958 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12960 * buffer.C (Buffer): initialize niceFile to true
12962 (makeLinuxDocFile):
12963 (makeDocBookFile): make sure niceFile is true on exit
12965 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12967 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12969 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12971 * LyXSendto.C: remove.
12972 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12973 * lyx_gui.C: remove now-redundant comment.
12974 * ColorHandler.h: remove forward declaration of class WorkArea.
12975 * lyxfunc.C: remove #include "WorkArea.h".
12977 2002-03-07 Juergen Vigna <jug@sad.it>
12979 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12980 got moved away with the DEPM and also set the inset_owner always
12981 right which before could have been omitted.
12983 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12985 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12986 wanted layout is not found.
12988 2002-03-07 Juergen Vigna <jug@sad.it>
12990 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12992 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12994 * paragraph.C (breakParagraph): use default layout not layout of
12996 (Paragraph): clear ParagraphParameters.
12998 2002-03-06 Juergen Vigna <jug@sad.it>
13000 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13001 otherwise it would not be a valid lenght. Fixed a special case in
13002 the minipage compatibility read where we end the document with a
13005 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13006 was set as it could be 0 for InsetTexts first entry.
13008 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13010 * paragraph.C (writeFile): if layout is empty write out
13011 defaultLayoutName().
13013 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13014 file without named layout we set layout to defaultLayoutName().
13016 2002-03-06 Juergen Vigna <jug@sad.it>
13018 * CutAndPaste.C (copySelection): set layout for new paragraph.
13020 * text.C (prepareToPrint): leave ERT inset left aligned
13021 (leftMargin): don't indent paragraphs inside ERT insets
13023 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13025 * paragraph.C (breakParagraph): dont call clear do the work manually
13027 * paragraph.[Ch] (clear): remove function
13029 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13031 * paragraph.C (Paragraph): dont call clear, the work has already
13034 * lyxtextclass.C (operator): assert if n is empty
13036 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13037 work manually instead.
13039 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13041 * BufferView_pimpl.C: protect selectionLost against text == 0
13043 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13045 * text.C (breakParagraph): fix a setting layout to '0' problem.
13047 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13049 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13050 final location of file, for the included files, and graphics.
13052 2002-03-05 Juergen Vigna <jug@sad.it>
13054 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13056 2002-03-04 Juergen Vigna <jug@sad.it>
13058 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13060 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13061 last column of multicolumn cells.
13062 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13064 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13066 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13067 file if it doesn't go to a temporary file.
13069 * buffer.C (sgmlOpenTag):
13070 (sgmlCloseTag): remove extra newline insertion.
13072 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13074 * text.C (getRowNearY): comment out debug msg
13076 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13078 * text2.C: first -> first_y
13080 * text.C (getRowNearY): add some attemts at a possible
13081 optimization, not working.
13083 * tabular.[Ch]: add BufferParams to several function so that newly
13084 created paragraph can be initialized to he default layotu for the
13087 * tabular-old.C (ReadOld): add buf->params to call of Init
13089 * screen.C: rename text->first to text->first_y
13091 * paragraph.C (breakParagraph): always set layout in the broken
13094 * lyxtextclass.C (Read): remove lowercase
13097 (delete_layout): ditto
13099 * lyxtext.h: rename first -> first_y
13101 * lyxlayout.C (Read): remove lowercase
13104 (obsoleted_by): ditto
13106 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13108 * buffer.C (insertErtContents): add params are to InsetERT
13109 (parseSingleLyXformat2Token): add code to check if a paragraphs
13110 layout really exist.
13111 (parseSingleLyXformat2Token): add params to several inset
13113 (asciiParagraph): remove lowercase, do the layout comparisons with
13116 * BufferView_pimpl.C (cursorNext): first -> first_y
13117 (resizeCurrentBuffer): first -> first_y
13118 (updateScrollbar): first -> first_y
13119 (scrollCB): first -> first_y
13120 (workAreaMotionNotify): first -> first_y
13121 (workAreaButtonPress): first -> first_y
13122 (checkInsetHit): first -> first_y
13123 (cursorPrevious): first -> first_y
13124 (cursorNext): first -> first_y
13125 (Dispatch): add buffer_->params to severl inset contructors
13127 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13129 * lyxlayout.C (Read): remove some debug info that I forgot.
13131 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13132 clean up the code slightly.
13133 (makeLinuxDocFile): ditto
13134 (makeDocBookFile): ditto
13136 * text2.C: layout as string
13138 * text.C: layout as string
13140 * paragraph_pimpl.C: layout as string
13142 * paragraph.[Ch]: layout as string
13144 * lyxtextclasslist.[Ch]: layout as string
13146 * lyxtextclass.[Ch]: layout as string
13148 * lyxtext.h: layout as string
13150 * lyxlayout.[Ch]: layout as string
13152 * lyx_cb.C: layout as string
13154 * bufferview_funcs.C: layout as string
13156 * bufferparams.C: layout as string
13158 * buffer.C: layout as string
13160 * LyXView.[Ch]: layout as string
13162 * LaTeXFeatures.[Ch]: layout as string
13164 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13166 * BufferView_pimpl.C: change current_layout to string, remove
13171 (workAreaButtonRelease): layout as string
13173 * BufferView2.C (unlockInset): adjust
13175 * vspace.C (asLatexCommand): use an explict temp variable.
13177 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13179 * Makefile.am: use FRONTEND_*
13181 2002-03-01 Juergen Vigna <jug@sad.it>
13183 * tabular.C (SetWidthOfMulticolCell): changed to something better
13184 I hope but still work in progress.
13185 (recalculateMulticolumnsOfColumn): renamed function from
13186 recalculateMulticolCells as it is more appropriate now.
13187 (SetWidthOfCell): calculate multicols better.
13189 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13191 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13193 * lyxfunc.C (processKeySym): print sequence also if it is
13194 `deleted' (complete)
13196 * kbsequence.C (print): print sequence even if it is deleted
13197 (complete would be a better word, actually).
13199 * lyxfunc.C (dispatch): print complete options after a prefix key
13201 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13203 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13205 * text2.C (setCharFont): eliminate setCharFont code duplication.
13207 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13209 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13210 LFUN_TABULAR_FEATURE (bug #177)
13212 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13214 * Makefile.am: remove figure.h
13216 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13218 * Bufferview_pimpl.C:
13230 * text2.C: remove #include "lyx_gui_misc.h".
13232 * LaTeX.C: added #include <cstdio>
13234 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13236 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13237 that the paragraph following this one can have.
13239 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13241 * vspace.C (asLatexCommand): fix bogus gcc warning
13243 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13245 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13247 * text2.C (setLayout): get rid of redundant code
13249 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13251 * text2.C (incDepth): make sure depth cannot be increased beyond
13254 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13256 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13257 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13259 * PainterBase.h (image):
13260 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13261 a LyXImage const *.
13263 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13267 * BufferView_pimpl.C:
13268 * BufferView_pimpl.h:
13288 * sp_spell.C: remove fig inset, and the crap house of
13289 cards that follows it
13291 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13296 * os2_errortable.h:
13297 * nt_defines.h: move .h into support/
13299 * vms_defines.h: remove
13301 * WorkArea.C: add space in debug output
13305 * buffer.C: add WITH_WARNINGS
13309 * bufferlist.C: s/retrive/retrieve/, add docs
13318 * chset.C: add docs
13320 * lyxgui.C: add ID to X error handler
13322 * lyxtestclass.c: fix typo
13324 2002-02-26 Juergen Vigna <jug@sad.it>
13326 * tabular_funcs.C (write_attribute): changed so that some default
13327 attributes are not written at all.
13328 (getTokenValue): set default values before trying to read the
13329 value so we have the return value always set as default if we don't
13330 find the token we search for.
13332 * tabular.C (Write): write bools as bools not as strings!
13334 2002-02-22 Juergen Vigna <jug@sad.it>
13336 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13337 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13339 * text.C (leftMargin): don't add an indent for paragraphs inside
13340 tabular cells (fix #208).
13342 2002-02-21 José Matos <jamatos@fep.up.pt>
13344 * tabular.C (docBook): fixed support for long tables.
13346 2002-02-20 Juergen Vigna <jug@sad.it>
13348 * text2.C (getFont): get the drawing font of the Inset if this
13349 paragraph is inside an inset (only important for InsetERT for now).
13351 * buffer.C (insertErtContents): use new lanugage params in ERT
13354 * CutAndPaste.C: commenting out seemingly uneeded code.
13356 2002-02-19 Allan Rae <rae@lyx.org>
13358 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13359 Iterators might be simple to use but they also get invalidated.
13360 (removeAutoInsets): renamed saved cursor tracking variables and added
13361 some comments to clarify what everything does.
13363 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13370 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13371 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13374 * vc-backend.h: remove #include "support/syscall.h"
13378 * converter.C: rearrange #includes in Lars' approved fashion.
13380 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13381 forward declare class Timeout in the header file.
13383 * XFormsView.C: changes due to the above.
13385 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13386 similar to LyXView.
13388 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13389 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13391 2002-02-18 José Matos <jamatos@fep.up.pt>
13393 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13396 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13398 * a lot of small ws changes
13399 * add a lot of using std::XXX
13400 * use std construcs some places where approp.
13401 * use some exisint stuff from lyxfunctional where approp.
13402 * Make file changes to use partial linking (lets test this now...)
13404 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13408 remove #include "support/syscontr.h" as it's redundant. Always has been.
13416 change Systemcalls::System to Systemcalls::Wait and
13417 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13418 No change of functionality, just reflects the stripped down Systemcalls
13421 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13423 * debug.[Ch]: add a GRAPHICS type to the enum.
13425 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13427 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13429 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13432 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13434 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13435 match the changes below.
13437 * text2.C (toggleInset): if there is not editable inset at cursor
13438 position, try to see if cursor is _inside_ a collapsable inset
13441 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13443 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13444 document menu has a nice checkbox
13446 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13448 * lyxlength.C (asLatexString): change PW to output as percent of
13451 * lengthcommon.C: change '%' to 't%'
13453 * lyxfunc.C (dispatch): a few comments from Martin
13455 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13459 * BufferView_pimpl.h:
13460 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13463 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13465 * vspace.C (inPixels): fix compiler warning
13467 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13469 * lyxfunc.C (getStatus): fix status message for disabled commands.
13471 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13473 * BufferView_pimpl.C: fix crash on close buffer
13474 during selection (#227)
13476 2002-01-27 Herbert Voss <voss@lyx.org>
13478 * buffer.C: link old Figure to new graphic inset
13480 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13482 * FontLoader.C (getFontinfo): Change the latex font names in order
13483 to match the names of type1inst.
13485 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13487 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13489 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13490 (extchanged): ditto
13492 (remove_files_with_extension): ditto
13493 (remove_file): ditto
13496 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13497 document is smaller than the work area height. Do not initialize
13498 static variables to 0.
13500 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13502 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13504 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13505 LFUN_LAYOUT_PARAGRAPHS.
13507 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13508 tabular. It is possible to provide a possible cell, which will
13509 typically be the actcell from the corresponding insettabular
13511 * lyxfunc.C (getStatus): small cleanup; disable
13512 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13515 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13517 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13519 * paragraph.C (startTeXParParams):
13520 (endTeXParParams): new methods. The LaTeX code to
13521 start/end paragraph formatting
13522 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13523 empty (fixes bug #200)
13525 * vspace.C (inPixels): adapt to the change below
13526 (inPixels): [later] more cleanups (remove unused variables)
13528 * lyxlength.C (inPixels): change to use a width and a height as
13531 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13533 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13534 Replaced with \paperwidth
13536 * DepTable.C (insert): add std:: qualifier
13538 2002-01-18 Allan Rae <rae@lyx.org>
13540 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13543 * text.C (drawInset): Turned out I didn't know enough about how
13544 rebreaking worked. This fixes most of the redraw problems. I see
13545 an occasional cursor trail when a line is broken now and the cursor
13546 placement can seem out by a few pixels also after a rebreak.
13548 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13550 * buffer.C (parseSingleLyXformat2Token): update because minipage
13551 width is now a LyXLength
13553 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13555 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13558 2002-01-17 Juergen Vigna <jug@sad.it>
13560 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13562 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13563 is set correctly and the inset is updated correctly.
13565 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13567 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13568 the beginning of the loop.
13570 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13572 * lyxrc.C: improve help for use_scalable_fonts
13574 2002-01-17 Allan Rae <rae@lyx.org>
13576 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13578 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13580 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13581 make sure to set their inset_owner to the right value (bug #171)
13583 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13586 * DepTable.C: Implement mtime checking to reduce time spent doing
13589 2002-01-16 Juergen Vigna <jug@sad.it>
13591 * tabular.C (GetAdditionalHeight): one of error fixed.
13593 * lyxrc.C (output): small fix in writing use_pspell.
13595 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13597 * sp_base.h: #include LString.h
13599 2002-01-16 Allan Rae <rae@lyx.org>
13601 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13602 Can someone check this please?
13604 * text.C (drawInset): It was possible that p.row would be removed by
13605 breakAgainOneRow upsetting a few other settings. There may be another
13606 small tweak possible by setting need_break_row = 0 when p.row has been
13607 removed but I don't know enough about the logic here.
13609 2002-01-15 Allan Rae <rae@lyx.org>
13611 * text.C (insertChar): removed conditional truism.
13613 * BufferView2.C (removeAutoInsets): More tweaks.
13614 cur_par_prev could be a stray pointer. Check for trailing empty line
13615 in case last line was cur_par and only had an error inset on it.
13617 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13619 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13622 * vc-backend.C (most methods):
13623 * exporter.C (Export):
13624 * converter.C (convert):
13626 * LyXSendto.C (SendtoApplyCB):
13627 * lyxfunc.C (dispatch):
13631 * lyx_cb.C (AutoSave):
13633 * BufferView_pimpl.C (MenuInsertLyXFile):
13634 * buffer.C (runChktex): use Buffer::filePath().
13636 * buffer.h: rename filename to filename_; rename filepath to
13637 filepath_ and make it private
13638 (filePath): new method
13640 * buffer.C (writeFile): use fileName()
13643 * lyx_main.C (init): fix starting of LyX when the binary is a
13644 link from so,ewhere else.
13646 * minibuffer.C: include <cctype> for isprint
13648 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13650 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13651 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13652 name clash with InsetCollapsable's width function.
13654 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13656 * lastfiles.C: include <iterator>
13658 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13660 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13663 * buffer.C (makeLaTeXFile): ditto.
13664 Also make loop operation more transparent.
13666 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13668 * ToolbarDefaults.C: remove trailing comma closing namespace.
13670 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13672 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13675 * trans.C (Load): comment out unused variable, allowed.
13677 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13679 * minibuffer.[Ch] (append_char): new method to recieve input from the
13680 drop-down completion browser. If a key was pressed, then recieve this
13681 char and append it to the existing string.
13682 (peek_event): modify the positioning data passed to the completion
13683 browser so that it can be placed above the minibuffer rather than below.
13684 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13686 * LyXAction.C (init): alloe error-next for readonly documents.
13688 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13691 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13693 * bufferlist.C (readFile): create the buffer _after_ checking that
13696 * lyxfunc.C (verboseDispatch): fix handling of arguments
13698 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13700 * lyxrc.C: use string::erase() instead of initializing to "".
13703 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13705 * BufferView_pimpl.h:
13706 * BufferView_pimpl.C:
13709 * text2.C: tell X when we have made a selection for copying
13711 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13713 * BufferView_pimpl.C (MenuInsertLyXFile):
13714 * lyxfunc.C (menuNew):
13716 (doImport): add shortcuts to directory buttons
13718 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13721 * lyxfunc.C (setStatusMessage):
13722 (getStatusMessage): new methods
13723 (getStatus):use setStatusMessage instead of setErrorMessage
13724 (dispatch): when function is disabled, set error message here
13725 [instead of in getStatus previously]
13727 * BufferView_pimpl.C (workAreaButtonRelease): update
13728 toolbar/menubar here too.
13730 2002-01-13 Allan Rae <rae@lyx.org>
13732 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13733 Now seems indestructible. Remaining task is to audit all other
13734 code affected by deleteEmptyParagraphMechanism. One small quirk
13735 left is that an empty document with an error in the preamble can
13736 be made to report an error but no error box appears. I don't know
13738 (removeAutoInsets): Improved comments.
13740 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13743 * Thesaurus.C: update for Aiksaurus 0.14
13745 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13747 * text2.C (firstParagraph): removed member function, all uses
13748 replaces with ownerParagraph
13749 (redoParagraphs): here
13750 (updateInset): here
13751 (toggleAppendix): here
13752 * BufferView2.C (insertErrors): here
13753 (setCursorFromRow): here
13755 2002-01-13 Allan Rae <rae@lyx.org>
13757 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13758 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13759 There is still a way to segfault this although you may have to do this
13760 multiple times: Have an InsetERT with an unknown command in it.
13761 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13762 <down-arrow>, <Enter> again, View->DVI, BANG!
13764 * text2.C (setCursor):
13765 (deleteEmptyParagraphMechanism):
13766 * lyxtext.h (setCursor):
13767 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13768 Making use of the return value may help fix other bugs.
13770 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13772 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13774 * LyXView.C (updateMenubar): call MenuBar::update here
13775 (updateToolbar): but not here
13776 (showState): do not update toolbar/menubar
13778 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13779 should need to care about that.
13781 * lyxfunc.C (verboseDispatch): simplify a bit
13782 (getStatus): have a version which takes a pseudoaction, and
13783 another which requires a (kb_action,string).
13785 * LyXAction.C (retrieveActionArg): make it work also when action
13786 is not a pseudo-action.
13787 (getActionName): simplify a bit
13790 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13792 * lyxfunc.C (verboseDispatch): new families of methods with
13793 several ways to specify a command and a bool to indicate whether
13794 the command name and shortcut should be displayed in minibuffer
13795 (eventually, we could extend that to a finer bitmask like
13796 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13797 (dispatch): the pristine dispatch command which just, well,
13798 dispatchs! Note it still sets its result to minibuffer; I'm not
13801 * lyxfunc.h: remove setHintMessage
13803 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13805 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13807 * BufferView_pimpl.C (specialChar): delete new inset if we have
13808 not been able to insert it.
13810 * kbmap.C: revert to using int instead of kb_action, since all we
13811 are dealing with is pseudo-actions.
13813 * LyXAction.C (searchActionArg): change to return int instead of
13814 kb_action, since the result is a pseudoaction.
13816 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13818 * buffer.C (insertErtContents): Fix (partially) the font bug.
13820 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13822 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13823 as the other one is broken on my machine!
13825 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13828 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13830 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13832 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13833 reflect their actual use. Provide compatibility code for older lyxrc
13836 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13838 change names of popup font variables in line with the changes to lyxrc.C
13840 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13842 * buffer.C (asciiParagraph): avoid outputing a word twice after
13845 * lyxrc.C (getDescription): document that document_path and
13846 template_path can be empty.
13848 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13850 * LaTeXFeatures.C (getMacros):
13851 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13853 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13855 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13857 (getPackages): rename feature "floats" to "float". Use an array to
13858 iterate over 'simple' features (i.e. just a \usepackage). Add
13859 handling of "amsmath" (renamed from "amsstyle").
13861 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13863 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13866 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13868 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13869 FuncStaus::FuncStatus & FuncStaus::some_method().
13871 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13873 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13874 of the func_satus stuff. Edited and massaged in various ways by
13877 * lyxfunc.C (getStatus): use FuncStatus
13879 2002-01-08 Juergen Vigna <jug@sad.it>
13881 * text.C (nextBreakPoint): use function Inset::isChar().
13883 * paragraph.C (TeXOnePar): use function
13884 Inset::forceDefaultParagraphs.
13886 * buffer.C (latexParagraphs): use function
13887 Inset::forceDefaultParagraphs.
13889 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13891 * lyx_gui.C (init): set the style of the menu popups to
13892 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13894 2002-01-07 Juergen Vigna <jug@sad.it>
13896 * text.C (setHeightOfRow): small fix
13897 (prepareToPrint): don't look at alignment if we don't have the place
13900 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13902 * box.C: New file. Move the Box methods and functions out of box.h,
13903 following Lars' suggestion.
13905 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13907 * box.h: #include "support/LOstream.h", needed for inlined function.
13910 * lyxtextclasslist.C: added some using std declarations.
13912 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13914 * box.h: make signed dimensions to allow insets wider than
13915 the screen (bug #162)
13917 * BufferView_pimpl.C: add some insetHit debug
13919 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13921 * vc-backend.C: add FIXME
13923 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13925 * lyxfunc.C (getStatus): enable code for showing math font status
13928 2002-01-07 Juergen Vigna <jug@sad.it>
13930 * text.C (nextBreakPoint): removed debug output not needed anymore.
13932 2002-01-06 Juergen Vigna <jug@sad.it>
13934 * text.C (nextBreakPoint): fixed up this function we had this bug
13935 since ever but now hopefully we break row better.
13936 (insertChar): we have to check if an inset is the next char as it
13937 could now happen that a large inset is causing a break.
13939 2002-01-05 Juergen Vigna <jug@sad.it>
13941 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13942 if it doesn't like to be drawed.
13944 2002-01-04 Juergen Vigna <jug@sad.it>
13946 * BufferView2.C (lockInset): forgot to set a cursor.
13948 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13950 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13952 * FormMathsPanel.C:
13955 * form_maths_panel.C:
13956 * form_maths_panel.h:
13957 * form_maths_panel.fd: implemented sub- and super- buttons in math
13960 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13961 (or ^ space) to be used as in TeX (req'd by Andr�.
13963 * lyxfunc.C: Allow ^ and _ again to be used both as
13964 super/subscript (mathed) and as themselves (in text).
13966 2002-01-03 Allan Rae <rae@lyx.org>
13968 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13969 "LyX" or the filename of the current buffer if it has one. This is a
13970 modified form of John Levon's patch.
13972 * XFormsView.C (setWindowTitle): also set icon title.
13974 * LyXView.h (setWindowTitle): signature changed.
13975 * XFormsView.h (setWindowTitle): ditto.
13977 2002-01-02 Juergen Vigna <jug@sad.it>
13979 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13981 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13983 * screen.C (topCursorVisible): introduce a temp var for
13984 text->cursor.row(), handle the case where this row is null. (kindo
13987 * text2.C (setCursor): add a couple of asserts.
13989 * paragraph.h (inset_iterator): add -> operator
13991 * paragraph.[Ch] (autoDeleteInsets): remove member function
13993 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13994 cursor pos correctly and handle inset deletion by itself.
13995 (insertErrors): move iterator declaration out of for expression
13997 * lyxtextclass.C: add <algorithm>
13999 * Makefile.am: added the new files to sources, removed layout.C
14001 * layout.C: removed file
14003 * layout.h: remove LYX_DUMMY_LAYOUT
14005 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14009 * lyxtextclass.[Ch]:
14010 * lyxtextclasslist.[Ch]: new files
14012 * include order changes to a lot of files, also changes because of
14015 2001-12-27 Juergen Vigna <jug@sad.it>
14017 * buffer.C (asciiParagraph): more fixes.
14019 * tabular.C (ascii): make ascii export support export of only the
14020 data separated by a column-delimiter.
14021 (ascii): better support for ascii export.
14023 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14025 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14027 * tabular_funcs.C: use a "using std::getline" instead of the
14028 previous fix from Angus (necessary for cxx + lyxstring)
14030 2001-12-24 Juergen Vigna <jug@sad.it>
14032 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14034 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14035 problems. First check a minipage also if we have some ert-contents
14036 (not only on par->size(), second set the right depth of the paragraph
14037 on the relink to the root-paragraph-list!
14039 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14040 which then did not anymore update the main paragraphs on undo/redo!
14042 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14044 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14045 code. Support all font-changing funcs (even those which are not in
14046 menu currently). Support for reporting font settings in
14047 mathed (disabled until Andre provides a function on mathed's side).
14049 * func_status.h (toggle): small helper function to set toggle
14052 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14054 * tabular_funcs.C: getline -> std::getline
14056 2001-12-21 Juergen Vigna <jug@sad.it>
14058 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14059 accessed and could be 0 (I couldn't generate this but it seems
14062 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14064 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14065 * tabular_funcs.h: here and include iosfwd
14067 2001-12-20 Juergen Vigna <jug@sad.it>
14069 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14070 inside inset but undo_par was.
14072 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14074 * Thesaurus.C: always include <config.h> in sources.
14078 * box.h: do not include <config.h> in header files
14080 * text.C (paintLastRow): remove unused variable
14082 * text.C (transformChar):
14084 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14086 * Painter.C (text):
14087 * font.C (width): rewrite to use uppercase() instead of
14090 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14092 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14094 * lyxfind.C: clean up of find failure position change
14096 2001-12-20 Juergen Vigna <jug@sad.it>
14098 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14100 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14101 (TeXRow): added to LaTeX a single tabular row.
14102 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14103 (Latex): simplified and finally good LT-h/f support.
14104 (various_functions): just small adaptions for LT-h/f support.
14106 * tabular_funcs.[hC]: added and moved here all not classfunctions
14109 2001-12-19 Juergen Vigna <jug@sad.it>
14111 * tabular.[Ch]: better support for longtabular options (not finished
14114 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14116 * text.C (paintLastRow): use the label font instead of the font of
14117 the last character to compute the size of *_BOX. This makes more
14118 sense and avoids a crash with empty paragraphs.
14119 Use Painter::rectangle to draw EMPTY_BOX.
14121 2001-12-19 Juergen Vigna <jug@sad.it>
14123 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14124 the paragraphs if the replaced paragraph is not the first one!
14125 Tried to delete not used paragraphs but does not work yet so for
14126 now it's inside #ifdef's and by default off!
14128 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14130 * MenuBackend.C: include "lyx_main.h" instead of declaring
14131 lastfiles (actually was declared as LastFiles* instead of a
14134 2001-12-17 Juergen Vigna <jug@sad.it>
14136 * tabular.C (AppendColumn): applied John's fix
14138 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14142 * BufferView_pimpl.h:
14143 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14146 * box.h: new start of class for above
14148 * lyxfunc.C: ignore space-only minibuffer dispatches.
14149 Show the command name when it doesn't exist
14151 * minibuffer.C: don't add empty lines to the history
14153 * minibuffer.C: add a space on dropdown completion
14155 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14157 * text.C: fix line above/below drawing in insets
14159 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14161 * lyxlength.C (LyXLength): Initialize private variables.
14163 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14165 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14166 when inserting error insets.
14168 2001-12-13 Juergen Vigna <jug@sad.it>
14170 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14171 actually sometimes the before-paragraph.
14172 (setUndo): don't clear the redostack if we're not actually undoing!
14174 2001-12-06 Juergen Vigna <jug@sad.it>
14176 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14177 and fixed redoing of main paragraph, so we can use it now ;)
14179 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14181 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14183 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14186 2001-12-13 André Pönitz <poenitz@gmx.net>
14189 * undo_func.C: minor cleanup
14191 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14193 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14194 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14195 font in urw-fonts package which is marked as -urw-fontspecific and
14196 does not work (incidentally, changing the encoding in the
14197 fonts.dir of this package to -adobe-fontspecific fixes the
14200 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14201 is a crash when undoing first paragraph (Juergen, please take a
14202 look). THis does not mean the undo fix is wrong, just that it
14205 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14206 the (Paragraph*) version when needed instead of duplicating the
14209 * text.C (workWidth): use Inset::parOwner to find out where the
14210 inset has been inserted. This is a huge performance gain for large
14211 documents with lots of insets. If Inset::parOwner is not set, fall
14212 back on the brute force method
14214 * paragraph_pimpl.C (insertInset):
14215 * paragraph.C (Paragraph):
14216 (cutIntoMinibuffer): set parOwner of insets when
14217 inserting/removing them
14219 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14221 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14227 * mathed/formulabase.C:
14228 * mathed/math_cursor.[Ch]:
14229 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14232 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14234 * lyxlength.[Ch] (operator!=): new function
14236 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14238 * text.C (workWidth): use Inset::parOwner to find out where the
14239 inset has been inserted. This is a huge performance gain for large
14240 documents with lots of insets. If Inset::parOwner is not set, fall
14241 back on the brute force method
14243 * paragraph_pimpl.C (insertInset):
14244 * paragraph.C (Paragraph):
14245 (cutIntoMinibuffer): set parOwner of insets when
14246 inserting/removing them
14248 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14250 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14252 * tabular-old.C (getTokenValue):
14253 * tabular.C (getTokenValue):
14254 (write_attribute): new versions for LyXLength
14255 (everywhere): adjust the use of widths
14257 * tabular.h: change the type of widths from string to LyXLength
14259 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14261 * paragraph.C: fixed missing line number count when exporting
14262 Environments to LaTeX file
14264 * buffer.C: added informational message for checking line numbers.
14266 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14268 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14269 paragraph, do the 'double space' part, but not the 'empty
14272 * text.C (workWidth): small optimization
14273 (getLengthMarkerHeight): use minimal size for negative lengths.
14275 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14277 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14279 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14281 2001-12-11 André Pönitz <poenitz@gmx.net>
14284 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14286 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14288 * text2.C: keep selection on a setFont()
14290 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14292 * lyx_cb.C: another bv->text misuse, from insert label
14294 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14297 * kbsequence.C: re-instate nmodifier mask
14299 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14301 * lyx_main.h: make lyxGUI private.
14303 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14305 * lyxfind.C: place the cursor correctly on failed search
14307 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14309 * text.C (getLengthMarkerHeight): for small heights, the arrows
14310 are not always on top/bottom of the text
14311 (drawLengthMarker): smaller arrows; take the left margin in
14312 account; draw also vfills.
14314 (paintLastRow): remove special code for vfill and standard spaces,
14315 since everything is handled in drawLengthMarker now.
14317 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14319 * buffer.C (insertErtContents): try to handle font and language
14320 interaction a bit better.g
14322 * ColorHandler.C (updateColor): change the hash to cover the whole
14323 LColor enum, ws cleanup
14324 (getGCLinepars): ditto
14325 (getGCLinepars): only lookup in the linecache once.
14327 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14329 * iterators.C (operator++): Make the iterator more robust
14331 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14333 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14335 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14338 * text.C: better added space drawing
14340 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14343 * BufferView2.C: fix layout combo update on inset unlock
14345 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14347 * Makefile.am: don't compile unused files
14349 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14353 * LyXAction.C: remove old LFUN_LAYOUTNO
14355 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14357 * paragraph_pimpl.h:
14358 * paragraph_pimpl.C: isTextAt() doesn't need font param
14360 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14363 * lyxlex.C: little cleanup
14365 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14367 * BufferView_pimpl.C: fix insertAscii for insets
14369 2001-12-05 Juergen Vigna <jug@sad.it>
14371 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14372 set the right font on the "multi" paragraph paste!
14374 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14380 * lyxlength.C: remove out-commented code.
14382 * BufferView_pimpl:
14396 * vc-backend.C: change "while(" to "while ("
14398 * lyxlength.[Ch]: add zero function to check if length is zero or
14400 * lyxgluelength.C: use it
14402 2001-12-05 Allan Rae <rae@lyx.org>
14404 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14405 Works for 2.95.3, from what I understand of Garst's reports this should
14406 work for other g++ versions. We're screwed if the abs(int) definition
14407 changed between bugfix releases of gcc.
14409 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14411 * text.C: fix chapter label offset !
14413 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14416 * text.C: fix hfill at end of line, clean up
14418 2001-12-04 Juergen Vigna <jug@sad.it>
14420 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14421 that we force an update of the inset and it's owners if neccessary.
14423 2001-12-03 Juergen Vigna <jug@sad.it>
14425 * text.C (rowLast): simplified code
14427 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14429 * lyxfunc.C: fix show options on timeout
14431 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14433 * screen.C (topCursorVisible): scroll half a page when the cursor
14434 reached top of bottom of screen
14436 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14438 * minibuffer.C: deactivate on loss of focus
14440 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14442 * vspace.[Ch] (operator!=): add operator.
14444 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14446 * BufferView_pimpl.C: refuse to open an inset when
14447 there's a selection.
14449 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14451 * BufferView_pimpl.C: allow to click on RHS of full row insets
14453 2001-11-30 Juergen Vigna <jug@sad.it>
14455 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14456 insets for undo reasons.
14458 2001-11-28 André Pönitz <poenitz@gmx.net>
14460 * vspace.[Ch]: cosmetical changes
14462 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14472 * kbsequence.C: part re-write of old kb code
14475 * WorkArea.C: remove Lgb_bug_find_hack
14477 2001-11-30 José Matos <jamatos@fep.up.pt>
14479 * buffer.C (makeDocBookFile): add a comment to point a hack.
14480 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14481 Fixed a double write of labels.
14483 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14486 * LaTeX.h Fixed bug in LaTeX class where it would not
14487 re-run latex if no depfiles were changed, but the .dvi was removed.
14489 2001-11-28 André Pönitz <poenitz@gmx.net>
14491 * all the files from the change on 2001/11/26:
14492 use lyx::layout_type instead of LyXTextClass::size_type
14493 use lyx::textclass_type instead of LyXTextClassList::size_type
14495 2001-11-29 Juergen Vigna <jug@sad.it>
14497 * text.C: added support for paragraph::isFreeSpacing()
14499 * buffer.C: same as above
14501 * paragraph.h: inserted isFreeSpacing() function to enable
14502 FreeSpacing inside InsetERT.
14504 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14505 of the paragraph's in the cut/copy buffer to 0!
14507 * text2.C (removeRow): remove the assert as it can!
14509 * lyxtext.h: added helper function firstRow returning firstrow and
14510 made firstrow private again.
14512 * BufferView2.C (lockInset): don't relock if we're already locked!
14514 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14515 the only paragraph.
14516 (removeRow): added Assert::(firstrow)
14518 * debug.C: forgot to add INSETTEXT here.
14520 2001-11-28 Juergen Vigna <jug@sad.it>
14522 * sp_spell.C (initialize): changed error text to more general
14523 spellchecker command use (not only ispell!)
14525 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14527 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14529 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14531 * vspace.C: initialise lyxgluelength on failure
14533 2001-11-28 Allan Rae <rae@lyx.org>
14535 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14536 declaration & definition that looks like a function declaration.
14538 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14540 * BufferView2.C (copy):
14541 (copyEnvironment): do not clear the selection when doing a copy.
14543 * text.C (paintFirstRow): compilation fix
14545 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14547 * tabular.C (Latex): correct line count when writing latex.
14549 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14551 * paragraph_pimpl.h:
14552 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14555 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14559 * LColor.C: change vfillline->added_space
14561 * text.C: add markers and text for added space
14563 * vspace.C: fix comment
14565 2001-11-28 André Pönitz <poenitz@gmx.net>
14567 * paragraph.C: whitespace changes
14568 * all the other files from the change on 2001/11/26:
14569 change *::pos_type into lyx::pos_type
14571 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14573 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14574 language of the document when inserting error insets.
14576 2001-11-26 André Pönitz <poenitz@gmx.net>
14578 * BufferView_pimpl.[Ch]:
14586 * paragraph_pimpl.[Ch]:
14589 * text2.C: reduce header dependencies, introduce type for positions
14591 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14593 * <various>: change to use Alert.h
14595 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14597 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14598 when encountering an unknown token.
14599 (readLyXformat2): Show an error message if there were unknown tokens.
14601 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14604 * BufferView_pimpl.C:
14608 * text2.C: use par->isInset()
14610 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14612 * paragraph_pimpl.h:
14613 * paragraph_pimpl.C: cleanup
14615 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14617 * text2.C (removeRow):
14618 * text.C (setHeightOfRow): remove useless (and costly) call to
14621 2001-11-20 Allan Rae <rae@lyx.org>
14623 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14624 Now need Inset*::checkInsertChar() to return true for appropriate
14625 cases so that the characters in the minibuffer will actually be
14628 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14630 * text.C: change the order of the includes.
14631 (workWidth): initialize it at once.
14632 (workWidth): make maxw unsigned
14633 (setHeightOfRow): remove unused variable (inset)
14634 (selectSelectedWord): remove unused variable (inset)
14635 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14637 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14639 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14640 server is not running.
14642 (closeConnection): add debug info when server is disabled.
14644 * ColorHandler.C (getGCForeground): send debug message to GUI
14647 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14649 * kbmap.C (bind): modify because return conventions of
14650 kb_sequence::parse have changed.
14652 * kbsequence.C (parse): only ignore spaces and not any stupid
14653 control character. This avoids tests like s[i] <= ' ', which are
14654 guaranteed to fail with 8bit characters and signed chars.
14655 Change return code to string::npos when there have been no error
14656 (0 was a bad idea when error is at first character)
14658 2001-11-14 José Matos <jamatos@fep.up.pt>
14661 * buffer.C (simpleDocBookOnePar): removed unused argument.
14663 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14665 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14666 insets which are part of a word. Paragraph::isLetter takes care of
14667 that now. Use Paragraph::isInset to identify insets.
14668 (selectSelectedWord): do not test for hyphenation break.
14670 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14671 that protected spaces are considered as spaces.
14673 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14676 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14679 * lyxserver.C: fix it. and small cleanup.
14681 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14683 * BufferView_pimpl.C: use inline helpers
14686 * LaTeXFeatures.C: fix typos
14689 * Spacing.C: move spacing_string into class
14691 * ToolbarDefaults.C: move stuff into namespace anon
14693 * layout.h: update enum
14695 * lyxfunc.C: use better debug
14697 * minibuffer.h: fix typo
14701 * WorkArea.C: add and use Debug::WORKAREA
14705 * text2.C: code re-organisation, inline helpers
14707 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14709 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14710 std::vector.empty().
14712 2001-11-09 Allan Rae <rae@lyx.org>
14714 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14715 '\n's after tables. Tabular and ERT inset work now makes this no
14718 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14721 * minibuffer.C: fix crash, improve drop-down completion
14723 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14726 * lyxserver.C: invalidate fd's when doing endPipe()
14728 2001-11-08 José Matos <jamatos@fep.up.pt>
14730 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14731 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14734 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14736 2001-11-07 José Matos <jamatos@fep.up.pt>
14739 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14742 * buffer.C (sgmlOpenTag):
14743 * buffer.C (sgmlCloseTag): removed debug info.
14745 * buffer.h (sgmlOpenTag):
14746 * buffer.h (sgmlCloseTag): made public.
14748 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14750 * buffer.C (saveParamsAsDefaults):
14751 * lyx_cb.C (MenuLayoutSave): remove
14753 * LyXAction.C (init):
14755 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14757 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14759 * buffer.C (setPaperStuff): removed from here...
14761 * bufferparams.C (setPaperStuff): ... and moved there.
14763 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14767 * XFormsView.C: add support for drop-down completion
14769 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14771 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14774 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14776 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14779 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14781 * lyx_main.C: change ref to known bugs
14783 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14785 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14786 to work around older babel problems.
14788 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14790 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14792 2001-10-24 Juergen Vigna <jug@sad.it>
14794 * tabular-old.C (ReadOld): below variable changes reflected.
14796 * tabular.[Ch]: added ltType struct for longtable header/footer
14797 defines and changed all instances where they are used. Added
14798 future support for double top/bottom rows.
14800 2001-10-24 José Matos <jamatos@fep.up.pt>
14802 * buffer.h (docbookHandleCaption):
14803 * buffer.C (docbookHandleCaption): removed unused function.
14804 (makeDocBookFile): moved docbook supported version to v4.1.
14806 2001-10-24 José Matos <jamatos@fep.up.pt>
14809 * tabular.C (docbookRow): new function to export docbook code of a row.
14810 (DocBook): now honors the longtable flags.
14812 2001-10-23 José Matos <jamatos@fep.up.pt>
14815 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14816 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14818 * buffer.C (makeLinuxDocFile):
14819 (makeDocBookFile): reworked the preamble, more clean, and with
14820 support for lyx defined entities. Changed the document declaration
14821 to be more XML friendly.
14823 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14824 if we need to output XML that should be done with a filter.
14826 2001-10-22 Juergen Vigna <jug@sad.it>
14828 * sp_pspell.h (class PSpell): add alive function needed in the
14829 controller to see if the spellchecker could be started.
14831 2001-10-22 Juergen Vigna <jug@sad.it>
14833 * buffer.C (insertStringAsLines): modify the font for inserting
14834 chars in certain conditions by calling checkInsertChar(font).
14836 2001-10-19 Juergen Vigna <jug@sad.it>
14838 * text.C (workWidth): use getRow instead of wrong algorithm.
14839 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14841 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14846 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14848 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14850 * text.C (workWidth): do not search for the exact row when
14851 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14852 optimization for big documents.
14854 2001-10-18 Juergen Vigna <jug@sad.it>
14856 * text.C (workWidth): new function with added Inset * parameter.
14858 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14860 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14862 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14863 change return type of getColumnNearX.
14866 * text.C (changeRegionCase): use uppercase/lowercase instead of
14869 (rightMargin): simplify code by factoring out the uses of
14874 (appendParagraph): use Paragraph::size_type
14876 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14878 * vspace.C (asLatexString): add a missing break
14880 2001-10-15 Herbert Voss <voss@perce.de>
14882 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14884 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14886 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14889 2001-10-10 André Pönitz <poenitz@gmx.net>
14891 * lyxfunc.C: removed greek_kb_flag.
14893 2001-10-10 Herbert Voss <voss@perce.de>
14895 * lyx_main.C: delete global string help_lyxdir.
14897 2001-10-09 Herbert Voss <voss@perce.de>
14899 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14901 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14903 * lyx_main.C: added global string help_lyxdir.
14905 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14907 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14909 * lyxrc.C (set_font_norm_type): support iso8859-4
14911 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14913 * LaTeX.C (deplog): add another regex for MikTeX
14915 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14917 * lyxrc.C (set_font_norm_type): support iso8859-3
14919 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14921 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14923 * LaTeXFeatures.C: remove special case of french and index
14925 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14926 before \begin{document}). This solves several incompatibilities.
14928 2001-10-03 Garst Reese <reese@isn.net>
14930 * lyx_cb.C: change CheckTex error msg.
14932 2001-10-03 José Matos <jamatos@fep.up.pt>
14934 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14936 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14938 * .cvsignore: update
14940 * lyx_main.C (commandLineVersionInfo): use new style version info.
14942 * buffer.C (writeFile):
14944 (makeLinuxDocFile):
14945 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14947 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14949 * version.h: update to use stuff in version.C
14951 * version.C.in: new file. Contains version information determined
14952 at compile time. This is a merging of version.h and
14955 2001-10-03 Juergen Vigna <jug@sad.it>
14957 * BufferView_pimpl.C (update): don't change "dirty" status in
14960 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14962 * WorkArea.C (c-tor): re-position version string slightly.
14964 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14966 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14967 revert to previous code.
14969 WorkArea.[Ch]: (show, destroySplash): methods removed.
14971 WorkArea.C: rework code so that it's an amalgam of the codes before and
14972 after the splash screen was moved to WorkArea.
14974 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14977 * vspace.C (inPixels):
14980 * buffer.C (insertStringAsLines):
14981 (asciiParagraph): fix types to be large enough
14983 * lyxlex_pimpl.h: change member status from short to int
14985 * layout.h: fix type of endlabeltype
14988 * kbsequence.C (parse): change return type to string::size_type
14990 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14993 * Bullet.C (bulletSize):
14994 (bulletEntry): do not use short ints as parameters
14996 * BufferView2.C (insertLyXFile): change a char to an int.
14998 * WorkArea.C (WorkArea): remove unneeded floats in computation
15000 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15002 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15004 * paragraph.C (asString): Do not ignore newline/hfill chars when
15005 copying to the clipboard.
15007 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15009 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15010 after a multi-line inset.
15012 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15014 * paragraph.C (validate): Set NeedLyXFootnoteCode
15016 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15018 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15019 and decrease-error to decrease.
15021 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15023 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15024 it more readable (should be equivalent)
15026 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15028 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15030 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15032 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15033 of a cursor (row, etc.) after a character has been deleted
15034 (deleteEmptyParagraphMechanism): call the method above on _all_
15035 cursors held by the LyXText when a double space has been
15038 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15040 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15042 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15044 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15045 background. Use greyOut() and the new show() methods to toggle between
15046 the foreground and background. Add code to remove the splash after
15047 its initial showing.
15049 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15050 (create_forms): no longer call Dialogs::showSplash.
15052 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15054 * .cvsignore: add version_info.h
15056 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15058 * version_info.h.in: new file
15060 * Makefile.am: add version_info.h.in
15062 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15063 version_info.h instead of VERSION_INFO
15065 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15067 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15068 The ERT inset now returns string().
15070 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15072 * lyxtext.h, text.C (selectNextWord): renamed as
15073 selectNextWordToSpellcheck.
15075 * text.C (selectNextWordToSpellcheck): Modified to not select
15076 words inside an ERT inset.
15078 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15080 * lyx_cb.C (MenuLayoutSave): change a bit the question
15082 * sp_base.h: include <sys/types.h>
15084 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15086 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15088 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15090 * several files: fix typos in user-visible strings
15092 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15094 * text2.C (pasteSelection): do not set the selection, since it
15095 will be cleared later. Actually, the intent was to fix the way the
15096 selection was set, but I figured rmoving the code was just as good.
15098 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15100 * FontLoader.C (available): Check if font is available without
15103 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15105 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15107 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15109 * lyxrc.[Ch]: added display_graphics variable and associated code.
15111 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15113 * bufferparams.C (hasClassDefaults): new method. Returns true if
15114 the buffer parameters correspond to known class defaults
15116 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15118 * XFormsView.C (show): set minimum size to the main window.
15120 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15122 * text2.C (copySelection):
15124 * lyxfind.C (LyXReplace):
15125 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15126 LyXText::selectionAsString.
15128 * paragraph.C (asString): add "label" argument to the second form
15130 * text2.C (selectionAsString): add "label" argument and pass it to
15131 Paragraph::asString.
15133 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15135 * lyx_main.C (commandLineHelp): remove version information
15137 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15139 * lyx_main.C: add -version commandline option
15141 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15143 * paragraph.h: make the optional constructor arg required instead.
15144 some modifications to other files because of this.
15146 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15148 * lyxserver.C (C_LyXComm_callback): make it static
15150 * lyx_main.C (error_handler): make it static
15152 * lyx_gui.C (LyX_XErrHandler): make it static
15154 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15156 * WorkArea.C: make the extern "C" methods static.
15158 * Makefile.am (lyx_LDADD): simplify
15160 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15162 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15163 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15165 * LyXAction.C (init):
15166 * lyxfunc.C (dispatch): associated code removal.
15168 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15170 * lyxfont.h (isSymbolFont): shut off warning
15172 * text.C (setHeightOfRow):
15173 (getVisibleRow): fix crash with empty paragraphs which have a
15176 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15178 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15181 2001-09-04 José Matos <jamatos@fep.up.pt>
15184 * tabular.C (docbook): rename docBook method to docbook.
15186 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15188 * Makefile.am: add dependencies to main.o.
15190 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15192 * FontLoader.C (available): Return false if !lyxrc.use_gui
15194 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15196 * FontInfo.C (query):
15197 * converter.C (view):
15198 * importer.C (Import):
15199 * exporter.C (Export): Can not -> cannot.
15201 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15203 * BufferView_pimpl.C: allow to create index inset even if
15206 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15208 * buffer.C (getLists): replace boost::tie code with an explicit pair
15209 as boost::tie can break some compilers.
15211 * iterators.h: Added a std:: declaration to the return type of
15214 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15216 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15219 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15221 * iterators.[Ch]: New files. Provide paragraph iterators.
15223 * buffer.C (changeLanguage): Use paragraph iterators.
15224 (isMultiLingual): ditto
15226 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15228 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15230 * FontLoader.C: Support for cmr font.
15232 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15234 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15235 (available): New method.
15237 * FontInfo.C (getFontname): Use scalable fonts even when
15238 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15241 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15243 * converter.C (Formats::view): reverted! Incorrect fix.
15245 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15247 * converter.C (Formats::view): only output the -paper option
15248 if the dvi viewer is xdvi, thereby fixing bug #233429.
15250 2001-08-23 Herbert Voss <voss@perce>
15252 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15254 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15256 * Spacing.h (Spacing): Set space to Default on in the default
15259 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15261 * vc-backend.h (RCS::versionString): add RCS to version
15262 (CVS::versionString): add CVS to version
15264 * vc-backend.C (scanMaster): do not add CVS to version.
15265 (scanMaster): do not add RCS to version
15267 * lyxvc.C (versionString): new method
15269 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15271 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15273 * Spacing.C (set): initialize fval
15275 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15277 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15280 2001-08-16 Juergen Vigna <jug@sad.it>
15282 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15284 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15286 * BufferView_pimpl.C:
15289 * text2.C: setParagraph takes linespacing now
15291 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15293 * LyxAction.C: add internal LFUN_CITATION_INSERT
15295 * LyXView.C: actually apply fix
15297 * bufferlist.C: fix open non-existent file
15299 * lyxfind.C: fix indentation
15301 * lyxfunc.C: remove unneeded assert, fix typo
15303 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15305 * MenuBackend.C: use "Floatname List"
15307 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15309 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15310 when converting LaTeX layout to insetERT.
15311 Generate a non-collapsed float when reading old float
15313 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15315 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15318 2001-08-13 Juergen Vigna <jug@sad.it>
15320 * text.C (fill): return 0 instead of 20 as this seems to be the more
15323 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15325 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15328 2001-08-13 Juergen Vigna <jug@sad.it>
15330 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15332 (SearchBackward): comment out the unlocking of the inset_owner this
15333 should not be needed!
15335 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15337 * Many files: Remove inherit_language, and add latex_language
15339 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15340 collapsible insets.
15342 2001-08-10 Juergen Vigna <jug@sad.it>
15344 * text.C (prepareToPrint): fixed hfill-width in draw!
15346 * BufferView2.C (selectLastWord): save the selection cursor as this
15347 now is cleared in the function LyXText::clearSelection!
15349 2001-08-08 Juergen Vigna <jug@sad.it>
15351 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15352 BACKSPACE type functions.
15354 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15355 is only cutted from the document but not put in the cut-buffer, where
15356 still the old stuff should be.
15358 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15360 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15362 * tabular.C (SetWidthOfCell): fixed special case where the width
15364 (LeftLine): handle '|' in align_special.
15366 (LeftAlreadyDrawed): ditto
15367 (SetWidthOfCell): ditto
15369 2001-08-07 Juergen Vigna <jug@sad.it>
15371 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15373 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15375 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15376 * lyxlex.[hC]: ditto
15378 2001-08-06 Juergen Vigna <jug@sad.it>
15380 * text.C (getVisibleRow): fix up row clearing a bit.
15382 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15384 * minibuffer.C: make sure the X server sees the changes in the input.
15386 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15388 * paragraph.C (getFont): split into...
15389 (getLabelFont): this
15390 (getLayoutFont): and this
15391 * paragraph_pimpl.C (realizeFont): calling this
15393 * text2.C (getFont): split into...
15394 (getLayoutFont): this
15395 (getLabelFont): and this
15396 (realizeFont): all three calling this
15398 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15401 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15403 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15405 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15407 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15408 layouts from the Quote inset insertion.
15410 2001-08-03 Juergen Vigna <jug@sad.it>
15412 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15414 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15415 only if status not is already CHANGED_IN_DRAW (second level).
15417 * text.C (draw): don't set the need_break_row when inside an
15420 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15422 * buffer.C (parseSingleLyXformat2Token): handle more latex
15425 * bufferview_funcs.[hC]: change function names to
15426 begin with small char, adjust other files.
15428 2001-08-02 André Pönitz <poenitz@gmx.net>
15431 BufferView_pimpl.C: remove broken special code for math-greek
15433 2001-08-02 Juergen Vigna <jug@sad.it>
15435 * BufferView_pimpl.C (update): redone this function so that we
15436 update the text again if there was a CHANGE_IN_DRAW.
15438 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15439 (drawFromTo): added a new internal bool which is used by draw() and
15441 (general): some cursor drawing problems fixed.
15443 2001-08-01 Juergen Vigna <jug@sad.it>
15445 * lyxfind.C (LyXFind): fixed
15446 (SearchForward): ditto
15447 (SearchBackward): ditto
15449 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15450 spurius drawing of the cursor in the main area.
15452 * text2.C (status): small fix which could lead to a segfault!
15453 (clearSelection): remove unneeded BufferView param.
15455 2001-08-01 André Pönitz <poenitz@gmx.net>
15457 * lyxfunc.C: small change due to changed mathed interface
15459 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15461 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15463 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15465 * lyxfunc.c: fail gracefully if file doesn't exist
15470 * BufferView_pimpl.C: IsDirWriteable() proto changed
15472 * LyXView.C: fix updateWindowTitle() to store the last title
15474 2001-07-31 Juergen Vigna <jug@sad.it>
15476 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15477 the font (wrong since using of Paragraph::highestFontInRange).
15479 * paragraph.C (highestFontInRange): added a default_size parameter.
15481 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15482 (setHeightOfRow): reformat
15484 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15486 * converter.[hC] + affected files: move to (inital-char)lowercase
15489 * ParagraphParameters.C (ParagraphParameters): remove commented code
15491 * PainterBase.[Ch]: remove commented code
15493 * LaTeXFeatures.h: add "bool floats" for float.sty
15495 * LaTeXFeatures.C (LaTeXFeatures): init floats
15496 (require): handle float
15497 (getPackages): do it with floats
15499 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15501 * BufferView_pimpl.C (Dispatch): improve handling of
15502 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15504 * commandtags.h: #include lyxfont.h here temporarily to avoid
15507 * bufferlist.h: include LString.h here.
15509 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15511 * text2.C (getStringToIndex): new method.
15513 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15515 * *: Reduced header file dependencies all over.
15517 2001-07-30 Baruch Even <baruch@lyx.org>
15519 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15521 2001-07-29 Baruch Even <baruch@lyx.org>
15523 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15525 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15527 * ParameterStruct.h (endif): add a default constructor to make
15528 sure that all variables is initialized.
15530 * ParagraphParameters.C (ParagraphParameters): adjust
15532 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15534 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15535 index; also, check that there is something to index, and that it
15536 does not span over several paragraphs.
15537 (doubleClick): use WHOLE_WORD_STRICT for double click.
15539 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15541 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15544 2001-07-26 Baruch Even <baruch@lyx.org>
15546 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15547 an InsetFig figure, backwards compatible reading of old figure code.
15549 2001-07-27 Juergen Vigna <jug@sad.it>
15551 * text2.C: font.realize function adaption.
15553 * text.C (draw): add a warnings lyxerr text if needed.
15555 * layout.C: font.realize function adaption.
15557 * language.C: add inherit_language and implement it's handlings
15559 * bufferview_funcs.C (StyleReset): remove language parameter from
15560 font creation (should be language_inherit now).
15562 * bufferparams.C (writeFile): handle ignore_language.
15564 * paragraph.C (getFontSettings): the language has to be resolved
15565 otherwise we have problems in LyXFont!
15567 * lyxfont.C (lyxWriteChanges): added document_language parameter
15568 (update): removed unneeded language parameter
15570 * paragraph.C (validate): fixed wrong output of color-package when
15571 using interface colors for certain fonts in certain environments,
15572 which should not seen as that on the final output.
15574 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15576 * BufferView_pimpl.C:
15581 * LyXAction.C: add thesaurus support
15584 * lyxfind.C: add "once" parameter, for thesaurus, to not
15585 move to the next match
15587 2001-07-26 Juergen Vigna <jug@sad.it>
15589 * lyxfont.C (realize): honor ignore_language too!
15592 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15594 * text.C (draw): one place more for ignore_language to not draw
15597 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15599 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15601 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15603 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15604 the minipage conversion problem.
15606 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15608 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15611 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15613 * BufferView.h: don't forward declare WorkArea
15615 * BufferView.C: don't include WorkArea.h
15617 2001-07-25 André Pönitz <poenitz@gmx.net>
15621 * lyxfunc.C: new LFUN 'math-space'
15623 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15625 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15627 * text2.C (toggleInset): call open/close
15629 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15631 * lyxfunc.C (dispatch): add debug for the disabled case
15633 * font.C (buttonText): make similar to rectText
15635 * buffer.C (readInset): comment out parsing of insetlist and
15638 * PainterBase.C (rectText): small correction
15640 * BufferView_pimpl.C: comment out insettheorem and insetlist
15641 * LyXAction.C: ditto
15642 * commandtags.h: ditto
15644 2001-07-24 Juergen Vigna <jug@sad.it>
15646 * text.C (draw): honor the ignore_language.
15648 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15650 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15652 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15655 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15657 * lyxtext.h: remove unused (and unimplemented) methods
15659 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15661 * text.C (getVisibleRow): honor background color
15664 * Painter.h: remove default color argument for fillRectangle
15666 * text.C (backgroundColor): new method
15668 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15670 * text.C (getVisibleRow): adjust
15672 * font.[Ch] (rectText): new method, metrics
15673 (buttonText): new method, metrics
15675 * PainterBase.[hC]: make rectText and buttonText always draw and take
15678 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15680 * ToolbarDefaults.C (read):
15681 * MenuBackend.C (read): allow escaping in all strings
15683 * BufferView_pimpl.C (insertAndEditInset): new method.
15684 (Dispatch): use insertAndEditInset whenever appropriate.
15686 * BufferView_pimpl.C (insertNote): removed
15688 * BufferView_pimpl.C (smartQuote): new method, moved from
15689 BufferView; if an insetquote cannot be inserted, insert a '"'
15692 * BufferView2.C: remove insertCorrectQuote();
15694 * lyxfunc.C (getStatus): Add support for all remaingin
15695 inset-insert lfuns.
15697 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15699 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15700 command (necessary to pass " as parameter of self-insert.
15702 * text.C (selectWordWhenUnderCursor):
15703 (selectWord): add word_location parameter
15704 (selectWordWhenUnderCursor): same + remove special code for word
15706 (selectNextWord): use kind() to guess type of insetspecialchar,
15709 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15710 (insertErtContents): create ert insets as collapsed.
15711 (readInset): better compatibility code for Info inset.
15713 2001-07-20 Juergen Vigna <jug@sad.it>
15715 * lyxfunc.C (dispatch): use always LyXFind now!
15717 * text2.C (init): add a reinit flag so that the LyXText can be
15718 reinited instead of deleted and reallocated (used in InsetText).
15720 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15726 2001-07-18 Juergen Vigna <jug@sad.it>
15728 * text.C (selectNextWord): handle insets inside inset by calling
15729 always the bv->text functions so that we can go up the_locking_inset!
15731 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15732 in strange locations when inside an inset!
15734 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15735 handling to include insets.
15737 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15739 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15741 * LyXAction.C (init):
15743 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15744 LIGATURE_BREAK, since the name is so stupid.
15746 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15748 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15751 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15753 * sp_form.[Ch]: remove.
15755 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15757 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15760 * src/buffer.C (readInset): ditto.
15762 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15764 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15765 menuSeparator(), endOfSentenceDot(), ldots() and
15766 hyphenationPoint(), which are therefore removed.
15767 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15769 * LyXAction.C (init):
15770 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15772 * paragraph.C (getWord): removed.
15774 * BufferView_pimpl.C (Dispatch): use last word or selection for
15775 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15777 * lyx_main.C (queryUserLyXDir): do not ask before creating
15778 user_dir, except if it has been named explicitely.
15780 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15782 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15783 a document of zero size.
15785 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15787 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15788 approriately in the c-tor and in require().
15789 (getPackages): output the appropriate LaTeX for natbib support.
15791 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15792 variables "use_natbib" and "use_numerical_citations" when reading the
15794 (readInset): read the various natbib cite commands.
15795 (validate): white-space change.
15797 * bufferparams.[Ch]: new variables "bool use_natbib" and
15798 "bool use_numerical_citations".
15799 (writeFile): output them in the LyX file.
15801 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15803 * lyxfunc.C (getStatus): add support for all the inset insertion
15806 * text2.C (insertInset):
15807 * paragraph.C (insetAllowed):
15808 * BufferView_pimpl.C (insertInset): update to take in account the
15809 renaming of insertInsetAllowed
15811 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15813 * text2.C (getInset): new method. returns inset at cursor position.
15815 * BufferView_pimpl.C (Dispatch): changes because of this.
15817 * LyXAction.C (init): rename open-stuff to inset-toggle.
15819 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15821 * text2.C (toggleInset): renamed from openStuff; use
15824 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15826 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15828 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15830 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15832 * buffer.C (readLyXformat2): Add filename to the error dialog
15834 2001-07-18 Juergen Vigna <jug@sad.it>
15836 * tabular.C (GetCellNumber): put an assert here instead of the check!
15838 2001-07-17 Juergen Vigna <jug@sad.it>
15840 * BufferView_pimpl.C (toggleSelection): adapted too.
15842 * text.C (selectNextWord): adapted for use with insets.
15843 (selectSelectedWord): ditto
15845 2001-07-17 Juergen Vigna <jug@sad.it>
15847 * sp_spell.C (PSpell): fix initialitation order.
15849 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15851 * paragraph.C: spacing
15853 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15855 * sp_spell.C: repair language selection for pspell
15857 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15859 * lyxfunc.h: change more methods to begin with lower char.
15861 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15863 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15864 for unknown layouts.
15866 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15868 * buffer.C (readLyXformat2): Generate an error dialog if there are
15871 2001-07-16 Juergen Vigna <jug@sad.it>
15873 * sp_spell.C: always compile ISpell part.
15875 * lyxrc.C: added use_pspell entry and it's handling.
15877 2001-07-13 Juergen Vigna <jug@sad.it>
15879 * sp_spell.C: removed double includes.
15881 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15883 Consistent use of Lsstream.h:
15884 * Lsstream.h: added using std::stringstream for consistencies sake.
15886 * buffer.C: removed using std::stringstream
15888 * lyxfont.C (stateText):
15889 * paragraph.C (asString):
15890 * text.C (selectNextWord, selectSelectedWord):
15891 * text2.C (setCounter):
15892 * vspace.C (asString, asLatexString):
15893 std::ostringstream -> ostringstream.
15895 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15897 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15898 * commandtags.h: add LFUN_HELP_ABOUTLYX
15899 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15901 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15903 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15905 * lyx_gui_misc.C: remove spellchecker
15906 * lyxfunc.C: showSpellchecker
15908 * sp_ispell.h: added
15909 * sp_pspell.h: added
15910 * sp_spell.C: added
15911 * sp_form.[Ch]: removed
15912 * spellchecker.[Ch]: removed
15914 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15916 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15918 (simpleTeXSpecialChars): Simply print the input character without
15919 any special translation if pass_thru is set.
15921 * layout.h: Added bool pass_thru to layout class for being able to
15922 implement pass through of a paragraph for Literate Programming.
15924 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15925 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15926 * layout.C (Read): add "passthru" to list of layout tags and add
15927 code to set the pass_thru boolean when it is read.
15929 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15931 * trans_decl.h: remove allowed from KmodInfo
15933 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15934 remove allowed code
15937 * paragraph_pimpl.C (erase): use boost::prior
15939 * Painter.C (text): use data() instead of c_str() when length is
15941 * WorkArea.C (putClipboard): ditto
15942 * font.h (width): ditto
15944 * BufferView2.C: use it-> instead of (*it). for iterators
15946 * paragraph_pimpl.C: ditto
15947 * paragraph.C: ditto
15948 * minibuffer.C: ditto
15949 * language.C: ditto
15951 * encoding.C: ditto
15952 * counters.C: ditto
15953 * converter.C: ditto
15955 * Variables.C: ditto
15956 * TextCache.C: ditto
15957 * MenuBackend.C: ditto
15958 * LyXAction.C: ditto
15960 * FloatList.C: ditto
15961 * DepTable.C: ditto
15962 * ColorHandler.C (LyXColorHandler): ditto
15964 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15966 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15968 * text2.C (openStuff): reintroduce this method (which had been
15969 nuked in NEW_INSETS frenzy).
15971 * lyxfunc.C (Dispatch): when an action has not been handled, use
15972 its name in the error message, not its number.
15974 * paragraph.C (inInset): change method name to begin with lowercase.
15977 * text2.C: updates because of this.
15979 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15981 * ToolbarDefaults.C (add): add spaces in error message
15983 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15985 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15986 (readLyXformat2): rename return_par to first_par, use lyxlex's
15987 pushToken and remove the manual push handling.
15988 (parseSingleLyXformat2Token): add another ert comp. variable:
15989 in_tabular, rename return_par to first_par. handle newlines better
15991 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15993 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15995 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15997 * text2.C (getParFromID): removed
15999 * buffer.C (getParFromID): new method moved form lyxtext.
16000 * BufferView2.C (insertErrors): adjust
16001 (setCursorFromRow): adjust
16002 * BufferView_pimpl.C (restorePosition): adjust
16003 * lyxfunc.C (Dispatch): adjust
16004 * undo_funcs.C (textUndo): adjust
16006 (textHandleUndo): adjust
16007 (textHandleUndo): adjust
16009 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16011 * buffer.C: up' the LYX_FORMAT
16013 * lyxfont.h: turn NO_LATEX on as default
16015 * buffer.C (insertErtContents): new methods of tex style compability.
16016 (parseSingleLyXformat2Token): use it several places.
16017 * tabular.C (OldFormatRead): and here
16019 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16021 * text2.C: remove some commented code.
16024 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16025 * trans.C: changes because of the above.
16027 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16029 * text2.C (setCounter): Fix counters bug with bibliography layout.
16031 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16033 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16034 own member functions
16035 (simpleTeXSpecialChars): ditto
16037 2001-07-06 Juergen Vigna <jug@sad.it>
16039 * a lot of files: changed the access to LyXText::status and the
16040 call of undo-functions.
16042 * undo.[Ch]: added a inset_id to the undo informations.
16044 * undo_funcs.[Ch]: added and moved here all undo functions.
16046 * lyxtext.h: give the status enum a weight, made status_ a private
16047 variable and made accessor functions for it, removed the whole bunch
16048 of undo-functions as they are now in their own file, make some
16049 functions publically available. Added function ownerParagraph with
16052 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16053 made InInset() a const function, added getParFromID() function.
16055 * buffer.[Ch]: added const version for inset_iterator functions,
16056 added getInsetFromID() function.
16058 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16059 changed undo functions for new version.
16061 2001-07-05 Juergen Vigna <jug@sad.it>
16063 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16064 unknow mechanism does not call the proper constructor but only this
16065 one also if I request the other!?
16067 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16069 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16071 * text2.C (LyXText): use initialization lists.
16073 * lyxtext.h (Selection): initialize set_ and mark_
16074 (init): remove method
16076 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16078 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16080 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16082 * screen.[Ch]: change method names to begin with lowercase
16084 * BufferView_pimpl.C (updateScrollbar): simplify further and
16085 hopefully make it a bit faster.
16087 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16089 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16090 calling directly xforms functions.
16092 * Painter.C (Painter):
16093 * lyx_cb.C (MenuWrite):
16094 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16097 * lyx_gui.C: remove bogus guiruntime extern declaration.
16099 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16101 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16103 (redoDrawingOfParagraph): ditto
16104 (redoParagraphs): ditto
16105 (cutSelection): don't create a object for CutAndPaste use the
16106 static method directly
16107 (pasteSelection): ditto
16109 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16112 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16114 * modifications to some other files because of this.
16116 * Makefile.am (lyx_SOURCES): add XFormsView
16118 * XFormsView.[Ch]: new files
16120 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16121 the main window. Move the gui dependent stuff to XFormsView
16123 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16125 * tabular.C (GetCellInset): update cur_cell also in the row/col
16126 version of this function.
16128 * lyxfunc.C: no need to include figure_form.h here.
16134 * lyxvc.C: no need to include forms.h here.
16136 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16138 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16140 * lyxfunc.C (Dispatch):
16142 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16143 constructor argument.
16145 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16147 * paragraph.C (Paragraph): dont't clear, and just set layout.
16148 (makeSameLayout): use params's copy contructor.
16150 * ParagraphParameters.[Ch] (makeSame): delete method
16152 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16154 * Variables.[Ch]: fix indentation, rename set to isSet
16156 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16158 * lyxfunc.C (Dispatch): fix typo
16160 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16162 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16165 * bufferlist.C: include assert.h for emergencyWrite().
16167 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16169 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16170 give up at last (bug #425202) !
16172 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16178 * spellchecker.C: strip spellchecker options and bring up
16179 preferences tab instead
16181 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16183 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16184 the istringstream constructor
16186 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16188 * paragraph.C (getLayout): fix return value
16190 * paragraph.h: do not declare getLayout as inline.
16192 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16194 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16196 * lyxcursor.h (operator<): new func
16197 (operator>): new func
16198 (operator>=): new func
16199 (operator<=): new func
16201 * text.C (changeCase): use selection.start and selection.end
16202 (changeRegionCase): require from to be <= to. Require par to be a
16205 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16207 2001-06-27 Juergen Vigna <jug@sad.it>
16209 * text.C (cursorLeftOneWord): changed to return the cursor and added
16210 overlay with BufferView * parameter which calls this one.
16212 (selectWord): use new getWord function.
16213 (changeCase): renamed from changeWordCase as and extended to work
16214 also on selections.
16216 * lyxtext.h: added enum word_location
16218 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16219 changeCase as this operates now also on selections.
16221 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16223 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16225 * many files: send debug output to Debug::INFO instead of
16228 * converter.C (View):
16230 (Move): send debug output to Debug::FILES instead of console.
16232 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16234 * lyxfunc.C (getStatus): use func_status
16236 * func_status.h: new header, describing the results of
16237 LyXFunc::getStatus;
16239 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16242 2001-06-25 The LyX Project <jug@sad.it>
16244 * buffer.C (sgmlOpenTag):
16246 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16248 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16250 * text2.C: remove some dead code
16252 * tabular.C (GetCellInset): store the last cell checked (gotten)
16254 * tabular.h: add the helper for the speedup
16256 * lyxtext.h: remove some dead code
16258 2001-06-26 The LyX Project <Asger>
16260 * paragraph.C: Change export to LaTeX of alignment to
16261 \begin{center} and family for better roundtrip work with reLyX.
16263 * Tune the math drawing a bit.
16265 2001-06-25 The LyX Project <Asger>
16267 * LColor.C (LColor): New color for math background. New color
16270 2001-06-25 The LyX Project <jug@sad.it>
16272 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16274 * lyxfunc.C (Open):
16275 * bufferlist.C (newFile): do not restrict to files ending with
16278 * BufferView_pimpl.C (MenuInsertLyXFile):
16280 2001-06-24 The LyX Project <jug@sad.it>
16282 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16285 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16287 * lyxtext.h: rename most methods to begin with a small char.
16288 Lots of changes because of this.
16290 * paragraph.C (Paragraph): do not call fitToSize
16291 (erase): call Pimpl::erase
16292 (insertChar): call Pimpl::insertChar
16293 (insertInset): call Pipl::insertInset
16294 (breakParagraph): do not call fitToSize
16295 (breakParagraphConservative): do not call fitToSize
16296 (fitToSize): remove method
16298 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16300 2001-06-24 The LyX Project <Asger>
16302 * Fix Qt compilation^2
16304 2001-06-24 The LyX Project <jug@sad.it>
16306 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16307 depthHook(getDepth()-1).
16310 * ParagraphParameters.h:
16311 * ParameterStruct.h: change type of depth to unsigned int ==
16312 depth_type. Many adaptations to other files before of that.
16314 2001-06-24 The LyX Project <Asger>
16316 * Fix Qt compilation.
16318 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16320 * paragraph.h: renamed several methods to begin with small letter.
16321 several changes to many parts of the code because of this.
16323 2001-06-23 The LyX Project <jug@sad.it>
16325 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16326 rewritten to discard all double spaces when KeepEmpty is off
16327 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16328 to only handle newlines but not fiddle with spaces and friends.
16330 * lyxfunc.C (MenuNew): when doing 'new from template', use
16331 template_path as default directory
16333 2001-06-23 The LyX Project <Asger>
16335 * Clean-up of header file includes all over
16336 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16338 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16340 * paragraph.h: renamed from lyxparagraph.h
16342 2001-06-23 Asger <lyx@violet.home.sad.it>
16344 * Buffer.h: Removed Buffer::resize
16345 * BufferList.h: Removed BufferList::resize
16346 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16347 the document lazily when we change the width, or the font settings.
16349 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16351 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16353 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16355 * buffer.h: remove out of date comment
16357 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16360 * screen.C: fix "theoretical" GC leak
16362 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16364 * LaTeX.C (scanAuxFile):
16365 (deplog): remove trailing \r when reading stream (useful under
16368 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16370 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16371 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16372 and BufferView::theLockingInset(Inset*), so should use them and not
16373 access bv_->text->the_locking_inset directly.
16375 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16377 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16380 * tex-defs.h: remove old unused file
16382 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16384 * BufferView_pimpl.C: fix typo, remove minibuffer message
16385 when buffer has loaded
16387 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16389 * lyxfunc.C (Dispatch): use stringstream
16390 (MenuNew): use stringstream
16391 (Open): use stringstream
16393 * importer.C (Import): use stringstream
16395 * bufferview_funcs.C (CurrentState): use stringstream
16397 * LaTeX.C (run): use stringstream
16399 * BufferView_pimpl.C (savePosition): use stringstream
16400 (restorePosition): use stringstream
16401 (MenuInsertLyXFile): use stringstream
16403 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16416 * vspace.C: removed // -*- C++ -*- as first line.
16419 * version.h: added // -*- C++ -*- as first line.
16421 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16423 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16425 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16428 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16430 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16433 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16435 * gettext.C: include LString.h even when --disable-nls is on.
16437 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16439 * converter.h (Get): changed argument type from int to
16440 FormatList::size_type to avoid unnecessary conversion.
16442 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16445 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16447 * gettext.h: include LString.h even when --disable-nls is on.
16449 2001-06-07 Juergen Vigna <jug@sad.it>
16451 * text.C (BreakAgain): subst spaces with tabs.
16453 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16454 (resizeInsetsLyXText): set force on resizeLyXText.
16456 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16458 * gettext.h (gettext_init):
16459 (locale_init): use a real definition instead of a macro
16461 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16463 * Bufferview_pimpl.C:
16465 * LColor.C: further lcolor tidies
16467 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16469 * BufferView_pimpl.C (updateScrollbar): simplify.
16471 * BufferView2.C: don't include insets/insetinfo.h, change
16472 prototype for insertInset and call the Pimpl version. let
16473 updateInset call Pimpl version.
16475 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16476 gotoInset to BufferView::Pimpl
16478 2001-06-01 Juergen Vigna <jug@sad.it>
16480 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16481 inside a LockingInset (is the update needed at all?).
16483 2001-05-31 Juergen Vigna <jug@sad.it>
16485 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16486 here not the old one otherwise how should we compare it afterwards
16489 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16494 * FontInfo.C: bring C functions into global namespace when
16497 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16499 * LString.h: make sure config.h has been loaded before LString.h.
16501 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16502 (one for each char read by EatLine!).
16504 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16507 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16509 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16510 to the same as the par we break from
16512 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16514 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16516 * MenuBackend.C (expand): also create menu entries for wide
16517 versions of the floats.
16519 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16521 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16523 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16524 frontends/Makefile.am
16530 * tabular.C (getTokenValue): add std::
16532 * tabular-old.C (getTokenValue): add std::
16533 (getTokenValue): ditto
16534 (getTokenValue): ditto
16536 * screen.C (ToggleSelection): adjust
16538 * lyxtext.h: put selection cursors inside a Selection struct.
16540 * lyxfunc.C (moveCursorUpdate): adjust
16542 * lyxfont.C (latexWriteStartChanges): add std::
16544 * lyxfind.C: adjust
16546 * font.h: delete with(char const *, LyXFont const &)
16548 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16550 * FontInfo.C (getFontname): add std::
16552 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16553 (workAreaButtonPress): adjust
16554 (tripleClick): adjust
16556 (moveCursorUpdate): adjust
16559 * BufferView2.C (gotoInset): adjust
16561 2001-05-30 Juergen Vigna <jug@sad.it>
16563 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16564 to check pspell I add this as default as I now have new pspell
16565 libraries and they seem to use this.
16567 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16569 * text2.C (CutSelection): make the cursor valid before the call to
16572 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16574 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16575 relied on 0 terminated strings and other horrors. Bug found due to
16576 the new assert in lyxstring!
16578 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16581 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16583 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16586 * lyxfunc.C (processKeySym): change method of getting to the
16589 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16590 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16591 * BufferView_pimpl.[Ch]: here as private methods.
16593 2001-05-28 Juergen Vigna <jug@sad.it>
16595 * text.C (SetHeightOfRow): added the update() call again as it is
16596 needed to initialize inset dimensions!
16598 2001-05-16 Juergen Vigna <jug@sad.it>
16600 * text2.C (SetCharFont): Add new function with BufferView * and
16601 bool toggleall parameters for setting insets internal fonts.
16602 (SetFont): Freeze the undo as we may change fonts in Insets and
16603 all this change should be inside only one Undo!
16605 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16606 setting font's in insets as for them we have the SetFont function!
16608 2001-05-15 Juergen Vigna <jug@sad.it>
16610 * text2.C (ClearSelection): to be sure we REALLY don't have any
16613 * tabular.C (TeXCellPreamble): fixed the left border problem for
16616 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16618 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16621 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16623 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16624 LFUN_BREAKPARAGRAPH.
16626 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16627 help test to "internal only", similar for LFUN_INSERT_URL
16629 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16630 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16631 auto_region_delete and deadkeys.
16633 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16636 * LColor.C: remove some dead entries, tidy a little
16638 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16640 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16642 (Dispatch): implement LFUN_ESCAPE
16644 * commandtags.h: add LFUN_ESCAPE
16646 * LyXAction.C (init): add entry for LFUN_ESCAPE
16648 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16649 Remove commented code.
16650 (insertNote): moved here
16651 (open_new_inset): moved here
16653 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16656 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16658 * kbmap.C (findbinding): clean it up and make it work correctly.
16660 * lyx_main.C (init): do not pass argc and argv as parameters
16662 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16664 * buffer.C: fix path for OS/2 & Win32
16668 * lyx_main.C: Added os:: class.
16670 * os2_defines.h: update
16672 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16674 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16675 better by trying again with reduced state.
16677 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16679 * lyxrc.C (read): print error about invalid key sequence only when
16680 debugging (because not all latinX keysyms are known to some X
16683 * kbsequence.C (getiso): add a few std:: qualifiers
16684 (getiso): comment out extra return statement.
16686 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16688 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16690 (Dispatch): enhance the accent inset a bit. (not perfect)
16692 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16694 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16696 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16698 * bufferlist.C (emergencyWrite): fix assert() call
16700 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16702 * text.C (InsertChar): Added trivial patch to only send the "you
16703 can not do multiple spaces this way" message once during a
16706 2001-05-08 Baruch Even <baruch@lyx.org>
16708 * Makefile.am: Changed order of libraries to get LyX to link properly
16709 with the gnome frontend.
16711 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16713 * LaTeXFeatures.h: add a std:: qualifier
16715 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16717 * paragraph.C (String): use stringstream
16719 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16721 * paragraph.C (writeFile): remove footflag arg
16723 * buffer.C (makeLaTeXFile): use stringstream
16724 (latexParagraphs): remove footnot gurba
16726 * LaTeXFeatures.C (getPackages): use stringstream
16727 (getMacros): likewise
16728 (getTClassPreamble): likewise
16729 (getFloatDefinitions): new method
16731 * paragraph.C (writeFile): reindent
16734 * WorkArea.h: revert the xpos + etc changes.
16736 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16738 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16740 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16741 (pasteSelection): likewise
16742 * text2.C (CreateUndo): likewise
16744 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16746 * minibuffer.C (peek_event): temporarily reduce the functionality
16747 of the minibuffer (to allow args on lfuns)
16749 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16750 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16752 * buffer.C (readInset): add compability reading of old float
16753 lists, add reading of new style float list.
16754 (readInset): avoid reevaluation of inscmd.getCmdName()
16755 (getLists): reindent
16757 * MenuBackend.C (MenuItem): implement parsing of
16758 md_floatlistinsert and md_floatinsert.
16759 (expand::LastFiles): move initalizaton of iterators out of loop,
16760 avoid reevaluation.
16761 (expand::Documents): introduce typdedef vector<string> Strings,
16763 (expand::ExportFormats): introduce typedef vector<Format const *>
16764 Formats, and use it.
16765 (expand): implement FloatListInsert and FloatInsert.
16767 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16768 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16769 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16771 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16773 (Dispatch::LFUN_FLOAT_LIST): implement
16775 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16777 * LaTeX.C (run): Fix problem with --export code.
16779 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16781 * BufferView.[Ch] (workarea): removed.
16782 (getClipboard) new method; wrapper for workarea()->getClipboard()
16784 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16787 * WorkArea.h (width, height, xpos, ypos): These methods all
16788 returned the dimensions of the work_area sub-area of WorkArea,
16789 resulting in a position error if the WorkArea were resized. Now
16790 return the dimensions of the entire WorkArea.
16792 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16794 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16796 * LaTeX.C (deplog): correct the syntax of regex reg1
16798 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16800 * undo.C: remove !NEW_INSETS cruft
16802 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16804 * text2.C: remove !NEW_INSETS cruft
16806 * text.C: remove !NEW_INSETS cruft
16808 * tabular.C: remove !NEW_INSETS cruft
16810 * spellchecker.C: remove !NEW_INSETS cruft
16812 * lyxtext.h: remove !NEW_INSETS cruft
16814 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16816 * lyxfunc.C: remove !NEW_INSETS cruft
16818 * lyxfind.C: remove !NEW_INSETS cruft
16820 * lyx_cb.C: remove !NEW_INSETS cruft
16822 * figureForm.C: remove !NEW_INSETS cruft
16824 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16826 * buffer.[Ch]: remove !NEW_INSETS cruft
16828 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16830 * CutAndPaste.C: remove !NEW_INSETS cruft
16832 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16834 * BufferView2.C: remove !NEW_INSETS cruft
16836 * BufferView.h: remove !NEW_INSETS cruft
16838 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16840 * Lsstream.h: include LString.h before the sstream headers to
16841 fix problem with gcc 2.95.3 and lyxstring
16843 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16845 * lyx_main.C: add using directives when needed for C functions
16846 declared in std:: namespace.
16848 2001-04-27 Juergen Vigna <jug@sad.it>
16850 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16851 (SetHeightOfRow): comment out the update call should not be needed!
16853 2001-04-13 Juergen Vigna <jug@sad.it>
16855 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16856 (LyXTabular): tried to minimize operator= operations (and realized
16857 hopfully Lars wish).
16859 2001-04-27 Juergen Vigna <jug@sad.it>
16861 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16863 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16865 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16867 * buffer.C (readInset): hack to make listof algorithm work
16869 * BufferView_pimpl.C: hack to make listof algorithm work
16871 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16873 * LyXAction.C: removed all !NEW_INSETS cruft
16874 (init): moved lfun_item in method
16876 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16878 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16880 * BufferView2.C (theLockingInset): white space.
16882 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16884 * minibuffer.C: include <iostream>
16886 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16888 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16890 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16892 * text.[Ch] (TransposeChars): new method
16894 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16896 * call message directly through LyXView instead of through LyXFunc
16897 * BufferView2.C: adjust
16898 * BufferView_pimpl.C: adjust
16899 * FontLoader.C: adjust
16901 * bufferview_funcs.C: adjust
16902 * converter.C: adjust
16903 * figureForm.C: adjust
16904 * importer.C: adjust
16906 * lyx_gui_misc.C: adjust
16907 * lyxfunc.C: adjust
16910 + more files in subdirs
16912 * lyxparagraph.h (size): move up int file
16915 * adjust all uses of Assert to lyx::Assert.
16917 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16918 lyxfunctional in namespace lyx
16919 * layout.C (hasLayout): ditto
16922 (delete_layout): ditto
16923 (NumberOfClass): ditto
16924 * converter.C (GetFormat): ditto
16929 * bufferlist.C (getFileNames): ditto
16930 (emergencyWriteAll): ditto
16933 * MenuBackend.C (hasSubmenu): ditto
16936 * BufferView_pimpl.C (getInsetByCode): ditto
16938 2001-04-18 Juergen Vigna <jug@sad.it>
16940 * vspace.C (asLatexString): fixed the 100% problem.
16942 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16944 * lyxfunc.C (Dispatch):
16946 * minibuffer.h: add a few std:: qualifiers
16948 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16950 * minibuffer.[Ch]: reimplement so that commands is initiated and
16951 run from lyxfunc, simplified som handling, and made the completion
16952 and history code for complete. wip.
16954 * lyxfunc.C (processKeySym): call message
16955 (miniDispatch): new temporary method
16956 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16957 (LFUN_MESSAGE): implement
16958 (LFUN_MESSAGE_PUSH): implement
16959 (LFUN_MESSAGE_POP): implement
16960 (initMiniBuffer): the initial/defualt minibuffer message.
16962 * lyxfont.[Ch]: inline some more getters
16964 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16966 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16968 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16969 (AutoSave): use LFUN_MESSAGE
16970 (Reconfigure): ditto
16972 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16974 * figureForm.C: use LFUN_MESSAGE
16976 * converter.C (runLaTeX): use LFUN_MESSAGE
16978 * bufferview_funcs.C: use LFUN_MESSAGE
16980 (changeDepth): ditto
16982 * bufferparams.h: use boost::
16984 * bufferlist.h: inherit privately from noncopyable
16986 * bufferlist.C (loadLyXFile): remove some commented code.
16988 * buffer.C (runChktex): use LFUN_MESSAGE
16990 * ShareContainer.h: inherit privately from noncopyable
16992 * ParagraphParameters.[hC] (depth): inline it.
16994 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16996 (message): new method
16997 (messagePush): ditto
16998 (messagePop): ditto
16999 (show): init minibuffer
17000 (showState): direct call
17002 * LaTeX.[Ch]: inherit privately from noncopyable
17003 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17004 instead of WriteStatus.
17006 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17008 * BufferView_pimpl.C (buffer): don't init minibuffer
17009 (workAreaButtonPress): use LFUN_MESSAGE
17010 (workAreaButtonRelease): ditto
17011 (savePosition): ditto
17012 (restorePosition): ditto
17013 (MenuInsertLyXFile): ditto
17014 (workAreaExpose): don't init minibuffer
17015 (update): remove commented code, simplify
17017 * BufferView2.C (openStuff): use LFUN_MESSAGE
17018 (toggleFloat): ditto
17021 (copyEnvironment): ditto
17022 (pasteEnvironment): ditto
17027 (updateInset): remove some commented code
17029 * lastfiles.h: inherit privately from noncopyable
17032 * lyx_main.h: ditto
17034 * lyxlex_pimpl.h: ditto
17036 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17037 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17038 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17040 * LyXAction.h: inherit privately from noncopyable, add methods
17041 func_begin, func_end, returning iterators to the func map.
17043 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17044 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17045 (func_begin): new method
17046 (func_end): new method
17048 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17050 (copySelection): ditto
17051 (pasteSelection): ditto
17053 * BufferView.C: whitespace change
17054 * BufferView.h: inherit privately from noncopyable
17056 2001-04-16 Allan Rae <rae@lyx.org>
17058 * tabular-old.C (l_getline):
17059 * spellchecker.C (sc_check_word):
17060 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17061 an unrecognised preprocessor directive. So ensure they're wrapped.
17063 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17065 * src/exporter.C (Export): Give an error message when path to file
17068 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17070 * LaTeX.C (deplog): Always check that foundfile exists.
17072 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17075 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17077 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17079 * tabular.[Ch] (getLabelList): implement new method
17081 * minibuffer.h: comment ouf setTiimer
17083 * minibuffer.C (ExecutingCB): constify res
17084 (peek_event): constify s
17085 (Set): constify ntext
17086 (Init): constify nicename
17088 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17090 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17091 (savePosition): use two params to Minibuffer::Set
17092 (restorePosition): ditto
17094 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17096 * lyx_main.C: include language.h
17098 * Makefile.am (lyx_main.o): add language.h
17100 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17106 * CutAndPaste.C: include gettext.h
17108 * lyxfont.h: remove old hack with ON and OFF.
17111 * lyxfont.h: do not include language.h...
17116 * bufferview_funcs.C:
17122 * paragraph.C: ... but do it here instead
17124 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17126 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17128 * tabular.C: small reformat
17130 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17133 (BreakParagraph): ditto
17134 (SetOnlyLayout): ditto
17137 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17140 * lastfiles.C: removed most using decl, add std:: where needed
17142 * buffer.C: ws changes
17144 * MenuBackend.C (class compare_format): put into anon namespace
17145 (expand): constify label, names, action, action2
17148 * text.C (SingleWidth): constify font
17149 (IsBoundary): constify rtl2
17150 (GetVisibleRow): constify ww
17152 * LaTeX.C (deplog): constify logfile
17154 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17156 (workAreaExpose): constify widthChange, heightChange
17158 * lyxrow.C (par): moved
17161 * lyxrow.h: as inlines here
17163 * lyxfont.h (shape): moved from lyxfont.C
17164 (emph): moved from lyxfont.C
17166 * lyxfont.C (LyXFont): use initialization list for all
17168 (shape): move to lyxfont.h as inline
17169 (emph): move to lyxfont.h as inline
17172 2001-04-04 Juergen Vigna <jug@sad.it>
17174 * vspace.C: had to include stdio.h for use of sscanf
17176 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17179 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17180 independent of xforms.
17182 2001-04-02 Juergen Vigna <jug@sad.it>
17184 * spellchecker.C: fixed namespace placing!
17186 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17188 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17189 the LyXParagraph * is 0.
17191 2001-03-29 Juergen Vigna <jug@sad.it>
17193 * vspace.C: added support for %, c%, p%, l%.
17194 (stringFromUnit): added helper function.
17195 (asLatexString): changed to give right results for the %-values.
17197 * buffer.C: convert the widthp in a width%.
17199 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17201 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17204 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17205 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17207 * lyx_cb.[Ch]: see above.
17209 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17213 * lyx.[Ch]: replaced by figure_form.[Ch].
17217 * lyxfunc.C: changed headers associated with above changes.
17219 2001-03-27 Juergen Vigna <jug@sad.it>
17221 * BufferView_pimpl.C: set the temporary cursor right!
17223 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17225 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17227 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17229 * LString.h: removed "using std::getline"!
17231 * BufferView_pimpl.C (Dispatch): changes due to changes in
17232 InsetInclude::Params.
17234 * buffer.C (tag_name): removed redundant break statements as they were
17235 producing lots of warnings with my compiler.
17237 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17239 * LString.h: add "using std::getline" when using the real <string>.
17241 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17243 * buffer.C: removed bitset usage.
17244 PAR_TAG moved to an anonymous name space.
17245 (tag_name): new funtion, also in the anonymous namespace.
17246 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17247 (makeDocBookFile): clean code. Completed transition from string arrays
17249 (SimpleDocBookOnePar): code clean.
17251 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17253 * tabular.C: add some comments.
17255 2001-03-22 Juergen Vigna <jug@sad.it>
17257 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17258 compatibility read a bit and fixed bug with minipage in different
17261 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17263 * buffer.C (pop_tag): removed.
17264 (push_tag): removed.
17265 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17266 array replaced with vector. Added support for CDATA sections.
17267 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17269 (makeDocBookFile): XML conformant declaration of CDATA section,
17270 fixed bug related to <emphasis> in the first paragraph char.
17271 (sgmlOpenTag): exclude empty tags.
17272 (sgmlCloseTag): ditto.
17274 * buffer.h (pop_tag): removed.
17275 (push_tag): removed.
17277 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17279 * language.h (Languages): added size_type and size().
17281 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17283 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17284 response on compability reading of minipages. One probliem is that
17285 the old usage of minipages was flertydig
17287 * several files here and in subdirs: don't use static at file
17288 scope use anon namespaces instead.
17290 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17292 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17293 LaTeX output. This is necessary for Literate document
17296 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17298 * buffer.C: insert hfill when needed.
17300 * tabular.C (l_getline): use string::erase, small whitespace change.
17302 * BufferView_pimpl.C: try the anon namespace.
17303 * WorkArea.C: ditto
17305 2001-03-16 Juergen Vigna <jug@sad.it>
17307 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17308 otherwise it won't open options-dialogs.
17310 * buffer.C: honor pextraWidth(p) on converting minipages.
17312 * tabular.C (l_getline): changed the functions to strip trailing \r.
17314 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17316 * BufferView_pimpl.C:
17317 * minibuffer..C: added "using SigC::slot" declaration.
17319 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17321 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17327 * paragraph.C: ditto
17329 * lyxtext.h: NO_PEXTRA
17331 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17333 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17334 * ParameterStruct.h: ditto
17335 * ParagraphParameters.h: ditto
17336 * lyxparagraph.h: ditto
17338 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17340 * buffer.C: add compability for minipage alignment.
17341 (latexParagraphs): remove unwanted pextra check.
17343 * several files: remove CXX_WORKING_NAMESPACES
17345 * buffer.C (pop_tag): tie is in namespace boost
17347 * BufferView.h: noncopyable is in namespace boost
17349 * lyx_main.h: ditto
17352 * lastfiles.h: ditto
17353 * bufferlist.h: ditto
17354 * ShareContainer.h: ditto
17356 * LyXAction.h: ditto
17359 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17361 * Merging changes from BRANCH_MVC back into HEAD.
17363 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17365 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17367 * BufferView_pimpl.C: change from intl.C
17371 * Makefile.am: move combox.*
17377 * intl.C: remove dialog (covered by prefs)
17379 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17381 * lyxfunc.C (Dispatch): removed redundant break statement.
17383 2001-03-14 Juergen Vigna <jug@sad.it>
17385 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17387 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17389 * buffer.C: add hack to fix compability reading of minipages.
17391 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17393 * buffer.C (getLists): Cleanup.
17395 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17397 * lyxfont.C (update): don't honor toggleall on font size.
17399 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17403 * Makefile.am: moved to frontends/xforms/
17407 * BufferView_pimpl.C: changes for moved mathpanel
17409 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17411 * gettext.h: fix gettext_init() in --disable-nls
17413 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17415 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17417 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17420 * lyx.h: strip external form
17422 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17424 * BufferView_pimpl.C: add comment, destroySplash()
17426 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17428 * BufferView_pimpl.C:
17432 * lyxfunc.C: use re-worked insetinclude
17434 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17436 * buffer.C: add using std::stringstream.
17438 * lyx_cb.C: readd using std::ios.
17440 * buffer.C: add using std::map.
17442 * BufferView_pimpl.C: add using std::vector.
17444 * ShareContainer.h: add std:: to swap.
17446 * buffer.h: add some typedefs
17447 * buffer.C (getLists): use them
17448 (getLists): renamed from getTocList.
17449 add a counter for the different float types and use it in the
17451 (getLists): use the same counter for the NEW_INSETS and the "non"
17454 * lyx_cb.h: remove unused items, includes, using etc.
17456 * ShareContainer.h: remove some commented code, add more comments
17457 and "documentation".
17459 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17461 * buffer.C (getTocList): make the list also when NEW_INSETS is
17464 * buffer.h: remove TocType
17466 * buffer.C (getTocList): change to return a map<string,
17467 vector<TocItem> >, implement for dynamic number of list.
17469 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17470 * text2.C (PasteSelection): adjust
17471 * CutAndPaste.C (pasteSelection): adjust
17473 * FloatList.C (FloatList): update from the new_insets branch.
17474 * Floating.[Ch]: ditto
17475 * LaTeXFeatures.C: ditto
17477 * lyxlex_pimpl.C: ditto
17479 * paragraph.C (Last): remove when NEW_INSETS is defined.
17481 * other file: changes because of the above.
17483 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17485 * lyxparagraph.h: rename next to next_, previous to previous_,
17486 make them private for NEW_INSETS. Rename Next() to next(),
17487 Previous() to previous().
17489 * other files: changes because of the above.
17491 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17494 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17497 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17499 * main.C (main): pass lyx_localedir to gettext_init().
17501 * gettext.h: remove locale_init and gettext_init macros
17503 * gettext.C (locale_init): new function
17504 (gettext_init): new function
17506 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17509 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17511 * Moved credits to frontends:
17512 * credits.[Ch]: removed
17513 * credits_form.[Ch]: removed
17514 * lyx_gui_misc.C: remove credits stuff
17517 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17519 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17521 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17522 unneeded destructor.
17524 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17525 a standalone pointer again.
17527 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17529 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17535 * ToolbarDefaults.C:
17544 * BufferView_pimpl.C: use new file dialog in GUII
17547 * lyx_cb.C: remove LayoutsCB to Toolbar
17549 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17551 * ShareContainer.h (get): add std:: qualifier
17553 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17555 * ShareContainer.h: define a proper ShareContainer::value_type
17556 type (and use typename to please compaq cxx)
17558 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17560 * lyxparagraph.h: move serveral local vars to
17561 ParameterStruct/ParagraphParameters., use ShareContainer in
17562 FontTable., make vars in FontTable private and add getter and
17565 * paragraph.C: changes because of the above.
17567 * lyxfont.h: remove copy constructor and copy assignment. (the
17568 default ones is ok), move number inside FontBits. move inlines to
17571 * lyxfont.C: add number to initializaton of statics, move several
17572 inlines here. constify several local vars. some whitespace
17573 cleanup. Dont hide outerscope variables.
17575 * Spacing.h: add two new constructors to match the set methods.
17577 * ShareContainer.h: new file, will perhaps be moved to support
17579 * ParameterStruct.h: new file
17581 * ParagraphParameters.h: new file
17583 * ParagraphParameters.C: new file
17585 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17586 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17588 * BufferView_pimpl.C: ParagraphParameter changes.
17589 * buffer.C: Likewise.
17590 * bufferview_funcs.C: Likewise.
17591 * text.C: Likewise.
17592 * text2.C: Likewise.
17594 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17596 * lyxfind.C (LyXReplace): do not redefine default argument in
17598 (IsStringInText): ditto
17599 (SearchForward): ditto
17600 (SearchBackward): ditto
17602 2001-03-06 Juergen Vigna <jug@sad.it>
17604 * lyxfind.C (IsStringInText): put parentes around expressions.
17606 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17608 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17610 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17612 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17614 * stl_string_fwd.h: add comment
17616 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17619 * tabular.C: remove unused DocBook methods
17625 killed DO_USE_DEFAULT_LANGUAGE
17627 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17629 * lyx_gui.C: do not include language.h.
17631 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17632 arguments in function implementation.
17634 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17636 * BufferView_pimpl.C: add <ctime>
17638 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17640 * BufferView_pimpl.C: add using std::find_if
17642 2001-02-27 José Matos <jamatos@fep.up.pt>
17644 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17647 2001-02-11 José Matos <jamatos@fep.up.pt>
17649 * buffer.C (makeDocBookFile): command styles now have a parameter as
17650 "title" by default.
17652 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17654 * layout_forms.[Ch]: removed
17655 * lyx_cb.[Ch]: out character
17656 * lyx_gui.C: out character
17657 * lyx_gui_misc.C: out character
17658 * bufferview_funcs.C: : out character,
17659 added toggleall as parameter in ToggleAndShow
17661 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17663 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17665 * text2.C (SetCurrentFont): Disable number property at boundary.
17667 2001-02-26 Juergen Vigna <jug@sad.it>
17669 * lyxfunc.C (getStatus): added a string argument override function so
17670 that this is correctly called from LyXFunc::Dispatch if it contains a
17671 do_not_use_argument which is used!
17672 (Dispatch): added check for "custom" export and call appropriate func.
17674 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17676 * lyxrc.C: Add language_command_local, language_use_babel and
17677 language_global_options.
17679 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17681 * buffer.C (makeLaTeXFile): Use language_use_babel and
17682 language_global_options.
17684 2001-02-23 Juergen Vigna <jug@sad.it>
17686 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17687 which works with LyXText and putted it inside BufferView. Here now we
17688 only call for that part the BufferView::Dispatch() function.
17690 * BufferView.C (Dispatch): added.
17692 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17693 functions which needs to use a LyXText over from LyXFunc.
17694 (MenuInsertLyXFile): added
17695 (getInsetByCode): added
17696 (moveCursorUpdate): added
17697 (static TEXT): added
17699 2001-02-22 Juergen Vigna <jug@sad.it>
17701 * BufferView_pimpl.C (update): call a status update to see if LyXText
17704 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17706 * vc-backend.C (revert): implement for CVS
17707 (getLog): implement for CVS
17709 2001-02-20 Juergen Vigna <jug@sad.it>
17711 * text2.C (ClearSelection): added BufferView param for inset_owner call
17713 * lyxfunc.C (TEXT): added this function and use it instead of
17714 directly owner->view()-text of getLyXText().
17716 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17718 * src/layout_forms.C: out preamble
17719 * src/layout_forms.h: out preamble
17720 * src/lyx_cb.C: out preamble
17721 * src/lyx_cb.h: out preamble
17722 * src/lyx_gui.C: out preamble
17723 * src/lyx_gui_misc.C: out preamble
17724 * src/lyxfunc.C: connect with guii preamble
17726 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17728 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17730 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17732 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17733 whether to run bibtex.
17735 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17737 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17739 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17741 * Makefile.am (lyx_SOURCES): removed bibforms.h
17743 * vspace.h: doxygen
17745 * text.C (GetVisibleRow): make several local vars const
17747 * tabular.C: small cleanup.
17749 * lyxserver.C (callback): use compare instead of strncmp
17751 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17752 inlines to after class or to paragraph.C
17754 * lyxfont.h: remove friend operator!=
17756 * converter.h: move friend bool operator< to non friend and after
17759 * combox.h: small cleanup
17761 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17762 to inlines after class def.
17764 * buffer.C (pop_tag): use string operations instead of strcmp
17766 * bmtable.c: doxygen, small cleanup
17768 * LaTeX.h: remove friend operator==
17770 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17782 * BufferView_pimpl.C:
17783 * BufferView.[Ch]: remove cruft
17785 2001-02-14 Juergen Vigna <jug@sad.it>
17787 * lyxfunc.C: removed #if 0 unused code
17789 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17791 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17793 * text2.C (SetSelection): added a BufferView * parameter
17795 2001-02-13 Juergen Vigna <jug@sad.it>
17797 * lyxfunc.C (Dispatch): fixed protected blank problem.
17798 * BufferView2.C (protectedBlank): added LyxText * parameter.
17800 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17801 (AppendColumn): same as above for column_info.
17803 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17804 (moveCursorUpdate): use a LyXText param for support of InsetText.
17806 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17807 (tripleClick): ditto
17809 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17811 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17813 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17815 * text2.C (SetSelection): set correct update status if inset_owner
17816 (ToggleFree): ditto
17818 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17820 * tabular.C: remove some commented code.
17822 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17824 * BufferView_pimpl.C: call hideSplash()
17826 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17829 * bibforms.h: remove
17832 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17833 add LFUN_CHILD_CREATE
17835 * counters.h: fix tiny typo
17840 * lyx.C: move splash to frontends/xforms/
17842 * lyx_gui_misc.C: move Include and Bibform to frontends
17844 * lyxvc.h: clarify comment
17846 * vspace.C: tiny housekeeping
17848 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17850 * text.C (PrepareToPrint): RTL Fix.
17852 * paragraph.C (GetUChar): New method.
17853 (String): Use GetUChar.
17855 * buffer.C (asciiParagraph): Use GetUChar.
17857 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17859 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17861 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17864 * buffer.C: rename to getLogName(), handle
17865 build log / latex log nicely
17867 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17870 * MenuBackend.h: remove support for reference menuitem type.
17872 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17874 * BufferView_pimpl.C: housekeeping
17875 * BufferView_pimpl.h:
17880 * minibuffer.h: move Timeout GUI-I
17882 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17884 * lyxrc.C (read): Update converters data-structures.
17886 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17888 * LaTeX.h (operator!=): add operator != for Aux_Info
17890 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17892 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17894 * LaTeXLog.C: deleted, useful code moved to Buffer
17897 * buffer.C: new function getLatexLogName()
17903 * lyxfunc.C: use frontends for LaTeX and VC logs
17905 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17907 * LaTeX.h: yet another std:: that Allan forgot.
17909 * Variables.C (set): renamed from isset(), because this clashes
17910 with some HP-UX macros (grr).
17912 2001-02-06 Allan Rae <rae@lyx.org>
17914 * LaTeX.h: Another bug fix. Missing std:: this time.
17916 2001-02-04 Allan Rae <rae@lyx.org>
17918 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17919 floats problem. I've left it commented out because it's not quite
17920 correct. It should also test that the current object is a table or
17921 figure inset. But I haven't gotten around to figuring out how to do
17922 that. I *think* it'll be something like: "table" == inset.type()
17924 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17927 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17929 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17930 all the citation/databases/styles in the auxilary file.
17931 (run): Rerun latex if there was a babel language error.
17933 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17935 * text.C (Backspace): Preserve the font when changing newline char
17937 (BreakParagraph): If the cursor is before a space, delete the space.
17939 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17941 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17943 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17944 new argument (code).
17945 (ChangeCitationsIfUnique): New method.
17947 * paragraph.C (GetPositionOfInset): Handle bibkey.
17949 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17951 * BufferView_pimpl.h: change type of Position::par_pos to
17952 LyXParagraph::size_type.
17954 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17956 * BufferView_pimpl.C (savePosition, restorePosition): Write
17957 messages to minibuffer.
17959 2001-01-28 José Matos <jamatos@fep.up.pt>
17961 * buffer.C (makeDocBookFile): adds support for document language.
17962 A silly restriction on the name of LatexCommand types where removed.
17963 Added support for CDATA sections, allows to chars unescaped, used
17964 among others in code, to avoid escape < and >.
17966 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17968 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17969 saved positions instrad of a stack. Furthermore, a position is
17970 stored using paragraph id/paragraph position.
17972 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17973 Remove LFUN_REF_BACK.
17975 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17977 * converter.C (dvipdfm_options): New method.
17979 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17981 * vspace.C (isValidLength): Fix for empty input string.
17983 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17985 * LyXAction.C (init): change description of LFUN_FIGURE to
17988 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17990 * LaTeX.C: add using directive
17992 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17994 * MenuBackend.C (expand): Fix the sorting of the formats.
17996 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17998 * lyx_main.C: tiny error message fix
18000 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18002 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18003 calling fl_initialize(). This fixes the problem with ',' as
18004 decimal separator in text files.
18006 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18008 * trans.C (process): Fix the keymap bug.
18010 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18012 * LaTeX.C (scanAuxFiles): New method. Provides support for
18013 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18014 (scanLogFile) Scan for "run BibTeX" messages.
18016 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18017 OT1 font encoding. Also, load the aecompl package if the ae
18020 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18022 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18024 * texrow.C (increasePos): turn two error messages into debug
18027 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18029 * LaTeX.C (scanAux): Handle the \@input macro.
18030 (runBibTeX): Use scanAux().
18032 * language.C (latex_options_): New field.
18034 * LaTeXFeatures.C (getMacros): Add language macros.
18036 * buffer.C (makeLaTeXFile): Small fix.
18038 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18040 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18042 * text2.C: add a using directive.
18044 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18049 * lyxfunc.C: kill LyXBell.
18051 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18053 * text.C (IsBoundary): Remove the error message
18055 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18057 * lyxrc.C (setDefaults): Correct initialization value for
18060 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18062 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18065 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18066 and GotoNextNote().
18068 * src/LyXAction.C: Added reference-next.
18070 * text.C (InsertChar): Use contains instead of strchr.
18072 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18074 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18076 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18077 alignment commands (when needed).
18079 * text.C (InsertChar): Add ':' to number separator chars.