1 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
4 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
7 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
9 * messages.C: supress some lyxerr messages
11 2005-07-18 Juergen Vigna <jug@lyx.org>
13 * text.C (drawSelection): honor boundary when asking for cursorX.
15 2005-07-17 José Matos <jamatos@fc.up.pt>
17 * tabular.C (recalculateMulticolumns): fix handling of one column
20 2005-07-17 Juergen Vigna <jug@lyx.org>
22 * text.C (Delete, backspace): fixed so that paragraph with the
23 same layout can be merged by Delete/Backspace.
25 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
27 * text.C (readParToken): fix spelling.
29 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
31 * text2.C: fix counter update for DEPM problem reported by
34 2005-07-17 Juergen Vigna <jug@lyx.org>
36 * BufferView_pimpl.C (setBuffer): save/restore the
37 cursor/selection when switching buffers
40 * buffer.C (saveCursor): add saveDocumentIterators to save the
41 cursor when switching buffer.
43 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
46 * buffer.C: clarify message
48 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
50 * dociterator.C (DocIterator): fix initialization order
52 2005-07-17 Juergen Vigna <jug@lyx.org>
54 * text2.C (cursorHome):
55 * text.C (drawSelection, cursorX):
56 * dociterator.C (textRow): add boundary to getRow() call
58 * paragraph.C (getRow): implementation of below
60 * paragraph.h: add parameter boundary for getRow() function
62 2005-07-17 José Matos <jamatos@fc.up.pt>
66 * tex-strings.[Ch]: new file format, remove support for a4.sty,
67 a4wide.sty and a4widemargins.
69 2005-07-17 Juergen Vigna <jug@lyx.org>
71 * text2.C (cursorLeft): fix one of error
73 2005-07-17 Juergen Vigna <jug@lyx.org>
75 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
77 more fixes for boundary handling
79 * text3.C (dispatch): don't reset cursor if boundary has changed
82 2005-07-16 Juergen Vigna <jug@lyx.org>
84 * text2.C (getColumnNearX): hopefully got it right now,
85 check if we are on column 0 for special case.
87 2005-07-16 Juergen Vigna <jug@lyx.org>
89 * text2.C (getColumnNearX): handle special case Newline Inset
91 * text.C (singleWidth): Just remove bogus check
93 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
95 * funcrequest.C (split): avoid reading uninitialized char c
97 2005-07-16 José Matos <jamatos@fc.up.pt>
103 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
104 single papersize variable.
106 2005-07-16 Juergen Vigna <jug@lyx.org>
108 * text3.C (dispatch): honor boundary when checking if a cursor
109 movement has been done
111 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
112 (setCursor, setCursorIntern): fix cursor movement with boundary
114 2005-07-16 Juergen Vigna <jug@lyx.org>
116 * text.C (currentState): output the actual Boundary
118 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
120 * factory.C (createInset): fix bad logic for tabular creation
122 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
124 * lyx_main.C (init): change some reLyX reference to tex2lyx
126 2005-07-16 Juergen Vigna <jug@lyx.org>
128 * dociterator.C (DocIterator): initialize boundary
130 2005-07-16 Juergen Vigna <jug@lyx.org>
132 * text2.C (getColumnNearX): Consider rows without trailing blank.
134 2005-07-16 André Pönitz <poenitz@gmx.net>
136 * lyxfont.h: Change order of declarations to give the compiler
137 a better chance to inline things
139 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
140 questions on unsaved docs for better scritability
142 2005-07-16 André Pönitz <poenitz@gmx.net>
144 * paragraph.h (getChar): remove asserts as the same kind of security
145 can be achieved by using a suitable standard library implementation
146 and the function was in the critical path (25.9% in profiler)
148 2005-07-16 Juergen Vigna <jug@lyx.org>
150 * cursor.C (bruteFind2):
151 * bufferview_funcs.C (coordOffset):
152 * text.C (cursorX,cursorY): Handle cursor position after last char
153 in row before a inset which uses a whole row.
155 2005-07-15 José Matos <jamatos@lyx.org>
157 * output_plaintext.[Ch] (writeFileAscii): control reference title
159 (asciiParagraph): noparbreak was already deal and was incorrectly
162 2005-07-15 Juergen Vigna <jug@lyx.org>
164 * lyxfunc.C (dispatch): save and restore the cursor after a
167 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
169 * text.C (backspace): bug 806 for empty keepempty paragraphs we
170 change the layout to default before letting DEPM do its thing.
172 * paragraph_funcs.C (breakParagraph): dont reset the layout on
175 * text.C (setCursorFromCoordinates): add a debug statement
177 * text2.C (getColumnNearX): bug 1825 make sure that we don't
178 return a pos that is not on the row
180 * output_latex.C (TeXDeeper): get rid of potential dereferencing
181 of past the end iterator
183 2005-07-14 André Pönitz <poenitz@gmx.net>
185 * undo.C (recordUndoFullBuffer): implement undo for
188 2005-07-14 André Pönitz <poenitz@gmx.net>
190 * cursor.C (setSelection): open insets when selection is set there
191 to avoid crashs with cold coord cache
193 2005-07-14 André Pönitz <poenitz@gmx.net>
195 * trans_mgr.C (insert): move cursor to the right after inserting
198 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
200 * BufferView_pimpl.C (update): dampen some of the debug blabbering
201 * factory.C (readInset): ditto
202 * text.C, text2.C: ditto
204 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
206 * buffer.C: format incremented to 242. There is no file format per
207 se, but the "frenchb" language has been removed from lib/language
208 and has to be translated to "french" by lyx2lyx.
210 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
212 * cursor_slice.h, dociterator.h: add some documentation
213 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
215 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
217 * text.C (leftMargin): do not add identation to display() style
218 insets, because they are always centered (bug 1293).
220 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
222 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
223 formatted_time methods in support/lyxtime.
225 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
227 * toc.[Ch]: new method getGuiName, which is used by the frontends
228 to set the toc combo (fixes bug 1870). Make TOC string translatable.
230 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
232 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
233 StableDocIterator const &)
234 * undo.C (recordUndo): use the above instead of cell.size() comparison
235 (fixes bug 1808; instructed by André).
237 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
240 * dociterator.h: Fix the assert when copying rows/cols in math
242 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
244 * BufferView_pimpl.C:
246 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
248 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
249 (findInset): new functions, refactored from goto Inset that return
250 the position of a certain inset without setting the buffer's cursor
252 (gotoInset): rewrite to call findInset and then set the cursor
255 2005-06-16 Angus Leeming <leeming@lyx.org>
257 * lyxrc.C (output, read): wrap all input and output of paths with
258 calls to os::internal_path and os::external_path, respectively.
259 (output): wrap bind_file inside quotes.
261 * format.C (view): enable the viewer to use the '$$s' placeholder.
263 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
265 * LColor.[Ch] (getFromLaTeXName): new
267 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
269 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
271 2005-06-14 Angus Leeming <leeming@lyx.org>
273 * lyx_main.C (init): ensure that the LyX binary dir is the first
274 element in the PATH on non-POSIX builds.
276 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
278 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
280 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
282 * rowpainter.C (paintInset, paintHebrewComposeChar)
283 (paintArabicComposeChar, paintChars): add a LyXFont argument.
284 (paintChars): use getFontSpan to reduce calls to getFont to a
285 minimum; use Paragraph::lookupChange instead of isXXXText.
286 (paintForeignMark): rename LyXFont argument.
287 (paintFromPos): pass a LyXFont object to the various paintXXX
290 * FontIterator.C (FontIterator, operator++): use
291 Paragraph::getFontSpan
293 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
294 version that returns the font span as a pair.
296 2005-06-09 Angus Leeming <leeming@lyx.org>
298 * converter.C (convert): Don't forget "outfile = real_outfile" as
299 the final step in a conversion where the input and output file names
300 are the same. Otherwise, future conversion steps won't work...
302 2005-06-09 Angus Leeming <leeming@lyx.org>
304 * lyxsocket.C: remove stub code as it isn't needed by
305 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
307 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
309 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
310 effectively disabled -x
312 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
314 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
315 when it actually makes sense.
317 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
319 * BufferView_pimpl.C: revert to showCursor in connection with
320 Lars's front-end stack
322 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
324 * text.C (redoParagraph): move cursor right after a bibitem
327 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
329 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
331 * buffer_funcs.C (bufferErrors): fix computation of the end of an
334 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
336 * BufferView.[Ch] (update):
337 * BufferView_pimpl.[Ch] (update, metrics):
338 * dimension.h (operator==):
339 * lyxfunc.C (dispatch):
340 * metricsinfo.h (ViewMetricsInfo):
341 * rowpainter.C (paintText):
343 * text.C (redoParagraph):
344 * text3.C (dispatch): Make LyX only repaint current paragraph in
345 case of character insert --> speedup. Also fix cursor draw
348 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
350 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
351 avoid a crash (bug 1891)
353 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
357 * text2.C (getStringToIndex): constify cur argument.
359 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
360 argument has been given
361 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
362 try to invoke LFUN_INSET_APPLY).
364 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
365 if no inset was created by doInsertInset
366 (doInsertInset): return true if an inset has been inserted.
368 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
370 * vspace.C (asGUIName): new method. A version of the space
371 suitable for showing on screen.
373 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
376 * lyxrc.C: rename "ASCII" to "Plain Text"
378 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
380 * buffer_funcs.C (expandLabel): take a Buffer as argument;
381 translate the labelstring.
382 (setCounter): translate labelstring as needed.
384 * output_docbook.C (makeCommand): fix expandLabel invokation
386 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
388 * BufferView.C: fix dialog title
390 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
392 * lyx_main.C (priv_exec): fix logic error with help from Angus
393 * lyx_main.C (parse_execute): set is_gui = false and remove now
394 obsolete comment about a segfault
396 2005-05-18 Angus Leeming <leeming@lyx.org>
398 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
400 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
402 * tabular.[hC]: added setCellInset to fix tabular paste.
404 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
406 * buffer.C (save): check if destination is writable before trying
409 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
411 * BufferView_pimpl.C (update): fix processEvents -caused update
414 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
416 * buffer_funcs.C (setCounter): fix test for numbering of
419 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
420 depth correctly; use optional argument when it exists
422 * lyxtextclass.C: remove unused MaxCounterTags enum
423 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
424 (max_toclevel, min_toclevel): new methods.
426 * MenuBackend.C (expandToc2): fix case where depth is smaller than
427 the smallest depth in toc.
429 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
430 layouts that should not appear in a table of contents.
432 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
434 * cursor.h (undispatched, noUpdate): add comments from André
436 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
440 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
442 2005-05-07 André Pönitz <poenitz@gmx.net>
444 * cursor.[Ch] (leaveInset): new function
446 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
448 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
450 2005-05-04 Angus Leeming <leeming@lyx.org>
452 * lyxfunc.C (getStatus): disable the spell checker dialog if
453 none of USE_[AIP]SPELL are defined.
455 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
457 * tabular.C (setWidthOfCell): remove obsolete comment
459 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
461 * paragraph.C (bibitem):
462 * buffer_funcs.C (setCounter):
463 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
465 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
467 * text3.C (getStatus): immediately return after setOnOff
469 * rowpainter.C: fix drawing of appendix start
471 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
473 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
474 SwitchBetweenClasses and remove the unused return value.
475 Handle character styles, too
477 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
479 * factory.C (createInset): handle undefined character styles
481 2005-05-02 Angus Leeming <leeming@lyx.org>
483 * buffer.C: protect the #include of utime.h with a preprocessor
486 2005-05-02 Angus Leeming <leeming@lyx.org>
488 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
489 function so that auto-saving works, albeit in a blocking manner.
491 * Makefile.am: make compilation of the client sub directory, of
492 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
493 on conditionals set at configure time.
495 * SpellBase.[Ch]: no longer an abstract base class. Instead,
496 it can be compiled in its own right but has no-op functionality.
498 * aspell.C, pspell.C: remove preprocessor guards. The files should
499 be compiled only if the necessary functionality exists.
501 * lyxserver.C, lyxsocket.C: disable on Windows.
503 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
505 * text.C (leftMargin): Fix the parindent use bug (1764)
508 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
510 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
513 2005-04-25 Angus Leeming <leeming@lyx.org>
521 include <config.h> in .C files, not .h ones.
523 protect headers inside preprocessor guards.
525 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
527 * FuncStatus.h (StatusCodes): document
529 2005-04-21 André Pönitz <poenitz@gmx.net>
531 * FuncStatus.h (enabled, onoff): document
533 2005-04-19 Angus Leeming <leeming@lyx.org>
535 * BufferView_pimpl.C (cursorToggle): no longer test whether
536 any child processes have been reaped before calling
537 handleCompletedProcesses().
539 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
541 * text3.C (dispatch): fix, finally fix, the language problem in
542 new lyxtexts, without disabling on-the-fly font changes (Helge's
545 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
547 * text3.C (dispatch): set cursor on double/triple click events
550 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
552 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
553 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
555 * rowpainter.C (paintFirst): simplify the code a little bit. In
556 particular, remove the test for secnumdepth.
557 * text.C (setHeightOfRow): only allocate space for chapter number
558 when updateCounters provided an actual label, instead of looking
559 at secnumdepth directly.
561 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
563 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
564 paragraphs when secnumdepth is large enough or, for environments,
565 when they are not the first in a sequence.
567 2005-04-17 Angus Leeming <leeming@lyx.org>
569 * buffer.C (makeLaTeXFile): replace code to manipulate a path
570 containing space and '~' characters with a call to latex_path().
572 2005-04-17 Angus Leeming <leeming@lyx.org>
574 * converter.C (convert): protect all args of convertDefault.sh
577 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
579 * text3.C (dispatch): change the layout to "Caption" after inserting
582 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
584 * text3.C (dispatch): fix language problem in newly created
585 textinsets (and main text) in non-english docs
587 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
589 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
590 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
591 * text3.C (getStatus): disable LFUN_INSET_MODIFY
593 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
598 * rowpainter.C (getFont): Fix metrics bug introduced by inset
601 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
603 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
604 output of \item arguments without trailing text.
606 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
608 * FontIterator.C (operator*): avoid a copy of the font.
610 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
612 * rowpainter.C (getFont): fix language bug from previous fix
614 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
616 * rowpainter.C (RowPainter, getFont): fix font inside inset
619 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
621 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
622 preventing inserted font, deco, delim insets jumping to start of
625 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
627 * lyxfunc.C (dispatch): translate message before sending it to the
630 2005-03-29 Angus Leeming <leeming@lyx.org>
632 * lyx_main.C (priv_exec): call os::internal_path on each file passed
633 to LyX on the command line.
635 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
637 * vc-backend.C: use QuoteName to protect file names wherever
640 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
643 * BranchList.h: fix bugs 1844,1845: document settings don't
646 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
648 * lyxrc.C (setDefaults, read, output, getDescription): add support
649 for tex_allows_spaces.
651 * exporter.C (Export): allows files in directory containing spaces
652 if tex_allows_spaces is true.
654 * buffer.C (makeLaTeXFile): if the document path contains spaces,
655 output it in double quotes.
657 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
659 * rowpainter.C: use default text height for drawing change tracker
662 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
664 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
666 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
668 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
669 directory is missing.
671 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
673 * text2.C: fixed the fix, extended to other case.
675 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
677 * text2.C: fix for cursor up/down stuck in math [bug 1792]
679 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
681 * text2.C (cursorUp): get rid of a crash
682 * text.C (x2pos): add an assert
684 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
686 * lyxfunc.C (getStatus): fix warning when assertions are disabled
690 * dociterator.C: include <boost/current_function.hpp>, which is
691 needed when assertions are disabled.
693 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
695 * text2.C: fix for stuck cursor when traversing two
696 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
698 2005-02-25 Andreas Vox <avox@arcor.de>
700 * output_docbook.C (makeParagraph): suppress trailing newline
701 after a run of paragraphs
703 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
705 * paragraph.C: fix for confused change tracker when pasting
706 text that begins with a lineseparator. [bug 1827]
707 (setChange(0, Change::INSERTED);)
709 * paragraph_funcs.C: fix for lost changes on triple-paste
710 in change tracking mode [bug 1827] (par.setChange()).
712 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
714 * text2.C (updateCounters, setCounter, expandLabel): move to
717 * buffer_funcs.C (updateCounters): turn into a free standing
718 function and add a buffer parameter. Remove dead code for tracking
720 (setCounter): change into a free-standing function which gets a
721 dociterator as argument. Use this iterator to fix captions in a
722 simple way. When no float is found above the caption, use the
723 labelstring of the caption layout as default.
725 * text.C (breakParagraph, backspace):
726 * text2.C (init, setLayout, changeDepth):
727 * text3.C (dispatch):
728 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
731 * dociterator.C (forwardPar): make it much faster by calling
732 forwardPos() only when really necessary.
734 * output_docbook.C (makeCommand): adapt to expandLabel move.
736 * cursor.C: remove unused variable
738 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
740 * paragraph_funcs.C: fix crash when pasting insets in change
741 tracking mode [bug 1277] (honour change type in moveItem).
743 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
745 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
747 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
749 * BufferView.C (setCursor): change to use a DocIterator.
750 (gotoLabel): use BufferView::setCursor (other part of bug 781).
751 (putSelectionAt): adapt to BufferView::setCursor change.
753 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
754 moved here from LyXText and rewritten to use proper cursor
755 methods. Fixes bug 1787, 616 and 835.
757 * BufferView_pimpl.C (restorePosition): set the cursor correctly
758 when inside an inset (part of bug 781).
759 (dispatch): adapt to change of BufferView::setCursor.
760 (getStatus, dispatch): handle LFUN_GOTOERROR,
761 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
763 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
764 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
765 * text3.C (gotoNextInset, gotoInset): removed.
767 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
769 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
771 2005-02-15 Angus Leeming <leeming@lyx.org>
773 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
774 can be used meaningfully in a comparison.
776 2005-02-13 André Pönitz <poenitz@gmx.net>
778 * bufferview_funcs.C (coordOffset): improve cursor drawing
780 2005-02-13 André Pönitz <poenitz@gmx.net>
782 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
783 * Cursor.C (dispatch): use fixIfBroken
784 * lyxfunc.C (getStatus): use fixIfBroken
786 2005-02-15 Angus Leeming <leeming@lyx.org>
788 * lyx_main.C (error_handler):
790 * lyxrc.C (setDefaults):
792 #include "environment.h".
794 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
796 2005-02-15 Angus Leeming <leeming@lyx.org>
798 * lyxserver.C (startPipe): squash MSVC warning "local variable
799 'fd' used without having been initialized".
801 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
803 * BufferView_pimpl.C: revert accidental commit.
805 2005-02-14 André Pönitz <poenitz@gmx.net>
807 * dociterator.[Ch]: new member forwardPosNoDescent(),
808 which doesn't enter nested insets.
809 * text2.C (setFont): use forwardPosNoDescent() instead
810 of ForwardPos() (fixes crash on font change).
812 2005-02-13 Angus Leeming <leeming@lyx.org>
814 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
815 only if lyxrc.path_prefix is not empty.
817 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
819 * bufferparams.C (readGraphicsDriver): prevent crash
821 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
823 * text2.C (setCounter): check for inInset() == 0
825 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
827 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
828 but use update() to get correct screen display; use convert
829 instead of istringstream.
830 (getStatus): handle LFUN_GOTO_PARAGRAPH
832 * lyxfunc.C (dispatch, getStatus): do not handle
833 LFUN_GOTO_PARAGRAPH here.
835 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
837 * text3.C (dispatch): size() -> depth()
839 * text2.C: remove some debug output
841 * paragraph.C: ws changes only
843 * lyxfunc.C (getStatus): size() -> depth()
845 * dociterator.h (clear, push_back, pop_back, internalData,
846 operator[], resize, empty): new functions
847 Make StableDocIterator and operator== be friends. Don't inherit
848 from std::vector use a privat class variable slices_ instead.
851 * dociterator.C: update because of not inheriting from std::vector
852 anymore. Call explictly to slices_ instead. Use depth() instead of
853 size() and top() instead of back()
855 * cursor.C: chagne size() -> depth and back() -> top(). Also
856 remove some direct operator[](i) calls in favour of foo[i]
857 (getFont): remove some dead code
859 * bufferview_funcs.C (coordOffset): size() -> depth()
861 * buffer.C: ws changes only
863 * CutAndPaste.C (eraseSelection): back() -> top()
865 * BufferView_pimpl.C (selectionRequested): back() -> top()
867 * BufferView.C (setCursor): size() -> depth()
869 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
871 * text3.C (cursorPrevious): return true if depm changed something
873 (dispatch): rename sl to oldTopSlice, remove moving use the new
874 NoUpdate func attrib instead. Make sure that needsUpdate is set
875 for function that have NoUpdate, but where depm might have changed
878 * text2.C (cursorLeft): make us return true if depm changed
881 (cursorUpParagraph): ditto
882 (curosrDownParagraph): ditto
883 (cursorUp, cursorDown): ditto, make sure to read comments in code
884 (deleteEmptyParagraphMechanism): remove an assert, also return
885 true if just a single char was deleted.
887 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
888 cursor that we modify, to avoid modifying an active cursor before
889 we call setCursor. This allows depm to run. Also return true if
890 depm deleted something.
892 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
893 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
894 cursorDownParagraph, cursorPrevious and cursorNext, return true if
895 something was changed in the buffer because of them (ie. depm run)
897 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
898 debug messages. Make update by default be false. Make sure that
899 the result of update is retained throught several calls down to
902 * LyXAction.h: add a new func_attrib: NoUpdate
904 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
905 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
906 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
908 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
910 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
912 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
913 bv_->owner(), bv_->buffer() by direct references to the private
915 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
916 (getStatus): isSavedPosition() is in BufferView::Pimpl.
917 (fitCursor): center() is in BufferView::Pimpl.
918 (getStatus, trackChanges, dispatch): no need for a temporary buf
920 (fitCursor, workAreaDispatch): use workarea().workheight()
922 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
924 * CutAndPaste.C (pasteSelectionHelper): fix a crash
926 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
928 * buffer.C: format up to 241.
929 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
930 break if pasting into ERT
931 * lyxfunc.C (getStatus): suppress mathpanel and
932 LFUN_DIALOG_SHOW_NEW_INSET in ERT
934 2005-02-01 Angus Leeming <leeming@lyx.org>
936 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
938 2005-02-01 Angus Leeming <leeming@lyx.org>
940 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
941 calling fs::is_directory().
943 2005-01-31 Angus Leeming <leeming@lyx.org>
945 * lyx_main.C (priv_exec): specify explicitly the relative location
946 of the top level build directory when run in-place.
948 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
950 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
951 LyXText containing the cursor, not the top-level one.
953 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
955 (insertStringAsLines): rename par to pit; use temporary variable
956 par to hold a Paragraph; do not store par.layout() in a variable,
957 since the pointer may die when breaking paragraphs; pass pars to
958 breakParagraph() instead of Buffer::paragraphs().
960 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
962 * lyxlex_pimpl.h: #include <fstream>.
964 * BufferView.[Ch] (getLyXText): add a const version.
966 * BufferView_pimpl.C: add debug aids.
971 * paragraph_funcs.h: add commentary explaining what the class does.
974 * coordcache.[Ch]: add lots of commentary.
975 (startUpdating, doneUpdating): debug aids.
976 (arrays, insets, parPos, getParPos): accessors to private data.
978 * cursor_slice.[Ch] (text): add a const version.
979 * dociterator.[Ch] (text, innerText): add const versions.
981 * lyxtext.h (breakParagraph): change the keep_layout arg to a
984 * paragraph.C (getRow, pos2ros): add asserts.
986 * paragraph.h: add commentary. Lots of.
988 * paragraph.[Ch] (metrucs, draw): removed.
991 * rowpainter.[Ch]: const-correct changes.
993 * text.C: various obvious clean-ups. Removal of ancient cruft.
996 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
998 * vc-backend.C (find_file): rewrite to use boost.filesystem
1001 * main.C (main): set default name check for boost.filesystem to
1004 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1007 (actOnUpdatedPrefs): ditto
1009 * lyx_main.C (init): rewrite to use boost.filesystem
1010 (queryUserLyXDir): ditto
1012 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1013 (getContentsOfAsciiFile): ditto
1015 * lastfiles.C (readFile): rewrite to use boost.filesystem
1017 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1019 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1020 (loadLyXFile): ditto
1022 * buffer.C (Buffer): adjust for destroydir
1023 (getLogName): rewrite to use boost.filesystem
1024 (setFileName): ditto
1025 (save): use fs::copy_file (from fs_extras)
1027 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1029 * LaTeX.C (run): rewrite to use boost.filesystem
1030 (scanAuxFiles): ditto
1031 (handleFoundFile): ditto
1033 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1035 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1037 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1039 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1041 * lyxlayout.[Ch]: change some vars from float to double
1043 * buffer.C (readFile): make a local var const
1045 * Several files: use convert<> instead of atoi,strToXXX and friends
1047 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1049 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1050 holds the contents of packages.lst. New functions getAvailable
1051 and isAvailable to parse and check that list, resp.
1055 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1057 * bufferparams.[Ch]: new param output_changes.
1059 * Buffer.C: increase file format to 240.
1060 Use output_changes and isVailable.
1064 * paragraph_pimpl.C: Use output_changes and isVailable.
1066 2005-01-23 Angus Leeming <leeming@lyx.org>
1068 * output_latex.C: #include "insetbibitem.h", rather than
1069 forward declare function bibitemWidest.
1071 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1073 * lyx_main.C (init): make it compile on the Mac.
1075 2005-01-20 Angus Leeming <leeming@lyx.org>
1077 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1078 (setLyXMisc): (char string literal) != (char string literal) is
1079 performing a comparison on the addresses. Convert one operand
1080 explicitly to string to guarantee expected behaviour.
1083 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1086 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1088 * output_plaintext.C: remove unneeded #include gzstream.h.
1090 2005-01-20 Angus Leeming <leeming@lyx.org>
1092 * SpellBase.h: rename some of the elements of the Result enum.
1099 * pspell.C (check): ditto
1101 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1103 * buffer.C: add #include <fstream>.
1105 * lyx_main.C (init): Compile fix.
1107 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1109 2005-01-20 Angus Leeming <leeming@lyx.org>
1111 * mover.h: change commentary to reflect the changed meaning of
1112 the $$s placeholder.
1114 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1116 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1118 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1120 2005-01-20 Angus Leeming <leeming@lyx.org>
1122 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1123 printing diagnostic data by not dereferecing an iterator past the
1126 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1128 * buffer.C (readHeader): use "&&" rather than "and".
1130 * lyxserver.h (inPipeName, outPipeName): make these const.
1132 2005-01-19 Angus Leeming <leeming@lyx.org>
1134 * lyx_main.C (error_handler, init): protect SIGHUP with
1135 #ifdef SIGHUP guards.
1137 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1139 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1141 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1143 * text.C (setHeightOfRow): add a margin at the top and bottom of
1144 the document (bug 1761)
1146 2005-01-17 Angus Leeming <leeming@lyx.org>
1148 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1149 with "python ". Workaround for a brain-dead Windows.
1151 2005-01-16 Angus Leeming <leeming@lyx.org>
1153 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1154 for MacOSX and Windows to use prependEnvPath.
1155 Strip out the hard-coded block to add elements to the PATH for
1156 MacOSX and replace it with a call to prependEnvPath using the
1157 contents of LyXRC::path_prefix.
1158 (queryUserLyXDir): strip out the code to run reconfigure, instead
1159 returning a boolean indicating the necessity to do so.
1160 (reconfigureUserLyXDir): contains the code to reconfigure the
1161 user support directory. Is now called after the various LyXRC data
1162 files have been read.
1164 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1166 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1168 * converter.[Ch] (convert): take a new parameter try_default. Use
1169 a default converter (imagemagick) if try_default is true.
1171 2005-01-13 Angus Leeming <leeming@lyx.org>
1173 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1174 os::cygwin_path_fix.
1175 (write): output LyXRC::cygwin_path_fix as necessary.
1177 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1180 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1182 2005-01-12 Angus Leeming <leeming@lyx.org>
1184 * lyx_main.C (init): set the PATH variable to include the
1185 directory containing the LyX binary when running on Mac or Windows.
1187 2005-01-12 Angus Leeming <leeming@lyx.org>
1189 * lyx_main.C (init): remove cruft that purports to set the locale
1190 dir. It doesn't and is not needed anyway.
1192 2005-01-10 Angus Leeming <leeming@lyx.org>
1194 * Makefile.am: remove the lyx_main.C special casing.
1196 * BufferView_pimpl.C:
1202 * messages.C: use support/package.h to provide the paths to the
1203 various directories used by LyX.
1205 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1207 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1208 layout if pasting into an empty paragraph)
1210 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1212 * tex-accent.C: add <string>
1214 2005-01-06 José Matos <jamatos@lyx.org>
1216 * ParagraphParameters.C (write): put every parameter in its own line.
1217 * paragraph.C (write): reduce number of consecutive empty lines exported.
1218 * buffer.C (LYX_FORMAT): increase file format to 239.
1220 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1222 * everywhere: change support/tostr.h -> support/convert.h
1224 * tabular.C: make all write_attributes templates, tostr -> convert
1226 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1227 (emptyTag): and -> &&, and fix type for ret from getChar
1228 (getFirstWord): fix type for ret from getChar
1229 (onlyText): and -> &&
1230 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1233 * toc.C (goTo, action):
1234 * text3.C (dispatch):
1235 * text.C (currentState):
1236 * tex-accent.C (DoAccent):
1239 * lyxfunc.C (menuNew):
1240 * lyxfinc.C (replace):
1241 * counters.C (laberItem):
1242 * bufferview_funcs.C (font2string):
1243 * bufferparams.C (writeFile):
1244 * buffer.C (readFile):
1246 * MenuBackend.C: tostr -> convert
1248 * LaTeX.C (runMessage): fix format
1249 (scanAuxFiles): tostr -> convert
1251 * BufferView_pimpl.C (savePosition): fix format
1252 (restorePosition): ditto
1255 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1257 * Spacing.[Ch]: New method getValueAsString().
1261 * ParagraphParameters.C:
1264 * text3.C: store/read spacing value as string.
1266 * rowpainter.C: change float value (spacing_val) to double.
1268 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1269 broken custom document spacing).
1271 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1273 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1274 namespace, also more use of temp references and const
1276 * cursor.[Ch] (getStatus): move to lyxfunc.C
1278 * bufferparams.C: reformat slightly
1280 * bufferview_funcs.C (font2string): constify arg
1286 * buffer_funcs.C: (many funcs): constify arg on function
1287 definitions, also make more local vars const, also add ASSERTS on
1290 * buffer.C (LYX_FORMAT): put const in correct place
1291 (many funcs): constify arg on function definitions, also make
1292 more local vars const
1294 * aspell_local.h: remove "struct" from typdef setup
1296 * aspell.C (check): make word_ok const
1297 (nextMiss): simplify slightly
1300 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1302 * lyxrc.[Ch]: store all float values as strings.
1303 use int (not float) for lyxrc.dpi.
1305 2005-01-04 Angus Leeming <leeming@lyx.org>
1307 * lyx_cb.C (Reconfigure):
1308 * lyx_main.C (queryUserLyXDir):
1309 to run the <system_lyxdir>/configure correctly on Windows, prefix
1310 the path to the script with "sh " when generating the string that
1311 is passed to system().
1313 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1315 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1317 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1319 * lyxlength.C (asLatexString): get rid of setprecision
1321 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1323 * text2.C (setLayout): remove unused variable endpit.
1324 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1326 * paragraph.C (onlyText): remove unused variable style.
1328 * cursor.C (bruteFind): remove unused variables beg and end.
1330 * Makefile.am (dist_noinset_DATA): not needed anymore
1332 * cheaders/*: remove.
1334 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1336 * text3.C: fix LFUN_MATH_MODE.
1338 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1340 * buffer_funcs.C (countWords): new function. Counts words between
1343 * BufferView_pimpl.C (getStatus, dispatch): handle
1346 * LyXAction.C (init):
1347 * lfuns.h: add LFUN_WORDS_COUNT.
1349 2004-12-19 Angus Leeming <leeming@lyx.org>
1351 * buffer.C (save): s/slashify_path/internal_path/.
1353 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1355 * lyxfind.C (findChange): do not search for end of pars, because
1356 the change tracker cannot handle this (fixes bug 1719).
1358 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1360 * paragraph.[Ch] (autoBreakRows): remove
1362 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1364 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1365 avoid using the paragraph one
1367 * text2.C (LyXText, insertStringAsLines): adjust
1369 2004-12-16 Angus Leeming <leeming@lyx.org>
1373 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1375 2004-12-14 Angus Leeming <leeming@lyx.org>
1377 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1379 * bufferlist.C (emergencyWrite):
1380 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1383 2004-12-14 Angus Leeming <leeming@lyx.org>
1385 * main.C: (main): no longer pass pointers to os::init.
1387 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1389 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1390 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1392 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1395 * text3.C: remove selection_possible global flag
1397 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1399 * text2.C (getSelectionSpan): remove
1400 (changeDepth, changeDepthAllowed): adjust
1402 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1404 * Makefile.am (BOOST_LIBS): use boost variables
1406 2004-12-03 José Matos <jamatos@lyx.org>
1408 * buffer.C: format up to 238.
1410 2004-12-03 José Matos <jamatos@lyx.org>
1412 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1414 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1416 * cursor.C (goUpDown): remove call to idxUpDown2
1418 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1420 * tabular.[Ch]: use size_t-like types for cell, row and column
1423 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1425 * lyxfunc.C (getStatus): do not lose previous information when
1426 calling BufferView::getStatus; do not set a default "Command
1427 disabled" message at the beginning, but just before returning.
1429 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1431 * cursor.h (getStatus): add better comment from src/cursor.C
1433 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1435 * text3.C (getStatus): return false when the lfun is not handled
1437 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1439 * broken_headers.h: remove
1441 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1443 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1445 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1446 offset_ref accessors
1448 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1449 top_y_, merge fitcursor with update
1450 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1452 (metrics): introduce
1453 (workAreaDispatch): adapt to new coord scheme
1454 (redoCurrentBuffer): remove
1456 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1458 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1461 * coordcache.[Ch]: add paragraph cache and helpers
1463 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1466 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1467 (targetX, setTargetX): introduce
1469 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1470 baseline -> ascent, as the rest of lyx
1472 * lyxtext.h: remove redoParagraphs, updateParPositions,
1473 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1474 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1475 have ascent/descent (ascent is ascent of first par)
1477 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1480 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1482 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1484 * pariterator.C: fix infinite loop introduced in par->pit renaming
1486 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1487 in insets and LyXText, draw two off-screen paragraphs using
1488 NullPainter, and adapt to new coord scheme
1492 * text3.C: adapt lfun handlers to the new coord scheme, which
1493 means: there's only guaranteed coord information for onscreen pars
1494 plus one above and one below. This implies that one can do search
1495 from y coordinates in the range [-1,workHeight]
1497 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1499 * rename a lot of InsetOld to InsetBase
1501 2004-11-25 Angus Leeming <leeming@lyx.org>
1503 * BufferView_pimpl.C:
1505 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1507 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1509 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1510 call BufferView::getStatus if LCursor::getStatus did nothing
1511 (setStatusMessage, getStatusMessage): removed.
1513 * FuncStatus.C (message): new methods. Used to provide an error
1514 message indicating why a command is disabled.
1515 (clear, |=, FuncStatus): update for message.
1517 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1519 * lyxfunc.C (dispatch): always call sendDispatchMessage
1521 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1524 * BufferView_pimpl.C:
1529 * cursor_slice.[Ch]:
1532 * paragraph_funcs.C:
1538 * undo.C: par->pit renaming
1540 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1542 * tabular.C (cellstruct): use initialization, store a shared_ptr
1543 to insettext instead of the insettext directly, adjust to fit.
1544 (operator=): new function
1545 (swap): new function
1546 (rowstruct): use initialization
1547 (columnstruct): use initialization
1548 (ltType): use initialization
1551 * lyxlength.h (swap): new function
1553 * LColor.[Ch] (operator=): use the common semantics
1555 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1557 * lyxfind.C (findNextChange): update the bufferview after setting
1560 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1562 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1563 number of InsetOptArgs has already been inserted.
1565 * output_latex.C (latexOptArgInsets): new method. This outputs all
1566 the optarg insets, up to the limit defined in the layout file.
1567 (optArgInset): removed
1568 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1570 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1572 * paragraph.C (isLetter): remove special spellchecker-related
1573 code; return true also for digits
1574 (isWord, isKomma): remove
1576 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1577 * lyxfind.C (MatchString()): use isLetter instead of isWord
1579 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1581 * pariterator.h (operatir=): comment out un-implemented member
1584 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1587 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1589 * lyxfont.h: include LColor.h to satisfy concept checks.
1591 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1593 * pariterator.h: add typdefs for value_type, difference_type,
1594 pointer and reference to satisfy concept checks. Also add default
1595 constructor for same reason.
1597 * pariterator.C (operator++): add post-increment operator to
1598 satisfy concept checks.
1600 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1603 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1605 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1606 checks. Also rename base_type to BaseType to follow naming
1609 * FloatList.h: include Floating.h to satisfy concept checks.
1611 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1613 * lyxfunc.C (getStatus): when the origin of the request is menu or
1614 toolbar, and the LyXView does not have focus, do as if there was
1615 no buffer (bug 1720)
1617 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1618 FuncRequest to individual entries of LFUN_SEQUENCE
1620 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1622 * output_latex.C (TeXOnePar): override runparams.moving_arg
1623 according to the needprotect value of the current paragraph (bug
1626 * paragraph.C (simpleTeXOnePar): no need to override
1627 runparams.moving_args here
1629 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1631 * vspace.C: fix off-by-one-error, related to fix #1682
1633 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1635 * lengthcommon.C: a more general fix for bug 1682
1637 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1639 * text.C (backspace): fix crash
1641 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1643 * format.[Ch] (getFormatFromFile): new method
1644 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1646 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1648 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1650 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1652 * lyxfunc.C (dispatch): remove the verbose argument
1653 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1656 * kbmap.C (defkey): set the origin of func to KEYBOARD
1658 * MenuBackend.C (MenuItem):
1659 * ToolbarBackend.C (add): set the origin of func to UI
1661 * funcrequest.[Ch]: add origin member, which indicates which part
1662 of LyX requests an action
1664 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1666 * converter.C (move): don't lie in the error message
1667 * converter.h (isReachable, move): document
1669 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1671 * buffer.C: remove unused using lyx::support::atoi
1672 * paragraph_funcs.C: ditto
1674 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1676 * bufferlist.C (exists): use bind and equal_to instead of
1679 * lyxtextclasslist.C (NumberOfClass): ditto
1681 * cursor.C (insert): use for_each instead of explicit for loop
1683 * bufferlist.C (getFileNames): use std::transform and
1684 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1686 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1689 * buffer.C (changeLanguage): use for_each instead of explicit for
1691 (hasParWithID): implement using getParFromID
1693 * LaTeXFeatures.C: ws change only
1695 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1698 * BufferView_pimpl.C (trackChanges): use for_each instead of
1701 2004-11-04 André Pönitz <poenitz@gmx.net>
1704 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1706 * dociterator.C (asDocIterator): use hard assert again.
1708 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1710 * lyxlength.C (asLatexString): rewrite so that it does not use
1713 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1715 * text3.C (specialChar, dispatch): make sure cursor moves to the
1716 right after inserting an inset
1718 2004-11-02 José Matos <jamatos@lyx.org>
1720 * output_docbook.C (docbook):
1721 * paragraph.C (getID):
1722 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1723 garantee that the output is always legal.
1725 * tabular.C (docbook):
1726 * outputprams.[Ch]: remove mixed contents.
1728 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1730 * text2.C (setCounter): prevent endless loop
1732 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1734 * exporter.C (copyFile): use the mover instead of support::copy()
1735 * exporter.C (Export): pass format and latex name to copyFile()
1736 * exporter.h (addExternalFile): document
1737 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1739 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1741 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1743 2004-10-30 José Matos <jamatos@lyx.org>
1745 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1746 text and no inset or font change. This allows to use CDATA
1747 sections just for the whole paragraph.
1749 2004-10-30 José Matos <jamatos@lyx.org>
1751 * paragraph.C (getFirstWord): remove unused variable.
1753 2004-10-30 José Matos <jamatos@lyx.org>
1755 * paragraph.C (getFirstWord): the content should always be escaped
1757 (simpleDocBookOnePar):
1758 * output_docbook.C (makeEnvironment): replace reference to CDATA
1761 2004-10-30 José Matos <jamatos@lyx.org>
1763 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1765 2004-10-30 José Matos <jamatos@lyx.org>
1767 * output_docbook.C (makeParagraphs):
1768 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1769 standard paragraph has only a given type of content drop the wrapper.
1771 2004-10-29 José Matos <jamatos@lyx.org>
1773 * output_docbook.C (makeEnvironment):
1775 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1777 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1779 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1780 (cleanID): sanitize any id.
1782 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1784 * buffer.C, lyxlex_pimpl.C:
1785 * lyxlex_pimpl.C (setFile):
1786 s/getExtFromContents/getFormatFromContents/
1788 2004-10-28 José Matos <jamatos@lyx.org>
1790 * output_docbook.C (makeEnvironment): move id to broadest possible
1793 * sgml.C (openTag): apply substitution of <> for all attributes.
1795 2004-10-28 José Matos <jamatos@lyx.org>
1797 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1798 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1799 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1801 * sgml.[Ch]: new version for open and closeTag for paragraph and
1802 for strings. Now they handle the ids of paragraphs.
1804 2004-10-26 Angus Leeming <leeming@lyx.org>
1806 * Makefile.am: add mover.[Ch].
1808 * converter.C (convert, move): use the new Movers to move external
1809 files to the temp directory.
1811 * lyx_main.C (init): ensure that the global system_movers data
1814 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1817 * mover.[Ch]: new files, defining a Mover as a utility to move an
1818 external file between directories and, if necessary, manipulate this
1819 file using a helper script.
1821 2004-10-25 José Matos <jamatos@lyx.org>
1823 * output_docbook.C (makeCommand): merge two if's that tested the
1826 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1828 * sgml.C (escapeString): fix warning in a better way
1830 2004-10-25 José Matos <jamatos@lyx.org>
1832 * sgml.C (escapeString): import the require boosts header file for
1833 tie, and avoid a signed unsigned comparison.
1835 2004-10-25 José Matos <jamatos@lyx.org>
1837 * sgml.h: add #include <string>
1839 2004-10-25 José Matos <jamatos@lyx.org>
1841 * sgml.[Ch] (escapeString): new function to escape all the string.
1843 2004-10-24 José Matos <jamatos@lyx.org>
1845 * paragraph.[Ch] (getFirstWord): new function to get the first
1846 word. Useful for description.
1847 (simpleDocBookOnePar): remove depth argument, add another that
1848 says where to start the paragraph.
1850 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1851 use the new functions to fix cleanly the support for descriptions.
1853 2004-10-24 José Matos <jamatos@lyx.org>
1855 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1856 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1857 * output_linuxdoc.C (linuxdocParagraphs):
1858 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1859 add buffer as argument.
1861 2004-10-24 José Matos <jamatos@lyx.org>
1863 * output_docbook.C (makeEnvironment, searchEnvironment): place
1864 CDATA inside paragraphs and fix scope for listitems.
1866 2004-10-24 José Matos <jamatos@lyx.org>
1868 * output_docbook.C: remove using statement for stack.
1870 2004-10-23 José Matos <jamatos@lyx.org>
1872 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1873 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1874 docbook. The new scheme is recursive and makes use of iterators, the
1875 same as latex export works.
1876 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1877 directly with the paragraph contents. This code was moved up to
1878 output_docbook.C (docbookParagraphs).
1879 * sgml.C (openTag, closeTag): removed unneeded newlines.
1880 (closeEnvTags) removed.
1882 2004-10-23 André Pönitz <poenitz@gmx.net>
1884 * undo.C (textUndoOrRedo):
1885 * dociterator.C (asDocIterator): work around crash
1887 * cursor.C (getStatus): replace ASSERT by more verbose error message
1888 and manual correction of the problem. Should increase stability
1889 while providing more sensible information.
1891 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1893 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1895 * bufferlist.C (previous, next): new methods
1898 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1900 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1902 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1903 entities to preamble.
1905 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1907 * messages.C (Pimpl): strip off translation context information
1909 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1911 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1912 the cursor is correct (bug 1694)
1914 2004-10-13 José Matos <jamatos@lyx.org>
1916 * output_docbook.C (docbookParagraphs): fix closing tags in the
1917 end of the document.
1919 2004-10-09 José Matos <jamatos@lyx.org>
1921 * buffer.C: format up to 237.
1922 * bufferparams.C (write): use tostr to convert booleans to strings.
1924 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1926 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1928 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1930 * LaTeX.C: implement use of babel language in xindy.
1932 2004-10-05 José Matos <jamatos@lyx.org>
1934 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1935 Add new translators to help reading and writing the lyx file.
1937 2004-10-05 José Matos <jamatos@lyx.org>
1939 * ParagraphParameters.C (read):
1940 * text.C (readParToken): replace nexToken by more appropriate lex
1943 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1945 * LaTeX.C (runMakeIndex):
1946 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1947 (usually 'makeindex') configurable.
1949 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1950 with a variable rather than with a number.
1952 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1954 * output_latex.C (TeXOnePar): make sure font setting is the first
1955 thing that gets output (and the last at the end). Should fix bug
1958 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1960 * pch.h: use proper signal include
1962 * LaTeX.h: Use preferred calling of Boost.Signal
1965 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1967 * pch.h: dont include <boost/function/function0.hpp>
1969 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1971 * paragraph_pimpl.h: remove usage of ShareContainer
1973 * paragraph_pimpl.C: remove initialization of ShareContainer.
1975 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1979 * BufferView.C (putSelectionAt): change the semantics when
1980 backwards == true: now, this just swaps cursor and anchor wrt the
1983 * BufferView.h (putSelectionAt): add some documentation
1985 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1986 make sure backwardChar is done at least once (to avoid getting
1988 (findNextChange): use putSelectionAt in the forward direction
1989 (operator()): use Paragraph::isWord
1991 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1993 * Spacing.C (set): c_str fix
1995 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1997 * lyx_cb.C (Reconfigure): quote the name of configure script in
1998 case it contains spaces
2000 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2004 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2005 (BOOST_LIBS): use top_buildir when looking for the file
2007 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2009 * pch.h: do not use include boost/format.hpp, multiple symbols
2010 will result (gcc bug)
2013 2004-08-23 José Matos <jamatos@lyx.org>
2015 * bufferparams.C (readToken): fix reading of the author field.
2017 2004-08-20 José Matos <jamatos@lyx.org>
2019 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2021 2004-08-20 José Matos <jamatos@lyx.org>
2023 * lyxlex.[Ch] (findToken): remove function.
2025 * ParagraphParameters.C (findToken):
2026 * bufferparams.C (findToken): replace call for previous function
2027 with local copy. This local function has one more argument, the
2028 read string argument.
2030 2004-08-16 José Matos <jamatos@lyx.org>
2032 * ParagraphParameters.C (write):
2033 * Spacing.C (writeFile):
2034 * bufferparams.C (writeLaTeX):
2035 * lyx_cb.C (Reconfigure):
2036 * paragraph.C (write):
2037 * tabular.C (write): remove unnecessary space at end of line.
2040 2004-08-16 José Matos <jamatos@lyx.org>
2042 * text.C (readParagraph): remove debug message.
2044 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2046 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2049 * output_plaintext.C (asciiParagraph): set depth correctly
2051 * outputparams.h: add member depth
2053 * paragraph_funcs.C (ownerPar): remove.
2055 * text2.C (setCounter): remove first_pit; comment out some
2056 non-working code that uses ownerPar
2058 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2061 2004-08-16 José Matos <jamatos@lyx.org>
2063 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2064 For the same level of importance use the same chanel to report problems.
2065 (read): add code to deal with \begin_body and \end_body.
2068 2004-08-15 José Matos <jamatos@lyx.org>
2070 * lyxlex.C (getString): fix comment, buffer::readBody is now
2071 buffer:readDocument.
2073 * tex-strings.C (string_papersize): Default -> default,
2074 Custom -> custom, for consistency with other options.
2076 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2080 * Makefile.am: support pch
2082 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2084 * text.C (readParToken): remove the static LyXFont variable and
2085 pass it as a parameter instead. This fixes a nasty bug where an
2086 inset will be inserted with a bad font in some situations
2087 (readParagraph): adapt
2089 * text2.C (setCounter): reduce number of calls to pars_[pit]
2091 * text.C (singleWidth): add an assert, fix a test
2093 * rowpainter.C (paintText): reduce number of calls to singleWidth
2095 * paragraph.C (isHfill):
2096 (isNewline): ws only
2098 2004-08-14 André Pönitz <poenitz@gmx.net>
2103 * lyxtext.h (several functions): use a Paragraph & argument
2106 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2108 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2110 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2112 * text.C (singleWidth): remove useless test
2114 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2116 * tabular.h: remove bogus comments
2118 * tabular.C (getDescentOfRow):
2119 (isPartOfMultiColumn): add assertions
2121 * lyxlength.C (inPixels): remove #warning
2123 2004-08-14 André Pönitz <poenitz@gmx.net>
2125 * paragraph.h: inline getChar()
2127 * BufferView.h: remove unused declarations
2129 2004-08-14 José Matos <jamatos@lyx.org>
2131 * Buffer.[Ch] (readDocument): new name for old readBody.
2132 * Buffer.C: new file format, new keywords: \begin_document,
2133 \begin_header, \begin_body, \end_body.
2135 * bufferparams.C (readToken): replace all calls to lex.nextToken
2136 by lex.next(). Do the same to eatLine except where really needed.
2138 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2139 line when writing to the lyx file.
2141 * output_plaintext.C (asciiParagraph): fix Bibliography style
2144 * text.C (read): fix end of file handling.
2146 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2148 * MenuBackend.C (Menu::operator[]): new method to access
2149 individual menu items
2150 (Menu::hasFunc): new method. search for an item that corresponds
2152 (MenuBackend::specialMenu): new method
2153 (MenuBackend::expand): if a special menu has been set, skip
2154 entries whose func() appears in this menu
2156 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2158 * text3.C: use Debug::DEBUG a bit more
2160 * text.C (leftMargin): try to simplify a tiny bit change var x to
2161 l_margin. Dont output the wide margins always.
2162 (rightMargin): no margin in inner texts
2164 * rowpainter.h (nestMargin): new func
2165 (changebarMargin): new func
2166 (rightMargin): new func
2168 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2172 * factory.C (createInset): modify setDrawFrame
2174 * cursor.C: use Debug::DEBUG a bit more
2176 2004-08-14 André Pönitz <poenitz@gmx.net>
2179 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2180 cache for all insets in (at least partially) visible (top-level)
2183 * BufferView_pimpl.C: reset external coord cache before every update.
2184 This means the coord cache only contains valid entries.
2186 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2189 * BufferView_pimpl.C (getInsetByCode): move function out of class
2190 and change in to a template in anon namespace. Also fix to do what
2193 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2196 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2198 (breakParagraph): rename par to par_offset and use a local
2199 reference. Add code to keep the language over a rebreak.
2200 (breakParagraphConservative): rename par to par_offset, use a
2202 (mergeParagraph): ditto
2204 (isFirstInSequence): ditto
2205 (outerFont): rename pit to par_offset
2207 * paragraph.C: ws change
2208 * paragraph.h: ditto
2212 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2214 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2217 * paragraph.C (simpleTeXOnePar): when we have a \item with
2218 optional argument, enclose the argument with curly brackets (in
2219 case it contains a closing square bracket)
2223 * text3.C (checkInsetHit): constify
2225 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2227 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2228 documents (bug 1629)
2230 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2232 Fix toggling of collapsable insets with the mouse (bug 1558)
2234 * lyxfunc.C (dispatch): adapt to LCursor changes
2236 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2237 make sure that dispatch is not invoked twice
2239 * cursor.C (needsUpdate): new method
2240 (dispatch): return void
2241 (result): new method, to access the DispatchResult of the cursor.
2243 2004-08-13 José Matos <jamatos@lyx.org>
2245 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2247 2004-08-13 André Pönitz <poenitz@gmx.net>
2249 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2251 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2254 2004-08-12 André Pönitz <poenitz@gmx.net>
2256 * text3.C: take out the 'cursor right' form insertInset and only
2257 do it in those places when it is really needed. Fixes crash on
2260 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2262 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2264 * BufferView_pimpl.C (setBuffer): initialize the current font of
2265 the underlying LyXText
2267 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2269 * kbsequence.C (print): use UI native formatting for menu
2272 * text.C (insertChar): call Paragraph::insertChar with a font
2275 * paragraph.C (insertInset, insertChar): the version that takes a
2276 LyXFont argument is now a wrapper around the other one (the
2277 opposite used to be true).
2279 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2280 argument. Font setting is done in Paragraph now.
2282 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2284 * outputparams.h: add new members intitle and lang.
2286 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2287 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2289 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2291 * text3.C (dispatch): remove special handling of button 4 and 5,
2292 it is now taken care of in the frontend code.
2294 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2296 * Spacing.h: add <string> (STLPort compile fix)
2298 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2300 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2302 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2304 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2307 * converter.C (showMessage): inherit from unary_function, make
2310 * buffer.C (writeFile): initialize retval
2312 * InsetList.h: rename private variable list to list_
2313 * InsetList.[Ch]: adjust accordingly.
2315 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2317 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2318 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2319 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2320 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2321 * ParagraphParameters.C, LaTeXFeatures.C: replace
2322 "support/std_sstream.h" with <sstream>
2324 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2326 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2327 * lyxsocket.C (LyXServerSocket): ditto
2328 (serverCallback): ditto
2330 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2332 * LaTeXFeatures.C: check release date when loading jurabib.
2334 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2336 * lyxserver.C (startPipe): call register_socket_callback
2337 (endPipe): call unregister_socket_callback
2339 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2341 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2342 (LyXServerSocket): register the callback
2343 (LyXServerSocket): unregister the callback
2344 (fd): delete function
2345 (serverCallback): improve error checking and setup the callbacks.
2346 (dataCallback): change arg to fd.
2347 (writeln): new func (copied fro the client socket) used for server
2349 (LyXDataSocket): simplify
2350 (~LyXDataSocket): close ann unregiser callback
2351 (server): delete function
2352 (fd): delete function
2353 (readln): small changes, improve some std::string usage
2354 (writeln): constify a bit
2356 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2358 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2361 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2363 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2364 after it has been populated
2366 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2368 * text2.C (insertInset): move cursor when inserting inset.
2370 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2372 * kbmap.C (findbindings): a couple of new methods. returns a
2373 container of kb_sequence objects. The real work is done by the
2374 private recursive version
2375 (printbindings): uses findbindings to print out a bracketed list
2376 of bindings (renamed from findbinding).
2378 * MenuBackend.C (binding): use kb_keymap::findbindings
2380 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2382 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2384 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2386 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2388 * paragraph.C (isWord): return true on insets that report
2391 * text.C (getWord): use Paragraph::isWord to decide what is in a
2392 word and what is not; fix bug 1609.
2394 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2396 * tex-strings.C: add "none" to string_paperpackages[], fixes
2397 off-by-one-error in the paperpackage selection.
2400 * tex-strings.[Ch]: char const * string[n]
2401 -> char const * const string[]
2403 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2405 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2406 command, return early.
2408 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2410 * debug.h: add DEBUG to enum and fix size of ANY.
2412 * debug.C: add support for Debug::DEBUG
2413 (showTags): cast errorTags.level to unsigned int
2415 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2416 (redoCurrentBuffer): ditto
2417 (updateScrollbar): ditto
2418 * cursor.C (dispatch): ditto
2419 * text2.C (setLayout): ditto
2421 (updateCounters): ditto
2423 (deleteEmptyParagraphMechanism): ditto
2425 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2427 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2428 annotations to cleanup the Makefile slightly.
2430 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2432 * lyxrc.C: do not set user_email to a default value but use empty
2433 instead. The entry used to be translated, which does not work
2434 since at the point where lyxrc is constructed there is no
2435 translation service available
2437 * messages.C (getLocaleDir): remove and use directly
2438 lyx_localedir() instead
2440 2004-06-02 Angus Leeming <leeming@lyx.org>
2442 Fix crash caused by dereferencing null pointer 'exportdata' in
2443 OutputParams by creating a new ExportData variable on the heap,
2444 storing it in a boost::shared_ptr.
2445 The crash was triggered when generating an Instant Preview
2446 of an external inset.
2448 * Makefile.am: add outputparams.C
2450 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2451 (c-tor): allocate memory to it.
2453 * exporter.C (c-tor): associated changes.
2455 2004-06-01 Angus Leeming <leeming@lyx.org>
2457 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2458 contains data before calling isInset(0). (Bug 1513.)
2460 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2462 * exporter.C (checkOverwrite): new method
2463 * exporter.C (copyFile): new method
2464 * exporter.C (Export): copy referenced files to the document dir
2465 * exporter.[Ch]: new class ExportedFile
2466 * exporter.[Ch]: new class ExportData. Contains currently the
2467 names of referenced external files
2468 * outputparams.h: add exportdata member.
2470 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2472 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2475 2004-05-19 Angus Leeming <leeming@lyx.org>
2480 * lyxfunc.C: small changes due to the introduction of namespace
2481 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2483 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2485 * text3.C (dispatch): supress update when only moving the cursor
2486 * cursor.C (selHandle): remove commented code
2488 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2490 * paragraph.C (startTeXParParams): correct column count
2491 * CutAndPaste.C (pasteSelection): remove const_cast
2492 * output_docbook.C (docbookParagraphs): remove const_cast
2493 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2494 const_cast and return ParagraphList::const_iterator
2495 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2496 * output_plaintext.C (writeFileAscii): remove const_cast
2497 * paragraph.[Ch] (simpleTeXOnePar): make const
2498 * paragraph_funcs.C (outerPar): use const iterators
2499 * paragraph_pimpl.C (validate): use const iterators
2500 * text.C (setHeightOfRow): use const iterators
2502 2004-05-17 Angus Leeming <leeming@lyx.org>
2505 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2507 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2508 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2509 if the citation engine has changed.
2511 2004-05-14 José Matos <jamatos@lyx.org>
2513 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2514 if the textclass does not provide it. Have it different for sgml and
2516 support the language of document.
2517 * output_docbook.C (docbookParagraphs):
2518 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2519 first anchor as the id of the paragraph, remove special case code.
2520 * sgml.C (escapeChar): escape only < & >.
2522 2004-05-14 Angus Leeming <leeming@lyx.org>
2524 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2525 dependencies on src/frontends/controllers/biblio.h. Define a
2526 CiteEngine_enum wrapper class to enable the enum to be forward
2529 2004-05-12 Angus Leeming <leeming@lyx.org>
2531 * buffer.C: up LYX_FORMAT to 234.
2532 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2533 use_numerical_citations with a single biblio::CiteEngine cite_engine
2535 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2537 2004-05-13 José Matos <jamatos@lyx.org>
2540 * converter.C (Converter, readFlags): add xml member.
2541 * outputparams.h: add XML flavor.
2542 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2544 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2546 * lyxfunc.C (dispatch):
2547 (getStatus): fix handling of LFUN_SEQUENCE
2549 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2551 * debug.C (showLevel): do not forget the end-of-line marker
2553 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2555 * kbmap.C (read): do not stop parsing a bind file when an error
2558 2004-04-29 Angus Leeming <leeming@lyx.org>
2563 * text2.C: wrap a bunch of #warning statements
2564 inside #ifdef WITH_WARNINGS blocks.
2566 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2568 * buffer.C: increment format to 233.
2570 2004-04-28 Angus Leeming <leeming@lyx.org>
2572 * BufferView_pimpl.C:
2575 s/updateToolbar()/updateToolbars()/
2576 s/Toolbar.h/Toolbars.h/
2578 2004-04-28 Angus Leeming <leeming@lyx.org>
2580 * BufferView.[Ch] (c-tor):
2581 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2582 No longer passes these data to the WorkArea generator.
2584 2004-04-28 Angus Leeming <leeming@lyx.org>
2586 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2588 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2590 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2592 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2594 * output_latex.C (TeXEnvironment): make sure that there is a line
2595 break before \end{foo} for the last paragraph of a document
2596 (TeXOnePar): if the paragraph is at the end of the document (or
2597 inset) and the language has to be reset, then make sure that the
2598 line break is _before_ the language command, not after (fixes bug
2599 1225); also make sure that the language reset command is the first
2600 thing after the paragraph (to ensure proper nesting of
2601 environments and thus fix bug 1404)
2603 2004-04-21 John Levon <levon@movementarian.org>
2606 * ToolbarBackend.C: make "name" be a programmatic name
2607 and a gui_name field.
2609 * lyxfunc.C: display the minibuffer on M-x
2611 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2613 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2616 2004-04-19 Angus Leeming <leeming@lyx.org>
2618 * BufferView_pimpl.C (setBuffer): changed preview interface.
2620 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2623 2004-04-19 John Levon <levon@movementarian.org>
2625 * BufferView_pimpl.C:
2626 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2628 2004-04-05 Angus Leeming <leeming@lyx.org>
2630 * text.C (redoParagraphs): add call to updateCounters(), thereby
2631 fixing the missing "Figure #:" label from the caption of a
2634 2004-04-13 Angus Leeming <leeming@lyx.org>
2636 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2637 cursor is clicked out of an inset.
2639 2004-04-13 Angus Leeming <leeming@lyx.org>
2641 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2642 than an InsetOld one.
2644 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2646 * format.[Ch]: add editor to Format
2647 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2648 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2650 2004-04-08 André Pönitz <poenitz@gmx.net>
2652 * metricsinfo.h: remove PainterInfo::width member
2654 2004-04-08 Angus Leeming <leeming@lyx.org>
2656 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2657 "\providecommand" rather than "\newcommand", thereby preventing
2658 clashes with packages that define "\boldsymbol" themselves.
2661 2004-04-08 Angus Leeming <leeming@lyx.org>
2663 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2664 thereby squashing an unnecessary warning.
2666 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2668 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2671 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2673 * BufferView.C (setCursor): call redoParagraph (some insets could
2675 (putSelectionAt): remove the 'double update' trick
2677 * BufferView_pimpl.C (fitCursor): call refreshPar
2678 (workAreaDispatch): remove an uneeded update call
2679 (dispatch): remove some manual update calls
2681 * cursor.[Ch]: remove cached_y_, updatePos
2682 (selHandle): set noUpdate when appropriate
2684 * lyxfunc.C (dispatch): track if we need an update
2686 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2688 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2689 (paintSelection): cheap optimization, do not call cursorX when not
2691 (paintPars): change signature
2694 (paintTextInset): adjust
2698 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2700 * lengthcommon.C: compilation fix: remove explicit array size from
2701 unit_name[] and friends
2703 2004-04-05 Angus Leeming <leeming@lyx.org>
2705 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2707 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2708 present only for the preferences dialog.
2709 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2711 2004-04-05 Angus Leeming <leeming@lyx.org>
2713 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2714 to enable the frontends to export changes to lyxrc correctly.
2716 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2718 2004-04-07 André Pönitz <poenitz@gmx.net>
2720 * cursor.[Ch] (selClear, adjust): remove math
2722 * cursor_slice.C: more agressive assert
2725 * BufferView_pimpl.C: rework mouse event dispatch
2732 2004-04-05 André Pönitz <poenitz@gmx.net>
2734 * cursor.[Ch] (valign, halign...): remove unneeded functions
2736 2004-04-05 Angus Leeming <leeming@lyx.org>
2738 * lyxlength.[Ch] (unit_name et al.): const-correct.
2740 2004-04-05 Angus Leeming <leeming@lyx.org>
2742 * BufferView_pimpl.C:
2751 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2753 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2755 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2757 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2759 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2760 * BufferView_pimpl.[Ch] (getStatus)
2761 * BufferView.[Ch] (getStatus): add
2762 * lyxfunc.C (getStatus): move lfuns handled in
2763 BufferView::dispatch to te function above
2764 * Cursor.C (setSelection): set selection() = true
2766 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2768 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2770 2004-03-31 Angus Leeming <leeming@lyx.org>
2772 * lyxfunc.C (dispatch): Fall through to the generic
2773 Dialogs::show("preamble").
2775 2004-03-31 Angus Leeming <leeming@lyx.org>
2777 * lyxfunc.C (dispatch): Fall through to the generic
2778 Dialogs::show("spellchecker").
2780 2004-03-31 Angus Leeming <leeming@lyx.org>
2782 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2785 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2790 * insetiterator.[Ch]:
2795 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2797 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2799 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2800 insets where we are putting the cursor.
2802 2004-03-31 Angus Leeming <leeming@lyx.org>
2805 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2807 * lyxrc.[Ch] (read, write): overloaded member functions taking
2808 a std::[io]stream arguments.
2810 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2812 2004-03-31 Angus Leeming <leeming@lyx.org>
2814 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2815 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2817 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2818 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2820 2004-03-31 Angus Leeming <leeming@lyx.org>
2822 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2823 the LFUN_ALL_INSETS_TOGGLE code.
2825 2004-03-30 Angus Leeming <leeming@lyx.org>
2827 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2828 has died. Fall through to the generic Dialogs::show("document").
2830 2004-03-30 Angus Leeming <leeming@lyx.org>
2833 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2834 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2836 * lyxfunc.C (getStatus, dispatch): define the actions for these
2837 lfuns. Little more than a cut and pste job from ControlDocument.C
2839 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2841 2004-03-30 Angus Leeming <leeming@lyx.org>
2844 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2845 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2847 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2848 open/closed state of ollapsable insets. Usage:
2850 all-inset-toggle <state> <name>, where
2851 <state> == "open" || "closed" || "toggle" and
2852 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2854 * lyxtext.h, text2.C (toggleInset): removed.
2856 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2857 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2858 now passes LFUN_INSET_TOGGLE to the found inset.
2860 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2861 is now invoked as "all-insets-toggle toggle branch".
2863 2004-03-30 Angus Leeming <leeming@lyx.org>
2867 * pariterator.[Ch]: added/corrected header blurb.
2869 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2871 * dociterator.[Ch]: add an inset_ member
2872 (backwardPos): implemented
2873 (backwardPos, forwardPos): use inset_ when the stack is empty.
2874 (doc_iterator_begin, doc_iterator_end): implemented
2875 * pariterator.[Ch]: adjust, add begin, end
2876 * insetiterator.[Ch]: adjust, add begin, end
2880 * BufferView_pimpl.C:
2881 * CutAndPaste.C: adjust
2883 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2885 * buffer.C: increment file format to 232.
2886 * LaTeXFeatures.C: add bibtopic package.
2887 * bufferparams.[Ch]: param \use_bibtopic.
2889 * lyxrc.[Ch]: add lyxrc bibtex_command
2890 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2892 * buffer.C: increment file format to 231.
2894 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2896 * dociterator.C: implement forwardPar
2897 * iterators.[Ch]: remove, replaced by
2898 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2900 * BufferView_pimpl.C:
2903 * bufferview_funcs.C:
2909 * Makefile.am: adjust
2911 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2913 * CutAndPaste.C (pasteSelection): fix 2 crashes
2914 (eraseSelection): fix a crash
2915 * paragraph_funcs.C: remove a warning
2917 2004-03-28 Angus Leeming <leeming@lyx.org>
2920 * LyXAction.C (init): new LFUN_PRINT.
2922 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2924 2004-03-27 Angus Leeming <leeming@lyx.org>
2927 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2929 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2931 2004-03-27 Angus Leeming <leeming@lyx.org>
2933 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2934 insetlist always contains non-null pointers to insets.
2936 2004-03-26 Angus Leeming <leeming@lyx.org>
2938 * src/BufferView_pimpl.C:
2939 * src/CutAndPaste.C:
2942 * src/output_plaintext.C:
2943 * src/outputparams.h:
2944 * src/paragraph_funcs.C:
2948 * src/frontends/controllers/ControlErrorList.C:
2949 * src/frontends/gtk/FileDialogPrivate.C:
2950 * src/frontends/gtk/GPainter.C:
2951 * src/frontends/gtk/GToolbar.C:
2952 * src/frontends/qt2/QRef.C:
2953 * src/mathed/math_scriptinset.C: squash compiler warnings.
2955 2004-03-26 Angus Leeming <leeming@lyx.org>
2957 * ispell.C (LaunchIspell::start):
2958 * lyx_cb.C (AutoSaveBuffer::start):
2959 invoke run(DontWait) rather than runNonBlocking().
2961 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2963 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2965 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2967 * kbsequence.C (print): adjust
2969 * kbmap.C (printKeySym): rename and change signature
2970 (printKey): use LyXKeySym::print()
2972 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2974 * undo.C: add using std::advance to compile for stlport
2976 2004-03-24 Angus Leeming <leeming@lyx.org>
2978 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2979 it leads to a crash when no buffer is present.
2981 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2982 Martin Vermeer <martin.vermeer@hut.fi>
2984 * lyxfunc.C (dispatch):
2985 * bufferparams.C (readToken): use the new LColor::setColor
2987 * LColor.[Ch] (setColor): new version that takes two strings as
2988 argument and creates a new color entry if necessary
2990 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2992 * buffer.C (makeLaTeXFile): if the main latex file that is
2993 processed is usually a subdocument of some master, then pretend
2994 for a while that it is actually the master
2996 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2998 * buffer.C (getLabelList):
2999 (getBibkeyList): use getMasterBuffer()
3000 (getMasterBuffer): new method. Returns the main document in the
3001 case where one is using included documents.
3003 2004-03-25 André Pönitz <poenitz@gmx.net>
3007 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3009 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3011 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3012 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3014 * ParameterStruct.h: merge with ParagraphParameters
3016 * lyxtext.h: remove LyXText::parOffset() and getPar()
3018 * text3.C: Remove all 'manual' update calls. We do now one per user
3019 interaction which is completely sufficient.
3023 * BufferView_pimpl.C:
3024 * FontIterator.[Ch]:
3026 * ParagraphParameters.[Ch]:
3031 * cursor_slice.[Ch]:
3038 * output_docbook.[Ch]:
3039 * output_latex.[Ch]:
3040 * output_linuxdoc.[Ch]:
3041 * output_plaintext.[Ch]:
3043 * paragraph_funcs.[Ch]:
3044 * paragraph_pimpl.[Ch]:
3052 * frontends/controllers/ControlDocument.C:
3053 * frontends/controllers/ControlErrorList.C:
3054 * frontends/controllers/ControlSpellchecker.C:
3057 * insets/insetbase.h:
3058 * insets/insetbibitem.C:
3059 * insets/insetbox.C:
3060 * insets/insetbranch.C:
3061 * insets/insetcaption.C:
3062 * insets/insetcharstyle.C:
3063 * insets/insetcharstyle.h:
3064 * insets/insetcollapsable.C:
3065 * insets/insetcollapsable.h:
3066 * insets/insetert.C:
3067 * insets/insetfloat.C:
3068 * insets/insetfoot.C:
3069 * insets/insetmarginal.C:
3070 * insets/insetnote.C:
3071 * insets/insetoptarg.C:
3072 * insets/insettabular.C:
3073 * insets/insettext.C:
3074 * insets/insettext.h:
3075 * insets/insetwrap.C:
3076 * mathed/math_mboxinset.C:
3077 * mathed/math_nestinset.C:
3078 * mathed/math_scriptinset.C:
3079 * mathed/math_scriptinset.h:
3082 2004-03-24 Angus Leeming <leeming@lyx.org>
3084 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3085 deal with any child processes that have finished but are waiting to
3086 communicate this fact to the rest of LyX.
3088 2004-03-24 Angus Leeming <leeming@lyx.org>
3090 64-bit compile fixes.
3092 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3093 (c-tor): pass lyx::pos_types rather than ints.
3095 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3098 * text.C (Delete): compile fix.
3099 (getPar): ensure that function declaration is the same as that in
3102 2004-03-23 Angus Leeming <leeming@lyx.org>
3104 * ispell.C (LaunchIspell):
3105 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3106 a boost::shred_ptr rather than a std::auto_ptr.
3108 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3110 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3111 handle LFUN_FILE_INSERT_*
3113 * lyxrc.C (setDefaults, getDescription, output, read):
3114 * lyxrc.h: remove ps_command
3116 2004-03-22 Angus Leeming <leeming@lyx.org>
3118 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3119 Ensure that error_handler is processed once only and that all data
3120 is saved before attempting to output any warning messages.
3122 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3124 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3126 * tabular.C (TeXRow): crash fix (from Kayvan and André)
3128 2004-03-19 André Pönitz <poenitz@gmx.net>
3130 * cursor.[Ch] (reset): take main text inset as argument
3132 * BufferView: adjust
3133 * BufferView_pimpl.C: adjust
3135 * paragraph.[Ch]: fix completely broken operator=()
3137 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3139 * LColor.C (getFromLyXName): make sure that the color name is used
3142 2004-03-17 Angus Leeming <leeming@lyx.org>
3145 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3147 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3148 dialog and to kill a forked process.
3150 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3152 * text2.C (setCursorFromCoordinates): fix font problem
3154 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3156 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3157 bogus "rebuild cursor" code
3159 2004-03-11 André Pönitz <poenitz@gmx.net>
3161 * buffer.[Ch]: use InsetText instead of LyXText as container for
3164 * dociterator.[Ch]: drop the BufferView * member which is not needed
3165 anymore after the change to buffer.C
3167 * paragraph_funcs.C:
3171 * BufferView_pimpl.[Ch]:
3173 * cursor_slice.[Ch]: adjust
3175 * text3.C: fix bug in mathDispatch
3177 2004-03-08 André Pönitz <poenitz@gmx.net>
3179 * undo.[Ch]: use 'StableDocumentIterator' as base for
3182 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3185 * bufferparams.[Ch]: add jurabib support and param.
3187 * LaTeX.C: add FIXME/comment.
3189 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3191 * buffer.C: increment file format to 230.
3193 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3195 * cursor.C (dispatch): avoid infinite loops
3197 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3199 * rowpainter.C (paintSelection): fix x coordinates
3201 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3203 * text.C (rowBreakPoint): fix breaking before displayed insets
3205 2004-03-01 André Pönitz <poenitz@gmx.net>
3207 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3209 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3213 * BufferView_pimpl.C:
3221 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3227 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3228 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3230 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3232 * Bidi.[Ch] (computeTables): const correctness
3233 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3234 fill_hfill, fill_label_hfill and x from Row
3235 * lyxtext.h: prepareToPrint returns a RowMetrics
3236 * rowPainter.C: adjust
3237 * text.C (prepareToPrint): use width, not textWidth. adjust
3238 (redoParagraphInternal, cursorX): adjust
3239 * text2.C (getColumnNearX): adjust
3240 (init): put a default value to the top LyXText::width
3242 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3244 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3246 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3248 * lyxtext.h: add FontIterator class
3250 * text.C (FontIterator, operator*, operator->, operator++): add
3251 (rowBreakPoint, setRowWidth): adjust (fixing a
3254 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3256 * BufferView_pimpl.C (workAreaDispatch): allow also
3257 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3259 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3261 * text.C (rowBreakPoint): fix a bug showing with very large insets
3263 2004-02-25 André Pönitz <poenitz@gmx.net>
3266 * cursor.[Ch]: move some mathed specific code to mathed
3268 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3270 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3271 use_tempdir in preferences
3272 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3274 * lyx_main.C: ensure that tempdir is valid
3275 * lyxlex.h: correct typo
3276 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3277 * paragraph.[Ch] (isMultiLingual): make const
3278 * cursor.[Ch] (openable): make const
3280 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3282 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3284 2004-02-20 André Pönitz <poenitz@gmx.net>
3286 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3288 * cursor.[Ch]: prepare for localized getStatus()
3294 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3296 2004-02-20 André Pönitz <poenitz@gmx.net>
3298 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3300 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3302 * text2.C (setCursorFromCoordinates): switch to absolute coords
3304 (cursorDown): adjust
3305 * text3.C (dispatch): adjust
3307 2004-02-16 André Pönitz <poenitz@gmx.net>
3309 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3312 * cursor_slice.[Ch]: remove unneeded acessor function
3314 * lyxtext.h: rename rtl() to isRTL()
3322 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3324 * rowpainter.C (paintSelection): coord fix
3326 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3328 * Spacing.C: compile fix
3330 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3332 * cursor.C (dispatch): restore current_ before returning
3334 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3336 * text2.C (cursorUp, cursorDown): fix coords
3339 2004-02-12 André Pönitz <poenitz@gmx.net>
3344 * text3.C: add LCursor & parameter to most cursor movement functions
3345 remove usage of LyXText::cursorRow() and cursorPar()
3347 * cursor.[Ch]: add textRow() needed members
3350 * BufferView_pimpl.C:
3353 * BufferView_pimpl.C: adjust
3355 2004-02-11 André Pönitz <poenitz@gmx.net>
3359 * BufferView_pimpl.C: shift undo/redo handling
3361 * cursor.[Ch]: fix mathed crash
3364 * lyxtext.h: move selectionAsText to LCursor
3372 * rowpainter.C: fix excessive drawing
3374 2004-02-06 André Pönitz <poenitz@gmx.net>
3377 * BufferView_pimpl.[Ch]:
3378 * text3.C: move some text specific LFUN handling
3380 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3382 * text3.C (checkInsetHit): adjust coords
3383 * text2.C (getColumnNearX): adjust coords
3384 (edit): adjust coords
3385 * text.C (getRowNearY): add two asserts
3387 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3390 * format.C: add using std::distance to compile on gcc 2.95/stlport
3392 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3394 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3396 2004-02-04 André Pönitz <poenitz@gmx.net>
3398 * BufferView.[Ch] (insertInset):
3399 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3404 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3406 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3407 on the default clause of the switch
3408 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3409 wasn't catched by LCursor::dispatch
3411 2004-02-03 André Pönitz <poenitz@gmx.net>
3414 * cursor.[Ch]: some additional asserts
3416 * undo.[Ch]: remove LyXText dependency in interface
3420 * lyxtext.h (firstPar, lastPar): remove dead functions
3425 * paragraph.[Ch]: adjust
3427 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3429 * lyxfind.C (find): fix argument order in call to ::find
3431 2004-02-02 André Pönitz <poenitz@gmx.net>
3433 * cursor.[Ch]: remove direct access to anchor
3435 * text.C: remove findText() hack
3437 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3439 * iterators.[Ch] (lockPath): remove in favour of...
3440 * BufferView.[Ch] (setCursor): this addition
3441 * BufferView.C (putSelectionAt): adjust
3442 * undo.C (performUndoOrRedo): adjust
3443 * lyxfunc.C (dispatch): adjust
3445 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3447 * iterators.C (lockPath): add a missing slice
3448 * undo.C (performUndoOrRedo): remove redundant positioning code
3450 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3452 * vc-backend.C (scanMaster): ";" -> ';'
3454 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3456 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3457 std::binary_function
3459 * lyxtextclass.C (compare_name): rename to...
3460 (LayoutNamesEqual): ...this
3462 * lyxlex_pimpl.C (compare_tags): inherit from
3463 std::binary_function, put back into anon namespace
3465 * lyxfind.C (MatchString): inherig from std::binary_function
3466 (findChange): use empty() istead of !size()
3468 * format.C (FormatNamesEqual): new functor
3475 * converter.C (compare_Converter): rename to...
3476 (ConverterEqual): ...this, and fixup a bit.
3477 (getConverter): use it, and make function const
3478 (getNumber): use it, and make function const
3482 * bufferlist.C: add using boost::bind
3484 * MenuBackend.C (MenuNamesEqual): new functor
3485 (hasMenu): use it, and make function const
3486 (hasSubmenu): use nested bind to get rid of compare_memfun.
3488 2004-01-30 André Pönitz <poenitz@gmx.net>
3490 * BufferView_pimpl.C:
3493 * cursor_slice.[Ch]:
3496 * paragraph_funcs.C:
3497 * paragraph_funcs.h:
3501 * text3.C: move some of the edit(x,y) handling to the insets
3502 some coordinate changes.
3504 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3506 * text.C: add using statements for std::advance and std::distance
3508 * paragraph.C: add using statement for std::distance
3510 * lyxfind.C: add using statement for std::advance
3512 * cursor.C (region): remove std:: from swap
3513 (openable): use nucleus in stead of operator->
3515 * BufferView.C: add using statements for std::distance and std::swap
3517 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3519 * iterators.C: Remove the pimple, move the needed structures to
3520 the header file. Create accessor for the positions stack.
3521 (asPosIterator): remove function
3523 * PosIterator.C (PosIterator): move constructors to top of file
3524 (PosIterator): reimplement the constructor taking a ParIterator in
3526 (setFrom): new function
3527 (operator!=): inline it
3529 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3531 * lyxfind.C (replaceAll): use std::advance
3533 * iterators.h: inherit from std::iterator.
3535 * PosIterator.C (advance, distance): remove
3536 * PosIterator.h: interit from std::iterator.
3538 2004-01-26 André Pönitz <poenitz@gmx.net>
3541 * BufferView_pimpl.[Ch]:
3545 * bufferview_funcs.C:
3555 * output_linuxdoc.C:
3556 * output_plaintext.C:
3558 * paragraph_funcs.[Ch]:
3559 * paragraph_pimpl.[Ch]:
3565 * text3.C: more IU: dumps most of the rest of the mathcursor
3566 implementation into cursor.[Ch]; "globalize" a bit of it.
3568 2004-01-25 Angus Leeming <leeming@lyx.org>
3570 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3572 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3574 * LaTeXFeatures.h: add nice_ and nice() const
3575 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3577 2004-01-20 André Pönitz <poenitz@gmx.net>
3580 * BufferView_pimpl.C:
3582 * bufferview_funcs.C:
3584 * cursor_slice.[Ch]:
3595 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3596 LCursor and mathcursor parts to LCursor and InsetBase.
3598 2004-01-15 André Pönitz <poenitz@gmx.net>
3600 * cursor_slice.[Ch]: add a few covienience functions
3602 * funcrequest.[Ch]: remove BufferView * member
3604 * BufferView_pimpl.C:
3611 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3613 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3615 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3616 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3618 2004-01-13 André Pönitz <poenitz@gmx.net>
3621 * lyxtext.h: hide cursor and selection anchor behind accessor function
3624 * BufferView_pimpl.[Ch]:
3626 * bufferview_funcs.C:
3636 * cursor_slice.[Ch]: some integer type changes for inset unification
3638 * lyxcursor.[hC]: remove, it's CursorSlice now.
3641 * BufferView_pimpl.[Ch]:
3642 * bufferview_funcs.C:
3648 * textcursor.[Ch]: adjust
3650 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3652 * text2.C (undoSpan): add and use
3653 * text.C (breakParagraph): use undoSpan (fix bug 578)
3656 2004-01-08 Angus Leeming <leeming@lyx.org>
3658 * BufferView_pimpl.C (MenuInsertLyXFile):
3659 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3660 * lyxfunc.C (menuNew, open, doImport):
3661 FileFilterList change to the FileDialog open and save functions.
3663 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3665 * ShareContainer.h: make isEqual and isUnique adaptable
3667 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3669 2004-01-07 Angus Leeming <leeming@lyx.org>
3672 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3674 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3676 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3677 functions replacing find, replace and replaceAll.
3679 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3680 LFUN_WORDFIND(FORWARD|BACKWARD).
3682 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3684 * text.C (breakParagraph): remove an outdated #warning
3686 2004-01-07 André Pönitz <poenitz@gmx.net>
3688 * lyxfind.C: somewhat clearer logic
3690 * text.C: prevent crash in cursorX on unitialized row cache
3692 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3694 * lyxcursor.[Ch] (operator>): add
3695 * textcursor.C (selStart, selEnd): use std::min and std::max
3697 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3699 * Chktex.C: include boost/format.hpp
3701 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3703 * InsetList.C: replace functor MathcIt with adaptable functor
3705 (insetIterator): modify accordingly
3707 * BranchList.h: move the BranchNamesEqual functor here from...
3708 * BranchList.C: ... to here
3710 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3712 (add): replace a finding loop with std::find_if.
3714 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3716 * output_docbook.C: moving LatexParam functionality into
3719 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3721 * buffer.C: increment format to 229.
3723 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3726 * lyx_sty.[Ch]: remove minipageindent_def
3732 * text3.C: remove LFUN_INSET_MINIPAGE
3734 2003-12-28 Angus Leeming <leeming@lyx.org>
3736 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3738 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3740 * text2.C (setParagraph): fix off-by-one crash
3742 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3744 * output_docbook.C: header stuff for AGU
3746 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3748 * text2.C (redoCursor): remove
3751 * BufferView_pimpl.C: remove calls to redoCursor and
3752 setCursor(cursor.par(), cursor.pos()) all around
3754 2003-12-15 Angus Leeming <leeming@lyx.org>
3756 * buffer.C: up the format to 228.
3758 2003-12-15 André Pönitz <poenitz@gmx.net>
3760 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3765 * BufferView_pimpl.C:
3774 2003-12-15 Angus Leeming <leeming@lyx.org>
3776 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3777 than getFromGUIName to manipulate the color.
3779 2003-12-14 Angus Leeming <leeming@lyx.org>
3781 * BranchList.[Ch]: minimize the API.
3782 (Branch::getBranch, getColor): now return a 'const &'.
3783 (Branch::setSelected) now returns a bool set to true if the
3784 selection status changes.
3785 (BranchList::clear, size, getColor, setColor, setSelected,
3786 allBranches, allSelected, separator): removed.
3787 (BranchList::find): new functions, returning the Branch with
3789 (BranchList::add, remove): return a bool indicating that
3790 the operation was successful.
3792 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3793 new InsetBranch::isBranchSlected member function.
3795 * LColor.[Ch]: mimimize the API.
3796 (fill): renamed as addColor and made private.
3797 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3798 versions of these functions taking a string arg have been removed.
3800 * bufferparams.C (readToken):
3801 * lyxfunc.C (dispatch):
3802 * lyxrc.C (read): changes due to the altered BranchList and
3805 * factory.C (createInset, readInset): changes due to altered
3808 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3811 * lyxfunc.C: remove insetminipage. "minipage-insert"
3812 now produces a frameless minipage box inset.
3814 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3816 * textcursor.[Ch] (selStart,selEnd): add new methods
3817 remove selection::start, end, use LyXCursor::operator<
3818 * lyxcursor.[Ch] (operator<): add
3819 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3820 * BufferView.[Ch] (unsetXSel): add
3821 * text2.C (clearSelection): use unsetXSel,adjust
3824 * rowpainter.C: adjust
3825 * bufferview_funcs.C (put_selection_at): adjust
3827 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3829 * BufferView_pimpl.C: small coord. correction
3831 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3833 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3834 dragging over the splash screen.
3836 2003-12-11 Angus Leeming <leeming@lyx.org>
3838 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3839 as it is now handled in LyXText::dispatch.
3841 * text3.C (doInsertInset): remove a level of nesting.
3843 2003-12-11 Angus Leeming <leeming@lyx.org>
3845 * factory.C (createInset): changes due to the changed interface to
3846 InsetCommandMailer::string2params.
3848 2003-12-10 Angus Leeming <leeming@lyx.org>
3850 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3851 'dialog-show-new-inset <inset name>'
3853 2003-12-10 Angus Leeming <leeming@lyx.org>
3855 * buffer.C: up the format to 227.
3857 * factory.C: the box inset is now identified simply by 'Box'.
3859 2003-12-10 Angus Leeming <leeming@lyx.org>
3861 * buffer.C: up the format to 226.
3863 * factory.C: the note inset is now identified simply by 'Note'.
3865 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3867 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3868 when a pit is enough. Standarize a couple of loops.
3870 2003-12-05 Angus Leeming <leeming@lyx.org>
3872 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3873 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3874 data to the re-worked "log" dialog.
3876 2003-12-03 André Pönitz <poenitz@gmx.net>
3882 * paragraph_funcs.C:
3884 * text2.C: use Inset::getText instead of Inset::getParagraph
3886 2003-12-03 André Pönitz <poenitz@gmx.net>
3890 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3891 InsetText::read() as LyXText::read()
3893 2003-12-02 Angus Leeming <leeming@lyx.org>
3895 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3896 type. Add a comment in the implementation that the function uses
3897 the stream's bad() function rather than fail() as the std::streams
3900 2003-12-02 André Pönitz <poenitz@gmx.net>
3902 * lyxlex.[Ch]: make interface more similar to std::stream
3904 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3906 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3908 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3910 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3912 * vspace.[Ch]: remove VSpace::NONE
3914 2003-12-01 André Pönitz <poenitz@gmx.net>
3917 * lyxtext.h: move ParagraphList member to LyXText
3918 rename LyXText::ownerParagraphs to LyXText::paragraph
3921 * bufferview_funcs.C:
3931 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3933 * undo.C: fix cursor positioning
3935 2003-12-01 John Levon <levon@movementarian.org>
3937 * BufferView_pimpl.C: fix a crash on exit with
3940 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3942 * BranchList.C: fix setSelected() method.
3944 2003-11-28 André Pönitz <poenitz@gmx.net>
3946 * ParagraphParameters.[Ch]:
3947 * ParameterStruct.h: remove space above/below from Paragraph to
3950 * BufferView_pimpl.C:
3956 * paragraph_funcs.C:
3962 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3964 * factory.C: Syntax change for CharStyles
3966 2003-11-28 André Pönitz <poenitz@gmx.net>
3971 * buffer.[Ch]: move LyXText member
3973 2003-11-28 André Pönitz <poenitz@gmx.net>
3975 * BufferView.[Ch]: make LyXText * text a private member
3977 * BufferView_pimpl.C:
3988 * output_plaintext.C: cleanup
3990 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3993 * lyxtextclass.[Ch]: parametrize SGML document header
3995 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3998 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4001 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4003 * text2.C (setFont): rework using PosIterator (no more recursive)
4004 (setCharFont): no more needed
4005 (setLayout): no more selection cursors fiddling (done by redoCursor)
4006 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4007 destroy remaining ones)
4009 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4011 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4013 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4016 * text3.C: adjust + re-allow multi par depth changes
4017 * textcursor.C: simplify a bit
4019 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4025 * src/output_docbook.C:
4026 * src/output_latex.C:
4031 * src/text2.C: Introducing a number of tags parametrizing various
4032 XML formats that we may want to support
4034 2003-11-25 André Pönitz <poenitz@gmx.net>
4036 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4038 * lyxtext.h (leftMargin/rightMargin): simplify interface
4045 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4047 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4048 master file to any child files. Fixes bug 546.
4050 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4052 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4054 2003-11-24 André Pönitz <poenitz@gmx.net>
4056 * rowpainter.C: simplification
4058 * text2.C (updateCounters): remove call to redoParagraph on
4059 changed labels as this is far too expensive.
4061 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4063 * converter.C (convert): fix a crash: this function gets
4064 called with buffer == 0 from importer code.
4066 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4068 * text3.C (cursorPrevious): make sure that we do not compare
4069 iterators form different containers.
4072 * rowpainter.C (paintSelection): make sure that we do not compare
4073 iterators from different containers.
4075 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4076 iterators from different ParagraphList containers.
4079 * text2.C (LyXText): change order of initialization slightly
4080 (operator=): new function. copy all variables except cache_par_
4081 (moveUp): make sure that we do not compare iterators from
4082 different ParagraphList constainers.
4085 * text.C (firstPar): new function
4086 (lastPar): new function
4087 (endPar): new function
4089 * lyxtext.h: move things around and group public functions, public
4090 variables, private functions, private variables
4092 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4094 * factory.C: change call to InsetERT constructor to avoid
4095 additional invocation of method status
4096 * text2.C (toggleInset): remove redundant update() call
4097 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4098 instead of a Bufferview pointer
4100 2003-11-21 André Pönitz <poenitz@gmx.net>
4102 * rowpainter.C: simplification
4104 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4106 * text3.C (dispatch): make possible to extend a word/row selection
4109 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4111 * lyxtext.h: x0_,y0_ -> xo_,yo_
4112 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4113 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4114 * rowpainter.C (paintRows): paint full paragraphs
4116 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4118 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4121 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4123 * lyxtext.h: add x0_, y0_
4124 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4125 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4127 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4129 * text2.C (setCursorIntern): move the x_target update here *
4130 * text3.C: change some bv() to true/false in calls to
4131 cursorUp/Down/Right/Left
4132 * cursor.C: use helper function.
4134 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4136 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4137 * paragraph_funcs.[Ch]: correct comment
4138 * rowpainter.C: do not paint selections away from bv->cursor()
4139 Fix a long standing selection painting bug.
4140 * text3.C: generalize mouse-selection code to LyXTexts other that
4142 * textcursor.C: do not use y coords if we can use par offsets
4144 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4146 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4147 cursor position after e.g. inset insert)
4149 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4151 * lyxfind.C (replace): adjust to locking removal + some
4154 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4156 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4159 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4162 * output_docbook.C: XML sanitation: new layout
4163 parameters InnerTag and CommandDepth
4165 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4167 * BufferView_pimpl.C:
4169 * text3.C: Fix the insertion and modification of button-style
4172 2003-11-13 André Pönitz <poenitz@gmx.net>
4174 * InsetList.[Ch]: remove deleteLyXText
4176 * paragraph.[Ch]: cache beginOfBody position
4181 * text3.C: remove superfluous update() calls
4185 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4187 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4188 * BufferView.C (fitLockedInsetCursor): remove
4189 * cursor.[Ch] (getDim): add
4190 * text.C (getRowNearY): add faster version
4191 * text3.C: remove some update calls
4193 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4205 * text3.C: The Character Style /XML short element patch.
4207 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4210 * factory.C: Small step to solving 'unable to insert some insets'
4213 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4215 * cursor.[Ch] (updatePos): new function for updating the y
4216 position of the tip inset
4217 * bufferview_funcs.C (put_selection_at):
4218 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4220 2003-11-11 André Pönitz <poenitz@gmx.net>
4222 * text.C: remove big comment on invalid Paragraph pointers as it is
4225 2003-11-11 André Pönitz <poenitz@gmx.net>
4227 * text_funcs.[Ch]: merge with ...
4235 * Makefile.am: remove text_funcs.[Ch]
4237 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4239 * cursor.C (getPos): return absolute cached y coord
4241 * BufferView_pimpl.C (fitCursor): new simplistic code
4242 (workAreaDispatch): add a fitCursor call
4244 2003-11-10 André Pönitz <poenitz@gmx.net>
4247 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4249 2003-11-10 André Pönitz <poenitz@gmx.net>
4251 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4252 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4253 indicate that the cursor needs to leave an inset
4255 * lyxtext.h: remove inset locking
4257 * cursor.[Ch]: re-implement functionality provided by inset locking
4260 * BufferView_pimpl.[Ch]:
4262 * bufferview_funcs.[Ch]:
4274 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4276 * PosIterator.[Ch]: replace the stack with a vector, add inset
4278 * iterators.[C]: adjust
4280 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4282 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4284 * paragraph_funcs.C (readParToken): put the correct id in the
4285 error item, not the id of the top paragraph
4287 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4289 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4290 * bufferview_funcs.C (put_selection_at): use the above
4292 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4294 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4296 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4298 * output_linuxdoc.h:
4299 * output_plaintext.h:
4301 * output_docbook.h: add #include statements
4303 2003-11-05 José Matos <jamatos@lyx.org>
4305 * output_docbook.[Ch]:
4306 * output_latex.[Ch]:
4307 * output_linuxdoc.[Ch]:
4308 * output_plaintext.[Ch]: New files for output formats.
4309 * output.[Ch]: New file for helper functions.
4312 * paragraph_funcs.[Ch]: output functions moved to new files.
4314 * outputparams.h: rename of latexrunparams.h
4322 * paragraph_funcs.[Ch]:
4323 * paragraph_pimpl.[Ch]:
4324 * tabular.[Ch]: rename ascii to plaintext
4325 and LatexRunParams to OutputParams.
4327 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4329 * iterators.[Ch] (text): require bv argument
4330 * undo.C (recordUndo):
4331 * lyxfunc.C (dispatch):
4332 * bufferview_funcs.C (put_selection_at): adjust
4334 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
4336 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4338 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4340 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4343 2003-11-04 André Pönitz <poenitz@gmx.net>
4345 * cursor.[Ch]: restructure
4348 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4350 * iterators.[Ch] (asCursor): remove
4352 * lfuns.h: remove LFUN_INSET_EDIT
4358 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4360 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4362 * lyxfind.[Ch]: complete overhaul
4363 * BufferView_pimpl.C:
4365 * paragraph.[Ch] (insert): add
4367 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4371 * text.C: remove dead spellcheck code
4373 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4375 * dispatchresult.h: add a val setter
4377 * cursor.C (dispatch): use a tempvar for data_[i]
4379 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4381 * PosIterator.[Ch]: compile fix
4383 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4385 * text.C (cursorPar): deactivate the cursor cache
4387 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4389 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4391 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4393 * text3.C (dispatch): adjust for new DisptchResult semantics.
4395 * lyxfunc.C (dispatch): handle update when return from
4396 Cursor::dispatch, adjust for new DispatchResult semantics.
4398 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4399 DispatchResult(true) mean to not update. Add class functions for
4400 setting dispatched and update, as well as reading.
4402 * cursor.C (dispatch): don't handle update here
4404 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4406 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4407 * trans_mgr.C: adjust
4409 * paragraph_funcs.C (readParToken): exception safety
4411 * lyxvc.h: store the vcs pointer in a scoped_ptr
4414 * lyxsocket.C (serverCallback): exception safety
4416 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4418 * ispell.C (clone): make it return a auto_ptr
4420 * factory.C (createInset): exception safety
4421 (readInset): exception safety
4423 * bufferlist.C (newBuffer): exception safety
4425 * Thesaurus.C (Thesaurus): use initialization for aik_
4427 * MenuBackend.C (expandToc): exception safety.
4429 2003-11-03 André Pönitz <poenitz@gmx.net>
4433 * bufferview_funcs.C: remove getInsetFromId()
4436 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4442 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4444 * PosIterator.C (distance, advance): new
4445 * bufferview_funcs.[Ch] (put_selection_at): new
4446 * iterators.[Ch] (lockPath): new
4448 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4450 * iterators.[Ch] (asPosIterator): added
4451 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4452 * PosIterator.[Ch]: added
4454 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4458 * cursor.C (dispatch):
4459 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4461 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4462 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4463 contructor, add a class function dispatched. Remove operator>=
4465 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4467 * debug.C: only use the default constructor for debugstream
4470 * main.C (main): include debug.h and setup the lyxerr streambuf
4473 2003-10-31 José Matos <jamatos@lyx.org>
4475 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4477 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4478 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4479 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4480 * paragraph_pimpl.C (simpleTeXSpecialC):
4481 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4482 add LatexRunParams argument.
4484 * exporter.C (Export): change call accordingly.
4486 * latexrunparams.h: add new member to take care of the other backends.
4487 2003-10-30 José Matos <jamatos@lyx.org>
4489 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4490 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4491 factorise code for paragraph output.
4493 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4496 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4498 * text3.C (dispatch):
4499 * lyxfunc.C (dispatch):
4500 * cursor.C (dispatch):
4501 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4503 * dispatchresult.h: make the dispatch_result_t ctor explicit
4505 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4508 * buffer.C: small refactoring of docbook stuff
4510 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4512 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4515 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4517 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4518 operator dispatch_result_t, and operators for == != and >=
4520 * cursor.C (dispatch): adjust for operator dispatch_result_t
4521 removal. comment out call to update
4523 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4525 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4533 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4536 * dispatchresult.h: new file, DispatchResult broken out of
4539 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4541 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4543 * text.C (rowBreakPoint): put a hack inside #if 0
4545 2003-10-28 André Pönitz <poenitz@gmx.net>
4549 * paragraph_funcs.C:
4552 * text2.C: general cleanup (lots of small stuff)
4554 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4556 * text2.C (cursorEnd): simple fix to the "end key goes to one
4557 before the end on last row" bug
4559 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4561 * text.C (backspace): fix the "zombie characters"
4563 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4565 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4567 2003-10-27 André Pönitz <poenitz@gmx.net>
4569 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4571 * factory.C: handle new InsetPagebreak, InsetLine
4573 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4574 and move handling into new InsetPagebreak, InsetLine
4576 * BufferView_pimpl.C:
4578 * ParagraphParameters.C:
4579 * ParameterStruct.h:
4584 * paragraph_funcs.C:
4585 * paragraph_pimpl.C:
4591 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4594 * lyxrow_funcs.[Ch]:
4600 * text3.C: remove lastPos uses in favour of Row::endpos
4602 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4604 * undo.C (performUndoOrRedo): fix two crashes by setting a
4605 cursor by hand and reordering some calls. Use bv->lockInset instead
4606 of inset->edit because the latter loses cursor information
4608 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4610 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4612 (rowBreakPoint): fix width. change point to point + 1.
4613 Add a missing check.
4615 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4618 * lyxfunc.C: fix (at least partly) the problems
4619 with the Nav menu and headers inside branch insets
4622 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4624 * paragraph.C (getChar): add strong asserts
4626 * lyxrow_funcs.C (lastPos): remove hideous hack
4628 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4629 (fill): adjust to that (avoid an infinite loop)
4631 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4633 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4635 2003-10-23 André Pönitz <poenitz@gmx.net>
4637 * RowList_fwd.h: change list<> to vector<> to gain speed
4638 after suggestion from Alfredo
4640 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4642 * lyxtext.h: move the bidi stuff from here...
4645 * Bidi.[Ch]: ... to here
4647 2003-10-23 André Pönitz <poenitz@gmx.net>
4650 * text.C (isLastRow, isFirstRow): new functions
4652 * paragraph.h: new width cache member
4654 * rowpainter.C: replace RowList::iterator with Row & where possible
4656 * lyxfunc.C: replace several view()->text with a single call
4658 * toc.C: fix 'unused' warning
4660 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4662 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4663 when woring with stream::pos_type
4664 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4666 2003-10-22 André Pönitz <poenitz@gmx.net>
4669 * text.C: use Row & instead of RowList::iterator
4671 * lyxrow.h: rename end() to endpos()
4677 2003-10-22 Angus Leeming <leeming@lyx.org>
4679 * buffer.[Ch] (fully_loaded): new member function, returning true
4680 only when the file has been loaded fully.
4681 Used to prevent the premature generation of previews and by the
4682 citation inset to prevent computation of the natbib-style label.
4684 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4685 templates are all set up.
4687 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4689 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4691 * text.C: fixed an "oops" in the "is a bit silly"
4694 2003-10-21 André Pönitz <poenitz@gmx.net>
4696 * FuncStatus.[Ch]: small stuff, whitespace
4698 * lyxfont.[Ch]: operator<<() for debug reasons
4702 * lyxtext.h: whitespace, spelling
4704 * paragraph.C: naming of variables
4707 * text2.C: small stuff
4710 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4712 * text.C: (1) finish off the inset display() work;
4713 (2) fix the "is a bit silly" bug (accessing char
4716 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4718 * text.C: re-introduce display() for insets, fixing the
4719 various bugs (stretch of line above, math inset
4722 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4724 * text.C (rightMargin): remove spurious semicolon
4726 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4729 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4731 * text3.C: fix one crash due to wrong cursor def
4733 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4735 * vc-backend.C (scanMaster): make the regex static
4737 * LaTeX.C (scanAuxFile): make the regexs static
4739 * text3.C (doInsertInset, dispatch, dispatch):
4740 * text2.C (cursorUp, cursorDown):
4741 * text.C (selectNextWordToSpellcheck):
4742 * BufferView_pimpl.C (dispatch):
4743 * lyxfunc.C (dispatch): localDispatch -> dispatch
4745 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4747 * lyxsocket.C: include <cerrno>
4749 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4751 * lyxfunc.C (dispatch): remove textcache stuff
4753 * bufferlist.C (release): remove textcache stuff
4756 * TextCache.C: delete file
4757 * TextCache.h: delete file
4759 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4761 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4762 delete of the bv_->text.
4763 (resizeCurrentBuffer): remove texcache stuff
4764 (workAreaResize): ditto
4766 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4768 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4771 2003-10-16 André Pönitz <poenitz@gmx.net>
4778 * text3.C: speed up by storing y positions per paragraph plus per-row
4779 offset instead of having a 'full' y position in the row.
4781 2003-10-15 André Pönitz <poenitz@gmx.net>
4785 * undo.[Ch]: make undo aware of inner insets
4787 2003-10-14 Angus Leeming <leeming@lyx.org>
4789 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4790 static member functions LyX::ref() and LyX::cref.
4791 (lastfiles): new accessor functions for the new lastfiles_ member var.
4792 (addLyXView, views_): add a new LyXView to the list of views_.
4793 (updateInset): loop over all LyXViews to call their own updateInset
4794 member function, returning a pointer to the Buffer owning the inset.
4796 * BufferView_pimpl.C (loadLyXFile):
4797 * MenuBackend.C (expandLastfiles):
4798 * bufferlist.C (MenuWrite, QuitLyX):
4799 lastfiles is no longer a global variable.
4800 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4802 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4803 static function. Access through LyX::cref().emergencyCleanup().
4805 2003-10-14 André Pönitz <poenitz@gmx.net>
4807 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4809 * undo.[Ch]: restoring part of 'undo in insets'
4812 * undo_funcs.[Ch]: merge with undo.[Ch]
4814 * tabular.C: small cleansing stuff
4816 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4818 * paragraph_funcs.C (readParToken): report unknown insets as error
4819 boxes. Use the outer paragraph as location (also for unknown
4822 * factory.C (readInset): do not abort on reading an unknown inset.
4823 Eat it and return 0.
4825 2003-10-13 Angus Leeming <leeming@lyx.org>
4827 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4829 * lyxrc.C: displayTranslator is now a function,
4830 declared in GraphicsTypes.h.
4832 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4834 * format.C: new placeholder $$a to pass the socket address.
4836 * bufferlist.[Ch]: new function getBufferFromTmp.
4838 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4839 files in the temporary dir.
4841 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4843 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4845 * Makefile.am: add lyxsocket.[Ch].
4847 * lyx_main.C (error_handler): handle SIGPIPE.
4849 2003-10-13 André Pönitz <poenitz@gmx.net>
4851 * BufferView_pimpl.C:
4856 * undo_funcs.[Ch]: use paroffset_type instead of
4857 ParagraphList::iterators to prevent multiple conversion
4858 (and get a more robust interface)
4860 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4862 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4864 * text3.C (dispatch): ditto
4866 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4868 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4869 move the onlyfile, use onlyfile instead of foundfile in a couple
4872 * DepTable.C (update): flush the error stream a bit more
4874 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4876 * lyxserver.C (callback): adjust
4878 * lyxfunc.C (getStatus): add a missing brace in commented code
4879 (ensureBufferClean): reindent
4880 (dispatch): delete version taking a string
4882 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4884 * LaTeX.C (deplog): move found file handlig from here...
4885 (handleFoundFile): .. to new function here.
4886 (deplog): make sure to discover several files mentioned on the
4889 2003-10-10 André Pönitz <poenitz@gmx.net>
4896 * text3.C: fix some of the tabular crashes
4898 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4900 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4902 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4904 2003-10-09 André Pönitz <poenitz@gmx.net>
4906 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4909 * BufferView_pimpl.C:
4910 * bufferview_funcs.C:
4921 * undo_funcs.C: adjust
4923 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4925 * text2.C (incrementItemDepth): new function, use a backtracking
4926 algorithm to discover the correct item depth.
4927 (resetEnumCounterIfNeeded): new function, use a backtracking
4928 algorithm to discover if counter reset is needed.
4929 (setCounter): use them. Simplify a bit. Add different labels for
4930 different item depths for itemize.
4932 * paragraph.C (Paragraph): remove initialization of enumdepth
4935 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4936 enumerate and itemize. Change the type of itemdepth to signed char.
4938 2003-10-08 André Pönitz <poenitz@gmx.net>
4940 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4945 * tabular.[Ch]: fix crash after 'row-insert'
4947 2003-10-08 Angus Leeming <leeming@lyx.org>
4949 Fix doxygen warnings.
4951 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4952 Remove CutAndPaste:: prefix from header file declaration.
4954 * LColor.h (fill): remove LColor:: prefix from declaration.
4956 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4957 use lyx::depth_type rather than Paragraph::depth_type so that
4958 header file and .C file match.
4960 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4962 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4963 * aspell.C: \file aspell_local.C -> \file aspell.C
4964 * gettext.C: \file gettext.C -> \file src/gettext.C
4965 * gettext.h: \file gettext.h -> \file src/gettext.h
4966 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4967 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4968 * text.C: \file text.C -> \file src/text.C
4970 * toc.C: move comment so that doxygen is not confused.
4972 2003-10-07 Angus Leeming <leeming@lyx.org>
4974 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4976 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4979 * aspell_local.h: add forgotten std::string's.
4981 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4988 * text3.C: The Box patch. Fancybox support, minipage, parbox
4990 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4996 * ParagraphParameters.h:
5006 * lyxtextclasslist.h:
5009 * paragraph_pimpl.C:
5010 * textcursor.h: add <string> and other small fixes to make Lars'
5011 std::string patch compile with STLport.
5013 2003-10-06 Angus Leeming <leeming@lyx.org>
5015 * LColor.h: Add missing #include <string>.
5017 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5019 * All most all file in all subdirs: Make <string> be the prefered
5020 way of getting to std::string, add using declarations.
5022 2003-10-06 André Pönitz <poenitz@gmx.net>
5024 * metricsinfo.C: initialize LyXFont before changing attribute.
5025 (fixes the 'math in \emph is upright' bug)
5027 2003-10-06 André Pönitz <poenitz@gmx.net>
5029 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5031 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5034 * paragraph_pimpl.C: Small fixes to build using STLport
5036 2003-10-02 André Pönitz <poenitz@gmx.net>
5039 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5041 2003-10-01 André Pönitz <poenitz@gmx.net>
5043 * factory.C: assert early
5045 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5047 * lyx_main.C: remove the global debug object
5049 * debug.h: adjust for new debugstream
5051 * debug.C: adjust for new debugstream and keep the global debug
5054 2003-09-22 Angus Leeming <leeming@lyx.org>
5056 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5057 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5058 an incomplete class LyXFont.
5060 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5062 * factory.C: bug fix in branches
5064 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5066 * lyxfunc.C (processKeySym): adjust
5068 (dispatch): change arg name from ev to func, adjust
5069 (sendDispatchMessage): ditto
5071 * lyx_main.C (defaultKeyBindings): adjust keybindings
5072 (deadKeyBindings): ditto
5074 * kbsequence.C (addkey): return a FuncRequest
5076 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5078 * kbmap.C (bind): take a FuncRequest as arg, adjust
5081 (defkey): change to take a FuncRequest as arg, adjust
5082 (findbinding): take a FuncRequest as arg, adjust.
5084 * funcrequest.h (operator=): added
5086 * funcrequest.C (FuncRequest): default kb_action changed from
5087 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5089 * buffer.C (dispatch): simplify
5090 (dispatch): adjust to take a FuncRequest as arg, adjust
5092 * boost.C (assertion_failed): change assertion message slightly
5094 * ToolbarBackend.C (read): simplify
5096 * MenuBackend.C (binding): adjust call to findbinding, add a
5097 message if no binding is found.
5099 (expandToc): correct by adding a empty FuncRequest
5101 * LyXAction.C: include <boost/assert.hpp>
5102 (isPseudoAction): delete function
5103 (LookupFunc): change name to...
5104 (lookupFunc): this. change return type to FuncRequest.
5105 (getActionName): take kb_action as arg, simplify
5106 (funcHasFlag): add an assert, simplify.
5108 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5110 * toc.C (action): return a FuncRequest, simplify
5112 * lyxfunc.C (processKeySym): adjust
5113 (getStatus): delete version that takes an int.
5115 (dispatch): delete version that takes action as int
5117 (sendDispatchMessage): simplify and adjust
5119 * funcrequest.C (getArg): take unsigned int as arg
5121 * ToolbarBackend.C (read): adjust
5122 (add): delete version that takes func as a string.
5123 (getIton): take a FuncRequest as arg
5125 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5128 * MenuBackend.C (MenuItem): add a new construct that only takes a
5129 Kind, simplify the constructor use for submenus.
5131 (expandLastfiles): adjust
5132 (expandDocuments): adjust
5133 (expandFormats): adjust
5134 (expandFloatListInsert): adjust
5135 (expandFloatInsert): adjust
5136 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5138 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5139 Remove class variables lyx_pseudo_map and lyx_arg_map
5141 * LyXAction.C (searchActionArg): delete function
5142 (getPseudoAction): delete function
5143 (retrieveActionArg): delete function
5144 (LookupFunc): make it return kb_action, simplify.
5145 (getActionName): simplify
5147 * factory.C (createInset): fix new bug
5149 2003-09-19 Angus Leeming <leeming@lyx.org>
5151 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5152 masterFilename_ parameter in the include inset.
5154 * factory.C (createInset): changes due to the changes to InsetInclude.
5156 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5158 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5160 2003-09-18 Angus Leeming <leeming@lyx.org>
5163 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5164 Inset::fillWithBibKeys.
5165 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5167 2003-09-18 Angus Leeming <leeming@lyx.org>
5169 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5171 (ctor): pass and store a 'Buffer const &'
5172 (buffer): new member function.
5174 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5175 '*this' to the LaTeXFeatures ctor.
5177 2003-09-18 Angus Leeming <leeming@lyx.org>
5183 * text.C: rename EnumLColor as LColor_color.
5185 2003-09-18 Angus Leeming <leeming@lyx.org>
5187 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5188 remove #include "insets/insetbase.h" from cursor.h.
5190 2003-09-18 Angus Leeming <leeming@lyx.org>
5192 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5193 InsetOld_code to remove #include "inset.h".
5195 * iterators.C: add #include "insets/inset.h"
5197 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5199 * BufferView.C: remove more locking stuff that apparently doesn't
5200 do anything sensible.
5202 2003-09-16 André Pönitz <poenitz@gmx.net>
5205 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5208 2003-09-16 Angus Leeming <leeming@lyx.org>
5210 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5212 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5215 * paragraph.h: remove #include "lyxfont.h". Forward declare
5218 2003-09-16 Angus Leeming <leeming@lyx.org>
5220 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5221 of support/textutils.h.
5222 (isWord): move the contents of support/textutils.h's IsWordChar here.
5228 * text2.C: add #include "paragraph.h".
5231 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5233 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5239 * LaTeX.C: use namespace alias for lyx::support::os
5241 2003-09-16 Angus Leeming <leeming@lyx.org>
5244 * bufferview_funcs.C:
5247 * paragraph_pimpl.C:
5249 * text.C: add #include "LColor.h".
5251 2003-09-16 Angus Leeming <leeming@lyx.org>
5253 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5254 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5256 Store the FontBits::color variable as an int rather than as an
5257 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5260 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5261 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5262 string calls together.
5264 * lyxrc.C: add #include "LColor.h".
5266 2003-09-15 Angus Leeming <leeming@lyx.org>
5268 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5271 2003-09-15 Angus Leeming <leeming@lyx.org>
5273 * LColor.h: add an EnumLColor wrapper for LColor::color.
5275 * lyxfont.[Ch] (color, setColor, realColor):
5276 * lyxtext.h, text.C (backgroundColor):
5277 pass EnumLColor args to/from the functions, rather than LColor::color
5281 * lyxtext.h: forward declare EnumLColor.
5283 * lyx_main.C: add #include "LColor.h".
5285 2003-09-15 Angus Leeming <leeming@lyx.org>
5287 * .cvsignore: add lyx-gtk.
5289 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5294 * ParagraphParameters.C
5298 * bufferview_funcs.C
5308 * vc-backend.C: remove usage of STRCONV
5310 2003-09-15 Angus Leeming <leeming@lyx.org>
5312 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5313 explicitly define the color passed to the painter.
5315 2003-09-15 Angus Leeming <leeming@lyx.org>
5317 * bufferparams.C (BufferParams): reorder member initializers to avoid
5320 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5322 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5323 * text.C (updateRowPositions): remove an unusual nop
5325 2003-09-12 André Pönitz <poenitz@gmx.net>
5327 * BufferView_pimpl.C:
5336 * Counters.[Ch]: finish the 'automatic counters' job
5338 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5340 * aspell.C: include <boost/assert.cpp> (compile fix)
5342 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5344 * boost.C (assertion_failed): use lyx::support::abort instead of
5347 2003-09-10 Angus Leeming <leeming@lyx.org>
5349 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5350 with their _fwd progeny.
5352 2003-09-09 Angus Leeming <leeming@lyx.org>
5354 134 files throughtout the source tree: replace 'using namespace abc;'
5355 directives with the appropriate 'using abc::xyz;' declarations.
5357 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5359 * boost.C (emergencyCleanup): moved here from LAssert.c
5360 (assertion_failed): new function, called by BOOST_ASSERT
5362 * several files: change Assert to BOOST_ASSERT
5364 2003-09-09 Angus Leeming <leeming@lyx.org>
5366 * buffer.[Ch]: Add an Impl class and move Buffer's member
5367 variables into it. As a result move several header files out of
5370 Add header files to lots of .C files all over the tree as a result.
5372 2003-09-09 Angus Leeming <leeming@lyx.org>
5374 * buffer.[Ch]: make Buffer's member variables private. Add
5377 Lots of changes all over the tree as a result.
5379 2003-09-08 Angus Leeming <leeming@lyx.org>
5381 * graph.C: #include <config.h>.
5383 2003-09-08 Angus Leeming <leeming@lyx.org>
5387 * BufferView_pimpl.C:
5416 * toc.C: remove redundant using directives.
5418 2003-09-07 Angus Leeming <leeming@lyx.org>
5420 * LaTeXFeatures.h: remove #include "support/types.h".
5421 * ToolbarBackend.h: remove #include <algorithm>.
5422 * changes.h: remove #include <ctime>.
5423 * debug.h: remove #include <iosfwd>.
5424 * graph.h: remove #include "support/std_string.h".
5425 * lyx_main.h: remove #include <csignal>.
5426 * lyxlex_pimpl.h: remove #include <fstream>.
5427 * sgml.h: remove #include <algorithm>, <utility>.
5428 * toc.h: remove #include "support/std_ostream.h".
5429 Add #include <iosfwd>.
5431 2003-09-07 Angus Leeming <leeming@lyx.org>
5433 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5435 * converter.h: forward declare LatexRunParams.
5436 * encoding.h: remove #include "lyxrc.h".
5437 * lyxtext.h: remove #include "LColor.h".
5438 * lyxtextclass.h: remove #include "support/types.h".
5439 * trans.h: remove #include "tex-accent.h".
5440 * trans_mgr.h: remove #include "tex-accent.h".
5441 * insets/inset.h: remove #include "support/types.h", <vector>.
5442 * insets/insetcollapsable.h: remove #include "LColor.h".
5443 * insets/insetinclude.h: remove #include "dimension.h".
5444 * insets/insetlatexaccent.h: remove #include "dimension.h".
5445 * insets/insetoptarg.h:: remove #include "insettext.h".
5446 * insets/insettext.h: remove #include "dimension.h",
5447 <boost/shared_ptr.hpp>
5449 * insets/renderers.h: add #include "dimension.h".
5450 * insets/updatableinset.h: add #include "support/types.h".
5452 * many .C files: Associated changes.
5454 2003-09-06 Angus Leeming <leeming@lyx.org>
5456 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5457 one, inside testInvariant.
5459 * PrinterParams.C: new file.
5460 * PrinterParams.[Ch]: move the function bodies out of line.
5462 2003-09-06 Angus Leeming <leeming@lyx.org>
5464 * ParagraphParameters.h: forward declare ParameterStruct rather than
5465 including its header file.
5466 (depth): moved out-of-line.
5468 2003-09-06 Angus Leeming <leeming@lyx.org>
5470 * BufferView_pimpl.h:
5473 * lyxfunc.h: forward declare LyXKeySym rather than
5474 #include "frontends/LyXKeySym.h".
5476 * BufferView_pimpl.C:
5479 * lyxfunc.C: associated changes.
5481 2003-09-06 Angus Leeming <leeming@lyx.org>
5483 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5484 As a result, can remove the #include "insets/inset.h" from BufferView.h
5486 2003-09-06 Angus Leeming <leeming@lyx.org>
5488 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5489 As a result, can remove the #include "insets/inset.h" from BufferView.h
5491 2003-09-06 Angus Leeming <leeming@lyx.org>
5497 * bufferview_funcs.C:
5498 * BufferView_pimpl.C:
5503 * ParagraphParameters.C:
5508 * frontends/controllers/ControlDocument.C:
5509 * insets/insetcaption.C: rearrange the #includes into some sort of
5512 * buffer.h: remove #includes ErrorList.h, undo.h
5514 2003-09-06 Angus Leeming <leeming@lyx.org>
5516 * support/types.h: add a 'depth_type' typedef, used to store the
5517 nesting depth of a paragraph.
5520 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5521 defining explicitly.
5524 * paragraph_funcs.h:
5525 * ParagraphParameters.h:
5526 * sgml.h: use lyx::depth_type rather than Paragraph or
5527 ParameterStruct's depth_type.
5530 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5533 * BufferView_pimpl.C:
5535 * ParagraphParameters.C:
5538 * bufferview_funcs.C:
5545 * frontends/LyXView.C:
5546 * frontends/controllers/ControlDocument.C:
5547 * frontends/controllers/ControlErrorList.C:
5548 * insets/insetbibitem.C:
5549 * insets/insetbranch.C:
5550 * insets/insetcaption.C:
5551 * insets/insetcollapsable.C:
5552 * insets/insetenv.C:
5553 * insets/insetert.C:
5554 * insets/insetfloat.C:
5555 * insets/insetfoot.C:
5556 * insets/insetfootlike.C:
5557 * insets/insetnewline.C:
5558 * insets/insetquotes.C:
5559 * insets/insettabular.C:
5560 * insets/insettext.C:
5561 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5563 * frontends/controllers/ControlChanges.C: #include "changes.h".
5565 2003-09-06 Angus Leeming <leeming@lyx.org>
5567 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5568 than #including paragraph.h.
5571 * RowList.h: deleted. Superfluous.
5581 * insets/insettext.h: use ParagraphList_fwd.h rather than
5584 * paragraph.h: don't forward declare ParagraphList.
5587 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5588 rather than ParagraphList.h. paragraph.h is still needed for the
5589 Paragraph::depth_type parameters.
5591 * textcursor.h: enable it to compile stand-alone in light of the
5594 * bufferview_funcs.C:
5606 * frontends/controllers/ControlParagraph.C:
5607 * frontends/controllers/ControlTabular.C:
5608 * insets/insetmarginal.C:
5609 * insets/insetminipage.C:
5610 * insets/insetnote.C:
5611 * insets/insetoptarg.C: add header files needed to compile again.
5613 2003-09-06 Angus Leeming <leeming@lyx.org>
5615 * RowList_fwd.h: new file, forward-declaring Row rather than
5616 #including lyxrow.h.
5621 * insets/insettext.h: use it instead of RowList.h
5623 * bufferview_funcs.C:
5630 * text3.C: #include "RowList.h".
5632 2003-09-05 Angus Leeming <leeming@lyx.org>
5634 * factory.C (createInset):
5635 * vspace.C (c-tor): replace sscanf call with an istringstream.
5636 * ispell.C: re-add missing HP/UX headers.
5637 * lyxserver.C: re-add missing os2 headers.
5639 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5648 * text3.C: re-add missing system headers, needed for 2.95.2.
5650 2003-09-05 Angus Leeming <leeming@lyx.org>
5652 Changes most place everywhere due to the removal of using directives
5653 from support/std_sstream.h.
5655 2003-09-05 Angus Leeming <leeming@lyx.org>
5657 Replace LString.h with support/std_string.h,
5658 Lsstream.h with support/std_sstream.h,
5659 support/LIstream.h with support/std_istream.h,
5660 support/LOstream.h with support/std_ostream.h.
5662 Changes resulting throughout the tree.
5664 2003-09-05 Angus Leeming <leeming@lyx.org>
5666 * sgml.h: ensure that the header file can be compiled stand-alone.
5667 * *.C: strip out redundant #includes. (320 in total.)
5669 2003-09-04 Angus Leeming <leeming@lyx.org>
5671 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5672 here (from getPackages).
5674 * debug.[Ch]: add a new EXTERNAL tag.
5676 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5678 * text2.C (cursorEnd): simplify
5680 (getColumnNearX): adjust
5682 * text.C (computeBidiTables): adjust
5685 * rowpainter.C (paintChars): adjust
5686 (paintSelection): adjust
5687 (paintChangeBar): adjust
5690 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5692 (numberOfSeparators): adjust
5694 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5700 * text3.C: Restricts the mouse click functionality
5701 of insets like bibtex, include, toc and floatlist to the visible
5702 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5703 up the dialogs. Cursor has to be in front of the inset (i.e.
5704 start of row) for this to function.
5706 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5708 * bufferview_funcs.C (currentState): output row information
5710 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5712 * bufferview_funcs.C (currentState): output paragraph position
5714 2003-09-04 Angus Leeming <leeming@lyx.org>
5716 * FloatList.h: move out #include "Floating.h".
5717 * LaTeX.h: move out #include "DepTable.h".
5718 * LyXAction.h: move out #include "funcrequest.h".
5719 * buffer.h: move out #include "author.h", "iterators.h".
5720 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5721 * lyx_main.h: move out #include "errorlist.h".
5722 * lyxfunc.h: move out #include "FuncStatus.h".
5723 * lyxtext: move out #include "lyxcursor.h".
5724 * paragraph_pimpl.h: move out #include "counters.h".
5726 2003-09-03 Angus Leeming <leeming@lyx.org>
5728 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5729 preamble_snippets list, enabling us to add snippets to the preamble
5730 only if the snippet was not there already.
5732 2003-09-04 Angus Leeming <leeming@lyx.org>
5734 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5736 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5738 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5741 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5743 * BranchList.C: point fix, earlier forgotten
5745 2003-09-02 Angus Leeming <leeming@lyx.org>
5747 * box.C (contains): renamed from 'contained' after a fantastic
5750 2003-09-02 John Levon <levon@movementarian.org>
5756 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5758 2003-09-02 John Levon <levon@movementarian.org>
5760 * text2.C: simplification of cursorEnd(), including partial
5763 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5765 * buffer.C (readFile): add a space
5767 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5769 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5771 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5773 * buffer.C (readFile): new function, take a filename and a
5774 ParagraphList::iterator
5776 (readFile): adjust, make it private. don't use setStream, make
5777 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5778 always contain the filename.
5780 * BufferView.C (insertLyXFile): simplify and make it work for
5783 2003-08-30 John Levon <levon@movementarian.org>
5785 * Makefile.am: fix dist (from Kayvan)
5787 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5789 * most files: change to use const Buffer refs
5791 2003-08-27 André Pönitz <poenitz@gmx.net>
5793 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5794 on top of ownerPar().
5796 2003-08-27 John Levon <levon@movementarian.org>
5798 * funcrequest.C: properly initialise POD members
5800 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5802 * lyxtext.h (top_y): move top_y from here
5807 * BufferView_pimpl.[Ch]: to here
5808 * frontends/screen.C:
5809 * insets/insettabular.C:
5810 * insets/insettext.C: adjust
5811 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5813 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5816 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5818 2003-08-26 André Pönitz <poenitz@gmx.net>
5820 * paragraph_func.[Ch] (outerPar): new function
5823 * paragraph_funcs.C:
5824 * paragraph_funcs.h:
5825 * paragraph_pimpl.C:
5826 * text2.C: remove Inset::par_owner
5828 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5833 * text2.C: eliminates the needFullRow/display() stuff
5834 altogether, putting the logic in metrics/draw in the insets.
5836 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5838 * text2.C (redoParagraphInternal, redoParagraphs):
5839 * text.C (redoParagraph): add a call to updateRowPositions at the
5840 end of each 'metrics-like' call. Remove all others.
5841 (getRow): remove the 'y-computing' version.
5842 (getRowNearY): do not compute nor return the real y. Solve the
5843 'y < 0' problem and simplify.
5845 2003-08-22 Angus Leeming <leeming@lyx.org>
5847 * *.[Ch]: clean-up of licence and author blurbs.
5848 Also move config.h out of a few .h files and into a few .C files.
5850 2003-08-22 André Pönitz <poenitz@gmx.net>
5852 * lyxrow.[Ch]: add x_ and *fill_ members
5857 * text2.C: adjust/remove prepareToPrint() calls
5859 2003-08-22 André Pönitz <poenitz@gmx.net>
5861 * lyxrow.[Ch]: add end_ member
5863 * lyxrow_funcs.C: use LyXRow::end_
5865 * lyxtext.h (singleWidth): add LyXFont parameter
5868 * text2.C: adjust LyXText::singleWidth() calls
5870 * text.C (redoParagraph): simplify row breaking logic
5873 2003-08-19 André Pönitz <poenitz@gmx.net>
5875 * funcrequest.C: initialize button_ member
5878 * rowpainter.[Ch]: interface consolidation
5880 2003-08-18 André Pönitz <poenitz@gmx.net>
5883 * BufferView_pimpl.C:
5885 * paragraph_funcs.C:
5887 * text3.C: remove LyXScreen::draw() and fitCursor calls
5889 * BranchList.h: remove spurious semicolons
5891 * MenuBackend.C: fix branchlist related crash
5893 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5901 * bufferparams.[Ch]:
5905 * text3.C: implements the 'branch inset'
5906 idea. This allows the output of various versions of a document
5907 from a single source version, selectively outputing or suppressing
5908 output of parts of the text.
5909 This implementation contains a 'branch list editor' in a separate
5910 tab of the document settings dialog. Branches are user definable
5911 and have a "display colour" to distinguish them on-screen.
5913 ColorHandler was somewhat cleaned up.
5914 (1) make possible a dynamically growing LColor list by allowing
5915 the graphic context cache to grow along (vector);
5916 (2) eliminate an IMHO unnecessary step in colour allocation.
5918 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5920 * BufferView_pimpl.C: compile fix
5922 2003-08-15 André Pönitz <poenitz@gmx.net>
5924 * rowpainter.C: remove extra metrics calls
5926 * lyxtext.h: merge the two constructors into a single one,
5927 pass reference to owner's par list
5929 * BufferView_pimpl.C:
5933 2003-08-15 André Pönitz <poenitz@gmx.net>
5935 * lyxrow_funcs.[Ch]:
5938 * paragraph_funcs.C:
5943 * text_funcs.C: split LyXText::rowlist_ into individual
5944 Paragraph::rows_ chunks
5947 * BufferView_pimpl.[Ch]:
5950 * text3.C: remove toggleSelection()
5952 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5954 * bufferlist.C: beautify two alerts (shorter text of buttons)
5955 * buffer.C: Remove redundant ' ' from message
5957 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5958 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5959 rename VALIGN_CENTER to VALIGN_MIDDLE
5961 2003-08-11 André Pönitz <poenitz@gmx.net>
5963 * lyxtext.h (getPar):
5964 * text.C: new function
5966 2003-08-11 André Pönitz <poenitz@gmx.net>
5969 * tracer.[Ch]: remove unneeded files
5971 * InsetList.[Ch]: remove resizeInsetsLyXText()
5976 * text3.C: merge insertParagraphs() and appendParagraph()
5977 remove breakAgain(), update()
5979 * BufferView_pimpl.[Ch]:
5980 * bufferview_funcs.[Ch]:
5984 * tabular.C: adjust after text & InsetList changes.
5986 2003-08-08 André Pönitz <poenitz@gmx.net>
5988 * text.C (insertChar, backspace): replace rowlist fiddling
5989 with rebreak of full par
5992 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5993 checkParagraph, updateInset): removed
5995 2003-08-07 André Pönitz <poenitz@gmx.net>
5998 * text3.C: merge some LFUN handlers, remove dead code
6000 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6002 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6004 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6006 * text2.C (DEPM): fix part of bug 1255 and 1256
6008 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6010 * BufferView_pimpl.C (workAreaDispatch): change to use
6011 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6012 that are no mouse related.
6014 2003-08-05 André Pönitz <poenitz@gmx.net>
6017 * BufferView_pimpl.[Ch]:
6018 * bufferview_funcs.C:
6020 * text3.C: rip out "deep update"
6022 * textcursor.[Ch] (last_sel_cursor): remove unused member
6024 2003-08-04 André Pönitz <poenitz@gmx.net>
6027 * BufferView_pimpl.[Ch]:
6028 * ParagraphParameters.C:
6029 * bufferview_funcs.C:
6035 * text3.C: replace "complicated" BufferView::update(...) calls with
6038 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6040 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6042 * Makefile.am (lyx_SOURCES): add paper.h
6044 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6046 * Makefile.am: move things around so that both lyx-qt and
6047 lyx-xforms can be built (according to --with-frontend). Then lyx
6048 is a symbolic link to lyx-[firstfrontend]
6050 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6052 * Always use std::endl with lyxerr
6054 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6056 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6058 2003-08-01 André Pönitz <poenitz@gmx.net>
6061 * BufferView_pimpl.[Ch]:
6063 * text3.C: merge BufferView::repaint() and BufferView::update()
6065 2003-08-01 José Matos <jamatos@lyx.org>
6067 * buffer.[Ch]: file_format is no longer a buffer data element.
6069 2003-08-01 André Pönitz <poenitz@gmx.net>
6074 * text2.C: make redoParagraph more independent of current cursor
6076 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6078 * text2.C: remove unneeded members
6080 2003-07-30 André Pönitz <poenitz@gmx.net>
6082 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6084 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6085 create a single function...
6087 * paragraph_funcs.C (moveItem): ... here.
6090 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6092 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6094 * LColor.[Ch]: Add comment and greyedout logical colors.
6096 2003-07-30 André Pönitz <poenitz@gmx.net>
6098 * tabular.C: don't use Assert too heavily. This crashes where it
6101 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6103 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6104 is disabled (bug 1232)
6106 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6108 * factory.C: limited 'arg' scope
6110 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6112 * factory.C: fixed Note submenu issues
6114 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6116 * factory.C: submenu for Note/Comment/Greyedout
6118 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6121 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6123 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6126 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6127 greyedout. Patch provided by Jürgen Spitzmüller.
6129 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6131 * kbmap.C (read): fix error message when reading bind files
6133 2003-07-29 Angus Leeming <leeming@lyx.org>
6135 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6136 certainly does not do what it purports to do. I am doing it, and
6137 us, a favour by killing it.
6139 2003-07-28 José Matos <jamatos@lyx.org>
6141 * buffer.C (readBody, do_writeFile):
6142 * paragraph.C(readParagraph): \end_document replaces \the_end.
6144 2003-07-29 André Pönitz <poenitz@gmx.net>
6147 * BufferView_pimpl.[Ch]:
6151 * textcursor.[Ch]: remove toggleToggle & Co
6153 2003-07-28 José Matos <jamatos@fep.up.pt>
6155 * buffer.C (readParagraph):
6156 * params_func (readParToken, readParagraph):
6157 * paragraph.C (write): \layout -> \begin_layout.
6159 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6161 * lyxlex_pimpl.C (setFile): clean up slightly.
6163 * bufferparams.h: add compressed var
6165 * buffer_funcs.C (readFile): adjust for LyXLex change
6166 (newFile): ditto + simplify
6168 * buffer.C (writeFile): handle writing of compressed files
6170 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6171 Check if the file is compressed and set a bufferparm if so.
6173 * Makefile.am (lyx_LDADD): remove explicit -lz
6175 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6177 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6178 makeDocBookFile): put the real LyX version in the first line of
6182 * version.C.in: remove lyx_docversion
6184 * tabular.C (write_attribute): add a template-based version to
6185 write enums properly
6187 2003-07-28 André Pönitz <poenitz@gmx.net>
6192 * text3.C: use doubles again for x-coordinates. They are needed.
6194 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6196 * messages.C (getLocaleDir): use lyx_localedir()
6198 * lyxlex_pimpl.C (setFile): compress stuff
6200 * buffer.C (writeFile): add some compression stuff
6201 (do_writeFile): new func, dont call expliti close... will this
6204 * Makefile.am (lyx_LDADD): add -lz
6206 2003-07-28 José Matos <jamatos@fep.up.pt>
6208 * buffer.C: increment file format.
6209 * paragraph_funcs (readParagraph, readParToken):
6210 * paragraph.C (readParagraph): add \end_layout.
6212 2003-07-27 Angus Leeming <leeming@lyx.org>
6214 * Makefile.am: remove special casing for configure-time setting of
6215 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6217 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6218 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6220 2003-07-26 André Pönitz <poenitz@gmx.net>
6222 * paragraph_func.[Ch]:
6223 * paragraph.C (realizeFont): inline it whereever it is used
6228 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6231 2003-07-26 André Pönitz <poenitz@gmx.net>
6235 * text2.C: get rid of LyXText::need_break_row
6237 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6239 * toc.[Ch]: put namespace toc inside namespace lyx
6241 * MenuBackend.C (expandToc2): adjust for lyx::toc
6244 * lyxfunc.C (dispatch): adjust for lyx::find
6246 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6247 lyx::find instead. Reorganize a bit.
6248 (LyXReplace): rename to replace
6249 (LyXFind): rename to find
6251 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6254 2003-07-26 André Pönitz <poenitz@gmx.net>
6256 * text.C (setHeightOfRow): restrict scope of temporary variable
6258 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6259 code (never has been used?)
6261 2003-07-27 Asger Alstrup <alstrup@local>
6263 * text.C (fill): Optimise algorithm to exploit that we can reuse
6264 the LyXFont for many characters.
6265 (setHeightOfRow): Same thing.
6266 (rowBreakPoint): Same thing.
6268 2003-07-26 Asger Alstrup <alstrup@local>
6270 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6272 * text.C (singleWidth): Spurious font copying in hot-spot
6273 singleWidth avoided. Reorder tests for arabic for efficiency.
6275 * text.C (fill): handle empty paragraphs better.
6277 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6280 * encoding.h: add includes
6282 * lyxrc.C: remove reading of bind files
6284 * lyx_main.C (init): setup bindings and menus only if we have a
6287 * kbmap.C (read): new method. Do the actual reading of bind
6290 * converter.C (dvipdfm_options):
6293 (output): adapt PAPER_* enums.
6295 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6297 * bufferparams.h: remove paper-related enums from there
6299 * paper.h: New file. A trivial header file to hold paper-related
6300 enums. It should later expand to contain many paper-related
6303 * lyxrc.C: declare extern displayTranslator
6305 2003-07-27 José Matos <jamatos@fep.up.pt>
6307 * tabular.[Ch] (linuxdoc): add support for tables and figures
6310 2003-07-27 José Matos <jamatos@fep.up.pt>
6312 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6313 consistency in both functions.
6314 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6316 2003-07-26 Asger Alstrup <alstrup@local>
6318 * rowpainter.C (paintRows): Change algorithm to work directly on
6319 the insets rather than asking every character in the document
6320 whether its an inset.
6322 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6324 * buffer.C (openFileWrite): factorize some code
6326 2003-07-26 Angus Leeming <leeming@lyx.org>
6329 * lyx_main.[Ch]: replace occurances of system_tempdir with
6332 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6334 * rename Inset to InsetOld
6336 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6338 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6339 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6340 which I think is a bit clearer. EDIT is gone, since it was
6341 premature optimisation, and broken for mathed anyway.
6342 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6343 with cursor positioning in insets as well (math insets still do not
6344 work, but that's a different story anyway.) It mysteriously
6345 crashes sometimes with undo in the first paragraph, but I'm fairly
6346 confident that this is a compiler bug.
6348 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6350 * paragraph.C (Paragraph): adjust for new clone return type
6352 (copyIntoMinibuffer): ditto
6354 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6356 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6357 by not having a special case, and always doing a full rebreak of
6358 the document after undo.
6360 2003-07-23 Angus Leeming <leeming@lyx.org>
6362 * factory.C (createInset): InsetExternal::setParams now takes a
6365 2003-07-23 Angus Leeming <leeming@lyx.org>
6367 * factory.C (createInset): changed interface to the external and
6368 graphics mailers' string2params functions.
6370 2003-07-23 Angus Leeming <leeming@lyx.org>
6372 * factory.C (createInset): pass a
6373 Buffer const * parameter to InsetExternalMailer's string2params.
6375 2003-07-22 John Levon <levon@movementarian.org>
6377 * Thesaurus.h: include the right aiksaurus header
6379 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6381 * MenuBackend.C (expand): check menu shortcuts unconditionally
6383 2003-07-21 Angus Leeming <leeming@lyx.org>
6385 * factory.C (createInset): pass a
6386 buffer_path parameter to InsetGraphicsMailer's string2params.
6388 2003-07-21 Angus Leeming <leeming@lyx.org>
6390 * BufferView_pimpl.C (buffer):
6393 * lyxfunc.C (dispatch):
6394 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6395 rather than the grfx shortcut.
6397 2003-07-21 André Pönitz <poenitz@gmx.net>
6399 * rowpainter.C: remove unused variables
6402 * tabular_funcs.h: move to tabular.C
6403 * Makefile.am: adjust
6405 * tabular.[Ch]: basic optical cleaning
6407 * author.h: pass references, not values
6409 2003-07-18 André Pönitz <poenitz@gmx.net>
6417 * text3.C: two-phase drawing for InsetText and InsetTabular
6418 some float -> int changes.
6420 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6422 * lyx_main.C: fix the fix
6424 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6426 * lyx_main.C: fix a crash in batch mode if no files specified
6429 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6431 * format.[Ch] (papersize): moved to BufferParams
6432 * converter.[Ch] (dvips_options): moved to BufferParams
6433 (dvipdfm_options): moved to anon namespace
6434 * bufferparams.[Ch]: added above functions.
6436 2003-07-17 André Pönitz <poenitz@gmx.net>
6440 * text2.C: don't call inset->update() anymore
6442 * metricsinfo.[Ch]: add convenience constructor
6444 2003-07-16 André Pönitz <poenitz@gmx.net>
6449 * text2.C: replace the LyXCursor::irow_ member with
6450 on-demand computation of the value
6452 2003-07-16 John Levon <levon@movementarian.org>
6454 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6456 2003-07-15 André Pönitz <poenitz@gmx.net>
6459 * text2.C: remove no more needed refresh_row
6461 2003-07-15 André Pönitz <poenitz@gmx.net>
6466 * text3.C: refresh_status tristate -> need_update bool
6468 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6470 * lyxtext.h (init): remove reinit argument (act as if always true)
6471 * text2.C: adjust to that
6473 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6475 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6476 * text3.C: use it to delete selections in some cases
6477 (bugs 441, 673, 702, 954).
6479 2003-07-14 André Pönitz <poenitz@gmx.net>
6481 * rowpainter.[Ch]: reduce interface
6483 2003-07-14 André Pönitz <poenitz@gmx.net>
6485 * BufferView_pimpl.C:
6486 * text2.C: adjust after removing unused BufferView * argument
6488 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6490 * text2.C (init): fix a crash fired on resize
6492 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6494 * buffer.[Ch]: added new closing signal
6495 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6496 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6497 BufferView::Pimpl via the closing the signal
6499 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6501 * buffer.[Ch]: take out all bv-related from buffer
6503 * BufferView_pimpl.[Ch]: connect to new signals
6504 * CutAndPaste.C: removed useless asserts
6505 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6508 * lyxfunc.C: moved view-related funciontality from vc here
6509 * paragraph.C: removed outdated comments
6512 2003-07-10 André Pönitz <poenitz@gmx.net>
6514 * BufferView_pimpl.C:
6518 * text2.C: remove InsetText::InnerCache, clean up consequences
6520 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6522 * ispell.C: fix two typos in error messages
6524 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6526 * Extend Note inset to other forms of annotation like Comment
6527 and Greyedout. Right button click gives dialog.
6529 Files modified or added (+):
6533 * ControlNote.[Ch] +
6535 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6536 frontends/controllers
6540 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6542 * aspell.C: add missing namespace lyx::support
6544 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6546 * BufferView.[Ch] (newFile): Add
6547 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6548 * LaTeX.[Ch] (message): added this signal and use it
6549 * buffer.[Ch] (busy, message): added these signals and use them
6550 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6554 * importer.C: use buffer signals instead of direct bv calling
6555 * lyx_cb.[Ch] (ShowMessage): removed
6558 * paragraph_funcs.C:
6559 * text2.C: use buffer signals
6561 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6563 * introduce namespace lyx::graphics
6565 2003-07-02 André Pönitz <poenitz@gmx.net>
6567 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6569 2003-07-01 André Pönitz <poenitz@gmx.net>
6576 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6577 text*.C to text_func.C
6579 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6581 * introduce namespace lyx::support
6583 2003-06-30 André Pönitz <poenitz@gmx.net>
6588 * text.C: re-enable --with-included-string
6590 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6592 * textcursor.C: add <config.h>
6594 * text.C (getWord): remove const from word_location arg
6596 * lyxvc.C (getLogFile): fix const type order
6598 * lyxtext.h: remove const from word_location arg, add arg name
6600 * lyxlayout.h: currect type on labeltype.
6602 * importer.C: correct \file
6604 * converter.C (intToFormat): use std:: on ret val, ws changes
6606 * bufferlist.h: correct \file
6608 * buffer.C (makeLinuxDocFile): fix const type order
6609 (makeDocBookFile): ditto
6610 (fillWithBibKeys): use std:: on stdlib args.
6612 * CutAndPaste.C: fix authors.
6613 (availableSelections): use std:: on return vector
6615 2003-06-27 André Pönitz <poenitz@gmx.net>
6617 * BufferView_pimpl.C:
6618 * bufferview_funcs.C:
6626 * text3.C: remove LyXCursor::row_ member
6629 * text.C: rename fullRebreak() to partialRebreak() and implement
6630 a fullRebreak() that really bereks fully
6632 * textcursor.h: new struct for cursor-related data
6634 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6636 * lyx_main.C (LyX): get full path of document loaded on the
6639 2003-06-26 André Pönitz <poenitz@gmx.net>
6641 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6642 remove unused/broken operator>,<,>=.
6644 * text.C: remove only use of broken operator<= in an Assert().
6646 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6648 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6649 moved errorlist_.clear to showErrorList
6651 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6653 * converter.C (scanLog, runLaTeX):
6654 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6655 move the bv->showErrorList call to the callers
6656 * lyxfunc.C: i.e. here...
6658 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6659 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6660 namespace, the second to...
6661 * buffer_funcs (BufferFormat, parseErrors): added
6662 * errorlist.C (ErrorList(TeXErrors const &)): removed
6664 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6666 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6668 2003-06-24 "Garst R. Reese" <reese@isn.net>
6672 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6674 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6676 * version.C.in: change docversion to 1.4
6678 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6680 * buffer.C: fix a bug just introduced
6682 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6684 * buffer.[Ch]: added the parseError signal and use it, removed
6686 * BufferView.[Ch] (addError): moved to ...
6687 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6688 to the Buffer::parseError signal to catch (guess what) parse errors
6689 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6691 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6693 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6694 ability to create a buffer and to return an existing one from
6695 the list. Moved these functions to...
6696 * buffer_funcs.[Ch]: added
6697 * BufferView.[Ch] (loadLyXFile): added
6698 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6699 job removed from bufferlist::loadLyXFile.
6700 * buffer.C (setReadOnly): make it work without view
6701 (i.e added an if (users))
6703 2003-06-19 Angus Leeming <leeming@lyx.org>
6706 * LyXAction.C (init):
6707 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6708 with LFUN_DIALOG_SHOW <name> <data>.
6710 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6712 * CutAndPaste.C (availableSelections): small compilation fix for
6713 ancient (gcc 2.9x) compilers
6715 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6717 * text3.C (cursorNext): add tmp var
6719 * text2.C (updateCounters): for function calling out of for clause
6720 (replaceSelectionWithString): ditto
6721 (insertStringAsParagraphs): ditto
6722 (getColumnNearX): add tmp var
6723 (setCursorFromCoordinates): add tmp var
6724 (cursorDownParagraph): add tmp var
6725 (deleteEmptyParagraphMechanism): add tmp var
6727 * text.C (insertChar): add tmp var
6729 * rowpainter.C (paintDepthBar): add tmp var
6731 * CutAndPaste.C (availableSelections): potentially check all
6732 paragraphs in a cut to fill the shown strings.
6734 2003-06-18 André Pönitz <poenitz@gmx.net>
6736 * kbmap.[Ch]: use vector<> instead of list<>
6738 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6740 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6741 pasteSelection with index
6743 * text2.C (pasteSelection): modify, call pasteSelection with index
6745 * paragraph.C (asString): reimplement version with no interval to
6746 call the one with interval.
6748 * lyxtext.h: add index arg to pasteSelection
6750 * MenuBackend.C (MenuItem): handle PasteRecent
6751 (Menu::read::Menutags): add md_pasterecent
6753 (expandPasteRecent): new function
6756 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6758 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6760 (availableSelections): new function
6762 2003-06-17 Angus Leeming <leeming@lyx.org>
6764 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6766 2003-06-17 Angus Leeming <leeming@lyx.org>
6769 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6771 * lyxfunc.C (dispatch): invoke it.
6773 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6775 * iterators.C (operator++, ParPosition): reintroduce some
6776 const_cast for the benefit of older compilers.
6778 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6780 * text3.C (dispatch): do not modify clipboard when doing
6781 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6782 LFUN_DELETE_SKIP on a selection selection
6784 2003-06-16 André Pönitz <poenitz@gmx.net>
6790 * tabular.[Ch]: IU of clone() and getLabelList();
6792 2003-06-13 André Pönitz <poenitz@gmx.net>
6794 * tabular.h: compactification
6796 2003-06-12 André Pönitz <poenitz@gmx.net>
6800 * tabular_funcs.h: some renaming plus whitespace
6802 2003-06-12 André Pönitz <poenitz@gmx.net>
6805 * BufferView_pimpl.C:
6811 * toc.C: Return a Paragraph & for ParIterator::operator*()
6813 2003-06-11 John Levon <levon@movementarian.org>
6817 * ToolbarBackend.C: add "Toolbars" section and
6820 2003-06-10 Angus Leeming <leeming@lyx.org>
6823 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6825 * lyxfunc.C (dispatch): invoke it.
6827 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6829 * main.C: protect <ios> with HAVE_IOS
6830 (main): protect sync_with_stdio with HAVE_IOS
6832 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6834 * text2.C (cutSelection): adjust
6835 (pasteSelection): adjust
6837 * messages.C: handle get of empty string
6839 * main.C (main): use sync_with_stdio(false)
6841 * lyxfunc.C (dispatch): adjust
6843 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6844 (WriteAs): remove unneeded BufferView arg.
6846 * bufferparams.h: use correct types on papersize, papersize2 and
6849 * bufferparams.C (readToken): adjust for type
6850 (writeLaTeX): add missing cases to switch.
6852 * bufferlist.C (quitWriteBuffer): adjust
6855 * buffer.C (asciiParagraph): remove some commented code.
6857 * CutAndPaste.C: remove current_view extern variable.
6858 (cutSelection): add BufferParams arg.
6859 (eraseSelection): add BufferParams arg.
6860 (pasteSelection): add Buffer const & arg
6862 2003-06-07 John Levon <levon@movementarian.org>
6865 * paragraph_funcs.C:
6866 * paragraph_pimpl.C:
6870 * paragraph.C: allow InsetERT to freely space lines,
6871 and some consolidation of code
6873 2003-06-06 José Matos <jamatos@fep.up.pt>
6875 * buffer.C (makeDocBookFile): fix bug #821
6877 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6879 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6881 2003-06-04 Angus Leeming <leeming@lyx.org>
6883 * buffer.C: bump format to 224.
6885 2003-06-05 André Pönitz <poenitz@gmx.net>
6887 * text2.C (redoParagraphs): remove two const_cast<>
6889 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6891 * ParagraphList.h: remove last remnants of NO_STD_LIST
6893 2003-06-03 Angus Leeming <leeming@lyx.org>
6895 * factory.C (createInset): small change to the way InsetExternal's params
6898 2003-06-04 André Pönitz <poenitz@gmx.net>
6900 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6902 * paragraph_pimpl.h:
6903 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6905 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6907 * undo_funcs.C: make some simple cases of undo work again
6909 2003-06-03 John Levon <levon@movementarian.org>
6911 * ispell.C: HPUX doesn't have sys/select.h
6914 2003-06-03 John Levon <levon@movementarian.org>
6916 * CutAndPaste.C: update tabular and include inset
6921 * paragraph.C: remove owningBuffer(), don't pass Buffer
6924 * factory.C: insetGraphicsParams changed
6926 2003-06-02 John Levon <levon@movementarian.org>
6932 * text3.C: remove insetparent
6934 2003-06-02 John Levon <levon@movementarian.org>
6937 * buffer.C: fix inset_iterator.end(), move out of line
6940 2003-06-01 John Levon <levon@movementarian.org>
6942 * text3.C: use a proper cut/paste when doing inset
6943 insert (from Jürgen Spitzmüller)
6945 2003-06-01 John Levon <levon@movementarian.org>
6947 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6949 2003-05-30 André Pönitz <poenitz@gmx.net>
6951 * rowpainter.C: unify second drawing phase
6953 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6955 * trans_mgr.C: remove one case of current_view
6957 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6959 * paragraph_funcs.h: remove paragraph.h include
6961 * paragraph.h: delete NO_STD_LIST stuff
6963 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6965 * buffer.h: remove paragraph.h include
6967 * ParagraphList.C: delete file
6969 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6971 * toc.C (getTocList): adjust
6973 * paragraph_pimpl.C (validate): adjust
6975 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6977 * paragraph.C (Paragraph): adjust
6978 (getPositionOfInset): use const_iterator, adjust
6979 (bibitem): use const_iterator, adjust
6980 (setInsetOwner): adjust
6982 * iterators.C (operator++): adjust
6984 * InsetList.[Ch]: Replace selfmade iterator with standard
6985 vector::iterator also introduce const_iterator. Remove getPos,
6986 getInset and setInset from InsetTable. Adjust accordingly.
6988 * BufferView.C (lockInset): adjust
6989 (ChangeInsets): adjust
6991 * tabular.[Ch]: delete commented same_id functions
6993 2003-05-28 John Levon <levon@movementarian.org>
6995 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6997 2003-05-28 André Pönitz <poenitz@gmx.net>
6999 * metricsinfo.[Ch]: remove 'fullredraw' member
7001 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7003 * lyxtextclass.C (operator): remove caching.
7005 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7009 * text2.C (cursorBottom): adjust
7010 (setCounter): use ParagraphList::find, adjust
7012 * text.C (workWidth): use ParagraphList::find, adjust
7014 * lyxcursor.C (LyXCursor): adjust
7016 * buffer.C (inset_iterator): adjust
7018 * ParagraphList.h: make iterator(value_type) private, make
7019 ParagraphList a friend of iterator.
7021 * ParagraphList.C (find): new function
7023 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7025 2003-05-27 André Pönitz <poenitz@gmx.net>
7027 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7029 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7031 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7033 2003-05-26 John Levon <levon@movementarian.org>
7035 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7037 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7039 * remove same_id from function signatures, adjust.
7041 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7043 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7045 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7047 * paragraph.C (Paragraph): get rid of same_ids parameter
7049 * ParagraphList.C (insert): adjust
7052 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7054 * paragraph_funcs.C (breakParagraph): adjust
7055 (breakParagraphConservative): adjust
7057 * buffer.C (readParagraph): adjust
7059 * ParagraphList.C (insert): take a reference instead of a pointer
7062 * paragraph.[Ch] (id): new function
7064 * bufferlist.C (newFile): adjust
7066 * ParagraphList.C (ParagraphList): adjust
7068 (push_back): take a reference instead of a pointer.
7070 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7072 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7075 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7076 set else use old code.
7078 * ParagraphList.C: remove all NO_NEXT code and only compile this
7079 code of NO_STD_LIST is set.
7081 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7083 * BufferView_pimpl.C:
7093 * graphics/GraphicsConverter.C:
7094 * graphics/PreviewLoader.C: header adjustment
7096 2003-05-23 Angus Leeming <leeming@lyx.org>
7098 * LaTeXFeatures.[Ch] (useBabel): new method.
7099 * bufferparams.C (writeLaTeX): use it.
7101 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7103 * ParagraphList.h (set): remove unused function.
7105 2003-05-23 André Pönitz <poenitz@gmx.net>
7108 * BufferView_pimpl.C:
7112 * undo_funcs.C: setUndo reworked
7114 * iterators.[Ch]: add access to topmost ParagraphList
7116 * lyxtext.[Ch] (workWidth): add a const
7118 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7120 * texrow.[Ch] (increasePos): remove function
7121 * exporter.C (export): removed unused var and outdated comment
7123 2003-05-23 Angus Leeming <leeming@lyx.org>
7125 * latexrunparams.h: rename fragile as moving_arg.
7126 * paragraph.C (simpleTeXOnePar): ditto.
7127 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7129 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7131 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7133 (textUndoOrRedo): comment out a currently unused var.
7135 * paragraph.h (NO_NEXT): enable NO_NEXT
7137 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7139 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7141 * exporter.C (Export): adjust for removeAutoInsets removal.
7143 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7145 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7147 * BufferView.[Ch] (removeAutoInsets): delete function
7149 2003-05-22 Angus Leeming <leeming@lyx.org>
7151 * latexrunparams.h: add a free_spacing variable.
7153 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7154 to pass moving_arg, as the data is stored in runparams.fragile.
7156 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7157 to Inset::latexOptional or to simpleTeXOnePar.
7159 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7160 free_spacing arg to Inset::latexOptional.
7162 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7165 2003-05-22 Angus Leeming <leeming@lyx.org>
7167 * latexrunparams.h: add fragile and use_babel variables.
7169 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7170 * buffer.C (makeLaTeXFile): store this returned value in
7171 runparams.use_babel, thus passing it to the inset::latex methods.
7173 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7174 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7176 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7177 longer has a fragile arg, as it is stored in runparams.fragile.
7179 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7180 moving_arg parameter as the data is stored in runparams.fragile.
7182 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7183 a fragile parameter as the data is stored in runparams.fragile.
7185 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7187 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7189 2003-05-22 Angus Leeming <leeming@lyx.org>
7191 * latexrunparams.h: add a 'bool nice' which defaults to false.
7193 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7194 now encapsulated within runparams.
7196 * bufferlist.C (updateIncludedTeXfiles):
7197 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7199 2003-05-22 Angus Leeming <leeming@lyx.org>
7201 * latexrunparams.h: new file containing struct LatexRunParams.
7202 * Makefile.am: add new file.
7204 * LaTeX.[Ch] (c-tor, run):
7205 * buffer.[Ch] (makeLaTeXFile):
7206 * bufferlist.[Ch] (updateIncludedTeXfiles):
7207 * converter.C (convert, scanLog):
7208 * converter.[Ch] (runLaTeX):
7209 * exporter.C (Export):
7210 * paragraph.[Ch] (simpleTeXOnePar):
7211 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7212 * paragraph_funcs.[Ch] (latexParagraphs):
7213 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7214 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7215 pass around a LatexRunParams parameter.
7217 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7219 * paragraph.[Ch]: remove unused constructor
7221 * ParagraphList.C (erase): new function, taking two iterators
7223 2003-05-22 André Pönitz <poenitz@gmx.net>
7225 * undo_funcs.C: remove duplicated code
7227 * iterator.[Ch]: operator=
7229 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7231 * tabular.C (SetMultiColumn): ws changes
7233 * rowpainter.C (paintFirst): get rid of a ->previous
7235 * lyx_cb.C (getPossibleLabel): parlist simplification
7237 * BufferView.C (ChangeInsets): simplify slightly.
7239 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7241 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7242 * lfuns.h: new LFUN_SPACE
7243 * lyxfunc.C: protected space has a new lfun
7244 * paragraph_funcs.C: read new space insets
7246 * factory.C: handle new space insets
7248 2003-05-22 André Pönitz <poenitz@gmx.net>
7251 * BufferView_pimpl.C:
7254 * undo_funcs.C: return a ParIterator from getParFromID.
7256 * iterators.[Ch]: add two const's
7258 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7260 * toc.C (getTocList): adjust
7262 * iterators.[Ch]: rework for parlist
7264 * buffer.C (par_iterator_begin): adjust
7265 (par_iterator_end): adjust
7267 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7269 * BufferView.C (removeAutoInsets): adjust
7270 (ChangeInsets): adjust
7272 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7274 * text.C (top_y): fix bug 1110
7276 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7278 * errorlist.[Ch]: added
7281 * BufferView_pimpl.C:
7282 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7285 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7287 * Makefile.am: ensure that lyx is relinked upon changes to the
7288 various "convenience" libs.
7290 2003-05-20 Angus Leeming <leeming@lyx.org>
7292 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7293 files are compiled in alphabetical order again.
7295 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7297 2003-05-19 Angus Leeming <leeming@lyx.org>
7299 * gettext.[Ch]: remove "char const * _(char const *)".
7301 2003-05-19 André Pönitz <poenitz@gmx.net>
7303 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7312 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7314 2003-05-19 André Pönitz <poenitz@gmx.net>
7318 * lyxtextclass.[Ch]:
7320 * paragraph_funcs.[Ch]:
7322 * text3.C: more insetenv work
7324 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7326 * ParagraphParameters.C (params2string): small bug fixed
7328 2003-05-16 André Pönitz <poenitz@gmx.net>
7331 * bufferview_funcs.C: patch from Kornel Benko to prevent
7332 crash when _(...) is called twice in a statement
7334 2003-05-16 André Pönitz <poenitz@gmx.net>
7341 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7343 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7345 * lyx_main.C (init): remove spurious static_cast
7347 2003-05-14 André Pönitz <poenitz@gmx.net>
7349 * BufferView.C: fix format string
7351 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7353 * BufferView.[Ch] (insertErrors): removed
7354 * BufferView.[Ch] (showErrorList): added
7355 * buffer.C (runChkTeX):
7356 * converter.C (scanLog): call showErrorList instead of inserterrors
7358 2003-05-13 André Pönitz <poenitz@gmx.net>
7360 * BufferView_pimpl.C:
7362 * bufferview_func.C:
7369 * tabular_funcs.h: tostr() from its own header
7371 * ParagraphParameters.C:
7376 * text3.C: STRCONV()
7378 2003-05-12 André Pönitz <poenitz@gmx.net>
7381 * BufferView_pimpl.C:
7385 * ParagraphParameters.C:
7389 * bufferview_funcs.C:
7402 * paragraph_funcs.C:
7406 * text3.C: boost::format -> bformat all over the place
7409 2003-05-09 André Pönitz <poenitz@gmx.net>
7411 * LColor.[Ch]: Pimpl the #include <map> away
7413 2003-05-09 John Levon <levon@movementarian.org>
7415 * bufferlist.C: never remove emergency saves
7417 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7419 * Makefile.am: better lib building
7421 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7423 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7425 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7426 (simpleTeXSpecialChars): adjust
7427 (simpleTeXSpecialChars): adjust
7428 * paragraph.C (simpleTeXOnePar): adjust
7429 * buffer.C (makeLaTeXFile): adjust
7431 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7433 * text2.C (changeDepth): parlist cleanup
7434 (getColumnNearX): ditto
7436 * rowpainter.C (getLabelFont): parlist cleanup
7438 * bufferlist.C (newFile): parlist cleanup
7440 * CutAndPaste.C (eraseSelection): parlist cleanup
7442 * BufferView_pimpl.C (trackChanges): parlist cleanup
7445 * BufferView.C (lockInset): parlist cleanup.
7446 (ChangeInsets): ditto
7448 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7450 * CutAndPaste.h: Update file header.
7452 * CutAndPaste.C: Update file header.
7453 Store the parts cut out of the Document in a limited_stack.
7454 (copySelection): adjust
7455 (pasteSelection): new function, takes the index in the limited stack.
7456 (nrOfParagraphs): adjust
7457 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7458 simplify error inset insertion.
7459 (checkPastePossible): adjust
7461 2003-05-06 John Levon <levon@movementarian.org>
7463 * text2.C: don't cast wrap inset to float
7465 2003-05-05 André Pönitz <poenitz@gmx.net>
7468 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7470 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7471 few naked Paragraph *.
7473 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7475 * bufferparams.C: Output warning if a document with missing
7476 TeX document class is loaded
7477 * exporter.C: Disable TeX exports if the document class is missing
7480 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7481 isTeXClassAvailable()
7483 2003-05-03 John Levon <levon@movementarian.org>
7486 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7487 explicit cursor show/hide
7489 * BufferView_pimpl.h:
7490 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7491 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7493 * lyxfunc.C: hide cursor before dispatching.
7498 * text3.C: remove explicit cursor hides
7500 2003-05-02 André Pönitz <poenitz@gmx.net>
7502 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7505 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7508 * text2.C: tiny whitespace
7510 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7512 * undo_funcs.C: almost only ws changes.
7514 * ParagraphList.C (splice): just return if pl is empty.
7516 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7518 * ParagraphList.C (splice): new function.
7520 * CutAndPaste.C (pasteSelection): use it
7522 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7524 * CutAndPaste.C (pasteSelection): remove the last next and
7525 previous from this file.
7527 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7529 * CutAndPaste.C (pasteSelection): more clean up, user proper
7530 ParagraphList functions for pasteing.
7532 * ParagraphList.C (insert): new function, three arg insert
7534 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7536 * ParagraphList.C (insert): new function, three arg insert
7538 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7541 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7543 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7545 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7547 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7549 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7551 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7552 (copySelection): clean up a bit.
7553 (pasteSelection): use make_pair
7555 * ParagraphList.C (ParagraphList): implement copy constructor
7556 (operator=): implement, base on copy constructor.
7559 * paragraph.C (erase): return a bool
7561 * paragraph_pimpl.C (erasePos): remove function, move contents...
7562 (erase): ... here. Return a bool.
7563 (erase): call erase instead of erasePos.
7565 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7567 * ParagraphList.h: define PitPosPair
7568 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7569 ParagraphList, fix a bug on pasting multiple pars
7570 * text2.C: change interface to C&P
7572 2003-04-30 André Pönitz <poenitz@gmx.net>
7574 * undo_func.C: revert part of yesterday's patch 2
7576 2003-04-30 John Levon <levon@movementarian.org>
7578 * LColor.C: s/tabular/table/
7580 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7582 * text3.C (dispatch): do not convert iterator -> pointer
7583 * undo_funcs.C (setCursorParUndo): ditto
7584 * text_funcs.C (transposeChars): ditto
7586 * text2.C (setLayout): ws changes only
7588 * text.C (breakParagraph): do not convert iterator -> pointer
7590 (acceptChange): ditto
7591 (rejectChange): ditto
7596 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7599 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7601 * text3.C (gotoInset): YABG (yet another bad getChar)
7603 2003-04-29 André Pönitz <poenitz@gmx.net>
7605 * paragraph.h: make operator= private unimplemented as long as
7608 * ParagraphList.C: whitespace
7611 * paragraph_pimpl.[Ch]:
7612 * paragraph_funcs.C:
7614 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7617 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7619 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7621 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7622 * paragraph.[Ch] (erase):
7623 * paragraph_pimpl.[Ch] (erase): change return type and value
7624 * text2.C (cutSelection): some rework
7626 2003-04-28 John Levon <levon@movementarian.org>
7628 * bufferlist.C: changes for unsaved changes dialog
7630 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7632 * bufferlist.C (newFile): set language (messages_) for new
7635 * buffer.C (readFile): ws changes only.
7637 2003-04-28 André Pönitz <poenitz@gmx.net>
7642 * BufferView_pimpl.C:
7643 * BufferView.C: getParFromID related ParagraphList::iterator changes
7645 2003-04-28 André Pönitz <poenitz@gmx.net>
7647 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7650 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7652 * messages.C: remove one more localedir class variable.
7654 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7656 * messages.C (getLocaleDir): singleton generation function
7658 (Messages): add a default constructor.
7660 * main.C (main): do not setup localedir here, do not call
7663 * gettext.C (_): use it.
7664 (gettext_init): delete funciton
7666 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7668 * gettext.C (getLyXMessages): new singleton generating function.
7670 * buffer.C (updateDocLang): adjust
7672 * Makefile.am (messages.o): add target
7673 (main.o): remove target
7675 2003-04-27 John Levon <levon@movementarian.org>
7680 * lyxvc.C: specify cancel button in Alert::prompt
7682 2003-04-26 John Levon <levon@movementarian.org>
7687 * LyXAction.C: add LFUN_INSET_SETTINGS
7689 * lyxfunc.C: don't enable tabular-feature when there's
7690 just any locking inset
7692 2003-04-26 John Levon <levon@movementarian.org>
7694 * bufferlist.C: re-add Cancel to buffer close question
7696 * lyxfunc.C: fix import UI a bit
7698 2003-04-25 John Levon <levon@movementarian.org>
7700 * gettext.C: remove the broken asserts for now
7702 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7704 * messages.C: make case where setlocale cannot comply work better.
7706 * buffer.C (updateDocLang): new function
7707 (changeLanguage): use it
7710 * text2.C (setCounter): use B_ a bit.
7712 * lyxlayout.C (Read): be sure to trim the label strings.
7714 * messages.C (Messages): fix typo in comment
7716 * buffer.C (readFile): set message_ after file is loaded.
7717 (makeDocBookFile): remove double return
7718 (changeLanguage): reset message_ upon language change.
7719 (B_): new func, use this to get translated buffer strings.
7721 * main.C: add myself and Jean Marc as authors.
7723 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7725 * messages.[hC]: pimplify Messages, and three different pimpls to be
7726 used in different circumstances.
7728 * gettext.[Ch]: change for use with new message code.
7730 2003-04-24 André Pönitz <poenitz@gmx.net>
7732 * factory.C: support for eqref
7734 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7736 * messages.[Ch]: add missing char
7738 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7740 * messages.[Ch]: New files
7742 2003-04-18 John Levon <levon@movementarian.org>
7746 * BufferView_pimpl.C:
7750 * text2.C: remove layout-copy/paste (bug 778)
7752 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7754 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7756 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7758 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7759 if they succeed. Act accordingly.
7761 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7763 * text2.C (setCharFont): adjust
7764 (setCounter): adjust
7765 (insertStringAsLines): adjust
7767 * text.C (leftMargin): adjust
7768 (setHeightOfRow): adjust
7770 * rowpainter.C (paintFirst): adjust
7773 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7775 (isFirstInSequence): ditto
7776 (getEndLabel): ditto
7779 * paragraph.C (getParLanguage): comment out some hard stuff.
7781 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7783 (simpleDocBookOnePar): ditto
7784 (makeDocBookFile): use ParagraphList::iterator
7786 * CutAndPaste.C (pasteSelection): adjust
7788 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7790 * text2.C (getFont): adjust
7791 (getLayoutFont): adjust
7792 (getLabelFont): adjust
7794 * paragraph_funcs.C (TeXOnePar): adjust
7796 * buffer.C (simpleLinuxDocOnePar): adjust
7797 (simpleDocBookOnePar): adjust
7799 * CutAndPaste.C (pasteSelection): adjust
7801 * BufferView.C (getEncoding): adjust
7803 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7805 2003-04-16 John Levon <levon@movementarian.org>
7807 * lyxfind.C: use parlist stuff for search/changes
7809 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7811 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7813 * text2.C (deleteEmptyParagraphMechanism): adjust
7815 * text2.[Ch] (ownerParagraph): delete func (both of them
7817 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7819 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7821 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7823 * ParagraphList.C: prepare for NO_NEXT
7825 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7827 * text2.C (getFont): adjust
7828 (getLayoutFont): adjust
7829 (getLabelFont): adjust
7831 * paragraph.C (getFont): adjust
7832 (getLabelFont): adjust
7833 (getLayoutFont): adjust
7835 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7837 2003-04-15 John Levon <levon@movementarian.org>
7841 * lyx_main.C: handle Include in .ui files
7843 2003-04-15 John Levon <levon@movementarian.org>
7845 * MenuBackend.C: make the doc files length shorter
7848 * ToolbarBackend.C: handle toolbar placement flags,
7851 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7853 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7856 * paragraph_funcs.C (TeXOnePar): adjust
7858 * paragraph.C (getLabelFont): add outerfont arg, adjust
7859 (getLayoutFont): ditto
7860 (simpleTeXOnePar): adjust
7862 * paragraph_pimpl.C (realizeFont): delete func
7864 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7866 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7867 row argument, constify cur argument.
7869 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7871 * text2.C (getFont): adjust
7872 (getLayoutFont): adjust
7873 (getLabelFont): adjust
7875 * paragraph_funcs.C (TeXOnePar): adjust
7876 (outerFont): new func...
7877 (realizeFont): ...moved out from here, changed this to facilitate
7880 * paragraph.C (getFont): take outerfont as arg, adjust
7881 (simpleTeXOnePar): add outerfont arg, adjust
7883 * buffer.C (simpleLinuxDocOnePar): adjust
7884 (simpleDocBookOnePar): adjust
7886 * CutAndPaste.C (pasteSelection): adjust
7888 * BufferView.C (getEncoding): adjust
7890 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7892 * text2.C (setCharFont): adjust
7893 (setCounter): adjust
7895 * text.C (leftMargin): adjust
7896 (setHeightOfRow): adjust
7898 * rowpainter.C (paintFirst): adjust
7901 * paragraph_pimpl.C (realizeFont): adjust
7903 * paragraph.C (isFirstInSequence): move from here...
7904 * paragraph_funcs.C (isFirstInSequence): ...to here
7906 * paragraph.C (outerHook): move from here...
7907 * paragraph_funcs.C (outerHook): ...to here
7909 * paragraph.C (depthHook): move from here...
7910 * paragraph_funcs.C (depthHook): ...to here
7912 * paragraph.C (getEndLabel): move from here...
7913 * paragraph_funcs.C (getEndLabel): ...to here
7915 * text2.C (realizeFont): move from here...
7916 * paragraph_funcs.C (realizeFont): ...to here
7918 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7920 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7922 2003-04-14 Angus Leeming <leeming@lyx.org>
7924 * LColor.[Ch]: scrap LColor mathcursor.
7926 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7928 * lyxlex.[Ch] (text): delete function
7929 * trans.C (Load): adjust
7930 * paragraph_funcs.C (readParToken): adjust
7932 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7934 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7935 vector<char> instead of a char[].
7937 * lyxlex_pimpl.C (getString): adjust
7939 (lex): use getString
7943 * lyxlex.C (text): use pimpl_->getString()
7947 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7949 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7950 (makeFontEntriesLayoutSpecific): temp var for par.size()
7951 (setLayout): temp var for ownerParagraphs().end()
7952 (fullRebreak): temp var for rows().end()
7953 (selectionAsString): temp var for boost::next(startpit), realize
7954 that the while really is a regular for loop.
7955 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7956 setCursor in one place.
7957 (setParagraph): temp vr for ownerParagraphs().end()
7958 (updateCounters): make the while loop a for loop
7959 (cutSelection): temp var for ownerParagraphs().end()
7960 (updateInset): make the do {} while() a regular for loop
7961 (getCursorX): use temp vars
7962 (setCurrentFont): use temp vars
7963 (getColumnNearX): use temp vars
7965 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7967 * text.C (transformChar): use temp var for getChar
7968 (computeBidiTables): use temp var for row->par()
7969 (fill): move temp vars for row->par() and pit->layout() earlier in
7971 (labelFill): use temp var for row->par()
7972 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7973 asc and desc, realize that pit never changes and that firstpit is
7974 just a duplicate and not needed. Exchange rit->par() with pit in a
7976 (breakAgain): use a temp var for boost::next(rit)
7977 (breakAgainOneRow): ditto
7978 (breakParagraph): use a temp var for rows().begin()
7979 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7980 (cursorRightOneWord): use temp var for cursor.par() and
7981 cursor.pos(), remove usage of tmpcursor.
7982 (cursorLeftOneWord): use temp var for cursor.par() and
7983 cursor.pos() only set cur at end of function.
7985 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7987 * text.C, text2.C: exchange all usage of Paragraph::next with
7988 boost::next(ParagraphList::iterator)
7990 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7992 * text2.C (cursorTop): simplify implementation
7993 (cursorBottom): ditto
7994 (setParagraph): use ParagraphList::iterator
7995 (setCurrentFont): adjust
7996 (getColumnNearX): adjust
7997 (cursorRight): adjust
7998 (cursorLeft): remove usage of Paragraph::previous
7999 (cursorUpParagraph): ditto
8000 (deleteEmptyParagraphMechanism): slight cleanup
8002 * text.C (isBoundary): take a Paragraph const & instead of a
8004 (addressBreakPoint): ditto
8005 (leftMargin): remove usage of Paragraph::previous.
8006 (setHeightOfRow): ditto
8007 (cursorLeftOneWord): ditto
8008 (selectNextWordToSpellcheck): ditto
8011 (breakParagraph): remove one usage of Paragraph::next
8012 (redoParagraph): ditto
8013 (acceptChange): ditto
8014 (insertChar): adjust
8015 (rowBreakPoint): adjust
8017 * bufferview_funcs.C (toggleAndShow): adjust
8019 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8021 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8022 methods to access it.
8024 * text.C: Added updateRowPositions to compute all row positions.
8025 Make top_y and getRowNearY() to use the cached y position
8027 2003-04-11 John Levon <levon@movementarian.org>
8029 * text.C (rowBreakPoint): reintroduce the labelEnd
8030 checks, code copied from the row fill stuff. Deep voodoo.
8032 * text.C (fill): add a comment and debugging for the
8035 2003-04-11 John Levon <levon@movementarian.org>
8037 * text.C: make sure fullrow insets get wrapped to the next line,
8038 even when they're in a manual label
8040 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8042 * text2.C (insertParagraph): make it take ParagraphList::iterator
8044 (setLayout): make it return ParagraphList::iterator
8045 (redoParagraphs): ditto
8047 (checkParagraph): ditto
8049 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8051 * text2.C: adjust several funcs.
8052 (realizeFont): take a ParagraphList::iterator as arg.
8053 (getLayoutFont): ditto
8054 (getLabelFont): ditto
8055 (setCharFont): ditto
8057 * text.C: adjust several funcs.
8059 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8061 * text.C (selectNextWordToSpellcheck): don't accidentally
8064 2003-04-10 John Levon <levon@movementarian.org>
8066 * ToolbarBackend.C (getIcon): special handling for
8069 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8071 * text2.C (cursorRight): a getChar assert fixed
8073 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8075 * text2.C (getFont): change to take a ParagraphList::iterator
8076 instead of Paragraph*
8077 Adjust several functions.
8079 * text.C (transformChar): change to take a ParagraphList::iterator
8080 instead of Paragraph*
8081 (singleWidth): ditto
8082 Adjust several functions.
8084 * rowpainter.C: adjust several functions
8085 * rowpainter.h:store a ParagraphList::iterator and not a
8089 2003-04-09 John Levon <levon@movementarian.org>
8094 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8095 and the "help" bits as well
8097 2003-04-09 John Levon <levon@movementarian.org>
8100 * ToolbarBackend.C: allow multiple toolbars
8102 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8104 * undo_funcs.C (setCursorParUndo): adjust
8106 * text_funcs.C (transposeChars): adjust
8108 * text3.C (gotoNextInset): adjust
8111 * text2.C (setLayout): adjust
8112 (changeDepth): adjust
8114 (redoParagraphs): adjust
8115 (selectionAsString): adjust
8116 (setParagraph): adjust
8117 (insertInset): adjust
8118 (cutSelection): adjust
8119 (copySelection): adjust
8120 (pasteSelection): adjust
8121 (insertStringAsLines): adjust
8122 (updateInset): adjust
8123 (setCursor): change to take a ParagraphList::iterator parameter
8124 (setCursorIntern): change to take a ParagraphList::iterator parameter
8125 (setCurrentFont): adjust
8126 (cursorLeft): adjust
8127 (cursorRight): adjust
8128 (deleteEmptyParagraphMechanism): adjust
8130 * text.C (breakParagraph): adjust
8131 (insertChar): adjust
8132 (acceptChange): adjust
8133 (rejectChange): adjust
8134 (selectNextWordToSpellcheck): adjust
8135 (changeCase): adjust
8139 * lyxfind.C (SearchForward): adjust
8140 (SearchBackward): adjust
8141 (nextChange): adjust
8143 * lyxcursor.C (par): adjust
8145 * lyxcursor.h: store a ParagraphList::iterator instead of a
8148 * lyx_cb.C (getPossibleLabel): adjust
8150 * bufferview_funcs.C (toggleAndShow): adjust
8152 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8155 * BufferView.C (removeAutoInsets): adjust
8156 (lockedInsetStoreUndo): adjust
8158 2003-04-09 John Levon <levon@movementarian.org>
8160 * ToolbarBackend.C: try icon without argument
8161 if with argument fails
8163 2003-04-08 John Levon <levon@movementarian.org>
8166 * ToolbarBackend.C: add getIcon(), handle tooltip,
8167 and change from "Icon" to "Item".
8169 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8171 * BufferView.C (lockInset): another bad getchar crunched
8173 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8175 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8178 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8180 * lyxfind.C (searchForward, searchBackwards): bug 782
8182 2003-04-07 John Levon <levon@movementarian.org>
8184 * paragraph.C: remove dead comment
8186 * text.C: remove troublesome depth-fiddling code
8187 in leftMargin() and rightMargin() (bug 1017)
8189 * text.C: fix breaking of rows in nested lists
8192 * text2.C (updateCounters): fix up depth values
8195 2003-04-07 John Levon <levon@movementarian.org>
8197 * BufferView_pimpl.C: clear message when doc finishes resizing,
8198 and after a mouse event
8200 * lyxfunc.C: clear message after exiting inset
8202 2003-04-07 John Levon <levon@movementarian.org>
8204 * bufferview_funcs.C: show math status not outside
8205 status in the statusbar
8207 2003-04-07 John Levon <levon@movementarian.org>
8209 * lyxfunc.C: note status changed after a depth change
8211 2003-04-04 Angus Leeming <leeming@lyx.org>
8213 * LaTeX.h: move AuxInfo operator==, != out of line.
8214 Remove LaTeX virtual destructor; nothing derives from it.
8215 Move operator()() out of public area and rename it startscript().
8216 Change protected for private.
8218 2003-04-04 Angus Leeming <leeming@lyx.org>
8221 * text2.C: remove unneeded #includes.
8223 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8225 * text2.C (dEPM): fix the heigth of the next row
8227 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8229 * text.C: squashed an invalid getChar requester + some ws changes
8231 2003-04-03 John Levon <levon@movementarian.org>
8233 * bufferview_funcs.h:
8234 * bufferview_funcs.C:
8237 * text2.C: make getStatus work for the env depth lfuns
8239 2003-04-03 John Levon <levon@movementarian.org>
8241 * bufferview_funcs.h:
8242 * bufferview_funcs.C:
8245 * text2.C: parlistize decDepth(), by merging it with incDepth()
8247 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8249 * lyxrow.h: store a ParagraphList::iterator instead of a
8250 Paragraph* and adjust other class functions to suit.
8252 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8255 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8257 * text2.C (setCursor): do not anchor to cursor row for the time being
8259 2003-04-02 John Levon <levon@movementarian.org>
8266 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8268 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8270 * paragraph.h: make ParagraphList and ParagraphList::iterator
8271 friends of Paragraph.
8273 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8275 * ParagraphList.C: Use the private next_ and previous_ from
8278 2003-04-01 John Levon <levon@movementarian.org>
8282 * Makefile.am: rename, remove defaults gunk
8285 * MenuBackend.C: remove defaults gunk
8288 * Languages.C: remove defaults gunk
8291 * lyx_main.C: error out if files couldn't be found.
8293 2003-04-02 John Levon <levon@movementarian.org>
8295 * text2.C: make incDepth() use parlist
8297 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8299 * undo_funcs.C (firstUndoParagraph): adjust
8301 * text3.C (gotoInset): adjust
8302 (dispatch): adjust, and rewrite loop.
8304 * text2.C (init): adjust, and rewrite loop.
8305 (redoParagraphs): adjust
8306 (updateInset): adjust, and rewrite loop.
8307 (deleteEmptyParagraphMechanism): adjust
8309 * tabular.C (LyXTabular): adjust
8310 (SetMultiColumn): adjust
8313 * lyxtext.[Ch] (ownerParagraph): delete function
8314 (ownerParagraphs): new function returns a ParagraphList.
8316 * BufferView.C (removeAutoInsets): adjust
8317 (insertErrors): adjust
8318 (setCursorFromRow): adjust
8320 2003-04-01 Angus Leeming <leeming@lyx.org>
8322 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8325 2003-04-02 John Levon <levon@movementarian.org>
8331 * text_funcs.C: make transposeChars a free function
8333 * lyxrow_funcs.C: remove wrong comment
8335 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8338 * rowpainter.C: adjust
8343 * lyxrow_funcs. [Ch]: new files
8345 * lyxrow.[Ch]: remove next and previous pointers
8346 (next,previous): remove accessor functions
8347 (isParEnd): move to lyxrow_funcs
8348 (lastPos): move to lyxrow_funcs
8349 (nextRowIsAllInset): move to lyxrow_funcs
8350 (lastPrintablePos): move to lyxrow_funcs
8351 (numberOfSeparators): move to lyxrow_funcs
8352 (numberOfHfills): move to lyxrow_funcs
8353 (numberOfLabelHfills): move to lyxrow_funcs
8354 (hfillExpansion): move to lyxrow_funcs
8358 * bufferview_funcs.C (toggleAndShow): adjust
8360 * RowList.h: Remove class RowList from file leave just a
8363 * RowList.C: delete file
8365 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8368 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8370 * text3.C (cursorPrevious): adjust
8371 (cursorNext): adjust
8374 * text2.C (redoHeightOfParagraph): adjust
8375 (redoDrawingOfParagraph): adjust
8378 * text.C (breakParagraph): adjust
8379 (insertChar): adjust
8382 * rowpainter.C (RowPainter): adjust
8383 (leftMargin): simplify and adjust
8384 (most rowpainter functions): adjust.
8386 * rowpainter.h: store the row as RowList::iterator not as Row*
8388 * lyxcursor.C (row): taka RowList::iterator as arg
8391 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8394 2003-04-01 Angus Leeming <leeming@lyx.org>
8396 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8397 stuff like bool Bool.
8399 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8401 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8404 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8406 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8409 * lyxtext.h (rows): drop one version and leve a const variant that
8410 returns a RowList::iterator.
8412 2003-03-31 Angus Leeming <leeming@lyx.org>
8414 * text.C (fill): ensure that the signature is the same as that in the
8417 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8419 * text2.C (redoParagraphs): adjust
8420 (updateCounters): adjust
8421 (checkParagraph): adjust
8422 (getColumnNearX): adjust and reformat a bit.
8424 * text.C (top_y): adjust
8426 (leftMargin): adjust
8427 (prepareToPrint): adjust
8429 (getRowNearY): adjust
8431 * lyxtext.h: make rowlist_ mutable.
8433 * RowList.h: add const_iterator
8434 * RowList.C: adjust for RowList::const_iterator.
8436 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8439 2003-03-31 John Levon <levon@movementarian.org>
8442 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8444 * lyx_main.C: set default fonts from using lyx_gui funcs
8446 * exporter.C: pdf_mode moved from lyxrc
8449 * lyxfunc.C: changes from above
8451 2003-03-31 John Levon <levon@movementarian.org>
8453 * lyx_main.C: fix to the last fix
8455 2003-03-31 John Levon <levon@movementarian.org>
8457 * bufferlist.C: "Load original" -> "Load Original"
8463 * format.C: more Alert cleanups
8465 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8467 * text2.C (removeParagraph): make it take a RowList::iterator as
8469 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8470 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8472 * text.C (anchor_row): make it take a RowList::iterator as arg,
8474 (computeBidiTables): make it take a const reference to Row instead
8475 of Row pointer, adjust.
8476 (leftMargin): make it take a RowList::iterator as arg, adjust.
8477 (rowBreakPoint): adjust
8478 (breakAgainOneRow): make it take a RowList::iterator as arg,
8480 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8482 * bufferview_funcs.C (toggleAndShow): adjust
8484 2003-03-30 John Levon <levon@movementarian.org>
8488 * boost-inst.C: moved to support
8490 * several files: changes as a result
8492 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8494 * text2.C (LyXText): adjust.
8496 (removeRow): make it take a RowList::iterator as arg, adjust.
8497 (fullRebreak): adjust
8498 (deleteEmptyParagraphMechanism): adjust
8499 (clearPaint): adjust
8502 * text.C (top_y): adjust
8503 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8504 (breakAgain): make it take a RowList::iterator as arg, adjust.
8505 (breakParagraph): adjust
8506 (insertChar): adjust
8509 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8510 need_break_row, and refresh_row.
8512 * text3.C (dispatch): adjust
8514 * text2.C (checkParagraph): adjust
8516 (setCursorFromCoordinates): adjust
8518 * text.C (top_y): adjust
8520 (getRow): make it return a RowList::iterator, adjust
8521 (getRowNearY): make it return a RowList::iterator, adjust
8523 * text2.C (init): adjust
8524 (insertRow): remove function
8525 (insertParagraph): adjust
8526 (redoParagraphs): adjust
8527 (fullRebreak): adjust
8528 (updateCounters): adjust
8530 * text.C (top_y): rewrite to use RowList iterators.
8532 (setHeightOfRow): rewrite to sue RowList iterators.
8533 (appendParagraph): adjust
8534 (breakAgain): adjust
8535 (breakAgainOneRow): adjust
8536 (breakParagraph): adjust
8538 (getRowNearY): adjust, and remove commented code.
8540 * lyxtext.h (firstRow): delete function
8541 (lastRow): delete function
8542 (rows): new function (const and non-const versions.)
8543 (insertRow): delete function
8545 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8547 2003-03-29 John Levon <levon@movementarian.org>
8549 * BufferView_pimpl.C: always update scrollbar top
8550 because pasting text when we're anchored could mean we
8551 miss an update altogether
8553 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8555 * text2.C (init): use rowlist_.end() and not 0.
8556 (insertRow): change to take a RowList::iterator as arg, adjust
8558 (insertParagraph): change to take a RowList::iterator as arg,
8560 (redoParagraphs): remove some debug msgs.
8562 * text.C (appendParagraph): change to take a RowList::iterator
8563 arg, adjust for this.
8564 (breakAgain): add an assert
8565 (breakAgainOneRow): ditto
8567 2003-03-29 John Levon <levon@movementarian.org>
8569 * text2.C: do not clear selection after inc/decDepth
8572 2003-03-29 John Levon <levon@movementarian.org>
8575 * buffer.C: fix broken strerrors according to Lars
8577 2003-03-29 John Levon <levon@movementarian.org>
8579 * converters.C: more Alert cleanups
8581 2003-03-29 John Levon <levon@movementarian.org>
8583 * bufferview_funcs.C: remove pointless Alert
8585 * buffer.C: fix confusing error message when
8586 a template is chmoded 000
8588 2003-03-29 John Levon <levon@movementarian.org>
8592 * BufferView_pimpl.C: Alert fixes
8596 * tabular-old.C: remove unused table compat reading
8598 2003-03-29 John Levon <levon@movementarian.org>
8603 * lyx_cb.C: more Alert cleanups
8605 * lyxfunc.C: don't allow chktex if not latex document
8607 2003-03-29 John Levon <levon@movementarian.org>
8611 * buffer.C: warnings pushed down from support/,
8614 2003-03-29 John Levon <levon@movementarian.org>
8616 * lyxfunc.C: safety check for C-r (revert)
8618 2003-03-29 John Levon <levon@movementarian.org>
8621 * bufferlist.C: several UI fixes using Alert::prompt.
8622 Fix the pointless looping quit code. Fix stupid revert
8627 * lyx_cb.C: use Alert::prompt
8629 * lyx_main.C: remove a silly question
8631 * lyxfunc.C: remove a couple of silly questions,
8634 2003-03-28 John Levon <levon@movementarian.org>
8636 * text2.C: fix bug 974 (End on empty par)
8638 2003-03-28 John Levon <levon@movementarian.org>
8640 * BufferView_pimpl.C:
8642 * lfuns.h: remove do-nothing math greek lfuns
8644 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8646 * lyxgluelength.h (isValidGlueLength): add default arg on
8647 parameter 2. Remove default arg from friend in class.
8649 * lyxlength.h (isValidLength): add default arg on parameter 2.
8650 Remove default arg from friend in class.
8652 * text2.C (LyXText): adjust, initialize refresh_row.
8656 (insertParagraph): adjst
8657 (redoParagraphs): adjust
8658 (fullRebreak): adjust
8659 (updateCounters): adjust
8660 (deleteEmptyParagraphMechanism): first attempt at fixing a
8663 * text.C (top_y): adjust
8664 (setHeightOfRow): adjust
8666 (getRowNearY): adjust
8668 * lyxtext.h: include RowList.h
8669 (~LyXText): not needed anymore, deleted.
8670 (firstRow): modify for RowList
8671 (lastRow): new function
8672 Delete firstrow and lastrow class variables, add a Rowlist
8673 rowlist_ class variable.
8675 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8678 * RowList.C (insert): fix case where it == begin().
8680 2003-03-26 Angus Leeming <leeming@lyx.org>
8682 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8683 the thesaurus dialog.
8685 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8687 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8689 * RowList.[Ch]: new files
8691 * ParagraphList.C (erase): handle the case where it == begin
8694 2003-03-25 John Levon <levon@movementarian.org>
8698 * aspell.C: add new aspell support
8701 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8704 2003-03-25 Angus Leeming <leeming@lyx.org>
8707 * LyXAction.C (init): new LFUN_INSET_INSERT.
8709 * BufferView_pimpl.C (dispatch): split out part of the
8710 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8712 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8715 2003-03-25 Angus Leeming <leeming@lyx.org>
8717 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8719 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8722 * text3.C: remove useless row->height(0)
8724 2003-03-25 John Levon <levon@movementarian.org>
8728 * text3.C: rename the refreshing stuff to better names
8730 2003-03-24 John Levon <levon@movementarian.org>
8732 * BufferView_pimpl.h:
8733 * BufferView_pimpl.C: update layout choice on a mouse
8736 2003-03-23 John Levon <levon@movementarian.org>
8738 * Makefile.am: fix commandtags.h reference
8740 2003-03-22 John Levon <levon@movementarian.org>
8742 * BufferView_pimpl.C:
8747 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8749 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8752 * text.C: take the rtl methods out of line
8754 2003-03-21 André Pönitz <poenitz@gmx.net>
8756 * metricsinfo.[Ch]: new files containing structures to be passed around
8757 during the two-phase-drawing...
8759 2003-03-21 André Pönitz <poenitz@gmx.net>
8761 * lyxtextclass.C: read 'environment' tag.
8763 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8765 * text2.C (removeRow): fix bug 964
8767 2003-03-20 John Levon <levon@movementarian.org>
8771 * text2.C: paint cleanups. Inset::update() dropped font
8774 2003-03-19 John Levon <levon@movementarian.org>
8776 * lyxfunc.C: only fitcursor/markDirty if available()
8778 2003-03-19 John Levon <levon@movementarian.org>
8780 * commandtags.h: rename to ...
8782 * lfuns.h: ... this, and renumber / cleanup
8784 2003-03-19 John Levon <levon@movementarian.org>
8786 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8787 fit the cursor after an lfun
8791 * BufferView_pimpl.h:
8792 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8794 * LyXAction.C: layout-character should have ReadOnly
8796 * ParagraphParameters.C:
8798 * bufferview_funcs.C:
8805 * undo_funcs.C: changes from above
8807 2003-03-18 John Levon <levon@movementarian.org>
8809 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8810 remove it from update()
8812 * lyxfunc.C: update layout choice after an lfun
8814 * text3.C: remove extra updateLayoutChoice()s
8816 2003-03-18 John Levon <levon@movementarian.org>
8818 * text.C: top_y change means full repaint, fix
8819 a drawing bug with cursor movement
8821 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8825 * text2.C: anchor row on setCursor
8827 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8829 * lyxtext.h: remove almost all mutable keywords
8832 * text3.C: remove const keywords accordingly
8834 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8836 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8838 (TeXEnvironment): ditto
8841 2003-03-17 John Levon <levon@movementarian.org>
8843 * text.C (rowBreakPoint): remove attempt to fix displayed
8844 math insets inside a manual label
8846 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8848 * lyxtext.h: remove BufferView* as first arg from almost all class
8850 * other files: adjust.
8852 2003-03-17 John Levon <levon@movementarian.org>
8856 * text2.C: more paint cleanups
8858 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8861 * rowpainter.C: remove "smart" background painting code
8863 2003-03-16 John Levon <levon@movementarian.org>
8868 * text3.C: add helper functions for setting refresh_row/y
8870 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8872 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8873 newline inset which *can* get inserted in the pass_thru layouts.
8874 This is primarily for literate documents.
8876 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8878 * buffer.C: increment LYX_FORMAT to 223
8880 2003-03-14 André Pönitz <poenitz@gmx.net>
8882 * textclass.h: prepare for environment handling, ws changes
8883 * lyxlayout.C: read latexheader and latexfooter tags
8885 2003-03-14 John Levon <levon@movementarian.org>
8887 * text2.C: rewrite ::status() a bit
8889 2003-03-13 John Levon <levon@movementarian.org>
8891 * lyxtext.h: add some docs
8893 2003-03-13 John Levon <levon@movementarian.org>
8898 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8900 2003-03-13 John Levon <levon@movementarian.org>
8902 * text3.C: fix appendix redrawing
8904 2003-03-13 John Levon <levon@movementarian.org>
8906 * text.C (setHeightOfRow):
8908 * rowpainter.C: make appendix mark have the text
8909 "Appendix" so the user knows what it is
8912 * LColor.C: s/appendixline/appendix/ from above
8914 2003-03-13 John Levon <levon@movementarian.org>
8916 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8918 * text.C: fix a getChar(pos) bug properly
8920 2003-03-13 Angus Leeming <leeming@lyx.org>
8923 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8924 Probably only temporary. Let's see how things pan out.
8926 * BufferView.C (unlockInset):
8927 * BufferView_pimpl.C (fitCursor):
8928 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8930 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8931 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8933 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8934 new functions that convert ParagraphParameters to and from a string.
8936 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8937 BufferView::Pimpl's dispatch.
8938 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8940 2003-03-13 André Pönitz <poenitz@gmx.net>
8944 * factory.C: make it aware of InsetEnv
8946 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8948 * text2.C (setCursor): never ask for one past last
8949 (setCursor): add some debugging messages.
8951 * text.C (singleWidth): never ask for one past last
8952 (singleWidth): ditto
8954 (rightMargin): ditto
8955 (rowBreakPoint): ditto
8956 (setHeightOfRow): ditto
8957 (prepareToPrint): ditto
8959 * rowpainter.C (paintBackground): never ask for one past last
8960 (paintText): never ask for one past last
8962 * paragraph_pimpl.C (getChar): make the assert stricter, never
8963 allow the one past last pos to be taken
8965 * paragraph.C (getChar): ws changes only
8967 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8968 (numberOfSeparators): ditto
8969 (numberOfHfills): ditto
8971 2003-03-12 John Levon <levon@movementarian.org>
8977 * paragraph_funcs.C: fix per-buffer authorlists
8979 2003-03-12 John Levon <levon@movementarian.org>
8981 * text.C: fix newline in right address
8983 2003-03-12 Angus Leeming <leeming@lyx.org>
8985 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8986 duplicate those in LyXFunc::dispatch.
8990 * ToolbarDefaults.C:
8991 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8992 Add LFUN_FONTFREE_UPDATE.
8994 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8995 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8997 * bufferview_func.[Ch]: several new functions to facilliate
8998 transfer of data to and from the character dialog.
9000 2003-03-12 John Levon <levon@movementarian.org>
9005 * paragraph_funcs.C:
9006 * paragraph_pimpl.C:
9010 * text3.C: remove META_NEWLINE in favour of an inset
9013 * rowpainter.C: remove paintNewline (done by inset)
9015 2003-03-12 John Levon <levon@movementarian.org>
9017 * paragraph_pimpl.C: complain about bad getChar()s
9018 for a while at least
9020 2003-03-12 John Levon <levon@movementarian.org>
9023 * buffer.C: move paragraph read into a separate function,
9024 a little renaming to reflect that.
9027 * bufferparams.C: remove the author_ids map, not necessary now
9030 * factory.C: moved Buffer::readInset to here
9032 * paragraph_funcs.h:
9033 * paragraph_funcs.C: readParagraph free function moved from
9036 * tabular.C: name change
9038 2003-03-12 John Levon <levon@movementarian.org>
9041 * ParagraphParameters.C: move par params input to
9044 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9045 behave like a normal read from the stream wrt reading
9046 a line vs. a \\token
9048 2003-03-12 John Levon <levon@movementarian.org>
9051 * ParagraphParameters.h:
9052 * ParagraphParameters.C: move output code to a
9055 2003-03-12 John Levon <levon@movementarian.org>
9057 * BufferView.C (insertLyXFile):
9060 * tabular.C: use a parlist iterator for creating the
9063 2003-03-12 John Levon <levon@movementarian.org>
9065 * buffer.C: make current_change static local not
9068 2003-03-12 John Levon <levon@movementarian.org>
9070 * buffer.C: fix insertStringAsLines for change tracking
9072 2003-03-12 John Levon <levon@movementarian.org>
9079 * bufferparams.C: move author list into params. Rename some
9080 functions. Move the header reading into a separate token
9081 loop. Move the header token reading into BufferParams.
9083 2003-03-12 John Levon <levon@movementarian.org>
9085 * changes.C: put debug inside lyxerr.debugging() checks
9087 2003-03-11 André Pönitz <poenitz@gmx.net>
9089 * factory.C: make it aware of InsetHFill
9091 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9093 * buffer.C (latexParagraphs): move function from here...
9094 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9097 2003-03-10 Angus Leeming <leeming@lyx.org>
9099 * LyXAction.C (init): fix bug in poplating array with multiple entries
9100 with the same LFUN (spotted by JMarc).
9102 2003-03-10 John Levon <levon@movementarian.org>
9105 * text2.C: move getColumnNearX() near its
9108 2003-03-10 John Levon <levon@movementarian.org>
9110 * text.C: fix break before a minipage
9112 2003-03-10 John Levon <levon@movementarian.org>
9114 * text.C: fix the last commit
9116 2003-03-09 John Levon <levon@movementarian.org>
9120 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9121 bug 365 (don't break before insets unless needed). Don't
9122 return a value > last under any circumstances.
9124 2003-03-09 Angus Leeming <leeming@lyx.org>
9126 * BufferView_pimpl.C (trackChanges, dispatch): call
9127 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9129 2003-03-09 Angus Leeming <leeming@lyx.org>
9131 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9132 than Dialogs::showAboutlyx().
9134 2003-03-09 Angus Leeming <leeming@lyx.org>
9136 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9137 than Dialogs::showTabularCreate().
9139 2003-03-09 John Levon <levon@movementarian.org>
9143 * text2.C: 3rd arg to nextBreakPoint was always the same.
9146 2003-03-08 John Levon <levon@movementarian.org>
9153 * text2.C: Remove the "main" bit from the "main body"
9156 2003-03-08 John Levon <levon@movementarian.org>
9158 * text.C (leftMargin): The left margin of an empty
9159 manual label paragraph should not include the label width
9162 * text.C (prepareToPrint): don't attempt to measure hfills
9163 for empty manual label paragraphs - the answer should be 0
9165 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9167 * CutAndPaste.C: remove commented code and reindent.
9169 2003-03-08 John Levon <levon@movementarian.org>
9172 * lyxfunc.C: move reloadBuffer()
9175 * BufferView.C: to here
9177 * lyxvc.C: add comment
9180 * vc-backend.C: call bv->reload() to avoid
9181 getStatus() check on MENURELOAD
9183 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9185 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9186 to an old format .dep file.
9188 2003-03-07 Angus Leeming <leeming@lyx.org>
9190 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9191 when the LFUN_MOUSE_RELEASE should have been handled by
9192 inset->localDispatch.
9194 2003-03-07 Angus Leeming <leeming@lyx.org>
9196 * BufferView_pimpl.C (dispatch):
9197 * LyXAction.C (init):
9198 * ToolbarDefaults.C (init):
9200 * lyxfunc.C (getStatus):
9201 remove LFUN_INSET_GRAPHICS.
9203 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9205 2003-03-07 Angus Leeming <leeming@lyx.org>
9208 * LyXAction.C (init):
9209 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9211 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9214 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9216 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9217 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9219 2003-03-07 Angus Leeming <leeming@lyx.org>
9221 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9224 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9226 * ParagraphList.C (front): new function
9229 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9231 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9232 and top_row_offset_. removed var first_y.
9234 * text2.C (LyXText, removeRow):
9236 * BufferView_pimpl.C:
9237 use these methods instead of using first_y
9239 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9241 * text2.C (pasteSelection): adjust for checkPastePossible
9243 * CutAndPaste.C: remove Paragraph * buf and replace with
9244 ParagraphList paragraphs.
9245 (DeleteBuffer): delete
9246 (cutSelection): change the tc type to textclass_type
9247 (copySelection): change the tc type to textclass_type
9248 (copySelection): adjust for ParagraphList
9249 (pasteSelection): change the tc type to textclass_type
9250 (pasteSelection): adjust for Paragraphlist
9251 (nrOfParagraphs): simplify for ParagraphList
9252 (checkPastePossible): simplify for ParagraphList
9253 (checkPastePossible): remove unused arg
9255 * ParagraphList.C (insert): handle the case where there are no
9258 * CutAndPaste.h: make CutAndPaste a namespace.
9260 * text3.C (dispatch): adjust
9262 * text.C (breakParagraph): add a ParagraphList as arg
9264 * paragraph_funcs.C (breakParagraph): change to take a
9265 BufferParams and a ParagraphList as args.
9266 (breakParagraphConservative): ditto
9267 (mergeParagraph): ditto
9268 (TeXDeeper): add a ParagraphList arg
9269 (TeXEnvironment): ditto
9272 * buffer.C (readLyXformat2): adjust
9273 (insertStringAsLines): adjust
9274 (latexParagraphs): adjust
9276 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9277 (cutSelection): adjust
9278 (pasteSelection): adjust
9280 * BufferView_pimpl.C (insertInset): adjust
9282 2003-03-05 Angus Leeming <leeming@lyx.org>
9285 * LyXAction.C (init):
9286 * BufferView_pimpl.C (dispatch):
9287 * lyxfunc.C (getStatus):
9288 remove LFUN_CHILD_INSERT.
9290 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9292 2003-03-05 Angus Leeming <leeming@lyx.org>
9295 * LyXAction.C (init):
9296 * src/factory.C (createInset):
9297 * lyxfunc.C (getStatus):
9298 * text3.C (dispatch):
9299 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9301 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9303 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9305 * ParagraphList.C (insert): handle insert right before end()
9306 (erase): fix cases where it can be first or last paragraph.
9308 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9310 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9311 Paragraph::next and Paragraph::previous
9314 * text.C (breakParagraph): adjust
9316 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9317 BufferParams& as arg.
9318 (breakParagraph): use ParagraphList::insert
9319 (breakParagraphConservative): take a Buffer* instead of a
9320 BufferParams& as arg.
9321 (breakParagraphConservative): use ParagraphList::insert.
9323 * buffer.C (insertStringAsLines): un-const it
9324 (insertStringAsLines): adjust
9326 * ParagraphList.C (insert): new function
9328 * CutAndPaste.C (pasteSelection): adjust
9330 * text.C (backspace): adjust
9332 * tabular.C (SetMultiColumn): adjust
9334 * CutAndPaste.C (cutSelection): adjust
9335 (pasteSelection): adjust
9337 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9338 Buffer const * as arg
9340 * ParagraphList.C (erase): new function
9341 * paragraph_funcs.C (mergeParagraph): use it
9342 (mergeParagraph): make it take a Buffer* instead of a
9343 BufferParams* as arg
9345 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9347 (breakParagraphConservative): ditto
9349 * paragraph.h: remove the breakParagraph friend
9351 * paragraph.C (eraseIntern): new function
9352 (setChange): new function
9354 * paragraph_funcs.C (mergeParagraph): make it take a
9355 ParagraphList::iterator instead of a Paragraph *, adjust
9358 * paragraph.h: move an #endif so that the change tracking stuff
9359 also works in the NO_NEXT case.
9361 2003-03-04 Angus Leeming <leeming@lyx.org>
9364 * LyXAction.C: new LFUN_INSET_MODIFY.
9366 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9367 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9369 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9371 * several files: ws changes only
9373 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9374 (TeXEnvironment): ditto
9377 * buffer.C (makeLaTeXFile): adjust
9378 (latexParagraphs): make it take ParagraphList::iterator as args
9380 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9382 * buffer.C (latexParagraphs): adjust
9384 * paragraph.C (TeXOnePar): move function...
9385 (optArgInset): move function...
9386 (TeXEnvironment): move function...
9387 * paragraph_pimpl.C (TeXDeeper): move function...
9388 * paragraph_funcs.C: ...here
9390 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9392 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9394 * buffer.C (readInset): remove compability code for old Figure and
9397 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9399 * buffer.C: ws changes
9402 * BufferView_pimpl.C: ditto
9405 * bufferlist.h: ditto
9409 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9411 * converter.[Ch]: split into itself +
9414 * Makefile.am: += graph.[Ch] + format.[Ch]
9421 * lyxrc.C: added #include "format.h"
9423 2003-02-27 Angus Leeming <leeming@lyx.org>
9425 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9428 * factory.C (createInset): add "label" to the factory.
9430 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9431 string and do no more.
9433 2003-02-27 Angus Leeming <leeming@lyx.org>
9436 * LyXAction.C (init):
9437 * factory.C (createInset):
9438 * BufferView_pimpl.C (dispatch):
9439 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9441 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9443 * lyxfunc.C (dispatch):
9444 * text3.C (dispatch): pass name to params2string.
9446 2003-02-26 Angus Leeming <leeming@lyx.org>
9448 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9450 Rearrange the ~includes. Strip out the unnecessary ones.
9452 * factory.C (createInset): reformat.
9453 create new insets for the various LFUN_XYZ_APPLY lfuns.
9455 2003-02-26 John Levon <levon@movementarian.org>
9458 * lyxrow.C: add isParStart,isParEnd helpers
9460 * paragraph.h: make isInserted/DeletedText take refs
9462 * paragraph_funcs.h:
9463 * paragraph_funcs.C: remove #if 0'd code
9468 * text.C: use lyxrow helpers above.
9469 Move draw and paint routines to RowPainter.
9470 Make several methods use refs not pointers.
9471 Make backgroundColor() const.
9472 Add markChangeInDraw(), isInInset().
9473 Merge changeRegionCase into changeCase.
9474 Make workWidth() shouldn't-happen code into an Assert.
9477 * rowpainter.C: new class for painting a row.
9480 * vspace.C: make inPixels take a ref
9482 2003-02-26 Angus Leeming <leeming@lyx.org>
9484 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9487 2003-02-25 John Levon <levon@movementarian.org>
9489 * ispell.C: give the forked command a more accurate name
9491 2003-02-22 John Levon <levon@movementarian.org>
9494 * toc.C: make TocItem store an id not a Paragraph *
9497 2003-02-21 Angus Leeming <leeming@lyx.org>
9499 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9500 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9501 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9502 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9503 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9504 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9506 * BufferView_pimpl.C (dispatch):
9507 * LyXAction.C (init):
9508 * factory.C (createInset):
9509 * lyxfunc.C (getStatus, dispatch):
9510 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9512 2003-02-21 Angus Leeming <leeming@lyx.org>
9514 * BufferView_pimpl.C (MenuInsertLyXFile):
9515 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9516 * lyxfunc.C (menuNew, open, doImport):
9517 no longer pass a LyXView & to fileDlg.
9519 2003-02-21 Angus Leeming <leeming@lyx.org>
9521 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9522 * LyXAction.C: change, BIBKEY to BIBITEM.
9523 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9524 Change InsetBibKey to InsetBibitem.
9525 Change BIBKEY_CODE to BIBITEM_CODE.
9526 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9527 * factory.C: replace insetbib.h with insetbibitem.h.
9528 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9529 * paragraph.C: replace insetbib.h with insetbibitem.h.
9530 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9531 Change bibkey() to bibitem().
9532 * text.C: remove insetbib.h.
9533 * text2.C: replace insetbib.h with insetbibitem.h.
9534 change bibkey() to bibitem().
9535 * text3.C: remove insetbib.h.
9536 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9538 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9540 * lyxrc.C (output): enclose user email in quotes (in case there are
9543 2003-02-18 John Levon <levon@movementarian.org>
9545 * buffer.h: add std::
9547 2003-02-17 John Levon <levon@movementarian.org>
9553 * pspell.C: reworking. Especially in ispell, a large
9554 number of clean ups and bug fixes.
9556 * lyxfunc.C: fix revert to behave sensibly
9558 2003-02-17 André Pönitz <poenitz@gmx.net>
9561 * commandtags.h: new LFUN_INSERT_BIBKEY
9571 * paragraph_func.C: remove special bibkey handling
9573 2003-02-17 John Levon <levon@movementarian.org>
9575 * text.C (Delete): fix case where delete at the end of
9576 the very first paragraph would not merge the pars
9578 2003-02-17 John Levon <levon@movementarian.org>
9580 * lyxrow.C: fix lastPrintablePos()
9582 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9584 * bufferparams.C (writeLaTeX): add a std:here
9586 * buffer.C: and remove a using directive there
9588 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9590 * buffer.C (makeLaTeXFile): move the code that generates the
9593 * bufferparams.C (writeLaTeX): ... in this new method
9595 * LaTeXFeatures.C (getEncodingSet): make const
9596 (getLanguages): make const
9598 * MenuBackend.C (binding): returns the binding associated to this
9600 (add): sets the status of each item by calling getStatus. Adds
9602 (read): add support for OptSubMenu
9603 (expand): remove extra separator at the end of expanded menu
9605 2003-02-15 John Levon <levon@movementarian.org>
9608 * BufferView_pimpl.C:
9610 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9611 inset code that had no actual effect. Remove unneeded status
9614 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9616 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9619 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9621 * text.C (drawLengthMarker): also draw an arrow marker for
9622 symbolic lengths (medskip...)
9624 2003-02-14 John Levon <levon@movementarian.org>
9627 * tabular.C: better method names
9629 2003-02-14 John Levon <levon@movementarian.org>
9631 * BufferView_pimpl.C:
9636 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9637 it's a more accurate name. Remove some pointless uses.
9639 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9641 * text2.C (LyXText): change order of initilizers to shut off
9644 2003-02-14 John Levon <levon@movementarian.org>
9646 * buffer.C: use ParIterator for getParFromID()
9650 * paragraph_pimpl.h:
9651 * paragraph_pimpl.C: remove unused getParFromID()
9653 2003-02-14 John Levon <levon@movementarian.org>
9655 * buffer.C: remove some very old #if 0'd parse code
9657 2003-02-13 John Levon <levon@movementarian.org>
9661 * text2.C: move hfillExpansion(), numberOfSeparators(),
9662 rowLast(), rowLastPrintable(), numberofHfills(),
9663 numberOfLabelHfills() ...
9666 * lyxrow.C: ... to member functions here.
9671 * text.C: remove LyXText::beginningOfMainBody(), and call
9672 p->beginningOfMainBody() directly. Move the check for
9673 LABEL_MANUAL into the latter.
9680 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9686 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9687 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9689 2003-02-13 John Levon <levon@movementarian.org>
9691 * CutAndPaste.C: remove debug
9693 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9695 * paragraph.C (asString): remove two unused variables
9697 * lyxtextclass.C (readTitleType):
9699 (LyXTextClass): handle new members titletype_ and titlename_
9701 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9703 2003-02-09 John Levon <levon@movementarian.org>
9706 * buffer.C: replace hand-coded list with a map for the dep clean
9708 2003-02-08 John Levon <levon@movementarian.org>
9710 * LaTeX.C: consolidate code into showRunMessage() helper
9712 2003-02-08 John Levon <levon@movementarian.org>
9717 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9718 and pass the size in explicitly
9720 * BufferView_pimpl.h:
9721 * BufferView_pimpl.C:
9723 * BufferView.C: add getCurrentChange()
9725 * BufferView_pimpl.h:
9726 * BufferView_pimpl.C: handle change lfuns
9728 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9729 for changes. Mark pasted paragraphs as new.
9731 * support/lyxtime.h:
9732 * support/lyxtime.C:
9733 * DepTable.C: abstract time_t as lyx::time_type
9736 * LColor.C: add colours for new text, deleted text, changebars
9738 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9739 package use "usenames" option.
9743 * LyXAction.C: add change lfuns
9747 * author.C: author handling
9750 * buffer.C: add a per-buffer author list, with first entry as
9751 current author. Handle new .lyx tokens for change tracking. Output
9752 author list to .lyx file. Output dvipost stuff to .tex preamble.
9753 Bump lyx format to 222.
9756 * bufferlist.C: add setCurrentAuthor() to reset current author details
9760 * bufferparams.C: add param for tracking
9762 * bufferview_funcs.C: output change info in minibuffer
9766 * changes.C: add change-tracking structure
9769 * debug.C: add CHANGES debug flag
9772 * lyxfind.C: add code for finding the next change piece
9775 * lyxrc.C: add user_name and user_email
9778 * lyxrow.C: add a metric for the top of the text line
9781 * text.C: implement accept/rejectChange()
9784 * text.C: paint changebars. Paint new/deleted text in the chosen
9785 colours. Strike through deleted text.
9789 * paragraph_pimpl.h:
9790 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9791 in the current change to the insert functions. Rework erase to
9792 mark text as deleted, adding an eraseIntern() and a range-based
9793 erase(). Implement per-paragraph change lookup and
9796 * paragraph_funcs.C: Fixup paste for change tracking.
9798 * tabular.C: mark added row/columns as new.
9800 * text.C: fix rowLast() to never return -1. Don't allow
9801 spellchecking of deleted text. Track transpose changes. Don't
9802 allow paragraph break or merge where appropriate.
9804 * text2.C: leave cursor at end of selection after a cut.
9806 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9808 * text.C (getLengthMarkerHeight):
9809 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9810 visible on screen too.
9812 2003-02-07 John Levon <levon@movementarian.org>
9814 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9816 2003-02-05 Angus Leeming <leeming@lyx.org>
9818 * lyxserver.C (read_ready): revert my patch of 11 September last year
9819 as it sends PC cpu through the roof. Presumably this means that
9820 the lyxserver will no longer run on an Alpha...
9822 2003-01-30 Angus Leeming <leeming@lyx.org>
9824 * factory.C (createInset): create an InsetCommandParam of type "index"
9825 and use it to 'do the right thing'.
9827 * text2.C (getStringToIndex): ensure that cursor position is always
9828 reset to the reset_cursor position.
9830 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9832 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9835 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9839 * lyxfunc.C: Output messages with identical spelling, punctuation,
9842 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9844 * MenuBackend.C (expandFormats): List only viewable export formats
9847 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9850 * lyxfunc.C (getStatus): Make sure that formats other than
9851 "fax" can also be disabled
9853 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9855 * text3.C (dispatch): put the lfuns that insert insets in 3
9856 groups, and call doInsertInset with appropriate arguments.
9857 (doInsertInset): new function, that creates an inset and inserts
9858 it according to some boolean parameters.
9860 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9862 * buffer.C (readFile): remember to pass on 'par' when calling
9863 readFile recursively.
9865 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9867 * MenuBackend.C (expandFormats): add "..." to import formats.
9869 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9871 * paragraph.C (asString): Remove XForms RTL hacks.
9873 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9874 * buffer.C: fix typo
9876 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9878 * Makefile.am (LIBS): delete var
9879 (lyx_LDADD): add @LIBS@ here instead.
9881 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9883 * Clarify the meaning of "wheel mouse jump"
9885 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9887 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9890 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9892 * importer.C (Loaders): do not preallocate 3 elements in the
9893 vector, since one ends up with 6 elements otherwise
9895 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9897 * DepTable.C (write): write the file name as last element of the
9898 .dep file (because it may contain spaces)
9899 (read): read info in the right order
9901 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9903 * paragraph_pimpl.C (simpleTeXBlanks):
9904 (simpleTeXSpecialChars):
9905 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9907 * tabular.C (latex): add some missing case statements. Reindent.
9909 * MenuBackend.C (expandToc): remove unused variable.
9911 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9920 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9923 2003-01-05 John Levon <levon@movementarian.org>
9926 * BufferView.C: add getEncoding()
9929 * kbsequence.C: do not store last keypress
9932 * lyxfunc.C: store last keypress here instead. Pass encoding
9935 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9937 * lyx_main.C (init): remove annoying error message when following
9938 symbolic links (bug #780)
9940 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9942 * text.C (insertChar):
9943 * lyxrc.C (getDescription): remove extra spaces
9945 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9947 * lyxrc.C (getDescription): remove extra spaces
9949 2002-12-20 John Levon <levon@movementarian.org>
9951 * text3.C: hack fix for page up/down across tall rows
9953 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9955 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9958 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9960 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9961 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9962 thesaurus is not compiled in
9964 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9966 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9968 2002-12-16 Angus Leeming <leeming@lyx.org>
9971 * lyx_main.C (init): remove override_x_deadkeys stuff.
9973 2002-12-12 John Levon <levon@movementarian.org>
9975 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9976 insert. Only remove shift modifier under strict
9979 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9981 * MenuBackend.C (expandToc): fix crash.
9983 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9985 * MenuBackend.C (expandToc): gettext on float names.
9987 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9989 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9990 implement bool empty() [bug 490]
9992 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9994 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9996 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9998 * several files: ws changes
10000 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10002 * text2.C (setCounter): clean up a bit, use boost.format.
10003 (updateCounters): initialize par upon declaration.
10005 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10006 if the layout exists. We do not just store the layout any more.
10007 (SwitchLayoutsBetweenClasses): use boost.format
10009 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10011 * converter.C (convert): if from and to files are the same, use a
10012 temporary files as intermediary
10014 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10017 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10019 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10021 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10023 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10025 * tabular.C (asciiPrintCell): use string(size, char) instead of
10028 * sgml.C (openTag): fix order of arguments to string constructor
10031 * lyxfunc.C (dispatch): use boost.format
10033 * lots of files: change "c" -> 'c'
10035 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10037 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10039 2002-11-25 Angus Leeming <leeming@lyx.org>
10041 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10043 * lyx_main.C (init): compile fix.
10045 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10047 * lyx_cb.C (start): boost.formatify
10048 do not include <iostream>
10050 * lengthcommon.C: ws only
10052 * boost-inst.C,BoostFormat.h: add more explict instantations
10054 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10056 * lots of files: handle USE_BOOST_FORMAT
10058 2002-11-21 John Levon <levon@movementarian.org>
10060 * pspell.C: fix compile
10062 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10064 * lyxfunc.C (dispatch): use boost::format
10068 * lyxfont.C (stateText): use boost::format
10070 * lyx_main.C (LyX): use boost::format
10072 (queryUserLyXDir): ditto
10073 (readRcFile): ditto
10075 (typedef boost::function): use the recommened syntax.
10077 * importer.C (Import): use boost::format
10079 * debug.C (showLevel): use boost::format
10081 * converter.C (view): use boost::format
10086 * bufferview_funcs.C (currentState): use boost::format
10088 * bufferlist.C (emergencyWrite): use boost::format
10090 * buffer.C (readLyXformat2): use boost::format
10091 (parseSingleLyXformat2Token): ditto
10093 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10095 * LaTeX.C (run): use boost::format
10097 * Chktex.C (scanLogFile): use boost::format
10099 * BufferView_pimpl.C (savePosition): use boost::format
10100 (restorePosition): ditto
10101 (MenuInsertLyXFile): ditto
10103 * BoostFormat.h: help file for explicit instation.
10105 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10107 * tabular.C (latex): Support for block alignment in fixed width
10110 2002-11-17 John Levon <levon@movementarian.org>
10112 * BufferView_pimpl.C:
10114 * lyxfunc.C: split filedialog into open/save
10116 2002-11-08 Juergen Vigna <jug@sad.it>
10118 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10119 by my last patch (hopefully).
10121 2002-11-08 John Levon <levon@movementarian.org>
10130 * toc.C: ParConstIterator, and use it (from Lars)
10132 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10134 * lyxtextclass.[Ch]: revise and add doxygen comments
10136 2002-11-07 John Levon <levon@movementarian.org>
10138 * text.C: fix progress value for spellchecker
10140 * toc.C: fix navigate menu for insetwrap inside minipage
10142 * paragraph_funcs.C: added FIXME for suspect code
10144 2002-11-07 John Levon <levon@movementarian.org>
10146 * BufferView_pimpl.C: fix redrawing of insets
10149 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10151 * text2.C (updateCounters): fix bug 668
10153 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10155 * text3.C (dispatch): Do not make the buffer dirty when moving the
10158 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10160 * vc-backend.C: STRCONV
10161 (scanMaster): ditto
10163 * text2.C (setCounter): STRCONV
10165 * paragraph.C (asString): STRCONV
10167 * lyxlength.C (asString): STRCONV
10168 (asLatexString): ditto
10170 * lyxgluelength.C (asString): STRCONV
10171 (asLatexString): ditto
10173 * lyxfunc.C (dispatch): STRCONV
10176 * lyxfont.C (stateText): STRCONV
10178 * importer.C (Import): STRCONV
10180 * counters.C (labelItem): STRCONV
10181 (numberLabel): ditto
10182 (numberLabel): remove unused ostringstream o
10187 * bufferview_funcs.C (currentState): STRCONV
10189 * buffer.C (readFile): STRCONV
10190 (asciiParagraph): ditto
10191 (makeLaTeXFile): ditto
10193 * Spacing.C (writeEnvirBegin): STRCONV
10195 * LaTeXFeatures.C (getLanguages): STRCONV
10196 (getPackages): ditto
10198 (getBabelOptions): ditto
10199 (getTClassPreamble): ditto
10200 (getLyXSGMLEntities): ditto
10201 (getIncludedFiles): ditto
10205 (scanAuxFile): ditto
10208 * LString.h: add the STRCONV macros
10210 * BufferView_pimpl.C (savePosition): STRCONV
10211 (restorePosition): ditto
10212 (MenuInsertLyXFile): ditto
10214 * vc-backend.C (scanMaster): change from submatch[...] to
10217 * funcrequest.C: include config.h
10219 * factory.C: include config.h
10221 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10223 * box.C: include config.h
10225 * LaTeX.C (scanAuxFile): change from submatch[...] to
10229 2002-10-25 Angus Leeming <leeming@lyx.org>
10231 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10233 * ispell.[Ch] (setError): new method.
10234 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10235 Use setError() insetead of goto END.
10237 * lyx_cb.C (AutoSave): move out child process into new class
10240 2002-10-30 John Levon <levon@movementarian.org>
10242 * text3.C: make start appendix undoable
10244 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10246 * lyxlength.C (inPixels): Fix returned value.
10248 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10251 2002-10-24 Angus Leeming <leeming@lyx.org>
10253 * lyxgluelength.h: no need to forward declare BufferParams
10254 or BufferView, so don't.
10256 2002-10-21 John Levon <levon@movementarian.org>
10258 * BufferView.C: menuUndo ->undo, redo
10260 * BufferView.h: document, remove dead, make some methods private
10262 * paragraph_funcs.h:
10263 * paragraph_funcs.C:
10264 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10269 * sgml.C: move sgml open/close tag into sgml.C
10271 * bufferview_funcs.h: unused prototype
10274 * lyxfunc.C: remove unused
10277 * text.C: remove unused
10279 2002-10-21 John Levon <levon@movementarian.org>
10283 * BufferView_pimpl.h:
10284 * BufferView_pimpl.C: fix mouse wheel handling based on
10285 patch from Darren Freeman
10287 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10289 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10291 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10293 * lyxlength.C (inPixels): Fix hanfling of negative length.
10294 Fix LyXLength::MU case.
10296 2002-10-16 John Levon <levon@movementarian.org>
10298 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10300 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10302 * converter.C (view): add support for $$i (file name) and $$p
10303 (file path) for the viewer command. If $$i is not specified, then
10304 it is appended to the command (for compatibility with old syntax)
10306 2002-10-14 Juergen Vigna <jug@sad.it>
10308 * undo_funcs.C (textHandleUndo): alter the order in which the
10309 new undopar is added to the LyXText, as we have to set first
10310 the right prev/next and then add it as otherwise the rebuild of
10311 LyXText is not correct. Also reset the cursor to the right paragraph,
10312 with this IMO we could remove the hack in "redoParagraphs()".
10314 2002-10-09 Angus Leeming <leeming@lyx.org>
10316 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10317 to turn off an optimisation if a new inset is to be inserted.
10319 2002-10-11 André Pönitz <poenitz@gmx.net>
10321 * lyxtext.h: make some functions public to allow access
10322 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10324 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10326 * text3.C (dispatch): when changing layout, avoid an infinite loop
10329 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10331 * lyxrc.C (read): treat a viewer or converter command of "none" as
10334 * MenuBackend.C (expandFormats): for an update, also allow the
10335 formats that are not viewable
10337 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10338 script if it is newer than the lyxrc.defaults in user directory
10340 2002-10-07 André Pönitz <poenitz@gmx.net>
10342 * text.C: Vitaly Lipatov's small i18n fix
10344 2002-09-25 Angus Leeming <leeming@lyx.org>
10346 * ispell.h: doxygen fix.
10348 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10350 * buffer.h (readFile): Add a new argument to the method, to allow
10351 reading of old-format templates.
10353 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10355 * toc.C (getTocList): Get TOC from InsetWrap.
10357 2002-09-16 John Levon <levon@movementarian.org>
10359 * lyxfunc.C: check tabular for cut/copy too
10361 2002-09-12 John Levon <levon@movementarian.org>
10363 * LyXAction.C: tidy
10366 * factory.C: add header
10368 * paragraph_funcs.h:
10369 * paragraph_funcs.C: cleanup
10371 2002-09-11 John Levon <levon@movementarian.org>
10373 * PrinterParams.h: odd/even default to true
10375 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10377 * PrinterParams.h: update printer parameters for new xforms dialog
10379 2002-09-11 Angus Leeming <leeming@lyx.org>
10381 * lyxserver.C (read_ready): re-write to make it more transparent
10382 and to make it work in coherent fashion under Tru64 Unix.
10384 2002-09-11 André Pönitz <poenitz@gmx.net>
10388 * text3.C: implement LFUN_WORDSEL
10390 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10392 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10393 make floatlist_ a boost::shared_ptr<FloatList>
10395 * lyxtextclass.C: include FloatList.h
10396 (LyXTextClass): initialize floatlist_
10397 (TextClassTags): add TC_NOFLOAT
10398 (Read): match "nofloat" to TC_NOFLOAT and use it.
10399 (readFloat): modify call to floatlist_
10403 * FloatList.[Ch] (FloatList): remove commented out float
10405 (erase): new function
10407 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10409 * MenuBackend.C (expandToc): fix crash when there is no document
10412 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10414 * many files: Add insetwrap.
10416 2002-09-09 John Levon <levon@movementarian.org>
10418 * text2.C: remove confusing and awkward depth wraparound
10420 2002-09-09 John Levon <levon@movementarian.org>
10422 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10425 * buffer.C: remove getIncludeonlyList()
10428 * lyxfunc.C: remove headers
10430 2002-09-09 Juergen Vigna <jug@sad.it>
10432 * text.C (getColumnNearX): fix form Michael this is most
10433 probably a cut&paste bug.
10435 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10437 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10439 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10440 references, ws changes.
10442 * text2.C (init): update counters after init
10443 (insertParagraph): no need to set counter on idividual paragraphs.
10444 (setCounter): access the counters object in the textclass object
10445 on in the buffer object.
10446 (updateCounters): ditto
10448 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10449 shared_ptr<Counters> to avoid loading counters.h in all
10451 (LyXTextClass): initialize ctrs_
10452 (TextClassTags): add TC_COUNTER, and ...
10453 (Read): use it here.
10454 (CounterTags): new tags
10455 (readCounter): new function
10456 (counters): new funtion
10457 (defaultLayoutName): return a const reference
10459 * counters.C (Counters): remove contructor
10460 (newCounter): remove a couple of unneeded statements.
10461 (newCounter): simplify a bit.
10462 (numberLabel): some small formatting changes.
10464 * buffer.[Ch]: remove all traces of counters, move the Counters
10465 object to the LyXTextClass.
10467 2002-09-06 Alain Castera <castera@in2p3.fr>
10469 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10470 package to set the horizontal alignment on fixed width columns.
10473 * lyx_sty.h: added tabularnewline macro def.
10475 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10477 2002-09-06 John Levon <levon@movementarian.org>
10479 * LyXAction.C: tooltips for sub/superscript
10481 * MenuBackend.C: a bit more verbose
10483 * lyxfunc.C: tiny clean
10485 * undo_funcs.C: document undo_frozen
10487 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10489 * counters.C (Counters): add missing algorithm counter.
10491 * text2.C (setCounter): lookup the counter with layouts latexname
10492 instead of by section number.
10493 (setCounter): use a hackish way to lookup the correct enum
10495 a float name->type change
10496 reset enum couners with counter name directly instead of depth value.
10498 * counters.C (Counters): remove the push_backs, change to use the
10499 float type not the float name.
10500 (labelItem): remove unused string, float name->type change
10502 * counters.h: don't include vector, loose the enums and sects vectors
10504 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10506 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10507 (Read): add float->TC_FLOAT to textclassTags
10508 (Read): and handle it in the switch
10509 (readFloat): new function
10511 * FloatList.C (FloatList): comment out the hardcoded float
10514 * lyxlayout.h: ws change.
10516 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10518 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10520 2002-09-03 Angus Leeming <leeming@lyx.org>
10522 * BufferView_pimpl.h: qualified name is not allowed in member
10523 declaration: WorkArea & Pimpl::workarea() const;
10525 * factory.C: added using std::endl directive.
10527 * text3.C: added using std::find and std::vector directives.
10529 2002-08-29 André Pönitz <poenitz@gmx.net>
10532 * text2.C: remove unused member number_of_rows
10535 * BufferView2.C: remove file, move contents to...
10536 * BufferView.C: ... here
10538 * BufferView_pimpl.C:
10539 * factory.C: move more inset creation to factory
10541 * vspace.C: avoid direct usage of LyXText, ws changes
10544 don't provide direct access to WorkArea, use two simple
10545 acessors haveSelction() and workHeight() instead
10548 2002-08-29 John Levon <levon@movementarian.org>
10550 * BufferView_pimpl.C (dispatch): do not continue when
10553 2002-08-28 André Pönitz <poenitz@gmx.net>
10555 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10558 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10560 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10562 * buffer.C: increment LYX_FORMAT to 221
10564 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10565 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10567 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10569 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10571 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10573 * factory.C (createInset): use LyXTextClass::floats
10575 * MenuBackend.C (expandFloatListInsert):
10576 (expandFloatInsert):
10579 * text2.C (setCounter):
10581 * LaTeXFeatures.C (useFloat):
10582 (getFloatDefinitions):
10584 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10586 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10587 floatlist_, with accessor floats().
10589 * FloatList.h: remove global FloatList
10591 2002-08-26 André Pönitz <poenitz@gmx.net>
10593 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10597 * BufferView_pimpl.C:
10598 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10600 2002-08-25 John Levon <levon@movementarian.org>
10602 * LyXAction.C: fix margin note description
10604 2002-08-24 John Levon <levon@movementarian.org>
10608 * bufferview_funcs.C:
10610 * undo_funcs.C: cleanups
10612 * lyxfunc.C: disable CUT/COPY when no selection
10614 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10616 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10617 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10619 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10620 Add backward compatibility to "mono", "gray" and "no".
10622 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10624 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10625 (and file_format >= 200).
10627 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10629 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10631 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10633 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10635 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10637 * BufferView_pimpl.C:
10644 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10645 inset and code to make it work with the paragraph code. The inset
10646 can be anywhere in the paragraph, but will only do the expected
10647 thing in LaTeX if the layout file contains the parameter line
10649 (or more generally, a nonzero value) for that layout.
10651 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10653 * paragraph.h: remove the declaration of undefined counters class
10656 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10658 * text2.C (setCounter): fixed enumeration mis-count as reported by
10659 Dr. Richard Hawkins.
10661 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10663 * paragraph_funcs.h: remove some unneeded includes
10665 * text.C (backspace): pasteParagraph now in global scipe
10667 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10668 (pasteSelection): ditto
10670 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10671 * paragraph_funcs.C (pasteParagraph): ... here
10673 2002-08-20 André Pönitz <poenitz@gmx.net>
10675 * commandtags.h: new LFUNs for swapping/copying table row/colums
10678 * lyxfunc.C: support for new lfuns
10680 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10683 * buffer.[Ch]: remove NO_COMPABILITY stuff
10685 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10687 * boost.C (throw_exception): new file, with helper function for
10688 boost compiled without exceptions.
10693 * ParameterStruct.h:
10694 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10696 * bufferlist.C (emergencyWriteAll): use boost bind
10698 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10700 * text.C: include paragraph_funcs.h
10701 (breakParagraph): breakParagraph is now in global scope
10703 * paragraph_funcs.[Ch]: new files
10705 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10708 * buffer.C: include paragraph_funcs.h
10709 (insertStringAsLines): breakParagraph is now in global scope
10711 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10714 * CutAndPaste.C: include paragraph_funcs.h
10715 (cutSelection): breakParagraphConservative is now in global scope
10716 (pasteSelection): ditto
10718 * buffer.h: declare oprator== and operator!= for
10719 Buffer::inset_iterator
10721 * bufferlist.C (emergencyWrite): don't use fmt(...)
10723 * text3.C: add using std::endl
10725 * BufferView.C (moveCursorUpdate): remove default arg
10727 2002-08-20 André Pönitz <poenitz@gmx.net>
10729 * buffer.[Ch]: move inline functions to .C
10732 * BufferView_pimpl.C:
10734 * buffer.[Ch]: use improved inset_iterator
10737 * paragraph.[Ch]: write one paragraph at a time
10739 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10741 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10742 style if style is not specified.
10744 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10746 * text2.C (setCounter): when searching for right label for a
10747 caption, make sure to recurse to parent insets (so that a caption
10748 in a minipage in a figure float works) (bug #568)
10750 2002-08-20 André Pönitz <poenitz@gmx.net>
10752 * text3.C: new file for LyXText::dispatch() and helpers
10754 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10756 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10758 2002-08-19 André Pönitz <poenitz@gmx.net>
10761 * text.C: new LyXText::dispatch()
10763 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10765 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10767 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10769 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10772 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10774 * Makefile.am: use $(variables) instead of @substitutions@
10776 2002-08-15 André Pönitz <poenitz@gmx.net>
10779 * BufferView_pimpl.C: streamlining mathed <-> outer world
10783 * LyXAction.C: remove unused LFUN_MATH
10785 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10787 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10789 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10791 * paragraph.C (Paragraph): reformat a bit
10792 (cutIntoMinibuffer): use builtin InsetList function instad of
10796 * buffer.C: include boost/bind.hpp, add using std::for_each
10797 (writeFileAscii): use ParagraphList iterators
10798 (validate): use for_each for validate traversal of paragraphs
10799 (getBibkeyList): use ParagraphList iterators
10800 (resizeInsets): use for_each to resizeInsetsLyXText for all
10802 (getParFromID): use ParagraphList iterators
10804 * BufferView2.C (lockInset): use paragraph list and iterators
10806 2002-08-14 John Levon <levon@movementarian.org>
10808 * lyxserver.C: remove spurious xforms include
10810 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10812 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10814 2002-08-13 André Pönitz <poenitz@gmx.net>
10817 * lyxfunc.C: further cleaning
10819 2002-08-13 André Pönitz <poenitz@gmx.net>
10821 * funcrequest.h: new constructor
10823 * funcrequest.C: move stuff here from .h
10826 * BufferView_pimpl.C:
10829 * lyxfunc.C: subsequent changes
10831 * lyxfunc.h: new view() member function
10833 * lyxfunc.C: subsequent changes
10835 2002-08-13 Angus Leeming <leeming@lyx.org>
10838 * BufferView_pimpl.C:
10846 changes due to the changed LyXView interface that now returns references
10847 to member variables not pointers.
10849 2002-08-13 Angus Leeming <leeming@lyx.org>
10851 * WordLangTuple (word, lang_code): return references to strings,
10856 * lyxtext.h: forward-declare WordLangTuple.
10861 * text.C: #include "WordLangTuple.h".
10864 * text.C: (selectNextWordToSpellcheck): constify return type.
10866 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10872 * paragraph_pimpl.h:
10875 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10876 suggested by Angus.
10877 Made updateCounter always count from start of buffer, and removed
10878 second argument (par).
10879 Reverted floats number display to '#'. Perhaps I'll try again when the
10880 code base is sanitized a bit.
10882 2002-08-12 Angus Leeming <leeming@lyx.org>
10884 * buffer.[Ch] (getLabelList): constify.
10886 2002-08-07 André Pönitz <poenitz@gmx.net>
10888 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10890 * funcrequest.h: extension to keep mouse (x,y) position
10892 2002-08-12 Juergen Vigna <jug@sad.it>
10894 * BufferView2.C (insertErrors): forbid undo when inserting error
10897 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10899 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10901 * ParagraphList.[Ch]: new files
10903 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10905 * BufferView2.C (lockInset): ParagraphList changes
10908 * bufferlist.C: ditto
10912 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10914 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10915 unused class variable counter_,
10917 * paragraph.[Ch] (getFirstCounter): delete unused function
10919 * counters.C: include LAssert.h
10920 (reset): add a new function with no arg, change other version to
10921 not have def. arg and to not allow empty arg.
10923 * text2.C (setCounter): remove empty arg from call to Counters::reset
10925 2002-08-11 John Levon <levon@movementarian.org>
10927 * Makefile.am: add WordLangTuple.h
10929 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10931 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10932 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10934 * insets/insettext.C: InsetList changes
10936 * graphics/GraphicsSupport.C (operator()): InsetList changes
10938 * toc.C (getTocList): InsetList changes
10940 * paragraph_pimpl.[Ch]: InsetList changes
10942 * paragraph.[Ch]: InsetList changes
10944 * buffer.C (inset_iterator): InsetList changes
10945 (setParagraph): ditto
10946 * buffer.h (inset_iterator): ditto
10947 * iterators.C (operator++): ditto
10948 * iterators.h: ditto
10950 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10952 * InsetList.[Ch]: new files, most InsetList handling moved out of
10955 * BufferView2.C (removeAutoInsets): InsetList changes
10957 (ChangeInsets): ditto
10959 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10961 * paragraph_pimpl.h (empty): new function
10963 * paragraph.[Ch] (empty): new function
10965 * other files: use the new Paragraph::empty function
10967 2002-08-09 John Levon <levon@movementarian.org>
10969 * lyxtext.h: remove unused refresh_height
10971 2002-08-09 John Levon <levon@movementarian.org>
10978 * paragraph.C: move sgml char escaping out of paragraph
10981 * paragraph.C: remove id setter
10985 * paragraph_pimpl.C: remove dead tex_code_break_column
10987 * bufferview_funcs.C: small cleanup
10989 * lyxfunc.C: remove dead proto
10991 * lyxtext.h: make some stuff private. Remove some dead stuff.
10993 * lyxgluelength.C: make as[LyX]String() readable
10995 2002-08-08 John Levon <levon@movementarian.org>
11000 * ToolbarDefaults.C:
11003 * toc.C: lyxaction cleanup
11005 2002-08-08 John Levon <levon@movementarian.org>
11007 * BufferView2.C: small cleanup
11010 * lyxfind.C: move unnecessary header into the .C
11012 2002-08-08 John Levon <levon@movementarian.org>
11014 * funcrequest.h: just tedious nonsense
11017 * lyx_main.C: cleanups
11020 * vspace.C: remove dead header lyx_main.h
11022 2002-08-07 Angus Leeming <leeming@lyx.org>
11025 * paragraph_pimpl.h:
11026 Forward declare class Counters in paragraph.h by moving the ctrs member
11027 variable into Paragraph::Pimpl.
11028 (counters): new method, returning a reference to pimpl_->ctrs.
11030 * text2.C: ensuing changes.
11032 2002-08-07 John Levon <levon@movementarian.org>
11034 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11036 * BufferView_pimpl.C: announce X selection on double/triple
11039 * lyx_main.C: use correct bool in batch dispatch
11041 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11043 2002-08-07 André Pönitz <poenitz@gmx.net>
11045 * funcrequest.h: new class to wrap a kb_action and its argument
11048 * BufferView_pimpl[Ch]:
11052 * lyxrc.C: subsequent changes
11055 2002-08-07 John Levon <levon@movementarian.org>
11057 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11058 document options change.
11060 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11065 * makefile.am: move counters functionality over from
11066 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11068 2002-08-06 John Levon <levon@movementarian.org>
11070 * WordLangTuple.h: new file for word + language code tuple
11081 * BufferView2.C: use WordLangTuple
11084 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11086 2002-08-06 John Levon <levon@movementarian.org>
11088 * lyx_main.C: fix cmdline batch handling
11090 2002-08-06 André Pönitz <poenitz@gmx.net>
11092 * lyxrc.C: set default for show_banner to true
11094 2002-08-06 John Levon <levon@movementarian.org>
11096 * pspell.C: fix a crash, and allow new aspell to work
11098 2002-08-06 John Levon <levon@movementarian.org>
11101 * kbmap.C: small cleanup
11104 * vspace.C: add const
11106 2002-08-05 John Levon <levon@movementarian.org>
11108 * LyXAction.C: back to tabular-insert
11110 2002-08-04 John Levon <levon@movementarian.org>
11113 * BufferView.C: cosmetic change
11115 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11125 * BufferView2.C: purge all "Lyx" not "LyX" strings
11128 * lyxcursor.C: attempt to add some documentation
11133 * ToolbarDefaults.C:
11134 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11135 merge with LFUN_TABULAR_INSERT
11142 * pspell.C: split up i/pspell implementations into separate
11143 files, many cleanups
11145 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11147 * text2.C: some cleanup
11149 * lyxfunc.C: don't check for isp_command == "none" any more, it
11150 didn't make any sense
11152 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11157 * makefile.am: move counters functionality over
11158 from text2.C/paragraph.[Ch] to counters.[Ch], and
11160 2002-08-02 John Levon <levon@movementarian.org>
11162 * buffer.C: s/lyxconvert/lyx2lyx/
11164 2002-08-02 Angus Leeming <leeming@lyx.org>
11166 * lyxlex.C: revert John's change as it breaks reading of the user
11169 2002-08-02 Angus Leeming <leeming@lyx.org>
11171 * importer.C (Import):
11172 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11173 changes due to LyXView::view() now returning a boost::shared_ptr.
11175 2002-08-02 John Levon <levon@movementarian.org>
11177 * lyxlex.C: small cleanup
11179 2002-08-02 John Levon <levon@movementarian.org>
11181 * text2.C (status): small cleanup, no logic change
11183 2002-08-01 John Levon <levon@movementarian.org>
11186 * buffer.C (writeFile): don't output alerts, caller
11190 * lyx_cb.C: from above
11192 * lyxfunc.C: allow to open non-existent files
11194 2002-07-31 John Levon <levon@movementarian.org>
11196 * lyxserver.C: don't let incidental errors get
11199 2002-07-30 John Levon <levon@movementarian.org>
11201 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11203 2002-07-30 John Levon <levon@movementarian.org>
11206 * lyxserver.C: remove I/O callback too
11208 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11210 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11213 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11215 * many files: strip,frontStrip -> trim,ltrim,rtrim
11217 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11219 * PrinterParams.h: remove extern containsOnly, and include
11220 support/lstrings.h instead.
11222 * LaTeX.C (scanAuxFile): modify because of strip changes
11224 * buffer.C (makeLaTeXFile): ditto
11225 * bufferparams.C (writeFile): ditt
11226 * lyxfont.C (stateText): ditto
11227 * lyxserver.C (read_ready): ditto
11228 * vc-backend.C (scanMaster): ditto
11230 * BufferView_pimpl.h: ws changes
11232 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11234 2002-07-26 André Pönitz <poenitz@gmx.net>
11236 * kb_sequence.C: remove unnedred usings
11238 2002-07-26 Juergen Vigna <jug@sad.it>
11240 * lyxfind.C (LyXReplace): we have to check better if the returned
11241 text is not of theLockingInset()->getLockingInset().
11243 2002-07-25 Juergen Vigna <jug@sad.it>
11245 * lyxfind.C (LyXReplace): don't replace if we don't get the
11248 * undo_funcs.C (createUndo): remove debugging code.
11250 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11252 * buffer.C (parseSingleLyXformat2Token): Use default placement
11253 when reading old floats.
11255 * FloatList.C (FloatList): Change the default placement of figure
11256 and tables to "tbp".
11258 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11260 * MenuBackend.C: using std::max
11262 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11264 * MenuBackend.C (expandToc):
11265 (expandToc2): code moved from xforms menu frontend. It is now
11266 generic and TOCs are transparent to menu frontends.
11268 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11270 * toc.C (getTocList): protect against buf=0
11272 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11273 Menu as first parameter. Now, this calls itself recursively to
11274 expand a whole tree (this will be useful for TOC handling)
11275 (expandFloatInsert): remove 'wide' version of floats
11277 * MenuBackend.h (submenuname): returns the name of the submenu.
11278 (submenu): returns the submenu itself, provided it has been
11279 created by MenuBackend::expand
11281 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11283 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11284 insets which have noFontChange == true. (bug #172)
11286 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11288 * BufferView_pimpl.C: add connection objects and use them...
11291 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11293 * MenuBackend.C (expandLastfiles):
11296 (expandFloatListInsert):
11297 (expandFloatInsert):
11298 (expand): split expand in parts
11300 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11302 * lyx_gui.C: use lyx_gui::exit()
11304 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11306 * LyXAction.C: show the failing pseudo action
11308 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11310 * buffer.C (readFile): Run the lyxconvert script in order to read
11313 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11317 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11319 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11323 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11325 2002-07-22 Herbert Voss <voss@lyx.org>
11328 * lyxlength.[Ch]: add support for the vertical lengths
11330 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11332 * toc.[Ch]: std:: fixes
11334 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11336 * lyxrc.C: do not include lyx_main.h
11338 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11344 * BufferView2.C: include "lyxlex.h"
11347 * bufferparams.h: do not #include "lyxlex.h"
11349 * lyxtextclasslist.C (Add): remove method
11350 (classlist): renamed to classlist_
11352 * paragraph_pimpl.C:
11356 * bufferview_funcs.C:
11361 * toc.C (getTocList): use BufferParams::getLyXTextClass
11363 * toc.C (getTocList): use InsetFloat::addToToc
11365 * toc.[Ch]: new files, containing helper functions to handle table
11368 * lyxfunc.C (dispatch): no need to remove spaces around command
11370 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11371 first command of the sequence; it is not very clever, but I do not
11372 have a better idea, actually
11374 * LyXAction.C (LookupFunc): make sure to remove space at the
11375 beginning and end of the command
11377 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11379 * MenuBackend.C (getMenubar): new method: return the menubar of
11381 (read): treat differently reading of menu and menubar (in
11382 particular, the menubar has no name now)
11383 (Menu::menubar): remove
11385 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11388 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11390 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11391 a bibitem inset in a RTL paragraph.
11393 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11395 * paragraph_pimpl.C: constify
11397 * BufferView_pimpl.C:
11399 * lyxfunc.C: fix dispatch in a nicer way
11401 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11403 * lyxfunc.C (dispatch):
11404 * BufferView_pimpl.C:
11405 * BufferView_pimpl.h:
11407 * BufferView.h: rename Dispatch() to dispatch()
11409 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11411 * lyxlayout.C (Read): honor DependsOn tag
11413 * lyxlayout.[Ch] (depends_on): new method
11415 * version.C.in: update lyx_docversion
11417 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11419 * paragraph.C (validate): remove from here...
11420 * paragraph_pimpl.C (validate): ... and move here
11421 (isTextAt): make it const
11423 * buffer.C (getLists): ws cleanup
11425 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11427 * language.C (read): Use iso8859-1 encoding in latex_lang
11428 (this prevents LyX from crashing when using iso10646-1 encoding).
11430 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11432 * text2.C (toggleInset): if cursor is inside an inset, close the
11433 inset and leave cursor _after_ it
11435 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11437 * lyxfunc.C: move minibuffer completion handling out of here
11439 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11441 * BufferView_pimpl.C:
11442 * LaTeX.C: fix dispatch calls
11444 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11446 * text.C (drawChars): Fix Arabic text rendering.
11448 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11452 * lyxfunc.C: remove message-push/pop
11456 * lyxfunc.C: rationalise some code by removing verboseDispatch
11457 in favour of a bool argument to dispatch()
11459 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11461 * lyx_main.C (init): make sure to read symlinks as absolute paths
11463 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11466 * lyxfunc.C: no need for commandshortcut to be a member
11468 2002-07-15 André Pönitz <poenitz@gmx.net>
11470 * converter.C: add support for $$s (scripts from lib/scripts dir)
11471 * lyx_main.C: white space
11473 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11477 * lyxrc.C: remove second exit confirmation
11479 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11484 * BufferView_pimpl.h:
11485 * BufferView_pimpl.C:
11486 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11488 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11490 * MenuBackend.C (expand): add numeric shortcuts to document menu
11492 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11494 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11496 * lyxfont.C (setLyXFamily):
11503 * buffer.C (asciiParagraph): use ascii_lowercase
11505 2002-07-15 Mike Fabian <mfabian@suse.de>
11507 * lyxlex_pimpl.C (search_kw):
11508 * lyxlex.C (getLongString):
11509 * converter.h (operator<):
11510 * converter.C (operator<):
11511 * buffer.C (parseSingleLyXformat2Token):
11513 * ToolbarDefaults.C (read):
11514 * MenuBackend.C (checkShortcuts):
11516 * LColor.C (getFromGUIName):
11517 (getFromLyXName): use the compare_ascii_no_case instead of
11518 compare_no_case, because in turkish, 'i' is not the lowercase
11519 version of 'I', and thus turkish locale breaks parsing of tags.
11521 2002-07-16 Angus Leeming <leeming@lyx.org>
11523 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11524 now takes a Buffer const & argument.
11526 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11528 * BufferView.C (resize): check there's a buffer to resize
11530 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11532 * lyxfunc.C: remove dead code
11535 * lyxserver.C: use lyx_guii::set_read_callback
11537 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11539 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11540 an inset in a RTL paragraph.
11542 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11544 * lyxfunc.C: repaint after a font size update
11546 2002-07-15 André Pönitz <poenitz@gmx.net>
11548 * lyxlength.C: inBP should be able to return negative values
11550 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11552 * lyxfunc.C: use lyx_gui::update_fonts()
11554 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11556 * lyxfunc.C: use lyx_gui::update_color()
11558 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11564 * lyxrc.C: remove file->new asks for name option, and let
11565 buffer-new take an argument
11567 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11569 * BufferView_pimpl.C: remove unneeded extra repaint()
11571 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11573 * LyXAction.C: allow command-sequence with NoBuffer
11575 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11577 2002-07-10 Angus Leeming <leeming@lyx.org>
11579 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11581 2002-07-09 Angus Leeming <leeming@lyx.org>
11583 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11585 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11587 * lengthcommon.h: whitespace
11589 * lyxfunc.C: update scrollbar after goto paragraph
11591 * lyxtext.h: factor out page break drawing, and fix it so
11592 page break/added space paints as selected nicely
11594 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11596 * BufferView_pimpl.C: add FIXMEs, clean up a little
11598 2002-07-09 André Pönitz <poenitz@gmx.net>
11600 * lyxfont.[Ch]: support for wasy symbols
11602 2002-07-08 André Pönitz <poenitz@gmx.net>
11604 * BufferView_pimpl.C: apply John's patch for #93.
11606 2002-07-05 Angus Leeming <leeming@lyx.org>
11608 * BufferView_pimpl.C (buffer): generate previews if desired.
11610 * LColor.h: add "preview" to the color enum.
11612 * LColor.C (LColor): add a corresponding entry to the items array.
11614 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11617 2002-07-05 Angus Leeming <leeming@lyx.org>
11619 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11620 The body of the code is now in the method that is passed an ostream &
11621 rather than a file name.
11622 Pass an additional only_preamble parameter, useful for the forthcoming
11625 2002-07-03 André Pönitz <poenitz@gmx.net>
11627 * lyxfunc.C: simplify getStatus() a bit for math stuff
11629 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11631 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11633 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11635 * text.C (changeRegionCase): do not change case of all the
11636 document when region ends at paragraph end (bug #461)
11638 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11640 * paragraph.C (startTeXParParams):
11641 (endTeXParParams): add \protect when necessary
11643 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11645 * BufferView_pimpl.C (workAreaExpose): remove warning
11647 2002-06-27 Angus Leeming <leeming@lyx.org>
11649 * Makefile.am: add lyxlayout_ptr_fwd.h.
11651 2002-06-26 André Pönitz <poenitz@gmx.net>
11653 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11655 2002-06-25 Angus Leeming <leeming@lyx.org>
11657 * lyxfunc.C (dispatch): Comment out the call to
11658 grfx::GCache::changeDisplay. The method no longer exists now that the
11659 pixmap generation part of the graphics loader has been moved into
11662 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11664 * text2.C: layout as layout
11666 * text.C: layout as layout
11668 * tabular.C (OldFormatRead): layout as layout
11670 * paragraph_pimpl.C (TeXDeeper): layout as layout
11671 (realizeFont): layout as layout
11673 * paragraph.C (writeFile): layout as layout
11674 (validate): layout as layout
11675 (getFont): layout as layout
11676 (getLabelFont): layout as layout
11677 (getLayoutFont): layout as layout
11678 (breakParagraph): layout as layout
11679 (stripLeadingSpaces): layout as layout
11680 (getEndLabel): layout as layout
11681 (getMaxDepthAfter): layout as layout
11682 (applyLayout): layout as layout
11683 (TeXOnePar): layout as layout
11684 (simpleTeXOnePar): layout as layout
11685 (TeXEnvironment): layout as layout
11686 (layout): layout as layout
11687 (layout): layout as layout
11689 * lyxtextclass.C (compare_name): new functor to work with
11690 shared_ptr, layout as layout
11691 (Read): layout as layout
11692 (hasLayout): layout as layout
11693 (operator): layout as layout
11694 (delete_layout): layout as layout
11695 (defaultLayout): layout as layout
11697 * lyxlayout_ptr_fwd.h: new file
11699 * lyxlayout.C (Read): layout as layout
11701 * lyx_cb.C (MenuInsertLabel): layout as layout
11703 * bufferlist.C (newFile): layout as layout
11705 * buffer.C (readLyXformat2): layout as layout
11706 (parseSingleLyXformat2Token): layout as layout
11707 (insertStringAsLines): layout as layout
11708 (asciiParagraph): layout as layout
11709 (latexParagraphs): layout as layout
11710 (makeLinuxDocFile): layout as layout
11711 (simpleLinuxDocOnePar): layout as layout
11712 (makeDocBookFile): layout as layout
11713 (simpleDocBookOnePar): layout as layout
11714 (getLists): layout as layout
11716 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11718 * CutAndPaste.C (cutSelection): layout as layout
11719 (pasteSelection): layout as layout
11720 (SwitchLayoutsBetweenClasses): layout as layout
11722 * BufferView_pimpl.C (Dispatch): layout as layout
11723 (smartQuote): layout as layout
11725 * BufferView2.C (unlockInset): layout as layout
11727 2002-06-24 André Pönitz <poenitz@gmx.net>
11729 * lyxfunc.C: fix #487
11731 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11735 * lyxfunc.C: remove display_shortcuts, show_banner
11737 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11739 * Buffer_pimpl.C: oops, update on resize
11741 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11748 * BufferView.C: use repaint()
11750 * BufferView_pimpl.h:
11751 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11752 as it's a clearer description. Remove superfluous
11755 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11757 * text.C: fix bug 488. Not ideal, but getting
11758 getWord() to work properly for the insets that
11759 matter is more difficult ...
11761 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11763 * BufferView_pimpl.C:
11766 * lyxfunc.C: remove the six million index lyxfuncs to just
11767 one, and DTRT (bug 458)
11769 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11773 * BufferView_pimpl.h:
11774 * BufferView_pimpl.C: clean up resize() stuff,
11775 and unnecessary updateScreen()s
11777 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11781 * BufferView_pimpl.h:
11782 * BufferView_pimpl.C:
11785 * minibuffer.C: remove focus management of workarea,
11786 not needed. Use screen's greyOut()
11788 2002-06-17 Herbert Voss <voss@lyx.org>
11790 * converter.C: (convert) do not post a message, when converting
11791 fails, let the calling function decide what to do in this case
11793 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11795 * lyxfunc.C: tidy up a little
11797 2002-06-16 <alstrup@diku.dk>
11799 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11800 Got rid of FORMS_H_LOCATION include. Now we are
11803 2002-06-15 LyX Development team <lyx@rilke>
11805 * buffer.[Ch] (sgmlOpenTag):
11806 (sgmlCloseTag): Added support for avoiding pernicious mixed
11807 content. Return number of lines written.
11809 (makeLinuxDocFile):
11810 (makeDocBookFile): Fixed calls to sgml*Tag.
11811 Simple white space clean.
11813 (simpleDocBookOnePar): Simple white space clean.
11815 * tabular.[Ch] (docBook): Renamed to docbook and got another
11816 argument to related with the pernicious mixed content.
11818 (docbookRow): Fixed calls for docbook inset method.
11820 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11822 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11823 so it's X11 independent.
11827 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11829 2002-06-15 Lyx Development team <lyx@electronia>
11831 * intl.h: Renamed getTrans to getTransManager.
11833 2002-06-14 Angus Leeming <leeming@lyx.org>
11835 * Makefile.am: nuke forgotten stl_string_fwd.h.
11837 2002-06-12 Angus Leeming <leeming@lyx.org>
11839 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11841 2002-06-13 Angus Leeming <leeming@lyx.org>
11844 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11846 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11848 * kbmap.C (getiso): add support for cyrillic and greek
11850 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11854 * BufferView_pimpl.h:
11855 * BufferView_pimpl.C: move bogus scrolling logic
11858 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11861 * BufferView_pimpl.C: view->resize() change
11863 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11865 * BufferView_pimpl.C: topCursorVisible
11868 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11872 * lyx_gui.C: move to frontends/
11876 * lyx_main.C: changes from above
11878 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11885 * lyx_main.C: minor tidy
11887 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11889 * BufferView_pimpl.h:
11890 * BufferView_pimpl.C:
11892 * BufferView.C: make painter() const,
11895 * BufferView2.C: use screen() accessor
11898 * lyx_main.C: some minor cleanup
11900 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11902 * BufferView_pimpl.h:
11903 * BufferView_pimpl.C: remove enter/leaveView,
11906 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11911 * BufferView_pimpl.h:
11912 * BufferView_pimpl.C: only construct screen once,
11915 * lyxrc.C: remove pointless comment
11917 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11920 * BufferView.C: remove active() and belowMouse()
11922 * BufferView_pimpl.h:
11923 * BufferView_pimpl.C: use workarea() not workarea_,
11924 and make it use a scoped_ptr instead
11926 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11928 * lyx_gui.C: add debug message on BadWindow
11930 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11932 * sp_spell.C: fdopen is not part of the C++ standard.
11934 * paragraph.C (InsetIterator): use >= instead of ==
11936 2002-06-07 Angus Leeming <leeming@lyx.org>
11938 Fixes needed to compile with Compaq cxx 6.5.
11939 * BufferView_pimpl.C:
11946 * lyxtextclasslist.C:
11951 all c-library variables have been moved into namespace std. Wrap
11952 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11957 Add a using std::abs declaration.
11959 * kbmap.h (modifier_pair):
11960 * paragraph.h (InsetTable, InsetList):
11961 * lyxfont.h (FontBits):
11962 type definition made public.
11964 * bufferlist.C (emergencyWriteAll): the compiler complains that
11965 there is more than one possible lyx::class_fun template to choose from.
11966 I re-named the void specialisation as lyx::void_class_fun.
11968 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11970 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11971 the compiler is is unable to find tostr in write_attribute.
11973 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11975 * buffer.C (sgmlError): hide #warning
11977 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11979 * xtl/*: get rid of xtl, which is not in use anyway
11981 * LyXAction.C (init):
11982 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11983 were unimplemented xtl experimentation
11985 2002-06-04 André Pönitz <poenitz@gmx.net>
11987 * lyxfunc.C: disable array operation on simple formulae
11989 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11991 * converter.C: constify a bit
11993 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11995 * lyx_gui.C: check xforms version correctly
11997 2002-04-30 Herbert Voss <voss@lyx.org>
11999 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12002 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12004 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12005 attempt to register it with a VCS)
12007 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12009 * lyx_main.C (init): honor variables LYX_DIR_13x and
12012 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12016 * lyx_main.C: fix a crash on bad command line,
12017 and give a useful exit status on error
12019 * lyxfunc.C (doImport): allow -i lyx to work
12021 2002-03-30 André Pönitz <poenitz@gmx.net>
12023 * lyxfunc.C: mathed font changes
12025 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12040 * trans_mgr.h: srcdocs, and some minor cleanups
12042 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12044 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12045 call getFont all the time)
12047 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12049 * switch from SigC signals to boost::signals
12051 2002-05-29 André Pönitz <poenitz@gmx.net>
12053 * paragraph_pimpl.C (getChar): don't call size() too often...
12055 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12057 * paragraph_pimpl.C (insertChar): do not try to update tables when
12058 appending (pos == size())
12060 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12061 in order to reduce drastically the number of comparisons needed to
12062 parse a large document
12064 2002-05-29 André Pönitz <poenitz@gmx.net>
12070 * textclasslist.[Ch]:
12071 * sp_ispell.h: whitespace change
12073 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12075 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12076 lyxaction directly now.
12078 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12082 * lyxvc.C: remove unused headers
12084 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12091 * undo_funcs.C: some cleanups. Use shared_ptr
12092 and a template for the undo stacks.
12094 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12096 * BufferView_pimpl.h:
12097 * BufferView_pimpl.C:
12104 * text2.C: use key_state/mouse_state
12106 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12108 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12111 * chset.C: change include order
12112 (loadFile): use boost regex and get rid of LRegex and LSubstring
12114 * Makefile.am (BOOST_LIBS): new variable
12115 (lyx_LDADD): use it
12117 * LaTeX.C: change include order.
12118 (scanAuxFile): use boost regex and get rid of LRegex and
12122 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12127 * FontInfo.C: moved to frontends/xforms/
12130 * FontLoader.C: moved into frontends for GUIIzation
12135 * lyxfunc.C: changes from above
12137 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12139 * LColor.C: remove spurious X include
12141 * BufferView_pimpl.C:
12146 * text2.C: move font metrics to frontends/
12148 2002-05-24 Juergen Vigna <jug@sad.it>
12150 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12151 setting the undo_cursor.
12153 * ParagraphParameters.h: include local includes first.
12155 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12157 * BufferView_pimpl.C:
12158 * BufferView_pimpl.h:
12162 * screen.C: move WorkArea into frontends/
12168 * BufferView2.C: move LyXScreen into frontends/
12172 * lyx_gui.C: move lyxlookup into frontends/xforms/
12174 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12177 * BufferView_pimpl.C:
12187 * bufferview_funcs.C:
12200 * vc-backend.C: move LyX/XFormsView into frontends/
12202 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12214 * text2.C: move Painter to frontends/
12216 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12218 * buffer.C: comment out some some code that depend upon lyx_format
12221 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12222 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12224 * buffer.h (NO_COMPABILITY): turn off compability
12226 * ColorHandler.C: include scoped_array.hpp
12228 * font.C: Use more specific smart_ptr header.
12231 * ShareContainer.h: ditto
12232 * lyx_main.h: ditto
12234 * FontInfo.h: ditto
12235 * BufferView_pimpl.h: ditto
12236 * ColorHandler.h: ditto
12238 * kbmap.C (defkey): change call to shared_ptr::reset
12240 2002-05-21 Juergen Vigna <jug@sad.it>
12242 * buffer.C (insertErtContents): fix to insert ert asis if it is
12243 non empty. Skip it completely if it contains only whitespaces.
12245 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12247 * BufferView_pimpl.C:
12248 * BufferView2.C: clear selection on paste (bug 393)
12250 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12252 * DepTable.C: include ctime
12254 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12256 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12258 2002-05-14 Juergen Vigna <jug@sad.it>
12260 * text.C (breakParagraph): fixed function to honor the keepempty
12261 layout in the right maner and also to permit the right breaking
12262 algorithm on empty or non empyt keepempty paragraphs.
12264 * paragraph.C (breakParagraph): we have to check also if the par
12265 is really empty (!size()) for isempty otherwise we do the wrong
12268 2002-05-10 Juergen Vigna <jug@sad.it>
12270 * buffer.[Ch] : The following are only changes to the ert
12271 compatibility read reading old LaTeX layout and font stuff and
12272 convert it to ERTInsets.
12274 * buffer.h: added isErtInset().
12276 * buffer.C (struct ErtComp): add a fromlayout bool to check
12277 if we're inside a LaTeX layout.
12278 (isErtInset): new helper function.
12279 (insertErtContents): look for other ert insets before this one
12280 and insert the contents there, so that we don't have subsequent
12281 ERT insets with nothing between them. This way we create only one
12282 inset with multiple paragraphs. Also check if we don't insert only
12283 spaces ' ' as they are ignored anyway afterwards in the .tex file
12284 so if we have only spaces we will ignore this latex part in the
12286 (parseSingleLyXformat2Token \\layout): better compatibility when
12287 reading layout-latex stuff.
12288 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12290 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12291 stuff after reading the inset only get the information back from
12294 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12296 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12298 * LaTeXFeatures.C (getBabelOptions): New method.
12300 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12302 * BufferView_pimpl.C (Dispatch): work around missing argument for
12305 2002-05-08 Juergen Vigna <jug@sad.it>
12307 * text.C (leftMargin): handle paragraph leftindent.
12309 * paragraph.C (writeFile): write the new \\leftindent tag.
12310 (validate): handle leftindent code.
12311 (TeXEnvironment): handle paragraphleftindent code again.
12313 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12315 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12316 for paragrap_extra indent code and new token \\leftindent.
12317 (latexParagraphs): handle the leftindent as environment.
12319 * ParameterStruct.h: added leftindent support.
12321 * ParagraphParameters.C (leftIndent): added support functions for
12322 the paragraph left indent.
12324 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12327 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12329 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12332 * text.C (computeBidiTables): No bidi in insetERT.
12334 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12337 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12339 * version.C.in: pre 5
12341 2002-05-02 José Matos <jamatos@fep.up.pt>
12342 * buffer.C (makeDocBookFile): white space changes, add newline to
12344 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12346 * tabular.C (docBook): fix typo.
12348 2002-05-03 Juergen Vigna <jug@sad.it>
12350 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12351 change in LyXText as we can not be sure it was not freed.
12352 (drawOneRow): remove unused code.
12354 * text.C (drawInset): redo the calculation of the need_break_row as
12355 it could have a row which was already freed.
12356 (draw): look at the return value of drawInset and return false if
12357 it also returned false.
12358 (paintRowText): look at the return value of draw and return false if
12359 it also returned false.
12361 * lyxtext.h: added bool return type to drawInset() and draw() so that
12362 if we have a change in the row so that the rowbreak has to be redone
12363 we abort drawing as it will be called again.
12365 2002-05-02 Juergen Vigna <jug@sad.it>
12367 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12368 a change in the maintext also if we're inside an inset.
12369 (Dispatch): set the cursor again after a break line and after the
12370 screen has been updated as it could be we're in a different row.
12372 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12373 to set the cursor behind the pargraph with > size().
12374 (setCursor): check also for the same paragraph when checking where
12375 to put the cursor if we have a NFR inset.
12377 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12378 parts of layout read further up as it still was in the wrong
12381 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12383 * screen.C (drawFromTo): change sine fullRebreak always return
12386 * buffer.C (parseSingleLyXformat2Token): reindent some
12388 * BufferView_pimpl.C (update): change since fullRebreak always
12390 (Dispatch): git rid of the last hardcoded "Standard"s.
12392 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12394 * text2.[Ch] (fullRebreak): make it return void now that we always
12397 2002-04-30 Juergen Vigna <jug@sad.it>
12399 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12400 ert compatibility check for "latex" layout.
12402 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12404 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12405 minipages: use col% instead of p%, and also use the current font.
12406 (makeLaTeXFile): Fix use babel condition.
12407 (parseSingleLyXformat2Token): Correct font when reading old floats.
12409 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12411 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12412 inserting list of floats.
12414 2002-04-25 Herbert Voss <voss@lyx.org>
12416 * MenuBackend.C (expand): don't add the graphics extensions to the
12419 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12421 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12422 non-existing layout, do not complain if it was the default layout
12423 of the original class (bug #342)
12425 2002-04-24 Juergen Vigna <jug@sad.it>
12427 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12428 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12430 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12432 * buffer.C (getBibkeyList): If using \bibliography, return the
12433 option field with the reference itself. Enables us to provide natbib
12434 support when using \bibliography.
12436 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12438 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12440 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12441 natbib is provided by the LaTeX class.
12443 2002-04-23 Juergen Vigna <jug@sad.it>
12445 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12448 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12450 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12452 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12454 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12455 ensuremath around textordmasculine, textordfeminine and
12458 2002-04-19 Juergen Vigna <jug@sad.it>
12460 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12461 reinitializing the buffer otherwise row-dimensions may be wrong.
12462 (update): reset also the selection cursors if they do exits otherwise
12463 their x/y positions may be wrong.
12465 * text2.C (cursorDown): don't enter the inset if we came from a row
12466 above and are one row over the inset.
12468 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12469 really leaving an inset.
12471 2002-04-18 Juergen Vigna <jug@sad.it>
12473 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12474 of the selected paragraph does not have the selected layout also if
12477 * text2.C (setLayout): fixed bug which did not change last selected
12480 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12481 changed the read and substituted \\end_float with \\end_inset!
12483 * BufferView_pimpl.C (cursorPrevious):
12484 (cursorNext): fixed to make it work with rows heigher than the work
12485 area without moving the cursor only the draw of the row.
12486 (workAreaMotionNotify): fix jumping over high rows.
12488 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12490 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12493 2002-04-16 Juergen Vigna <jug@sad.it>
12495 * text2.C (setCursor): set also the irow().
12496 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12498 (cursorDown): support for locking an inset if the x_fix value goes
12499 inside it. That way I can transverse insets too with cursor up/down.
12501 * lyxrow.h: added irow helper function same as other (i) functions.
12503 * BufferView_pimpl.C (cursorPrevious):
12504 (cursorNext): fixed for insets!
12506 2002-04-15 Juergen Vigna <jug@sad.it>
12508 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12509 position otherwise it is wrong in some cases.
12511 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12512 inside the inset before the call.
12514 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12516 * buffer.[Ch] (getBibkeyList): make it const.
12518 2002-04-12 Juergen Vigna <jug@sad.it>
12520 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12522 * text2.C (getCursorX): new helper function
12523 (setCursor): compute also ix_
12524 (setCursorFromCoordinates): set also ix.
12526 * lyxcursor.h: added ix_ and helper functions.
12528 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12530 * buffer.C (insertStringAsLines): dont break paragraph if the this
12531 paragraph is inside an inset which does not permit it!
12533 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12534 also with no chars on this paragraph.
12535 (paintRowText): only paint stuff if it's inside the workarea!
12537 * paragraph.C (breakParagraph): honor keepempty flag and break the
12538 paragraph always below not above.
12540 * BufferView2.C (unlockInset): update the paragraph layout on inset
12541 unlock as we changed paragraph in such a case.
12543 * lyxfind.C (LyXFind): clear the former selection if not found!
12545 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12546 again called in insertChar().
12548 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12549 an inset which uses the whole row!
12550 (rightMargin): ditto.
12551 (insertChar): force a rebreak if we inserted an inset!
12553 2002-03-28 Herbert Voss <voss@lyx.org>
12555 * lyxlength.[Ch]: add inBP() to get the right PS-point
12556 units (BigPoint). With inPixels we have rounding errors
12558 2002-04-11 Juergen Vigna <jug@sad.it>
12560 * text2.C (setCursorFromCoordinates): set iy to the right value.
12561 (setCursor): add check if row->previous exists!
12563 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12564 an old float_type as this was the case in the old code!
12566 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12568 * BufferView2.C (showLockedInsetCursor): use iy
12569 (fitLockedInsetCursor): ditto
12571 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12572 locked insets as there we have the right value now.
12574 * lyxcursor.C: added iy_ variable and iy functions to set to the
12575 baseline of cursor-y of the locked inset.
12577 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12578 (setCursor): fixed for insets which need a full row.
12580 * text.C (rowLastPrintable): don't ignore the last space when before
12581 an inset which needs a full row.
12582 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12583 as last character of a row when before a inset which needs a full row.
12585 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12587 * version.C.in: update date
12589 * text2.C (fullRebreak): try to always return true and see what
12592 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12594 * MenuBackend.C (expand): use Floating::listName
12596 * FloatList.C (FloatList): add listName argument to the built-in
12599 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12600 text associated with the float.
12602 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12604 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12606 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12608 * ShareContainer.h: add a couple of missing typenames.
12610 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12612 * lyxrc.C (getDescription): use _() correctly rather than N_().
12614 2002-03-28 Herbert Voss <voss@lyx.org>
12616 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12617 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12619 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12621 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12622 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12624 2002-03-29 Juergen Vigna <jug@sad.it>
12626 * lyxfunc.C (dispatch): add a missing fitCursor call.
12628 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12629 it was scrolled by a cursor move, so return the bool status.
12631 * BufferView.C (fitCursor): return the bool flag also to the outside
12632 world as this is needed.
12634 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12636 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12637 call the edit() as it is not needed (and wrong) IMO.
12638 (workAreaButtonPress): set the screen_first variable before evt.
12639 unlock the inset as this may change screen_first and then we have
12640 a wrong y position for the click!
12642 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12644 * MenuBackend.C (expand): another translation that I missed
12646 2002-03-28 Juergen Vigna <jug@sad.it>
12648 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12650 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12652 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12654 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12656 * MenuBackend.C (expand): fix export/view/update when there is no
12659 2002-03-27 Herbert Voss <voss@lyx.org>
12661 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12664 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12666 * bufferview_funcs.C (currentState): only show paragraph number
12667 for is DEVEL_VERSION is set.
12669 * lyxfunc.C (dispatch): put warning in INFO channel
12671 * MenuBackend.C (expand): translate the name of floats
12673 * FloatList.C (FloatList): mark the float names for translation
12675 * converter.C (convert): use LibScriptSearch
12677 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12679 * MenuBackend.C (defaults): fix default menu (we might as well get
12682 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12684 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12687 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12689 * lyxvc.C: reorder includes.
12691 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12693 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12696 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12698 * CutAndPaste.C: change layouts earlier on paste
12699 to avoid crashing when calling getFont()
12701 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12703 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12706 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12708 * WorkArea.C: remove 'Pending' debug message.
12710 * most files: ws cleanup
12712 * buffer.[Ch]: ws changes
12714 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12716 2002-03-21 Juergen Vigna <jug@sad.it>
12718 * tabular.C (SetMultiColumn): collapse also the contents of the
12719 cells and set the last border right. Added a Buffer const * param.
12721 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12723 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12726 2002-03-19 Juergen Vigna <jug@sad.it>
12728 * text2.C (clearSelection): reset also xsel_cache.
12730 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12731 where it needs to be called (John tells us to do so too :)
12732 (selectionLost): reset sel_cache.
12734 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12736 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12738 * text2.C (setCursorIntern): put debuging code in INSETS channel
12740 2002-03-19 André Pönitz <poenitz@gmx.net>
12742 * lyxfunc.C: tiny whitespace change
12744 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12746 * ToolbarDefaults.C (init):
12747 * LyXAction.C (init):
12749 * BufferView_pimpl.C (Dispatch):
12750 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12752 2002-03-19 Allan Rae <rae@lyx.org>
12754 * exporter.C (Export): removeAutoInsets before doing anything else.
12755 While I've just introduced a dependency on BufferView this really is
12756 the best place to clean the buffer otherwise you need to cleanup in
12757 a dozen places before calling export or cleanup in a dozen functions
12760 * converter.C (runLaTeX):
12761 (scanLog): Better handling of removeAutoInsets and screen updates.
12763 * lyxfunc.C (dispatch): small whitespace changes
12765 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12767 * WorkArea.C (C_WorkAreaEvent): return a value.
12768 (event_cb): return 1 if we handled the event, 0 otherwise.
12770 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12772 2002-03-18 Juergen Vigna <jug@sad.it>
12774 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12775 (GetAdditionalWidth): ditto.
12776 (RightLine): ditto.
12779 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12780 inset if we're there actually (probably not used right now but this
12781 is the direction to go for unifying code).
12782 (paste): disable code to clear the selection.
12784 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12785 inside an InsetText and move the check further up as it is in the
12788 * text2.C (pasteSelection): set a selection over the pasted text.
12790 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12792 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12793 and libgraphics to build on Cygwin.
12795 2002-03-15 Juergen Vigna <jug@sad.it>
12797 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12798 inserting an Inset into the paragraph. I know this is not the best
12799 fix but we already use current_view in CutAndPaste so we will remove
12800 all of it's using at the same time.
12802 * buffer.C (sgmlError): deactivated function till it is rewritten in
12803 the right mode, now it can create problems.
12805 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12806 before accessing it.
12808 2002-03-14 Juergen Vigna <jug@sad.it>
12810 * undo_funcs.C (textHandleUndo): do the right thing when updating
12811 the inset after the undo/redo.
12813 * text2.C (setCursor): just some testcode for #44 not ready yet.
12815 * undo_funcs.C (textHandleUndo): set the next() and previous()
12816 pointers of the paragraph to 0 before deleting otherwise we have
12817 problems with the Paragraph::[destructor].
12819 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12820 on a paragraph insertion.
12822 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12824 * buffer.C (asciiParagraph): use += operator for char append to
12827 * paragraph.C (getFontSettings): compare >= not just >
12828 (highestFontInRange): ditto
12831 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12833 * paragraph.C: change several algorithm to be more appripriate for
12834 the problem domain. This is lookip in FontList and in the InsetList.
12836 2002-03-13 André Pönitz <poenitz@gmx.net>
12839 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12841 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12846 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12848 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12850 * Painter.C (display): anon helper function, adjust code for this
12852 (pixmap): remove function.
12854 * Painter.h: remove private display variable.
12856 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12858 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12860 * WorkArea.[Ch]: remove figinset_canvas cruft.
12862 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12864 * lyxtextclass.C (operator): add one item cache optimization.
12866 * bufferlist.h: doxy changes
12868 * bufferlist.C: ws changes
12870 * DepTable.[Ch] (ext_exist): place const in the right spot.
12872 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12874 (workAreaExpose): call resizeInsets when the with BufferView changes.
12875 (Dispatch): adjust for protectedBlank removal
12876 (specialChar): call updateInset if the insert went ok.
12878 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12879 specialChar instead.
12881 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12883 * BufferView.h: doxy change
12885 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12887 * lyxtextclass.C (operator[]): remove non-const version
12888 (defaultLayout): remove non-const version
12890 2002-03-12 Juergen Vigna <jug@sad.it>
12892 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12893 did resize the LyXText too.
12895 * buffer.C (readLyXformat2): set layout information on newly allocated
12898 * tabular.C (OldFormatRead): set layout information on the paragraph.
12900 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12902 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12904 2002-03-11 Juergen Vigna <jug@sad.it>
12906 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12908 (resizeCurrentBuffer): force also the insets to resize themselfes.
12909 (moveCursorUpdate): fixed up for InsetText.
12911 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12914 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12915 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12916 value of Dialogs::tooltipsEnabled().
12917 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12919 2002-03-08 Juergen Vigna <jug@sad.it>
12921 * BufferView_pimpl.C (updateInset): update inset inside inset also
12922 if it isn't inside theLockingInset().
12924 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12926 * buffer.C (asciiParagraph): redo some of the word and line length
12928 (getLists): look for Caption instead of caption.
12930 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12932 * buffer.C (Buffer): initialize niceFile to true
12934 (makeLinuxDocFile):
12935 (makeDocBookFile): make sure niceFile is true on exit
12937 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12939 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12941 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12943 * LyXSendto.C: remove.
12944 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12945 * lyx_gui.C: remove now-redundant comment.
12946 * ColorHandler.h: remove forward declaration of class WorkArea.
12947 * lyxfunc.C: remove #include "WorkArea.h".
12949 2002-03-07 Juergen Vigna <jug@sad.it>
12951 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12952 got moved away with the DEPM and also set the inset_owner always
12953 right which before could have been omitted.
12955 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12957 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12958 wanted layout is not found.
12960 2002-03-07 Juergen Vigna <jug@sad.it>
12962 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12964 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12966 * paragraph.C (breakParagraph): use default layout not layout of
12968 (Paragraph): clear ParagraphParameters.
12970 2002-03-06 Juergen Vigna <jug@sad.it>
12972 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12973 otherwise it would not be a valid lenght. Fixed a special case in
12974 the minipage compatibility read where we end the document with a
12977 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12978 was set as it could be 0 for InsetTexts first entry.
12980 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12982 * paragraph.C (writeFile): if layout is empty write out
12983 defaultLayoutName().
12985 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12986 file without named layout we set layout to defaultLayoutName().
12988 2002-03-06 Juergen Vigna <jug@sad.it>
12990 * CutAndPaste.C (copySelection): set layout for new paragraph.
12992 * text.C (prepareToPrint): leave ERT inset left aligned
12993 (leftMargin): don't indent paragraphs inside ERT insets
12995 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12997 * paragraph.C (breakParagraph): dont call clear do the work manually
12999 * paragraph.[Ch] (clear): remove function
13001 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13003 * paragraph.C (Paragraph): dont call clear, the work has already
13006 * lyxtextclass.C (operator): assert if n is empty
13008 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13009 work manually instead.
13011 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13013 * BufferView_pimpl.C: protect selectionLost against text == 0
13015 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13017 * text.C (breakParagraph): fix a setting layout to '0' problem.
13019 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
13021 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13022 final location of file, for the included files, and graphics.
13024 2002-03-05 Juergen Vigna <jug@sad.it>
13026 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13028 2002-03-04 Juergen Vigna <jug@sad.it>
13030 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13032 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13033 last column of multicolumn cells.
13034 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13036 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13038 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13039 file if it doesn't go to a temporary file.
13041 * buffer.C (sgmlOpenTag):
13042 (sgmlCloseTag): remove extra newline insertion.
13044 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13046 * text.C (getRowNearY): comment out debug msg
13048 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13050 * text2.C: first -> first_y
13052 * text.C (getRowNearY): add some attemts at a possible
13053 optimization, not working.
13055 * tabular.[Ch]: add BufferParams to several function so that newly
13056 created paragraph can be initialized to he default layotu for the
13059 * tabular-old.C (ReadOld): add buf->params to call of Init
13061 * screen.C: rename text->first to text->first_y
13063 * paragraph.C (breakParagraph): always set layout in the broken
13066 * lyxtextclass.C (Read): remove lowercase
13069 (delete_layout): ditto
13071 * lyxtext.h: rename first -> first_y
13073 * lyxlayout.C (Read): remove lowercase
13076 (obsoleted_by): ditto
13078 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13080 * buffer.C (insertErtContents): add params are to InsetERT
13081 (parseSingleLyXformat2Token): add code to check if a paragraphs
13082 layout really exist.
13083 (parseSingleLyXformat2Token): add params to several inset
13085 (asciiParagraph): remove lowercase, do the layout comparisons with
13088 * BufferView_pimpl.C (cursorNext): first -> first_y
13089 (resizeCurrentBuffer): first -> first_y
13090 (updateScrollbar): first -> first_y
13091 (scrollCB): first -> first_y
13092 (workAreaMotionNotify): first -> first_y
13093 (workAreaButtonPress): first -> first_y
13094 (checkInsetHit): first -> first_y
13095 (cursorPrevious): first -> first_y
13096 (cursorNext): first -> first_y
13097 (Dispatch): add buffer_->params to severl inset contructors
13099 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13101 * lyxlayout.C (Read): remove some debug info that I forgot.
13103 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13104 clean up the code slightly.
13105 (makeLinuxDocFile): ditto
13106 (makeDocBookFile): ditto
13108 * text2.C: layout as string
13110 * text.C: layout as string
13112 * paragraph_pimpl.C: layout as string
13114 * paragraph.[Ch]: layout as string
13116 * lyxtextclasslist.[Ch]: layout as string
13118 * lyxtextclass.[Ch]: layout as string
13120 * lyxtext.h: layout as string
13122 * lyxlayout.[Ch]: layout as string
13124 * lyx_cb.C: layout as string
13126 * bufferview_funcs.C: layout as string
13128 * bufferparams.C: layout as string
13130 * buffer.C: layout as string
13132 * LyXView.[Ch]: layout as string
13134 * LaTeXFeatures.[Ch]: layout as string
13136 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13138 * BufferView_pimpl.C: change current_layout to string, remove
13143 (workAreaButtonRelease): layout as string
13145 * BufferView2.C (unlockInset): adjust
13147 * vspace.C (asLatexCommand): use an explict temp variable.
13149 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13151 * Makefile.am: use FRONTEND_*
13153 2002-03-01 Juergen Vigna <jug@sad.it>
13155 * tabular.C (SetWidthOfMulticolCell): changed to something better
13156 I hope but still work in progress.
13157 (recalculateMulticolumnsOfColumn): renamed function from
13158 recalculateMulticolCells as it is more appropriate now.
13159 (SetWidthOfCell): calculate multicols better.
13161 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13163 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13165 * lyxfunc.C (processKeySym): print sequence also if it is
13166 `deleted' (complete)
13168 * kbsequence.C (print): print sequence even if it is deleted
13169 (complete would be a better word, actually).
13171 * lyxfunc.C (dispatch): print complete options after a prefix key
13173 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13175 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13177 * text2.C (setCharFont): eliminate setCharFont code duplication.
13179 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13181 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13182 LFUN_TABULAR_FEATURE (bug #177)
13184 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13186 * Makefile.am: remove figure.h
13188 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13190 * Bufferview_pimpl.C:
13202 * text2.C: remove #include "lyx_gui_misc.h".
13204 * LaTeX.C: added #include <cstdio>
13206 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13208 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13209 that the paragraph following this one can have.
13211 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13213 * vspace.C (asLatexCommand): fix bogus gcc warning
13215 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13217 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13219 * text2.C (setLayout): get rid of redundant code
13221 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13223 * text2.C (incDepth): make sure depth cannot be increased beyond
13226 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13228 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13229 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13231 * PainterBase.h (image):
13232 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13233 a LyXImage const *.
13235 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13239 * BufferView_pimpl.C:
13240 * BufferView_pimpl.h:
13260 * sp_spell.C: remove fig inset, and the crap house of
13261 cards that follows it
13263 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13268 * os2_errortable.h:
13269 * nt_defines.h: move .h into support/
13271 * vms_defines.h: remove
13273 * WorkArea.C: add space in debug output
13277 * buffer.C: add WITH_WARNINGS
13281 * bufferlist.C: s/retrive/retrieve/, add docs
13290 * chset.C: add docs
13292 * lyxgui.C: add ID to X error handler
13294 * lyxtestclass.c: fix typo
13296 2002-02-26 Juergen Vigna <jug@sad.it>
13298 * tabular_funcs.C (write_attribute): changed so that some default
13299 attributes are not written at all.
13300 (getTokenValue): set default values before trying to read the
13301 value so we have the return value always set as default if we don't
13302 find the token we search for.
13304 * tabular.C (Write): write bools as bools not as strings!
13306 2002-02-22 Juergen Vigna <jug@sad.it>
13308 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13309 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13311 * text.C (leftMargin): don't add an indent for paragraphs inside
13312 tabular cells (fix #208).
13314 2002-02-21 José Matos <jamatos@fep.up.pt>
13316 * tabular.C (docBook): fixed support for long tables.
13318 2002-02-20 Juergen Vigna <jug@sad.it>
13320 * text2.C (getFont): get the drawing font of the Inset if this
13321 paragraph is inside an inset (only important for InsetERT for now).
13323 * buffer.C (insertErtContents): use new lanugage params in ERT
13326 * CutAndPaste.C: commenting out seemingly uneeded code.
13328 2002-02-19 Allan Rae <rae@lyx.org>
13330 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13331 Iterators might be simple to use but they also get invalidated.
13332 (removeAutoInsets): renamed saved cursor tracking variables and added
13333 some comments to clarify what everything does.
13335 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13342 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13343 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13346 * vc-backend.h: remove #include "support/syscall.h"
13350 * converter.C: rearrange #includes in Lars' approved fashion.
13352 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13353 forward declare class Timeout in the header file.
13355 * XFormsView.C: changes due to the above.
13357 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13358 similar to LyXView.
13360 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13361 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13363 2002-02-18 José Matos <jamatos@fep.up.pt>
13365 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13368 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13370 * a lot of small ws changes
13371 * add a lot of using std::XXX
13372 * use std construcs some places where approp.
13373 * use some exisint stuff from lyxfunctional where approp.
13374 * Make file changes to use partial linking (lets test this now...)
13376 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13380 remove #include "support/syscontr.h" as it's redundant. Always has been.
13388 change Systemcalls::System to Systemcalls::Wait and
13389 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13390 No change of functionality, just reflects the stripped down Systemcalls
13393 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13395 * debug.[Ch]: add a GRAPHICS type to the enum.
13397 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13399 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13401 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13404 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13406 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13407 match the changes below.
13409 * text2.C (toggleInset): if there is not editable inset at cursor
13410 position, try to see if cursor is _inside_ a collapsable inset
13413 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13415 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13416 document menu has a nice checkbox
13418 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13420 * lyxlength.C (asLatexString): change PW to output as percent of
13423 * lengthcommon.C: change '%' to 't%'
13425 * lyxfunc.C (dispatch): a few comments from Martin
13427 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13431 * BufferView_pimpl.h:
13432 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13435 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13437 * vspace.C (inPixels): fix compiler warning
13439 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13441 * lyxfunc.C (getStatus): fix status message for disabled commands.
13443 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13445 * BufferView_pimpl.C: fix crash on close buffer
13446 during selection (#227)
13448 2002-01-27 Herbert Voss <voss@lyx.org>
13450 * buffer.C: link old Figure to new graphic inset
13452 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13454 * FontLoader.C (getFontinfo): Change the latex font names in order
13455 to match the names of type1inst.
13457 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13459 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13461 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13462 (extchanged): ditto
13464 (remove_files_with_extension): ditto
13465 (remove_file): ditto
13468 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13469 document is smaller than the work area height. Do not initialize
13470 static variables to 0.
13472 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13474 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13476 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13477 LFUN_LAYOUT_PARAGRAPHS.
13479 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13480 tabular. It is possible to provide a possible cell, which will
13481 typically be the actcell from the corresponding insettabular
13483 * lyxfunc.C (getStatus): small cleanup; disable
13484 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13487 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13489 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13491 * paragraph.C (startTeXParParams):
13492 (endTeXParParams): new methods. The LaTeX code to
13493 start/end paragraph formatting
13494 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13495 empty (fixes bug #200)
13497 * vspace.C (inPixels): adapt to the change below
13498 (inPixels): [later] more cleanups (remove unused variables)
13500 * lyxlength.C (inPixels): change to use a width and a height as
13503 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13505 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13506 Replaced with \paperwidth
13508 * DepTable.C (insert): add std:: qualifier
13510 2002-01-18 Allan Rae <rae@lyx.org>
13512 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13515 * text.C (drawInset): Turned out I didn't know enough about how
13516 rebreaking worked. This fixes most of the redraw problems. I see
13517 an occasional cursor trail when a line is broken now and the cursor
13518 placement can seem out by a few pixels also after a rebreak.
13520 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13522 * buffer.C (parseSingleLyXformat2Token): update because minipage
13523 width is now a LyXLength
13525 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13527 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13530 2002-01-17 Juergen Vigna <jug@sad.it>
13532 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13534 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13535 is set correctly and the inset is updated correctly.
13537 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13539 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13540 the beginning of the loop.
13542 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13544 * lyxrc.C: improve help for use_scalable_fonts
13546 2002-01-17 Allan Rae <rae@lyx.org>
13548 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13550 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13552 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13553 make sure to set their inset_owner to the right value (bug #171)
13555 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13558 * DepTable.C: Implement mtime checking to reduce time spent doing
13561 2002-01-16 Juergen Vigna <jug@sad.it>
13563 * tabular.C (GetAdditionalHeight): one of error fixed.
13565 * lyxrc.C (output): small fix in writing use_pspell.
13567 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13569 * sp_base.h: #include LString.h
13571 2002-01-16 Allan Rae <rae@lyx.org>
13573 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13574 Can someone check this please?
13576 * text.C (drawInset): It was possible that p.row would be removed by
13577 breakAgainOneRow upsetting a few other settings. There may be another
13578 small tweak possible by setting need_break_row = 0 when p.row has been
13579 removed but I don't know enough about the logic here.
13581 2002-01-15 Allan Rae <rae@lyx.org>
13583 * text.C (insertChar): removed conditional truism.
13585 * BufferView2.C (removeAutoInsets): More tweaks.
13586 cur_par_prev could be a stray pointer. Check for trailing empty line
13587 in case last line was cur_par and only had an error inset on it.
13589 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13591 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13594 * vc-backend.C (most methods):
13595 * exporter.C (Export):
13596 * converter.C (convert):
13598 * LyXSendto.C (SendtoApplyCB):
13599 * lyxfunc.C (dispatch):
13603 * lyx_cb.C (AutoSave):
13605 * BufferView_pimpl.C (MenuInsertLyXFile):
13606 * buffer.C (runChktex): use Buffer::filePath().
13608 * buffer.h: rename filename to filename_; rename filepath to
13609 filepath_ and make it private
13610 (filePath): new method
13612 * buffer.C (writeFile): use fileName()
13615 * lyx_main.C (init): fix starting of LyX when the binary is a
13616 link from so,ewhere else.
13618 * minibuffer.C: include <cctype> for isprint
13620 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13622 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13623 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13624 name clash with InsetCollapsable's width function.
13626 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13628 * lastfiles.C: include <iterator>
13630 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13632 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13635 * buffer.C (makeLaTeXFile): ditto.
13636 Also make loop operation more transparent.
13638 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13640 * ToolbarDefaults.C: remove trailing comma closing namespace.
13642 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13644 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13647 * trans.C (Load): comment out unused variable, allowed.
13649 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13651 * minibuffer.[Ch] (append_char): new method to recieve input from the
13652 drop-down completion browser. If a key was pressed, then recieve this
13653 char and append it to the existing string.
13654 (peek_event): modify the positioning data passed to the completion
13655 browser so that it can be placed above the minibuffer rather than below.
13656 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13658 * LyXAction.C (init): alloe error-next for readonly documents.
13660 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13663 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13665 * bufferlist.C (readFile): create the buffer _after_ checking that
13668 * lyxfunc.C (verboseDispatch): fix handling of arguments
13670 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13672 * lyxrc.C: use string::erase() instead of initializing to "".
13675 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13677 * BufferView_pimpl.h:
13678 * BufferView_pimpl.C:
13681 * text2.C: tell X when we have made a selection for copying
13683 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13685 * BufferView_pimpl.C (MenuInsertLyXFile):
13686 * lyxfunc.C (menuNew):
13688 (doImport): add shortcuts to directory buttons
13690 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13693 * lyxfunc.C (setStatusMessage):
13694 (getStatusMessage): new methods
13695 (getStatus):use setStatusMessage instead of setErrorMessage
13696 (dispatch): when function is disabled, set error message here
13697 [instead of in getStatus previously]
13699 * BufferView_pimpl.C (workAreaButtonRelease): update
13700 toolbar/menubar here too.
13702 2002-01-13 Allan Rae <rae@lyx.org>
13704 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13705 Now seems indestructible. Remaining task is to audit all other
13706 code affected by deleteEmptyParagraphMechanism. One small quirk
13707 left is that an empty document with an error in the preamble can
13708 be made to report an error but no error box appears. I don't know
13710 (removeAutoInsets): Improved comments.
13712 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13715 * Thesaurus.C: update for Aiksaurus 0.14
13717 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13719 * text2.C (firstParagraph): removed member function, all uses
13720 replaces with ownerParagraph
13721 (redoParagraphs): here
13722 (updateInset): here
13723 (toggleAppendix): here
13724 * BufferView2.C (insertErrors): here
13725 (setCursorFromRow): here
13727 2002-01-13 Allan Rae <rae@lyx.org>
13729 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13730 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13731 There is still a way to segfault this although you may have to do this
13732 multiple times: Have an InsetERT with an unknown command in it.
13733 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13734 <down-arrow>, <Enter> again, View->DVI, BANG!
13736 * text2.C (setCursor):
13737 (deleteEmptyParagraphMechanism):
13738 * lyxtext.h (setCursor):
13739 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13740 Making use of the return value may help fix other bugs.
13742 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13744 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13746 * LyXView.C (updateMenubar): call MenuBar::update here
13747 (updateToolbar): but not here
13748 (showState): do not update toolbar/menubar
13750 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13751 should need to care about that.
13753 * lyxfunc.C (verboseDispatch): simplify a bit
13754 (getStatus): have a version which takes a pseudoaction, and
13755 another which requires a (kb_action,string).
13757 * LyXAction.C (retrieveActionArg): make it work also when action
13758 is not a pseudo-action.
13759 (getActionName): simplify a bit
13762 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13764 * lyxfunc.C (verboseDispatch): new families of methods with
13765 several ways to specify a command and a bool to indicate whether
13766 the command name and shortcut should be displayed in minibuffer
13767 (eventually, we could extend that to a finer bitmask like
13768 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13769 (dispatch): the pristine dispatch command which just, well,
13770 dispatchs! Note it still sets its result to minibuffer; I'm not
13773 * lyxfunc.h: remove setHintMessage
13775 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13777 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13779 * BufferView_pimpl.C (specialChar): delete new inset if we have
13780 not been able to insert it.
13782 * kbmap.C: revert to using int instead of kb_action, since all we
13783 are dealing with is pseudo-actions.
13785 * LyXAction.C (searchActionArg): change to return int instead of
13786 kb_action, since the result is a pseudoaction.
13788 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13790 * buffer.C (insertErtContents): Fix (partially) the font bug.
13792 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13794 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13795 as the other one is broken on my machine!
13797 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13800 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13802 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13804 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13805 reflect their actual use. Provide compatibility code for older lyxrc
13808 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13810 change names of popup font variables in line with the changes to lyxrc.C
13812 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13814 * buffer.C (asciiParagraph): avoid outputing a word twice after
13817 * lyxrc.C (getDescription): document that document_path and
13818 template_path can be empty.
13820 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13822 * LaTeXFeatures.C (getMacros):
13823 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13825 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13827 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13829 (getPackages): rename feature "floats" to "float". Use an array to
13830 iterate over 'simple' features (i.e. just a \usepackage). Add
13831 handling of "amsmath" (renamed from "amsstyle").
13833 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13835 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13838 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13840 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13841 FuncStaus::FuncStatus & FuncStaus::some_method().
13843 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13845 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13846 of the func_satus stuff. Edited and massaged in various ways by
13849 * lyxfunc.C (getStatus): use FuncStatus
13851 2002-01-08 Juergen Vigna <jug@sad.it>
13853 * text.C (nextBreakPoint): use function Inset::isChar().
13855 * paragraph.C (TeXOnePar): use function
13856 Inset::forceDefaultParagraphs.
13858 * buffer.C (latexParagraphs): use function
13859 Inset::forceDefaultParagraphs.
13861 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13863 * lyx_gui.C (init): set the style of the menu popups to
13864 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13866 2002-01-07 Juergen Vigna <jug@sad.it>
13868 * text.C (setHeightOfRow): small fix
13869 (prepareToPrint): don't look at alignment if we don't have the place
13872 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13874 * box.C: New file. Move the Box methods and functions out of box.h,
13875 following Lars' suggestion.
13877 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13879 * box.h: #include "support/LOstream.h", needed for inlined function.
13882 * lyxtextclasslist.C: added some using std declarations.
13884 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13886 * box.h: make signed dimensions to allow insets wider than
13887 the screen (bug #162)
13889 * BufferView_pimpl.C: add some insetHit debug
13891 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13893 * vc-backend.C: add FIXME
13895 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13897 * lyxfunc.C (getStatus): enable code for showing math font status
13900 2002-01-07 Juergen Vigna <jug@sad.it>
13902 * text.C (nextBreakPoint): removed debug output not needed anymore.
13904 2002-01-06 Juergen Vigna <jug@sad.it>
13906 * text.C (nextBreakPoint): fixed up this function we had this bug
13907 since ever but now hopefully we break row better.
13908 (insertChar): we have to check if an inset is the next char as it
13909 could now happen that a large inset is causing a break.
13911 2002-01-05 Juergen Vigna <jug@sad.it>
13913 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13914 if it doesn't like to be drawed.
13916 2002-01-04 Juergen Vigna <jug@sad.it>
13918 * BufferView2.C (lockInset): forgot to set a cursor.
13920 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13922 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13924 * FormMathsPanel.C:
13927 * form_maths_panel.C:
13928 * form_maths_panel.h:
13929 * form_maths_panel.fd: implemented sub- and super- buttons in math
13932 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13933 (or ^ space) to be used as in TeX (req'd by André).
13935 * lyxfunc.C: Allow ^ and _ again to be used both as
13936 super/subscript (mathed) and as themselves (in text).
13938 2002-01-03 Allan Rae <rae@lyx.org>
13940 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13941 "LyX" or the filename of the current buffer if it has one. This is a
13942 modified form of John Levon's patch.
13944 * XFormsView.C (setWindowTitle): also set icon title.
13946 * LyXView.h (setWindowTitle): signature changed.
13947 * XFormsView.h (setWindowTitle): ditto.
13949 2002-01-02 Juergen Vigna <jug@sad.it>
13951 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13953 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13955 * screen.C (topCursorVisible): introduce a temp var for
13956 text->cursor.row(), handle the case where this row is null. (kindo
13959 * text2.C (setCursor): add a couple of asserts.
13961 * paragraph.h (inset_iterator): add -> operator
13963 * paragraph.[Ch] (autoDeleteInsets): remove member function
13965 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13966 cursor pos correctly and handle inset deletion by itself.
13967 (insertErrors): move iterator declaration out of for expression
13969 * lyxtextclass.C: add <algorithm>
13971 * Makefile.am: added the new files to sources, removed layout.C
13973 * layout.C: removed file
13975 * layout.h: remove LYX_DUMMY_LAYOUT
13977 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13981 * lyxtextclass.[Ch]:
13982 * lyxtextclasslist.[Ch]: new files
13984 * include order changes to a lot of files, also changes because of
13987 2001-12-27 Juergen Vigna <jug@sad.it>
13989 * buffer.C (asciiParagraph): more fixes.
13991 * tabular.C (ascii): make ascii export support export of only the
13992 data separated by a column-delimiter.
13993 (ascii): better support for ascii export.
13995 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13997 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13999 * tabular_funcs.C: use a "using std::getline" instead of the
14000 previous fix from Angus (necessary for cxx + lyxstring)
14002 2001-12-24 Juergen Vigna <jug@sad.it>
14004 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14006 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14007 problems. First check a minipage also if we have some ert-contents
14008 (not only on par->size(), second set the right depth of the paragraph
14009 on the relink to the root-paragraph-list!
14011 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14012 which then did not anymore update the main paragraphs on undo/redo!
14014 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14016 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14017 code. Support all font-changing funcs (even those which are not in
14018 menu currently). Support for reporting font settings in
14019 mathed (disabled until Andre provides a function on mathed's side).
14021 * func_status.h (toggle): small helper function to set toggle
14024 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14026 * tabular_funcs.C: getline -> std::getline
14028 2001-12-21 Juergen Vigna <jug@sad.it>
14030 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14031 accessed and could be 0 (I couldn't generate this but it seems
14034 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14036 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14037 * tabular_funcs.h: here and include iosfwd
14039 2001-12-20 Juergen Vigna <jug@sad.it>
14041 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14042 inside inset but undo_par was.
14044 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14046 * Thesaurus.C: always include <config.h> in sources.
14050 * box.h: do not include <config.h> in header files
14052 * text.C (paintLastRow): remove unused variable
14054 * text.C (transformChar):
14056 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14058 * Painter.C (text):
14059 * font.C (width): rewrite to use uppercase() instead of
14062 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14064 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14066 * lyxfind.C: clean up of find failure position change
14068 2001-12-20 Juergen Vigna <jug@sad.it>
14070 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14072 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14073 (TeXRow): added to LaTeX a single tabular row.
14074 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14075 (Latex): simplified and finally good LT-h/f support.
14076 (various_functions): just small adaptions for LT-h/f support.
14078 * tabular_funcs.[hC]: added and moved here all not classfunctions
14081 2001-12-19 Juergen Vigna <jug@sad.it>
14083 * tabular.[Ch]: better support for longtabular options (not finished
14086 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14088 * text.C (paintLastRow): use the label font instead of the font of
14089 the last character to compute the size of *_BOX. This makes more
14090 sense and avoids a crash with empty paragraphs.
14091 Use Painter::rectangle to draw EMPTY_BOX.
14093 2001-12-19 Juergen Vigna <jug@sad.it>
14095 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14096 the paragraphs if the replaced paragraph is not the first one!
14097 Tried to delete not used paragraphs but does not work yet so for
14098 now it's inside #ifdef's and by default off!
14100 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14102 * MenuBackend.C: include "lyx_main.h" instead of declaring
14103 lastfiles (actually was declared as LastFiles* instead of a
14106 2001-12-17 Juergen Vigna <jug@sad.it>
14108 * tabular.C (AppendColumn): applied John's fix
14110 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14114 * BufferView_pimpl.h:
14115 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14118 * box.h: new start of class for above
14120 * lyxfunc.C: ignore space-only minibuffer dispatches.
14121 Show the command name when it doesn't exist
14123 * minibuffer.C: don't add empty lines to the history
14125 * minibuffer.C: add a space on dropdown completion
14127 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14129 * text.C: fix line above/below drawing in insets
14131 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14133 * lyxlength.C (LyXLength): Initialize private variables.
14135 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14137 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14138 when inserting error insets.
14140 2001-12-13 Juergen Vigna <jug@sad.it>
14142 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14143 actually sometimes the before-paragraph.
14144 (setUndo): don't clear the redostack if we're not actually undoing!
14146 2001-12-06 Juergen Vigna <jug@sad.it>
14148 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14149 and fixed redoing of main paragraph, so we can use it now ;)
14151 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14153 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14155 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14158 2001-12-13 André Pönitz <poenitz@gmx.net>
14161 * undo_func.C: minor cleanup
14163 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14165 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14166 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14167 font in urw-fonts package which is marked as -urw-fontspecific and
14168 does not work (incidentally, changing the encoding in the
14169 fonts.dir of this package to -adobe-fontspecific fixes the
14172 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14173 is a crash when undoing first paragraph (Juergen, please take a
14174 look). THis does not mean the undo fix is wrong, just that it
14177 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14178 the (Paragraph*) version when needed instead of duplicating the
14181 * text.C (workWidth): use Inset::parOwner to find out where the
14182 inset has been inserted. This is a huge performance gain for large
14183 documents with lots of insets. If Inset::parOwner is not set, fall
14184 back on the brute force method
14186 * paragraph_pimpl.C (insertInset):
14187 * paragraph.C (Paragraph):
14188 (cutIntoMinibuffer): set parOwner of insets when
14189 inserting/removing them
14191 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14193 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14199 * mathed/formulabase.C:
14200 * mathed/math_cursor.[Ch]:
14201 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14204 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14206 * lyxlength.[Ch] (operator!=): new function
14208 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14210 * text.C (workWidth): use Inset::parOwner to find out where the
14211 inset has been inserted. This is a huge performance gain for large
14212 documents with lots of insets. If Inset::parOwner is not set, fall
14213 back on the brute force method
14215 * paragraph_pimpl.C (insertInset):
14216 * paragraph.C (Paragraph):
14217 (cutIntoMinibuffer): set parOwner of insets when
14218 inserting/removing them
14220 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14222 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14224 * tabular-old.C (getTokenValue):
14225 * tabular.C (getTokenValue):
14226 (write_attribute): new versions for LyXLength
14227 (everywhere): adjust the use of widths
14229 * tabular.h: change the type of widths from string to LyXLength
14231 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14233 * paragraph.C: fixed missing line number count when exporting
14234 Environments to LaTeX file
14236 * buffer.C: added informational message for checking line numbers.
14238 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14240 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14241 paragraph, do the 'double space' part, but not the 'empty
14244 * text.C (workWidth): small optimization
14245 (getLengthMarkerHeight): use minimal size for negative lengths.
14247 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14249 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14251 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14253 2001-12-11 André Pönitz <poenitz@gmx.net>
14256 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14258 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14260 * text2.C: keep selection on a setFont()
14262 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14264 * lyx_cb.C: another bv->text misuse, from insert label
14266 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14269 * kbsequence.C: re-instate nmodifier mask
14271 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14273 * lyx_main.h: make lyxGUI private.
14275 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14277 * lyxfind.C: place the cursor correctly on failed search
14279 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14281 * text.C (getLengthMarkerHeight): for small heights, the arrows
14282 are not always on top/bottom of the text
14283 (drawLengthMarker): smaller arrows; take the left margin in
14284 account; draw also vfills.
14286 (paintLastRow): remove special code for vfill and standard spaces,
14287 since everything is handled in drawLengthMarker now.
14289 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14291 * buffer.C (insertErtContents): try to handle font and language
14292 interaction a bit better.g
14294 * ColorHandler.C (updateColor): change the hash to cover the whole
14295 LColor enum, ws cleanup
14296 (getGCLinepars): ditto
14297 (getGCLinepars): only lookup in the linecache once.
14299 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14301 * iterators.C (operator++): Make the iterator more robust
14303 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14305 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14307 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14310 * text.C: better added space drawing
14312 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14315 * BufferView2.C: fix layout combo update on inset unlock
14317 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14319 * Makefile.am: don't compile unused files
14321 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14325 * LyXAction.C: remove old LFUN_LAYOUTNO
14327 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14329 * paragraph_pimpl.h:
14330 * paragraph_pimpl.C: isTextAt() doesn't need font param
14332 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14335 * lyxlex.C: little cleanup
14337 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14339 * BufferView_pimpl.C: fix insertAscii for insets
14341 2001-12-05 Juergen Vigna <jug@sad.it>
14343 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14344 set the right font on the "multi" paragraph paste!
14346 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14352 * lyxlength.C: remove out-commented code.
14354 * BufferView_pimpl:
14368 * vc-backend.C: change "while(" to "while ("
14370 * lyxlength.[Ch]: add zero function to check if length is zero or
14372 * lyxgluelength.C: use it
14374 2001-12-05 Allan Rae <rae@lyx.org>
14376 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14377 Works for 2.95.3, from what I understand of Garst's reports this should
14378 work for other g++ versions. We're screwed if the abs(int) definition
14379 changed between bugfix releases of gcc.
14381 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14383 * text.C: fix chapter label offset !
14385 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14388 * text.C: fix hfill at end of line, clean up
14390 2001-12-04 Juergen Vigna <jug@sad.it>
14392 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14393 that we force an update of the inset and it's owners if neccessary.
14395 2001-12-03 Juergen Vigna <jug@sad.it>
14397 * text.C (rowLast): simplified code
14399 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14401 * lyxfunc.C: fix show options on timeout
14403 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14405 * screen.C (topCursorVisible): scroll half a page when the cursor
14406 reached top of bottom of screen
14408 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14410 * minibuffer.C: deactivate on loss of focus
14412 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14414 * vspace.[Ch] (operator!=): add operator.
14416 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14418 * BufferView_pimpl.C: refuse to open an inset when
14419 there's a selection.
14421 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14423 * BufferView_pimpl.C: allow to click on RHS of full row insets
14425 2001-11-30 Juergen Vigna <jug@sad.it>
14427 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14428 insets for undo reasons.
14430 2001-11-28 André Pönitz <poenitz@gmx.net>
14432 * vspace.[Ch]: cosmetical changes
14434 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14444 * kbsequence.C: part re-write of old kb code
14447 * WorkArea.C: remove Lgb_bug_find_hack
14449 2001-11-30 José Matos <jamatos@fep.up.pt>
14451 * buffer.C (makeDocBookFile): add a comment to point a hack.
14452 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14453 Fixed a double write of labels.
14455 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14458 * LaTeX.h Fixed bug in LaTeX class where it would not
14459 re-run latex if no depfiles were changed, but the .dvi was removed.
14461 2001-11-28 André Pönitz <poenitz@gmx.net>
14463 * all the files from the change on 2001/11/26:
14464 use lyx::layout_type instead of LyXTextClass::size_type
14465 use lyx::textclass_type instead of LyXTextClassList::size_type
14467 2001-11-29 Juergen Vigna <jug@sad.it>
14469 * text.C: added support for paragraph::isFreeSpacing()
14471 * buffer.C: same as above
14473 * paragraph.h: inserted isFreeSpacing() function to enable
14474 FreeSpacing inside InsetERT.
14476 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14477 of the paragraph's in the cut/copy buffer to 0!
14479 * text2.C (removeRow): remove the assert as it can!
14481 * lyxtext.h: added helper function firstRow returning firstrow and
14482 made firstrow private again.
14484 * BufferView2.C (lockInset): don't relock if we're already locked!
14486 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14487 the only paragraph.
14488 (removeRow): added Assert::(firstrow)
14490 * debug.C: forgot to add INSETTEXT here.
14492 2001-11-28 Juergen Vigna <jug@sad.it>
14494 * sp_spell.C (initialize): changed error text to more general
14495 spellchecker command use (not only ispell!)
14497 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14499 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14501 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14503 * vspace.C: initialise lyxgluelength on failure
14505 2001-11-28 Allan Rae <rae@lyx.org>
14507 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14508 declaration & definition that looks like a function declaration.
14510 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14512 * BufferView2.C (copy):
14513 (copyEnvironment): do not clear the selection when doing a copy.
14515 * text.C (paintFirstRow): compilation fix
14517 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14519 * tabular.C (Latex): correct line count when writing latex.
14521 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14523 * paragraph_pimpl.h:
14524 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14527 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14531 * LColor.C: change vfillline->added_space
14533 * text.C: add markers and text for added space
14535 * vspace.C: fix comment
14537 2001-11-28 André Pönitz <poenitz@gmx.net>
14539 * paragraph.C: whitespace changes
14540 * all the other files from the change on 2001/11/26:
14541 change *::pos_type into lyx::pos_type
14543 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14545 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14546 language of the document when inserting error insets.
14548 2001-11-26 André Pönitz <poenitz@gmx.net>
14550 * BufferView_pimpl.[Ch]:
14558 * paragraph_pimpl.[Ch]:
14561 * text2.C: reduce header dependencies, introduce type for positions
14563 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14565 * <various>: change to use Alert.h
14567 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14569 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14570 when encountering an unknown token.
14571 (readLyXformat2): Show an error message if there were unknown tokens.
14573 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14576 * BufferView_pimpl.C:
14580 * text2.C: use par->isInset()
14582 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14584 * paragraph_pimpl.h:
14585 * paragraph_pimpl.C: cleanup
14587 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14589 * text2.C (removeRow):
14590 * text.C (setHeightOfRow): remove useless (and costly) call to
14593 2001-11-20 Allan Rae <rae@lyx.org>
14595 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14596 Now need Inset*::checkInsertChar() to return true for appropriate
14597 cases so that the characters in the minibuffer will actually be
14600 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14602 * text.C: change the order of the includes.
14603 (workWidth): initialize it at once.
14604 (workWidth): make maxw unsigned
14605 (setHeightOfRow): remove unused variable (inset)
14606 (selectSelectedWord): remove unused variable (inset)
14607 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14609 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14611 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14612 server is not running.
14614 (closeConnection): add debug info when server is disabled.
14616 * ColorHandler.C (getGCForeground): send debug message to GUI
14619 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14621 * kbmap.C (bind): modify because return conventions of
14622 kb_sequence::parse have changed.
14624 * kbsequence.C (parse): only ignore spaces and not any stupid
14625 control character. This avoids tests like s[i] <= ' ', which are
14626 guaranteed to fail with 8bit characters and signed chars.
14627 Change return code to string::npos when there have been no error
14628 (0 was a bad idea when error is at first character)
14630 2001-11-14 José Matos <jamatos@fep.up.pt>
14633 * buffer.C (simpleDocBookOnePar): removed unused argument.
14635 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14637 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14638 insets which are part of a word. Paragraph::isLetter takes care of
14639 that now. Use Paragraph::isInset to identify insets.
14640 (selectSelectedWord): do not test for hyphenation break.
14642 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14643 that protected spaces are considered as spaces.
14645 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14648 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14651 * lyxserver.C: fix it. and small cleanup.
14653 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14655 * BufferView_pimpl.C: use inline helpers
14658 * LaTeXFeatures.C: fix typos
14661 * Spacing.C: move spacing_string into class
14663 * ToolbarDefaults.C: move stuff into namespace anon
14665 * layout.h: update enum
14667 * lyxfunc.C: use better debug
14669 * minibuffer.h: fix typo
14673 * WorkArea.C: add and use Debug::WORKAREA
14677 * text2.C: code re-organisation, inline helpers
14679 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14681 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14682 std::vector.empty().
14684 2001-11-09 Allan Rae <rae@lyx.org>
14686 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14687 '\n's after tables. Tabular and ERT inset work now makes this no
14690 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14693 * minibuffer.C: fix crash, improve drop-down completion
14695 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14698 * lyxserver.C: invalidate fd's when doing endPipe()
14700 2001-11-08 José Matos <jamatos@fep.up.pt>
14702 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14703 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14706 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14708 2001-11-07 José Matos <jamatos@fep.up.pt>
14711 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14714 * buffer.C (sgmlOpenTag):
14715 * buffer.C (sgmlCloseTag): removed debug info.
14717 * buffer.h (sgmlOpenTag):
14718 * buffer.h (sgmlCloseTag): made public.
14720 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14722 * buffer.C (saveParamsAsDefaults):
14723 * lyx_cb.C (MenuLayoutSave): remove
14725 * LyXAction.C (init):
14727 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14729 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14731 * buffer.C (setPaperStuff): removed from here...
14733 * bufferparams.C (setPaperStuff): ... and moved there.
14735 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14739 * XFormsView.C: add support for drop-down completion
14741 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14743 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14746 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14748 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14751 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14753 * lyx_main.C: change ref to known bugs
14755 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14757 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14758 to work around older babel problems.
14760 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14762 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14764 2001-10-24 Juergen Vigna <jug@sad.it>
14766 * tabular-old.C (ReadOld): below variable changes reflected.
14768 * tabular.[Ch]: added ltType struct for longtable header/footer
14769 defines and changed all instances where they are used. Added
14770 future support for double top/bottom rows.
14772 2001-10-24 José Matos <jamatos@fep.up.pt>
14774 * buffer.h (docbookHandleCaption):
14775 * buffer.C (docbookHandleCaption): removed unused function.
14776 (makeDocBookFile): moved docbook supported version to v4.1.
14778 2001-10-24 José Matos <jamatos@fep.up.pt>
14781 * tabular.C (docbookRow): new function to export docbook code of a row.
14782 (DocBook): now honors the longtable flags.
14784 2001-10-23 José Matos <jamatos@fep.up.pt>
14787 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14788 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14790 * buffer.C (makeLinuxDocFile):
14791 (makeDocBookFile): reworked the preamble, more clean, and with
14792 support for lyx defined entities. Changed the document declaration
14793 to be more XML friendly.
14795 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14796 if we need to output XML that should be done with a filter.
14798 2001-10-22 Juergen Vigna <jug@sad.it>
14800 * sp_pspell.h (class PSpell): add alive function needed in the
14801 controller to see if the spellchecker could be started.
14803 2001-10-22 Juergen Vigna <jug@sad.it>
14805 * buffer.C (insertStringAsLines): modify the font for inserting
14806 chars in certain conditions by calling checkInsertChar(font).
14808 2001-10-19 Juergen Vigna <jug@sad.it>
14810 * text.C (workWidth): use getRow instead of wrong algorithm.
14811 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14813 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14818 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14820 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14822 * text.C (workWidth): do not search for the exact row when
14823 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14824 optimization for big documents.
14826 2001-10-18 Juergen Vigna <jug@sad.it>
14828 * text.C (workWidth): new function with added Inset * parameter.
14830 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14832 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14834 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14835 change return type of getColumnNearX.
14838 * text.C (changeRegionCase): use uppercase/lowercase instead of
14841 (rightMargin): simplify code by factoring out the uses of
14846 (appendParagraph): use Paragraph::size_type
14848 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14850 * vspace.C (asLatexString): add a missing break
14852 2001-10-15 Herbert Voss <voss@perce.de>
14854 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14856 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14858 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14861 2001-10-10 André Pönitz <poenitz@gmx.net>
14863 * lyxfunc.C: removed greek_kb_flag.
14865 2001-10-10 Herbert Voss <voss@perce.de>
14867 * lyx_main.C: delete global string help_lyxdir.
14869 2001-10-09 Herbert Voss <voss@perce.de>
14871 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14873 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14875 * lyx_main.C: added global string help_lyxdir.
14877 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14879 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14881 * lyxrc.C (set_font_norm_type): support iso8859-4
14883 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14885 * LaTeX.C (deplog): add another regex for MikTeX
14887 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14889 * lyxrc.C (set_font_norm_type): support iso8859-3
14891 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14893 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14895 * LaTeXFeatures.C: remove special case of french and index
14897 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14898 before \begin{document}). This solves several incompatibilities.
14900 2001-10-03 Garst Reese <reese@isn.net>
14902 * lyx_cb.C: change CheckTex error msg.
14904 2001-10-03 José Matos <jamatos@fep.up.pt>
14906 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14908 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14910 * .cvsignore: update
14912 * lyx_main.C (commandLineVersionInfo): use new style version info.
14914 * buffer.C (writeFile):
14916 (makeLinuxDocFile):
14917 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14919 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14921 * version.h: update to use stuff in version.C
14923 * version.C.in: new file. Contains version information determined
14924 at compile time. This is a merging of version.h and
14927 2001-10-03 Juergen Vigna <jug@sad.it>
14929 * BufferView_pimpl.C (update): don't change "dirty" status in
14932 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14934 * WorkArea.C (c-tor): re-position version string slightly.
14936 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14938 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14939 revert to previous code.
14941 WorkArea.[Ch]: (show, destroySplash): methods removed.
14943 WorkArea.C: rework code so that it's an amalgam of the codes before and
14944 after the splash screen was moved to WorkArea.
14946 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14949 * vspace.C (inPixels):
14952 * buffer.C (insertStringAsLines):
14953 (asciiParagraph): fix types to be large enough
14955 * lyxlex_pimpl.h: change member status from short to int
14957 * layout.h: fix type of endlabeltype
14960 * kbsequence.C (parse): change return type to string::size_type
14962 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14965 * Bullet.C (bulletSize):
14966 (bulletEntry): do not use short ints as parameters
14968 * BufferView2.C (insertLyXFile): change a char to an int.
14970 * WorkArea.C (WorkArea): remove unneeded floats in computation
14972 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14974 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14976 * paragraph.C (asString): Do not ignore newline/hfill chars when
14977 copying to the clipboard.
14979 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14981 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14982 after a multi-line inset.
14984 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14986 * paragraph.C (validate): Set NeedLyXFootnoteCode
14988 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14990 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14991 and decrease-error to decrease.
14993 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14995 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14996 it more readable (should be equivalent)
14998 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15000 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15002 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15004 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15005 of a cursor (row, etc.) after a character has been deleted
15006 (deleteEmptyParagraphMechanism): call the method above on _all_
15007 cursors held by the LyXText when a double space has been
15010 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15012 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15014 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15016 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15017 background. Use greyOut() and the new show() methods to toggle between
15018 the foreground and background. Add code to remove the splash after
15019 its initial showing.
15021 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15022 (create_forms): no longer call Dialogs::showSplash.
15024 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15026 * .cvsignore: add version_info.h
15028 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15030 * version_info.h.in: new file
15032 * Makefile.am: add version_info.h.in
15034 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15035 version_info.h instead of VERSION_INFO
15037 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15039 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15040 The ERT inset now returns string().
15042 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15044 * lyxtext.h, text.C (selectNextWord): renamed as
15045 selectNextWordToSpellcheck.
15047 * text.C (selectNextWordToSpellcheck): Modified to not select
15048 words inside an ERT inset.
15050 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15052 * lyx_cb.C (MenuLayoutSave): change a bit the question
15054 * sp_base.h: include <sys/types.h>
15056 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15058 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15060 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15062 * several files: fix typos in user-visible strings
15064 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15066 * text2.C (pasteSelection): do not set the selection, since it
15067 will be cleared later. Actually, the intent was to fix the way the
15068 selection was set, but I figured rmoving the code was just as good.
15070 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15072 * FontLoader.C (available): Check if font is available without
15075 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15077 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15079 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15081 * lyxrc.[Ch]: added display_graphics variable and associated code.
15083 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15085 * bufferparams.C (hasClassDefaults): new method. Returns true if
15086 the buffer parameters correspond to known class defaults
15088 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15090 * XFormsView.C (show): set minimum size to the main window.
15092 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15094 * text2.C (copySelection):
15096 * lyxfind.C (LyXReplace):
15097 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15098 LyXText::selectionAsString.
15100 * paragraph.C (asString): add "label" argument to the second form
15102 * text2.C (selectionAsString): add "label" argument and pass it to
15103 Paragraph::asString.
15105 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15107 * lyx_main.C (commandLineHelp): remove version information
15109 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15111 * lyx_main.C: add -version commandline option
15113 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15115 * paragraph.h: make the optional constructor arg required instead.
15116 some modifications to other files because of this.
15118 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15120 * lyxserver.C (C_LyXComm_callback): make it static
15122 * lyx_main.C (error_handler): make it static
15124 * lyx_gui.C (LyX_XErrHandler): make it static
15126 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15128 * WorkArea.C: make the extern "C" methods static.
15130 * Makefile.am (lyx_LDADD): simplify
15132 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15134 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15135 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15137 * LyXAction.C (init):
15138 * lyxfunc.C (dispatch): associated code removal.
15140 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15142 * lyxfont.h (isSymbolFont): shut off warning
15144 * text.C (setHeightOfRow):
15145 (getVisibleRow): fix crash with empty paragraphs which have a
15148 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15150 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15153 2001-09-04 José Matos <jamatos@fep.up.pt>
15156 * tabular.C (docbook): rename docBook method to docbook.
15158 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15160 * Makefile.am: add dependencies to main.o.
15162 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15164 * FontLoader.C (available): Return false if !lyxrc.use_gui
15166 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15168 * FontInfo.C (query):
15169 * converter.C (view):
15170 * importer.C (Import):
15171 * exporter.C (Export): Can not -> cannot.
15173 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15175 * BufferView_pimpl.C: allow to create index inset even if
15178 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15180 * buffer.C (getLists): replace boost::tie code with an explicit pair
15181 as boost::tie can break some compilers.
15183 * iterators.h: Added a std:: declaration to the return type of
15186 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15188 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15191 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15193 * iterators.[Ch]: New files. Provide paragraph iterators.
15195 * buffer.C (changeLanguage): Use paragraph iterators.
15196 (isMultiLingual): ditto
15198 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15200 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15202 * FontLoader.C: Support for cmr font.
15204 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15206 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15207 (available): New method.
15209 * FontInfo.C (getFontname): Use scalable fonts even when
15210 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15213 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15215 * converter.C (Formats::view): reverted! Incorrect fix.
15217 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15219 * converter.C (Formats::view): only output the -paper option
15220 if the dvi viewer is xdvi, thereby fixing bug #233429.
15222 2001-08-23 Herbert Voss <voss@perce>
15224 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15226 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15228 * Spacing.h (Spacing): Set space to Default on in the default
15231 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15233 * vc-backend.h (RCS::versionString): add RCS to version
15234 (CVS::versionString): add CVS to version
15236 * vc-backend.C (scanMaster): do not add CVS to version.
15237 (scanMaster): do not add RCS to version
15239 * lyxvc.C (versionString): new method
15241 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15243 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15245 * Spacing.C (set): initialize fval
15247 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15249 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15252 2001-08-16 Juergen Vigna <jug@sad.it>
15254 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15256 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15258 * BufferView_pimpl.C:
15261 * text2.C: setParagraph takes linespacing now
15263 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15265 * LyxAction.C: add internal LFUN_CITATION_INSERT
15267 * LyXView.C: actually apply fix
15269 * bufferlist.C: fix open non-existent file
15271 * lyxfind.C: fix indentation
15273 * lyxfunc.C: remove unneeded assert, fix typo
15275 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15277 * MenuBackend.C: use "Floatname List"
15279 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15281 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15282 when converting LaTeX layout to insetERT.
15283 Generate a non-collapsed float when reading old float
15285 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15287 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15290 2001-08-13 Juergen Vigna <jug@sad.it>
15292 * text.C (fill): return 0 instead of 20 as this seems to be the more
15295 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15297 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15300 2001-08-13 Juergen Vigna <jug@sad.it>
15302 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15304 (SearchBackward): comment out the unlocking of the inset_owner this
15305 should not be needed!
15307 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15309 * Many files: Remove inherit_language, and add latex_language
15311 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15312 collapsible insets.
15314 2001-08-10 Juergen Vigna <jug@sad.it>
15316 * text.C (prepareToPrint): fixed hfill-width in draw!
15318 * BufferView2.C (selectLastWord): save the selection cursor as this
15319 now is cleared in the function LyXText::clearSelection!
15321 2001-08-08 Juergen Vigna <jug@sad.it>
15323 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15324 BACKSPACE type functions.
15326 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15327 is only cutted from the document but not put in the cut-buffer, where
15328 still the old stuff should be.
15330 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15332 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15334 * tabular.C (SetWidthOfCell): fixed special case where the width
15336 (LeftLine): handle '|' in align_special.
15338 (LeftAlreadyDrawed): ditto
15339 (SetWidthOfCell): ditto
15341 2001-08-07 Juergen Vigna <jug@sad.it>
15343 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15345 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15347 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15348 * lyxlex.[hC]: ditto
15350 2001-08-06 Juergen Vigna <jug@sad.it>
15352 * text.C (getVisibleRow): fix up row clearing a bit.
15354 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15356 * minibuffer.C: make sure the X server sees the changes in the input.
15358 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15360 * paragraph.C (getFont): split into...
15361 (getLabelFont): this
15362 (getLayoutFont): and this
15363 * paragraph_pimpl.C (realizeFont): calling this
15365 * text2.C (getFont): split into...
15366 (getLayoutFont): this
15367 (getLabelFont): and this
15368 (realizeFont): all three calling this
15370 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15373 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15375 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15377 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15379 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15380 layouts from the Quote inset insertion.
15382 2001-08-03 Juergen Vigna <jug@sad.it>
15384 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15386 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15387 only if status not is already CHANGED_IN_DRAW (second level).
15389 * text.C (draw): don't set the need_break_row when inside an
15392 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15394 * buffer.C (parseSingleLyXformat2Token): handle more latex
15397 * bufferview_funcs.[hC]: change function names to
15398 begin with small char, adjust other files.
15400 2001-08-02 André Pönitz <poenitz@gmx.net>
15403 BufferView_pimpl.C: remove broken special code for math-greek
15405 2001-08-02 Juergen Vigna <jug@sad.it>
15407 * BufferView_pimpl.C (update): redone this function so that we
15408 update the text again if there was a CHANGE_IN_DRAW.
15410 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15411 (drawFromTo): added a new internal bool which is used by draw() and
15413 (general): some cursor drawing problems fixed.
15415 2001-08-01 Juergen Vigna <jug@sad.it>
15417 * lyxfind.C (LyXFind): fixed
15418 (SearchForward): ditto
15419 (SearchBackward): ditto
15421 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15422 spurius drawing of the cursor in the main area.
15424 * text2.C (status): small fix which could lead to a segfault!
15425 (clearSelection): remove unneeded BufferView param.
15427 2001-08-01 André Pönitz <poenitz@gmx.net>
15429 * lyxfunc.C: small change due to changed mathed interface
15431 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15433 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15435 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15437 * lyxfunc.c: fail gracefully if file doesn't exist
15442 * BufferView_pimpl.C: IsDirWriteable() proto changed
15444 * LyXView.C: fix updateWindowTitle() to store the last title
15446 2001-07-31 Juergen Vigna <jug@sad.it>
15448 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15449 the font (wrong since using of Paragraph::highestFontInRange).
15451 * paragraph.C (highestFontInRange): added a default_size parameter.
15453 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15454 (setHeightOfRow): reformat
15456 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15458 * converter.[hC] + affected files: move to (inital-char)lowercase
15461 * ParagraphParameters.C (ParagraphParameters): remove commented code
15463 * PainterBase.[Ch]: remove commented code
15465 * LaTeXFeatures.h: add "bool floats" for float.sty
15467 * LaTeXFeatures.C (LaTeXFeatures): init floats
15468 (require): handle float
15469 (getPackages): do it with floats
15471 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15473 * BufferView_pimpl.C (Dispatch): improve handling of
15474 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15476 * commandtags.h: #include lyxfont.h here temporarily to avoid
15479 * bufferlist.h: include LString.h here.
15481 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15483 * text2.C (getStringToIndex): new method.
15485 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15487 * *: Reduced header file dependencies all over.
15489 2001-07-30 Baruch Even <baruch@lyx.org>
15491 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15493 2001-07-29 Baruch Even <baruch@lyx.org>
15495 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15497 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15499 * ParameterStruct.h (endif): add a default constructor to make
15500 sure that all variables is initialized.
15502 * ParagraphParameters.C (ParagraphParameters): adjust
15504 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15506 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15507 index; also, check that there is something to index, and that it
15508 does not span over several paragraphs.
15509 (doubleClick): use WHOLE_WORD_STRICT for double click.
15511 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15513 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15516 2001-07-26 Baruch Even <baruch@lyx.org>
15518 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15519 an InsetFig figure, backwards compatible reading of old figure code.
15521 2001-07-27 Juergen Vigna <jug@sad.it>
15523 * text2.C: font.realize function adaption.
15525 * text.C (draw): add a warnings lyxerr text if needed.
15527 * layout.C: font.realize function adaption.
15529 * language.C: add inherit_language and implement it's handlings
15531 * bufferview_funcs.C (StyleReset): remove language parameter from
15532 font creation (should be language_inherit now).
15534 * bufferparams.C (writeFile): handle ignore_language.
15536 * paragraph.C (getFontSettings): the language has to be resolved
15537 otherwise we have problems in LyXFont!
15539 * lyxfont.C (lyxWriteChanges): added document_language parameter
15540 (update): removed unneeded language parameter
15542 * paragraph.C (validate): fixed wrong output of color-package when
15543 using interface colors for certain fonts in certain environments,
15544 which should not seen as that on the final output.
15546 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15548 * BufferView_pimpl.C:
15553 * LyXAction.C: add thesaurus support
15556 * lyxfind.C: add "once" parameter, for thesaurus, to not
15557 move to the next match
15559 2001-07-26 Juergen Vigna <jug@sad.it>
15561 * lyxfont.C (realize): honor ignore_language too!
15564 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15566 * text.C (draw): one place more for ignore_language to not draw
15569 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15571 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15573 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15575 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15576 the minipage conversion problem.
15578 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15580 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15583 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15585 * BufferView.h: don't forward declare WorkArea
15587 * BufferView.C: don't include WorkArea.h
15589 2001-07-25 André Pönitz <poenitz@gmx.net>
15593 * lyxfunc.C: new LFUN 'math-space'
15595 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15597 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15599 * text2.C (toggleInset): call open/close
15601 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15603 * lyxfunc.C (dispatch): add debug for the disabled case
15605 * font.C (buttonText): make similar to rectText
15607 * buffer.C (readInset): comment out parsing of insetlist and
15610 * PainterBase.C (rectText): small correction
15612 * BufferView_pimpl.C: comment out insettheorem and insetlist
15613 * LyXAction.C: ditto
15614 * commandtags.h: ditto
15616 2001-07-24 Juergen Vigna <jug@sad.it>
15618 * text.C (draw): honor the ignore_language.
15620 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15622 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15624 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15627 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15629 * lyxtext.h: remove unused (and unimplemented) methods
15631 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15633 * text.C (getVisibleRow): honor background color
15636 * Painter.h: remove default color argument for fillRectangle
15638 * text.C (backgroundColor): new method
15640 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15642 * text.C (getVisibleRow): adjust
15644 * font.[Ch] (rectText): new method, metrics
15645 (buttonText): new method, metrics
15647 * PainterBase.[hC]: make rectText and buttonText always draw and take
15650 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15652 * ToolbarDefaults.C (read):
15653 * MenuBackend.C (read): allow escaping in all strings
15655 * BufferView_pimpl.C (insertAndEditInset): new method.
15656 (Dispatch): use insertAndEditInset whenever appropriate.
15658 * BufferView_pimpl.C (insertNote): removed
15660 * BufferView_pimpl.C (smartQuote): new method, moved from
15661 BufferView; if an insetquote cannot be inserted, insert a '"'
15664 * BufferView2.C: remove insertCorrectQuote();
15666 * lyxfunc.C (getStatus): Add support for all remaingin
15667 inset-insert lfuns.
15669 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15671 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15672 command (necessary to pass " as parameter of self-insert.
15674 * text.C (selectWordWhenUnderCursor):
15675 (selectWord): add word_location parameter
15676 (selectWordWhenUnderCursor): same + remove special code for word
15678 (selectNextWord): use kind() to guess type of insetspecialchar,
15681 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15682 (insertErtContents): create ert insets as collapsed.
15683 (readInset): better compatibility code for Info inset.
15685 2001-07-20 Juergen Vigna <jug@sad.it>
15687 * lyxfunc.C (dispatch): use always LyXFind now!
15689 * text2.C (init): add a reinit flag so that the LyXText can be
15690 reinited instead of deleted and reallocated (used in InsetText).
15692 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15698 2001-07-18 Juergen Vigna <jug@sad.it>
15700 * text.C (selectNextWord): handle insets inside inset by calling
15701 always the bv->text functions so that we can go up the_locking_inset!
15703 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15704 in strange locations when inside an inset!
15706 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15707 handling to include insets.
15709 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15711 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15713 * LyXAction.C (init):
15715 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15716 LIGATURE_BREAK, since the name is so stupid.
15718 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15720 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15723 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15725 * sp_form.[Ch]: remove.
15727 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15729 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15732 * src/buffer.C (readInset): ditto.
15734 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15736 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15737 menuSeparator(), endOfSentenceDot(), ldots() and
15738 hyphenationPoint(), which are therefore removed.
15739 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15741 * LyXAction.C (init):
15742 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15744 * paragraph.C (getWord): removed.
15746 * BufferView_pimpl.C (Dispatch): use last word or selection for
15747 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15749 * lyx_main.C (queryUserLyXDir): do not ask before creating
15750 user_dir, except if it has been named explicitely.
15752 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15754 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15755 a document of zero size.
15757 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15759 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15760 approriately in the c-tor and in require().
15761 (getPackages): output the appropriate LaTeX for natbib support.
15763 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15764 variables "use_natbib" and "use_numerical_citations" when reading the
15766 (readInset): read the various natbib cite commands.
15767 (validate): white-space change.
15769 * bufferparams.[Ch]: new variables "bool use_natbib" and
15770 "bool use_numerical_citations".
15771 (writeFile): output them in the LyX file.
15773 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15775 * lyxfunc.C (getStatus): add support for all the inset insertion
15778 * text2.C (insertInset):
15779 * paragraph.C (insetAllowed):
15780 * BufferView_pimpl.C (insertInset): update to take in account the
15781 renaming of insertInsetAllowed
15783 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15785 * text2.C (getInset): new method. returns inset at cursor position.
15787 * BufferView_pimpl.C (Dispatch): changes because of this.
15789 * LyXAction.C (init): rename open-stuff to inset-toggle.
15791 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15793 * text2.C (toggleInset): renamed from openStuff; use
15796 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15798 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15800 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15802 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15804 * buffer.C (readLyXformat2): Add filename to the error dialog
15806 2001-07-18 Juergen Vigna <jug@sad.it>
15808 * tabular.C (GetCellNumber): put an assert here instead of the check!
15810 2001-07-17 Juergen Vigna <jug@sad.it>
15812 * BufferView_pimpl.C (toggleSelection): adapted too.
15814 * text.C (selectNextWord): adapted for use with insets.
15815 (selectSelectedWord): ditto
15817 2001-07-17 Juergen Vigna <jug@sad.it>
15819 * sp_spell.C (PSpell): fix initialitation order.
15821 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15823 * paragraph.C: spacing
15825 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15827 * sp_spell.C: repair language selection for pspell
15829 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15831 * lyxfunc.h: change more methods to begin with lower char.
15833 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15835 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15836 for unknown layouts.
15838 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15840 * buffer.C (readLyXformat2): Generate an error dialog if there are
15843 2001-07-16 Juergen Vigna <jug@sad.it>
15845 * sp_spell.C: always compile ISpell part.
15847 * lyxrc.C: added use_pspell entry and it's handling.
15849 2001-07-13 Juergen Vigna <jug@sad.it>
15851 * sp_spell.C: removed double includes.
15853 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15855 Consistent use of Lsstream.h:
15856 * Lsstream.h: added using std::stringstream for consistencies sake.
15858 * buffer.C: removed using std::stringstream
15860 * lyxfont.C (stateText):
15861 * paragraph.C (asString):
15862 * text.C (selectNextWord, selectSelectedWord):
15863 * text2.C (setCounter):
15864 * vspace.C (asString, asLatexString):
15865 std::ostringstream -> ostringstream.
15867 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15869 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15870 * commandtags.h: add LFUN_HELP_ABOUTLYX
15871 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15873 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15875 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15877 * lyx_gui_misc.C: remove spellchecker
15878 * lyxfunc.C: showSpellchecker
15880 * sp_ispell.h: added
15881 * sp_pspell.h: added
15882 * sp_spell.C: added
15883 * sp_form.[Ch]: removed
15884 * spellchecker.[Ch]: removed
15886 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15888 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15890 (simpleTeXSpecialChars): Simply print the input character without
15891 any special translation if pass_thru is set.
15893 * layout.h: Added bool pass_thru to layout class for being able to
15894 implement pass through of a paragraph for Literate Programming.
15896 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15897 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15898 * layout.C (Read): add "passthru" to list of layout tags and add
15899 code to set the pass_thru boolean when it is read.
15901 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15903 * trans_decl.h: remove allowed from KmodInfo
15905 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15906 remove allowed code
15909 * paragraph_pimpl.C (erase): use boost::prior
15911 * Painter.C (text): use data() instead of c_str() when length is
15913 * WorkArea.C (putClipboard): ditto
15914 * font.h (width): ditto
15916 * BufferView2.C: use it-> instead of (*it). for iterators
15918 * paragraph_pimpl.C: ditto
15919 * paragraph.C: ditto
15920 * minibuffer.C: ditto
15921 * language.C: ditto
15923 * encoding.C: ditto
15924 * counters.C: ditto
15925 * converter.C: ditto
15927 * Variables.C: ditto
15928 * TextCache.C: ditto
15929 * MenuBackend.C: ditto
15930 * LyXAction.C: ditto
15932 * FloatList.C: ditto
15933 * DepTable.C: ditto
15934 * ColorHandler.C (LyXColorHandler): ditto
15936 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15938 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15940 * text2.C (openStuff): reintroduce this method (which had been
15941 nuked in NEW_INSETS frenzy).
15943 * lyxfunc.C (Dispatch): when an action has not been handled, use
15944 its name in the error message, not its number.
15946 * paragraph.C (inInset): change method name to begin with lowercase.
15949 * text2.C: updates because of this.
15951 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15953 * ToolbarDefaults.C (add): add spaces in error message
15955 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15957 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15958 (readLyXformat2): rename return_par to first_par, use lyxlex's
15959 pushToken and remove the manual push handling.
15960 (parseSingleLyXformat2Token): add another ert comp. variable:
15961 in_tabular, rename return_par to first_par. handle newlines better
15963 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15965 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15967 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15969 * text2.C (getParFromID): removed
15971 * buffer.C (getParFromID): new method moved form lyxtext.
15972 * BufferView2.C (insertErrors): adjust
15973 (setCursorFromRow): adjust
15974 * BufferView_pimpl.C (restorePosition): adjust
15975 * lyxfunc.C (Dispatch): adjust
15976 * undo_funcs.C (textUndo): adjust
15978 (textHandleUndo): adjust
15979 (textHandleUndo): adjust
15981 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15983 * buffer.C: up' the LYX_FORMAT
15985 * lyxfont.h: turn NO_LATEX on as default
15987 * buffer.C (insertErtContents): new methods of tex style compability.
15988 (parseSingleLyXformat2Token): use it several places.
15989 * tabular.C (OldFormatRead): and here
15991 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15993 * text2.C: remove some commented code.
15996 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15997 * trans.C: changes because of the above.
15999 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16001 * text2.C (setCounter): Fix counters bug with bibliography layout.
16003 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16005 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16006 own member functions
16007 (simpleTeXSpecialChars): ditto
16009 2001-07-06 Juergen Vigna <jug@sad.it>
16011 * a lot of files: changed the access to LyXText::status and the
16012 call of undo-functions.
16014 * undo.[Ch]: added a inset_id to the undo informations.
16016 * undo_funcs.[Ch]: added and moved here all undo functions.
16018 * lyxtext.h: give the status enum a weight, made status_ a private
16019 variable and made accessor functions for it, removed the whole bunch
16020 of undo-functions as they are now in their own file, make some
16021 functions publically available. Added function ownerParagraph with
16024 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16025 made InInset() a const function, added getParFromID() function.
16027 * buffer.[Ch]: added const version for inset_iterator functions,
16028 added getInsetFromID() function.
16030 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16031 changed undo functions for new version.
16033 2001-07-05 Juergen Vigna <jug@sad.it>
16035 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16036 unknow mechanism does not call the proper constructor but only this
16037 one also if I request the other!?
16039 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16041 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16043 * text2.C (LyXText): use initialization lists.
16045 * lyxtext.h (Selection): initialize set_ and mark_
16046 (init): remove method
16048 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16050 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16052 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16054 * screen.[Ch]: change method names to begin with lowercase
16056 * BufferView_pimpl.C (updateScrollbar): simplify further and
16057 hopefully make it a bit faster.
16059 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16061 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16062 calling directly xforms functions.
16064 * Painter.C (Painter):
16065 * lyx_cb.C (MenuWrite):
16066 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16069 * lyx_gui.C: remove bogus guiruntime extern declaration.
16071 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16073 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16075 (redoDrawingOfParagraph): ditto
16076 (redoParagraphs): ditto
16077 (cutSelection): don't create a object for CutAndPaste use the
16078 static method directly
16079 (pasteSelection): ditto
16081 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16084 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16086 * modifications to some other files because of this.
16088 * Makefile.am (lyx_SOURCES): add XFormsView
16090 * XFormsView.[Ch]: new files
16092 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16093 the main window. Move the gui dependent stuff to XFormsView
16095 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16097 * tabular.C (GetCellInset): update cur_cell also in the row/col
16098 version of this function.
16100 * lyxfunc.C: no need to include figure_form.h here.
16106 * lyxvc.C: no need to include forms.h here.
16108 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16110 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16112 * lyxfunc.C (Dispatch):
16114 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16115 constructor argument.
16117 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16119 * paragraph.C (Paragraph): dont't clear, and just set layout.
16120 (makeSameLayout): use params's copy contructor.
16122 * ParagraphParameters.[Ch] (makeSame): delete method
16124 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16126 * Variables.[Ch]: fix indentation, rename set to isSet
16128 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16130 * lyxfunc.C (Dispatch): fix typo
16132 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16134 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16137 * bufferlist.C: include assert.h for emergencyWrite().
16139 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16141 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16142 give up at last (bug #425202) !
16144 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16150 * spellchecker.C: strip spellchecker options and bring up
16151 preferences tab instead
16153 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16155 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16156 the istringstream constructor
16158 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16160 * paragraph.C (getLayout): fix return value
16162 * paragraph.h: do not declare getLayout as inline.
16164 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16166 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16168 * lyxcursor.h (operator<): new func
16169 (operator>): new func
16170 (operator>=): new func
16171 (operator<=): new func
16173 * text.C (changeCase): use selection.start and selection.end
16174 (changeRegionCase): require from to be <= to. Require par to be a
16177 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16179 2001-06-27 Juergen Vigna <jug@sad.it>
16181 * text.C (cursorLeftOneWord): changed to return the cursor and added
16182 overlay with BufferView * parameter which calls this one.
16184 (selectWord): use new getWord function.
16185 (changeCase): renamed from changeWordCase as and extended to work
16186 also on selections.
16188 * lyxtext.h: added enum word_location
16190 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16191 changeCase as this operates now also on selections.
16193 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16195 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16197 * many files: send debug output to Debug::INFO instead of
16200 * converter.C (View):
16202 (Move): send debug output to Debug::FILES instead of console.
16204 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16206 * lyxfunc.C (getStatus): use func_status
16208 * func_status.h: new header, describing the results of
16209 LyXFunc::getStatus;
16211 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16214 2001-06-25 The LyX Project <jug@sad.it>
16216 * buffer.C (sgmlOpenTag):
16218 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16220 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16222 * text2.C: remove some dead code
16224 * tabular.C (GetCellInset): store the last cell checked (gotten)
16226 * tabular.h: add the helper for the speedup
16228 * lyxtext.h: remove some dead code
16230 2001-06-26 The LyX Project <Asger>
16232 * paragraph.C: Change export to LaTeX of alignment to
16233 \begin{center} and family for better roundtrip work with reLyX.
16235 * Tune the math drawing a bit.
16237 2001-06-25 The LyX Project <Asger>
16239 * LColor.C (LColor): New color for math background. New color
16242 2001-06-25 The LyX Project <jug@sad.it>
16244 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16246 * lyxfunc.C (Open):
16247 * bufferlist.C (newFile): do not restrict to files ending with
16250 * BufferView_pimpl.C (MenuInsertLyXFile):
16252 2001-06-24 The LyX Project <jug@sad.it>
16254 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16257 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16259 * lyxtext.h: rename most methods to begin with a small char.
16260 Lots of changes because of this.
16262 * paragraph.C (Paragraph): do not call fitToSize
16263 (erase): call Pimpl::erase
16264 (insertChar): call Pimpl::insertChar
16265 (insertInset): call Pipl::insertInset
16266 (breakParagraph): do not call fitToSize
16267 (breakParagraphConservative): do not call fitToSize
16268 (fitToSize): remove method
16270 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16272 2001-06-24 The LyX Project <Asger>
16274 * Fix Qt compilation^2
16276 2001-06-24 The LyX Project <jug@sad.it>
16278 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16279 depthHook(getDepth()-1).
16282 * ParagraphParameters.h:
16283 * ParameterStruct.h: change type of depth to unsigned int ==
16284 depth_type. Many adaptations to other files before of that.
16286 2001-06-24 The LyX Project <Asger>
16288 * Fix Qt compilation.
16290 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16292 * paragraph.h: renamed several methods to begin with small letter.
16293 several changes to many parts of the code because of this.
16295 2001-06-23 The LyX Project <jug@sad.it>
16297 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16298 rewritten to discard all double spaces when KeepEmpty is off
16299 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16300 to only handle newlines but not fiddle with spaces and friends.
16302 * lyxfunc.C (MenuNew): when doing 'new from template', use
16303 template_path as default directory
16305 2001-06-23 The LyX Project <Asger>
16307 * Clean-up of header file includes all over
16308 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16310 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16312 * paragraph.h: renamed from lyxparagraph.h
16314 2001-06-23 Asger <lyx@violet.home.sad.it>
16316 * Buffer.h: Removed Buffer::resize
16317 * BufferList.h: Removed BufferList::resize
16318 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16319 the document lazily when we change the width, or the font settings.
16321 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16323 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16325 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16327 * buffer.h: remove out of date comment
16329 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16332 * screen.C: fix "theoretical" GC leak
16334 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16336 * LaTeX.C (scanAuxFile):
16337 (deplog): remove trailing \r when reading stream (useful under
16340 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16342 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16343 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16344 and BufferView::theLockingInset(Inset*), so should use them and not
16345 access bv_->text->the_locking_inset directly.
16347 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16349 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16352 * tex-defs.h: remove old unused file
16354 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16356 * BufferView_pimpl.C: fix typo, remove minibuffer message
16357 when buffer has loaded
16359 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16361 * lyxfunc.C (Dispatch): use stringstream
16362 (MenuNew): use stringstream
16363 (Open): use stringstream
16365 * importer.C (Import): use stringstream
16367 * bufferview_funcs.C (CurrentState): use stringstream
16369 * LaTeX.C (run): use stringstream
16371 * BufferView_pimpl.C (savePosition): use stringstream
16372 (restorePosition): use stringstream
16373 (MenuInsertLyXFile): use stringstream
16375 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16388 * vspace.C: removed // -*- C++ -*- as first line.
16391 * version.h: added // -*- C++ -*- as first line.
16393 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16395 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16397 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16400 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16402 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16405 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16407 * gettext.C: include LString.h even when --disable-nls is on.
16409 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16411 * converter.h (Get): changed argument type from int to
16412 FormatList::size_type to avoid unnecessary conversion.
16414 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16417 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16419 * gettext.h: include LString.h even when --disable-nls is on.
16421 2001-06-07 Juergen Vigna <jug@sad.it>
16423 * text.C (BreakAgain): subst spaces with tabs.
16425 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16426 (resizeInsetsLyXText): set force on resizeLyXText.
16428 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16430 * gettext.h (gettext_init):
16431 (locale_init): use a real definition instead of a macro
16433 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16435 * Bufferview_pimpl.C:
16437 * LColor.C: further lcolor tidies
16439 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16441 * BufferView_pimpl.C (updateScrollbar): simplify.
16443 * BufferView2.C: don't include insets/insetinfo.h, change
16444 prototype for insertInset and call the Pimpl version. let
16445 updateInset call Pimpl version.
16447 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16448 gotoInset to BufferView::Pimpl
16450 2001-06-01 Juergen Vigna <jug@sad.it>
16452 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16453 inside a LockingInset (is the update needed at all?).
16455 2001-05-31 Juergen Vigna <jug@sad.it>
16457 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16458 here not the old one otherwise how should we compare it afterwards
16461 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16466 * FontInfo.C: bring C functions into global namespace when
16469 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16471 * LString.h: make sure config.h has been loaded before LString.h.
16473 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16474 (one for each char read by EatLine!).
16476 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16479 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16481 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16482 to the same as the par we break from
16484 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16486 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16488 * MenuBackend.C (expand): also create menu entries for wide
16489 versions of the floats.
16491 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16493 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16495 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16496 frontends/Makefile.am
16502 * tabular.C (getTokenValue): add std::
16504 * tabular-old.C (getTokenValue): add std::
16505 (getTokenValue): ditto
16506 (getTokenValue): ditto
16508 * screen.C (ToggleSelection): adjust
16510 * lyxtext.h: put selection cursors inside a Selection struct.
16512 * lyxfunc.C (moveCursorUpdate): adjust
16514 * lyxfont.C (latexWriteStartChanges): add std::
16516 * lyxfind.C: adjust
16518 * font.h: delete with(char const *, LyXFont const &)
16520 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16522 * FontInfo.C (getFontname): add std::
16524 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16525 (workAreaButtonPress): adjust
16526 (tripleClick): adjust
16528 (moveCursorUpdate): adjust
16531 * BufferView2.C (gotoInset): adjust
16533 2001-05-30 Juergen Vigna <jug@sad.it>
16535 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16536 to check pspell I add this as default as I now have new pspell
16537 libraries and they seem to use this.
16539 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16541 * text2.C (CutSelection): make the cursor valid before the call to
16544 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16546 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16547 relied on 0 terminated strings and other horrors. Bug found due to
16548 the new assert in lyxstring!
16550 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16553 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16555 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16558 * lyxfunc.C (processKeySym): change method of getting to the
16561 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16562 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16563 * BufferView_pimpl.[Ch]: here as private methods.
16565 2001-05-28 Juergen Vigna <jug@sad.it>
16567 * text.C (SetHeightOfRow): added the update() call again as it is
16568 needed to initialize inset dimensions!
16570 2001-05-16 Juergen Vigna <jug@sad.it>
16572 * text2.C (SetCharFont): Add new function with BufferView * and
16573 bool toggleall parameters for setting insets internal fonts.
16574 (SetFont): Freeze the undo as we may change fonts in Insets and
16575 all this change should be inside only one Undo!
16577 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16578 setting font's in insets as for them we have the SetFont function!
16580 2001-05-15 Juergen Vigna <jug@sad.it>
16582 * text2.C (ClearSelection): to be sure we REALLY don't have any
16585 * tabular.C (TeXCellPreamble): fixed the left border problem for
16588 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16590 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16593 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16595 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16596 LFUN_BREAKPARAGRAPH.
16598 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16599 help test to "internal only", similar for LFUN_INSERT_URL
16601 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16602 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16603 auto_region_delete and deadkeys.
16605 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16608 * LColor.C: remove some dead entries, tidy a little
16610 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16612 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16614 (Dispatch): implement LFUN_ESCAPE
16616 * commandtags.h: add LFUN_ESCAPE
16618 * LyXAction.C (init): add entry for LFUN_ESCAPE
16620 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16621 Remove commented code.
16622 (insertNote): moved here
16623 (open_new_inset): moved here
16625 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16628 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16630 * kbmap.C (findbinding): clean it up and make it work correctly.
16632 * lyx_main.C (init): do not pass argc and argv as parameters
16634 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16636 * buffer.C: fix path for OS/2 & Win32
16640 * lyx_main.C: Added os:: class.
16642 * os2_defines.h: update
16644 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16646 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16647 better by trying again with reduced state.
16649 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16651 * lyxrc.C (read): print error about invalid key sequence only when
16652 debugging (because not all latinX keysyms are known to some X
16655 * kbsequence.C (getiso): add a few std:: qualifiers
16656 (getiso): comment out extra return statement.
16658 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16660 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16662 (Dispatch): enhance the accent inset a bit. (not perfect)
16664 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16666 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16668 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16670 * bufferlist.C (emergencyWrite): fix assert() call
16672 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16674 * text.C (InsertChar): Added trivial patch to only send the "you
16675 can not do multiple spaces this way" message once during a
16678 2001-05-08 Baruch Even <baruch@lyx.org>
16680 * Makefile.am: Changed order of libraries to get LyX to link properly
16681 with the gnome frontend.
16683 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16685 * LaTeXFeatures.h: add a std:: qualifier
16687 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16689 * paragraph.C (String): use stringstream
16691 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16693 * paragraph.C (writeFile): remove footflag arg
16695 * buffer.C (makeLaTeXFile): use stringstream
16696 (latexParagraphs): remove footnot gurba
16698 * LaTeXFeatures.C (getPackages): use stringstream
16699 (getMacros): likewise
16700 (getTClassPreamble): likewise
16701 (getFloatDefinitions): new method
16703 * paragraph.C (writeFile): reindent
16706 * WorkArea.h: revert the xpos + etc changes.
16708 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16710 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16712 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16713 (pasteSelection): likewise
16714 * text2.C (CreateUndo): likewise
16716 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16718 * minibuffer.C (peek_event): temporarily reduce the functionality
16719 of the minibuffer (to allow args on lfuns)
16721 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16722 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16724 * buffer.C (readInset): add compability reading of old float
16725 lists, add reading of new style float list.
16726 (readInset): avoid reevaluation of inscmd.getCmdName()
16727 (getLists): reindent
16729 * MenuBackend.C (MenuItem): implement parsing of
16730 md_floatlistinsert and md_floatinsert.
16731 (expand::LastFiles): move initalizaton of iterators out of loop,
16732 avoid reevaluation.
16733 (expand::Documents): introduce typdedef vector<string> Strings,
16735 (expand::ExportFormats): introduce typedef vector<Format const *>
16736 Formats, and use it.
16737 (expand): implement FloatListInsert and FloatInsert.
16739 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16740 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16741 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16743 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16745 (Dispatch::LFUN_FLOAT_LIST): implement
16747 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16749 * LaTeX.C (run): Fix problem with --export code.
16751 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16753 * BufferView.[Ch] (workarea): removed.
16754 (getClipboard) new method; wrapper for workarea()->getClipboard()
16756 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16759 * WorkArea.h (width, height, xpos, ypos): These methods all
16760 returned the dimensions of the work_area sub-area of WorkArea,
16761 resulting in a position error if the WorkArea were resized. Now
16762 return the dimensions of the entire WorkArea.
16764 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16766 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16768 * LaTeX.C (deplog): correct the syntax of regex reg1
16770 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16772 * undo.C: remove !NEW_INSETS cruft
16774 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16776 * text2.C: remove !NEW_INSETS cruft
16778 * text.C: remove !NEW_INSETS cruft
16780 * tabular.C: remove !NEW_INSETS cruft
16782 * spellchecker.C: remove !NEW_INSETS cruft
16784 * lyxtext.h: remove !NEW_INSETS cruft
16786 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16788 * lyxfunc.C: remove !NEW_INSETS cruft
16790 * lyxfind.C: remove !NEW_INSETS cruft
16792 * lyx_cb.C: remove !NEW_INSETS cruft
16794 * figureForm.C: remove !NEW_INSETS cruft
16796 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16798 * buffer.[Ch]: remove !NEW_INSETS cruft
16800 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16802 * CutAndPaste.C: remove !NEW_INSETS cruft
16804 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16806 * BufferView2.C: remove !NEW_INSETS cruft
16808 * BufferView.h: remove !NEW_INSETS cruft
16810 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16812 * Lsstream.h: include LString.h before the sstream headers to
16813 fix problem with gcc 2.95.3 and lyxstring
16815 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16817 * lyx_main.C: add using directives when needed for C functions
16818 declared in std:: namespace.
16820 2001-04-27 Juergen Vigna <jug@sad.it>
16822 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16823 (SetHeightOfRow): comment out the update call should not be needed!
16825 2001-04-13 Juergen Vigna <jug@sad.it>
16827 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16828 (LyXTabular): tried to minimize operator= operations (and realized
16829 hopfully Lars wish).
16831 2001-04-27 Juergen Vigna <jug@sad.it>
16833 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16835 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16837 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16839 * buffer.C (readInset): hack to make listof algorithm work
16841 * BufferView_pimpl.C: hack to make listof algorithm work
16843 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16845 * LyXAction.C: removed all !NEW_INSETS cruft
16846 (init): moved lfun_item in method
16848 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16850 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16852 * BufferView2.C (theLockingInset): white space.
16854 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16856 * minibuffer.C: include <iostream>
16858 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16860 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16862 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16864 * text.[Ch] (TransposeChars): new method
16866 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16868 * call message directly through LyXView instead of through LyXFunc
16869 * BufferView2.C: adjust
16870 * BufferView_pimpl.C: adjust
16871 * FontLoader.C: adjust
16873 * bufferview_funcs.C: adjust
16874 * converter.C: adjust
16875 * figureForm.C: adjust
16876 * importer.C: adjust
16878 * lyx_gui_misc.C: adjust
16879 * lyxfunc.C: adjust
16882 + more files in subdirs
16884 * lyxparagraph.h (size): move up int file
16887 * adjust all uses of Assert to lyx::Assert.
16889 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16890 lyxfunctional in namespace lyx
16891 * layout.C (hasLayout): ditto
16894 (delete_layout): ditto
16895 (NumberOfClass): ditto
16896 * converter.C (GetFormat): ditto
16901 * bufferlist.C (getFileNames): ditto
16902 (emergencyWriteAll): ditto
16905 * MenuBackend.C (hasSubmenu): ditto
16908 * BufferView_pimpl.C (getInsetByCode): ditto
16910 2001-04-18 Juergen Vigna <jug@sad.it>
16912 * vspace.C (asLatexString): fixed the 100% problem.
16914 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16916 * lyxfunc.C (Dispatch):
16918 * minibuffer.h: add a few std:: qualifiers
16920 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16922 * minibuffer.[Ch]: reimplement so that commands is initiated and
16923 run from lyxfunc, simplified som handling, and made the completion
16924 and history code for complete. wip.
16926 * lyxfunc.C (processKeySym): call message
16927 (miniDispatch): new temporary method
16928 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16929 (LFUN_MESSAGE): implement
16930 (LFUN_MESSAGE_PUSH): implement
16931 (LFUN_MESSAGE_POP): implement
16932 (initMiniBuffer): the initial/defualt minibuffer message.
16934 * lyxfont.[Ch]: inline some more getters
16936 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16938 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16940 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16941 (AutoSave): use LFUN_MESSAGE
16942 (Reconfigure): ditto
16944 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16946 * figureForm.C: use LFUN_MESSAGE
16948 * converter.C (runLaTeX): use LFUN_MESSAGE
16950 * bufferview_funcs.C: use LFUN_MESSAGE
16952 (changeDepth): ditto
16954 * bufferparams.h: use boost::
16956 * bufferlist.h: inherit privately from noncopyable
16958 * bufferlist.C (loadLyXFile): remove some commented code.
16960 * buffer.C (runChktex): use LFUN_MESSAGE
16962 * ShareContainer.h: inherit privately from noncopyable
16964 * ParagraphParameters.[hC] (depth): inline it.
16966 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16968 (message): new method
16969 (messagePush): ditto
16970 (messagePop): ditto
16971 (show): init minibuffer
16972 (showState): direct call
16974 * LaTeX.[Ch]: inherit privately from noncopyable
16975 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16976 instead of WriteStatus.
16978 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16980 * BufferView_pimpl.C (buffer): don't init minibuffer
16981 (workAreaButtonPress): use LFUN_MESSAGE
16982 (workAreaButtonRelease): ditto
16983 (savePosition): ditto
16984 (restorePosition): ditto
16985 (MenuInsertLyXFile): ditto
16986 (workAreaExpose): don't init minibuffer
16987 (update): remove commented code, simplify
16989 * BufferView2.C (openStuff): use LFUN_MESSAGE
16990 (toggleFloat): ditto
16993 (copyEnvironment): ditto
16994 (pasteEnvironment): ditto
16999 (updateInset): remove some commented code
17001 * lastfiles.h: inherit privately from noncopyable
17004 * lyx_main.h: ditto
17006 * lyxlex_pimpl.h: ditto
17008 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17009 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17010 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17012 * LyXAction.h: inherit privately from noncopyable, add methods
17013 func_begin, func_end, returning iterators to the func map.
17015 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17016 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17017 (func_begin): new method
17018 (func_end): new method
17020 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17022 (copySelection): ditto
17023 (pasteSelection): ditto
17025 * BufferView.C: whitespace change
17026 * BufferView.h: inherit privately from noncopyable
17028 2001-04-16 Allan Rae <rae@lyx.org>
17030 * tabular-old.C (l_getline):
17031 * spellchecker.C (sc_check_word):
17032 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17033 an unrecognised preprocessor directive. So ensure they're wrapped.
17035 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17037 * src/exporter.C (Export): Give an error message when path to file
17040 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17042 * LaTeX.C (deplog): Always check that foundfile exists.
17044 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17047 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17049 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17051 * tabular.[Ch] (getLabelList): implement new method
17053 * minibuffer.h: comment ouf setTiimer
17055 * minibuffer.C (ExecutingCB): constify res
17056 (peek_event): constify s
17057 (Set): constify ntext
17058 (Init): constify nicename
17060 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17062 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17063 (savePosition): use two params to Minibuffer::Set
17064 (restorePosition): ditto
17066 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17068 * lyx_main.C: include language.h
17070 * Makefile.am (lyx_main.o): add language.h
17072 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17078 * CutAndPaste.C: include gettext.h
17080 * lyxfont.h: remove old hack with ON and OFF.
17083 * lyxfont.h: do not include language.h...
17088 * bufferview_funcs.C:
17094 * paragraph.C: ... but do it here instead
17096 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17098 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17100 * tabular.C: small reformat
17102 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17105 (BreakParagraph): ditto
17106 (SetOnlyLayout): ditto
17109 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17112 * lastfiles.C: removed most using decl, add std:: where needed
17114 * buffer.C: ws changes
17116 * MenuBackend.C (class compare_format): put into anon namespace
17117 (expand): constify label, names, action, action2
17120 * text.C (SingleWidth): constify font
17121 (IsBoundary): constify rtl2
17122 (GetVisibleRow): constify ww
17124 * LaTeX.C (deplog): constify logfile
17126 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17128 (workAreaExpose): constify widthChange, heightChange
17130 * lyxrow.C (par): moved
17133 * lyxrow.h: as inlines here
17135 * lyxfont.h (shape): moved from lyxfont.C
17136 (emph): moved from lyxfont.C
17138 * lyxfont.C (LyXFont): use initialization list for all
17140 (shape): move to lyxfont.h as inline
17141 (emph): move to lyxfont.h as inline
17144 2001-04-04 Juergen Vigna <jug@sad.it>
17146 * vspace.C: had to include stdio.h for use of sscanf
17148 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17151 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17152 independent of xforms.
17154 2001-04-02 Juergen Vigna <jug@sad.it>
17156 * spellchecker.C: fixed namespace placing!
17158 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17160 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17161 the LyXParagraph * is 0.
17163 2001-03-29 Juergen Vigna <jug@sad.it>
17165 * vspace.C: added support for %, c%, p%, l%.
17166 (stringFromUnit): added helper function.
17167 (asLatexString): changed to give right results for the %-values.
17169 * buffer.C: convert the widthp in a width%.
17171 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17173 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17176 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17177 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17179 * lyx_cb.[Ch]: see above.
17181 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17185 * lyx.[Ch]: replaced by figure_form.[Ch].
17189 * lyxfunc.C: changed headers associated with above changes.
17191 2001-03-27 Juergen Vigna <jug@sad.it>
17193 * BufferView_pimpl.C: set the temporary cursor right!
17195 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17197 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17199 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17201 * LString.h: removed "using std::getline"!
17203 * BufferView_pimpl.C (Dispatch): changes due to changes in
17204 InsetInclude::Params.
17206 * buffer.C (tag_name): removed redundant break statements as they were
17207 producing lots of warnings with my compiler.
17209 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17211 * LString.h: add "using std::getline" when using the real <string>.
17213 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
17215 * buffer.C: removed bitset usage.
17216 PAR_TAG moved to an anonymous name space.
17217 (tag_name): new funtion, also in the anonymous namespace.
17218 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17219 (makeDocBookFile): clean code. Completed transition from string arrays
17221 (SimpleDocBookOnePar): code clean.
17223 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17225 * tabular.C: add some comments.
17227 2001-03-22 Juergen Vigna <jug@sad.it>
17229 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17230 compatibility read a bit and fixed bug with minipage in different
17233 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
17235 * buffer.C (pop_tag): removed.
17236 (push_tag): removed.
17237 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17238 array replaced with vector. Added support for CDATA sections.
17239 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17241 (makeDocBookFile): XML conformant declaration of CDATA section,
17242 fixed bug related to <emphasis> in the first paragraph char.
17243 (sgmlOpenTag): exclude empty tags.
17244 (sgmlCloseTag): ditto.
17246 * buffer.h (pop_tag): removed.
17247 (push_tag): removed.
17249 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17251 * language.h (Languages): added size_type and size().
17253 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17255 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17256 response on compability reading of minipages. One probliem is that
17257 the old usage of minipages was «flertydig»
17259 * several files here and in subdirs: don't use static at file
17260 scope use anon namespaces instead.
17262 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17264 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17265 LaTeX output. This is necessary for Literate document
17268 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17270 * buffer.C: insert hfill when needed.
17272 * tabular.C (l_getline): use string::erase, small whitespace change.
17274 * BufferView_pimpl.C: try the anon namespace.
17275 * WorkArea.C: ditto
17277 2001-03-16 Juergen Vigna <jug@sad.it>
17279 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17280 otherwise it won't open options-dialogs.
17282 * buffer.C: honor pextraWidth(p) on converting minipages.
17284 * tabular.C (l_getline): changed the functions to strip trailing \r.
17286 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17288 * BufferView_pimpl.C:
17289 * minibuffer..C: added "using SigC::slot" declaration.
17291 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17293 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17299 * paragraph.C: ditto
17301 * lyxtext.h: NO_PEXTRA
17303 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17305 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17306 * ParameterStruct.h: ditto
17307 * ParagraphParameters.h: ditto
17308 * lyxparagraph.h: ditto
17310 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17312 * buffer.C: add compability for minipage alignment.
17313 (latexParagraphs): remove unwanted pextra check.
17315 * several files: remove CXX_WORKING_NAMESPACES
17317 * buffer.C (pop_tag): tie is in namespace boost
17319 * BufferView.h: noncopyable is in namespace boost
17321 * lyx_main.h: ditto
17324 * lastfiles.h: ditto
17325 * bufferlist.h: ditto
17326 * ShareContainer.h: ditto
17328 * LyXAction.h: ditto
17331 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17333 * Merging changes from BRANCH_MVC back into HEAD.
17335 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17337 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17339 * BufferView_pimpl.C: change from intl.C
17343 * Makefile.am: move combox.*
17349 * intl.C: remove dialog (covered by prefs)
17351 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17353 * lyxfunc.C (Dispatch): removed redundant break statement.
17355 2001-03-14 Juergen Vigna <jug@sad.it>
17357 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17359 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17361 * buffer.C: add hack to fix compability reading of minipages.
17363 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17365 * buffer.C (getLists): Cleanup.
17367 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17369 * lyxfont.C (update): don't honor toggleall on font size.
17371 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17375 * Makefile.am: moved to frontends/xforms/
17379 * BufferView_pimpl.C: changes for moved mathpanel
17381 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17383 * gettext.h: fix gettext_init() in --disable-nls
17385 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17387 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17389 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17392 * lyx.h: strip external form
17394 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17396 * BufferView_pimpl.C: add comment, destroySplash()
17398 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17400 * BufferView_pimpl.C:
17404 * lyxfunc.C: use re-worked insetinclude
17406 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17408 * buffer.C: add using std::stringstream.
17410 * lyx_cb.C: readd using std::ios.
17412 * buffer.C: add using std::map.
17414 * BufferView_pimpl.C: add using std::vector.
17416 * ShareContainer.h: add std:: to swap.
17418 * buffer.h: add some typedefs
17419 * buffer.C (getLists): use them
17420 (getLists): renamed from getTocList.
17421 add a counter for the different float types and use it in the
17423 (getLists): use the same counter for the NEW_INSETS and the "non"
17426 * lyx_cb.h: remove unused items, includes, using etc.
17428 * ShareContainer.h: remove some commented code, add more comments
17429 and "documentation".
17431 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17433 * buffer.C (getTocList): make the list also when NEW_INSETS is
17436 * buffer.h: remove TocType
17438 * buffer.C (getTocList): change to return a map<string,
17439 vector<TocItem> >, implement for dynamic number of list.
17441 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17442 * text2.C (PasteSelection): adjust
17443 * CutAndPaste.C (pasteSelection): adjust
17445 * FloatList.C (FloatList): update from the new_insets branch.
17446 * Floating.[Ch]: ditto
17447 * LaTeXFeatures.C: ditto
17449 * lyxlex_pimpl.C: ditto
17451 * paragraph.C (Last): remove when NEW_INSETS is defined.
17453 * other file: changes because of the above.
17455 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17457 * lyxparagraph.h: rename next to next_, previous to previous_,
17458 make them private for NEW_INSETS. Rename Next() to next(),
17459 Previous() to previous().
17461 * other files: changes because of the above.
17463 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17466 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17469 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17471 * main.C (main): pass lyx_localedir to gettext_init().
17473 * gettext.h: remove locale_init and gettext_init macros
17475 * gettext.C (locale_init): new function
17476 (gettext_init): new function
17478 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17481 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17483 * Moved credits to frontends:
17484 * credits.[Ch]: removed
17485 * credits_form.[Ch]: removed
17486 * lyx_gui_misc.C: remove credits stuff
17489 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17491 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17493 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17494 unneeded destructor.
17496 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17497 a standalone pointer again.
17499 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17501 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17507 * ToolbarDefaults.C:
17516 * BufferView_pimpl.C: use new file dialog in GUII
17519 * lyx_cb.C: remove LayoutsCB to Toolbar
17521 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17523 * ShareContainer.h (get): add std:: qualifier
17525 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17527 * ShareContainer.h: define a proper ShareContainer::value_type
17528 type (and use typename to please compaq cxx)
17530 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17532 * lyxparagraph.h: move serveral local vars to
17533 ParameterStruct/ParagraphParameters., use ShareContainer in
17534 FontTable., make vars in FontTable private and add getter and
17537 * paragraph.C: changes because of the above.
17539 * lyxfont.h: remove copy constructor and copy assignment. (the
17540 default ones is ok), move number inside FontBits. move inlines to
17543 * lyxfont.C: add number to initializaton of statics, move several
17544 inlines here. constify several local vars. some whitespace
17545 cleanup. Dont hide outerscope variables.
17547 * Spacing.h: add two new constructors to match the set methods.
17549 * ShareContainer.h: new file, will perhaps be moved to support
17551 * ParameterStruct.h: new file
17553 * ParagraphParameters.h: new file
17555 * ParagraphParameters.C: new file
17557 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17558 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17560 * BufferView_pimpl.C: ParagraphParameter changes.
17561 * buffer.C: Likewise.
17562 * bufferview_funcs.C: Likewise.
17563 * text.C: Likewise.
17564 * text2.C: Likewise.
17566 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17568 * lyxfind.C (LyXReplace): do not redefine default argument in
17570 (IsStringInText): ditto
17571 (SearchForward): ditto
17572 (SearchBackward): ditto
17574 2001-03-06 Juergen Vigna <jug@sad.it>
17576 * lyxfind.C (IsStringInText): put parentes around expressions.
17578 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17580 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17582 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17584 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17586 * stl_string_fwd.h: add comment
17588 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17591 * tabular.C: remove unused DocBook methods
17597 killed DO_USE_DEFAULT_LANGUAGE
17599 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17601 * lyx_gui.C: do not include language.h.
17603 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17604 arguments in function implementation.
17606 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17608 * BufferView_pimpl.C: add <ctime>
17610 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17612 * BufferView_pimpl.C: add using std::find_if
17614 2001-02-27 José Matos <jamatos@fep.up.pt>
17616 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17619 2001-02-11 José Matos <jamatos@fep.up.pt>
17621 * buffer.C (makeDocBookFile): command styles now have a parameter as
17622 "title" by default.
17624 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17626 * layout_forms.[Ch]: removed
17627 * lyx_cb.[Ch]: out character
17628 * lyx_gui.C: out character
17629 * lyx_gui_misc.C: out character
17630 * bufferview_funcs.C: : out character,
17631 added toggleall as parameter in ToggleAndShow
17633 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17635 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17637 * text2.C (SetCurrentFont): Disable number property at boundary.
17639 2001-02-26 Juergen Vigna <jug@sad.it>
17641 * lyxfunc.C (getStatus): added a string argument override function so
17642 that this is correctly called from LyXFunc::Dispatch if it contains a
17643 do_not_use_argument which is used!
17644 (Dispatch): added check for "custom" export and call appropriate func.
17646 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17648 * lyxrc.C: Add language_command_local, language_use_babel and
17649 language_global_options.
17651 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17653 * buffer.C (makeLaTeXFile): Use language_use_babel and
17654 language_global_options.
17656 2001-02-23 Juergen Vigna <jug@sad.it>
17658 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17659 which works with LyXText and putted it inside BufferView. Here now we
17660 only call for that part the BufferView::Dispatch() function.
17662 * BufferView.C (Dispatch): added.
17664 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17665 functions which needs to use a LyXText over from LyXFunc.
17666 (MenuInsertLyXFile): added
17667 (getInsetByCode): added
17668 (moveCursorUpdate): added
17669 (static TEXT): added
17671 2001-02-22 Juergen Vigna <jug@sad.it>
17673 * BufferView_pimpl.C (update): call a status update to see if LyXText
17676 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17678 * vc-backend.C (revert): implement for CVS
17679 (getLog): implement for CVS
17681 2001-02-20 Juergen Vigna <jug@sad.it>
17683 * text2.C (ClearSelection): added BufferView param for inset_owner call
17685 * lyxfunc.C (TEXT): added this function and use it instead of
17686 directly owner->view()-text of getLyXText().
17688 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17690 * src/layout_forms.C: out preamble
17691 * src/layout_forms.h: out preamble
17692 * src/lyx_cb.C: out preamble
17693 * src/lyx_cb.h: out preamble
17694 * src/lyx_gui.C: out preamble
17695 * src/lyx_gui_misc.C: out preamble
17696 * src/lyxfunc.C: connect with guii preamble
17698 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17700 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17702 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17704 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17705 whether to run bibtex.
17707 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17709 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17711 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17713 * Makefile.am (lyx_SOURCES): removed bibforms.h
17715 * vspace.h: doxygen
17717 * text.C (GetVisibleRow): make several local vars const
17719 * tabular.C: small cleanup.
17721 * lyxserver.C (callback): use compare instead of strncmp
17723 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17724 inlines to after class or to paragraph.C
17726 * lyxfont.h: remove friend operator!=
17728 * converter.h: move friend bool operator< to non friend and after
17731 * combox.h: small cleanup
17733 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17734 to inlines after class def.
17736 * buffer.C (pop_tag): use string operations instead of strcmp
17738 * bmtable.c: doxygen, small cleanup
17740 * LaTeX.h: remove friend operator==
17742 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17754 * BufferView_pimpl.C:
17755 * BufferView.[Ch]: remove cruft
17757 2001-02-14 Juergen Vigna <jug@sad.it>
17759 * lyxfunc.C: removed #if 0 unused code
17761 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17763 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17765 * text2.C (SetSelection): added a BufferView * parameter
17767 2001-02-13 Juergen Vigna <jug@sad.it>
17769 * lyxfunc.C (Dispatch): fixed protected blank problem.
17770 * BufferView2.C (protectedBlank): added LyxText * parameter.
17772 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17773 (AppendColumn): same as above for column_info.
17775 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17776 (moveCursorUpdate): use a LyXText param for support of InsetText.
17778 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17779 (tripleClick): ditto
17781 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17783 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17785 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17787 * text2.C (SetSelection): set correct update status if inset_owner
17788 (ToggleFree): ditto
17790 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17792 * tabular.C: remove some commented code.
17794 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17796 * BufferView_pimpl.C: call hideSplash()
17798 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17801 * bibforms.h: remove
17804 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17805 add LFUN_CHILD_CREATE
17807 * counters.h: fix tiny typo
17812 * lyx.C: move splash to frontends/xforms/
17814 * lyx_gui_misc.C: move Include and Bibform to frontends
17816 * lyxvc.h: clarify comment
17818 * vspace.C: tiny housekeeping
17820 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17822 * text.C (PrepareToPrint): RTL Fix.
17824 * paragraph.C (GetUChar): New method.
17825 (String): Use GetUChar.
17827 * buffer.C (asciiParagraph): Use GetUChar.
17829 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17831 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17833 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17836 * buffer.C: rename to getLogName(), handle
17837 build log / latex log nicely
17839 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17842 * MenuBackend.h: remove support for reference menuitem type.
17844 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17846 * BufferView_pimpl.C: housekeeping
17847 * BufferView_pimpl.h:
17852 * minibuffer.h: move Timeout GUI-I
17854 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17856 * lyxrc.C (read): Update converters data-structures.
17858 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17860 * LaTeX.h (operator!=): add operator != for Aux_Info
17862 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17864 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17866 * LaTeXLog.C: deleted, useful code moved to Buffer
17869 * buffer.C: new function getLatexLogName()
17875 * lyxfunc.C: use frontends for LaTeX and VC logs
17877 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17879 * LaTeX.h: yet another std:: that Allan forgot.
17881 * Variables.C (set): renamed from isset(), because this clashes
17882 with some HP-UX macros (grr).
17884 2001-02-06 Allan Rae <rae@lyx.org>
17886 * LaTeX.h: Another bug fix. Missing std:: this time.
17888 2001-02-04 Allan Rae <rae@lyx.org>
17890 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17891 floats problem. I've left it commented out because it's not quite
17892 correct. It should also test that the current object is a table or
17893 figure inset. But I haven't gotten around to figuring out how to do
17894 that. I *think* it'll be something like: "table" == inset.type()
17896 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17899 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17901 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17902 all the citation/databases/styles in the auxilary file.
17903 (run): Rerun latex if there was a babel language error.
17905 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17907 * text.C (Backspace): Preserve the font when changing newline char
17909 (BreakParagraph): If the cursor is before a space, delete the space.
17911 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17913 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17915 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17916 new argument (code).
17917 (ChangeCitationsIfUnique): New method.
17919 * paragraph.C (GetPositionOfInset): Handle bibkey.
17921 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17923 * BufferView_pimpl.h: change type of Position::par_pos to
17924 LyXParagraph::size_type.
17926 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17928 * BufferView_pimpl.C (savePosition, restorePosition): Write
17929 messages to minibuffer.
17931 2001-01-28 José Matos <jamatos@fep.up.pt>
17933 * buffer.C (makeDocBookFile): adds support for document language.
17934 A silly restriction on the name of LatexCommand types where removed.
17935 Added support for CDATA sections, allows to chars unescaped, used
17936 among others in code, to avoid escape < and >.
17938 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17940 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17941 saved positions instrad of a stack. Furthermore, a position is
17942 stored using paragraph id/paragraph position.
17944 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17945 Remove LFUN_REF_BACK.
17947 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17949 * converter.C (dvipdfm_options): New method.
17951 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17953 * vspace.C (isValidLength): Fix for empty input string.
17955 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17957 * LyXAction.C (init): change description of LFUN_FIGURE to
17960 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17962 * LaTeX.C: add using directive
17964 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17966 * MenuBackend.C (expand): Fix the sorting of the formats.
17968 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17970 * lyx_main.C: tiny error message fix
17972 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17974 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17975 calling fl_initialize(). This fixes the problem with ',' as
17976 decimal separator in text files.
17978 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17980 * trans.C (process): Fix the keymap bug.
17982 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17984 * LaTeX.C (scanAuxFiles): New method. Provides support for
17985 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17986 (scanLogFile) Scan for "run BibTeX" messages.
17988 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17989 OT1 font encoding. Also, load the aecompl package if the ae
17992 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17994 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17996 * texrow.C (increasePos): turn two error messages into debug
17999 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18001 * LaTeX.C (scanAux): Handle the \@input macro.
18002 (runBibTeX): Use scanAux().
18004 * language.C (latex_options_): New field.
18006 * LaTeXFeatures.C (getMacros): Add language macros.
18008 * buffer.C (makeLaTeXFile): Small fix.
18010 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18012 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18014 * text2.C: add a using directive.
18016 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18021 * lyxfunc.C: kill LyXBell.
18023 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18025 * text.C (IsBoundary): Remove the error message
18027 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18029 * lyxrc.C (setDefaults): Correct initialization value for
18032 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18034 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18037 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18038 and GotoNextNote().
18040 * src/LyXAction.C: Added reference-next.
18042 * text.C (InsertChar): Use contains instead of strchr.
18044 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18046 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18048 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18049 alignment commands (when needed).
18051 * text.C (InsertChar): Add ':' to number separator chars.