1 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
3 * lyx_main.C (init): change some reLyX reference to tex2lyx
5 2005-07-16 Juergen Vigna <jug@lyx.org>
7 * dociterator.C (DocIterator): initialize boundary
9 2005-07-16 Juergen Vigna <jug@lyx.org>
11 * text2.C (getColumnNearX): Consider rows without trailing blank.
13 2005-07-16 André Pönitz <poenitz@gmx.net>
15 * lyxfont.h: Change order of declarations to give the compiler
16 a better chance to inline things
18 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
19 questions on unsaved docs for better scritability
21 2005-07-16 André Pönitz <poenitz@gmx.net>
23 * paragraph.h (getChar): remove asserts as the same kind of security
24 can be achieved by using a suitable standard library implementation
25 and the function was in the critical path (25.9% in profiler)
27 2005-07-16 Juergen Vigna <jug@lyx.org>
29 * cursor.C (bruteFind2):
30 * bufferview_funcs.C (coordOffset):
31 * text.C (cursorX,cursorY): Handle cursor position after last char
32 in row before a inset which uses a whole row.
34 2005-07-15 José Matos <jamatos@lyx.org>
36 * output_plaintext.[Ch] (writeFileAscii): control reference title
38 (asciiParagraph): noparbreak was already deal and was incorrectly
41 2005-07-15 Juergen Vigna <jug@lyx.org>
43 * lyxfunc.C (dispatch): save and restore the cursor after a
46 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
48 * text.C (backspace): bug 806 for empty keepempty paragraphs we
49 change the layout to default before letting DEPM do its thing.
51 * paragraph_funcs.C (breakParagraph): dont reset the layout on
54 * text.C (setCursorFromCoordinates): add a debug statement
56 * text2.C (getColumnNearX): bug 1825 make sure that we don't
57 return a pos that is not on the row
59 * output_latex.C (TeXDeeper): get rid of potential dereferencing
60 of past the end iterator
62 2005-07-14 André Pönitz <poenitz@gmx.net>
64 * undo.C (recordUndoFullBuffer): implement undo for
67 2005-07-14 André Pönitz <poenitz@gmx.net>
69 * cursor.C (setSelection): open insets when selection is set there
70 to avoid crashs with cold coord cache
72 2005-07-14 André Pönitz <poenitz@gmx.net>
74 * trans_mgr.C (insert): move cursor to the right after inserting
77 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
79 * BufferView_pimpl.C (update): dampen some of the debug blabbering
80 * factory.C (readInset): ditto
81 * text.C, text2.C: ditto
83 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
85 * buffer.C: format incremented to 242. There is no file format per
86 se, but the "frenchb" language has been removed from lib/language
87 and has to be translated to "french" by lyx2lyx.
89 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
91 * cursor_slice.h, dociterator.h: add some documentation
92 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
94 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
96 * text.C (leftMargin): do not add identation to display() style
97 insets, because they are always centered (bug 1293).
99 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
101 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
102 formatted_time methods in support/lyxtime.
104 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
106 * toc.[Ch]: new method getGuiName, which is used by the frontends
107 to set the toc combo (fixes bug 1870). Make TOC string translatable.
109 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
111 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
112 StableDocIterator const &)
113 * undo.C (recordUndo): use the above instead of cell.size() comparison
114 (fixes bug 1808; instructed by André).
116 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
119 * dociterator.h: Fix the assert when copying rows/cols in math
121 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
123 * BufferView_pimpl.C:
125 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
127 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
128 (findInset): new functions, refactored from goto Inset that return
129 the position of a certain inset without setting the buffer's cursor
131 (gotoInset): rewrite to call findInset and then set the cursor
134 2005-06-16 Angus Leeming <leeming@lyx.org>
136 * lyxrc.C (output, read): wrap all input and output of paths with
137 calls to os::internal_path and os::external_path, respectively.
138 (output): wrap bind_file inside quotes.
140 * format.C (view): enable the viewer to use the '$$s' placeholder.
142 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
144 * LColor.[Ch] (getFromLaTeXName): new
146 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
148 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
150 2005-06-14 Angus Leeming <leeming@lyx.org>
152 * lyx_main.C (init): ensure that the LyX binary dir is the first
153 element in the PATH on non-POSIX builds.
155 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
157 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
159 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
161 * rowpainter.C (paintInset, paintHebrewComposeChar)
162 (paintArabicComposeChar, paintChars): add a LyXFont argument.
163 (paintChars): use getFontSpan to reduce calls to getFont to a
164 minimum; use Paragraph::lookupChange instead of isXXXText.
165 (paintForeignMark): rename LyXFont argument.
166 (paintFromPos): pass a LyXFont object to the various paintXXX
169 * FontIterator.C (FontIterator, operator++): use
170 Paragraph::getFontSpan
172 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
173 version that returns the font span as a pair.
175 2005-06-09 Angus Leeming <leeming@lyx.org>
177 * converter.C (convert): Don't forget "outfile = real_outfile" as
178 the final step in a conversion where the input and output file names
179 are the same. Otherwise, future conversion steps won't work...
181 2005-06-09 Angus Leeming <leeming@lyx.org>
183 * lyxsocket.C: remove stub code as it isn't needed by
184 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
186 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
188 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
189 effectively disabled -x
191 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
193 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
194 when it actually makes sense.
196 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
198 * BufferView_pimpl.C: revert to showCursor in connection with
199 Lars's front-end stack
201 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
203 * text.C (redoParagraph): move cursor right after a bibitem
206 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
208 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
210 * buffer_funcs.C (bufferErrors): fix computation of the end of an
213 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
215 * BufferView.[Ch] (update):
216 * BufferView_pimpl.[Ch] (update, metrics):
217 * dimension.h (operator==):
218 * lyxfunc.C (dispatch):
219 * metricsinfo.h (ViewMetricsInfo):
220 * rowpainter.C (paintText):
222 * text.C (redoParagraph):
223 * text3.C (dispatch): Make LyX only repaint current paragraph in
224 case of character insert --> speedup. Also fix cursor draw
227 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
229 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
230 avoid a crash (bug 1891)
232 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
236 * text2.C (getStringToIndex): constify cur argument.
238 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
239 argument has been given
240 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
241 try to invoke LFUN_INSET_APPLY).
243 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
244 if no inset was created by doInsertInset
245 (doInsertInset): return true if an inset has been inserted.
247 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
249 * vspace.C (asGUIName): new method. A version of the space
250 suitable for showing on screen.
252 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
255 * lyxrc.C: rename "ASCII" to "Plain Text"
257 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
259 * buffer_funcs.C (expandLabel): take a Buffer as argument;
260 translate the labelstring.
261 (setCounter): translate labelstring as needed.
263 * output_docbook.C (makeCommand): fix expandLabel invokation
265 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
267 * BufferView.C: fix dialog title
269 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
271 * lyx_main.C (priv_exec): fix logic error with help from Angus
272 * lyx_main.C (parse_execute): set is_gui = false and remove now
273 obsolete comment about a segfault
275 2005-05-18 Angus Leeming <leeming@lyx.org>
277 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
279 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
281 * tabular.[hC]: added setCellInset to fix tabular paste.
283 2005-05-11 Lars Gullik Bjonnes <larsbj@gullik.net>
285 * buffer.C (save): check if destination is writable before trying
288 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
290 * BufferView_pimpl.C (update): fix processEvents -caused update
293 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
295 * buffer_funcs.C (setCounter): fix test for numbering of
298 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
299 depth correctly; use optional argument when it exists
301 * lyxtextclass.C: remove unused MaxCounterTags enum
302 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
303 (max_toclevel, min_toclevel): new methods.
305 * MenuBackend.C (expandToc2): fix case where depth is smaller than
306 the smallest depth in toc.
308 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
309 layouts that should not appear in a table of contents.
311 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
313 * cursor.h (undispatched, noUpdate): add comments from André
315 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
319 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
321 2005-05-07 André Pönitz <poenitz@gmx.net>
323 * cursor.[Ch] (leaveInset): new function
325 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
327 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
329 2005-05-04 Angus Leeming <leeming@lyx.org>
331 * lyxfunc.C (getStatus): disable the spell checker dialog if
332 none of USE_[AIP]SPELL are defined.
334 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
336 * tabular.C (setWidthOfCell): remove obsolete comment
338 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
340 * paragraph.C (bibitem):
341 * buffer_funcs.C (setCounter):
342 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
344 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
346 * text3.C (getStatus): immediately return after setOnOff
348 * rowpainter.C: fix drawing of appendix start
350 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
352 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
353 SwitchBetweenClasses and remove the unused return value.
354 Handle character styles, too
356 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
358 * factory.C (createInset): handle undefined character styles
360 2005-05-02 Angus Leeming <leeming@lyx.org>
362 * buffer.C: protect the #include of utime.h with a preprocessor
365 2005-05-02 Angus Leeming <leeming@lyx.org>
367 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
368 function so that auto-saving works, albeit in a blocking manner.
370 * Makefile.am: make compilation of the client sub directory, of
371 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
372 on conditionals set at configure time.
374 * SpellBase.[Ch]: no longer an abstract base class. Instead,
375 it can be compiled in its own right but has no-op functionality.
377 * aspell.C, pspell.C: remove preprocessor guards. The files should
378 be compiled only if the necessary functionality exists.
380 * lyxserver.C, lyxsocket.C: disable on Windows.
382 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
384 * text.C (leftMargin): Fix the parindent use bug (1764)
387 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
389 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
392 2005-04-25 Angus Leeming <leeming@lyx.org>
400 include <config.h> in .C files, not .h ones.
402 protect headers inside preprocessor guards.
404 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
406 * FuncStatus.h (StatusCodes): document
408 2005-04-21 André Pönitz <poenitz@gmx.net>
410 * FuncStatus.h (enabled, onoff): document
412 2005-04-19 Angus Leeming <leeming@lyx.org>
414 * BufferView_pimpl.C (cursorToggle): no longer test whether
415 any child processes have been reaped before calling
416 handleCompletedProcesses().
418 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
420 * text3.C (dispatch): fix, finally fix, the language problem in
421 new lyxtexts, without disabling on-the-fly font changes (Helge's
424 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
426 * text3.C (dispatch): set cursor on double/triple click events
429 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
431 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
432 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
434 * rowpainter.C (paintFirst): simplify the code a little bit. In
435 particular, remove the test for secnumdepth.
436 * text.C (setHeightOfRow): only allocate space for chapter number
437 when updateCounters provided an actual label, instead of looking
438 at secnumdepth directly.
440 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
442 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
443 paragraphs when secnumdepth is large enough or, for environments,
444 when they are not the first in a sequence.
446 2005-04-17 Angus Leeming <leeming@lyx.org>
448 * buffer.C (makeLaTeXFile): replace code to manipulate a path
449 containing space and '~' characters with a call to latex_path().
451 2005-04-17 Angus Leeming <leeming@lyx.org>
453 * converter.C (convert): protect all args of convertDefault.sh
456 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
458 * text3.C (dispatch): change the layout to "Caption" after inserting
461 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
463 * text3.C (dispatch): fix language problem in newly created
464 textinsets (and main text) in non-english docs
466 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
468 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
469 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
470 * text3.C (getStatus): disable LFUN_INSET_MODIFY
472 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
477 * rowpainter.C (getFont): Fix metrics bug introduced by inset
480 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
482 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
483 output of \item arguments without trailing text.
485 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
487 * FontIterator.C (operator*): avoid a copy of the font.
489 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
491 * rowpainter.C (getFont): fix language bug from previous fix
493 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
495 * rowpainter.C (RowPainter, getFont): fix font inside inset
498 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
500 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
501 preventing inserted font, deco, delim insets jumping to start of
504 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
506 * lyxfunc.C (dispatch): translate message before sending it to the
509 2005-03-29 Angus Leeming <leeming@lyx.org>
511 * lyx_main.C (priv_exec): call os::internal_path on each file passed
512 to LyX on the command line.
514 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
516 * vc-backend.C: use QuoteName to protect file names wherever
519 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
522 * BranchList.h: fix bugs 1844,1845: document settings don't
525 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
527 * lyxrc.C (setDefaults, read, output, getDescription): add support
528 for tex_allows_spaces.
530 * exporter.C (Export): allows files in directory containing spaces
531 if tex_allows_spaces is true.
533 * buffer.C (makeLaTeXFile): if the document path contains spaces,
534 output it in double quotes.
536 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
538 * rowpainter.C: use default text height for drawing change tracker
541 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
543 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
545 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
547 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
548 directory is missing.
550 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
552 * text2.C: fixed the fix, extended to other case.
554 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
556 * text2.C: fix for cursor up/down stuck in math [bug 1792]
558 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
560 * text2.C (cursorUp): get rid of a crash
561 * text.C (x2pos): add an assert
563 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
565 * lyxfunc.C (getStatus): fix warning when assertions are disabled
569 * dociterator.C: include <boost/current_function.hpp>, which is
570 needed when assertions are disabled.
572 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
574 * text2.C: fix for stuck cursor when traversing two
575 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
577 2005-02-25 Andreas Vox <avox@arcor.de>
579 * output_docbook.C (makeParagraph): suppress trailing newline
580 after a run of paragraphs
582 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
584 * paragraph.C: fix for confused change tracker when pasting
585 text that begins with a lineseparator. [bug 1827]
586 (setChange(0, Change::INSERTED);)
588 * paragraph_funcs.C: fix for lost changes on triple-paste
589 in change tracking mode [bug 1827] (par.setChange()).
591 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
593 * text2.C (updateCounters, setCounter, expandLabel): move to
596 * buffer_funcs.C (updateCounters): turn into a free standing
597 function and add a buffer parameter. Remove dead code for tracking
599 (setCounter): change into a free-standing function which gets a
600 dociterator as argument. Use this iterator to fix captions in a
601 simple way. When no float is found above the caption, use the
602 labelstring of the caption layout as default.
604 * text.C (breakParagraph, backspace):
605 * text2.C (init, setLayout, changeDepth):
606 * text3.C (dispatch):
607 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
610 * dociterator.C (forwardPar): make it much faster by calling
611 forwardPos() only when really necessary.
613 * output_docbook.C (makeCommand): adapt to expandLabel move.
615 * cursor.C: remove unused variable
617 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
619 * paragraph_funcs.C: fix crash when pasting insets in change
620 tracking mode [bug 1277] (honour change type in moveItem).
622 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
624 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
626 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
628 * BufferView.C (setCursor): change to use a DocIterator.
629 (gotoLabel): use BufferView::setCursor (other part of bug 781).
630 (putSelectionAt): adapt to BufferView::setCursor change.
632 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
633 moved here from LyXText and rewritten to use proper cursor
634 methods. Fixes bug 1787, 616 and 835.
636 * BufferView_pimpl.C (restorePosition): set the cursor correctly
637 when inside an inset (part of bug 781).
638 (dispatch): adapt to change of BufferView::setCursor.
639 (getStatus, dispatch): handle LFUN_GOTOERROR,
640 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
642 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
643 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
644 * text3.C (gotoNextInset, gotoInset): removed.
646 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
648 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
650 2005-02-15 Angus Leeming <leeming@lyx.org>
652 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
653 can be used meaningfully in a comparison.
655 2005-02-13 André Pönitz <poenitz@gmx.net>
657 * bufferview_funcs.C (coordOffset): improve cursor drawing
659 2005-02-13 André Pönitz <poenitz@gmx.net>
661 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
662 * Cursor.C (dispatch): use fixIfBroken
663 * lyxfunc.C (getStatus): use fixIfBroken
665 2005-02-15 Angus Leeming <leeming@lyx.org>
667 * lyx_main.C (error_handler):
669 * lyxrc.C (setDefaults):
671 #include "environment.h".
673 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
675 2005-02-15 Angus Leeming <leeming@lyx.org>
677 * lyxserver.C (startPipe): squash MSVC warning "local variable
678 'fd' used without having been initialized".
680 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
682 * BufferView_pimpl.C: revert accidental commit.
684 2005-02-14 André Pönitz <poenitz@gmx.net>
686 * dociterator.[Ch]: new member forwardPosNoDescent(),
687 which doesn't enter nested insets.
688 * text2.C (setFont): use forwardPosNoDescent() instead
689 of ForwardPos() (fixes crash on font change).
691 2005-02-13 Angus Leeming <leeming@lyx.org>
693 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
694 only if lyxrc.path_prefix is not empty.
696 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
698 * bufferparams.C (readGraphicsDriver): prevent crash
700 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
702 * text2.C (setCounter): check for inInset() == 0
704 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
706 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
707 but use update() to get correct screen display; use convert
708 instead of istringstream.
709 (getStatus): handle LFUN_GOTO_PARAGRAPH
711 * lyxfunc.C (dispatch, getStatus): do not handle
712 LFUN_GOTO_PARAGRAPH here.
714 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
716 * text3.C (dispatch): size() -> depth()
718 * text2.C: remove some debug output
720 * paragraph.C: ws changes only
722 * lyxfunc.C (getStatus): size() -> depth()
724 * dociterator.h (clear, push_back, pop_back, internalData,
725 operator[], resize, empty): new functions
726 Make StableDocIterator and operator== be friends. Don't inherit
727 from std::vector use a privat class variable slices_ instead.
730 * dociterator.C: update because of not inheriting from std::vector
731 anymore. Call explictly to slices_ instead. Use depth() instead of
732 size() and top() instead of back()
734 * cursor.C: chagne size() -> depth and back() -> top(). Also
735 remove some direct operator[](i) calls in favour of foo[i]
736 (getFont): remove some dead code
738 * bufferview_funcs.C (coordOffset): size() -> depth()
740 * buffer.C: ws changes only
742 * CutAndPaste.C (eraseSelection): back() -> top()
744 * BufferView_pimpl.C (selectionRequested): back() -> top()
746 * BufferView.C (setCursor): size() -> depth()
748 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
750 * text3.C (cursorPrevious): return true if depm changed something
752 (dispatch): rename sl to oldTopSlice, remove moving use the new
753 NoUpdate func attrib instead. Make sure that needsUpdate is set
754 for function that have NoUpdate, but where depm might have changed
757 * text2.C (cursorLeft): make us return true if depm changed
760 (cursorUpParagraph): ditto
761 (curosrDownParagraph): ditto
762 (cursorUp, cursorDown): ditto, make sure to read comments in code
763 (deleteEmptyParagraphMechanism): remove an assert, also return
764 true if just a single char was deleted.
766 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
767 cursor that we modify, to avoid modifying an active cursor before
768 we call setCursor. This allows depm to run. Also return true if
769 depm deleted something.
771 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
772 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
773 cursorDownParagraph, cursorPrevious and cursorNext, return true if
774 something was changed in the buffer because of them (ie. depm run)
776 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
777 debug messages. Make update by default be false. Make sure that
778 the result of update is retained throught several calls down to
781 * LyXAction.h: add a new func_attrib: NoUpdate
783 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
784 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
785 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
787 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
789 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
791 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
792 bv_->owner(), bv_->buffer() by direct references to the private
794 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
795 (getStatus): isSavedPosition() is in BufferView::Pimpl.
796 (fitCursor): center() is in BufferView::Pimpl.
797 (getStatus, trackChanges, dispatch): no need for a temporary buf
799 (fitCursor, workAreaDispatch): use workarea().workheight()
801 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
803 * CutAndPaste.C (pasteSelectionHelper): fix a crash
805 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
807 * buffer.C: format up to 241.
808 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
809 break if pasting into ERT
810 * lyxfunc.C (getStatus): suppress mathpanel and
811 LFUN_DIALOG_SHOW_NEW_INSET in ERT
813 2005-02-01 Angus Leeming <leeming@lyx.org>
815 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
817 2005-02-01 Angus Leeming <leeming@lyx.org>
819 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
820 calling fs::is_directory().
822 2005-01-31 Angus Leeming <leeming@lyx.org>
824 * lyx_main.C (priv_exec): specify explicitly the relative location
825 of the top level build directory when run in-place.
827 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
829 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
830 LyXText containing the cursor, not the top-level one.
832 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
834 (insertStringAsLines): rename par to pit; use temporary variable
835 par to hold a Paragraph; do not store par.layout() in a variable,
836 since the pointer may die when breaking paragraphs; pass pars to
837 breakParagraph() instead of Buffer::paragraphs().
839 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
841 * lyxlex_pimpl.h: #include <fstream>.
843 * BufferView.[Ch] (getLyXText): add a const version.
845 * BufferView_pimpl.C: add debug aids.
850 * paragraph_funcs.h: add commentary explaining what the class does.
853 * coordcache.[Ch]: add lots of commentary.
854 (startUpdating, doneUpdating): debug aids.
855 (arrays, insets, parPos, getParPos): accessors to private data.
857 * cursor_slice.[Ch] (text): add a const version.
858 * dociterator.[Ch] (text, innerText): add const versions.
860 * lyxtext.h (breakParagraph): change the keep_layout arg to a
863 * paragraph.C (getRow, pos2ros): add asserts.
865 * paragraph.h: add commentary. Lots of.
867 * paragraph.[Ch] (metrucs, draw): removed.
870 * rowpainter.[Ch]: const-correct changes.
872 * text.C: various obvious clean-ups. Removal of ancient cruft.
875 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
877 * vc-backend.C (find_file): rewrite to use boost.filesystem
880 * main.C (main): set default name check for boost.filesystem to
883 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
886 (actOnUpdatedPrefs): ditto
888 * lyx_main.C (init): rewrite to use boost.filesystem
889 (queryUserLyXDir): ditto
891 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
892 (getContentsOfAsciiFile): ditto
894 * lastfiles.C (readFile): rewrite to use boost.filesystem
896 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
898 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
901 * buffer.C (Buffer): adjust for destroydir
902 (getLogName): rewrite to use boost.filesystem
904 (save): use fs::copy_file (from fs_extras)
906 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
908 * LaTeX.C (run): rewrite to use boost.filesystem
909 (scanAuxFiles): ditto
910 (handleFoundFile): ditto
912 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
914 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
916 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
918 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
920 * lyxlayout.[Ch]: change some vars from float to double
922 * buffer.C (readFile): make a local var const
924 * Several files: use convert<> instead of atoi,strToXXX and friends
926 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
928 * LaTeXFeatures.[Ch]: Add a static list packages_ that
929 holds the contents of packages.lst. New functions getAvailable
930 and isAvailable to parse and check that list, resp.
934 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
936 * bufferparams.[Ch]: new param output_changes.
938 * Buffer.C: increase file format to 240.
939 Use output_changes and isVailable.
943 * paragraph_pimpl.C: Use output_changes and isVailable.
945 2005-01-23 Angus Leeming <leeming@lyx.org>
947 * output_latex.C: #include "insetbibitem.h", rather than
948 forward declare function bibitemWidest.
950 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
952 * lyx_main.C (init): make it compile on the Mac.
954 2005-01-20 Angus Leeming <leeming@lyx.org>
956 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
957 (setLyXMisc): (char string literal) != (char string literal) is
958 performing a comparison on the addresses. Convert one operand
959 explicitly to string to guarantee expected behaviour.
962 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
965 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
967 * output_plaintext.C: remove unneeded #include gzstream.h.
969 2005-01-20 Angus Leeming <leeming@lyx.org>
971 * SpellBase.h: rename some of the elements of the Result enum.
978 * pspell.C (check): ditto
980 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
982 * buffer.C: add #include <fstream>.
984 * lyx_main.C (init): Compile fix.
986 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
988 2005-01-20 Angus Leeming <leeming@lyx.org>
990 * mover.h: change commentary to reflect the changed meaning of
993 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
995 * output_linuxdoc.C (linuxdocParagraphs): silence warning
997 * lyxfind.C (MatchString::operator()): remove bogus semicolon
999 2005-01-20 Angus Leeming <leeming@lyx.org>
1001 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1002 printing diagnostic data by not dereferecing an iterator past the
1005 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1007 * buffer.C (readHeader): use "&&" rather than "and".
1009 * lyxserver.h (inPipeName, outPipeName): make these const.
1011 2005-01-19 Angus Leeming <leeming@lyx.org>
1013 * lyx_main.C (error_handler, init): protect SIGHUP with
1014 #ifdef SIGHUP guards.
1016 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1018 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1020 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1022 * text.C (setHeightOfRow): add a margin at the top and bottom of
1023 the document (bug 1761)
1025 2005-01-17 Angus Leeming <leeming@lyx.org>
1027 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1028 with "python ". Workaround for a brain-dead Windows.
1030 2005-01-16 Angus Leeming <leeming@lyx.org>
1032 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1033 for MacOSX and Windows to use prependEnvPath.
1034 Strip out the hard-coded block to add elements to the PATH for
1035 MacOSX and replace it with a call to prependEnvPath using the
1036 contents of LyXRC::path_prefix.
1037 (queryUserLyXDir): strip out the code to run reconfigure, instead
1038 returning a boolean indicating the necessity to do so.
1039 (reconfigureUserLyXDir): contains the code to reconfigure the
1040 user support directory. Is now called after the various LyXRC data
1041 files have been read.
1043 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1045 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1047 * converter.[Ch] (convert): take a new parameter try_default. Use
1048 a default converter (imagemagick) if try_default is true.
1050 2005-01-13 Angus Leeming <leeming@lyx.org>
1052 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1053 os::cygwin_path_fix.
1054 (write): output LyXRC::cygwin_path_fix as necessary.
1056 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1059 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1061 2005-01-12 Angus Leeming <leeming@lyx.org>
1063 * lyx_main.C (init): set the PATH variable to include the
1064 directory containing the LyX binary when running on Mac or Windows.
1066 2005-01-12 Angus Leeming <leeming@lyx.org>
1068 * lyx_main.C (init): remove cruft that purports to set the locale
1069 dir. It doesn't and is not needed anyway.
1071 2005-01-10 Angus Leeming <leeming@lyx.org>
1073 * Makefile.am: remove the lyx_main.C special casing.
1075 * BufferView_pimpl.C:
1081 * messages.C: use support/package.h to provide the paths to the
1082 various directories used by LyX.
1084 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1086 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1087 layout if pasting into an empty paragraph)
1089 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1091 * tex-accent.C: add <string>
1093 2005-01-06 José Matos <jamatos@lyx.org>
1095 * ParagraphParameters.C (write): put every parameter in its own line.
1096 * paragraph.C (write): reduce number of consecutive empty lines exported.
1097 * buffer.C (LYX_FORMAT): increase file format to 239.
1099 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1101 * everywhere: change support/tostr.h -> support/convert.h
1103 * tabular.C: make all write_attributes templates, tostr -> convert
1105 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1106 (emptyTag): and -> &&, and fix type for ret from getChar
1107 (getFirstWord): fix type for ret from getChar
1108 (onlyText): and -> &&
1109 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1112 * toc.C (goTo, action):
1113 * text3.C (dispatch):
1114 * text.C (currentState):
1115 * tex-accent.C (DoAccent):
1118 * lyxfunc.C (menuNew):
1119 * lyxfinc.C (replace):
1120 * counters.C (laberItem):
1121 * bufferview_funcs.C (font2string):
1122 * bufferparams.C (writeFile):
1123 * buffer.C (readFile):
1125 * MenuBackend.C: tostr -> convert
1127 * LaTeX.C (runMessage): fix format
1128 (scanAuxFiles): tostr -> convert
1130 * BufferView_pimpl.C (savePosition): fix format
1131 (restorePosition): ditto
1134 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1136 * Spacing.[Ch]: New method getValueAsString().
1140 * ParagraphParameters.C:
1143 * text3.C: store/read spacing value as string.
1145 * rowpainter.C: change float value (spacing_val) to double.
1147 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1148 broken custom document spacing).
1150 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1152 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1153 namespace, also more use of temp references and const
1155 * cursor.[Ch] (getStatus): move to lyxfunc.C
1157 * bufferparams.C: reformat slightly
1159 * bufferview_funcs.C (font2string): constify arg
1165 * buffer_funcs.C: (many funcs): constify arg on function
1166 definitions, also make more local vars const, also add ASSERTS on
1169 * buffer.C (LYX_FORMAT): put const in correct place
1170 (many funcs): constify arg on function definitions, also make
1171 more local vars const
1173 * aspell_local.h: remove "struct" from typdef setup
1175 * aspell.C (check): make word_ok const
1176 (nextMiss): simplify slightly
1179 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1181 * lyxrc.[Ch]: store all float values as strings.
1182 use int (not float) for lyxrc.dpi.
1184 2005-01-04 Angus Leeming <leeming@lyx.org>
1186 * lyx_cb.C (Reconfigure):
1187 * lyx_main.C (queryUserLyXDir):
1188 to run the <system_lyxdir>/configure correctly on Windows, prefix
1189 the path to the script with "sh " when generating the string that
1190 is passed to system().
1192 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1194 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1196 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1198 * lyxlength.C (asLatexString): get rid of setprecision
1200 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1202 * text2.C (setLayout): remove unused variable endpit.
1203 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1205 * paragraph.C (onlyText): remove unused variable style.
1207 * cursor.C (bruteFind): remove unused variables beg and end.
1209 * Makefile.am (dist_noinset_DATA): not needed anymore
1211 * cheaders/*: remove.
1213 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1215 * text3.C: fix LFUN_MATH_MODE.
1217 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1219 * buffer_funcs.C (countWords): new function. Counts words between
1222 * BufferView_pimpl.C (getStatus, dispatch): handle
1225 * LyXAction.C (init):
1226 * lfuns.h: add LFUN_WORDS_COUNT.
1228 2004-12-19 Angus Leeming <leeming@lyx.org>
1230 * buffer.C (save): s/slashify_path/internal_path/.
1232 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1234 * lyxfind.C (findChange): do not search for end of pars, because
1235 the change tracker cannot handle this (fixes bug 1719).
1237 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1239 * paragraph.[Ch] (autoBreakRows): remove
1241 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1243 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1244 avoid using the paragraph one
1246 * text2.C (LyXText, insertStringAsLines): adjust
1248 2004-12-16 Angus Leeming <leeming@lyx.org>
1252 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1254 2004-12-14 Angus Leeming <leeming@lyx.org>
1256 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1258 * bufferlist.C (emergencyWrite):
1259 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1262 2004-12-14 Angus Leeming <leeming@lyx.org>
1264 * main.C: (main): no longer pass pointers to os::init.
1266 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1268 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1269 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1271 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1274 * text3.C: remove selection_possible global flag
1276 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1278 * text2.C (getSelectionSpan): remove
1279 (changeDepth, changeDepthAllowed): adjust
1281 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1283 * Makefile.am (BOOST_LIBS): use boost variables
1285 2004-12-03 José Matos <jamatos@lyx.org>
1287 * buffer.C: format up to 238.
1289 2004-12-03 José Matos <jamatos@lyx.org>
1291 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1293 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
1295 * cursor.C (goUpDown): remove call to idxUpDown2
1297 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1299 * tabular.[Ch]: use size_t-like types for cell, row and column
1302 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1304 * lyxfunc.C (getStatus): do not lose previous information when
1305 calling BufferView::getStatus; do not set a default "Command
1306 disabled" message at the beginning, but just before returning.
1308 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1310 * cursor.h (getStatus): add better comment from src/cursor.C
1312 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1314 * text3.C (getStatus): return false when the lfun is not handled
1316 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1318 * broken_headers.h: remove
1320 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1322 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1324 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1325 offset_ref accessors
1327 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1328 top_y_, merge fitcursor with update
1329 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1331 (metrics): introduce
1332 (workAreaDispatch): adapt to new coord scheme
1333 (redoCurrentBuffer): remove
1335 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1337 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1340 * coordcache.[Ch]: add paragraph cache and helpers
1342 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1345 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1346 (targetX, setTargetX): introduce
1348 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1349 baseline -> ascent, as the rest of lyx
1351 * lyxtext.h: remove redoParagraphs, updateParPositions,
1352 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1353 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1354 have ascent/descent (ascent is ascent of first par)
1356 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1359 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1361 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1363 * pariterator.C: fix infinite loop introduced in par->pit renaming
1365 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1366 in insets and LyXText, draw two off-screen paragraphs using
1367 NullPainter, and adapt to new coord scheme
1371 * text3.C: adapt lfun handlers to the new coord scheme, which
1372 means: there's only guaranteed coord information for onscreen pars
1373 plus one above and one below. This implies that one can do search
1374 from y coordinates in the range [-1,workHeight]
1376 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1378 * rename a lot of InsetOld to InsetBase
1380 2004-11-25 Angus Leeming <leeming@lyx.org>
1382 * BufferView_pimpl.C:
1384 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1386 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1388 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1389 call BufferView::getStatus if LCursor::getStatus did nothing
1390 (setStatusMessage, getStatusMessage): removed.
1392 * FuncStatus.C (message): new methods. Used to provide an error
1393 message indicating why a command is disabled.
1394 (clear, |=, FuncStatus): update for message.
1396 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1398 * lyxfunc.C (dispatch): always call sendDispatchMessage
1400 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1403 * BufferView_pimpl.C:
1408 * cursor_slice.[Ch]:
1411 * paragraph_funcs.C:
1417 * undo.C: par->pit renaming
1419 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1421 * tabular.C (cellstruct): use initialization, store a shared_ptr
1422 to insettext instead of the insettext directly, adjust to fit.
1423 (operator=): new function
1424 (swap): new function
1425 (rowstruct): use initialization
1426 (columnstruct): use initialization
1427 (ltType): use initialization
1430 * lyxlength.h (swap): new function
1432 * LColor.[Ch] (operator=): use the common semantics
1434 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1436 * lyxfind.C (findNextChange): update the bufferview after setting
1439 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1441 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1442 number of InsetOptArgs has already been inserted.
1444 * output_latex.C (latexOptArgInsets): new method. This outputs all
1445 the optarg insets, up to the limit defined in the layout file.
1446 (optArgInset): removed
1447 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1449 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1451 * paragraph.C (isLetter): remove special spellchecker-related
1452 code; return true also for digits
1453 (isWord, isKomma): remove
1455 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1456 * lyxfind.C (MatchString()): use isLetter instead of isWord
1458 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1460 * pariterator.h (operatir=): comment out un-implemented member
1463 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1466 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1468 * lyxfont.h: include LColor.h to satisfy concept checks.
1470 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1472 * pariterator.h: add typdefs for value_type, difference_type,
1473 pointer and reference to satisfy concept checks. Also add default
1474 constructor for same reason.
1476 * pariterator.C (operator++): add post-increment operator to
1477 satisfy concept checks.
1479 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1482 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1484 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1485 checks. Also rename base_type to BaseType to follow naming
1488 * FloatList.h: include Floating.h to satisfy concept checks.
1490 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1492 * lyxfunc.C (getStatus): when the origin of the request is menu or
1493 toolbar, and the LyXView does not have focus, do as if there was
1494 no buffer (bug 1720)
1496 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1497 FuncRequest to individual entries of LFUN_SEQUENCE
1499 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1501 * output_latex.C (TeXOnePar): override runparams.moving_arg
1502 according to the needprotect value of the current paragraph (bug
1505 * paragraph.C (simpleTeXOnePar): no need to override
1506 runparams.moving_args here
1508 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1510 * vspace.C: fix off-by-one-error, related to fix #1682
1512 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1514 * lengthcommon.C: a more general fix for bug 1682
1516 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1518 * text.C (backspace): fix crash
1520 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1522 * format.[Ch] (getFormatFromFile): new method
1523 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1525 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1527 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1529 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1531 * lyxfunc.C (dispatch): remove the verbose argument
1532 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1535 * kbmap.C (defkey): set the origin of func to KEYBOARD
1537 * MenuBackend.C (MenuItem):
1538 * ToolbarBackend.C (add): set the origin of func to UI
1540 * funcrequest.[Ch]: add origin member, which indicates which part
1541 of LyX requests an action
1543 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1545 * converter.C (move): don't lie in the error message
1546 * converter.h (isReachable, move): document
1548 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1550 * buffer.C: remove unused using lyx::support::atoi
1551 * paragraph_funcs.C: ditto
1553 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1555 * bufferlist.C (exists): use bind and equal_to instead of
1558 * lyxtextclasslist.C (NumberOfClass): ditto
1560 * cursor.C (insert): use for_each instead of explicit for loop
1562 * bufferlist.C (getFileNames): use std::transform and
1563 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1565 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1568 * buffer.C (changeLanguage): use for_each instead of explicit for
1570 (hasParWithID): implement using getParFromID
1572 * LaTeXFeatures.C: ws change only
1574 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1577 * BufferView_pimpl.C (trackChanges): use for_each instead of
1580 2004-11-04 André Pönitz <poenitz@gmx.net>
1583 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1585 * dociterator.C (asDocIterator): use hard assert again.
1587 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1589 * lyxlength.C (asLatexString): rewrite so that it does not use
1592 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1594 * text3.C (specialChar, dispatch): make sure cursor moves to the
1595 right after inserting an inset
1597 2004-11-02 José Matos <jamatos@lyx.org>
1599 * output_docbook.C (docbook):
1600 * paragraph.C (getID):
1601 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1602 garantee that the output is always legal.
1604 * tabular.C (docbook):
1605 * outputprams.[Ch]: remove mixed contents.
1607 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1609 * text2.C (setCounter): prevent endless loop
1611 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1613 * exporter.C (copyFile): use the mover instead of support::copy()
1614 * exporter.C (Export): pass format and latex name to copyFile()
1615 * exporter.h (addExternalFile): document
1616 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1618 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1620 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1622 2004-10-30 José Matos <jamatos@lyx.org>
1624 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1625 text and no inset or font change. This allows to use CDATA
1626 sections just for the whole paragraph.
1628 2004-10-30 José Matos <jamatos@lyx.org>
1630 * paragraph.C (getFirstWord): remove unused variable.
1632 2004-10-30 José Matos <jamatos@lyx.org>
1634 * paragraph.C (getFirstWord): the content should always be escaped
1636 (simpleDocBookOnePar):
1637 * output_docbook.C (makeEnvironment): replace reference to CDATA
1640 2004-10-30 José Matos <jamatos@lyx.org>
1642 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1644 2004-10-30 José Matos <jamatos@lyx.org>
1646 * output_docbook.C (makeParagraphs):
1647 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1648 standard paragraph has only a given type of content drop the wrapper.
1650 2004-10-29 José Matos <jamatos@lyx.org>
1652 * output_docbook.C (makeEnvironment):
1654 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1656 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1658 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1659 (cleanID): sanitize any id.
1661 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1663 * buffer.C, lyxlex_pimpl.C:
1664 * lyxlex_pimpl.C (setFile):
1665 s/getExtFromContents/getFormatFromContents/
1667 2004-10-28 José Matos <jamatos@lyx.org>
1669 * output_docbook.C (makeEnvironment): move id to broadest possible
1672 * sgml.C (openTag): apply substitution of <> for all attributes.
1674 2004-10-28 José Matos <jamatos@lyx.org>
1676 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1677 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1678 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1680 * sgml.[Ch]: new version for open and closeTag for paragraph and
1681 for strings. Now they handle the ids of paragraphs.
1683 2004-10-26 Angus Leeming <leeming@lyx.org>
1685 * Makefile.am: add mover.[Ch].
1687 * converter.C (convert, move): use the new Movers to move external
1688 files to the temp directory.
1690 * lyx_main.C (init): ensure that the global system_movers data
1693 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1696 * mover.[Ch]: new files, defining a Mover as a utility to move an
1697 external file between directories and, if necessary, manipulate this
1698 file using a helper script.
1700 2004-10-25 José Matos <jamatos@lyx.org>
1702 * output_docbook.C (makeCommand): merge two if's that tested the
1705 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1707 * sgml.C (escapeString): fix warning in a better way
1709 2004-10-25 José Matos <jamatos@lyx.org>
1711 * sgml.C (escapeString): import the require boosts header file for
1712 tie, and avoid a signed unsigned comparison.
1714 2004-10-25 José Matos <jamatos@lyx.org>
1716 * sgml.h: add #include <string>
1718 2004-10-25 José Matos <jamatos@lyx.org>
1720 * sgml.[Ch] (escapeString): new function to escape all the string.
1722 2004-10-24 José Matos <jamatos@lyx.org>
1724 * paragraph.[Ch] (getFirstWord): new function to get the first
1725 word. Useful for description.
1726 (simpleDocBookOnePar): remove depth argument, add another that
1727 says where to start the paragraph.
1729 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1730 use the new functions to fix cleanly the support for descriptions.
1732 2004-10-24 José Matos <jamatos@lyx.org>
1734 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1735 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1736 * output_linuxdoc.C (linuxdocParagraphs):
1737 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1738 add buffer as argument.
1740 2004-10-24 José Matos <jamatos@lyx.org>
1742 * output_docbook.C (makeEnvironment, searchEnvironment): place
1743 CDATA inside paragraphs and fix scope for listitems.
1745 2004-10-24 José Matos <jamatos@lyx.org>
1747 * output_docbook.C: remove using statement for stack.
1749 2004-10-23 José Matos <jamatos@lyx.org>
1751 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1752 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1753 docbook. The new scheme is recursive and makes use of iterators, the
1754 same as latex export works.
1755 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1756 directly with the paragraph contents. This code was moved up to
1757 output_docbook.C (docbookParagraphs).
1758 * sgml.C (openTag, closeTag): removed unneeded newlines.
1759 (closeEnvTags) removed.
1761 2004-10-23 André Pönitz <poenitz@gmx.net>
1763 * undo.C (textUndoOrRedo):
1764 * dociterator.C (asDocIterator): work around crash
1766 * cursor.C (getStatus): replace ASSERT by more verbose error message
1767 and manual correction of the problem. Should increase stability
1768 while providing more sensible information.
1770 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1772 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1774 * bufferlist.C (previous, next): new methods
1777 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1779 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1781 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1782 entities to preamble.
1784 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1786 * messages.C (Pimpl): strip off translation context information
1788 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1790 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1791 the cursor is correct (bug 1694)
1793 2004-10-13 José Matos <jamatos@lyx.org>
1795 * output_docbook.C (docbookParagraphs): fix closing tags in the
1796 end of the document.
1798 2004-10-09 José Matos <jamatos@lyx.org>
1800 * buffer.C: format up to 237.
1801 * bufferparams.C (write): use tostr to convert booleans to strings.
1803 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1805 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1807 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1809 * LaTeX.C: implement use of babel language in xindy.
1811 2004-10-05 José Matos <jamatos@lyx.org>
1813 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1814 Add new translators to help reading and writing the lyx file.
1816 2004-10-05 José Matos <jamatos@lyx.org>
1818 * ParagraphParameters.C (read):
1819 * text.C (readParToken): replace nexToken by more appropriate lex
1822 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1824 * LaTeX.C (runMakeIndex):
1825 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1826 (usually 'makeindex') configurable.
1828 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1829 with a variable rather than with a number.
1831 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1833 * output_latex.C (TeXOnePar): make sure font setting is the first
1834 thing that gets output (and the last at the end). Should fix bug
1837 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1839 * pch.h: use proper signal include
1841 * LaTeX.h: Use preferred calling of Boost.Signal
1844 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1846 * pch.h: dont include <boost/function/function0.hpp>
1848 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1850 * paragraph_pimpl.h: remove usage of ShareContainer
1852 * paragraph_pimpl.C: remove initialization of ShareContainer.
1854 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1858 * BufferView.C (putSelectionAt): change the semantics when
1859 backwards == true: now, this just swaps cursor and anchor wrt the
1862 * BufferView.h (putSelectionAt): add some documentation
1864 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1865 make sure backwardChar is done at least once (to avoid getting
1867 (findNextChange): use putSelectionAt in the forward direction
1868 (operator()): use Paragraph::isWord
1870 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1872 * Spacing.C (set): c_str fix
1874 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1876 * lyx_cb.C (Reconfigure): quote the name of configure script in
1877 case it contains spaces
1879 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1883 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1884 (BOOST_LIBS): use top_buildir when looking for the file
1886 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1888 * pch.h: do not use include boost/format.hpp, multiple symbols
1889 will result (gcc bug)
1892 2004-08-23 José Matos <jamatos@lyx.org>
1894 * bufferparams.C (readToken): fix reading of the author field.
1896 2004-08-20 José Matos <jamatos@lyx.org>
1898 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1900 2004-08-20 José Matos <jamatos@lyx.org>
1902 * lyxlex.[Ch] (findToken): remove function.
1904 * ParagraphParameters.C (findToken):
1905 * bufferparams.C (findToken): replace call for previous function
1906 with local copy. This local function has one more argument, the
1907 read string argument.
1909 2004-08-16 José Matos <jamatos@lyx.org>
1911 * ParagraphParameters.C (write):
1912 * Spacing.C (writeFile):
1913 * bufferparams.C (writeLaTeX):
1914 * lyx_cb.C (Reconfigure):
1915 * paragraph.C (write):
1916 * tabular.C (write): remove unnecessary space at end of line.
1919 2004-08-16 José Matos <jamatos@lyx.org>
1921 * text.C (readParagraph): remove debug message.
1923 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1925 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1928 * output_plaintext.C (asciiParagraph): set depth correctly
1930 * outputparams.h: add member depth
1932 * paragraph_funcs.C (ownerPar): remove.
1934 * text2.C (setCounter): remove first_pit; comment out some
1935 non-working code that uses ownerPar
1937 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1940 2004-08-16 José Matos <jamatos@lyx.org>
1942 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1943 For the same level of importance use the same chanel to report problems.
1944 (read): add code to deal with \begin_body and \end_body.
1947 2004-08-15 José Matos <jamatos@lyx.org>
1949 * lyxlex.C (getString): fix comment, buffer::readBody is now
1950 buffer:readDocument.
1952 * tex-strings.C (string_papersize): Default -> default,
1953 Custom -> custom, for consistency with other options.
1955 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1959 * Makefile.am: support pch
1961 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1963 * text.C (readParToken): remove the static LyXFont variable and
1964 pass it as a parameter instead. This fixes a nasty bug where an
1965 inset will be inserted with a bad font in some situations
1966 (readParagraph): adapt
1968 * text2.C (setCounter): reduce number of calls to pars_[pit]
1970 * text.C (singleWidth): add an assert, fix a test
1972 * rowpainter.C (paintText): reduce number of calls to singleWidth
1974 * paragraph.C (isHfill):
1975 (isNewline): ws only
1977 2004-08-14 André Pönitz <poenitz@gmx.net>
1982 * lyxtext.h (several functions): use a Paragraph & argument
1985 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1987 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1989 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1991 * text.C (singleWidth): remove useless test
1993 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1995 * tabular.h: remove bogus comments
1997 * tabular.C (getDescentOfRow):
1998 (isPartOfMultiColumn): add assertions
2000 * lyxlength.C (inPixels): remove #warning
2002 2004-08-14 André Pönitz <poenitz@gmx.net>
2004 * paragraph.h: inline getChar()
2006 * BufferView.h: remove unused declarations
2008 2004-08-14 José Matos <jamatos@lyx.org>
2010 * Buffer.[Ch] (readDocument): new name for old readBody.
2011 * Buffer.C: new file format, new keywords: \begin_document,
2012 \begin_header, \begin_body, \end_body.
2014 * bufferparams.C (readToken): replace all calls to lex.nextToken
2015 by lex.next(). Do the same to eatLine except where really needed.
2017 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2018 line when writing to the lyx file.
2020 * output_plaintext.C (asciiParagraph): fix Bibliography style
2023 * text.C (read): fix end of file handling.
2025 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2027 * MenuBackend.C (Menu::operator[]): new method to access
2028 individual menu items
2029 (Menu::hasFunc): new method. search for an item that corresponds
2031 (MenuBackend::specialMenu): new method
2032 (MenuBackend::expand): if a special menu has been set, skip
2033 entries whose func() appears in this menu
2035 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
2037 * text3.C: use Debug::DEBUG a bit more
2039 * text.C (leftMargin): try to simplify a tiny bit change var x to
2040 l_margin. Dont output the wide margins always.
2041 (rightMargin): no margin in inner texts
2043 * rowpainter.h (nestMargin): new func
2044 (changebarMargin): new func
2045 (rightMargin): new func
2047 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2051 * factory.C (createInset): modify setDrawFrame
2053 * cursor.C: use Debug::DEBUG a bit more
2055 2004-08-14 André Pönitz <poenitz@gmx.net>
2058 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2059 cache for all insets in (at least partially) visible (top-level)
2062 * BufferView_pimpl.C: reset external coord cache before every update.
2063 This means the coord cache only contains valid entries.
2065 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
2068 * BufferView_pimpl.C (getInsetByCode): move function out of class
2069 and change in to a template in anon namespace. Also fix to do what
2072 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
2075 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2077 (breakParagraph): rename par to par_offset and use a local
2078 reference. Add code to keep the language over a rebreak.
2079 (breakParagraphConservative): rename par to par_offset, use a
2081 (mergeParagraph): ditto
2083 (isFirstInSequence): ditto
2084 (outerFont): rename pit to par_offset
2086 * paragraph.C: ws change
2087 * paragraph.h: ditto
2091 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2093 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2096 * paragraph.C (simpleTeXOnePar): when we have a \item with
2097 optional argument, enclose the argument with curly brackets (in
2098 case it contains a closing square bracket)
2102 * text3.C (checkInsetHit): constify
2104 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2106 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2107 documents (bug 1629)
2109 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2111 Fix toggling of collapsable insets with the mouse (bug 1558)
2113 * lyxfunc.C (dispatch): adapt to LCursor changes
2115 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2116 make sure that dispatch is not invoked twice
2118 * cursor.C (needsUpdate): new method
2119 (dispatch): return void
2120 (result): new method, to access the DispatchResult of the cursor.
2122 2004-08-13 José Matos <jamatos@lyx.org>
2124 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2126 2004-08-13 André Pönitz <poenitz@gmx.net>
2128 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2130 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2133 2004-08-12 André Pönitz <poenitz@gmx.net>
2135 * text3.C: take out the 'cursor right' form insertInset and only
2136 do it in those places when it is really needed. Fixes crash on
2139 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2141 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2143 * BufferView_pimpl.C (setBuffer): initialize the current font of
2144 the underlying LyXText
2146 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2148 * kbsequence.C (print): use UI native formatting for menu
2151 * text.C (insertChar): call Paragraph::insertChar with a font
2154 * paragraph.C (insertInset, insertChar): the version that takes a
2155 LyXFont argument is now a wrapper around the other one (the
2156 opposite used to be true).
2158 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2159 argument. Font setting is done in Paragraph now.
2161 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2163 * outputparams.h: add new members intitle and lang.
2165 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2166 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2168 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2170 * text3.C (dispatch): remove special handling of button 4 and 5,
2171 it is now taken care of in the frontend code.
2173 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2175 * Spacing.h: add <string> (STLPort compile fix)
2177 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2179 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2181 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
2183 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2186 * converter.C (showMessage): inherit from unary_function, make
2189 * buffer.C (writeFile): initialize retval
2191 * InsetList.h: rename private variable list to list_
2192 * InsetList.[Ch]: adjust accordingly.
2194 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
2196 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2197 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2198 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2199 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2200 * ParagraphParameters.C, LaTeXFeatures.C: replace
2201 "support/std_sstream.h" with <sstream>
2203 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
2205 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2206 * lyxsocket.C (LyXServerSocket): ditto
2207 (serverCallback): ditto
2209 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2211 * LaTeXFeatures.C: check release date when loading jurabib.
2213 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2215 * lyxserver.C (startPipe): call register_socket_callback
2216 (endPipe): call unregister_socket_callback
2218 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
2220 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2221 (LyXServerSocket): register the callback
2222 (LyXServerSocket): unregister the callback
2223 (fd): delete function
2224 (serverCallback): improve error checking and setup the callbacks.
2225 (dataCallback): change arg to fd.
2226 (writeln): new func (copied fro the client socket) used for server
2228 (LyXDataSocket): simplify
2229 (~LyXDataSocket): close ann unregiser callback
2230 (server): delete function
2231 (fd): delete function
2232 (readln): small changes, improve some std::string usage
2233 (writeln): constify a bit
2235 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2237 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2240 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2242 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2243 after it has been populated
2245 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2247 * text2.C (insertInset): move cursor when inserting inset.
2249 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2251 * kbmap.C (findbindings): a couple of new methods. returns a
2252 container of kb_sequence objects. The real work is done by the
2253 private recursive version
2254 (printbindings): uses findbindings to print out a bracketed list
2255 of bindings (renamed from findbinding).
2257 * MenuBackend.C (binding): use kb_keymap::findbindings
2259 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2261 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2263 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2265 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2267 * paragraph.C (isWord): return true on insets that report
2270 * text.C (getWord): use Paragraph::isWord to decide what is in a
2271 word and what is not; fix bug 1609.
2273 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2275 * tex-strings.C: add "none" to string_paperpackages[], fixes
2276 off-by-one-error in the paperpackage selection.
2279 * tex-strings.[Ch]: char const * string[n]
2280 -> char const * const string[]
2282 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2284 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2285 command, return early.
2287 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
2289 * debug.h: add DEBUG to enum and fix size of ANY.
2291 * debug.C: add support for Debug::DEBUG
2292 (showTags): cast errorTags.level to unsigned int
2294 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2295 (redoCurrentBuffer): ditto
2296 (updateScrollbar): ditto
2297 * cursor.C (dispatch): ditto
2298 * text2.C (setLayout): ditto
2300 (updateCounters): ditto
2302 (deleteEmptyParagraphMechanism): ditto
2304 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
2306 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2307 annotations to cleanup the Makefile slightly.
2309 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2311 * lyxrc.C: do not set user_email to a default value but use empty
2312 instead. The entry used to be translated, which does not work
2313 since at the point where lyxrc is constructed there is no
2314 translation service available
2316 * messages.C (getLocaleDir): remove and use directly
2317 lyx_localedir() instead
2319 2004-06-02 Angus Leeming <leeming@lyx.org>
2321 Fix crash caused by dereferencing null pointer 'exportdata' in
2322 OutputParams by creating a new ExportData variable on the heap,
2323 storing it in a boost::shared_ptr.
2324 The crash was triggered when generating an Instant Preview
2325 of an external inset.
2327 * Makefile.am: add outputparams.C
2329 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2330 (c-tor): allocate memory to it.
2332 * exporter.C (c-tor): associated changes.
2334 2004-06-01 Angus Leeming <leeming@lyx.org>
2336 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2337 contains data before calling isInset(0). (Bug 1513.)
2339 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2341 * exporter.C (checkOverwrite): new method
2342 * exporter.C (copyFile): new method
2343 * exporter.C (Export): copy referenced files to the document dir
2344 * exporter.[Ch]: new class ExportedFile
2345 * exporter.[Ch]: new class ExportData. Contains currently the
2346 names of referenced external files
2347 * outputparams.h: add exportdata member.
2349 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2351 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2354 2004-05-19 Angus Leeming <leeming@lyx.org>
2359 * lyxfunc.C: small changes due to the introduction of namespace
2360 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2362 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2364 * text3.C (dispatch): supress update when only moving the cursor
2365 * cursor.C (selHandle): remove commented code
2367 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2369 * paragraph.C (startTeXParParams): correct column count
2370 * CutAndPaste.C (pasteSelection): remove const_cast
2371 * output_docbook.C (docbookParagraphs): remove const_cast
2372 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2373 const_cast and return ParagraphList::const_iterator
2374 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2375 * output_plaintext.C (writeFileAscii): remove const_cast
2376 * paragraph.[Ch] (simpleTeXOnePar): make const
2377 * paragraph_funcs.C (outerPar): use const iterators
2378 * paragraph_pimpl.C (validate): use const iterators
2379 * text.C (setHeightOfRow): use const iterators
2381 2004-05-17 Angus Leeming <leeming@lyx.org>
2384 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2386 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2387 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2388 if the citation engine has changed.
2390 2004-05-14 José Matos <jamatos@lyx.org>
2392 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2393 if the textclass does not provide it. Have it different for sgml and
2395 support the language of document.
2396 * output_docbook.C (docbookParagraphs):
2397 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2398 first anchor as the id of the paragraph, remove special case code.
2399 * sgml.C (escapeChar): escape only < & >.
2401 2004-05-14 Angus Leeming <leeming@lyx.org>
2403 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2404 dependencies on src/frontends/controllers/biblio.h. Define a
2405 CiteEngine_enum wrapper class to enable the enum to be forward
2408 2004-05-12 Angus Leeming <leeming@lyx.org>
2410 * buffer.C: up LYX_FORMAT to 234.
2411 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2412 use_numerical_citations with a single biblio::CiteEngine cite_engine
2414 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2416 2004-05-13 José Matos <jamatos@lyx.org>
2419 * converter.C (Converter, readFlags): add xml member.
2420 * outputparams.h: add XML flavor.
2421 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2423 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2425 * lyxfunc.C (dispatch):
2426 (getStatus): fix handling of LFUN_SEQUENCE
2428 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2430 * debug.C (showLevel): do not forget the end-of-line marker
2432 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2434 * kbmap.C (read): do not stop parsing a bind file when an error
2437 2004-04-29 Angus Leeming <leeming@lyx.org>
2442 * text2.C: wrap a bunch of #warning statements
2443 inside #ifdef WITH_WARNINGS blocks.
2445 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2447 * buffer.C: increment format to 233.
2449 2004-04-28 Angus Leeming <leeming@lyx.org>
2451 * BufferView_pimpl.C:
2454 s/updateToolbar()/updateToolbars()/
2455 s/Toolbar.h/Toolbars.h/
2457 2004-04-28 Angus Leeming <leeming@lyx.org>
2459 * BufferView.[Ch] (c-tor):
2460 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2461 No longer passes these data to the WorkArea generator.
2463 2004-04-28 Angus Leeming <leeming@lyx.org>
2465 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2467 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2469 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2471 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2473 * output_latex.C (TeXEnvironment): make sure that there is a line
2474 break before \end{foo} for the last paragraph of a document
2475 (TeXOnePar): if the paragraph is at the end of the document (or
2476 inset) and the language has to be reset, then make sure that the
2477 line break is _before_ the language command, not after (fixes bug
2478 1225); also make sure that the language reset command is the first
2479 thing after the paragraph (to ensure proper nesting of
2480 environments and thus fix bug 1404)
2482 2004-04-21 John Levon <levon@movementarian.org>
2485 * ToolbarBackend.C: make "name" be a programmatic name
2486 and a gui_name field.
2488 * lyxfunc.C: display the minibuffer on M-x
2490 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2492 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2495 2004-04-19 Angus Leeming <leeming@lyx.org>
2497 * BufferView_pimpl.C (setBuffer): changed preview interface.
2499 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2502 2004-04-19 John Levon <levon@movementarian.org>
2504 * BufferView_pimpl.C:
2505 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2507 2004-04-05 Angus Leeming <leeming@lyx.org>
2509 * text.C (redoParagraphs): add call to updateCounters(), thereby
2510 fixing the missing "Figure #:" label from the caption of a
2513 2004-04-13 Angus Leeming <leeming@lyx.org>
2515 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2516 cursor is clicked out of an inset.
2518 2004-04-13 Angus Leeming <leeming@lyx.org>
2520 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2521 than an InsetOld one.
2523 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2525 * format.[Ch]: add editor to Format
2526 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2527 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2529 2004-04-08 André Pönitz <poenitz@gmx.net>
2531 * metricsinfo.h: remove PainterInfo::width member
2533 2004-04-08 Angus Leeming <leeming@lyx.org>
2535 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2536 "\providecommand" rather than "\newcommand", thereby preventing
2537 clashes with packages that define "\boldsymbol" themselves.
2540 2004-04-08 Angus Leeming <leeming@lyx.org>
2542 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2543 thereby squashing an unnecessary warning.
2545 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2547 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2550 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2552 * BufferView.C (setCursor): call redoParagraph (some insets could
2554 (putSelectionAt): remove the 'double update' trick
2556 * BufferView_pimpl.C (fitCursor): call refreshPar
2557 (workAreaDispatch): remove an uneeded update call
2558 (dispatch): remove some manual update calls
2560 * cursor.[Ch]: remove cached_y_, updatePos
2561 (selHandle): set noUpdate when appropriate
2563 * lyxfunc.C (dispatch): track if we need an update
2565 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2567 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2568 (paintSelection): cheap optimization, do not call cursorX when not
2570 (paintPars): change signature
2573 (paintTextInset): adjust
2577 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2579 * lengthcommon.C: compilation fix: remove explicit array size from
2580 unit_name[] and friends
2582 2004-04-05 Angus Leeming <leeming@lyx.org>
2584 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2586 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2587 present only for the preferences dialog.
2588 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2590 2004-04-05 Angus Leeming <leeming@lyx.org>
2592 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2593 to enable the frontends to export changes to lyxrc correctly.
2595 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2597 2004-04-07 André Pönitz <poenitz@gmx.net>
2599 * cursor.[Ch] (selClear, adjust): remove math
2601 * cursor_slice.C: more agressive assert
2604 * BufferView_pimpl.C: rework mouse event dispatch
2611 2004-04-05 André Pönitz <poenitz@gmx.net>
2613 * cursor.[Ch] (valign, halign...): remove unneeded functions
2615 2004-04-05 Angus Leeming <leeming@lyx.org>
2617 * lyxlength.[Ch] (unit_name et al.): const-correct.
2619 2004-04-05 Angus Leeming <leeming@lyx.org>
2621 * BufferView_pimpl.C:
2630 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2632 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2634 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2636 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2638 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2639 * BufferView_pimpl.[Ch] (getStatus)
2640 * BufferView.[Ch] (getStatus): add
2641 * lyxfunc.C (getStatus): move lfuns handled in
2642 BufferView::dispatch to te function above
2643 * Cursor.C (setSelection): set selection() = true
2645 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2647 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2649 2004-03-31 Angus Leeming <leeming@lyx.org>
2651 * lyxfunc.C (dispatch): Fall through to the generic
2652 Dialogs::show("preamble").
2654 2004-03-31 Angus Leeming <leeming@lyx.org>
2656 * lyxfunc.C (dispatch): Fall through to the generic
2657 Dialogs::show("spellchecker").
2659 2004-03-31 Angus Leeming <leeming@lyx.org>
2661 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2664 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2669 * insetiterator.[Ch]:
2674 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2676 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2678 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2679 insets where we are putting the cursor.
2681 2004-03-31 Angus Leeming <leeming@lyx.org>
2684 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2686 * lyxrc.[Ch] (read, write): overloaded member functions taking
2687 a std::[io]stream arguments.
2689 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2691 2004-03-31 Angus Leeming <leeming@lyx.org>
2693 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2694 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2696 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2697 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2699 2004-03-31 Angus Leeming <leeming@lyx.org>
2701 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2702 the LFUN_ALL_INSETS_TOGGLE code.
2704 2004-03-30 Angus Leeming <leeming@lyx.org>
2706 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2707 has died. Fall through to the generic Dialogs::show("document").
2709 2004-03-30 Angus Leeming <leeming@lyx.org>
2712 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2713 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2715 * lyxfunc.C (getStatus, dispatch): define the actions for these
2716 lfuns. Little more than a cut and pste job from ControlDocument.C
2718 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2720 2004-03-30 Angus Leeming <leeming@lyx.org>
2723 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2724 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2726 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2727 open/closed state of ollapsable insets. Usage:
2729 all-inset-toggle <state> <name>, where
2730 <state> == "open" || "closed" || "toggle" and
2731 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2733 * lyxtext.h, text2.C (toggleInset): removed.
2735 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2736 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2737 now passes LFUN_INSET_TOGGLE to the found inset.
2739 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2740 is now invoked as "all-insets-toggle toggle branch".
2742 2004-03-30 Angus Leeming <leeming@lyx.org>
2746 * pariterator.[Ch]: added/corrected header blurb.
2748 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2750 * dociterator.[Ch]: add an inset_ member
2751 (backwardPos): implemented
2752 (backwardPos, forwardPos): use inset_ when the stack is empty.
2753 (doc_iterator_begin, doc_iterator_end): implemented
2754 * pariterator.[Ch]: adjust, add begin, end
2755 * insetiterator.[Ch]: adjust, add begin, end
2759 * BufferView_pimpl.C:
2760 * CutAndPaste.C: adjust
2762 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2764 * buffer.C: increment file format to 232.
2765 * LaTeXFeatures.C: add bibtopic package.
2766 * bufferparams.[Ch]: param \use_bibtopic.
2768 * lyxrc.[Ch]: add lyxrc bibtex_command
2769 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2771 * buffer.C: increment file format to 231.
2773 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2775 * dociterator.C: implement forwardPar
2776 * iterators.[Ch]: remove, replaced by
2777 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2779 * BufferView_pimpl.C:
2782 * bufferview_funcs.C:
2788 * Makefile.am: adjust
2790 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2792 * CutAndPaste.C (pasteSelection): fix 2 crashes
2793 (eraseSelection): fix a crash
2794 * paragraph_funcs.C: remove a warning
2796 2004-03-28 Angus Leeming <leeming@lyx.org>
2799 * LyXAction.C (init): new LFUN_PRINT.
2801 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2803 2004-03-27 Angus Leeming <leeming@lyx.org>
2806 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2808 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2810 2004-03-27 Angus Leeming <leeming@lyx.org>
2812 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2813 insetlist always contains non-null pointers to insets.
2815 2004-03-26 Angus Leeming <leeming@lyx.org>
2817 * src/BufferView_pimpl.C:
2818 * src/CutAndPaste.C:
2821 * src/output_plaintext.C:
2822 * src/outputparams.h:
2823 * src/paragraph_funcs.C:
2827 * src/frontends/controllers/ControlErrorList.C:
2828 * src/frontends/gtk/FileDialogPrivate.C:
2829 * src/frontends/gtk/GPainter.C:
2830 * src/frontends/gtk/GToolbar.C:
2831 * src/frontends/qt2/QRef.C:
2832 * src/mathed/math_scriptinset.C: squash compiler warnings.
2834 2004-03-26 Angus Leeming <leeming@lyx.org>
2836 * ispell.C (LaunchIspell::start):
2837 * lyx_cb.C (AutoSaveBuffer::start):
2838 invoke run(DontWait) rather than runNonBlocking().
2840 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2842 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2844 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2846 * kbsequence.C (print): adjust
2848 * kbmap.C (printKeySym): rename and change signature
2849 (printKey): use LyXKeySym::print()
2851 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2853 * undo.C: add using std::advance to compile for stlport
2855 2004-03-24 Angus Leeming <leeming@lyx.org>
2857 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2858 it leads to a crash when no buffer is present.
2860 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2861 Martin Vermeer <martin.vermeer@hut.fi>
2863 * lyxfunc.C (dispatch):
2864 * bufferparams.C (readToken): use the new LColor::setColor
2866 * LColor.[Ch] (setColor): new version that takes two strings as
2867 argument and creates a new color entry if necessary
2869 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2871 * buffer.C (makeLaTeXFile): if the main latex file that is
2872 processed is usually a subdocument of some master, then pretend
2873 for a while that it is actually the master
2875 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2877 * buffer.C (getLabelList):
2878 (getBibkeyList): use getMasterBuffer()
2879 (getMasterBuffer): new method. Returns the main document in the
2880 case where one is using included documents.
2882 2004-03-25 André Pönitz <poenitz@gmx.net>
2886 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2888 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2890 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2891 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2893 * ParameterStruct.h: merge with ParagraphParameters
2895 * lyxtext.h: remove LyXText::parOffset() and getPar()
2897 * text3.C: Remove all 'manual' update calls. We do now one per user
2898 interaction which is completely sufficient.
2902 * BufferView_pimpl.C:
2903 * FontIterator.[Ch]:
2905 * ParagraphParameters.[Ch]:
2910 * cursor_slice.[Ch]:
2917 * output_docbook.[Ch]:
2918 * output_latex.[Ch]:
2919 * output_linuxdoc.[Ch]:
2920 * output_plaintext.[Ch]:
2922 * paragraph_funcs.[Ch]:
2923 * paragraph_pimpl.[Ch]:
2931 * frontends/controllers/ControlDocument.C:
2932 * frontends/controllers/ControlErrorList.C:
2933 * frontends/controllers/ControlSpellchecker.C:
2936 * insets/insetbase.h:
2937 * insets/insetbibitem.C:
2938 * insets/insetbox.C:
2939 * insets/insetbranch.C:
2940 * insets/insetcaption.C:
2941 * insets/insetcharstyle.C:
2942 * insets/insetcharstyle.h:
2943 * insets/insetcollapsable.C:
2944 * insets/insetcollapsable.h:
2945 * insets/insetert.C:
2946 * insets/insetfloat.C:
2947 * insets/insetfoot.C:
2948 * insets/insetmarginal.C:
2949 * insets/insetnote.C:
2950 * insets/insetoptarg.C:
2951 * insets/insettabular.C:
2952 * insets/insettext.C:
2953 * insets/insettext.h:
2954 * insets/insetwrap.C:
2955 * mathed/math_mboxinset.C:
2956 * mathed/math_nestinset.C:
2957 * mathed/math_scriptinset.C:
2958 * mathed/math_scriptinset.h:
2961 2004-03-24 Angus Leeming <leeming@lyx.org>
2963 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2964 deal with any child processes that have finished but are waiting to
2965 communicate this fact to the rest of LyX.
2967 2004-03-24 Angus Leeming <leeming@lyx.org>
2969 64-bit compile fixes.
2971 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2972 (c-tor): pass lyx::pos_types rather than ints.
2974 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2977 * text.C (Delete): compile fix.
2978 (getPar): ensure that function declaration is the same as that in
2981 2004-03-23 Angus Leeming <leeming@lyx.org>
2983 * ispell.C (LaunchIspell):
2984 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2985 a boost::shred_ptr rather than a std::auto_ptr.
2987 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2989 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2990 handle LFUN_FILE_INSERT_*
2992 * lyxrc.C (setDefaults, getDescription, output, read):
2993 * lyxrc.h: remove ps_command
2995 2004-03-22 Angus Leeming <leeming@lyx.org>
2997 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2998 Ensure that error_handler is processed once only and that all data
2999 is saved before attempting to output any warning messages.
3001 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3003 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3005 * tabular.C (TeXRow): crash fix (from Kayvan and André)
3007 2004-03-19 André Pönitz <poenitz@gmx.net>
3009 * cursor.[Ch] (reset): take main text inset as argument
3011 * BufferView: adjust
3012 * BufferView_pimpl.C: adjust
3014 * paragraph.[Ch]: fix completely broken operator=()
3016 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3018 * LColor.C (getFromLyXName): make sure that the color name is used
3021 2004-03-17 Angus Leeming <leeming@lyx.org>
3024 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3026 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3027 dialog and to kill a forked process.
3029 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3031 * text2.C (setCursorFromCoordinates): fix font problem
3033 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3035 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3036 bogus "rebuild cursor" code
3038 2004-03-11 André Pönitz <poenitz@gmx.net>
3040 * buffer.[Ch]: use InsetText instead of LyXText as container for
3043 * dociterator.[Ch]: drop the BufferView * member which is not needed
3044 anymore after the change to buffer.C
3046 * paragraph_funcs.C:
3050 * BufferView_pimpl.[Ch]:
3052 * cursor_slice.[Ch]: adjust
3054 * text3.C: fix bug in mathDispatch
3056 2004-03-08 André Pönitz <poenitz@gmx.net>
3058 * undo.[Ch]: use 'StableDocumentIterator' as base for
3061 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3064 * bufferparams.[Ch]: add jurabib support and param.
3066 * LaTeX.C: add FIXME/comment.
3068 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3070 * buffer.C: increment file format to 230.
3072 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3074 * cursor.C (dispatch): avoid infinite loops
3076 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3078 * rowpainter.C (paintSelection): fix x coordinates
3080 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3082 * text.C (rowBreakPoint): fix breaking before displayed insets
3084 2004-03-01 André Pönitz <poenitz@gmx.net>
3086 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3088 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3092 * BufferView_pimpl.C:
3100 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3106 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3107 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3109 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3111 * Bidi.[Ch] (computeTables): const correctness
3112 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3113 fill_hfill, fill_label_hfill and x from Row
3114 * lyxtext.h: prepareToPrint returns a RowMetrics
3115 * rowPainter.C: adjust
3116 * text.C (prepareToPrint): use width, not textWidth. adjust
3117 (redoParagraphInternal, cursorX): adjust
3118 * text2.C (getColumnNearX): adjust
3119 (init): put a default value to the top LyXText::width
3121 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3123 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3125 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3127 * lyxtext.h: add FontIterator class
3129 * text.C (FontIterator, operator*, operator->, operator++): add
3130 (rowBreakPoint, setRowWidth): adjust (fixing a
3133 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3135 * BufferView_pimpl.C (workAreaDispatch): allow also
3136 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3138 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3140 * text.C (rowBreakPoint): fix a bug showing with very large insets
3142 2004-02-25 André Pönitz <poenitz@gmx.net>
3145 * cursor.[Ch]: move some mathed specific code to mathed
3147 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3149 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3150 use_tempdir in preferences
3151 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3153 * lyx_main.C: ensure that tempdir is valid
3154 * lyxlex.h: correct typo
3155 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3156 * paragraph.[Ch] (isMultiLingual): make const
3157 * cursor.[Ch] (openable): make const
3159 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3161 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3163 2004-02-20 André Pönitz <poenitz@gmx.net>
3165 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3167 * cursor.[Ch]: prepare for localized getStatus()
3173 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3175 2004-02-20 André Pönitz <poenitz@gmx.net>
3177 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3179 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3181 * text2.C (setCursorFromCoordinates): switch to absolute coords
3183 (cursorDown): adjust
3184 * text3.C (dispatch): adjust
3186 2004-02-16 André Pönitz <poenitz@gmx.net>
3188 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3191 * cursor_slice.[Ch]: remove unneeded acessor function
3193 * lyxtext.h: rename rtl() to isRTL()
3201 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3203 * rowpainter.C (paintSelection): coord fix
3205 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3207 * Spacing.C: compile fix
3209 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3211 * cursor.C (dispatch): restore current_ before returning
3213 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3215 * text2.C (cursorUp, cursorDown): fix coords
3218 2004-02-12 André Pönitz <poenitz@gmx.net>
3223 * text3.C: add LCursor & parameter to most cursor movement functions
3224 remove usage of LyXText::cursorRow() and cursorPar()
3226 * cursor.[Ch]: add textRow() needed members
3229 * BufferView_pimpl.C:
3232 * BufferView_pimpl.C: adjust
3234 2004-02-11 André Pönitz <poenitz@gmx.net>
3238 * BufferView_pimpl.C: shift undo/redo handling
3240 * cursor.[Ch]: fix mathed crash
3243 * lyxtext.h: move selectionAsText to LCursor
3251 * rowpainter.C: fix excessive drawing
3253 2004-02-06 André Pönitz <poenitz@gmx.net>
3256 * BufferView_pimpl.[Ch]:
3257 * text3.C: move some text specific LFUN handling
3259 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3261 * text3.C (checkInsetHit): adjust coords
3262 * text2.C (getColumnNearX): adjust coords
3263 (edit): adjust coords
3264 * text.C (getRowNearY): add two asserts
3266 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3269 * format.C: add using std::distance to compile on gcc 2.95/stlport
3271 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3273 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3275 2004-02-04 André Pönitz <poenitz@gmx.net>
3277 * BufferView.[Ch] (insertInset):
3278 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3283 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3285 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3286 on the default clause of the switch
3287 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3288 wasn't catched by LCursor::dispatch
3290 2004-02-03 André Pönitz <poenitz@gmx.net>
3293 * cursor.[Ch]: some additional asserts
3295 * undo.[Ch]: remove LyXText dependency in interface
3299 * lyxtext.h (firstPar, lastPar): remove dead functions
3304 * paragraph.[Ch]: adjust
3306 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3308 * lyxfind.C (find): fix argument order in call to ::find
3310 2004-02-02 André Pönitz <poenitz@gmx.net>
3312 * cursor.[Ch]: remove direct access to anchor
3314 * text.C: remove findText() hack
3316 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3318 * iterators.[Ch] (lockPath): remove in favour of...
3319 * BufferView.[Ch] (setCursor): this addition
3320 * BufferView.C (putSelectionAt): adjust
3321 * undo.C (performUndoOrRedo): adjust
3322 * lyxfunc.C (dispatch): adjust
3324 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3326 * iterators.C (lockPath): add a missing slice
3327 * undo.C (performUndoOrRedo): remove redundant positioning code
3329 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
3331 * vc-backend.C (scanMaster): ";" -> ';'
3333 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
3335 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3336 std::binary_function
3338 * lyxtextclass.C (compare_name): rename to...
3339 (LayoutNamesEqual): ...this
3341 * lyxlex_pimpl.C (compare_tags): inherit from
3342 std::binary_function, put back into anon namespace
3344 * lyxfind.C (MatchString): inherig from std::binary_function
3345 (findChange): use empty() istead of !size()
3347 * format.C (FormatNamesEqual): new functor
3354 * converter.C (compare_Converter): rename to...
3355 (ConverterEqual): ...this, and fixup a bit.
3356 (getConverter): use it, and make function const
3357 (getNumber): use it, and make function const
3361 * bufferlist.C: add using boost::bind
3363 * MenuBackend.C (MenuNamesEqual): new functor
3364 (hasMenu): use it, and make function const
3365 (hasSubmenu): use nested bind to get rid of compare_memfun.
3367 2004-01-30 André Pönitz <poenitz@gmx.net>
3369 * BufferView_pimpl.C:
3372 * cursor_slice.[Ch]:
3375 * paragraph_funcs.C:
3376 * paragraph_funcs.h:
3380 * text3.C: move some of the edit(x,y) handling to the insets
3381 some coordinate changes.
3383 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
3385 * text.C: add using statements for std::advance and std::distance
3387 * paragraph.C: add using statement for std::distance
3389 * lyxfind.C: add using statement for std::advance
3391 * cursor.C (region): remove std:: from swap
3392 (openable): use nucleus in stead of operator->
3394 * BufferView.C: add using statements for std::distance and std::swap
3396 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
3398 * iterators.C: Remove the pimple, move the needed structures to
3399 the header file. Create accessor for the positions stack.
3400 (asPosIterator): remove function
3402 * PosIterator.C (PosIterator): move constructors to top of file
3403 (PosIterator): reimplement the constructor taking a ParIterator in
3405 (setFrom): new function
3406 (operator!=): inline it
3408 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
3410 * lyxfind.C (replaceAll): use std::advance
3412 * iterators.h: inherit from std::iterator.
3414 * PosIterator.C (advance, distance): remove
3415 * PosIterator.h: interit from std::iterator.
3417 2004-01-26 André Pönitz <poenitz@gmx.net>
3420 * BufferView_pimpl.[Ch]:
3424 * bufferview_funcs.C:
3434 * output_linuxdoc.C:
3435 * output_plaintext.C:
3437 * paragraph_funcs.[Ch]:
3438 * paragraph_pimpl.[Ch]:
3444 * text3.C: more IU: dumps most of the rest of the mathcursor
3445 implementation into cursor.[Ch]; "globalize" a bit of it.
3447 2004-01-25 Angus Leeming <leeming@lyx.org>
3449 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3451 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3453 * LaTeXFeatures.h: add nice_ and nice() const
3454 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3456 2004-01-20 André Pönitz <poenitz@gmx.net>
3459 * BufferView_pimpl.C:
3461 * bufferview_funcs.C:
3463 * cursor_slice.[Ch]:
3474 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3475 LCursor and mathcursor parts to LCursor and InsetBase.
3477 2004-01-15 André Pönitz <poenitz@gmx.net>
3479 * cursor_slice.[Ch]: add a few covienience functions
3481 * funcrequest.[Ch]: remove BufferView * member
3483 * BufferView_pimpl.C:
3490 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3492 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3494 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3495 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3497 2004-01-13 André Pönitz <poenitz@gmx.net>
3500 * lyxtext.h: hide cursor and selection anchor behind accessor function
3503 * BufferView_pimpl.[Ch]:
3505 * bufferview_funcs.C:
3515 * cursor_slice.[Ch]: some integer type changes for inset unification
3517 * lyxcursor.[hC]: remove, it's CursorSlice now.
3520 * BufferView_pimpl.[Ch]:
3521 * bufferview_funcs.C:
3527 * textcursor.[Ch]: adjust
3529 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3531 * text2.C (undoSpan): add and use
3532 * text.C (breakParagraph): use undoSpan (fix bug 578)
3535 2004-01-08 Angus Leeming <leeming@lyx.org>
3537 * BufferView_pimpl.C (MenuInsertLyXFile):
3538 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3539 * lyxfunc.C (menuNew, open, doImport):
3540 FileFilterList change to the FileDialog open and save functions.
3542 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
3544 * ShareContainer.h: make isEqual and isUnique adaptable
3546 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3548 2004-01-07 Angus Leeming <leeming@lyx.org>
3551 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3553 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3555 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3556 functions replacing find, replace and replaceAll.
3558 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3559 LFUN_WORDFIND(FORWARD|BACKWARD).
3561 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3563 * text.C (breakParagraph): remove an outdated #warning
3565 2004-01-07 André Pönitz <poenitz@gmx.net>
3567 * lyxfind.C: somewhat clearer logic
3569 * text.C: prevent crash in cursorX on unitialized row cache
3571 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3573 * lyxcursor.[Ch] (operator>): add
3574 * textcursor.C (selStart, selEnd): use std::min and std::max
3576 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3578 * Chktex.C: include boost/format.hpp
3580 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3582 * InsetList.C: replace functor MathcIt with adaptable functor
3584 (insetIterator): modify accordingly
3586 * BranchList.h: move the BranchNamesEqual functor here from...
3587 * BranchList.C: ... to here
3589 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3591 (add): replace a finding loop with std::find_if.
3593 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3595 * output_docbook.C: moving LatexParam functionality into
3598 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3600 * buffer.C: increment format to 229.
3602 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3605 * lyx_sty.[Ch]: remove minipageindent_def
3611 * text3.C: remove LFUN_INSET_MINIPAGE
3613 2003-12-28 Angus Leeming <leeming@lyx.org>
3615 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3617 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3619 * text2.C (setParagraph): fix off-by-one crash
3621 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3623 * output_docbook.C: header stuff for AGU
3625 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3627 * text2.C (redoCursor): remove
3630 * BufferView_pimpl.C: remove calls to redoCursor and
3631 setCursor(cursor.par(), cursor.pos()) all around
3633 2003-12-15 Angus Leeming <leeming@lyx.org>
3635 * buffer.C: up the format to 228.
3637 2003-12-15 André Pönitz <poenitz@gmx.net>
3639 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3644 * BufferView_pimpl.C:
3653 2003-12-15 Angus Leeming <leeming@lyx.org>
3655 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3656 than getFromGUIName to manipulate the color.
3658 2003-12-14 Angus Leeming <leeming@lyx.org>
3660 * BranchList.[Ch]: minimize the API.
3661 (Branch::getBranch, getColor): now return a 'const &'.
3662 (Branch::setSelected) now returns a bool set to true if the
3663 selection status changes.
3664 (BranchList::clear, size, getColor, setColor, setSelected,
3665 allBranches, allSelected, separator): removed.
3666 (BranchList::find): new functions, returning the Branch with
3668 (BranchList::add, remove): return a bool indicating that
3669 the operation was successful.
3671 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3672 new InsetBranch::isBranchSlected member function.
3674 * LColor.[Ch]: mimimize the API.
3675 (fill): renamed as addColor and made private.
3676 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3677 versions of these functions taking a string arg have been removed.
3679 * bufferparams.C (readToken):
3680 * lyxfunc.C (dispatch):
3681 * lyxrc.C (read): changes due to the altered BranchList and
3684 * factory.C (createInset, readInset): changes due to altered
3687 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3690 * lyxfunc.C: remove insetminipage. "minipage-insert"
3691 now produces a frameless minipage box inset.
3693 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3695 * textcursor.[Ch] (selStart,selEnd): add new methods
3696 remove selection::start, end, use LyXCursor::operator<
3697 * lyxcursor.[Ch] (operator<): add
3698 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3699 * BufferView.[Ch] (unsetXSel): add
3700 * text2.C (clearSelection): use unsetXSel,adjust
3703 * rowpainter.C: adjust
3704 * bufferview_funcs.C (put_selection_at): adjust
3706 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3708 * BufferView_pimpl.C: small coord. correction
3710 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3712 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3713 dragging over the splash screen.
3715 2003-12-11 Angus Leeming <leeming@lyx.org>
3717 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3718 as it is now handled in LyXText::dispatch.
3720 * text3.C (doInsertInset): remove a level of nesting.
3722 2003-12-11 Angus Leeming <leeming@lyx.org>
3724 * factory.C (createInset): changes due to the changed interface to
3725 InsetCommandMailer::string2params.
3727 2003-12-10 Angus Leeming <leeming@lyx.org>
3729 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3730 'dialog-show-new-inset <inset name>'
3732 2003-12-10 Angus Leeming <leeming@lyx.org>
3734 * buffer.C: up the format to 227.
3736 * factory.C: the box inset is now identified simply by 'Box'.
3738 2003-12-10 Angus Leeming <leeming@lyx.org>
3740 * buffer.C: up the format to 226.
3742 * factory.C: the note inset is now identified simply by 'Note'.
3744 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3746 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3747 when a pit is enough. Standarize a couple of loops.
3749 2003-12-05 Angus Leeming <leeming@lyx.org>
3751 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3752 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3753 data to the re-worked "log" dialog.
3755 2003-12-03 André Pönitz <poenitz@gmx.net>
3761 * paragraph_funcs.C:
3763 * text2.C: use Inset::getText instead of Inset::getParagraph
3765 2003-12-03 André Pönitz <poenitz@gmx.net>
3769 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3770 InsetText::read() as LyXText::read()
3772 2003-12-02 Angus Leeming <leeming@lyx.org>
3774 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3775 type. Add a comment in the implementation that the function uses
3776 the stream's bad() function rather than fail() as the std::streams
3779 2003-12-02 André Pönitz <poenitz@gmx.net>
3781 * lyxlex.[Ch]: make interface more similar to std::stream
3783 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3785 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3787 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3789 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3791 * vspace.[Ch]: remove VSpace::NONE
3793 2003-12-01 André Pönitz <poenitz@gmx.net>
3796 * lyxtext.h: move ParagraphList member to LyXText
3797 rename LyXText::ownerParagraphs to LyXText::paragraph
3800 * bufferview_funcs.C:
3810 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3812 * undo.C: fix cursor positioning
3814 2003-12-01 John Levon <levon@movementarian.org>
3816 * BufferView_pimpl.C: fix a crash on exit with
3819 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3821 * BranchList.C: fix setSelected() method.
3823 2003-11-28 André Pönitz <poenitz@gmx.net>
3825 * ParagraphParameters.[Ch]:
3826 * ParameterStruct.h: remove space above/below from Paragraph to
3829 * BufferView_pimpl.C:
3835 * paragraph_funcs.C:
3841 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3843 * factory.C: Syntax change for CharStyles
3845 2003-11-28 André Pönitz <poenitz@gmx.net>
3850 * buffer.[Ch]: move LyXText member
3852 2003-11-28 André Pönitz <poenitz@gmx.net>
3854 * BufferView.[Ch]: make LyXText * text a private member
3856 * BufferView_pimpl.C:
3867 * output_plaintext.C: cleanup
3869 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3872 * lyxtextclass.[Ch]: parametrize SGML document header
3874 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3877 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3880 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3882 * text2.C (setFont): rework using PosIterator (no more recursive)
3883 (setCharFont): no more needed
3884 (setLayout): no more selection cursors fiddling (done by redoCursor)
3885 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3886 destroy remaining ones)
3888 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3890 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3892 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3895 * text3.C: adjust + re-allow multi par depth changes
3896 * textcursor.C: simplify a bit
3898 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3904 * src/output_docbook.C:
3905 * src/output_latex.C:
3910 * src/text2.C: Introducing a number of tags parametrizing various
3911 XML formats that we may want to support
3913 2003-11-25 André Pönitz <poenitz@gmx.net>
3915 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3917 * lyxtext.h (leftMargin/rightMargin): simplify interface
3924 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3926 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3927 master file to any child files. Fixes bug 546.
3929 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3931 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3933 2003-11-24 André Pönitz <poenitz@gmx.net>
3935 * rowpainter.C: simplification
3937 * text2.C (updateCounters): remove call to redoParagraph on
3938 changed labels as this is far too expensive.
3940 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3942 * converter.C (convert): fix a crash: this function gets
3943 called with buffer == 0 from importer code.
3945 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3947 * text3.C (cursorPrevious): make sure that we do not compare
3948 iterators form different containers.
3951 * rowpainter.C (paintSelection): make sure that we do not compare
3952 iterators from different containers.
3954 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3955 iterators from different ParagraphList containers.
3958 * text2.C (LyXText): change order of initialization slightly
3959 (operator=): new function. copy all variables except cache_par_
3960 (moveUp): make sure that we do not compare iterators from
3961 different ParagraphList constainers.
3964 * text.C (firstPar): new function
3965 (lastPar): new function
3966 (endPar): new function
3968 * lyxtext.h: move things around and group public functions, public
3969 variables, private functions, private variables
3971 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3973 * factory.C: change call to InsetERT constructor to avoid
3974 additional invocation of method status
3975 * text2.C (toggleInset): remove redundant update() call
3976 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3977 instead of a Bufferview pointer
3979 2003-11-21 André Pönitz <poenitz@gmx.net>
3981 * rowpainter.C: simplification
3983 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3985 * text3.C (dispatch): make possible to extend a word/row selection
3988 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3990 * lyxtext.h: x0_,y0_ -> xo_,yo_
3991 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3992 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3993 * rowpainter.C (paintRows): paint full paragraphs
3995 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3997 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4000 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4002 * lyxtext.h: add x0_, y0_
4003 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4004 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4006 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4008 * text2.C (setCursorIntern): move the x_target update here *
4009 * text3.C: change some bv() to true/false in calls to
4010 cursorUp/Down/Right/Left
4011 * cursor.C: use helper function.
4013 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4015 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4016 * paragraph_funcs.[Ch]: correct comment
4017 * rowpainter.C: do not paint selections away from bv->cursor()
4018 Fix a long standing selection painting bug.
4019 * text3.C: generalize mouse-selection code to LyXTexts other that
4021 * textcursor.C: do not use y coords if we can use par offsets
4023 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4025 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4026 cursor position after e.g. inset insert)
4028 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4030 * lyxfind.C (replace): adjust to locking removal + some
4033 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4035 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4038 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4041 * output_docbook.C: XML sanitation: new layout
4042 parameters InnerTag and CommandDepth
4044 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4046 * BufferView_pimpl.C:
4048 * text3.C: Fix the insertion and modification of button-style
4051 2003-11-13 André Pönitz <poenitz@gmx.net>
4053 * InsetList.[Ch]: remove deleteLyXText
4055 * paragraph.[Ch]: cache beginOfBody position
4060 * text3.C: remove superfluous update() calls
4064 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4066 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4067 * BufferView.C (fitLockedInsetCursor): remove
4068 * cursor.[Ch] (getDim): add
4069 * text.C (getRowNearY): add faster version
4070 * text3.C: remove some update calls
4072 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4084 * text3.C: The Character Style /XML short element patch.
4086 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4089 * factory.C: Small step to solving 'unable to insert some insets'
4092 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4094 * cursor.[Ch] (updatePos): new function for updating the y
4095 position of the tip inset
4096 * bufferview_funcs.C (put_selection_at):
4097 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4099 2003-11-11 André Pönitz <poenitz@gmx.net>
4101 * text.C: remove big comment on invalid Paragraph pointers as it is
4104 2003-11-11 André Pönitz <poenitz@gmx.net>
4106 * text_funcs.[Ch]: merge with ...
4114 * Makefile.am: remove text_funcs.[Ch]
4116 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4118 * cursor.C (getPos): return absolute cached y coord
4120 * BufferView_pimpl.C (fitCursor): new simplistic code
4121 (workAreaDispatch): add a fitCursor call
4123 2003-11-10 André Pönitz <poenitz@gmx.net>
4126 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4128 2003-11-10 André Pönitz <poenitz@gmx.net>
4130 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4131 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4132 indicate that the cursor needs to leave an inset
4134 * lyxtext.h: remove inset locking
4136 * cursor.[Ch]: re-implement functionality provided by inset locking
4139 * BufferView_pimpl.[Ch]:
4141 * bufferview_funcs.[Ch]:
4153 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4155 * PosIterator.[Ch]: replace the stack with a vector, add inset
4157 * iterators.[C]: adjust
4159 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4161 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4163 * paragraph_funcs.C (readParToken): put the correct id in the
4164 error item, not the id of the top paragraph
4166 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4168 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4169 * bufferview_funcs.C (put_selection_at): use the above
4171 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4173 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4175 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4177 * output_linuxdoc.h:
4178 * output_plaintext.h:
4180 * output_docbook.h: add #include statements
4182 2003-11-05 José Matos <jamatos@lyx.org>
4184 * output_docbook.[Ch]:
4185 * output_latex.[Ch]:
4186 * output_linuxdoc.[Ch]:
4187 * output_plaintext.[Ch]: New files for output formats.
4188 * output.[Ch]: New file for helper functions.
4191 * paragraph_funcs.[Ch]: output functions moved to new files.
4193 * outputparams.h: rename of latexrunparams.h
4201 * paragraph_funcs.[Ch]:
4202 * paragraph_pimpl.[Ch]:
4203 * tabular.[Ch]: rename ascii to plaintext
4204 and LatexRunParams to OutputParams.
4206 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4208 * iterators.[Ch] (text): require bv argument
4209 * undo.C (recordUndo):
4210 * lyxfunc.C (dispatch):
4211 * bufferview_funcs.C (put_selection_at): adjust
4213 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
4215 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4217 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4219 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4222 2003-11-04 André Pönitz <poenitz@gmx.net>
4224 * cursor.[Ch]: restructure
4227 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4229 * iterators.[Ch] (asCursor): remove
4231 * lfuns.h: remove LFUN_INSET_EDIT
4237 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4239 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4241 * lyxfind.[Ch]: complete overhaul
4242 * BufferView_pimpl.C:
4244 * paragraph.[Ch] (insert): add
4246 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4250 * text.C: remove dead spellcheck code
4252 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4254 * dispatchresult.h: add a val setter
4256 * cursor.C (dispatch): use a tempvar for data_[i]
4258 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4260 * PosIterator.[Ch]: compile fix
4262 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4264 * text.C (cursorPar): deactivate the cursor cache
4266 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4268 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4270 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4272 * text3.C (dispatch): adjust for new DisptchResult semantics.
4274 * lyxfunc.C (dispatch): handle update when return from
4275 Cursor::dispatch, adjust for new DispatchResult semantics.
4277 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4278 DispatchResult(true) mean to not update. Add class functions for
4279 setting dispatched and update, as well as reading.
4281 * cursor.C (dispatch): don't handle update here
4283 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4285 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4286 * trans_mgr.C: adjust
4288 * paragraph_funcs.C (readParToken): exception safety
4290 * lyxvc.h: store the vcs pointer in a scoped_ptr
4293 * lyxsocket.C (serverCallback): exception safety
4295 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4297 * ispell.C (clone): make it return a auto_ptr
4299 * factory.C (createInset): exception safety
4300 (readInset): exception safety
4302 * bufferlist.C (newBuffer): exception safety
4304 * Thesaurus.C (Thesaurus): use initialization for aik_
4306 * MenuBackend.C (expandToc): exception safety.
4308 2003-11-03 André Pönitz <poenitz@gmx.net>
4312 * bufferview_funcs.C: remove getInsetFromId()
4315 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4321 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4323 * PosIterator.C (distance, advance): new
4324 * bufferview_funcs.[Ch] (put_selection_at): new
4325 * iterators.[Ch] (lockPath): new
4327 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4329 * iterators.[Ch] (asPosIterator): added
4330 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4331 * PosIterator.[Ch]: added
4333 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4337 * cursor.C (dispatch):
4338 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4340 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4341 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4342 contructor, add a class function dispatched. Remove operator>=
4344 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4346 * debug.C: only use the default constructor for debugstream
4349 * main.C (main): include debug.h and setup the lyxerr streambuf
4352 2003-10-31 José Matos <jamatos@lyx.org>
4354 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4356 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4357 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4358 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4359 * paragraph_pimpl.C (simpleTeXSpecialC):
4360 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4361 add LatexRunParams argument.
4363 * exporter.C (Export): change call accordingly.
4365 * latexrunparams.h: add new member to take care of the other backends.
4366 2003-10-30 José Matos <jamatos@lyx.org>
4368 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4369 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4370 factorise code for paragraph output.
4372 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4375 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4377 * text3.C (dispatch):
4378 * lyxfunc.C (dispatch):
4379 * cursor.C (dispatch):
4380 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4382 * dispatchresult.h: make the dispatch_result_t ctor explicit
4384 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4387 * buffer.C: small refactoring of docbook stuff
4389 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4391 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4394 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4396 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4397 operator dispatch_result_t, and operators for == != and >=
4399 * cursor.C (dispatch): adjust for operator dispatch_result_t
4400 removal. comment out call to update
4402 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4404 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4412 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4415 * dispatchresult.h: new file, DispatchResult broken out of
4418 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4420 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4422 * text.C (rowBreakPoint): put a hack inside #if 0
4424 2003-10-28 André Pönitz <poenitz@gmx.net>
4428 * paragraph_funcs.C:
4431 * text2.C: general cleanup (lots of small stuff)
4433 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4435 * text2.C (cursorEnd): simple fix to the "end key goes to one
4436 before the end on last row" bug
4438 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4440 * text.C (backspace): fix the "zombie characters"
4442 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4444 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4446 2003-10-27 André Pönitz <poenitz@gmx.net>
4448 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4450 * factory.C: handle new InsetPagebreak, InsetLine
4452 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4453 and move handling into new InsetPagebreak, InsetLine
4455 * BufferView_pimpl.C:
4457 * ParagraphParameters.C:
4458 * ParameterStruct.h:
4463 * paragraph_funcs.C:
4464 * paragraph_pimpl.C:
4470 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4473 * lyxrow_funcs.[Ch]:
4479 * text3.C: remove lastPos uses in favour of Row::endpos
4481 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4483 * undo.C (performUndoOrRedo): fix two crashes by setting a
4484 cursor by hand and reordering some calls. Use bv->lockInset instead
4485 of inset->edit because the latter loses cursor information
4487 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4489 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4491 (rowBreakPoint): fix width. change point to point + 1.
4492 Add a missing check.
4494 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4497 * lyxfunc.C: fix (at least partly) the problems
4498 with the Nav menu and headers inside branch insets
4501 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4503 * paragraph.C (getChar): add strong asserts
4505 * lyxrow_funcs.C (lastPos): remove hideous hack
4507 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4508 (fill): adjust to that (avoid an infinite loop)
4510 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4512 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4514 2003-10-23 André Pönitz <poenitz@gmx.net>
4516 * RowList_fwd.h: change list<> to vector<> to gain speed
4517 after suggestion from Alfredo
4519 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4521 * lyxtext.h: move the bidi stuff from here...
4524 * Bidi.[Ch]: ... to here
4526 2003-10-23 André Pönitz <poenitz@gmx.net>
4529 * text.C (isLastRow, isFirstRow): new functions
4531 * paragraph.h: new width cache member
4533 * rowpainter.C: replace RowList::iterator with Row & where possible
4535 * lyxfunc.C: replace several view()->text with a single call
4537 * toc.C: fix 'unused' warning
4539 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4541 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4542 when woring with stream::pos_type
4543 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4545 2003-10-22 André Pönitz <poenitz@gmx.net>
4548 * text.C: use Row & instead of RowList::iterator
4550 * lyxrow.h: rename end() to endpos()
4556 2003-10-22 Angus Leeming <leeming@lyx.org>
4558 * buffer.[Ch] (fully_loaded): new member function, returning true
4559 only when the file has been loaded fully.
4560 Used to prevent the premature generation of previews and by the
4561 citation inset to prevent computation of the natbib-style label.
4563 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4564 templates are all set up.
4566 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4568 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4570 * text.C: fixed an "oops" in the "is a bit silly"
4573 2003-10-21 André Pönitz <poenitz@gmx.net>
4575 * FuncStatus.[Ch]: small stuff, whitespace
4577 * lyxfont.[Ch]: operator<<() for debug reasons
4581 * lyxtext.h: whitespace, spelling
4583 * paragraph.C: naming of variables
4586 * text2.C: small stuff
4589 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4591 * text.C: (1) finish off the inset display() work;
4592 (2) fix the "is a bit silly" bug (accessing char
4595 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4597 * text.C: re-introduce display() for insets, fixing the
4598 various bugs (stretch of line above, math inset
4601 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4603 * text.C (rightMargin): remove spurious semicolon
4605 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4608 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4610 * text3.C: fix one crash due to wrong cursor def
4612 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4614 * vc-backend.C (scanMaster): make the regex static
4616 * LaTeX.C (scanAuxFile): make the regexs static
4618 * text3.C (doInsertInset, dispatch, dispatch):
4619 * text2.C (cursorUp, cursorDown):
4620 * text.C (selectNextWordToSpellcheck):
4621 * BufferView_pimpl.C (dispatch):
4622 * lyxfunc.C (dispatch): localDispatch -> dispatch
4624 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4626 * lyxsocket.C: include <cerrno>
4628 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4630 * lyxfunc.C (dispatch): remove textcache stuff
4632 * bufferlist.C (release): remove textcache stuff
4635 * TextCache.C: delete file
4636 * TextCache.h: delete file
4638 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4640 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4641 delete of the bv_->text.
4642 (resizeCurrentBuffer): remove texcache stuff
4643 (workAreaResize): ditto
4645 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4647 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4650 2003-10-16 André Pönitz <poenitz@gmx.net>
4657 * text3.C: speed up by storing y positions per paragraph plus per-row
4658 offset instead of having a 'full' y position in the row.
4660 2003-10-15 André Pönitz <poenitz@gmx.net>
4664 * undo.[Ch]: make undo aware of inner insets
4666 2003-10-14 Angus Leeming <leeming@lyx.org>
4668 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4669 static member functions LyX::ref() and LyX::cref.
4670 (lastfiles): new accessor functions for the new lastfiles_ member var.
4671 (addLyXView, views_): add a new LyXView to the list of views_.
4672 (updateInset): loop over all LyXViews to call their own updateInset
4673 member function, returning a pointer to the Buffer owning the inset.
4675 * BufferView_pimpl.C (loadLyXFile):
4676 * MenuBackend.C (expandLastfiles):
4677 * bufferlist.C (MenuWrite, QuitLyX):
4678 lastfiles is no longer a global variable.
4679 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4681 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4682 static function. Access through LyX::cref().emergencyCleanup().
4684 2003-10-14 André Pönitz <poenitz@gmx.net>
4686 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4688 * undo.[Ch]: restoring part of 'undo in insets'
4691 * undo_funcs.[Ch]: merge with undo.[Ch]
4693 * tabular.C: small cleansing stuff
4695 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4697 * paragraph_funcs.C (readParToken): report unknown insets as error
4698 boxes. Use the outer paragraph as location (also for unknown
4701 * factory.C (readInset): do not abort on reading an unknown inset.
4702 Eat it and return 0.
4704 2003-10-13 Angus Leeming <leeming@lyx.org>
4706 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4708 * lyxrc.C: displayTranslator is now a function,
4709 declared in GraphicsTypes.h.
4711 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4713 * format.C: new placeholder $$a to pass the socket address.
4715 * bufferlist.[Ch]: new function getBufferFromTmp.
4717 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4718 files in the temporary dir.
4720 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4722 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4724 * Makefile.am: add lyxsocket.[Ch].
4726 * lyx_main.C (error_handler): handle SIGPIPE.
4728 2003-10-13 André Pönitz <poenitz@gmx.net>
4730 * BufferView_pimpl.C:
4735 * undo_funcs.[Ch]: use paroffset_type instead of
4736 ParagraphList::iterators to prevent multiple conversion
4737 (and get a more robust interface)
4739 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4741 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4743 * text3.C (dispatch): ditto
4745 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4747 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4748 move the onlyfile, use onlyfile instead of foundfile in a couple
4751 * DepTable.C (update): flush the error stream a bit more
4753 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4755 * lyxserver.C (callback): adjust
4757 * lyxfunc.C (getStatus): add a missing brace in commented code
4758 (ensureBufferClean): reindent
4759 (dispatch): delete version taking a string
4761 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4763 * LaTeX.C (deplog): move found file handlig from here...
4764 (handleFoundFile): .. to new function here.
4765 (deplog): make sure to discover several files mentioned on the
4768 2003-10-10 André Pönitz <poenitz@gmx.net>
4775 * text3.C: fix some of the tabular crashes
4777 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4779 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4781 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4783 2003-10-09 André Pönitz <poenitz@gmx.net>
4785 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4788 * BufferView_pimpl.C:
4789 * bufferview_funcs.C:
4800 * undo_funcs.C: adjust
4802 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4804 * text2.C (incrementItemDepth): new function, use a backtracking
4805 algorithm to discover the correct item depth.
4806 (resetEnumCounterIfNeeded): new function, use a backtracking
4807 algorithm to discover if counter reset is needed.
4808 (setCounter): use them. Simplify a bit. Add different labels for
4809 different item depths for itemize.
4811 * paragraph.C (Paragraph): remove initialization of enumdepth
4814 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4815 enumerate and itemize. Change the type of itemdepth to signed char.
4817 2003-10-08 André Pönitz <poenitz@gmx.net>
4819 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4824 * tabular.[Ch]: fix crash after 'row-insert'
4826 2003-10-08 Angus Leeming <leeming@lyx.org>
4828 Fix doxygen warnings.
4830 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4831 Remove CutAndPaste:: prefix from header file declaration.
4833 * LColor.h (fill): remove LColor:: prefix from declaration.
4835 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4836 use lyx::depth_type rather than Paragraph::depth_type so that
4837 header file and .C file match.
4839 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4841 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4842 * aspell.C: \file aspell_local.C -> \file aspell.C
4843 * gettext.C: \file gettext.C -> \file src/gettext.C
4844 * gettext.h: \file gettext.h -> \file src/gettext.h
4845 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4846 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4847 * text.C: \file text.C -> \file src/text.C
4849 * toc.C: move comment so that doxygen is not confused.
4851 2003-10-07 Angus Leeming <leeming@lyx.org>
4853 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4855 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4858 * aspell_local.h: add forgotten std::string's.
4860 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4867 * text3.C: The Box patch. Fancybox support, minipage, parbox
4869 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4875 * ParagraphParameters.h:
4885 * lyxtextclasslist.h:
4888 * paragraph_pimpl.C:
4889 * textcursor.h: add <string> and other small fixes to make Lars'
4890 std::string patch compile with STLport.
4892 2003-10-06 Angus Leeming <leeming@lyx.org>
4894 * LColor.h: Add missing #include <string>.
4896 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4898 * All most all file in all subdirs: Make <string> be the prefered
4899 way of getting to std::string, add using declarations.
4901 2003-10-06 André Pönitz <poenitz@gmx.net>
4903 * metricsinfo.C: initialize LyXFont before changing attribute.
4904 (fixes the 'math in \emph is upright' bug)
4906 2003-10-06 André Pönitz <poenitz@gmx.net>
4908 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4910 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4913 * paragraph_pimpl.C: Small fixes to build using STLport
4915 2003-10-02 André Pönitz <poenitz@gmx.net>
4918 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4920 2003-10-01 André Pönitz <poenitz@gmx.net>
4922 * factory.C: assert early
4924 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4926 * lyx_main.C: remove the global debug object
4928 * debug.h: adjust for new debugstream
4930 * debug.C: adjust for new debugstream and keep the global debug
4933 2003-09-22 Angus Leeming <leeming@lyx.org>
4935 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4936 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4937 an incomplete class LyXFont.
4939 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4941 * factory.C: bug fix in branches
4943 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4945 * lyxfunc.C (processKeySym): adjust
4947 (dispatch): change arg name from ev to func, adjust
4948 (sendDispatchMessage): ditto
4950 * lyx_main.C (defaultKeyBindings): adjust keybindings
4951 (deadKeyBindings): ditto
4953 * kbsequence.C (addkey): return a FuncRequest
4955 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4957 * kbmap.C (bind): take a FuncRequest as arg, adjust
4960 (defkey): change to take a FuncRequest as arg, adjust
4961 (findbinding): take a FuncRequest as arg, adjust.
4963 * funcrequest.h (operator=): added
4965 * funcrequest.C (FuncRequest): default kb_action changed from
4966 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4968 * buffer.C (dispatch): simplify
4969 (dispatch): adjust to take a FuncRequest as arg, adjust
4971 * boost.C (assertion_failed): change assertion message slightly
4973 * ToolbarBackend.C (read): simplify
4975 * MenuBackend.C (binding): adjust call to findbinding, add a
4976 message if no binding is found.
4978 (expandToc): correct by adding a empty FuncRequest
4980 * LyXAction.C: include <boost/assert.hpp>
4981 (isPseudoAction): delete function
4982 (LookupFunc): change name to...
4983 (lookupFunc): this. change return type to FuncRequest.
4984 (getActionName): take kb_action as arg, simplify
4985 (funcHasFlag): add an assert, simplify.
4987 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4989 * toc.C (action): return a FuncRequest, simplify
4991 * lyxfunc.C (processKeySym): adjust
4992 (getStatus): delete version that takes an int.
4994 (dispatch): delete version that takes action as int
4996 (sendDispatchMessage): simplify and adjust
4998 * funcrequest.C (getArg): take unsigned int as arg
5000 * ToolbarBackend.C (read): adjust
5001 (add): delete version that takes func as a string.
5002 (getIton): take a FuncRequest as arg
5004 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5007 * MenuBackend.C (MenuItem): add a new construct that only takes a
5008 Kind, simplify the constructor use for submenus.
5010 (expandLastfiles): adjust
5011 (expandDocuments): adjust
5012 (expandFormats): adjust
5013 (expandFloatListInsert): adjust
5014 (expandFloatInsert): adjust
5015 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5017 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5018 Remove class variables lyx_pseudo_map and lyx_arg_map
5020 * LyXAction.C (searchActionArg): delete function
5021 (getPseudoAction): delete function
5022 (retrieveActionArg): delete function
5023 (LookupFunc): make it return kb_action, simplify.
5024 (getActionName): simplify
5026 * factory.C (createInset): fix new bug
5028 2003-09-19 Angus Leeming <leeming@lyx.org>
5030 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5031 masterFilename_ parameter in the include inset.
5033 * factory.C (createInset): changes due to the changes to InsetInclude.
5035 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5037 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5039 2003-09-18 Angus Leeming <leeming@lyx.org>
5042 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5043 Inset::fillWithBibKeys.
5044 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5046 2003-09-18 Angus Leeming <leeming@lyx.org>
5048 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5050 (ctor): pass and store a 'Buffer const &'
5051 (buffer): new member function.
5053 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5054 '*this' to the LaTeXFeatures ctor.
5056 2003-09-18 Angus Leeming <leeming@lyx.org>
5062 * text.C: rename EnumLColor as LColor_color.
5064 2003-09-18 Angus Leeming <leeming@lyx.org>
5066 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5067 remove #include "insets/insetbase.h" from cursor.h.
5069 2003-09-18 Angus Leeming <leeming@lyx.org>
5071 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5072 InsetOld_code to remove #include "inset.h".
5074 * iterators.C: add #include "insets/inset.h"
5076 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5078 * BufferView.C: remove more locking stuff that apparently doesn't
5079 do anything sensible.
5081 2003-09-16 André Pönitz <poenitz@gmx.net>
5084 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5087 2003-09-16 Angus Leeming <leeming@lyx.org>
5089 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5091 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5094 * paragraph.h: remove #include "lyxfont.h". Forward declare
5097 2003-09-16 Angus Leeming <leeming@lyx.org>
5099 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5100 of support/textutils.h.
5101 (isWord): move the contents of support/textutils.h's IsWordChar here.
5107 * text2.C: add #include "paragraph.h".
5110 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5112 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5118 * LaTeX.C: use namespace alias for lyx::support::os
5120 2003-09-16 Angus Leeming <leeming@lyx.org>
5123 * bufferview_funcs.C:
5126 * paragraph_pimpl.C:
5128 * text.C: add #include "LColor.h".
5130 2003-09-16 Angus Leeming <leeming@lyx.org>
5132 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5133 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5135 Store the FontBits::color variable as an int rather than as an
5136 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5139 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5140 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5141 string calls together.
5143 * lyxrc.C: add #include "LColor.h".
5145 2003-09-15 Angus Leeming <leeming@lyx.org>
5147 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5150 2003-09-15 Angus Leeming <leeming@lyx.org>
5152 * LColor.h: add an EnumLColor wrapper for LColor::color.
5154 * lyxfont.[Ch] (color, setColor, realColor):
5155 * lyxtext.h, text.C (backgroundColor):
5156 pass EnumLColor args to/from the functions, rather than LColor::color
5160 * lyxtext.h: forward declare EnumLColor.
5162 * lyx_main.C: add #include "LColor.h".
5164 2003-09-15 Angus Leeming <leeming@lyx.org>
5166 * .cvsignore: add lyx-gtk.
5168 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5173 * ParagraphParameters.C
5177 * bufferview_funcs.C
5187 * vc-backend.C: remove usage of STRCONV
5189 2003-09-15 Angus Leeming <leeming@lyx.org>
5191 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5192 explicitly define the color passed to the painter.
5194 2003-09-15 Angus Leeming <leeming@lyx.org>
5196 * bufferparams.C (BufferParams): reorder member initializers to avoid
5199 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5201 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5202 * text.C (updateRowPositions): remove an unusual nop
5204 2003-09-12 André Pönitz <poenitz@gmx.net>
5206 * BufferView_pimpl.C:
5215 * Counters.[Ch]: finish the 'automatic counters' job
5217 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5219 * aspell.C: include <boost/assert.cpp> (compile fix)
5221 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5223 * boost.C (assertion_failed): use lyx::support::abort instead of
5226 2003-09-10 Angus Leeming <leeming@lyx.org>
5228 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5229 with their _fwd progeny.
5231 2003-09-09 Angus Leeming <leeming@lyx.org>
5233 134 files throughtout the source tree: replace 'using namespace abc;'
5234 directives with the appropriate 'using abc::xyz;' declarations.
5236 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5238 * boost.C (emergencyCleanup): moved here from LAssert.c
5239 (assertion_failed): new function, called by BOOST_ASSERT
5241 * several files: change Assert to BOOST_ASSERT
5243 2003-09-09 Angus Leeming <leeming@lyx.org>
5245 * buffer.[Ch]: Add an Impl class and move Buffer's member
5246 variables into it. As a result move several header files out of
5249 Add header files to lots of .C files all over the tree as a result.
5251 2003-09-09 Angus Leeming <leeming@lyx.org>
5253 * buffer.[Ch]: make Buffer's member variables private. Add
5256 Lots of changes all over the tree as a result.
5258 2003-09-08 Angus Leeming <leeming@lyx.org>
5260 * graph.C: #include <config.h>.
5262 2003-09-08 Angus Leeming <leeming@lyx.org>
5266 * BufferView_pimpl.C:
5295 * toc.C: remove redundant using directives.
5297 2003-09-07 Angus Leeming <leeming@lyx.org>
5299 * LaTeXFeatures.h: remove #include "support/types.h".
5300 * ToolbarBackend.h: remove #include <algorithm>.
5301 * changes.h: remove #include <ctime>.
5302 * debug.h: remove #include <iosfwd>.
5303 * graph.h: remove #include "support/std_string.h".
5304 * lyx_main.h: remove #include <csignal>.
5305 * lyxlex_pimpl.h: remove #include <fstream>.
5306 * sgml.h: remove #include <algorithm>, <utility>.
5307 * toc.h: remove #include "support/std_ostream.h".
5308 Add #include <iosfwd>.
5310 2003-09-07 Angus Leeming <leeming@lyx.org>
5312 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5314 * converter.h: forward declare LatexRunParams.
5315 * encoding.h: remove #include "lyxrc.h".
5316 * lyxtext.h: remove #include "LColor.h".
5317 * lyxtextclass.h: remove #include "support/types.h".
5318 * trans.h: remove #include "tex-accent.h".
5319 * trans_mgr.h: remove #include "tex-accent.h".
5320 * insets/inset.h: remove #include "support/types.h", <vector>.
5321 * insets/insetcollapsable.h: remove #include "LColor.h".
5322 * insets/insetinclude.h: remove #include "dimension.h".
5323 * insets/insetlatexaccent.h: remove #include "dimension.h".
5324 * insets/insetoptarg.h:: remove #include "insettext.h".
5325 * insets/insettext.h: remove #include "dimension.h",
5326 <boost/shared_ptr.hpp>
5328 * insets/renderers.h: add #include "dimension.h".
5329 * insets/updatableinset.h: add #include "support/types.h".
5331 * many .C files: Associated changes.
5333 2003-09-06 Angus Leeming <leeming@lyx.org>
5335 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5336 one, inside testInvariant.
5338 * PrinterParams.C: new file.
5339 * PrinterParams.[Ch]: move the function bodies out of line.
5341 2003-09-06 Angus Leeming <leeming@lyx.org>
5343 * ParagraphParameters.h: forward declare ParameterStruct rather than
5344 including its header file.
5345 (depth): moved out-of-line.
5347 2003-09-06 Angus Leeming <leeming@lyx.org>
5349 * BufferView_pimpl.h:
5352 * lyxfunc.h: forward declare LyXKeySym rather than
5353 #include "frontends/LyXKeySym.h".
5355 * BufferView_pimpl.C:
5358 * lyxfunc.C: associated changes.
5360 2003-09-06 Angus Leeming <leeming@lyx.org>
5362 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5363 As a result, can remove the #include "insets/inset.h" from BufferView.h
5365 2003-09-06 Angus Leeming <leeming@lyx.org>
5367 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5368 As a result, can remove the #include "insets/inset.h" from BufferView.h
5370 2003-09-06 Angus Leeming <leeming@lyx.org>
5376 * bufferview_funcs.C:
5377 * BufferView_pimpl.C:
5382 * ParagraphParameters.C:
5387 * frontends/controllers/ControlDocument.C:
5388 * insets/insetcaption.C: rearrange the #includes into some sort of
5391 * buffer.h: remove #includes ErrorList.h, undo.h
5393 2003-09-06 Angus Leeming <leeming@lyx.org>
5395 * support/types.h: add a 'depth_type' typedef, used to store the
5396 nesting depth of a paragraph.
5399 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5400 defining explicitly.
5403 * paragraph_funcs.h:
5404 * ParagraphParameters.h:
5405 * sgml.h: use lyx::depth_type rather than Paragraph or
5406 ParameterStruct's depth_type.
5409 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5412 * BufferView_pimpl.C:
5414 * ParagraphParameters.C:
5417 * bufferview_funcs.C:
5424 * frontends/LyXView.C:
5425 * frontends/controllers/ControlDocument.C:
5426 * frontends/controllers/ControlErrorList.C:
5427 * insets/insetbibitem.C:
5428 * insets/insetbranch.C:
5429 * insets/insetcaption.C:
5430 * insets/insetcollapsable.C:
5431 * insets/insetenv.C:
5432 * insets/insetert.C:
5433 * insets/insetfloat.C:
5434 * insets/insetfoot.C:
5435 * insets/insetfootlike.C:
5436 * insets/insetnewline.C:
5437 * insets/insetquotes.C:
5438 * insets/insettabular.C:
5439 * insets/insettext.C:
5440 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5442 * frontends/controllers/ControlChanges.C: #include "changes.h".
5444 2003-09-06 Angus Leeming <leeming@lyx.org>
5446 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5447 than #including paragraph.h.
5450 * RowList.h: deleted. Superfluous.
5460 * insets/insettext.h: use ParagraphList_fwd.h rather than
5463 * paragraph.h: don't forward declare ParagraphList.
5466 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5467 rather than ParagraphList.h. paragraph.h is still needed for the
5468 Paragraph::depth_type parameters.
5470 * textcursor.h: enable it to compile stand-alone in light of the
5473 * bufferview_funcs.C:
5485 * frontends/controllers/ControlParagraph.C:
5486 * frontends/controllers/ControlTabular.C:
5487 * insets/insetmarginal.C:
5488 * insets/insetminipage.C:
5489 * insets/insetnote.C:
5490 * insets/insetoptarg.C: add header files needed to compile again.
5492 2003-09-06 Angus Leeming <leeming@lyx.org>
5494 * RowList_fwd.h: new file, forward-declaring Row rather than
5495 #including lyxrow.h.
5500 * insets/insettext.h: use it instead of RowList.h
5502 * bufferview_funcs.C:
5509 * text3.C: #include "RowList.h".
5511 2003-09-05 Angus Leeming <leeming@lyx.org>
5513 * factory.C (createInset):
5514 * vspace.C (c-tor): replace sscanf call with an istringstream.
5515 * ispell.C: re-add missing HP/UX headers.
5516 * lyxserver.C: re-add missing os2 headers.
5518 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5527 * text3.C: re-add missing system headers, needed for 2.95.2.
5529 2003-09-05 Angus Leeming <leeming@lyx.org>
5531 Changes most place everywhere due to the removal of using directives
5532 from support/std_sstream.h.
5534 2003-09-05 Angus Leeming <leeming@lyx.org>
5536 Replace LString.h with support/std_string.h,
5537 Lsstream.h with support/std_sstream.h,
5538 support/LIstream.h with support/std_istream.h,
5539 support/LOstream.h with support/std_ostream.h.
5541 Changes resulting throughout the tree.
5543 2003-09-05 Angus Leeming <leeming@lyx.org>
5545 * sgml.h: ensure that the header file can be compiled stand-alone.
5546 * *.C: strip out redundant #includes. (320 in total.)
5548 2003-09-04 Angus Leeming <leeming@lyx.org>
5550 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5551 here (from getPackages).
5553 * debug.[Ch]: add a new EXTERNAL tag.
5555 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5557 * text2.C (cursorEnd): simplify
5559 (getColumnNearX): adjust
5561 * text.C (computeBidiTables): adjust
5564 * rowpainter.C (paintChars): adjust
5565 (paintSelection): adjust
5566 (paintChangeBar): adjust
5569 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5571 (numberOfSeparators): adjust
5573 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5579 * text3.C: Restricts the mouse click functionality
5580 of insets like bibtex, include, toc and floatlist to the visible
5581 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5582 up the dialogs. Cursor has to be in front of the inset (i.e.
5583 start of row) for this to function.
5585 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5587 * bufferview_funcs.C (currentState): output row information
5589 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5591 * bufferview_funcs.C (currentState): output paragraph position
5593 2003-09-04 Angus Leeming <leeming@lyx.org>
5595 * FloatList.h: move out #include "Floating.h".
5596 * LaTeX.h: move out #include "DepTable.h".
5597 * LyXAction.h: move out #include "funcrequest.h".
5598 * buffer.h: move out #include "author.h", "iterators.h".
5599 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5600 * lyx_main.h: move out #include "errorlist.h".
5601 * lyxfunc.h: move out #include "FuncStatus.h".
5602 * lyxtext: move out #include "lyxcursor.h".
5603 * paragraph_pimpl.h: move out #include "counters.h".
5605 2003-09-03 Angus Leeming <leeming@lyx.org>
5607 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5608 preamble_snippets list, enabling us to add snippets to the preamble
5609 only if the snippet was not there already.
5611 2003-09-04 Angus Leeming <leeming@lyx.org>
5613 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5615 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5617 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5620 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5622 * BranchList.C: point fix, earlier forgotten
5624 2003-09-02 Angus Leeming <leeming@lyx.org>
5626 * box.C (contains): renamed from 'contained' after a fantastic
5629 2003-09-02 John Levon <levon@movementarian.org>
5635 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5637 2003-09-02 John Levon <levon@movementarian.org>
5639 * text2.C: simplification of cursorEnd(), including partial
5642 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5644 * buffer.C (readFile): add a space
5646 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5648 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5650 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5652 * buffer.C (readFile): new function, take a filename and a
5653 ParagraphList::iterator
5655 (readFile): adjust, make it private. don't use setStream, make
5656 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5657 always contain the filename.
5659 * BufferView.C (insertLyXFile): simplify and make it work for
5662 2003-08-30 John Levon <levon@movementarian.org>
5664 * Makefile.am: fix dist (from Kayvan)
5666 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5668 * most files: change to use const Buffer refs
5670 2003-08-27 André Pönitz <poenitz@gmx.net>
5672 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5673 on top of ownerPar().
5675 2003-08-27 John Levon <levon@movementarian.org>
5677 * funcrequest.C: properly initialise POD members
5679 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5681 * lyxtext.h (top_y): move top_y from here
5686 * BufferView_pimpl.[Ch]: to here
5687 * frontends/screen.C:
5688 * insets/insettabular.C:
5689 * insets/insettext.C: adjust
5690 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5692 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5695 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5697 2003-08-26 André Pönitz <poenitz@gmx.net>
5699 * paragraph_func.[Ch] (outerPar): new function
5702 * paragraph_funcs.C:
5703 * paragraph_funcs.h:
5704 * paragraph_pimpl.C:
5705 * text2.C: remove Inset::par_owner
5707 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5712 * text2.C: eliminates the needFullRow/display() stuff
5713 altogether, putting the logic in metrics/draw in the insets.
5715 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5717 * text2.C (redoParagraphInternal, redoParagraphs):
5718 * text.C (redoParagraph): add a call to updateRowPositions at the
5719 end of each 'metrics-like' call. Remove all others.
5720 (getRow): remove the 'y-computing' version.
5721 (getRowNearY): do not compute nor return the real y. Solve the
5722 'y < 0' problem and simplify.
5724 2003-08-22 Angus Leeming <leeming@lyx.org>
5726 * *.[Ch]: clean-up of licence and author blurbs.
5727 Also move config.h out of a few .h files and into a few .C files.
5729 2003-08-22 André Pönitz <poenitz@gmx.net>
5731 * lyxrow.[Ch]: add x_ and *fill_ members
5736 * text2.C: adjust/remove prepareToPrint() calls
5738 2003-08-22 André Pönitz <poenitz@gmx.net>
5740 * lyxrow.[Ch]: add end_ member
5742 * lyxrow_funcs.C: use LyXRow::end_
5744 * lyxtext.h (singleWidth): add LyXFont parameter
5747 * text2.C: adjust LyXText::singleWidth() calls
5749 * text.C (redoParagraph): simplify row breaking logic
5752 2003-08-19 André Pönitz <poenitz@gmx.net>
5754 * funcrequest.C: initialize button_ member
5757 * rowpainter.[Ch]: interface consolidation
5759 2003-08-18 André Pönitz <poenitz@gmx.net>
5762 * BufferView_pimpl.C:
5764 * paragraph_funcs.C:
5766 * text3.C: remove LyXScreen::draw() and fitCursor calls
5768 * BranchList.h: remove spurious semicolons
5770 * MenuBackend.C: fix branchlist related crash
5772 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5780 * bufferparams.[Ch]:
5784 * text3.C: implements the 'branch inset'
5785 idea. This allows the output of various versions of a document
5786 from a single source version, selectively outputing or suppressing
5787 output of parts of the text.
5788 This implementation contains a 'branch list editor' in a separate
5789 tab of the document settings dialog. Branches are user definable
5790 and have a "display colour" to distinguish them on-screen.
5792 ColorHandler was somewhat cleaned up.
5793 (1) make possible a dynamically growing LColor list by allowing
5794 the graphic context cache to grow along (vector);
5795 (2) eliminate an IMHO unnecessary step in colour allocation.
5797 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5799 * BufferView_pimpl.C: compile fix
5801 2003-08-15 André Pönitz <poenitz@gmx.net>
5803 * rowpainter.C: remove extra metrics calls
5805 * lyxtext.h: merge the two constructors into a single one,
5806 pass reference to owner's par list
5808 * BufferView_pimpl.C:
5812 2003-08-15 André Pönitz <poenitz@gmx.net>
5814 * lyxrow_funcs.[Ch]:
5817 * paragraph_funcs.C:
5822 * text_funcs.C: split LyXText::rowlist_ into individual
5823 Paragraph::rows_ chunks
5826 * BufferView_pimpl.[Ch]:
5829 * text3.C: remove toggleSelection()
5831 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5833 * bufferlist.C: beautify two alerts (shorter text of buttons)
5834 * buffer.C: Remove redundant ' ' from message
5836 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5837 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5838 rename VALIGN_CENTER to VALIGN_MIDDLE
5840 2003-08-11 André Pönitz <poenitz@gmx.net>
5842 * lyxtext.h (getPar):
5843 * text.C: new function
5845 2003-08-11 André Pönitz <poenitz@gmx.net>
5848 * tracer.[Ch]: remove unneeded files
5850 * InsetList.[Ch]: remove resizeInsetsLyXText()
5855 * text3.C: merge insertParagraphs() and appendParagraph()
5856 remove breakAgain(), update()
5858 * BufferView_pimpl.[Ch]:
5859 * bufferview_funcs.[Ch]:
5863 * tabular.C: adjust after text & InsetList changes.
5865 2003-08-08 André Pönitz <poenitz@gmx.net>
5867 * text.C (insertChar, backspace): replace rowlist fiddling
5868 with rebreak of full par
5871 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5872 checkParagraph, updateInset): removed
5874 2003-08-07 André Pönitz <poenitz@gmx.net>
5877 * text3.C: merge some LFUN handlers, remove dead code
5879 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5881 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5883 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5885 * text2.C (DEPM): fix part of bug 1255 and 1256
5887 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5889 * BufferView_pimpl.C (workAreaDispatch): change to use
5890 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5891 that are no mouse related.
5893 2003-08-05 André Pönitz <poenitz@gmx.net>
5896 * BufferView_pimpl.[Ch]:
5897 * bufferview_funcs.C:
5899 * text3.C: rip out "deep update"
5901 * textcursor.[Ch] (last_sel_cursor): remove unused member
5903 2003-08-04 André Pönitz <poenitz@gmx.net>
5906 * BufferView_pimpl.[Ch]:
5907 * ParagraphParameters.C:
5908 * bufferview_funcs.C:
5914 * text3.C: replace "complicated" BufferView::update(...) calls with
5917 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5919 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5921 * Makefile.am (lyx_SOURCES): add paper.h
5923 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5925 * Makefile.am: move things around so that both lyx-qt and
5926 lyx-xforms can be built (according to --with-frontend). Then lyx
5927 is a symbolic link to lyx-[firstfrontend]
5929 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5931 * Always use std::endl with lyxerr
5933 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5935 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5937 2003-08-01 André Pönitz <poenitz@gmx.net>
5940 * BufferView_pimpl.[Ch]:
5942 * text3.C: merge BufferView::repaint() and BufferView::update()
5944 2003-08-01 José Matos <jamatos@lyx.org>
5946 * buffer.[Ch]: file_format is no longer a buffer data element.
5948 2003-08-01 André Pönitz <poenitz@gmx.net>
5953 * text2.C: make redoParagraph more independent of current cursor
5955 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5957 * text2.C: remove unneeded members
5959 2003-07-30 André Pönitz <poenitz@gmx.net>
5961 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5963 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5964 create a single function...
5966 * paragraph_funcs.C (moveItem): ... here.
5969 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5971 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5973 * LColor.[Ch]: Add comment and greyedout logical colors.
5975 2003-07-30 André Pönitz <poenitz@gmx.net>
5977 * tabular.C: don't use Assert too heavily. This crashes where it
5980 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5982 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5983 is disabled (bug 1232)
5985 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5987 * factory.C: limited 'arg' scope
5989 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5991 * factory.C: fixed Note submenu issues
5993 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5995 * factory.C: submenu for Note/Comment/Greyedout
5997 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6000 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6002 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6005 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6006 greyedout. Patch provided by Jürgen Spitzmüller.
6008 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6010 * kbmap.C (read): fix error message when reading bind files
6012 2003-07-29 Angus Leeming <leeming@lyx.org>
6014 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6015 certainly does not do what it purports to do. I am doing it, and
6016 us, a favour by killing it.
6018 2003-07-28 José Matos <jamatos@lyx.org>
6020 * buffer.C (readBody, do_writeFile):
6021 * paragraph.C(readParagraph): \end_document replaces \the_end.
6023 2003-07-29 André Pönitz <poenitz@gmx.net>
6026 * BufferView_pimpl.[Ch]:
6030 * textcursor.[Ch]: remove toggleToggle & Co
6032 2003-07-28 José Matos <jamatos@fep.up.pt>
6034 * buffer.C (readParagraph):
6035 * params_func (readParToken, readParagraph):
6036 * paragraph.C (write): \layout -> \begin_layout.
6038 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6040 * lyxlex_pimpl.C (setFile): clean up slightly.
6042 * bufferparams.h: add compressed var
6044 * buffer_funcs.C (readFile): adjust for LyXLex change
6045 (newFile): ditto + simplify
6047 * buffer.C (writeFile): handle writing of compressed files
6049 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6050 Check if the file is compressed and set a bufferparm if so.
6052 * Makefile.am (lyx_LDADD): remove explicit -lz
6054 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6056 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6057 makeDocBookFile): put the real LyX version in the first line of
6061 * version.C.in: remove lyx_docversion
6063 * tabular.C (write_attribute): add a template-based version to
6064 write enums properly
6066 2003-07-28 André Pönitz <poenitz@gmx.net>
6071 * text3.C: use doubles again for x-coordinates. They are needed.
6073 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6075 * messages.C (getLocaleDir): use lyx_localedir()
6077 * lyxlex_pimpl.C (setFile): compress stuff
6079 * buffer.C (writeFile): add some compression stuff
6080 (do_writeFile): new func, dont call expliti close... will this
6083 * Makefile.am (lyx_LDADD): add -lz
6085 2003-07-28 José Matos <jamatos@fep.up.pt>
6087 * buffer.C: increment file format.
6088 * paragraph_funcs (readParagraph, readParToken):
6089 * paragraph.C (readParagraph): add \end_layout.
6091 2003-07-27 Angus Leeming <leeming@lyx.org>
6093 * Makefile.am: remove special casing for configure-time setting of
6094 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6096 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6097 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6099 2003-07-26 André Pönitz <poenitz@gmx.net>
6101 * paragraph_func.[Ch]:
6102 * paragraph.C (realizeFont): inline it whereever it is used
6107 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6110 2003-07-26 André Pönitz <poenitz@gmx.net>
6114 * text2.C: get rid of LyXText::need_break_row
6116 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6118 * toc.[Ch]: put namespace toc inside namespace lyx
6120 * MenuBackend.C (expandToc2): adjust for lyx::toc
6123 * lyxfunc.C (dispatch): adjust for lyx::find
6125 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6126 lyx::find instead. Reorganize a bit.
6127 (LyXReplace): rename to replace
6128 (LyXFind): rename to find
6130 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6133 2003-07-26 André Pönitz <poenitz@gmx.net>
6135 * text.C (setHeightOfRow): restrict scope of temporary variable
6137 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6138 code (never has been used?)
6140 2003-07-27 Asger Alstrup <alstrup@local>
6142 * text.C (fill): Optimise algorithm to exploit that we can reuse
6143 the LyXFont for many characters.
6144 (setHeightOfRow): Same thing.
6145 (rowBreakPoint): Same thing.
6147 2003-07-26 Asger Alstrup <alstrup@local>
6149 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6151 * text.C (singleWidth): Spurious font copying in hot-spot
6152 singleWidth avoided. Reorder tests for arabic for efficiency.
6154 * text.C (fill): handle empty paragraphs better.
6156 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6159 * encoding.h: add includes
6161 * lyxrc.C: remove reading of bind files
6163 * lyx_main.C (init): setup bindings and menus only if we have a
6166 * kbmap.C (read): new method. Do the actual reading of bind
6169 * converter.C (dvipdfm_options):
6172 (output): adapt PAPER_* enums.
6174 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6176 * bufferparams.h: remove paper-related enums from there
6178 * paper.h: New file. A trivial header file to hold paper-related
6179 enums. It should later expand to contain many paper-related
6182 * lyxrc.C: declare extern displayTranslator
6184 2003-07-27 José Matos <jamatos@fep.up.pt>
6186 * tabular.[Ch] (linuxdoc): add support for tables and figures
6189 2003-07-27 José Matos <jamatos@fep.up.pt>
6191 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6192 consistency in both functions.
6193 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6195 2003-07-26 Asger Alstrup <alstrup@local>
6197 * rowpainter.C (paintRows): Change algorithm to work directly on
6198 the insets rather than asking every character in the document
6199 whether its an inset.
6201 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6203 * buffer.C (openFileWrite): factorize some code
6205 2003-07-26 Angus Leeming <leeming@lyx.org>
6208 * lyx_main.[Ch]: replace occurances of system_tempdir with
6211 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6213 * rename Inset to InsetOld
6215 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6217 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6218 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6219 which I think is a bit clearer. EDIT is gone, since it was
6220 premature optimisation, and broken for mathed anyway.
6221 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6222 with cursor positioning in insets as well (math insets still do not
6223 work, but that's a different story anyway.) It mysteriously
6224 crashes sometimes with undo in the first paragraph, but I'm fairly
6225 confident that this is a compiler bug.
6227 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6229 * paragraph.C (Paragraph): adjust for new clone return type
6231 (copyIntoMinibuffer): ditto
6233 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6235 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6236 by not having a special case, and always doing a full rebreak of
6237 the document after undo.
6239 2003-07-23 Angus Leeming <leeming@lyx.org>
6241 * factory.C (createInset): InsetExternal::setParams now takes a
6244 2003-07-23 Angus Leeming <leeming@lyx.org>
6246 * factory.C (createInset): changed interface to the external and
6247 graphics mailers' string2params functions.
6249 2003-07-23 Angus Leeming <leeming@lyx.org>
6251 * factory.C (createInset): pass a
6252 Buffer const * parameter to InsetExternalMailer's string2params.
6254 2003-07-22 John Levon <levon@movementarian.org>
6256 * Thesaurus.h: include the right aiksaurus header
6258 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6260 * MenuBackend.C (expand): check menu shortcuts unconditionally
6262 2003-07-21 Angus Leeming <leeming@lyx.org>
6264 * factory.C (createInset): pass a
6265 buffer_path parameter to InsetGraphicsMailer's string2params.
6267 2003-07-21 Angus Leeming <leeming@lyx.org>
6269 * BufferView_pimpl.C (buffer):
6272 * lyxfunc.C (dispatch):
6273 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6274 rather than the grfx shortcut.
6276 2003-07-21 André Pönitz <poenitz@gmx.net>
6278 * rowpainter.C: remove unused variables
6281 * tabular_funcs.h: move to tabular.C
6282 * Makefile.am: adjust
6284 * tabular.[Ch]: basic optical cleaning
6286 * author.h: pass references, not values
6288 2003-07-18 André Pönitz <poenitz@gmx.net>
6296 * text3.C: two-phase drawing for InsetText and InsetTabular
6297 some float -> int changes.
6299 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6301 * lyx_main.C: fix the fix
6303 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6305 * lyx_main.C: fix a crash in batch mode if no files specified
6308 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6310 * format.[Ch] (papersize): moved to BufferParams
6311 * converter.[Ch] (dvips_options): moved to BufferParams
6312 (dvipdfm_options): moved to anon namespace
6313 * bufferparams.[Ch]: added above functions.
6315 2003-07-17 André Pönitz <poenitz@gmx.net>
6319 * text2.C: don't call inset->update() anymore
6321 * metricsinfo.[Ch]: add convenience constructor
6323 2003-07-16 André Pönitz <poenitz@gmx.net>
6328 * text2.C: replace the LyXCursor::irow_ member with
6329 on-demand computation of the value
6331 2003-07-16 John Levon <levon@movementarian.org>
6333 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6335 2003-07-15 André Pönitz <poenitz@gmx.net>
6338 * text2.C: remove no more needed refresh_row
6340 2003-07-15 André Pönitz <poenitz@gmx.net>
6345 * text3.C: refresh_status tristate -> need_update bool
6347 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6349 * lyxtext.h (init): remove reinit argument (act as if always true)
6350 * text2.C: adjust to that
6352 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6354 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6355 * text3.C: use it to delete selections in some cases
6356 (bugs 441, 673, 702, 954).
6358 2003-07-14 André Pönitz <poenitz@gmx.net>
6360 * rowpainter.[Ch]: reduce interface
6362 2003-07-14 André Pönitz <poenitz@gmx.net>
6364 * BufferView_pimpl.C:
6365 * text2.C: adjust after removing unused BufferView * argument
6367 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6369 * text2.C (init): fix a crash fired on resize
6371 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6373 * buffer.[Ch]: added new closing signal
6374 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6375 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6376 BufferView::Pimpl via the closing the signal
6378 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6380 * buffer.[Ch]: take out all bv-related from buffer
6382 * BufferView_pimpl.[Ch]: connect to new signals
6383 * CutAndPaste.C: removed useless asserts
6384 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6387 * lyxfunc.C: moved view-related funciontality from vc here
6388 * paragraph.C: removed outdated comments
6391 2003-07-10 André Pönitz <poenitz@gmx.net>
6393 * BufferView_pimpl.C:
6397 * text2.C: remove InsetText::InnerCache, clean up consequences
6399 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6401 * ispell.C: fix two typos in error messages
6403 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6405 * Extend Note inset to other forms of annotation like Comment
6406 and Greyedout. Right button click gives dialog.
6408 Files modified or added (+):
6412 * ControlNote.[Ch] +
6414 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6415 frontends/controllers
6419 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6421 * aspell.C: add missing namespace lyx::support
6423 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6425 * BufferView.[Ch] (newFile): Add
6426 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6427 * LaTeX.[Ch] (message): added this signal and use it
6428 * buffer.[Ch] (busy, message): added these signals and use them
6429 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6433 * importer.C: use buffer signals instead of direct bv calling
6434 * lyx_cb.[Ch] (ShowMessage): removed
6437 * paragraph_funcs.C:
6438 * text2.C: use buffer signals
6440 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6442 * introduce namespace lyx::graphics
6444 2003-07-02 André Pönitz <poenitz@gmx.net>
6446 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6448 2003-07-01 André Pönitz <poenitz@gmx.net>
6455 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6456 text*.C to text_func.C
6458 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6460 * introduce namespace lyx::support
6462 2003-06-30 André Pönitz <poenitz@gmx.net>
6467 * text.C: re-enable --with-included-string
6469 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6471 * textcursor.C: add <config.h>
6473 * text.C (getWord): remove const from word_location arg
6475 * lyxvc.C (getLogFile): fix const type order
6477 * lyxtext.h: remove const from word_location arg, add arg name
6479 * lyxlayout.h: currect type on labeltype.
6481 * importer.C: correct \file
6483 * converter.C (intToFormat): use std:: on ret val, ws changes
6485 * bufferlist.h: correct \file
6487 * buffer.C (makeLinuxDocFile): fix const type order
6488 (makeDocBookFile): ditto
6489 (fillWithBibKeys): use std:: on stdlib args.
6491 * CutAndPaste.C: fix authors.
6492 (availableSelections): use std:: on return vector
6494 2003-06-27 André Pönitz <poenitz@gmx.net>
6496 * BufferView_pimpl.C:
6497 * bufferview_funcs.C:
6505 * text3.C: remove LyXCursor::row_ member
6508 * text.C: rename fullRebreak() to partialRebreak() and implement
6509 a fullRebreak() that really bereks fully
6511 * textcursor.h: new struct for cursor-related data
6513 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6515 * lyx_main.C (LyX): get full path of document loaded on the
6518 2003-06-26 André Pönitz <poenitz@gmx.net>
6520 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6521 remove unused/broken operator>,<,>=.
6523 * text.C: remove only use of broken operator<= in an Assert().
6525 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6527 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6528 moved errorlist_.clear to showErrorList
6530 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6532 * converter.C (scanLog, runLaTeX):
6533 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6534 move the bv->showErrorList call to the callers
6535 * lyxfunc.C: i.e. here...
6537 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6538 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6539 namespace, the second to...
6540 * buffer_funcs (BufferFormat, parseErrors): added
6541 * errorlist.C (ErrorList(TeXErrors const &)): removed
6543 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6545 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6547 2003-06-24 "Garst R. Reese" <reese@isn.net>
6551 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6553 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6555 * version.C.in: change docversion to 1.4
6557 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6559 * buffer.C: fix a bug just introduced
6561 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6563 * buffer.[Ch]: added the parseError signal and use it, removed
6565 * BufferView.[Ch] (addError): moved to ...
6566 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6567 to the Buffer::parseError signal to catch (guess what) parse errors
6568 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6570 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6572 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6573 ability to create a buffer and to return an existing one from
6574 the list. Moved these functions to...
6575 * buffer_funcs.[Ch]: added
6576 * BufferView.[Ch] (loadLyXFile): added
6577 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6578 job removed from bufferlist::loadLyXFile.
6579 * buffer.C (setReadOnly): make it work without view
6580 (i.e added an if (users))
6582 2003-06-19 Angus Leeming <leeming@lyx.org>
6585 * LyXAction.C (init):
6586 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6587 with LFUN_DIALOG_SHOW <name> <data>.
6589 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6591 * CutAndPaste.C (availableSelections): small compilation fix for
6592 ancient (gcc 2.9x) compilers
6594 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6596 * text3.C (cursorNext): add tmp var
6598 * text2.C (updateCounters): for function calling out of for clause
6599 (replaceSelectionWithString): ditto
6600 (insertStringAsParagraphs): ditto
6601 (getColumnNearX): add tmp var
6602 (setCursorFromCoordinates): add tmp var
6603 (cursorDownParagraph): add tmp var
6604 (deleteEmptyParagraphMechanism): add tmp var
6606 * text.C (insertChar): add tmp var
6608 * rowpainter.C (paintDepthBar): add tmp var
6610 * CutAndPaste.C (availableSelections): potentially check all
6611 paragraphs in a cut to fill the shown strings.
6613 2003-06-18 André Pönitz <poenitz@gmx.net>
6615 * kbmap.[Ch]: use vector<> instead of list<>
6617 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6619 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6620 pasteSelection with index
6622 * text2.C (pasteSelection): modify, call pasteSelection with index
6624 * paragraph.C (asString): reimplement version with no interval to
6625 call the one with interval.
6627 * lyxtext.h: add index arg to pasteSelection
6629 * MenuBackend.C (MenuItem): handle PasteRecent
6630 (Menu::read::Menutags): add md_pasterecent
6632 (expandPasteRecent): new function
6635 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6637 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6639 (availableSelections): new function
6641 2003-06-17 Angus Leeming <leeming@lyx.org>
6643 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6645 2003-06-17 Angus Leeming <leeming@lyx.org>
6648 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6650 * lyxfunc.C (dispatch): invoke it.
6652 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6654 * iterators.C (operator++, ParPosition): reintroduce some
6655 const_cast for the benefit of older compilers.
6657 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6659 * text3.C (dispatch): do not modify clipboard when doing
6660 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6661 LFUN_DELETE_SKIP on a selection selection
6663 2003-06-16 André Pönitz <poenitz@gmx.net>
6669 * tabular.[Ch]: IU of clone() and getLabelList();
6671 2003-06-13 André Pönitz <poenitz@gmx.net>
6673 * tabular.h: compactification
6675 2003-06-12 André Pönitz <poenitz@gmx.net>
6679 * tabular_funcs.h: some renaming plus whitespace
6681 2003-06-12 André Pönitz <poenitz@gmx.net>
6684 * BufferView_pimpl.C:
6690 * toc.C: Return a Paragraph & for ParIterator::operator*()
6692 2003-06-11 John Levon <levon@movementarian.org>
6696 * ToolbarBackend.C: add "Toolbars" section and
6699 2003-06-10 Angus Leeming <leeming@lyx.org>
6702 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6704 * lyxfunc.C (dispatch): invoke it.
6706 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6708 * main.C: protect <ios> with HAVE_IOS
6709 (main): protect sync_with_stdio with HAVE_IOS
6711 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6713 * text2.C (cutSelection): adjust
6714 (pasteSelection): adjust
6716 * messages.C: handle get of empty string
6718 * main.C (main): use sync_with_stdio(false)
6720 * lyxfunc.C (dispatch): adjust
6722 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6723 (WriteAs): remove unneeded BufferView arg.
6725 * bufferparams.h: use correct types on papersize, papersize2 and
6728 * bufferparams.C (readToken): adjust for type
6729 (writeLaTeX): add missing cases to switch.
6731 * bufferlist.C (quitWriteBuffer): adjust
6734 * buffer.C (asciiParagraph): remove some commented code.
6736 * CutAndPaste.C: remove current_view extern variable.
6737 (cutSelection): add BufferParams arg.
6738 (eraseSelection): add BufferParams arg.
6739 (pasteSelection): add Buffer const & arg
6741 2003-06-07 John Levon <levon@movementarian.org>
6744 * paragraph_funcs.C:
6745 * paragraph_pimpl.C:
6749 * paragraph.C: allow InsetERT to freely space lines,
6750 and some consolidation of code
6752 2003-06-06 José Matos <jamatos@fep.up.pt>
6754 * buffer.C (makeDocBookFile): fix bug #821
6756 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6758 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6760 2003-06-04 Angus Leeming <leeming@lyx.org>
6762 * buffer.C: bump format to 224.
6764 2003-06-05 André Pönitz <poenitz@gmx.net>
6766 * text2.C (redoParagraphs): remove two const_cast<>
6768 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6770 * ParagraphList.h: remove last remnants of NO_STD_LIST
6772 2003-06-03 Angus Leeming <leeming@lyx.org>
6774 * factory.C (createInset): small change to the way InsetExternal's params
6777 2003-06-04 André Pönitz <poenitz@gmx.net>
6779 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6781 * paragraph_pimpl.h:
6782 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6784 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6786 * undo_funcs.C: make some simple cases of undo work again
6788 2003-06-03 John Levon <levon@movementarian.org>
6790 * ispell.C: HPUX doesn't have sys/select.h
6793 2003-06-03 John Levon <levon@movementarian.org>
6795 * CutAndPaste.C: update tabular and include inset
6800 * paragraph.C: remove owningBuffer(), don't pass Buffer
6803 * factory.C: insetGraphicsParams changed
6805 2003-06-02 John Levon <levon@movementarian.org>
6811 * text3.C: remove insetparent
6813 2003-06-02 John Levon <levon@movementarian.org>
6816 * buffer.C: fix inset_iterator.end(), move out of line
6819 2003-06-01 John Levon <levon@movementarian.org>
6821 * text3.C: use a proper cut/paste when doing inset
6822 insert (from Jürgen Spitzmüller)
6824 2003-06-01 John Levon <levon@movementarian.org>
6826 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6828 2003-05-30 André Pönitz <poenitz@gmx.net>
6830 * rowpainter.C: unify second drawing phase
6832 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6834 * trans_mgr.C: remove one case of current_view
6836 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6838 * paragraph_funcs.h: remove paragraph.h include
6840 * paragraph.h: delete NO_STD_LIST stuff
6842 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6844 * buffer.h: remove paragraph.h include
6846 * ParagraphList.C: delete file
6848 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6850 * toc.C (getTocList): adjust
6852 * paragraph_pimpl.C (validate): adjust
6854 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6856 * paragraph.C (Paragraph): adjust
6857 (getPositionOfInset): use const_iterator, adjust
6858 (bibitem): use const_iterator, adjust
6859 (setInsetOwner): adjust
6861 * iterators.C (operator++): adjust
6863 * InsetList.[Ch]: Replace selfmade iterator with standard
6864 vector::iterator also introduce const_iterator. Remove getPos,
6865 getInset and setInset from InsetTable. Adjust accordingly.
6867 * BufferView.C (lockInset): adjust
6868 (ChangeInsets): adjust
6870 * tabular.[Ch]: delete commented same_id functions
6872 2003-05-28 John Levon <levon@movementarian.org>
6874 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6876 2003-05-28 André Pönitz <poenitz@gmx.net>
6878 * metricsinfo.[Ch]: remove 'fullredraw' member
6880 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6882 * lyxtextclass.C (operator): remove caching.
6884 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6888 * text2.C (cursorBottom): adjust
6889 (setCounter): use ParagraphList::find, adjust
6891 * text.C (workWidth): use ParagraphList::find, adjust
6893 * lyxcursor.C (LyXCursor): adjust
6895 * buffer.C (inset_iterator): adjust
6897 * ParagraphList.h: make iterator(value_type) private, make
6898 ParagraphList a friend of iterator.
6900 * ParagraphList.C (find): new function
6902 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6904 2003-05-27 André Pönitz <poenitz@gmx.net>
6906 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6908 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6910 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6912 2003-05-26 John Levon <levon@movementarian.org>
6914 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6916 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6918 * remove same_id from function signatures, adjust.
6920 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6922 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6924 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6926 * paragraph.C (Paragraph): get rid of same_ids parameter
6928 * ParagraphList.C (insert): adjust
6931 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6933 * paragraph_funcs.C (breakParagraph): adjust
6934 (breakParagraphConservative): adjust
6936 * buffer.C (readParagraph): adjust
6938 * ParagraphList.C (insert): take a reference instead of a pointer
6941 * paragraph.[Ch] (id): new function
6943 * bufferlist.C (newFile): adjust
6945 * ParagraphList.C (ParagraphList): adjust
6947 (push_back): take a reference instead of a pointer.
6949 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6951 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6954 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6955 set else use old code.
6957 * ParagraphList.C: remove all NO_NEXT code and only compile this
6958 code of NO_STD_LIST is set.
6960 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6962 * BufferView_pimpl.C:
6972 * graphics/GraphicsConverter.C:
6973 * graphics/PreviewLoader.C: header adjustment
6975 2003-05-23 Angus Leeming <leeming@lyx.org>
6977 * LaTeXFeatures.[Ch] (useBabel): new method.
6978 * bufferparams.C (writeLaTeX): use it.
6980 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6982 * ParagraphList.h (set): remove unused function.
6984 2003-05-23 André Pönitz <poenitz@gmx.net>
6987 * BufferView_pimpl.C:
6991 * undo_funcs.C: setUndo reworked
6993 * iterators.[Ch]: add access to topmost ParagraphList
6995 * lyxtext.[Ch] (workWidth): add a const
6997 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6999 * texrow.[Ch] (increasePos): remove function
7000 * exporter.C (export): removed unused var and outdated comment
7002 2003-05-23 Angus Leeming <leeming@lyx.org>
7004 * latexrunparams.h: rename fragile as moving_arg.
7005 * paragraph.C (simpleTeXOnePar): ditto.
7006 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7008 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7010 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7012 (textUndoOrRedo): comment out a currently unused var.
7014 * paragraph.h (NO_NEXT): enable NO_NEXT
7016 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7018 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7020 * exporter.C (Export): adjust for removeAutoInsets removal.
7022 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7024 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7026 * BufferView.[Ch] (removeAutoInsets): delete function
7028 2003-05-22 Angus Leeming <leeming@lyx.org>
7030 * latexrunparams.h: add a free_spacing variable.
7032 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7033 to pass moving_arg, as the data is stored in runparams.fragile.
7035 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7036 to Inset::latexOptional or to simpleTeXOnePar.
7038 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7039 free_spacing arg to Inset::latexOptional.
7041 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7044 2003-05-22 Angus Leeming <leeming@lyx.org>
7046 * latexrunparams.h: add fragile and use_babel variables.
7048 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7049 * buffer.C (makeLaTeXFile): store this returned value in
7050 runparams.use_babel, thus passing it to the inset::latex methods.
7052 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7053 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7055 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7056 longer has a fragile arg, as it is stored in runparams.fragile.
7058 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7059 moving_arg parameter as the data is stored in runparams.fragile.
7061 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7062 a fragile parameter as the data is stored in runparams.fragile.
7064 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7066 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7068 2003-05-22 Angus Leeming <leeming@lyx.org>
7070 * latexrunparams.h: add a 'bool nice' which defaults to false.
7072 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7073 now encapsulated within runparams.
7075 * bufferlist.C (updateIncludedTeXfiles):
7076 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7078 2003-05-22 Angus Leeming <leeming@lyx.org>
7080 * latexrunparams.h: new file containing struct LatexRunParams.
7081 * Makefile.am: add new file.
7083 * LaTeX.[Ch] (c-tor, run):
7084 * buffer.[Ch] (makeLaTeXFile):
7085 * bufferlist.[Ch] (updateIncludedTeXfiles):
7086 * converter.C (convert, scanLog):
7087 * converter.[Ch] (runLaTeX):
7088 * exporter.C (Export):
7089 * paragraph.[Ch] (simpleTeXOnePar):
7090 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7091 * paragraph_funcs.[Ch] (latexParagraphs):
7092 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7093 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7094 pass around a LatexRunParams parameter.
7096 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7098 * paragraph.[Ch]: remove unused constructor
7100 * ParagraphList.C (erase): new function, taking two iterators
7102 2003-05-22 André Pönitz <poenitz@gmx.net>
7104 * undo_funcs.C: remove duplicated code
7106 * iterator.[Ch]: operator=
7108 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7110 * tabular.C (SetMultiColumn): ws changes
7112 * rowpainter.C (paintFirst): get rid of a ->previous
7114 * lyx_cb.C (getPossibleLabel): parlist simplification
7116 * BufferView.C (ChangeInsets): simplify slightly.
7118 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7120 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7121 * lfuns.h: new LFUN_SPACE
7122 * lyxfunc.C: protected space has a new lfun
7123 * paragraph_funcs.C: read new space insets
7125 * factory.C: handle new space insets
7127 2003-05-22 André Pönitz <poenitz@gmx.net>
7130 * BufferView_pimpl.C:
7133 * undo_funcs.C: return a ParIterator from getParFromID.
7135 * iterators.[Ch]: add two const's
7137 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7139 * toc.C (getTocList): adjust
7141 * iterators.[Ch]: rework for parlist
7143 * buffer.C (par_iterator_begin): adjust
7144 (par_iterator_end): adjust
7146 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7148 * BufferView.C (removeAutoInsets): adjust
7149 (ChangeInsets): adjust
7151 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7153 * text.C (top_y): fix bug 1110
7155 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7157 * errorlist.[Ch]: added
7160 * BufferView_pimpl.C:
7161 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7164 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7166 * Makefile.am: ensure that lyx is relinked upon changes to the
7167 various "convenience" libs.
7169 2003-05-20 Angus Leeming <leeming@lyx.org>
7171 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7172 files are compiled in alphabetical order again.
7174 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7176 2003-05-19 Angus Leeming <leeming@lyx.org>
7178 * gettext.[Ch]: remove "char const * _(char const *)".
7180 2003-05-19 André Pönitz <poenitz@gmx.net>
7182 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7191 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7193 2003-05-19 André Pönitz <poenitz@gmx.net>
7197 * lyxtextclass.[Ch]:
7199 * paragraph_funcs.[Ch]:
7201 * text3.C: more insetenv work
7203 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7205 * ParagraphParameters.C (params2string): small bug fixed
7207 2003-05-16 André Pönitz <poenitz@gmx.net>
7210 * bufferview_funcs.C: patch from Kornel Benko to prevent
7211 crash when _(...) is called twice in a statement
7213 2003-05-16 André Pönitz <poenitz@gmx.net>
7220 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7222 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7224 * lyx_main.C (init): remove spurious static_cast
7226 2003-05-14 André Pönitz <poenitz@gmx.net>
7228 * BufferView.C: fix format string
7230 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7232 * BufferView.[Ch] (insertErrors): removed
7233 * BufferView.[Ch] (showErrorList): added
7234 * buffer.C (runChkTeX):
7235 * converter.C (scanLog): call showErrorList instead of inserterrors
7237 2003-05-13 André Pönitz <poenitz@gmx.net>
7239 * BufferView_pimpl.C:
7241 * bufferview_func.C:
7248 * tabular_funcs.h: tostr() from its own header
7250 * ParagraphParameters.C:
7255 * text3.C: STRCONV()
7257 2003-05-12 André Pönitz <poenitz@gmx.net>
7260 * BufferView_pimpl.C:
7264 * ParagraphParameters.C:
7268 * bufferview_funcs.C:
7281 * paragraph_funcs.C:
7285 * text3.C: boost::format -> bformat all over the place
7288 2003-05-09 André Pönitz <poenitz@gmx.net>
7290 * LColor.[Ch]: Pimpl the #include <map> away
7292 2003-05-09 John Levon <levon@movementarian.org>
7294 * bufferlist.C: never remove emergency saves
7296 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7298 * Makefile.am: better lib building
7300 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7302 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7304 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7305 (simpleTeXSpecialChars): adjust
7306 (simpleTeXSpecialChars): adjust
7307 * paragraph.C (simpleTeXOnePar): adjust
7308 * buffer.C (makeLaTeXFile): adjust
7310 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7312 * text2.C (changeDepth): parlist cleanup
7313 (getColumnNearX): ditto
7315 * rowpainter.C (getLabelFont): parlist cleanup
7317 * bufferlist.C (newFile): parlist cleanup
7319 * CutAndPaste.C (eraseSelection): parlist cleanup
7321 * BufferView_pimpl.C (trackChanges): parlist cleanup
7324 * BufferView.C (lockInset): parlist cleanup.
7325 (ChangeInsets): ditto
7327 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7329 * CutAndPaste.h: Update file header.
7331 * CutAndPaste.C: Update file header.
7332 Store the parts cut out of the Document in a limited_stack.
7333 (copySelection): adjust
7334 (pasteSelection): new function, takes the index in the limited stack.
7335 (nrOfParagraphs): adjust
7336 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7337 simplify error inset insertion.
7338 (checkPastePossible): adjust
7340 2003-05-06 John Levon <levon@movementarian.org>
7342 * text2.C: don't cast wrap inset to float
7344 2003-05-05 André Pönitz <poenitz@gmx.net>
7347 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7349 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7350 few naked Paragraph *.
7352 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7354 * bufferparams.C: Output warning if a document with missing
7355 TeX document class is loaded
7356 * exporter.C: Disable TeX exports if the document class is missing
7359 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7360 isTeXClassAvailable()
7362 2003-05-03 John Levon <levon@movementarian.org>
7365 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7366 explicit cursor show/hide
7368 * BufferView_pimpl.h:
7369 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7370 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7372 * lyxfunc.C: hide cursor before dispatching.
7377 * text3.C: remove explicit cursor hides
7379 2003-05-02 André Pönitz <poenitz@gmx.net>
7381 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7384 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7387 * text2.C: tiny whitespace
7389 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7391 * undo_funcs.C: almost only ws changes.
7393 * ParagraphList.C (splice): just return if pl is empty.
7395 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7397 * ParagraphList.C (splice): new function.
7399 * CutAndPaste.C (pasteSelection): use it
7401 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7403 * CutAndPaste.C (pasteSelection): remove the last next and
7404 previous from this file.
7406 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7408 * CutAndPaste.C (pasteSelection): more clean up, user proper
7409 ParagraphList functions for pasteing.
7411 * ParagraphList.C (insert): new function, three arg insert
7413 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7415 * ParagraphList.C (insert): new function, three arg insert
7417 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7420 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7422 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7424 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7426 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7428 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7430 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7431 (copySelection): clean up a bit.
7432 (pasteSelection): use make_pair
7434 * ParagraphList.C (ParagraphList): implement copy constructor
7435 (operator=): implement, base on copy constructor.
7438 * paragraph.C (erase): return a bool
7440 * paragraph_pimpl.C (erasePos): remove function, move contents...
7441 (erase): ... here. Return a bool.
7442 (erase): call erase instead of erasePos.
7444 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7446 * ParagraphList.h: define PitPosPair
7447 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7448 ParagraphList, fix a bug on pasting multiple pars
7449 * text2.C: change interface to C&P
7451 2003-04-30 André Pönitz <poenitz@gmx.net>
7453 * undo_func.C: revert part of yesterday's patch 2
7455 2003-04-30 John Levon <levon@movementarian.org>
7457 * LColor.C: s/tabular/table/
7459 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7461 * text3.C (dispatch): do not convert iterator -> pointer
7462 * undo_funcs.C (setCursorParUndo): ditto
7463 * text_funcs.C (transposeChars): ditto
7465 * text2.C (setLayout): ws changes only
7467 * text.C (breakParagraph): do not convert iterator -> pointer
7469 (acceptChange): ditto
7470 (rejectChange): ditto
7475 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7478 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7480 * text3.C (gotoInset): YABG (yet another bad getChar)
7482 2003-04-29 André Pönitz <poenitz@gmx.net>
7484 * paragraph.h: make operator= private unimplemented as long as
7487 * ParagraphList.C: whitespace
7490 * paragraph_pimpl.[Ch]:
7491 * paragraph_funcs.C:
7493 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7496 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7498 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7500 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7501 * paragraph.[Ch] (erase):
7502 * paragraph_pimpl.[Ch] (erase): change return type and value
7503 * text2.C (cutSelection): some rework
7505 2003-04-28 John Levon <levon@movementarian.org>
7507 * bufferlist.C: changes for unsaved changes dialog
7509 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7511 * bufferlist.C (newFile): set language (messages_) for new
7514 * buffer.C (readFile): ws changes only.
7516 2003-04-28 André Pönitz <poenitz@gmx.net>
7521 * BufferView_pimpl.C:
7522 * BufferView.C: getParFromID related ParagraphList::iterator changes
7524 2003-04-28 André Pönitz <poenitz@gmx.net>
7526 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7529 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7531 * messages.C: remove one more localedir class variable.
7533 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7535 * messages.C (getLocaleDir): singleton generation function
7537 (Messages): add a default constructor.
7539 * main.C (main): do not setup localedir here, do not call
7542 * gettext.C (_): use it.
7543 (gettext_init): delete funciton
7545 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7547 * gettext.C (getLyXMessages): new singleton generating function.
7549 * buffer.C (updateDocLang): adjust
7551 * Makefile.am (messages.o): add target
7552 (main.o): remove target
7554 2003-04-27 John Levon <levon@movementarian.org>
7559 * lyxvc.C: specify cancel button in Alert::prompt
7561 2003-04-26 John Levon <levon@movementarian.org>
7566 * LyXAction.C: add LFUN_INSET_SETTINGS
7568 * lyxfunc.C: don't enable tabular-feature when there's
7569 just any locking inset
7571 2003-04-26 John Levon <levon@movementarian.org>
7573 * bufferlist.C: re-add Cancel to buffer close question
7575 * lyxfunc.C: fix import UI a bit
7577 2003-04-25 John Levon <levon@movementarian.org>
7579 * gettext.C: remove the broken asserts for now
7581 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7583 * messages.C: make case where setlocale cannot comply work better.
7585 * buffer.C (updateDocLang): new function
7586 (changeLanguage): use it
7589 * text2.C (setCounter): use B_ a bit.
7591 * lyxlayout.C (Read): be sure to trim the label strings.
7593 * messages.C (Messages): fix typo in comment
7595 * buffer.C (readFile): set message_ after file is loaded.
7596 (makeDocBookFile): remove double return
7597 (changeLanguage): reset message_ upon language change.
7598 (B_): new func, use this to get translated buffer strings.
7600 * main.C: add myself and Jean Marc as authors.
7602 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7604 * messages.[hC]: pimplify Messages, and three different pimpls to be
7605 used in different circumstances.
7607 * gettext.[Ch]: change for use with new message code.
7609 2003-04-24 André Pönitz <poenitz@gmx.net>
7611 * factory.C: support for eqref
7613 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7615 * messages.[Ch]: add missing char
7617 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7619 * messages.[Ch]: New files
7621 2003-04-18 John Levon <levon@movementarian.org>
7625 * BufferView_pimpl.C:
7629 * text2.C: remove layout-copy/paste (bug 778)
7631 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7633 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7635 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7637 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7638 if they succeed. Act accordingly.
7640 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7642 * text2.C (setCharFont): adjust
7643 (setCounter): adjust
7644 (insertStringAsLines): adjust
7646 * text.C (leftMargin): adjust
7647 (setHeightOfRow): adjust
7649 * rowpainter.C (paintFirst): adjust
7652 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7654 (isFirstInSequence): ditto
7655 (getEndLabel): ditto
7658 * paragraph.C (getParLanguage): comment out some hard stuff.
7660 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7662 (simpleDocBookOnePar): ditto
7663 (makeDocBookFile): use ParagraphList::iterator
7665 * CutAndPaste.C (pasteSelection): adjust
7667 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7669 * text2.C (getFont): adjust
7670 (getLayoutFont): adjust
7671 (getLabelFont): adjust
7673 * paragraph_funcs.C (TeXOnePar): adjust
7675 * buffer.C (simpleLinuxDocOnePar): adjust
7676 (simpleDocBookOnePar): adjust
7678 * CutAndPaste.C (pasteSelection): adjust
7680 * BufferView.C (getEncoding): adjust
7682 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7684 2003-04-16 John Levon <levon@movementarian.org>
7686 * lyxfind.C: use parlist stuff for search/changes
7688 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7690 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7692 * text2.C (deleteEmptyParagraphMechanism): adjust
7694 * text2.[Ch] (ownerParagraph): delete func (both of them
7696 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7698 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7700 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7702 * ParagraphList.C: prepare for NO_NEXT
7704 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7706 * text2.C (getFont): adjust
7707 (getLayoutFont): adjust
7708 (getLabelFont): adjust
7710 * paragraph.C (getFont): adjust
7711 (getLabelFont): adjust
7712 (getLayoutFont): adjust
7714 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7716 2003-04-15 John Levon <levon@movementarian.org>
7720 * lyx_main.C: handle Include in .ui files
7722 2003-04-15 John Levon <levon@movementarian.org>
7724 * MenuBackend.C: make the doc files length shorter
7727 * ToolbarBackend.C: handle toolbar placement flags,
7730 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7732 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7735 * paragraph_funcs.C (TeXOnePar): adjust
7737 * paragraph.C (getLabelFont): add outerfont arg, adjust
7738 (getLayoutFont): ditto
7739 (simpleTeXOnePar): adjust
7741 * paragraph_pimpl.C (realizeFont): delete func
7743 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7745 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7746 row argument, constify cur argument.
7748 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7750 * text2.C (getFont): adjust
7751 (getLayoutFont): adjust
7752 (getLabelFont): adjust
7754 * paragraph_funcs.C (TeXOnePar): adjust
7755 (outerFont): new func...
7756 (realizeFont): ...moved out from here, changed this to facilitate
7759 * paragraph.C (getFont): take outerfont as arg, adjust
7760 (simpleTeXOnePar): add outerfont arg, adjust
7762 * buffer.C (simpleLinuxDocOnePar): adjust
7763 (simpleDocBookOnePar): adjust
7765 * CutAndPaste.C (pasteSelection): adjust
7767 * BufferView.C (getEncoding): adjust
7769 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7771 * text2.C (setCharFont): adjust
7772 (setCounter): adjust
7774 * text.C (leftMargin): adjust
7775 (setHeightOfRow): adjust
7777 * rowpainter.C (paintFirst): adjust
7780 * paragraph_pimpl.C (realizeFont): adjust
7782 * paragraph.C (isFirstInSequence): move from here...
7783 * paragraph_funcs.C (isFirstInSequence): ...to here
7785 * paragraph.C (outerHook): move from here...
7786 * paragraph_funcs.C (outerHook): ...to here
7788 * paragraph.C (depthHook): move from here...
7789 * paragraph_funcs.C (depthHook): ...to here
7791 * paragraph.C (getEndLabel): move from here...
7792 * paragraph_funcs.C (getEndLabel): ...to here
7794 * text2.C (realizeFont): move from here...
7795 * paragraph_funcs.C (realizeFont): ...to here
7797 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7799 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7801 2003-04-14 Angus Leeming <leeming@lyx.org>
7803 * LColor.[Ch]: scrap LColor mathcursor.
7805 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7807 * lyxlex.[Ch] (text): delete function
7808 * trans.C (Load): adjust
7809 * paragraph_funcs.C (readParToken): adjust
7811 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7813 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7814 vector<char> instead of a char[].
7816 * lyxlex_pimpl.C (getString): adjust
7818 (lex): use getString
7822 * lyxlex.C (text): use pimpl_->getString()
7826 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7828 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7829 (makeFontEntriesLayoutSpecific): temp var for par.size()
7830 (setLayout): temp var for ownerParagraphs().end()
7831 (fullRebreak): temp var for rows().end()
7832 (selectionAsString): temp var for boost::next(startpit), realize
7833 that the while really is a regular for loop.
7834 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7835 setCursor in one place.
7836 (setParagraph): temp vr for ownerParagraphs().end()
7837 (updateCounters): make the while loop a for loop
7838 (cutSelection): temp var for ownerParagraphs().end()
7839 (updateInset): make the do {} while() a regular for loop
7840 (getCursorX): use temp vars
7841 (setCurrentFont): use temp vars
7842 (getColumnNearX): use temp vars
7844 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7846 * text.C (transformChar): use temp var for getChar
7847 (computeBidiTables): use temp var for row->par()
7848 (fill): move temp vars for row->par() and pit->layout() earlier in
7850 (labelFill): use temp var for row->par()
7851 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7852 asc and desc, realize that pit never changes and that firstpit is
7853 just a duplicate and not needed. Exchange rit->par() with pit in a
7855 (breakAgain): use a temp var for boost::next(rit)
7856 (breakAgainOneRow): ditto
7857 (breakParagraph): use a temp var for rows().begin()
7858 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7859 (cursorRightOneWord): use temp var for cursor.par() and
7860 cursor.pos(), remove usage of tmpcursor.
7861 (cursorLeftOneWord): use temp var for cursor.par() and
7862 cursor.pos() only set cur at end of function.
7864 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7866 * text.C, text2.C: exchange all usage of Paragraph::next with
7867 boost::next(ParagraphList::iterator)
7869 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7871 * text2.C (cursorTop): simplify implementation
7872 (cursorBottom): ditto
7873 (setParagraph): use ParagraphList::iterator
7874 (setCurrentFont): adjust
7875 (getColumnNearX): adjust
7876 (cursorRight): adjust
7877 (cursorLeft): remove usage of Paragraph::previous
7878 (cursorUpParagraph): ditto
7879 (deleteEmptyParagraphMechanism): slight cleanup
7881 * text.C (isBoundary): take a Paragraph const & instead of a
7883 (addressBreakPoint): ditto
7884 (leftMargin): remove usage of Paragraph::previous.
7885 (setHeightOfRow): ditto
7886 (cursorLeftOneWord): ditto
7887 (selectNextWordToSpellcheck): ditto
7890 (breakParagraph): remove one usage of Paragraph::next
7891 (redoParagraph): ditto
7892 (acceptChange): ditto
7893 (insertChar): adjust
7894 (rowBreakPoint): adjust
7896 * bufferview_funcs.C (toggleAndShow): adjust
7898 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7900 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7901 methods to access it.
7903 * text.C: Added updateRowPositions to compute all row positions.
7904 Make top_y and getRowNearY() to use the cached y position
7906 2003-04-11 John Levon <levon@movementarian.org>
7908 * text.C (rowBreakPoint): reintroduce the labelEnd
7909 checks, code copied from the row fill stuff. Deep voodoo.
7911 * text.C (fill): add a comment and debugging for the
7914 2003-04-11 John Levon <levon@movementarian.org>
7916 * text.C: make sure fullrow insets get wrapped to the next line,
7917 even when they're in a manual label
7919 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7921 * text2.C (insertParagraph): make it take ParagraphList::iterator
7923 (setLayout): make it return ParagraphList::iterator
7924 (redoParagraphs): ditto
7926 (checkParagraph): ditto
7928 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7930 * text2.C: adjust several funcs.
7931 (realizeFont): take a ParagraphList::iterator as arg.
7932 (getLayoutFont): ditto
7933 (getLabelFont): ditto
7934 (setCharFont): ditto
7936 * text.C: adjust several funcs.
7938 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7940 * text.C (selectNextWordToSpellcheck): don't accidentally
7943 2003-04-10 John Levon <levon@movementarian.org>
7945 * ToolbarBackend.C (getIcon): special handling for
7948 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7950 * text2.C (cursorRight): a getChar assert fixed
7952 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7954 * text2.C (getFont): change to take a ParagraphList::iterator
7955 instead of Paragraph*
7956 Adjust several functions.
7958 * text.C (transformChar): change to take a ParagraphList::iterator
7959 instead of Paragraph*
7960 (singleWidth): ditto
7961 Adjust several functions.
7963 * rowpainter.C: adjust several functions
7964 * rowpainter.h:store a ParagraphList::iterator and not a
7968 2003-04-09 John Levon <levon@movementarian.org>
7973 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7974 and the "help" bits as well
7976 2003-04-09 John Levon <levon@movementarian.org>
7979 * ToolbarBackend.C: allow multiple toolbars
7981 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7983 * undo_funcs.C (setCursorParUndo): adjust
7985 * text_funcs.C (transposeChars): adjust
7987 * text3.C (gotoNextInset): adjust
7990 * text2.C (setLayout): adjust
7991 (changeDepth): adjust
7993 (redoParagraphs): adjust
7994 (selectionAsString): adjust
7995 (setParagraph): adjust
7996 (insertInset): adjust
7997 (cutSelection): adjust
7998 (copySelection): adjust
7999 (pasteSelection): adjust
8000 (insertStringAsLines): adjust
8001 (updateInset): adjust
8002 (setCursor): change to take a ParagraphList::iterator parameter
8003 (setCursorIntern): change to take a ParagraphList::iterator parameter
8004 (setCurrentFont): adjust
8005 (cursorLeft): adjust
8006 (cursorRight): adjust
8007 (deleteEmptyParagraphMechanism): adjust
8009 * text.C (breakParagraph): adjust
8010 (insertChar): adjust
8011 (acceptChange): adjust
8012 (rejectChange): adjust
8013 (selectNextWordToSpellcheck): adjust
8014 (changeCase): adjust
8018 * lyxfind.C (SearchForward): adjust
8019 (SearchBackward): adjust
8020 (nextChange): adjust
8022 * lyxcursor.C (par): adjust
8024 * lyxcursor.h: store a ParagraphList::iterator instead of a
8027 * lyx_cb.C (getPossibleLabel): adjust
8029 * bufferview_funcs.C (toggleAndShow): adjust
8031 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8034 * BufferView.C (removeAutoInsets): adjust
8035 (lockedInsetStoreUndo): adjust
8037 2003-04-09 John Levon <levon@movementarian.org>
8039 * ToolbarBackend.C: try icon without argument
8040 if with argument fails
8042 2003-04-08 John Levon <levon@movementarian.org>
8045 * ToolbarBackend.C: add getIcon(), handle tooltip,
8046 and change from "Icon" to "Item".
8048 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8050 * BufferView.C (lockInset): another bad getchar crunched
8052 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8054 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8057 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8059 * lyxfind.C (searchForward, searchBackwards): bug 782
8061 2003-04-07 John Levon <levon@movementarian.org>
8063 * paragraph.C: remove dead comment
8065 * text.C: remove troublesome depth-fiddling code
8066 in leftMargin() and rightMargin() (bug 1017)
8068 * text.C: fix breaking of rows in nested lists
8071 * text2.C (updateCounters): fix up depth values
8074 2003-04-07 John Levon <levon@movementarian.org>
8076 * BufferView_pimpl.C: clear message when doc finishes resizing,
8077 and after a mouse event
8079 * lyxfunc.C: clear message after exiting inset
8081 2003-04-07 John Levon <levon@movementarian.org>
8083 * bufferview_funcs.C: show math status not outside
8084 status in the statusbar
8086 2003-04-07 John Levon <levon@movementarian.org>
8088 * lyxfunc.C: note status changed after a depth change
8090 2003-04-04 Angus Leeming <leeming@lyx.org>
8092 * LaTeX.h: move AuxInfo operator==, != out of line.
8093 Remove LaTeX virtual destructor; nothing derives from it.
8094 Move operator()() out of public area and rename it startscript().
8095 Change protected for private.
8097 2003-04-04 Angus Leeming <leeming@lyx.org>
8100 * text2.C: remove unneeded #includes.
8102 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8104 * text2.C (dEPM): fix the heigth of the next row
8106 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8108 * text.C: squashed an invalid getChar requester + some ws changes
8110 2003-04-03 John Levon <levon@movementarian.org>
8112 * bufferview_funcs.h:
8113 * bufferview_funcs.C:
8116 * text2.C: make getStatus work for the env depth lfuns
8118 2003-04-03 John Levon <levon@movementarian.org>
8120 * bufferview_funcs.h:
8121 * bufferview_funcs.C:
8124 * text2.C: parlistize decDepth(), by merging it with incDepth()
8126 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8128 * lyxrow.h: store a ParagraphList::iterator instead of a
8129 Paragraph* and adjust other class functions to suit.
8131 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8134 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8136 * text2.C (setCursor): do not anchor to cursor row for the time being
8138 2003-04-02 John Levon <levon@movementarian.org>
8145 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8147 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8149 * paragraph.h: make ParagraphList and ParagraphList::iterator
8150 friends of Paragraph.
8152 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8154 * ParagraphList.C: Use the private next_ and previous_ from
8157 2003-04-01 John Levon <levon@movementarian.org>
8161 * Makefile.am: rename, remove defaults gunk
8164 * MenuBackend.C: remove defaults gunk
8167 * Languages.C: remove defaults gunk
8170 * lyx_main.C: error out if files couldn't be found.
8172 2003-04-02 John Levon <levon@movementarian.org>
8174 * text2.C: make incDepth() use parlist
8176 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8178 * undo_funcs.C (firstUndoParagraph): adjust
8180 * text3.C (gotoInset): adjust
8181 (dispatch): adjust, and rewrite loop.
8183 * text2.C (init): adjust, and rewrite loop.
8184 (redoParagraphs): adjust
8185 (updateInset): adjust, and rewrite loop.
8186 (deleteEmptyParagraphMechanism): adjust
8188 * tabular.C (LyXTabular): adjust
8189 (SetMultiColumn): adjust
8192 * lyxtext.[Ch] (ownerParagraph): delete function
8193 (ownerParagraphs): new function returns a ParagraphList.
8195 * BufferView.C (removeAutoInsets): adjust
8196 (insertErrors): adjust
8197 (setCursorFromRow): adjust
8199 2003-04-01 Angus Leeming <leeming@lyx.org>
8201 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8204 2003-04-02 John Levon <levon@movementarian.org>
8210 * text_funcs.C: make transposeChars a free function
8212 * lyxrow_funcs.C: remove wrong comment
8214 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8217 * rowpainter.C: adjust
8222 * lyxrow_funcs. [Ch]: new files
8224 * lyxrow.[Ch]: remove next and previous pointers
8225 (next,previous): remove accessor functions
8226 (isParEnd): move to lyxrow_funcs
8227 (lastPos): move to lyxrow_funcs
8228 (nextRowIsAllInset): move to lyxrow_funcs
8229 (lastPrintablePos): move to lyxrow_funcs
8230 (numberOfSeparators): move to lyxrow_funcs
8231 (numberOfHfills): move to lyxrow_funcs
8232 (numberOfLabelHfills): move to lyxrow_funcs
8233 (hfillExpansion): move to lyxrow_funcs
8237 * bufferview_funcs.C (toggleAndShow): adjust
8239 * RowList.h: Remove class RowList from file leave just a
8242 * RowList.C: delete file
8244 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8247 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8249 * text3.C (cursorPrevious): adjust
8250 (cursorNext): adjust
8253 * text2.C (redoHeightOfParagraph): adjust
8254 (redoDrawingOfParagraph): adjust
8257 * text.C (breakParagraph): adjust
8258 (insertChar): adjust
8261 * rowpainter.C (RowPainter): adjust
8262 (leftMargin): simplify and adjust
8263 (most rowpainter functions): adjust.
8265 * rowpainter.h: store the row as RowList::iterator not as Row*
8267 * lyxcursor.C (row): taka RowList::iterator as arg
8270 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8273 2003-04-01 Angus Leeming <leeming@lyx.org>
8275 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8276 stuff like bool Bool.
8278 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8280 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8283 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8285 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8288 * lyxtext.h (rows): drop one version and leve a const variant that
8289 returns a RowList::iterator.
8291 2003-03-31 Angus Leeming <leeming@lyx.org>
8293 * text.C (fill): ensure that the signature is the same as that in the
8296 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8298 * text2.C (redoParagraphs): adjust
8299 (updateCounters): adjust
8300 (checkParagraph): adjust
8301 (getColumnNearX): adjust and reformat a bit.
8303 * text.C (top_y): adjust
8305 (leftMargin): adjust
8306 (prepareToPrint): adjust
8308 (getRowNearY): adjust
8310 * lyxtext.h: make rowlist_ mutable.
8312 * RowList.h: add const_iterator
8313 * RowList.C: adjust for RowList::const_iterator.
8315 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8318 2003-03-31 John Levon <levon@movementarian.org>
8321 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8323 * lyx_main.C: set default fonts from using lyx_gui funcs
8325 * exporter.C: pdf_mode moved from lyxrc
8328 * lyxfunc.C: changes from above
8330 2003-03-31 John Levon <levon@movementarian.org>
8332 * lyx_main.C: fix to the last fix
8334 2003-03-31 John Levon <levon@movementarian.org>
8336 * bufferlist.C: "Load original" -> "Load Original"
8342 * format.C: more Alert cleanups
8344 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8346 * text2.C (removeParagraph): make it take a RowList::iterator as
8348 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8349 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8351 * text.C (anchor_row): make it take a RowList::iterator as arg,
8353 (computeBidiTables): make it take a const reference to Row instead
8354 of Row pointer, adjust.
8355 (leftMargin): make it take a RowList::iterator as arg, adjust.
8356 (rowBreakPoint): adjust
8357 (breakAgainOneRow): make it take a RowList::iterator as arg,
8359 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8361 * bufferview_funcs.C (toggleAndShow): adjust
8363 2003-03-30 John Levon <levon@movementarian.org>
8367 * boost-inst.C: moved to support
8369 * several files: changes as a result
8371 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8373 * text2.C (LyXText): adjust.
8375 (removeRow): make it take a RowList::iterator as arg, adjust.
8376 (fullRebreak): adjust
8377 (deleteEmptyParagraphMechanism): adjust
8378 (clearPaint): adjust
8381 * text.C (top_y): adjust
8382 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8383 (breakAgain): make it take a RowList::iterator as arg, adjust.
8384 (breakParagraph): adjust
8385 (insertChar): adjust
8388 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8389 need_break_row, and refresh_row.
8391 * text3.C (dispatch): adjust
8393 * text2.C (checkParagraph): adjust
8395 (setCursorFromCoordinates): adjust
8397 * text.C (top_y): adjust
8399 (getRow): make it return a RowList::iterator, adjust
8400 (getRowNearY): make it return a RowList::iterator, adjust
8402 * text2.C (init): adjust
8403 (insertRow): remove function
8404 (insertParagraph): adjust
8405 (redoParagraphs): adjust
8406 (fullRebreak): adjust
8407 (updateCounters): adjust
8409 * text.C (top_y): rewrite to use RowList iterators.
8411 (setHeightOfRow): rewrite to sue RowList iterators.
8412 (appendParagraph): adjust
8413 (breakAgain): adjust
8414 (breakAgainOneRow): adjust
8415 (breakParagraph): adjust
8417 (getRowNearY): adjust, and remove commented code.
8419 * lyxtext.h (firstRow): delete function
8420 (lastRow): delete function
8421 (rows): new function (const and non-const versions.)
8422 (insertRow): delete function
8424 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8426 2003-03-29 John Levon <levon@movementarian.org>
8428 * BufferView_pimpl.C: always update scrollbar top
8429 because pasting text when we're anchored could mean we
8430 miss an update altogether
8432 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8434 * text2.C (init): use rowlist_.end() and not 0.
8435 (insertRow): change to take a RowList::iterator as arg, adjust
8437 (insertParagraph): change to take a RowList::iterator as arg,
8439 (redoParagraphs): remove some debug msgs.
8441 * text.C (appendParagraph): change to take a RowList::iterator
8442 arg, adjust for this.
8443 (breakAgain): add an assert
8444 (breakAgainOneRow): ditto
8446 2003-03-29 John Levon <levon@movementarian.org>
8448 * text2.C: do not clear selection after inc/decDepth
8451 2003-03-29 John Levon <levon@movementarian.org>
8454 * buffer.C: fix broken strerrors according to Lars
8456 2003-03-29 John Levon <levon@movementarian.org>
8458 * converters.C: more Alert cleanups
8460 2003-03-29 John Levon <levon@movementarian.org>
8462 * bufferview_funcs.C: remove pointless Alert
8464 * buffer.C: fix confusing error message when
8465 a template is chmoded 000
8467 2003-03-29 John Levon <levon@movementarian.org>
8471 * BufferView_pimpl.C: Alert fixes
8475 * tabular-old.C: remove unused table compat reading
8477 2003-03-29 John Levon <levon@movementarian.org>
8482 * lyx_cb.C: more Alert cleanups
8484 * lyxfunc.C: don't allow chktex if not latex document
8486 2003-03-29 John Levon <levon@movementarian.org>
8490 * buffer.C: warnings pushed down from support/,
8493 2003-03-29 John Levon <levon@movementarian.org>
8495 * lyxfunc.C: safety check for C-r (revert)
8497 2003-03-29 John Levon <levon@movementarian.org>
8500 * bufferlist.C: several UI fixes using Alert::prompt.
8501 Fix the pointless looping quit code. Fix stupid revert
8506 * lyx_cb.C: use Alert::prompt
8508 * lyx_main.C: remove a silly question
8510 * lyxfunc.C: remove a couple of silly questions,
8513 2003-03-28 John Levon <levon@movementarian.org>
8515 * text2.C: fix bug 974 (End on empty par)
8517 2003-03-28 John Levon <levon@movementarian.org>
8519 * BufferView_pimpl.C:
8521 * lfuns.h: remove do-nothing math greek lfuns
8523 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8525 * lyxgluelength.h (isValidGlueLength): add default arg on
8526 parameter 2. Remove default arg from friend in class.
8528 * lyxlength.h (isValidLength): add default arg on parameter 2.
8529 Remove default arg from friend in class.
8531 * text2.C (LyXText): adjust, initialize refresh_row.
8535 (insertParagraph): adjst
8536 (redoParagraphs): adjust
8537 (fullRebreak): adjust
8538 (updateCounters): adjust
8539 (deleteEmptyParagraphMechanism): first attempt at fixing a
8542 * text.C (top_y): adjust
8543 (setHeightOfRow): adjust
8545 (getRowNearY): adjust
8547 * lyxtext.h: include RowList.h
8548 (~LyXText): not needed anymore, deleted.
8549 (firstRow): modify for RowList
8550 (lastRow): new function
8551 Delete firstrow and lastrow class variables, add a Rowlist
8552 rowlist_ class variable.
8554 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8557 * RowList.C (insert): fix case where it == begin().
8559 2003-03-26 Angus Leeming <leeming@lyx.org>
8561 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8562 the thesaurus dialog.
8564 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8566 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8568 * RowList.[Ch]: new files
8570 * ParagraphList.C (erase): handle the case where it == begin
8573 2003-03-25 John Levon <levon@movementarian.org>
8577 * aspell.C: add new aspell support
8580 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8583 2003-03-25 Angus Leeming <leeming@lyx.org>
8586 * LyXAction.C (init): new LFUN_INSET_INSERT.
8588 * BufferView_pimpl.C (dispatch): split out part of the
8589 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8591 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8594 2003-03-25 Angus Leeming <leeming@lyx.org>
8596 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8598 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8601 * text3.C: remove useless row->height(0)
8603 2003-03-25 John Levon <levon@movementarian.org>
8607 * text3.C: rename the refreshing stuff to better names
8609 2003-03-24 John Levon <levon@movementarian.org>
8611 * BufferView_pimpl.h:
8612 * BufferView_pimpl.C: update layout choice on a mouse
8615 2003-03-23 John Levon <levon@movementarian.org>
8617 * Makefile.am: fix commandtags.h reference
8619 2003-03-22 John Levon <levon@movementarian.org>
8621 * BufferView_pimpl.C:
8626 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8628 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8631 * text.C: take the rtl methods out of line
8633 2003-03-21 André Pönitz <poenitz@gmx.net>
8635 * metricsinfo.[Ch]: new files containing structures to be passed around
8636 during the two-phase-drawing...
8638 2003-03-21 André Pönitz <poenitz@gmx.net>
8640 * lyxtextclass.C: read 'environment' tag.
8642 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8644 * text2.C (removeRow): fix bug 964
8646 2003-03-20 John Levon <levon@movementarian.org>
8650 * text2.C: paint cleanups. Inset::update() dropped font
8653 2003-03-19 John Levon <levon@movementarian.org>
8655 * lyxfunc.C: only fitcursor/markDirty if available()
8657 2003-03-19 John Levon <levon@movementarian.org>
8659 * commandtags.h: rename to ...
8661 * lfuns.h: ... this, and renumber / cleanup
8663 2003-03-19 John Levon <levon@movementarian.org>
8665 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8666 fit the cursor after an lfun
8670 * BufferView_pimpl.h:
8671 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8673 * LyXAction.C: layout-character should have ReadOnly
8675 * ParagraphParameters.C:
8677 * bufferview_funcs.C:
8684 * undo_funcs.C: changes from above
8686 2003-03-18 John Levon <levon@movementarian.org>
8688 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8689 remove it from update()
8691 * lyxfunc.C: update layout choice after an lfun
8693 * text3.C: remove extra updateLayoutChoice()s
8695 2003-03-18 John Levon <levon@movementarian.org>
8697 * text.C: top_y change means full repaint, fix
8698 a drawing bug with cursor movement
8700 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8704 * text2.C: anchor row on setCursor
8706 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8708 * lyxtext.h: remove almost all mutable keywords
8711 * text3.C: remove const keywords accordingly
8713 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8715 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8717 (TeXEnvironment): ditto
8720 2003-03-17 John Levon <levon@movementarian.org>
8722 * text.C (rowBreakPoint): remove attempt to fix displayed
8723 math insets inside a manual label
8725 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8727 * lyxtext.h: remove BufferView* as first arg from almost all class
8729 * other files: adjust.
8731 2003-03-17 John Levon <levon@movementarian.org>
8735 * text2.C: more paint cleanups
8737 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8740 * rowpainter.C: remove "smart" background painting code
8742 2003-03-16 John Levon <levon@movementarian.org>
8747 * text3.C: add helper functions for setting refresh_row/y
8749 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8751 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8752 newline inset which *can* get inserted in the pass_thru layouts.
8753 This is primarily for literate documents.
8755 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8757 * buffer.C: increment LYX_FORMAT to 223
8759 2003-03-14 André Pönitz <poenitz@gmx.net>
8761 * textclass.h: prepare for environment handling, ws changes
8762 * lyxlayout.C: read latexheader and latexfooter tags
8764 2003-03-14 John Levon <levon@movementarian.org>
8766 * text2.C: rewrite ::status() a bit
8768 2003-03-13 John Levon <levon@movementarian.org>
8770 * lyxtext.h: add some docs
8772 2003-03-13 John Levon <levon@movementarian.org>
8777 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8779 2003-03-13 John Levon <levon@movementarian.org>
8781 * text3.C: fix appendix redrawing
8783 2003-03-13 John Levon <levon@movementarian.org>
8785 * text.C (setHeightOfRow):
8787 * rowpainter.C: make appendix mark have the text
8788 "Appendix" so the user knows what it is
8791 * LColor.C: s/appendixline/appendix/ from above
8793 2003-03-13 John Levon <levon@movementarian.org>
8795 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8797 * text.C: fix a getChar(pos) bug properly
8799 2003-03-13 Angus Leeming <leeming@lyx.org>
8802 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8803 Probably only temporary. Let's see how things pan out.
8805 * BufferView.C (unlockInset):
8806 * BufferView_pimpl.C (fitCursor):
8807 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8809 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8810 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8812 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8813 new functions that convert ParagraphParameters to and from a string.
8815 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8816 BufferView::Pimpl's dispatch.
8817 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8819 2003-03-13 André Pönitz <poenitz@gmx.net>
8823 * factory.C: make it aware of InsetEnv
8825 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8827 * text2.C (setCursor): never ask for one past last
8828 (setCursor): add some debugging messages.
8830 * text.C (singleWidth): never ask for one past last
8831 (singleWidth): ditto
8833 (rightMargin): ditto
8834 (rowBreakPoint): ditto
8835 (setHeightOfRow): ditto
8836 (prepareToPrint): ditto
8838 * rowpainter.C (paintBackground): never ask for one past last
8839 (paintText): never ask for one past last
8841 * paragraph_pimpl.C (getChar): make the assert stricter, never
8842 allow the one past last pos to be taken
8844 * paragraph.C (getChar): ws changes only
8846 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8847 (numberOfSeparators): ditto
8848 (numberOfHfills): ditto
8850 2003-03-12 John Levon <levon@movementarian.org>
8856 * paragraph_funcs.C: fix per-buffer authorlists
8858 2003-03-12 John Levon <levon@movementarian.org>
8860 * text.C: fix newline in right address
8862 2003-03-12 Angus Leeming <leeming@lyx.org>
8864 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8865 duplicate those in LyXFunc::dispatch.
8869 * ToolbarDefaults.C:
8870 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8871 Add LFUN_FONTFREE_UPDATE.
8873 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8874 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8876 * bufferview_func.[Ch]: several new functions to facilliate
8877 transfer of data to and from the character dialog.
8879 2003-03-12 John Levon <levon@movementarian.org>
8884 * paragraph_funcs.C:
8885 * paragraph_pimpl.C:
8889 * text3.C: remove META_NEWLINE in favour of an inset
8892 * rowpainter.C: remove paintNewline (done by inset)
8894 2003-03-12 John Levon <levon@movementarian.org>
8896 * paragraph_pimpl.C: complain about bad getChar()s
8897 for a while at least
8899 2003-03-12 John Levon <levon@movementarian.org>
8902 * buffer.C: move paragraph read into a separate function,
8903 a little renaming to reflect that.
8906 * bufferparams.C: remove the author_ids map, not necessary now
8909 * factory.C: moved Buffer::readInset to here
8911 * paragraph_funcs.h:
8912 * paragraph_funcs.C: readParagraph free function moved from
8915 * tabular.C: name change
8917 2003-03-12 John Levon <levon@movementarian.org>
8920 * ParagraphParameters.C: move par params input to
8923 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8924 behave like a normal read from the stream wrt reading
8925 a line vs. a \\token
8927 2003-03-12 John Levon <levon@movementarian.org>
8930 * ParagraphParameters.h:
8931 * ParagraphParameters.C: move output code to a
8934 2003-03-12 John Levon <levon@movementarian.org>
8936 * BufferView.C (insertLyXFile):
8939 * tabular.C: use a parlist iterator for creating the
8942 2003-03-12 John Levon <levon@movementarian.org>
8944 * buffer.C: make current_change static local not
8947 2003-03-12 John Levon <levon@movementarian.org>
8949 * buffer.C: fix insertStringAsLines for change tracking
8951 2003-03-12 John Levon <levon@movementarian.org>
8958 * bufferparams.C: move author list into params. Rename some
8959 functions. Move the header reading into a separate token
8960 loop. Move the header token reading into BufferParams.
8962 2003-03-12 John Levon <levon@movementarian.org>
8964 * changes.C: put debug inside lyxerr.debugging() checks
8966 2003-03-11 André Pönitz <poenitz@gmx.net>
8968 * factory.C: make it aware of InsetHFill
8970 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8972 * buffer.C (latexParagraphs): move function from here...
8973 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8976 2003-03-10 Angus Leeming <leeming@lyx.org>
8978 * LyXAction.C (init): fix bug in poplating array with multiple entries
8979 with the same LFUN (spotted by JMarc).
8981 2003-03-10 John Levon <levon@movementarian.org>
8984 * text2.C: move getColumnNearX() near its
8987 2003-03-10 John Levon <levon@movementarian.org>
8989 * text.C: fix break before a minipage
8991 2003-03-10 John Levon <levon@movementarian.org>
8993 * text.C: fix the last commit
8995 2003-03-09 John Levon <levon@movementarian.org>
8999 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9000 bug 365 (don't break before insets unless needed). Don't
9001 return a value > last under any circumstances.
9003 2003-03-09 Angus Leeming <leeming@lyx.org>
9005 * BufferView_pimpl.C (trackChanges, dispatch): call
9006 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9008 2003-03-09 Angus Leeming <leeming@lyx.org>
9010 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9011 than Dialogs::showAboutlyx().
9013 2003-03-09 Angus Leeming <leeming@lyx.org>
9015 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9016 than Dialogs::showTabularCreate().
9018 2003-03-09 John Levon <levon@movementarian.org>
9022 * text2.C: 3rd arg to nextBreakPoint was always the same.
9025 2003-03-08 John Levon <levon@movementarian.org>
9032 * text2.C: Remove the "main" bit from the "main body"
9035 2003-03-08 John Levon <levon@movementarian.org>
9037 * text.C (leftMargin): The left margin of an empty
9038 manual label paragraph should not include the label width
9041 * text.C (prepareToPrint): don't attempt to measure hfills
9042 for empty manual label paragraphs - the answer should be 0
9044 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9046 * CutAndPaste.C: remove commented code and reindent.
9048 2003-03-08 John Levon <levon@movementarian.org>
9051 * lyxfunc.C: move reloadBuffer()
9054 * BufferView.C: to here
9056 * lyxvc.C: add comment
9059 * vc-backend.C: call bv->reload() to avoid
9060 getStatus() check on MENURELOAD
9062 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9064 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9065 to an old format .dep file.
9067 2003-03-07 Angus Leeming <leeming@lyx.org>
9069 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9070 when the LFUN_MOUSE_RELEASE should have been handled by
9071 inset->localDispatch.
9073 2003-03-07 Angus Leeming <leeming@lyx.org>
9075 * BufferView_pimpl.C (dispatch):
9076 * LyXAction.C (init):
9077 * ToolbarDefaults.C (init):
9079 * lyxfunc.C (getStatus):
9080 remove LFUN_INSET_GRAPHICS.
9082 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9084 2003-03-07 Angus Leeming <leeming@lyx.org>
9087 * LyXAction.C (init):
9088 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9090 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9093 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9095 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9096 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9098 2003-03-07 Angus Leeming <leeming@lyx.org>
9100 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9103 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9105 * ParagraphList.C (front): new function
9108 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9110 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9111 and top_row_offset_. removed var first_y.
9113 * text2.C (LyXText, removeRow):
9115 * BufferView_pimpl.C:
9116 use these methods instead of using first_y
9118 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9120 * text2.C (pasteSelection): adjust for checkPastePossible
9122 * CutAndPaste.C: remove Paragraph * buf and replace with
9123 ParagraphList paragraphs.
9124 (DeleteBuffer): delete
9125 (cutSelection): change the tc type to textclass_type
9126 (copySelection): change the tc type to textclass_type
9127 (copySelection): adjust for ParagraphList
9128 (pasteSelection): change the tc type to textclass_type
9129 (pasteSelection): adjust for Paragraphlist
9130 (nrOfParagraphs): simplify for ParagraphList
9131 (checkPastePossible): simplify for ParagraphList
9132 (checkPastePossible): remove unused arg
9134 * ParagraphList.C (insert): handle the case where there are no
9137 * CutAndPaste.h: make CutAndPaste a namespace.
9139 * text3.C (dispatch): adjust
9141 * text.C (breakParagraph): add a ParagraphList as arg
9143 * paragraph_funcs.C (breakParagraph): change to take a
9144 BufferParams and a ParagraphList as args.
9145 (breakParagraphConservative): ditto
9146 (mergeParagraph): ditto
9147 (TeXDeeper): add a ParagraphList arg
9148 (TeXEnvironment): ditto
9151 * buffer.C (readLyXformat2): adjust
9152 (insertStringAsLines): adjust
9153 (latexParagraphs): adjust
9155 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9156 (cutSelection): adjust
9157 (pasteSelection): adjust
9159 * BufferView_pimpl.C (insertInset): adjust
9161 2003-03-05 Angus Leeming <leeming@lyx.org>
9164 * LyXAction.C (init):
9165 * BufferView_pimpl.C (dispatch):
9166 * lyxfunc.C (getStatus):
9167 remove LFUN_CHILD_INSERT.
9169 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9171 2003-03-05 Angus Leeming <leeming@lyx.org>
9174 * LyXAction.C (init):
9175 * src/factory.C (createInset):
9176 * lyxfunc.C (getStatus):
9177 * text3.C (dispatch):
9178 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9180 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9182 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9184 * ParagraphList.C (insert): handle insert right before end()
9185 (erase): fix cases where it can be first or last paragraph.
9187 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9189 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9190 Paragraph::next and Paragraph::previous
9193 * text.C (breakParagraph): adjust
9195 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9196 BufferParams& as arg.
9197 (breakParagraph): use ParagraphList::insert
9198 (breakParagraphConservative): take a Buffer* instead of a
9199 BufferParams& as arg.
9200 (breakParagraphConservative): use ParagraphList::insert.
9202 * buffer.C (insertStringAsLines): un-const it
9203 (insertStringAsLines): adjust
9205 * ParagraphList.C (insert): new function
9207 * CutAndPaste.C (pasteSelection): adjust
9209 * text.C (backspace): adjust
9211 * tabular.C (SetMultiColumn): adjust
9213 * CutAndPaste.C (cutSelection): adjust
9214 (pasteSelection): adjust
9216 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9217 Buffer const * as arg
9219 * ParagraphList.C (erase): new function
9220 * paragraph_funcs.C (mergeParagraph): use it
9221 (mergeParagraph): make it take a Buffer* instead of a
9222 BufferParams* as arg
9224 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9226 (breakParagraphConservative): ditto
9228 * paragraph.h: remove the breakParagraph friend
9230 * paragraph.C (eraseIntern): new function
9231 (setChange): new function
9233 * paragraph_funcs.C (mergeParagraph): make it take a
9234 ParagraphList::iterator instead of a Paragraph *, adjust
9237 * paragraph.h: move an #endif so that the change tracking stuff
9238 also works in the NO_NEXT case.
9240 2003-03-04 Angus Leeming <leeming@lyx.org>
9243 * LyXAction.C: new LFUN_INSET_MODIFY.
9245 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9246 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9248 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9250 * several files: ws changes only
9252 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9253 (TeXEnvironment): ditto
9256 * buffer.C (makeLaTeXFile): adjust
9257 (latexParagraphs): make it take ParagraphList::iterator as args
9259 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9261 * buffer.C (latexParagraphs): adjust
9263 * paragraph.C (TeXOnePar): move function...
9264 (optArgInset): move function...
9265 (TeXEnvironment): move function...
9266 * paragraph_pimpl.C (TeXDeeper): move function...
9267 * paragraph_funcs.C: ...here
9269 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9271 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9273 * buffer.C (readInset): remove compability code for old Figure and
9276 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9278 * buffer.C: ws changes
9281 * BufferView_pimpl.C: ditto
9284 * bufferlist.h: ditto
9288 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9290 * converter.[Ch]: split into itself +
9293 * Makefile.am: += graph.[Ch] + format.[Ch]
9300 * lyxrc.C: added #include "format.h"
9302 2003-02-27 Angus Leeming <leeming@lyx.org>
9304 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9307 * factory.C (createInset): add "label" to the factory.
9309 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9310 string and do no more.
9312 2003-02-27 Angus Leeming <leeming@lyx.org>
9315 * LyXAction.C (init):
9316 * factory.C (createInset):
9317 * BufferView_pimpl.C (dispatch):
9318 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9320 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9322 * lyxfunc.C (dispatch):
9323 * text3.C (dispatch): pass name to params2string.
9325 2003-02-26 Angus Leeming <leeming@lyx.org>
9327 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9329 Rearrange the ~includes. Strip out the unnecessary ones.
9331 * factory.C (createInset): reformat.
9332 create new insets for the various LFUN_XYZ_APPLY lfuns.
9334 2003-02-26 John Levon <levon@movementarian.org>
9337 * lyxrow.C: add isParStart,isParEnd helpers
9339 * paragraph.h: make isInserted/DeletedText take refs
9341 * paragraph_funcs.h:
9342 * paragraph_funcs.C: remove #if 0'd code
9347 * text.C: use lyxrow helpers above.
9348 Move draw and paint routines to RowPainter.
9349 Make several methods use refs not pointers.
9350 Make backgroundColor() const.
9351 Add markChangeInDraw(), isInInset().
9352 Merge changeRegionCase into changeCase.
9353 Make workWidth() shouldn't-happen code into an Assert.
9356 * rowpainter.C: new class for painting a row.
9359 * vspace.C: make inPixels take a ref
9361 2003-02-26 Angus Leeming <leeming@lyx.org>
9363 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9366 2003-02-25 John Levon <levon@movementarian.org>
9368 * ispell.C: give the forked command a more accurate name
9370 2003-02-22 John Levon <levon@movementarian.org>
9373 * toc.C: make TocItem store an id not a Paragraph *
9376 2003-02-21 Angus Leeming <leeming@lyx.org>
9378 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9379 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9380 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9381 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9382 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9383 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9385 * BufferView_pimpl.C (dispatch):
9386 * LyXAction.C (init):
9387 * factory.C (createInset):
9388 * lyxfunc.C (getStatus, dispatch):
9389 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9391 2003-02-21 Angus Leeming <leeming@lyx.org>
9393 * BufferView_pimpl.C (MenuInsertLyXFile):
9394 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9395 * lyxfunc.C (menuNew, open, doImport):
9396 no longer pass a LyXView & to fileDlg.
9398 2003-02-21 Angus Leeming <leeming@lyx.org>
9400 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9401 * LyXAction.C: change, BIBKEY to BIBITEM.
9402 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9403 Change InsetBibKey to InsetBibitem.
9404 Change BIBKEY_CODE to BIBITEM_CODE.
9405 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9406 * factory.C: replace insetbib.h with insetbibitem.h.
9407 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9408 * paragraph.C: replace insetbib.h with insetbibitem.h.
9409 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9410 Change bibkey() to bibitem().
9411 * text.C: remove insetbib.h.
9412 * text2.C: replace insetbib.h with insetbibitem.h.
9413 change bibkey() to bibitem().
9414 * text3.C: remove insetbib.h.
9415 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9417 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9419 * lyxrc.C (output): enclose user email in quotes (in case there are
9422 2003-02-18 John Levon <levon@movementarian.org>
9424 * buffer.h: add std::
9426 2003-02-17 John Levon <levon@movementarian.org>
9432 * pspell.C: reworking. Especially in ispell, a large
9433 number of clean ups and bug fixes.
9435 * lyxfunc.C: fix revert to behave sensibly
9437 2003-02-17 André Pönitz <poenitz@gmx.net>
9440 * commandtags.h: new LFUN_INSERT_BIBKEY
9450 * paragraph_func.C: remove special bibkey handling
9452 2003-02-17 John Levon <levon@movementarian.org>
9454 * text.C (Delete): fix case where delete at the end of
9455 the very first paragraph would not merge the pars
9457 2003-02-17 John Levon <levon@movementarian.org>
9459 * lyxrow.C: fix lastPrintablePos()
9461 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9463 * bufferparams.C (writeLaTeX): add a std:here
9465 * buffer.C: and remove a using directive there
9467 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9469 * buffer.C (makeLaTeXFile): move the code that generates the
9472 * bufferparams.C (writeLaTeX): ... in this new method
9474 * LaTeXFeatures.C (getEncodingSet): make const
9475 (getLanguages): make const
9477 * MenuBackend.C (binding): returns the binding associated to this
9479 (add): sets the status of each item by calling getStatus. Adds
9481 (read): add support for OptSubMenu
9482 (expand): remove extra separator at the end of expanded menu
9484 2003-02-15 John Levon <levon@movementarian.org>
9487 * BufferView_pimpl.C:
9489 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9490 inset code that had no actual effect. Remove unneeded status
9493 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9495 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9498 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9500 * text.C (drawLengthMarker): also draw an arrow marker for
9501 symbolic lengths (medskip...)
9503 2003-02-14 John Levon <levon@movementarian.org>
9506 * tabular.C: better method names
9508 2003-02-14 John Levon <levon@movementarian.org>
9510 * BufferView_pimpl.C:
9515 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9516 it's a more accurate name. Remove some pointless uses.
9518 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9520 * text2.C (LyXText): change order of initilizers to shut off
9523 2003-02-14 John Levon <levon@movementarian.org>
9525 * buffer.C: use ParIterator for getParFromID()
9529 * paragraph_pimpl.h:
9530 * paragraph_pimpl.C: remove unused getParFromID()
9532 2003-02-14 John Levon <levon@movementarian.org>
9534 * buffer.C: remove some very old #if 0'd parse code
9536 2003-02-13 John Levon <levon@movementarian.org>
9540 * text2.C: move hfillExpansion(), numberOfSeparators(),
9541 rowLast(), rowLastPrintable(), numberofHfills(),
9542 numberOfLabelHfills() ...
9545 * lyxrow.C: ... to member functions here.
9550 * text.C: remove LyXText::beginningOfMainBody(), and call
9551 p->beginningOfMainBody() directly. Move the check for
9552 LABEL_MANUAL into the latter.
9559 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9565 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9566 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9568 2003-02-13 John Levon <levon@movementarian.org>
9570 * CutAndPaste.C: remove debug
9572 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9574 * paragraph.C (asString): remove two unused variables
9576 * lyxtextclass.C (readTitleType):
9578 (LyXTextClass): handle new members titletype_ and titlename_
9580 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9582 2003-02-09 John Levon <levon@movementarian.org>
9585 * buffer.C: replace hand-coded list with a map for the dep clean
9587 2003-02-08 John Levon <levon@movementarian.org>
9589 * LaTeX.C: consolidate code into showRunMessage() helper
9591 2003-02-08 John Levon <levon@movementarian.org>
9596 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9597 and pass the size in explicitly
9599 * BufferView_pimpl.h:
9600 * BufferView_pimpl.C:
9602 * BufferView.C: add getCurrentChange()
9604 * BufferView_pimpl.h:
9605 * BufferView_pimpl.C: handle change lfuns
9607 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9608 for changes. Mark pasted paragraphs as new.
9610 * support/lyxtime.h:
9611 * support/lyxtime.C:
9612 * DepTable.C: abstract time_t as lyx::time_type
9615 * LColor.C: add colours for new text, deleted text, changebars
9617 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9618 package use "usenames" option.
9622 * LyXAction.C: add change lfuns
9626 * author.C: author handling
9629 * buffer.C: add a per-buffer author list, with first entry as
9630 current author. Handle new .lyx tokens for change tracking. Output
9631 author list to .lyx file. Output dvipost stuff to .tex preamble.
9632 Bump lyx format to 222.
9635 * bufferlist.C: add setCurrentAuthor() to reset current author details
9639 * bufferparams.C: add param for tracking
9641 * bufferview_funcs.C: output change info in minibuffer
9645 * changes.C: add change-tracking structure
9648 * debug.C: add CHANGES debug flag
9651 * lyxfind.C: add code for finding the next change piece
9654 * lyxrc.C: add user_name and user_email
9657 * lyxrow.C: add a metric for the top of the text line
9660 * text.C: implement accept/rejectChange()
9663 * text.C: paint changebars. Paint new/deleted text in the chosen
9664 colours. Strike through deleted text.
9668 * paragraph_pimpl.h:
9669 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9670 in the current change to the insert functions. Rework erase to
9671 mark text as deleted, adding an eraseIntern() and a range-based
9672 erase(). Implement per-paragraph change lookup and
9675 * paragraph_funcs.C: Fixup paste for change tracking.
9677 * tabular.C: mark added row/columns as new.
9679 * text.C: fix rowLast() to never return -1. Don't allow
9680 spellchecking of deleted text. Track transpose changes. Don't
9681 allow paragraph break or merge where appropriate.
9683 * text2.C: leave cursor at end of selection after a cut.
9685 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9687 * text.C (getLengthMarkerHeight):
9688 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9689 visible on screen too.
9691 2003-02-07 John Levon <levon@movementarian.org>
9693 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9695 2003-02-05 Angus Leeming <leeming@lyx.org>
9697 * lyxserver.C (read_ready): revert my patch of 11 September last year
9698 as it sends PC cpu through the roof. Presumably this means that
9699 the lyxserver will no longer run on an Alpha...
9701 2003-01-30 Angus Leeming <leeming@lyx.org>
9703 * factory.C (createInset): create an InsetCommandParam of type "index"
9704 and use it to 'do the right thing'.
9706 * text2.C (getStringToIndex): ensure that cursor position is always
9707 reset to the reset_cursor position.
9709 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9711 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9714 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9718 * lyxfunc.C: Output messages with identical spelling, punctuation,
9721 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9723 * MenuBackend.C (expandFormats): List only viewable export formats
9726 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9729 * lyxfunc.C (getStatus): Make sure that formats other than
9730 "fax" can also be disabled
9732 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9734 * text3.C (dispatch): put the lfuns that insert insets in 3
9735 groups, and call doInsertInset with appropriate arguments.
9736 (doInsertInset): new function, that creates an inset and inserts
9737 it according to some boolean parameters.
9739 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9741 * buffer.C (readFile): remember to pass on 'par' when calling
9742 readFile recursively.
9744 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9746 * MenuBackend.C (expandFormats): add "..." to import formats.
9748 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9750 * paragraph.C (asString): Remove XForms RTL hacks.
9752 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9753 * buffer.C: fix typo
9755 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9757 * Makefile.am (LIBS): delete var
9758 (lyx_LDADD): add @LIBS@ here instead.
9760 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9762 * Clarify the meaning of "wheel mouse jump"
9764 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9766 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9769 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9771 * importer.C (Loaders): do not preallocate 3 elements in the
9772 vector, since one ends up with 6 elements otherwise
9774 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9776 * DepTable.C (write): write the file name as last element of the
9777 .dep file (because it may contain spaces)
9778 (read): read info in the right order
9780 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9782 * paragraph_pimpl.C (simpleTeXBlanks):
9783 (simpleTeXSpecialChars):
9784 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9786 * tabular.C (latex): add some missing case statements. Reindent.
9788 * MenuBackend.C (expandToc): remove unused variable.
9790 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9799 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9802 2003-01-05 John Levon <levon@movementarian.org>
9805 * BufferView.C: add getEncoding()
9808 * kbsequence.C: do not store last keypress
9811 * lyxfunc.C: store last keypress here instead. Pass encoding
9814 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9816 * lyx_main.C (init): remove annoying error message when following
9817 symbolic links (bug #780)
9819 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9821 * text.C (insertChar):
9822 * lyxrc.C (getDescription): remove extra spaces
9824 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9826 * lyxrc.C (getDescription): remove extra spaces
9828 2002-12-20 John Levon <levon@movementarian.org>
9830 * text3.C: hack fix for page up/down across tall rows
9832 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9834 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9837 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9839 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9840 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9841 thesaurus is not compiled in
9843 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9845 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9847 2002-12-16 Angus Leeming <leeming@lyx.org>
9850 * lyx_main.C (init): remove override_x_deadkeys stuff.
9852 2002-12-12 John Levon <levon@movementarian.org>
9854 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9855 insert. Only remove shift modifier under strict
9858 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9860 * MenuBackend.C (expandToc): fix crash.
9862 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9864 * MenuBackend.C (expandToc): gettext on float names.
9866 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9868 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9869 implement bool empty() [bug 490]
9871 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9873 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9875 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9877 * several files: ws changes
9879 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9881 * text2.C (setCounter): clean up a bit, use boost.format.
9882 (updateCounters): initialize par upon declaration.
9884 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9885 if the layout exists. We do not just store the layout any more.
9886 (SwitchLayoutsBetweenClasses): use boost.format
9888 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9890 * converter.C (convert): if from and to files are the same, use a
9891 temporary files as intermediary
9893 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9896 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9898 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9900 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9902 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9904 * tabular.C (asciiPrintCell): use string(size, char) instead of
9907 * sgml.C (openTag): fix order of arguments to string constructor
9910 * lyxfunc.C (dispatch): use boost.format
9912 * lots of files: change "c" -> 'c'
9914 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9916 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9918 2002-11-25 Angus Leeming <leeming@lyx.org>
9920 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9922 * lyx_main.C (init): compile fix.
9924 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9926 * lyx_cb.C (start): boost.formatify
9927 do not include <iostream>
9929 * lengthcommon.C: ws only
9931 * boost-inst.C,BoostFormat.h: add more explict instantations
9933 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9935 * lots of files: handle USE_BOOST_FORMAT
9937 2002-11-21 John Levon <levon@movementarian.org>
9939 * pspell.C: fix compile
9941 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9943 * lyxfunc.C (dispatch): use boost::format
9947 * lyxfont.C (stateText): use boost::format
9949 * lyx_main.C (LyX): use boost::format
9951 (queryUserLyXDir): ditto
9954 (typedef boost::function): use the recommened syntax.
9956 * importer.C (Import): use boost::format
9958 * debug.C (showLevel): use boost::format
9960 * converter.C (view): use boost::format
9965 * bufferview_funcs.C (currentState): use boost::format
9967 * bufferlist.C (emergencyWrite): use boost::format
9969 * buffer.C (readLyXformat2): use boost::format
9970 (parseSingleLyXformat2Token): ditto
9972 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9974 * LaTeX.C (run): use boost::format
9976 * Chktex.C (scanLogFile): use boost::format
9978 * BufferView_pimpl.C (savePosition): use boost::format
9979 (restorePosition): ditto
9980 (MenuInsertLyXFile): ditto
9982 * BoostFormat.h: help file for explicit instation.
9984 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9986 * tabular.C (latex): Support for block alignment in fixed width
9989 2002-11-17 John Levon <levon@movementarian.org>
9991 * BufferView_pimpl.C:
9993 * lyxfunc.C: split filedialog into open/save
9995 2002-11-08 Juergen Vigna <jug@sad.it>
9997 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9998 by my last patch (hopefully).
10000 2002-11-08 John Levon <levon@movementarian.org>
10009 * toc.C: ParConstIterator, and use it (from Lars)
10011 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10013 * lyxtextclass.[Ch]: revise and add doxygen comments
10015 2002-11-07 John Levon <levon@movementarian.org>
10017 * text.C: fix progress value for spellchecker
10019 * toc.C: fix navigate menu for insetwrap inside minipage
10021 * paragraph_funcs.C: added FIXME for suspect code
10023 2002-11-07 John Levon <levon@movementarian.org>
10025 * BufferView_pimpl.C: fix redrawing of insets
10028 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10030 * text2.C (updateCounters): fix bug 668
10032 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10034 * text3.C (dispatch): Do not make the buffer dirty when moving the
10037 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10039 * vc-backend.C: STRCONV
10040 (scanMaster): ditto
10042 * text2.C (setCounter): STRCONV
10044 * paragraph.C (asString): STRCONV
10046 * lyxlength.C (asString): STRCONV
10047 (asLatexString): ditto
10049 * lyxgluelength.C (asString): STRCONV
10050 (asLatexString): ditto
10052 * lyxfunc.C (dispatch): STRCONV
10055 * lyxfont.C (stateText): STRCONV
10057 * importer.C (Import): STRCONV
10059 * counters.C (labelItem): STRCONV
10060 (numberLabel): ditto
10061 (numberLabel): remove unused ostringstream o
10066 * bufferview_funcs.C (currentState): STRCONV
10068 * buffer.C (readFile): STRCONV
10069 (asciiParagraph): ditto
10070 (makeLaTeXFile): ditto
10072 * Spacing.C (writeEnvirBegin): STRCONV
10074 * LaTeXFeatures.C (getLanguages): STRCONV
10075 (getPackages): ditto
10077 (getBabelOptions): ditto
10078 (getTClassPreamble): ditto
10079 (getLyXSGMLEntities): ditto
10080 (getIncludedFiles): ditto
10084 (scanAuxFile): ditto
10087 * LString.h: add the STRCONV macros
10089 * BufferView_pimpl.C (savePosition): STRCONV
10090 (restorePosition): ditto
10091 (MenuInsertLyXFile): ditto
10093 * vc-backend.C (scanMaster): change from submatch[...] to
10096 * funcrequest.C: include config.h
10098 * factory.C: include config.h
10100 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10102 * box.C: include config.h
10104 * LaTeX.C (scanAuxFile): change from submatch[...] to
10108 2002-10-25 Angus Leeming <leeming@lyx.org>
10110 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10112 * ispell.[Ch] (setError): new method.
10113 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10114 Use setError() insetead of goto END.
10116 * lyx_cb.C (AutoSave): move out child process into new class
10119 2002-10-30 John Levon <levon@movementarian.org>
10121 * text3.C: make start appendix undoable
10123 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10125 * lyxlength.C (inPixels): Fix returned value.
10127 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10130 2002-10-24 Angus Leeming <leeming@lyx.org>
10132 * lyxgluelength.h: no need to forward declare BufferParams
10133 or BufferView, so don't.
10135 2002-10-21 John Levon <levon@movementarian.org>
10137 * BufferView.C: menuUndo ->undo, redo
10139 * BufferView.h: document, remove dead, make some methods private
10141 * paragraph_funcs.h:
10142 * paragraph_funcs.C:
10143 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10148 * sgml.C: move sgml open/close tag into sgml.C
10150 * bufferview_funcs.h: unused prototype
10153 * lyxfunc.C: remove unused
10156 * text.C: remove unused
10158 2002-10-21 John Levon <levon@movementarian.org>
10162 * BufferView_pimpl.h:
10163 * BufferView_pimpl.C: fix mouse wheel handling based on
10164 patch from Darren Freeman
10166 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10168 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10170 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10172 * lyxlength.C (inPixels): Fix hanfling of negative length.
10173 Fix LyXLength::MU case.
10175 2002-10-16 John Levon <levon@movementarian.org>
10177 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10179 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10181 * converter.C (view): add support for $$i (file name) and $$p
10182 (file path) for the viewer command. If $$i is not specified, then
10183 it is appended to the command (for compatibility with old syntax)
10185 2002-10-14 Juergen Vigna <jug@sad.it>
10187 * undo_funcs.C (textHandleUndo): alter the order in which the
10188 new undopar is added to the LyXText, as we have to set first
10189 the right prev/next and then add it as otherwise the rebuild of
10190 LyXText is not correct. Also reset the cursor to the right paragraph,
10191 with this IMO we could remove the hack in "redoParagraphs()".
10193 2002-10-09 Angus Leeming <leeming@lyx.org>
10195 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10196 to turn off an optimisation if a new inset is to be inserted.
10198 2002-10-11 André Pönitz <poenitz@gmx.net>
10200 * lyxtext.h: make some functions public to allow access
10201 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10203 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10205 * text3.C (dispatch): when changing layout, avoid an infinite loop
10208 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10210 * lyxrc.C (read): treat a viewer or converter command of "none" as
10213 * MenuBackend.C (expandFormats): for an update, also allow the
10214 formats that are not viewable
10216 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10217 script if it is newer than the lyxrc.defaults in user directory
10219 2002-10-07 André Pönitz <poenitz@gmx.net>
10221 * text.C: Vitaly Lipatov's small i18n fix
10223 2002-09-25 Angus Leeming <leeming@lyx.org>
10225 * ispell.h: doxygen fix.
10227 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10229 * buffer.h (readFile): Add a new argument to the method, to allow
10230 reading of old-format templates.
10232 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10234 * toc.C (getTocList): Get TOC from InsetWrap.
10236 2002-09-16 John Levon <levon@movementarian.org>
10238 * lyxfunc.C: check tabular for cut/copy too
10240 2002-09-12 John Levon <levon@movementarian.org>
10242 * LyXAction.C: tidy
10245 * factory.C: add header
10247 * paragraph_funcs.h:
10248 * paragraph_funcs.C: cleanup
10250 2002-09-11 John Levon <levon@movementarian.org>
10252 * PrinterParams.h: odd/even default to true
10254 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10256 * PrinterParams.h: update printer parameters for new xforms dialog
10258 2002-09-11 Angus Leeming <leeming@lyx.org>
10260 * lyxserver.C (read_ready): re-write to make it more transparent
10261 and to make it work in coherent fashion under Tru64 Unix.
10263 2002-09-11 André Pönitz <poenitz@gmx.net>
10267 * text3.C: implement LFUN_WORDSEL
10269 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10271 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10272 make floatlist_ a boost::shared_ptr<FloatList>
10274 * lyxtextclass.C: include FloatList.h
10275 (LyXTextClass): initialize floatlist_
10276 (TextClassTags): add TC_NOFLOAT
10277 (Read): match "nofloat" to TC_NOFLOAT and use it.
10278 (readFloat): modify call to floatlist_
10282 * FloatList.[Ch] (FloatList): remove commented out float
10284 (erase): new function
10286 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10288 * MenuBackend.C (expandToc): fix crash when there is no document
10291 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10293 * many files: Add insetwrap.
10295 2002-09-09 John Levon <levon@movementarian.org>
10297 * text2.C: remove confusing and awkward depth wraparound
10299 2002-09-09 John Levon <levon@movementarian.org>
10301 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10304 * buffer.C: remove getIncludeonlyList()
10307 * lyxfunc.C: remove headers
10309 2002-09-09 Juergen Vigna <jug@sad.it>
10311 * text.C (getColumnNearX): fix form Michael this is most
10312 probably a cut&paste bug.
10314 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10316 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10318 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10319 references, ws changes.
10321 * text2.C (init): update counters after init
10322 (insertParagraph): no need to set counter on idividual paragraphs.
10323 (setCounter): access the counters object in the textclass object
10324 on in the buffer object.
10325 (updateCounters): ditto
10327 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10328 shared_ptr<Counters> to avoid loading counters.h in all
10330 (LyXTextClass): initialize ctrs_
10331 (TextClassTags): add TC_COUNTER, and ...
10332 (Read): use it here.
10333 (CounterTags): new tags
10334 (readCounter): new function
10335 (counters): new funtion
10336 (defaultLayoutName): return a const reference
10338 * counters.C (Counters): remove contructor
10339 (newCounter): remove a couple of unneeded statements.
10340 (newCounter): simplify a bit.
10341 (numberLabel): some small formatting changes.
10343 * buffer.[Ch]: remove all traces of counters, move the Counters
10344 object to the LyXTextClass.
10346 2002-09-06 Alain Castera <castera@in2p3.fr>
10348 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10349 package to set the horizontal alignment on fixed width columns.
10352 * lyx_sty.h: added tabularnewline macro def.
10354 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10356 2002-09-06 John Levon <levon@movementarian.org>
10358 * LyXAction.C: tooltips for sub/superscript
10360 * MenuBackend.C: a bit more verbose
10362 * lyxfunc.C: tiny clean
10364 * undo_funcs.C: document undo_frozen
10366 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10368 * counters.C (Counters): add missing algorithm counter.
10370 * text2.C (setCounter): lookup the counter with layouts latexname
10371 instead of by section number.
10372 (setCounter): use a hackish way to lookup the correct enum
10374 a float name->type change
10375 reset enum couners with counter name directly instead of depth value.
10377 * counters.C (Counters): remove the push_backs, change to use the
10378 float type not the float name.
10379 (labelItem): remove unused string, float name->type change
10381 * counters.h: don't include vector, loose the enums and sects vectors
10383 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10385 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10386 (Read): add float->TC_FLOAT to textclassTags
10387 (Read): and handle it in the switch
10388 (readFloat): new function
10390 * FloatList.C (FloatList): comment out the hardcoded float
10393 * lyxlayout.h: ws change.
10395 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10397 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10399 2002-09-03 Angus Leeming <leeming@lyx.org>
10401 * BufferView_pimpl.h: qualified name is not allowed in member
10402 declaration: WorkArea & Pimpl::workarea() const;
10404 * factory.C: added using std::endl directive.
10406 * text3.C: added using std::find and std::vector directives.
10408 2002-08-29 André Pönitz <poenitz@gmx.net>
10411 * text2.C: remove unused member number_of_rows
10414 * BufferView2.C: remove file, move contents to...
10415 * BufferView.C: ... here
10417 * BufferView_pimpl.C:
10418 * factory.C: move more inset creation to factory
10420 * vspace.C: avoid direct usage of LyXText, ws changes
10423 don't provide direct access to WorkArea, use two simple
10424 acessors haveSelction() and workHeight() instead
10427 2002-08-29 John Levon <levon@movementarian.org>
10429 * BufferView_pimpl.C (dispatch): do not continue when
10432 2002-08-28 André Pönitz <poenitz@gmx.net>
10434 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10437 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10439 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10441 * buffer.C: increment LYX_FORMAT to 221
10443 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10444 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10446 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10448 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10450 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10452 * factory.C (createInset): use LyXTextClass::floats
10454 * MenuBackend.C (expandFloatListInsert):
10455 (expandFloatInsert):
10458 * text2.C (setCounter):
10460 * LaTeXFeatures.C (useFloat):
10461 (getFloatDefinitions):
10463 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10465 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10466 floatlist_, with accessor floats().
10468 * FloatList.h: remove global FloatList
10470 2002-08-26 André Pönitz <poenitz@gmx.net>
10472 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10476 * BufferView_pimpl.C:
10477 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10479 2002-08-25 John Levon <levon@movementarian.org>
10481 * LyXAction.C: fix margin note description
10483 2002-08-24 John Levon <levon@movementarian.org>
10487 * bufferview_funcs.C:
10489 * undo_funcs.C: cleanups
10491 * lyxfunc.C: disable CUT/COPY when no selection
10493 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10495 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10496 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10498 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10499 Add backward compatibility to "mono", "gray" and "no".
10501 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10503 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10504 (and file_format >= 200).
10506 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10508 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10510 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10512 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10514 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10516 * BufferView_pimpl.C:
10523 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10524 inset and code to make it work with the paragraph code. The inset
10525 can be anywhere in the paragraph, but will only do the expected
10526 thing in LaTeX if the layout file contains the parameter line
10528 (or more generally, a nonzero value) for that layout.
10530 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10532 * paragraph.h: remove the declaration of undefined counters class
10535 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10537 * text2.C (setCounter): fixed enumeration mis-count as reported by
10538 Dr. Richard Hawkins.
10540 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10542 * paragraph_funcs.h: remove some unneeded includes
10544 * text.C (backspace): pasteParagraph now in global scipe
10546 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10547 (pasteSelection): ditto
10549 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10550 * paragraph_funcs.C (pasteParagraph): ... here
10552 2002-08-20 André Pönitz <poenitz@gmx.net>
10554 * commandtags.h: new LFUNs for swapping/copying table row/colums
10557 * lyxfunc.C: support for new lfuns
10559 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10562 * buffer.[Ch]: remove NO_COMPABILITY stuff
10564 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10566 * boost.C (throw_exception): new file, with helper function for
10567 boost compiled without exceptions.
10572 * ParameterStruct.h:
10573 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10575 * bufferlist.C (emergencyWriteAll): use boost bind
10577 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10579 * text.C: include paragraph_funcs.h
10580 (breakParagraph): breakParagraph is now in global scope
10582 * paragraph_funcs.[Ch]: new files
10584 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10587 * buffer.C: include paragraph_funcs.h
10588 (insertStringAsLines): breakParagraph is now in global scope
10590 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10593 * CutAndPaste.C: include paragraph_funcs.h
10594 (cutSelection): breakParagraphConservative is now in global scope
10595 (pasteSelection): ditto
10597 * buffer.h: declare oprator== and operator!= for
10598 Buffer::inset_iterator
10600 * bufferlist.C (emergencyWrite): don't use fmt(...)
10602 * text3.C: add using std::endl
10604 * BufferView.C (moveCursorUpdate): remove default arg
10606 2002-08-20 André Pönitz <poenitz@gmx.net>
10608 * buffer.[Ch]: move inline functions to .C
10611 * BufferView_pimpl.C:
10613 * buffer.[Ch]: use improved inset_iterator
10616 * paragraph.[Ch]: write one paragraph at a time
10618 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10620 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10621 style if style is not specified.
10623 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10625 * text2.C (setCounter): when searching for right label for a
10626 caption, make sure to recurse to parent insets (so that a caption
10627 in a minipage in a figure float works) (bug #568)
10629 2002-08-20 André Pönitz <poenitz@gmx.net>
10631 * text3.C: new file for LyXText::dispatch() and helpers
10633 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10635 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10637 2002-08-19 André Pönitz <poenitz@gmx.net>
10640 * text.C: new LyXText::dispatch()
10642 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10644 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10646 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10648 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10651 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10653 * Makefile.am: use $(variables) instead of @substitutions@
10655 2002-08-15 André Pönitz <poenitz@gmx.net>
10658 * BufferView_pimpl.C: streamlining mathed <-> outer world
10662 * LyXAction.C: remove unused LFUN_MATH
10664 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10666 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10668 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10670 * paragraph.C (Paragraph): reformat a bit
10671 (cutIntoMinibuffer): use builtin InsetList function instad of
10675 * buffer.C: include boost/bind.hpp, add using std::for_each
10676 (writeFileAscii): use ParagraphList iterators
10677 (validate): use for_each for validate traversal of paragraphs
10678 (getBibkeyList): use ParagraphList iterators
10679 (resizeInsets): use for_each to resizeInsetsLyXText for all
10681 (getParFromID): use ParagraphList iterators
10683 * BufferView2.C (lockInset): use paragraph list and iterators
10685 2002-08-14 John Levon <levon@movementarian.org>
10687 * lyxserver.C: remove spurious xforms include
10689 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10691 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10693 2002-08-13 André Pönitz <poenitz@gmx.net>
10696 * lyxfunc.C: further cleaning
10698 2002-08-13 André Pönitz <poenitz@gmx.net>
10700 * funcrequest.h: new constructor
10702 * funcrequest.C: move stuff here from .h
10705 * BufferView_pimpl.C:
10708 * lyxfunc.C: subsequent changes
10710 * lyxfunc.h: new view() member function
10712 * lyxfunc.C: subsequent changes
10714 2002-08-13 Angus Leeming <leeming@lyx.org>
10717 * BufferView_pimpl.C:
10725 changes due to the changed LyXView interface that now returns references
10726 to member variables not pointers.
10728 2002-08-13 Angus Leeming <leeming@lyx.org>
10730 * WordLangTuple (word, lang_code): return references to strings,
10735 * lyxtext.h: forward-declare WordLangTuple.
10740 * text.C: #include "WordLangTuple.h".
10743 * text.C: (selectNextWordToSpellcheck): constify return type.
10745 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10751 * paragraph_pimpl.h:
10754 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10755 suggested by Angus.
10756 Made updateCounter always count from start of buffer, and removed
10757 second argument (par).
10758 Reverted floats number display to '#'. Perhaps I'll try again when the
10759 code base is sanitized a bit.
10761 2002-08-12 Angus Leeming <leeming@lyx.org>
10763 * buffer.[Ch] (getLabelList): constify.
10765 2002-08-07 André Pönitz <poenitz@gmx.net>
10767 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10769 * funcrequest.h: extension to keep mouse (x,y) position
10771 2002-08-12 Juergen Vigna <jug@sad.it>
10773 * BufferView2.C (insertErrors): forbid undo when inserting error
10776 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10778 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10780 * ParagraphList.[Ch]: new files
10782 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10784 * BufferView2.C (lockInset): ParagraphList changes
10787 * bufferlist.C: ditto
10791 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10793 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10794 unused class variable counter_,
10796 * paragraph.[Ch] (getFirstCounter): delete unused function
10798 * counters.C: include LAssert.h
10799 (reset): add a new function with no arg, change other version to
10800 not have def. arg and to not allow empty arg.
10802 * text2.C (setCounter): remove empty arg from call to Counters::reset
10804 2002-08-11 John Levon <levon@movementarian.org>
10806 * Makefile.am: add WordLangTuple.h
10808 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10810 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10811 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10813 * insets/insettext.C: InsetList changes
10815 * graphics/GraphicsSupport.C (operator()): InsetList changes
10817 * toc.C (getTocList): InsetList changes
10819 * paragraph_pimpl.[Ch]: InsetList changes
10821 * paragraph.[Ch]: InsetList changes
10823 * buffer.C (inset_iterator): InsetList changes
10824 (setParagraph): ditto
10825 * buffer.h (inset_iterator): ditto
10826 * iterators.C (operator++): ditto
10827 * iterators.h: ditto
10829 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10831 * InsetList.[Ch]: new files, most InsetList handling moved out of
10834 * BufferView2.C (removeAutoInsets): InsetList changes
10836 (ChangeInsets): ditto
10838 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10840 * paragraph_pimpl.h (empty): new function
10842 * paragraph.[Ch] (empty): new function
10844 * other files: use the new Paragraph::empty function
10846 2002-08-09 John Levon <levon@movementarian.org>
10848 * lyxtext.h: remove unused refresh_height
10850 2002-08-09 John Levon <levon@movementarian.org>
10857 * paragraph.C: move sgml char escaping out of paragraph
10860 * paragraph.C: remove id setter
10864 * paragraph_pimpl.C: remove dead tex_code_break_column
10866 * bufferview_funcs.C: small cleanup
10868 * lyxfunc.C: remove dead proto
10870 * lyxtext.h: make some stuff private. Remove some dead stuff.
10872 * lyxgluelength.C: make as[LyX]String() readable
10874 2002-08-08 John Levon <levon@movementarian.org>
10879 * ToolbarDefaults.C:
10882 * toc.C: lyxaction cleanup
10884 2002-08-08 John Levon <levon@movementarian.org>
10886 * BufferView2.C: small cleanup
10889 * lyxfind.C: move unnecessary header into the .C
10891 2002-08-08 John Levon <levon@movementarian.org>
10893 * funcrequest.h: just tedious nonsense
10896 * lyx_main.C: cleanups
10899 * vspace.C: remove dead header lyx_main.h
10901 2002-08-07 Angus Leeming <leeming@lyx.org>
10904 * paragraph_pimpl.h:
10905 Forward declare class Counters in paragraph.h by moving the ctrs member
10906 variable into Paragraph::Pimpl.
10907 (counters): new method, returning a reference to pimpl_->ctrs.
10909 * text2.C: ensuing changes.
10911 2002-08-07 John Levon <levon@movementarian.org>
10913 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10915 * BufferView_pimpl.C: announce X selection on double/triple
10918 * lyx_main.C: use correct bool in batch dispatch
10920 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10922 2002-08-07 André Pönitz <poenitz@gmx.net>
10924 * funcrequest.h: new class to wrap a kb_action and its argument
10927 * BufferView_pimpl[Ch]:
10931 * lyxrc.C: subsequent changes
10934 2002-08-07 John Levon <levon@movementarian.org>
10936 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10937 document options change.
10939 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10944 * makefile.am: move counters functionality over from
10945 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10947 2002-08-06 John Levon <levon@movementarian.org>
10949 * WordLangTuple.h: new file for word + language code tuple
10960 * BufferView2.C: use WordLangTuple
10963 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10965 2002-08-06 John Levon <levon@movementarian.org>
10967 * lyx_main.C: fix cmdline batch handling
10969 2002-08-06 André Pönitz <poenitz@gmx.net>
10971 * lyxrc.C: set default for show_banner to true
10973 2002-08-06 John Levon <levon@movementarian.org>
10975 * pspell.C: fix a crash, and allow new aspell to work
10977 2002-08-06 John Levon <levon@movementarian.org>
10980 * kbmap.C: small cleanup
10983 * vspace.C: add const
10985 2002-08-05 John Levon <levon@movementarian.org>
10987 * LyXAction.C: back to tabular-insert
10989 2002-08-04 John Levon <levon@movementarian.org>
10992 * BufferView.C: cosmetic change
10994 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11004 * BufferView2.C: purge all "Lyx" not "LyX" strings
11007 * lyxcursor.C: attempt to add some documentation
11012 * ToolbarDefaults.C:
11013 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11014 merge with LFUN_TABULAR_INSERT
11021 * pspell.C: split up i/pspell implementations into separate
11022 files, many cleanups
11024 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11026 * text2.C: some cleanup
11028 * lyxfunc.C: don't check for isp_command == "none" any more, it
11029 didn't make any sense
11031 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11036 * makefile.am: move counters functionality over
11037 from text2.C/paragraph.[Ch] to counters.[Ch], and
11039 2002-08-02 John Levon <levon@movementarian.org>
11041 * buffer.C: s/lyxconvert/lyx2lyx/
11043 2002-08-02 Angus Leeming <leeming@lyx.org>
11045 * lyxlex.C: revert John's change as it breaks reading of the user
11048 2002-08-02 Angus Leeming <leeming@lyx.org>
11050 * importer.C (Import):
11051 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11052 changes due to LyXView::view() now returning a boost::shared_ptr.
11054 2002-08-02 John Levon <levon@movementarian.org>
11056 * lyxlex.C: small cleanup
11058 2002-08-02 John Levon <levon@movementarian.org>
11060 * text2.C (status): small cleanup, no logic change
11062 2002-08-01 John Levon <levon@movementarian.org>
11065 * buffer.C (writeFile): don't output alerts, caller
11069 * lyx_cb.C: from above
11071 * lyxfunc.C: allow to open non-existent files
11073 2002-07-31 John Levon <levon@movementarian.org>
11075 * lyxserver.C: don't let incidental errors get
11078 2002-07-30 John Levon <levon@movementarian.org>
11080 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11082 2002-07-30 John Levon <levon@movementarian.org>
11085 * lyxserver.C: remove I/O callback too
11087 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11089 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11092 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11094 * many files: strip,frontStrip -> trim,ltrim,rtrim
11096 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11098 * PrinterParams.h: remove extern containsOnly, and include
11099 support/lstrings.h instead.
11101 * LaTeX.C (scanAuxFile): modify because of strip changes
11103 * buffer.C (makeLaTeXFile): ditto
11104 * bufferparams.C (writeFile): ditt
11105 * lyxfont.C (stateText): ditto
11106 * lyxserver.C (read_ready): ditto
11107 * vc-backend.C (scanMaster): ditto
11109 * BufferView_pimpl.h: ws changes
11111 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11113 2002-07-26 André Pönitz <poenitz@gmx.net>
11115 * kb_sequence.C: remove unnedred usings
11117 2002-07-26 Juergen Vigna <jug@sad.it>
11119 * lyxfind.C (LyXReplace): we have to check better if the returned
11120 text is not of theLockingInset()->getLockingInset().
11122 2002-07-25 Juergen Vigna <jug@sad.it>
11124 * lyxfind.C (LyXReplace): don't replace if we don't get the
11127 * undo_funcs.C (createUndo): remove debugging code.
11129 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11131 * buffer.C (parseSingleLyXformat2Token): Use default placement
11132 when reading old floats.
11134 * FloatList.C (FloatList): Change the default placement of figure
11135 and tables to "tbp".
11137 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11139 * MenuBackend.C: using std::max
11141 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11143 * MenuBackend.C (expandToc):
11144 (expandToc2): code moved from xforms menu frontend. It is now
11145 generic and TOCs are transparent to menu frontends.
11147 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11149 * toc.C (getTocList): protect against buf=0
11151 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11152 Menu as first parameter. Now, this calls itself recursively to
11153 expand a whole tree (this will be useful for TOC handling)
11154 (expandFloatInsert): remove 'wide' version of floats
11156 * MenuBackend.h (submenuname): returns the name of the submenu.
11157 (submenu): returns the submenu itself, provided it has been
11158 created by MenuBackend::expand
11160 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11162 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11163 insets which have noFontChange == true. (bug #172)
11165 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11167 * BufferView_pimpl.C: add connection objects and use them...
11170 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11172 * MenuBackend.C (expandLastfiles):
11175 (expandFloatListInsert):
11176 (expandFloatInsert):
11177 (expand): split expand in parts
11179 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11181 * lyx_gui.C: use lyx_gui::exit()
11183 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11185 * LyXAction.C: show the failing pseudo action
11187 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11189 * buffer.C (readFile): Run the lyxconvert script in order to read
11192 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11196 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11198 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11202 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11204 2002-07-22 Herbert Voss <voss@lyx.org>
11207 * lyxlength.[Ch]: add support for the vertical lengths
11209 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11211 * toc.[Ch]: std:: fixes
11213 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11215 * lyxrc.C: do not include lyx_main.h
11217 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11223 * BufferView2.C: include "lyxlex.h"
11226 * bufferparams.h: do not #include "lyxlex.h"
11228 * lyxtextclasslist.C (Add): remove method
11229 (classlist): renamed to classlist_
11231 * paragraph_pimpl.C:
11235 * bufferview_funcs.C:
11240 * toc.C (getTocList): use BufferParams::getLyXTextClass
11242 * toc.C (getTocList): use InsetFloat::addToToc
11244 * toc.[Ch]: new files, containing helper functions to handle table
11247 * lyxfunc.C (dispatch): no need to remove spaces around command
11249 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11250 first command of the sequence; it is not very clever, but I do not
11251 have a better idea, actually
11253 * LyXAction.C (LookupFunc): make sure to remove space at the
11254 beginning and end of the command
11256 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11258 * MenuBackend.C (getMenubar): new method: return the menubar of
11260 (read): treat differently reading of menu and menubar (in
11261 particular, the menubar has no name now)
11262 (Menu::menubar): remove
11264 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11267 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11269 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11270 a bibitem inset in a RTL paragraph.
11272 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11274 * paragraph_pimpl.C: constify
11276 * BufferView_pimpl.C:
11278 * lyxfunc.C: fix dispatch in a nicer way
11280 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11282 * lyxfunc.C (dispatch):
11283 * BufferView_pimpl.C:
11284 * BufferView_pimpl.h:
11286 * BufferView.h: rename Dispatch() to dispatch()
11288 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11290 * lyxlayout.C (Read): honor DependsOn tag
11292 * lyxlayout.[Ch] (depends_on): new method
11294 * version.C.in: update lyx_docversion
11296 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11298 * paragraph.C (validate): remove from here...
11299 * paragraph_pimpl.C (validate): ... and move here
11300 (isTextAt): make it const
11302 * buffer.C (getLists): ws cleanup
11304 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11306 * language.C (read): Use iso8859-1 encoding in latex_lang
11307 (this prevents LyX from crashing when using iso10646-1 encoding).
11309 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11311 * text2.C (toggleInset): if cursor is inside an inset, close the
11312 inset and leave cursor _after_ it
11314 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11316 * lyxfunc.C: move minibuffer completion handling out of here
11318 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11320 * BufferView_pimpl.C:
11321 * LaTeX.C: fix dispatch calls
11323 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11325 * text.C (drawChars): Fix Arabic text rendering.
11327 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11331 * lyxfunc.C: remove message-push/pop
11335 * lyxfunc.C: rationalise some code by removing verboseDispatch
11336 in favour of a bool argument to dispatch()
11338 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11340 * lyx_main.C (init): make sure to read symlinks as absolute paths
11342 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11345 * lyxfunc.C: no need for commandshortcut to be a member
11347 2002-07-15 André Pönitz <poenitz@gmx.net>
11349 * converter.C: add support for $$s (scripts from lib/scripts dir)
11350 * lyx_main.C: white space
11352 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11356 * lyxrc.C: remove second exit confirmation
11358 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11363 * BufferView_pimpl.h:
11364 * BufferView_pimpl.C:
11365 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11367 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11369 * MenuBackend.C (expand): add numeric shortcuts to document menu
11371 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11373 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11375 * lyxfont.C (setLyXFamily):
11382 * buffer.C (asciiParagraph): use ascii_lowercase
11384 2002-07-15 Mike Fabian <mfabian@suse.de>
11386 * lyxlex_pimpl.C (search_kw):
11387 * lyxlex.C (getLongString):
11388 * converter.h (operator<):
11389 * converter.C (operator<):
11390 * buffer.C (parseSingleLyXformat2Token):
11392 * ToolbarDefaults.C (read):
11393 * MenuBackend.C (checkShortcuts):
11395 * LColor.C (getFromGUIName):
11396 (getFromLyXName): use the compare_ascii_no_case instead of
11397 compare_no_case, because in turkish, 'i' is not the lowercase
11398 version of 'I', and thus turkish locale breaks parsing of tags.
11400 2002-07-16 Angus Leeming <leeming@lyx.org>
11402 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11403 now takes a Buffer const & argument.
11405 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11407 * BufferView.C (resize): check there's a buffer to resize
11409 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11411 * lyxfunc.C: remove dead code
11414 * lyxserver.C: use lyx_guii::set_read_callback
11416 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11418 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11419 an inset in a RTL paragraph.
11421 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11423 * lyxfunc.C: repaint after a font size update
11425 2002-07-15 André Pönitz <poenitz@gmx.net>
11427 * lyxlength.C: inBP should be able to return negative values
11429 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11431 * lyxfunc.C: use lyx_gui::update_fonts()
11433 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11435 * lyxfunc.C: use lyx_gui::update_color()
11437 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11443 * lyxrc.C: remove file->new asks for name option, and let
11444 buffer-new take an argument
11446 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11448 * BufferView_pimpl.C: remove unneeded extra repaint()
11450 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11452 * LyXAction.C: allow command-sequence with NoBuffer
11454 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11456 2002-07-10 Angus Leeming <leeming@lyx.org>
11458 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11460 2002-07-09 Angus Leeming <leeming@lyx.org>
11462 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11464 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11466 * lengthcommon.h: whitespace
11468 * lyxfunc.C: update scrollbar after goto paragraph
11470 * lyxtext.h: factor out page break drawing, and fix it so
11471 page break/added space paints as selected nicely
11473 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11475 * BufferView_pimpl.C: add FIXMEs, clean up a little
11477 2002-07-09 André Pönitz <poenitz@gmx.net>
11479 * lyxfont.[Ch]: support for wasy symbols
11481 2002-07-08 André Pönitz <poenitz@gmx.net>
11483 * BufferView_pimpl.C: apply John's patch for #93.
11485 2002-07-05 Angus Leeming <leeming@lyx.org>
11487 * BufferView_pimpl.C (buffer): generate previews if desired.
11489 * LColor.h: add "preview" to the color enum.
11491 * LColor.C (LColor): add a corresponding entry to the items array.
11493 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11496 2002-07-05 Angus Leeming <leeming@lyx.org>
11498 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11499 The body of the code is now in the method that is passed an ostream &
11500 rather than a file name.
11501 Pass an additional only_preamble parameter, useful for the forthcoming
11504 2002-07-03 André Pönitz <poenitz@gmx.net>
11506 * lyxfunc.C: simplify getStatus() a bit for math stuff
11508 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11510 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11512 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11514 * text.C (changeRegionCase): do not change case of all the
11515 document when region ends at paragraph end (bug #461)
11517 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11519 * paragraph.C (startTeXParParams):
11520 (endTeXParParams): add \protect when necessary
11522 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11524 * BufferView_pimpl.C (workAreaExpose): remove warning
11526 2002-06-27 Angus Leeming <leeming@lyx.org>
11528 * Makefile.am: add lyxlayout_ptr_fwd.h.
11530 2002-06-26 André Pönitz <poenitz@gmx.net>
11532 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11534 2002-06-25 Angus Leeming <leeming@lyx.org>
11536 * lyxfunc.C (dispatch): Comment out the call to
11537 grfx::GCache::changeDisplay. The method no longer exists now that the
11538 pixmap generation part of the graphics loader has been moved into
11541 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11543 * text2.C: layout as layout
11545 * text.C: layout as layout
11547 * tabular.C (OldFormatRead): layout as layout
11549 * paragraph_pimpl.C (TeXDeeper): layout as layout
11550 (realizeFont): layout as layout
11552 * paragraph.C (writeFile): layout as layout
11553 (validate): layout as layout
11554 (getFont): layout as layout
11555 (getLabelFont): layout as layout
11556 (getLayoutFont): layout as layout
11557 (breakParagraph): layout as layout
11558 (stripLeadingSpaces): layout as layout
11559 (getEndLabel): layout as layout
11560 (getMaxDepthAfter): layout as layout
11561 (applyLayout): layout as layout
11562 (TeXOnePar): layout as layout
11563 (simpleTeXOnePar): layout as layout
11564 (TeXEnvironment): layout as layout
11565 (layout): layout as layout
11566 (layout): layout as layout
11568 * lyxtextclass.C (compare_name): new functor to work with
11569 shared_ptr, layout as layout
11570 (Read): layout as layout
11571 (hasLayout): layout as layout
11572 (operator): layout as layout
11573 (delete_layout): layout as layout
11574 (defaultLayout): layout as layout
11576 * lyxlayout_ptr_fwd.h: new file
11578 * lyxlayout.C (Read): layout as layout
11580 * lyx_cb.C (MenuInsertLabel): layout as layout
11582 * bufferlist.C (newFile): layout as layout
11584 * buffer.C (readLyXformat2): layout as layout
11585 (parseSingleLyXformat2Token): layout as layout
11586 (insertStringAsLines): layout as layout
11587 (asciiParagraph): layout as layout
11588 (latexParagraphs): layout as layout
11589 (makeLinuxDocFile): layout as layout
11590 (simpleLinuxDocOnePar): layout as layout
11591 (makeDocBookFile): layout as layout
11592 (simpleDocBookOnePar): layout as layout
11593 (getLists): layout as layout
11595 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11597 * CutAndPaste.C (cutSelection): layout as layout
11598 (pasteSelection): layout as layout
11599 (SwitchLayoutsBetweenClasses): layout as layout
11601 * BufferView_pimpl.C (Dispatch): layout as layout
11602 (smartQuote): layout as layout
11604 * BufferView2.C (unlockInset): layout as layout
11606 2002-06-24 André Pönitz <poenitz@gmx.net>
11608 * lyxfunc.C: fix #487
11610 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11614 * lyxfunc.C: remove display_shortcuts, show_banner
11616 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11618 * Buffer_pimpl.C: oops, update on resize
11620 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11627 * BufferView.C: use repaint()
11629 * BufferView_pimpl.h:
11630 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11631 as it's a clearer description. Remove superfluous
11634 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11636 * text.C: fix bug 488. Not ideal, but getting
11637 getWord() to work properly for the insets that
11638 matter is more difficult ...
11640 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11642 * BufferView_pimpl.C:
11645 * lyxfunc.C: remove the six million index lyxfuncs to just
11646 one, and DTRT (bug 458)
11648 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11652 * BufferView_pimpl.h:
11653 * BufferView_pimpl.C: clean up resize() stuff,
11654 and unnecessary updateScreen()s
11656 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11660 * BufferView_pimpl.h:
11661 * BufferView_pimpl.C:
11664 * minibuffer.C: remove focus management of workarea,
11665 not needed. Use screen's greyOut()
11667 2002-06-17 Herbert Voss <voss@lyx.org>
11669 * converter.C: (convert) do not post a message, when converting
11670 fails, let the calling function decide what to do in this case
11672 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11674 * lyxfunc.C: tidy up a little
11676 2002-06-16 <alstrup@diku.dk>
11678 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11679 Got rid of FORMS_H_LOCATION include. Now we are
11682 2002-06-15 LyX Development team <lyx@rilke>
11684 * buffer.[Ch] (sgmlOpenTag):
11685 (sgmlCloseTag): Added support for avoiding pernicious mixed
11686 content. Return number of lines written.
11688 (makeLinuxDocFile):
11689 (makeDocBookFile): Fixed calls to sgml*Tag.
11690 Simple white space clean.
11692 (simpleDocBookOnePar): Simple white space clean.
11694 * tabular.[Ch] (docBook): Renamed to docbook and got another
11695 argument to related with the pernicious mixed content.
11697 (docbookRow): Fixed calls for docbook inset method.
11699 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11701 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11702 so it's X11 independent.
11706 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11708 2002-06-15 Lyx Development team <lyx@electronia>
11710 * intl.h: Renamed getTrans to getTransManager.
11712 2002-06-14 Angus Leeming <leeming@lyx.org>
11714 * Makefile.am: nuke forgotten stl_string_fwd.h.
11716 2002-06-12 Angus Leeming <leeming@lyx.org>
11718 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11720 2002-06-13 Angus Leeming <leeming@lyx.org>
11723 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11725 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11727 * kbmap.C (getiso): add support for cyrillic and greek
11729 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11733 * BufferView_pimpl.h:
11734 * BufferView_pimpl.C: move bogus scrolling logic
11737 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11740 * BufferView_pimpl.C: view->resize() change
11742 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11744 * BufferView_pimpl.C: topCursorVisible
11747 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11751 * lyx_gui.C: move to frontends/
11755 * lyx_main.C: changes from above
11757 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11764 * lyx_main.C: minor tidy
11766 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11768 * BufferView_pimpl.h:
11769 * BufferView_pimpl.C:
11771 * BufferView.C: make painter() const,
11774 * BufferView2.C: use screen() accessor
11777 * lyx_main.C: some minor cleanup
11779 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11781 * BufferView_pimpl.h:
11782 * BufferView_pimpl.C: remove enter/leaveView,
11785 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11790 * BufferView_pimpl.h:
11791 * BufferView_pimpl.C: only construct screen once,
11794 * lyxrc.C: remove pointless comment
11796 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11799 * BufferView.C: remove active() and belowMouse()
11801 * BufferView_pimpl.h:
11802 * BufferView_pimpl.C: use workarea() not workarea_,
11803 and make it use a scoped_ptr instead
11805 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11807 * lyx_gui.C: add debug message on BadWindow
11809 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11811 * sp_spell.C: fdopen is not part of the C++ standard.
11813 * paragraph.C (InsetIterator): use >= instead of ==
11815 2002-06-07 Angus Leeming <leeming@lyx.org>
11817 Fixes needed to compile with Compaq cxx 6.5.
11818 * BufferView_pimpl.C:
11825 * lyxtextclasslist.C:
11830 all c-library variables have been moved into namespace std. Wrap
11831 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11836 Add a using std::abs declaration.
11838 * kbmap.h (modifier_pair):
11839 * paragraph.h (InsetTable, InsetList):
11840 * lyxfont.h (FontBits):
11841 type definition made public.
11843 * bufferlist.C (emergencyWriteAll): the compiler complains that
11844 there is more than one possible lyx::class_fun template to choose from.
11845 I re-named the void specialisation as lyx::void_class_fun.
11847 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11849 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11850 the compiler is is unable to find tostr in write_attribute.
11852 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11854 * buffer.C (sgmlError): hide #warning
11856 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11858 * xtl/*: get rid of xtl, which is not in use anyway
11860 * LyXAction.C (init):
11861 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11862 were unimplemented xtl experimentation
11864 2002-06-04 André Pönitz <poenitz@gmx.net>
11866 * lyxfunc.C: disable array operation on simple formulae
11868 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11870 * converter.C: constify a bit
11872 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11874 * lyx_gui.C: check xforms version correctly
11876 2002-04-30 Herbert Voss <voss@lyx.org>
11878 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11881 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11883 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11884 attempt to register it with a VCS)
11886 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11888 * lyx_main.C (init): honor variables LYX_DIR_13x and
11891 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11895 * lyx_main.C: fix a crash on bad command line,
11896 and give a useful exit status on error
11898 * lyxfunc.C (doImport): allow -i lyx to work
11900 2002-03-30 André Pönitz <poenitz@gmx.net>
11902 * lyxfunc.C: mathed font changes
11904 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11919 * trans_mgr.h: srcdocs, and some minor cleanups
11921 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11923 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11924 call getFont all the time)
11926 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11928 * switch from SigC signals to boost::signals
11930 2002-05-29 André Pönitz <poenitz@gmx.net>
11932 * paragraph_pimpl.C (getChar): don't call size() too often...
11934 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11936 * paragraph_pimpl.C (insertChar): do not try to update tables when
11937 appending (pos == size())
11939 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11940 in order to reduce drastically the number of comparisons needed to
11941 parse a large document
11943 2002-05-29 André Pönitz <poenitz@gmx.net>
11949 * textclasslist.[Ch]:
11950 * sp_ispell.h: whitespace change
11952 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11954 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11955 lyxaction directly now.
11957 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11961 * lyxvc.C: remove unused headers
11963 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11970 * undo_funcs.C: some cleanups. Use shared_ptr
11971 and a template for the undo stacks.
11973 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11975 * BufferView_pimpl.h:
11976 * BufferView_pimpl.C:
11983 * text2.C: use key_state/mouse_state
11985 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11987 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11990 * chset.C: change include order
11991 (loadFile): use boost regex and get rid of LRegex and LSubstring
11993 * Makefile.am (BOOST_LIBS): new variable
11994 (lyx_LDADD): use it
11996 * LaTeX.C: change include order.
11997 (scanAuxFile): use boost regex and get rid of LRegex and
12001 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12006 * FontInfo.C: moved to frontends/xforms/
12009 * FontLoader.C: moved into frontends for GUIIzation
12014 * lyxfunc.C: changes from above
12016 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12018 * LColor.C: remove spurious X include
12020 * BufferView_pimpl.C:
12025 * text2.C: move font metrics to frontends/
12027 2002-05-24 Juergen Vigna <jug@sad.it>
12029 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12030 setting the undo_cursor.
12032 * ParagraphParameters.h: include local includes first.
12034 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12036 * BufferView_pimpl.C:
12037 * BufferView_pimpl.h:
12041 * screen.C: move WorkArea into frontends/
12047 * BufferView2.C: move LyXScreen into frontends/
12051 * lyx_gui.C: move lyxlookup into frontends/xforms/
12053 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12056 * BufferView_pimpl.C:
12066 * bufferview_funcs.C:
12079 * vc-backend.C: move LyX/XFormsView into frontends/
12081 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12093 * text2.C: move Painter to frontends/
12095 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12097 * buffer.C: comment out some some code that depend upon lyx_format
12100 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12101 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12103 * buffer.h (NO_COMPABILITY): turn off compability
12105 * ColorHandler.C: include scoped_array.hpp
12107 * font.C: Use more specific smart_ptr header.
12110 * ShareContainer.h: ditto
12111 * lyx_main.h: ditto
12113 * FontInfo.h: ditto
12114 * BufferView_pimpl.h: ditto
12115 * ColorHandler.h: ditto
12117 * kbmap.C (defkey): change call to shared_ptr::reset
12119 2002-05-21 Juergen Vigna <jug@sad.it>
12121 * buffer.C (insertErtContents): fix to insert ert asis if it is
12122 non empty. Skip it completely if it contains only whitespaces.
12124 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12126 * BufferView_pimpl.C:
12127 * BufferView2.C: clear selection on paste (bug 393)
12129 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12131 * DepTable.C: include ctime
12133 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12135 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12137 2002-05-14 Juergen Vigna <jug@sad.it>
12139 * text.C (breakParagraph): fixed function to honor the keepempty
12140 layout in the right maner and also to permit the right breaking
12141 algorithm on empty or non empyt keepempty paragraphs.
12143 * paragraph.C (breakParagraph): we have to check also if the par
12144 is really empty (!size()) for isempty otherwise we do the wrong
12147 2002-05-10 Juergen Vigna <jug@sad.it>
12149 * buffer.[Ch] : The following are only changes to the ert
12150 compatibility read reading old LaTeX layout and font stuff and
12151 convert it to ERTInsets.
12153 * buffer.h: added isErtInset().
12155 * buffer.C (struct ErtComp): add a fromlayout bool to check
12156 if we're inside a LaTeX layout.
12157 (isErtInset): new helper function.
12158 (insertErtContents): look for other ert insets before this one
12159 and insert the contents there, so that we don't have subsequent
12160 ERT insets with nothing between them. This way we create only one
12161 inset with multiple paragraphs. Also check if we don't insert only
12162 spaces ' ' as they are ignored anyway afterwards in the .tex file
12163 so if we have only spaces we will ignore this latex part in the
12165 (parseSingleLyXformat2Token \\layout): better compatibility when
12166 reading layout-latex stuff.
12167 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12169 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12170 stuff after reading the inset only get the information back from
12173 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12175 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12177 * LaTeXFeatures.C (getBabelOptions): New method.
12179 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12181 * BufferView_pimpl.C (Dispatch): work around missing argument for
12184 2002-05-08 Juergen Vigna <jug@sad.it>
12186 * text.C (leftMargin): handle paragraph leftindent.
12188 * paragraph.C (writeFile): write the new \\leftindent tag.
12189 (validate): handle leftindent code.
12190 (TeXEnvironment): handle paragraphleftindent code again.
12192 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12194 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12195 for paragrap_extra indent code and new token \\leftindent.
12196 (latexParagraphs): handle the leftindent as environment.
12198 * ParameterStruct.h: added leftindent support.
12200 * ParagraphParameters.C (leftIndent): added support functions for
12201 the paragraph left indent.
12203 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12206 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12208 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12211 * text.C (computeBidiTables): No bidi in insetERT.
12213 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12216 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12218 * version.C.in: pre 5
12220 2002-05-02 José Matos <jamatos@fep.up.pt>
12221 * buffer.C (makeDocBookFile): white space changes, add newline to
12223 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12225 * tabular.C (docBook): fix typo.
12227 2002-05-03 Juergen Vigna <jug@sad.it>
12229 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12230 change in LyXText as we can not be sure it was not freed.
12231 (drawOneRow): remove unused code.
12233 * text.C (drawInset): redo the calculation of the need_break_row as
12234 it could have a row which was already freed.
12235 (draw): look at the return value of drawInset and return false if
12236 it also returned false.
12237 (paintRowText): look at the return value of draw and return false if
12238 it also returned false.
12240 * lyxtext.h: added bool return type to drawInset() and draw() so that
12241 if we have a change in the row so that the rowbreak has to be redone
12242 we abort drawing as it will be called again.
12244 2002-05-02 Juergen Vigna <jug@sad.it>
12246 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12247 a change in the maintext also if we're inside an inset.
12248 (Dispatch): set the cursor again after a break line and after the
12249 screen has been updated as it could be we're in a different row.
12251 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12252 to set the cursor behind the pargraph with > size().
12253 (setCursor): check also for the same paragraph when checking where
12254 to put the cursor if we have a NFR inset.
12256 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12257 parts of layout read further up as it still was in the wrong
12260 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12262 * screen.C (drawFromTo): change sine fullRebreak always return
12265 * buffer.C (parseSingleLyXformat2Token): reindent some
12267 * BufferView_pimpl.C (update): change since fullRebreak always
12269 (Dispatch): git rid of the last hardcoded "Standard"s.
12271 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12273 * text2.[Ch] (fullRebreak): make it return void now that we always
12276 2002-04-30 Juergen Vigna <jug@sad.it>
12278 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12279 ert compatibility check for "latex" layout.
12281 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12283 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12284 minipages: use col% instead of p%, and also use the current font.
12285 (makeLaTeXFile): Fix use babel condition.
12286 (parseSingleLyXformat2Token): Correct font when reading old floats.
12288 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12290 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12291 inserting list of floats.
12293 2002-04-25 Herbert Voss <voss@lyx.org>
12295 * MenuBackend.C (expand): don't add the graphics extensions to the
12298 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12300 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12301 non-existing layout, do not complain if it was the default layout
12302 of the original class (bug #342)
12304 2002-04-24 Juergen Vigna <jug@sad.it>
12306 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12307 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12309 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12311 * buffer.C (getBibkeyList): If using \bibliography, return the
12312 option field with the reference itself. Enables us to provide natbib
12313 support when using \bibliography.
12315 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12317 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12319 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12320 natbib is provided by the LaTeX class.
12322 2002-04-23 Juergen Vigna <jug@sad.it>
12324 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12327 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12329 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12331 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12333 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12334 ensuremath around textordmasculine, textordfeminine and
12337 2002-04-19 Juergen Vigna <jug@sad.it>
12339 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12340 reinitializing the buffer otherwise row-dimensions may be wrong.
12341 (update): reset also the selection cursors if they do exits otherwise
12342 their x/y positions may be wrong.
12344 * text2.C (cursorDown): don't enter the inset if we came from a row
12345 above and are one row over the inset.
12347 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12348 really leaving an inset.
12350 2002-04-18 Juergen Vigna <jug@sad.it>
12352 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12353 of the selected paragraph does not have the selected layout also if
12356 * text2.C (setLayout): fixed bug which did not change last selected
12359 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12360 changed the read and substituted \\end_float with \\end_inset!
12362 * BufferView_pimpl.C (cursorPrevious):
12363 (cursorNext): fixed to make it work with rows heigher than the work
12364 area without moving the cursor only the draw of the row.
12365 (workAreaMotionNotify): fix jumping over high rows.
12367 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12369 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12372 2002-04-16 Juergen Vigna <jug@sad.it>
12374 * text2.C (setCursor): set also the irow().
12375 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12377 (cursorDown): support for locking an inset if the x_fix value goes
12378 inside it. That way I can transverse insets too with cursor up/down.
12380 * lyxrow.h: added irow helper function same as other (i) functions.
12382 * BufferView_pimpl.C (cursorPrevious):
12383 (cursorNext): fixed for insets!
12385 2002-04-15 Juergen Vigna <jug@sad.it>
12387 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12388 position otherwise it is wrong in some cases.
12390 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12391 inside the inset before the call.
12393 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12395 * buffer.[Ch] (getBibkeyList): make it const.
12397 2002-04-12 Juergen Vigna <jug@sad.it>
12399 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12401 * text2.C (getCursorX): new helper function
12402 (setCursor): compute also ix_
12403 (setCursorFromCoordinates): set also ix.
12405 * lyxcursor.h: added ix_ and helper functions.
12407 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12409 * buffer.C (insertStringAsLines): dont break paragraph if the this
12410 paragraph is inside an inset which does not permit it!
12412 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12413 also with no chars on this paragraph.
12414 (paintRowText): only paint stuff if it's inside the workarea!
12416 * paragraph.C (breakParagraph): honor keepempty flag and break the
12417 paragraph always below not above.
12419 * BufferView2.C (unlockInset): update the paragraph layout on inset
12420 unlock as we changed paragraph in such a case.
12422 * lyxfind.C (LyXFind): clear the former selection if not found!
12424 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12425 again called in insertChar().
12427 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12428 an inset which uses the whole row!
12429 (rightMargin): ditto.
12430 (insertChar): force a rebreak if we inserted an inset!
12432 2002-03-28 Herbert Voss <voss@lyx.org>
12434 * lyxlength.[Ch]: add inBP() to get the right PS-point
12435 units (BigPoint). With inPixels we have rounding errors
12437 2002-04-11 Juergen Vigna <jug@sad.it>
12439 * text2.C (setCursorFromCoordinates): set iy to the right value.
12440 (setCursor): add check if row->previous exists!
12442 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12443 an old float_type as this was the case in the old code!
12445 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12447 * BufferView2.C (showLockedInsetCursor): use iy
12448 (fitLockedInsetCursor): ditto
12450 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12451 locked insets as there we have the right value now.
12453 * lyxcursor.C: added iy_ variable and iy functions to set to the
12454 baseline of cursor-y of the locked inset.
12456 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12457 (setCursor): fixed for insets which need a full row.
12459 * text.C (rowLastPrintable): don't ignore the last space when before
12460 an inset which needs a full row.
12461 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12462 as last character of a row when before a inset which needs a full row.
12464 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12466 * version.C.in: update date
12468 * text2.C (fullRebreak): try to always return true and see what
12471 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12473 * MenuBackend.C (expand): use Floating::listName
12475 * FloatList.C (FloatList): add listName argument to the built-in
12478 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12479 text associated with the float.
12481 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12483 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12485 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12487 * ShareContainer.h: add a couple of missing typenames.
12489 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12491 * lyxrc.C (getDescription): use _() correctly rather than N_().
12493 2002-03-28 Herbert Voss <voss@lyx.org>
12495 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12496 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12498 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12500 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12501 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12503 2002-03-29 Juergen Vigna <jug@sad.it>
12505 * lyxfunc.C (dispatch): add a missing fitCursor call.
12507 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12508 it was scrolled by a cursor move, so return the bool status.
12510 * BufferView.C (fitCursor): return the bool flag also to the outside
12511 world as this is needed.
12513 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12515 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12516 call the edit() as it is not needed (and wrong) IMO.
12517 (workAreaButtonPress): set the screen_first variable before evt.
12518 unlock the inset as this may change screen_first and then we have
12519 a wrong y position for the click!
12521 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12523 * MenuBackend.C (expand): another translation that I missed
12525 2002-03-28 Juergen Vigna <jug@sad.it>
12527 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12529 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12531 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12533 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12535 * MenuBackend.C (expand): fix export/view/update when there is no
12538 2002-03-27 Herbert Voss <voss@lyx.org>
12540 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12543 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12545 * bufferview_funcs.C (currentState): only show paragraph number
12546 for is DEVEL_VERSION is set.
12548 * lyxfunc.C (dispatch): put warning in INFO channel
12550 * MenuBackend.C (expand): translate the name of floats
12552 * FloatList.C (FloatList): mark the float names for translation
12554 * converter.C (convert): use LibScriptSearch
12556 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12558 * MenuBackend.C (defaults): fix default menu (we might as well get
12561 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12563 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12566 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12568 * lyxvc.C: reorder includes.
12570 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12572 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12575 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12577 * CutAndPaste.C: change layouts earlier on paste
12578 to avoid crashing when calling getFont()
12580 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12582 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12585 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12587 * WorkArea.C: remove 'Pending' debug message.
12589 * most files: ws cleanup
12591 * buffer.[Ch]: ws changes
12593 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12595 2002-03-21 Juergen Vigna <jug@sad.it>
12597 * tabular.C (SetMultiColumn): collapse also the contents of the
12598 cells and set the last border right. Added a Buffer const * param.
12600 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12602 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12605 2002-03-19 Juergen Vigna <jug@sad.it>
12607 * text2.C (clearSelection): reset also xsel_cache.
12609 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12610 where it needs to be called (John tells us to do so too :)
12611 (selectionLost): reset sel_cache.
12613 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12615 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12617 * text2.C (setCursorIntern): put debuging code in INSETS channel
12619 2002-03-19 André Pönitz <poenitz@gmx.net>
12621 * lyxfunc.C: tiny whitespace change
12623 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12625 * ToolbarDefaults.C (init):
12626 * LyXAction.C (init):
12628 * BufferView_pimpl.C (Dispatch):
12629 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12631 2002-03-19 Allan Rae <rae@lyx.org>
12633 * exporter.C (Export): removeAutoInsets before doing anything else.
12634 While I've just introduced a dependency on BufferView this really is
12635 the best place to clean the buffer otherwise you need to cleanup in
12636 a dozen places before calling export or cleanup in a dozen functions
12639 * converter.C (runLaTeX):
12640 (scanLog): Better handling of removeAutoInsets and screen updates.
12642 * lyxfunc.C (dispatch): small whitespace changes
12644 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12646 * WorkArea.C (C_WorkAreaEvent): return a value.
12647 (event_cb): return 1 if we handled the event, 0 otherwise.
12649 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12651 2002-03-18 Juergen Vigna <jug@sad.it>
12653 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12654 (GetAdditionalWidth): ditto.
12655 (RightLine): ditto.
12658 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12659 inset if we're there actually (probably not used right now but this
12660 is the direction to go for unifying code).
12661 (paste): disable code to clear the selection.
12663 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12664 inside an InsetText and move the check further up as it is in the
12667 * text2.C (pasteSelection): set a selection over the pasted text.
12669 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12671 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12672 and libgraphics to build on Cygwin.
12674 2002-03-15 Juergen Vigna <jug@sad.it>
12676 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12677 inserting an Inset into the paragraph. I know this is not the best
12678 fix but we already use current_view in CutAndPaste so we will remove
12679 all of it's using at the same time.
12681 * buffer.C (sgmlError): deactivated function till it is rewritten in
12682 the right mode, now it can create problems.
12684 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12685 before accessing it.
12687 2002-03-14 Juergen Vigna <jug@sad.it>
12689 * undo_funcs.C (textHandleUndo): do the right thing when updating
12690 the inset after the undo/redo.
12692 * text2.C (setCursor): just some testcode for #44 not ready yet.
12694 * undo_funcs.C (textHandleUndo): set the next() and previous()
12695 pointers of the paragraph to 0 before deleting otherwise we have
12696 problems with the Paragraph::[destructor].
12698 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12699 on a paragraph insertion.
12701 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12703 * buffer.C (asciiParagraph): use += operator for char append to
12706 * paragraph.C (getFontSettings): compare >= not just >
12707 (highestFontInRange): ditto
12710 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12712 * paragraph.C: change several algorithm to be more appripriate for
12713 the problem domain. This is lookip in FontList and in the InsetList.
12715 2002-03-13 André Pönitz <poenitz@gmx.net>
12718 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12720 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12725 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12727 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12729 * Painter.C (display): anon helper function, adjust code for this
12731 (pixmap): remove function.
12733 * Painter.h: remove private display variable.
12735 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12737 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12739 * WorkArea.[Ch]: remove figinset_canvas cruft.
12741 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12743 * lyxtextclass.C (operator): add one item cache optimization.
12745 * bufferlist.h: doxy changes
12747 * bufferlist.C: ws changes
12749 * DepTable.[Ch] (ext_exist): place const in the right spot.
12751 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12753 (workAreaExpose): call resizeInsets when the with BufferView changes.
12754 (Dispatch): adjust for protectedBlank removal
12755 (specialChar): call updateInset if the insert went ok.
12757 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12758 specialChar instead.
12760 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12762 * BufferView.h: doxy change
12764 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12766 * lyxtextclass.C (operator[]): remove non-const version
12767 (defaultLayout): remove non-const version
12769 2002-03-12 Juergen Vigna <jug@sad.it>
12771 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12772 did resize the LyXText too.
12774 * buffer.C (readLyXformat2): set layout information on newly allocated
12777 * tabular.C (OldFormatRead): set layout information on the paragraph.
12779 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12781 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12783 2002-03-11 Juergen Vigna <jug@sad.it>
12785 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12787 (resizeCurrentBuffer): force also the insets to resize themselfes.
12788 (moveCursorUpdate): fixed up for InsetText.
12790 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12793 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12794 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12795 value of Dialogs::tooltipsEnabled().
12796 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12798 2002-03-08 Juergen Vigna <jug@sad.it>
12800 * BufferView_pimpl.C (updateInset): update inset inside inset also
12801 if it isn't inside theLockingInset().
12803 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12805 * buffer.C (asciiParagraph): redo some of the word and line length
12807 (getLists): look for Caption instead of caption.
12809 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12811 * buffer.C (Buffer): initialize niceFile to true
12813 (makeLinuxDocFile):
12814 (makeDocBookFile): make sure niceFile is true on exit
12816 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12818 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12820 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12822 * LyXSendto.C: remove.
12823 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12824 * lyx_gui.C: remove now-redundant comment.
12825 * ColorHandler.h: remove forward declaration of class WorkArea.
12826 * lyxfunc.C: remove #include "WorkArea.h".
12828 2002-03-07 Juergen Vigna <jug@sad.it>
12830 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12831 got moved away with the DEPM and also set the inset_owner always
12832 right which before could have been omitted.
12834 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12836 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12837 wanted layout is not found.
12839 2002-03-07 Juergen Vigna <jug@sad.it>
12841 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12843 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12845 * paragraph.C (breakParagraph): use default layout not layout of
12847 (Paragraph): clear ParagraphParameters.
12849 2002-03-06 Juergen Vigna <jug@sad.it>
12851 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12852 otherwise it would not be a valid lenght. Fixed a special case in
12853 the minipage compatibility read where we end the document with a
12856 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12857 was set as it could be 0 for InsetTexts first entry.
12859 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12861 * paragraph.C (writeFile): if layout is empty write out
12862 defaultLayoutName().
12864 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12865 file without named layout we set layout to defaultLayoutName().
12867 2002-03-06 Juergen Vigna <jug@sad.it>
12869 * CutAndPaste.C (copySelection): set layout for new paragraph.
12871 * text.C (prepareToPrint): leave ERT inset left aligned
12872 (leftMargin): don't indent paragraphs inside ERT insets
12874 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12876 * paragraph.C (breakParagraph): dont call clear do the work manually
12878 * paragraph.[Ch] (clear): remove function
12880 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12882 * paragraph.C (Paragraph): dont call clear, the work has already
12885 * lyxtextclass.C (operator): assert if n is empty
12887 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12888 work manually instead.
12890 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12892 * BufferView_pimpl.C: protect selectionLost against text == 0
12894 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12896 * text.C (breakParagraph): fix a setting layout to '0' problem.
12898 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12900 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12901 final location of file, for the included files, and graphics.
12903 2002-03-05 Juergen Vigna <jug@sad.it>
12905 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12907 2002-03-04 Juergen Vigna <jug@sad.it>
12909 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12911 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12912 last column of multicolumn cells.
12913 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12915 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12917 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12918 file if it doesn't go to a temporary file.
12920 * buffer.C (sgmlOpenTag):
12921 (sgmlCloseTag): remove extra newline insertion.
12923 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12925 * text.C (getRowNearY): comment out debug msg
12927 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12929 * text2.C: first -> first_y
12931 * text.C (getRowNearY): add some attemts at a possible
12932 optimization, not working.
12934 * tabular.[Ch]: add BufferParams to several function so that newly
12935 created paragraph can be initialized to he default layotu for the
12938 * tabular-old.C (ReadOld): add buf->params to call of Init
12940 * screen.C: rename text->first to text->first_y
12942 * paragraph.C (breakParagraph): always set layout in the broken
12945 * lyxtextclass.C (Read): remove lowercase
12948 (delete_layout): ditto
12950 * lyxtext.h: rename first -> first_y
12952 * lyxlayout.C (Read): remove lowercase
12955 (obsoleted_by): ditto
12957 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12959 * buffer.C (insertErtContents): add params are to InsetERT
12960 (parseSingleLyXformat2Token): add code to check if a paragraphs
12961 layout really exist.
12962 (parseSingleLyXformat2Token): add params to several inset
12964 (asciiParagraph): remove lowercase, do the layout comparisons with
12967 * BufferView_pimpl.C (cursorNext): first -> first_y
12968 (resizeCurrentBuffer): first -> first_y
12969 (updateScrollbar): first -> first_y
12970 (scrollCB): first -> first_y
12971 (workAreaMotionNotify): first -> first_y
12972 (workAreaButtonPress): first -> first_y
12973 (checkInsetHit): first -> first_y
12974 (cursorPrevious): first -> first_y
12975 (cursorNext): first -> first_y
12976 (Dispatch): add buffer_->params to severl inset contructors
12978 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12980 * lyxlayout.C (Read): remove some debug info that I forgot.
12982 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12983 clean up the code slightly.
12984 (makeLinuxDocFile): ditto
12985 (makeDocBookFile): ditto
12987 * text2.C: layout as string
12989 * text.C: layout as string
12991 * paragraph_pimpl.C: layout as string
12993 * paragraph.[Ch]: layout as string
12995 * lyxtextclasslist.[Ch]: layout as string
12997 * lyxtextclass.[Ch]: layout as string
12999 * lyxtext.h: layout as string
13001 * lyxlayout.[Ch]: layout as string
13003 * lyx_cb.C: layout as string
13005 * bufferview_funcs.C: layout as string
13007 * bufferparams.C: layout as string
13009 * buffer.C: layout as string
13011 * LyXView.[Ch]: layout as string
13013 * LaTeXFeatures.[Ch]: layout as string
13015 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13017 * BufferView_pimpl.C: change current_layout to string, remove
13022 (workAreaButtonRelease): layout as string
13024 * BufferView2.C (unlockInset): adjust
13026 * vspace.C (asLatexCommand): use an explict temp variable.
13028 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13030 * Makefile.am: use FRONTEND_*
13032 2002-03-01 Juergen Vigna <jug@sad.it>
13034 * tabular.C (SetWidthOfMulticolCell): changed to something better
13035 I hope but still work in progress.
13036 (recalculateMulticolumnsOfColumn): renamed function from
13037 recalculateMulticolCells as it is more appropriate now.
13038 (SetWidthOfCell): calculate multicols better.
13040 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13042 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13044 * lyxfunc.C (processKeySym): print sequence also if it is
13045 `deleted' (complete)
13047 * kbsequence.C (print): print sequence even if it is deleted
13048 (complete would be a better word, actually).
13050 * lyxfunc.C (dispatch): print complete options after a prefix key
13052 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13054 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13056 * text2.C (setCharFont): eliminate setCharFont code duplication.
13058 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13060 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13061 LFUN_TABULAR_FEATURE (bug #177)
13063 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13065 * Makefile.am: remove figure.h
13067 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13069 * Bufferview_pimpl.C:
13081 * text2.C: remove #include "lyx_gui_misc.h".
13083 * LaTeX.C: added #include <cstdio>
13085 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13087 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13088 that the paragraph following this one can have.
13090 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13092 * vspace.C (asLatexCommand): fix bogus gcc warning
13094 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13096 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13098 * text2.C (setLayout): get rid of redundant code
13100 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13102 * text2.C (incDepth): make sure depth cannot be increased beyond
13105 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13107 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13108 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13110 * PainterBase.h (image):
13111 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13112 a LyXImage const *.
13114 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13118 * BufferView_pimpl.C:
13119 * BufferView_pimpl.h:
13139 * sp_spell.C: remove fig inset, and the crap house of
13140 cards that follows it
13142 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13147 * os2_errortable.h:
13148 * nt_defines.h: move .h into support/
13150 * vms_defines.h: remove
13152 * WorkArea.C: add space in debug output
13156 * buffer.C: add WITH_WARNINGS
13160 * bufferlist.C: s/retrive/retrieve/, add docs
13169 * chset.C: add docs
13171 * lyxgui.C: add ID to X error handler
13173 * lyxtestclass.c: fix typo
13175 2002-02-26 Juergen Vigna <jug@sad.it>
13177 * tabular_funcs.C (write_attribute): changed so that some default
13178 attributes are not written at all.
13179 (getTokenValue): set default values before trying to read the
13180 value so we have the return value always set as default if we don't
13181 find the token we search for.
13183 * tabular.C (Write): write bools as bools not as strings!
13185 2002-02-22 Juergen Vigna <jug@sad.it>
13187 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13188 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13190 * text.C (leftMargin): don't add an indent for paragraphs inside
13191 tabular cells (fix #208).
13193 2002-02-21 José Matos <jamatos@fep.up.pt>
13195 * tabular.C (docBook): fixed support for long tables.
13197 2002-02-20 Juergen Vigna <jug@sad.it>
13199 * text2.C (getFont): get the drawing font of the Inset if this
13200 paragraph is inside an inset (only important for InsetERT for now).
13202 * buffer.C (insertErtContents): use new lanugage params in ERT
13205 * CutAndPaste.C: commenting out seemingly uneeded code.
13207 2002-02-19 Allan Rae <rae@lyx.org>
13209 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13210 Iterators might be simple to use but they also get invalidated.
13211 (removeAutoInsets): renamed saved cursor tracking variables and added
13212 some comments to clarify what everything does.
13214 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13221 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13222 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13225 * vc-backend.h: remove #include "support/syscall.h"
13229 * converter.C: rearrange #includes in Lars' approved fashion.
13231 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13232 forward declare class Timeout in the header file.
13234 * XFormsView.C: changes due to the above.
13236 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13237 similar to LyXView.
13239 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13240 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13242 2002-02-18 José Matos <jamatos@fep.up.pt>
13244 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13247 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13249 * a lot of small ws changes
13250 * add a lot of using std::XXX
13251 * use std construcs some places where approp.
13252 * use some exisint stuff from lyxfunctional where approp.
13253 * Make file changes to use partial linking (lets test this now...)
13255 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13259 remove #include "support/syscontr.h" as it's redundant. Always has been.
13267 change Systemcalls::System to Systemcalls::Wait and
13268 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13269 No change of functionality, just reflects the stripped down Systemcalls
13272 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13274 * debug.[Ch]: add a GRAPHICS type to the enum.
13276 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13278 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13280 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13283 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13285 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13286 match the changes below.
13288 * text2.C (toggleInset): if there is not editable inset at cursor
13289 position, try to see if cursor is _inside_ a collapsable inset
13292 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13294 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13295 document menu has a nice checkbox
13297 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13299 * lyxlength.C (asLatexString): change PW to output as percent of
13302 * lengthcommon.C: change '%' to 't%'
13304 * lyxfunc.C (dispatch): a few comments from Martin
13306 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13310 * BufferView_pimpl.h:
13311 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13314 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13316 * vspace.C (inPixels): fix compiler warning
13318 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13320 * lyxfunc.C (getStatus): fix status message for disabled commands.
13322 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13324 * BufferView_pimpl.C: fix crash on close buffer
13325 during selection (#227)
13327 2002-01-27 Herbert Voss <voss@lyx.org>
13329 * buffer.C: link old Figure to new graphic inset
13331 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13333 * FontLoader.C (getFontinfo): Change the latex font names in order
13334 to match the names of type1inst.
13336 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13338 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13340 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13341 (extchanged): ditto
13343 (remove_files_with_extension): ditto
13344 (remove_file): ditto
13347 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13348 document is smaller than the work area height. Do not initialize
13349 static variables to 0.
13351 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13353 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13355 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13356 LFUN_LAYOUT_PARAGRAPHS.
13358 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13359 tabular. It is possible to provide a possible cell, which will
13360 typically be the actcell from the corresponding insettabular
13362 * lyxfunc.C (getStatus): small cleanup; disable
13363 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13366 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13368 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13370 * paragraph.C (startTeXParParams):
13371 (endTeXParParams): new methods. The LaTeX code to
13372 start/end paragraph formatting
13373 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13374 empty (fixes bug #200)
13376 * vspace.C (inPixels): adapt to the change below
13377 (inPixels): [later] more cleanups (remove unused variables)
13379 * lyxlength.C (inPixels): change to use a width and a height as
13382 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13384 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13385 Replaced with \paperwidth
13387 * DepTable.C (insert): add std:: qualifier
13389 2002-01-18 Allan Rae <rae@lyx.org>
13391 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13394 * text.C (drawInset): Turned out I didn't know enough about how
13395 rebreaking worked. This fixes most of the redraw problems. I see
13396 an occasional cursor trail when a line is broken now and the cursor
13397 placement can seem out by a few pixels also after a rebreak.
13399 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13401 * buffer.C (parseSingleLyXformat2Token): update because minipage
13402 width is now a LyXLength
13404 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13406 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13409 2002-01-17 Juergen Vigna <jug@sad.it>
13411 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13413 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13414 is set correctly and the inset is updated correctly.
13416 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13418 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13419 the beginning of the loop.
13421 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13423 * lyxrc.C: improve help for use_scalable_fonts
13425 2002-01-17 Allan Rae <rae@lyx.org>
13427 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13429 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13431 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13432 make sure to set their inset_owner to the right value (bug #171)
13434 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13437 * DepTable.C: Implement mtime checking to reduce time spent doing
13440 2002-01-16 Juergen Vigna <jug@sad.it>
13442 * tabular.C (GetAdditionalHeight): one of error fixed.
13444 * lyxrc.C (output): small fix in writing use_pspell.
13446 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13448 * sp_base.h: #include LString.h
13450 2002-01-16 Allan Rae <rae@lyx.org>
13452 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13453 Can someone check this please?
13455 * text.C (drawInset): It was possible that p.row would be removed by
13456 breakAgainOneRow upsetting a few other settings. There may be another
13457 small tweak possible by setting need_break_row = 0 when p.row has been
13458 removed but I don't know enough about the logic here.
13460 2002-01-15 Allan Rae <rae@lyx.org>
13462 * text.C (insertChar): removed conditional truism.
13464 * BufferView2.C (removeAutoInsets): More tweaks.
13465 cur_par_prev could be a stray pointer. Check for trailing empty line
13466 in case last line was cur_par and only had an error inset on it.
13468 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13470 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13473 * vc-backend.C (most methods):
13474 * exporter.C (Export):
13475 * converter.C (convert):
13477 * LyXSendto.C (SendtoApplyCB):
13478 * lyxfunc.C (dispatch):
13482 * lyx_cb.C (AutoSave):
13484 * BufferView_pimpl.C (MenuInsertLyXFile):
13485 * buffer.C (runChktex): use Buffer::filePath().
13487 * buffer.h: rename filename to filename_; rename filepath to
13488 filepath_ and make it private
13489 (filePath): new method
13491 * buffer.C (writeFile): use fileName()
13494 * lyx_main.C (init): fix starting of LyX when the binary is a
13495 link from so,ewhere else.
13497 * minibuffer.C: include <cctype> for isprint
13499 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13501 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13502 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13503 name clash with InsetCollapsable's width function.
13505 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13507 * lastfiles.C: include <iterator>
13509 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13511 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13514 * buffer.C (makeLaTeXFile): ditto.
13515 Also make loop operation more transparent.
13517 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13519 * ToolbarDefaults.C: remove trailing comma closing namespace.
13521 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13523 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13526 * trans.C (Load): comment out unused variable, allowed.
13528 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13530 * minibuffer.[Ch] (append_char): new method to recieve input from the
13531 drop-down completion browser. If a key was pressed, then recieve this
13532 char and append it to the existing string.
13533 (peek_event): modify the positioning data passed to the completion
13534 browser so that it can be placed above the minibuffer rather than below.
13535 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13537 * LyXAction.C (init): alloe error-next for readonly documents.
13539 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13542 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13544 * bufferlist.C (readFile): create the buffer _after_ checking that
13547 * lyxfunc.C (verboseDispatch): fix handling of arguments
13549 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13551 * lyxrc.C: use string::erase() instead of initializing to "".
13554 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13556 * BufferView_pimpl.h:
13557 * BufferView_pimpl.C:
13560 * text2.C: tell X when we have made a selection for copying
13562 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13564 * BufferView_pimpl.C (MenuInsertLyXFile):
13565 * lyxfunc.C (menuNew):
13567 (doImport): add shortcuts to directory buttons
13569 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13572 * lyxfunc.C (setStatusMessage):
13573 (getStatusMessage): new methods
13574 (getStatus):use setStatusMessage instead of setErrorMessage
13575 (dispatch): when function is disabled, set error message here
13576 [instead of in getStatus previously]
13578 * BufferView_pimpl.C (workAreaButtonRelease): update
13579 toolbar/menubar here too.
13581 2002-01-13 Allan Rae <rae@lyx.org>
13583 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13584 Now seems indestructible. Remaining task is to audit all other
13585 code affected by deleteEmptyParagraphMechanism. One small quirk
13586 left is that an empty document with an error in the preamble can
13587 be made to report an error but no error box appears. I don't know
13589 (removeAutoInsets): Improved comments.
13591 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13594 * Thesaurus.C: update for Aiksaurus 0.14
13596 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13598 * text2.C (firstParagraph): removed member function, all uses
13599 replaces with ownerParagraph
13600 (redoParagraphs): here
13601 (updateInset): here
13602 (toggleAppendix): here
13603 * BufferView2.C (insertErrors): here
13604 (setCursorFromRow): here
13606 2002-01-13 Allan Rae <rae@lyx.org>
13608 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13609 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13610 There is still a way to segfault this although you may have to do this
13611 multiple times: Have an InsetERT with an unknown command in it.
13612 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13613 <down-arrow>, <Enter> again, View->DVI, BANG!
13615 * text2.C (setCursor):
13616 (deleteEmptyParagraphMechanism):
13617 * lyxtext.h (setCursor):
13618 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13619 Making use of the return value may help fix other bugs.
13621 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13623 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13625 * LyXView.C (updateMenubar): call MenuBar::update here
13626 (updateToolbar): but not here
13627 (showState): do not update toolbar/menubar
13629 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13630 should need to care about that.
13632 * lyxfunc.C (verboseDispatch): simplify a bit
13633 (getStatus): have a version which takes a pseudoaction, and
13634 another which requires a (kb_action,string).
13636 * LyXAction.C (retrieveActionArg): make it work also when action
13637 is not a pseudo-action.
13638 (getActionName): simplify a bit
13641 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13643 * lyxfunc.C (verboseDispatch): new families of methods with
13644 several ways to specify a command and a bool to indicate whether
13645 the command name and shortcut should be displayed in minibuffer
13646 (eventually, we could extend that to a finer bitmask like
13647 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13648 (dispatch): the pristine dispatch command which just, well,
13649 dispatchs! Note it still sets its result to minibuffer; I'm not
13652 * lyxfunc.h: remove setHintMessage
13654 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13656 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13658 * BufferView_pimpl.C (specialChar): delete new inset if we have
13659 not been able to insert it.
13661 * kbmap.C: revert to using int instead of kb_action, since all we
13662 are dealing with is pseudo-actions.
13664 * LyXAction.C (searchActionArg): change to return int instead of
13665 kb_action, since the result is a pseudoaction.
13667 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13669 * buffer.C (insertErtContents): Fix (partially) the font bug.
13671 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13673 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13674 as the other one is broken on my machine!
13676 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13679 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13681 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13683 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13684 reflect their actual use. Provide compatibility code for older lyxrc
13687 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13689 change names of popup font variables in line with the changes to lyxrc.C
13691 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13693 * buffer.C (asciiParagraph): avoid outputing a word twice after
13696 * lyxrc.C (getDescription): document that document_path and
13697 template_path can be empty.
13699 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13701 * LaTeXFeatures.C (getMacros):
13702 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13704 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13706 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13708 (getPackages): rename feature "floats" to "float". Use an array to
13709 iterate over 'simple' features (i.e. just a \usepackage). Add
13710 handling of "amsmath" (renamed from "amsstyle").
13712 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13714 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13717 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13719 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13720 FuncStaus::FuncStatus & FuncStaus::some_method().
13722 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13724 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13725 of the func_satus stuff. Edited and massaged in various ways by
13728 * lyxfunc.C (getStatus): use FuncStatus
13730 2002-01-08 Juergen Vigna <jug@sad.it>
13732 * text.C (nextBreakPoint): use function Inset::isChar().
13734 * paragraph.C (TeXOnePar): use function
13735 Inset::forceDefaultParagraphs.
13737 * buffer.C (latexParagraphs): use function
13738 Inset::forceDefaultParagraphs.
13740 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13742 * lyx_gui.C (init): set the style of the menu popups to
13743 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13745 2002-01-07 Juergen Vigna <jug@sad.it>
13747 * text.C (setHeightOfRow): small fix
13748 (prepareToPrint): don't look at alignment if we don't have the place
13751 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13753 * box.C: New file. Move the Box methods and functions out of box.h,
13754 following Lars' suggestion.
13756 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13758 * box.h: #include "support/LOstream.h", needed for inlined function.
13761 * lyxtextclasslist.C: added some using std declarations.
13763 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13765 * box.h: make signed dimensions to allow insets wider than
13766 the screen (bug #162)
13768 * BufferView_pimpl.C: add some insetHit debug
13770 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13772 * vc-backend.C: add FIXME
13774 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13776 * lyxfunc.C (getStatus): enable code for showing math font status
13779 2002-01-07 Juergen Vigna <jug@sad.it>
13781 * text.C (nextBreakPoint): removed debug output not needed anymore.
13783 2002-01-06 Juergen Vigna <jug@sad.it>
13785 * text.C (nextBreakPoint): fixed up this function we had this bug
13786 since ever but now hopefully we break row better.
13787 (insertChar): we have to check if an inset is the next char as it
13788 could now happen that a large inset is causing a break.
13790 2002-01-05 Juergen Vigna <jug@sad.it>
13792 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13793 if it doesn't like to be drawed.
13795 2002-01-04 Juergen Vigna <jug@sad.it>
13797 * BufferView2.C (lockInset): forgot to set a cursor.
13799 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13801 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13803 * FormMathsPanel.C:
13806 * form_maths_panel.C:
13807 * form_maths_panel.h:
13808 * form_maths_panel.fd: implemented sub- and super- buttons in math
13811 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13812 (or ^ space) to be used as in TeX (req'd by André).
13814 * lyxfunc.C: Allow ^ and _ again to be used both as
13815 super/subscript (mathed) and as themselves (in text).
13817 2002-01-03 Allan Rae <rae@lyx.org>
13819 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13820 "LyX" or the filename of the current buffer if it has one. This is a
13821 modified form of John Levon's patch.
13823 * XFormsView.C (setWindowTitle): also set icon title.
13825 * LyXView.h (setWindowTitle): signature changed.
13826 * XFormsView.h (setWindowTitle): ditto.
13828 2002-01-02 Juergen Vigna <jug@sad.it>
13830 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13832 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13834 * screen.C (topCursorVisible): introduce a temp var for
13835 text->cursor.row(), handle the case where this row is null. (kindo
13838 * text2.C (setCursor): add a couple of asserts.
13840 * paragraph.h (inset_iterator): add -> operator
13842 * paragraph.[Ch] (autoDeleteInsets): remove member function
13844 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13845 cursor pos correctly and handle inset deletion by itself.
13846 (insertErrors): move iterator declaration out of for expression
13848 * lyxtextclass.C: add <algorithm>
13850 * Makefile.am: added the new files to sources, removed layout.C
13852 * layout.C: removed file
13854 * layout.h: remove LYX_DUMMY_LAYOUT
13856 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13860 * lyxtextclass.[Ch]:
13861 * lyxtextclasslist.[Ch]: new files
13863 * include order changes to a lot of files, also changes because of
13866 2001-12-27 Juergen Vigna <jug@sad.it>
13868 * buffer.C (asciiParagraph): more fixes.
13870 * tabular.C (ascii): make ascii export support export of only the
13871 data separated by a column-delimiter.
13872 (ascii): better support for ascii export.
13874 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13876 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13878 * tabular_funcs.C: use a "using std::getline" instead of the
13879 previous fix from Angus (necessary for cxx + lyxstring)
13881 2001-12-24 Juergen Vigna <jug@sad.it>
13883 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13885 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13886 problems. First check a minipage also if we have some ert-contents
13887 (not only on par->size(), second set the right depth of the paragraph
13888 on the relink to the root-paragraph-list!
13890 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13891 which then did not anymore update the main paragraphs on undo/redo!
13893 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13895 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13896 code. Support all font-changing funcs (even those which are not in
13897 menu currently). Support for reporting font settings in
13898 mathed (disabled until Andre provides a function on mathed's side).
13900 * func_status.h (toggle): small helper function to set toggle
13903 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13905 * tabular_funcs.C: getline -> std::getline
13907 2001-12-21 Juergen Vigna <jug@sad.it>
13909 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13910 accessed and could be 0 (I couldn't generate this but it seems
13913 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13915 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13916 * tabular_funcs.h: here and include iosfwd
13918 2001-12-20 Juergen Vigna <jug@sad.it>
13920 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13921 inside inset but undo_par was.
13923 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13925 * Thesaurus.C: always include <config.h> in sources.
13929 * box.h: do not include <config.h> in header files
13931 * text.C (paintLastRow): remove unused variable
13933 * text.C (transformChar):
13935 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13937 * Painter.C (text):
13938 * font.C (width): rewrite to use uppercase() instead of
13941 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13943 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13945 * lyxfind.C: clean up of find failure position change
13947 2001-12-20 Juergen Vigna <jug@sad.it>
13949 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13951 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13952 (TeXRow): added to LaTeX a single tabular row.
13953 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13954 (Latex): simplified and finally good LT-h/f support.
13955 (various_functions): just small adaptions for LT-h/f support.
13957 * tabular_funcs.[hC]: added and moved here all not classfunctions
13960 2001-12-19 Juergen Vigna <jug@sad.it>
13962 * tabular.[Ch]: better support for longtabular options (not finished
13965 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13967 * text.C (paintLastRow): use the label font instead of the font of
13968 the last character to compute the size of *_BOX. This makes more
13969 sense and avoids a crash with empty paragraphs.
13970 Use Painter::rectangle to draw EMPTY_BOX.
13972 2001-12-19 Juergen Vigna <jug@sad.it>
13974 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13975 the paragraphs if the replaced paragraph is not the first one!
13976 Tried to delete not used paragraphs but does not work yet so for
13977 now it's inside #ifdef's and by default off!
13979 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13981 * MenuBackend.C: include "lyx_main.h" instead of declaring
13982 lastfiles (actually was declared as LastFiles* instead of a
13985 2001-12-17 Juergen Vigna <jug@sad.it>
13987 * tabular.C (AppendColumn): applied John's fix
13989 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13993 * BufferView_pimpl.h:
13994 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13997 * box.h: new start of class for above
13999 * lyxfunc.C: ignore space-only minibuffer dispatches.
14000 Show the command name when it doesn't exist
14002 * minibuffer.C: don't add empty lines to the history
14004 * minibuffer.C: add a space on dropdown completion
14006 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14008 * text.C: fix line above/below drawing in insets
14010 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14012 * lyxlength.C (LyXLength): Initialize private variables.
14014 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14016 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14017 when inserting error insets.
14019 2001-12-13 Juergen Vigna <jug@sad.it>
14021 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14022 actually sometimes the before-paragraph.
14023 (setUndo): don't clear the redostack if we're not actually undoing!
14025 2001-12-06 Juergen Vigna <jug@sad.it>
14027 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14028 and fixed redoing of main paragraph, so we can use it now ;)
14030 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14032 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14034 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14037 2001-12-13 André Pönitz <poenitz@gmx.net>
14040 * undo_func.C: minor cleanup
14042 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14044 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14045 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14046 font in urw-fonts package which is marked as -urw-fontspecific and
14047 does not work (incidentally, changing the encoding in the
14048 fonts.dir of this package to -adobe-fontspecific fixes the
14051 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14052 is a crash when undoing first paragraph (Juergen, please take a
14053 look). THis does not mean the undo fix is wrong, just that it
14056 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14057 the (Paragraph*) version when needed instead of duplicating the
14060 * text.C (workWidth): use Inset::parOwner to find out where the
14061 inset has been inserted. This is a huge performance gain for large
14062 documents with lots of insets. If Inset::parOwner is not set, fall
14063 back on the brute force method
14065 * paragraph_pimpl.C (insertInset):
14066 * paragraph.C (Paragraph):
14067 (cutIntoMinibuffer): set parOwner of insets when
14068 inserting/removing them
14070 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14072 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14078 * mathed/formulabase.C:
14079 * mathed/math_cursor.[Ch]:
14080 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14083 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14085 * lyxlength.[Ch] (operator!=): new function
14087 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14089 * text.C (workWidth): use Inset::parOwner to find out where the
14090 inset has been inserted. This is a huge performance gain for large
14091 documents with lots of insets. If Inset::parOwner is not set, fall
14092 back on the brute force method
14094 * paragraph_pimpl.C (insertInset):
14095 * paragraph.C (Paragraph):
14096 (cutIntoMinibuffer): set parOwner of insets when
14097 inserting/removing them
14099 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14101 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14103 * tabular-old.C (getTokenValue):
14104 * tabular.C (getTokenValue):
14105 (write_attribute): new versions for LyXLength
14106 (everywhere): adjust the use of widths
14108 * tabular.h: change the type of widths from string to LyXLength
14110 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14112 * paragraph.C: fixed missing line number count when exporting
14113 Environments to LaTeX file
14115 * buffer.C: added informational message for checking line numbers.
14117 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14119 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14120 paragraph, do the 'double space' part, but not the 'empty
14123 * text.C (workWidth): small optimization
14124 (getLengthMarkerHeight): use minimal size for negative lengths.
14126 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14128 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14130 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14132 2001-12-11 André Pönitz <poenitz@gmx.net>
14135 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14137 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14139 * text2.C: keep selection on a setFont()
14141 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14143 * lyx_cb.C: another bv->text misuse, from insert label
14145 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14148 * kbsequence.C: re-instate nmodifier mask
14150 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14152 * lyx_main.h: make lyxGUI private.
14154 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14156 * lyxfind.C: place the cursor correctly on failed search
14158 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14160 * text.C (getLengthMarkerHeight): for small heights, the arrows
14161 are not always on top/bottom of the text
14162 (drawLengthMarker): smaller arrows; take the left margin in
14163 account; draw also vfills.
14165 (paintLastRow): remove special code for vfill and standard spaces,
14166 since everything is handled in drawLengthMarker now.
14168 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14170 * buffer.C (insertErtContents): try to handle font and language
14171 interaction a bit better.g
14173 * ColorHandler.C (updateColor): change the hash to cover the whole
14174 LColor enum, ws cleanup
14175 (getGCLinepars): ditto
14176 (getGCLinepars): only lookup in the linecache once.
14178 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14180 * iterators.C (operator++): Make the iterator more robust
14182 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14184 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14186 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14189 * text.C: better added space drawing
14191 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14194 * BufferView2.C: fix layout combo update on inset unlock
14196 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14198 * Makefile.am: don't compile unused files
14200 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14204 * LyXAction.C: remove old LFUN_LAYOUTNO
14206 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14208 * paragraph_pimpl.h:
14209 * paragraph_pimpl.C: isTextAt() doesn't need font param
14211 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14214 * lyxlex.C: little cleanup
14216 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14218 * BufferView_pimpl.C: fix insertAscii for insets
14220 2001-12-05 Juergen Vigna <jug@sad.it>
14222 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14223 set the right font on the "multi" paragraph paste!
14225 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14231 * lyxlength.C: remove out-commented code.
14233 * BufferView_pimpl:
14247 * vc-backend.C: change "while(" to "while ("
14249 * lyxlength.[Ch]: add zero function to check if length is zero or
14251 * lyxgluelength.C: use it
14253 2001-12-05 Allan Rae <rae@lyx.org>
14255 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14256 Works for 2.95.3, from what I understand of Garst's reports this should
14257 work for other g++ versions. We're screwed if the abs(int) definition
14258 changed between bugfix releases of gcc.
14260 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14262 * text.C: fix chapter label offset !
14264 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14267 * text.C: fix hfill at end of line, clean up
14269 2001-12-04 Juergen Vigna <jug@sad.it>
14271 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14272 that we force an update of the inset and it's owners if neccessary.
14274 2001-12-03 Juergen Vigna <jug@sad.it>
14276 * text.C (rowLast): simplified code
14278 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14280 * lyxfunc.C: fix show options on timeout
14282 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14284 * screen.C (topCursorVisible): scroll half a page when the cursor
14285 reached top of bottom of screen
14287 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14289 * minibuffer.C: deactivate on loss of focus
14291 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14293 * vspace.[Ch] (operator!=): add operator.
14295 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14297 * BufferView_pimpl.C: refuse to open an inset when
14298 there's a selection.
14300 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14302 * BufferView_pimpl.C: allow to click on RHS of full row insets
14304 2001-11-30 Juergen Vigna <jug@sad.it>
14306 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14307 insets for undo reasons.
14309 2001-11-28 André Pönitz <poenitz@gmx.net>
14311 * vspace.[Ch]: cosmetical changes
14313 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14323 * kbsequence.C: part re-write of old kb code
14326 * WorkArea.C: remove Lgb_bug_find_hack
14328 2001-11-30 José Matos <jamatos@fep.up.pt>
14330 * buffer.C (makeDocBookFile): add a comment to point a hack.
14331 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14332 Fixed a double write of labels.
14334 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14337 * LaTeX.h Fixed bug in LaTeX class where it would not
14338 re-run latex if no depfiles were changed, but the .dvi was removed.
14340 2001-11-28 André Pönitz <poenitz@gmx.net>
14342 * all the files from the change on 2001/11/26:
14343 use lyx::layout_type instead of LyXTextClass::size_type
14344 use lyx::textclass_type instead of LyXTextClassList::size_type
14346 2001-11-29 Juergen Vigna <jug@sad.it>
14348 * text.C: added support for paragraph::isFreeSpacing()
14350 * buffer.C: same as above
14352 * paragraph.h: inserted isFreeSpacing() function to enable
14353 FreeSpacing inside InsetERT.
14355 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14356 of the paragraph's in the cut/copy buffer to 0!
14358 * text2.C (removeRow): remove the assert as it can!
14360 * lyxtext.h: added helper function firstRow returning firstrow and
14361 made firstrow private again.
14363 * BufferView2.C (lockInset): don't relock if we're already locked!
14365 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14366 the only paragraph.
14367 (removeRow): added Assert::(firstrow)
14369 * debug.C: forgot to add INSETTEXT here.
14371 2001-11-28 Juergen Vigna <jug@sad.it>
14373 * sp_spell.C (initialize): changed error text to more general
14374 spellchecker command use (not only ispell!)
14376 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14378 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14380 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14382 * vspace.C: initialise lyxgluelength on failure
14384 2001-11-28 Allan Rae <rae@lyx.org>
14386 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14387 declaration & definition that looks like a function declaration.
14389 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14391 * BufferView2.C (copy):
14392 (copyEnvironment): do not clear the selection when doing a copy.
14394 * text.C (paintFirstRow): compilation fix
14396 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14398 * tabular.C (Latex): correct line count when writing latex.
14400 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14402 * paragraph_pimpl.h:
14403 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14406 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14410 * LColor.C: change vfillline->added_space
14412 * text.C: add markers and text for added space
14414 * vspace.C: fix comment
14416 2001-11-28 André Pönitz <poenitz@gmx.net>
14418 * paragraph.C: whitespace changes
14419 * all the other files from the change on 2001/11/26:
14420 change *::pos_type into lyx::pos_type
14422 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14424 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14425 language of the document when inserting error insets.
14427 2001-11-26 André Pönitz <poenitz@gmx.net>
14429 * BufferView_pimpl.[Ch]:
14437 * paragraph_pimpl.[Ch]:
14440 * text2.C: reduce header dependencies, introduce type for positions
14442 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14444 * <various>: change to use Alert.h
14446 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14448 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14449 when encountering an unknown token.
14450 (readLyXformat2): Show an error message if there were unknown tokens.
14452 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14455 * BufferView_pimpl.C:
14459 * text2.C: use par->isInset()
14461 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14463 * paragraph_pimpl.h:
14464 * paragraph_pimpl.C: cleanup
14466 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14468 * text2.C (removeRow):
14469 * text.C (setHeightOfRow): remove useless (and costly) call to
14472 2001-11-20 Allan Rae <rae@lyx.org>
14474 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14475 Now need Inset*::checkInsertChar() to return true for appropriate
14476 cases so that the characters in the minibuffer will actually be
14479 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14481 * text.C: change the order of the includes.
14482 (workWidth): initialize it at once.
14483 (workWidth): make maxw unsigned
14484 (setHeightOfRow): remove unused variable (inset)
14485 (selectSelectedWord): remove unused variable (inset)
14486 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14488 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14490 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14491 server is not running.
14493 (closeConnection): add debug info when server is disabled.
14495 * ColorHandler.C (getGCForeground): send debug message to GUI
14498 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14500 * kbmap.C (bind): modify because return conventions of
14501 kb_sequence::parse have changed.
14503 * kbsequence.C (parse): only ignore spaces and not any stupid
14504 control character. This avoids tests like s[i] <= ' ', which are
14505 guaranteed to fail with 8bit characters and signed chars.
14506 Change return code to string::npos when there have been no error
14507 (0 was a bad idea when error is at first character)
14509 2001-11-14 José Matos <jamatos@fep.up.pt>
14512 * buffer.C (simpleDocBookOnePar): removed unused argument.
14514 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14516 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14517 insets which are part of a word. Paragraph::isLetter takes care of
14518 that now. Use Paragraph::isInset to identify insets.
14519 (selectSelectedWord): do not test for hyphenation break.
14521 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14522 that protected spaces are considered as spaces.
14524 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14527 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14530 * lyxserver.C: fix it. and small cleanup.
14532 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14534 * BufferView_pimpl.C: use inline helpers
14537 * LaTeXFeatures.C: fix typos
14540 * Spacing.C: move spacing_string into class
14542 * ToolbarDefaults.C: move stuff into namespace anon
14544 * layout.h: update enum
14546 * lyxfunc.C: use better debug
14548 * minibuffer.h: fix typo
14552 * WorkArea.C: add and use Debug::WORKAREA
14556 * text2.C: code re-organisation, inline helpers
14558 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14560 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14561 std::vector.empty().
14563 2001-11-09 Allan Rae <rae@lyx.org>
14565 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14566 '\n's after tables. Tabular and ERT inset work now makes this no
14569 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14572 * minibuffer.C: fix crash, improve drop-down completion
14574 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14577 * lyxserver.C: invalidate fd's when doing endPipe()
14579 2001-11-08 José Matos <jamatos@fep.up.pt>
14581 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14582 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14585 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14587 2001-11-07 José Matos <jamatos@fep.up.pt>
14590 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14593 * buffer.C (sgmlOpenTag):
14594 * buffer.C (sgmlCloseTag): removed debug info.
14596 * buffer.h (sgmlOpenTag):
14597 * buffer.h (sgmlCloseTag): made public.
14599 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14601 * buffer.C (saveParamsAsDefaults):
14602 * lyx_cb.C (MenuLayoutSave): remove
14604 * LyXAction.C (init):
14606 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14608 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14610 * buffer.C (setPaperStuff): removed from here...
14612 * bufferparams.C (setPaperStuff): ... and moved there.
14614 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14618 * XFormsView.C: add support for drop-down completion
14620 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14622 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14625 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14627 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14630 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14632 * lyx_main.C: change ref to known bugs
14634 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14636 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14637 to work around older babel problems.
14639 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14641 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14643 2001-10-24 Juergen Vigna <jug@sad.it>
14645 * tabular-old.C (ReadOld): below variable changes reflected.
14647 * tabular.[Ch]: added ltType struct for longtable header/footer
14648 defines and changed all instances where they are used. Added
14649 future support for double top/bottom rows.
14651 2001-10-24 José Matos <jamatos@fep.up.pt>
14653 * buffer.h (docbookHandleCaption):
14654 * buffer.C (docbookHandleCaption): removed unused function.
14655 (makeDocBookFile): moved docbook supported version to v4.1.
14657 2001-10-24 José Matos <jamatos@fep.up.pt>
14660 * tabular.C (docbookRow): new function to export docbook code of a row.
14661 (DocBook): now honors the longtable flags.
14663 2001-10-23 José Matos <jamatos@fep.up.pt>
14666 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14667 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14669 * buffer.C (makeLinuxDocFile):
14670 (makeDocBookFile): reworked the preamble, more clean, and with
14671 support for lyx defined entities. Changed the document declaration
14672 to be more XML friendly.
14674 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14675 if we need to output XML that should be done with a filter.
14677 2001-10-22 Juergen Vigna <jug@sad.it>
14679 * sp_pspell.h (class PSpell): add alive function needed in the
14680 controller to see if the spellchecker could be started.
14682 2001-10-22 Juergen Vigna <jug@sad.it>
14684 * buffer.C (insertStringAsLines): modify the font for inserting
14685 chars in certain conditions by calling checkInsertChar(font).
14687 2001-10-19 Juergen Vigna <jug@sad.it>
14689 * text.C (workWidth): use getRow instead of wrong algorithm.
14690 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14692 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14697 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14699 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14701 * text.C (workWidth): do not search for the exact row when
14702 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14703 optimization for big documents.
14705 2001-10-18 Juergen Vigna <jug@sad.it>
14707 * text.C (workWidth): new function with added Inset * parameter.
14709 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14711 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14713 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14714 change return type of getColumnNearX.
14717 * text.C (changeRegionCase): use uppercase/lowercase instead of
14720 (rightMargin): simplify code by factoring out the uses of
14725 (appendParagraph): use Paragraph::size_type
14727 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14729 * vspace.C (asLatexString): add a missing break
14731 2001-10-15 Herbert Voss <voss@perce.de>
14733 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14735 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14737 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14740 2001-10-10 André Pönitz <poenitz@gmx.net>
14742 * lyxfunc.C: removed greek_kb_flag.
14744 2001-10-10 Herbert Voss <voss@perce.de>
14746 * lyx_main.C: delete global string help_lyxdir.
14748 2001-10-09 Herbert Voss <voss@perce.de>
14750 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14752 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14754 * lyx_main.C: added global string help_lyxdir.
14756 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14758 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14760 * lyxrc.C (set_font_norm_type): support iso8859-4
14762 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14764 * LaTeX.C (deplog): add another regex for MikTeX
14766 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14768 * lyxrc.C (set_font_norm_type): support iso8859-3
14770 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14772 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14774 * LaTeXFeatures.C: remove special case of french and index
14776 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14777 before \begin{document}). This solves several incompatibilities.
14779 2001-10-03 Garst Reese <reese@isn.net>
14781 * lyx_cb.C: change CheckTex error msg.
14783 2001-10-03 José Matos <jamatos@fep.up.pt>
14785 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14787 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14789 * .cvsignore: update
14791 * lyx_main.C (commandLineVersionInfo): use new style version info.
14793 * buffer.C (writeFile):
14795 (makeLinuxDocFile):
14796 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14798 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14800 * version.h: update to use stuff in version.C
14802 * version.C.in: new file. Contains version information determined
14803 at compile time. This is a merging of version.h and
14806 2001-10-03 Juergen Vigna <jug@sad.it>
14808 * BufferView_pimpl.C (update): don't change "dirty" status in
14811 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14813 * WorkArea.C (c-tor): re-position version string slightly.
14815 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14817 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14818 revert to previous code.
14820 WorkArea.[Ch]: (show, destroySplash): methods removed.
14822 WorkArea.C: rework code so that it's an amalgam of the codes before and
14823 after the splash screen was moved to WorkArea.
14825 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14828 * vspace.C (inPixels):
14831 * buffer.C (insertStringAsLines):
14832 (asciiParagraph): fix types to be large enough
14834 * lyxlex_pimpl.h: change member status from short to int
14836 * layout.h: fix type of endlabeltype
14839 * kbsequence.C (parse): change return type to string::size_type
14841 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14844 * Bullet.C (bulletSize):
14845 (bulletEntry): do not use short ints as parameters
14847 * BufferView2.C (insertLyXFile): change a char to an int.
14849 * WorkArea.C (WorkArea): remove unneeded floats in computation
14851 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14853 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14855 * paragraph.C (asString): Do not ignore newline/hfill chars when
14856 copying to the clipboard.
14858 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14860 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14861 after a multi-line inset.
14863 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14865 * paragraph.C (validate): Set NeedLyXFootnoteCode
14867 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14869 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14870 and decrease-error to decrease.
14872 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14874 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14875 it more readable (should be equivalent)
14877 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14879 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14881 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14883 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14884 of a cursor (row, etc.) after a character has been deleted
14885 (deleteEmptyParagraphMechanism): call the method above on _all_
14886 cursors held by the LyXText when a double space has been
14889 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14891 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14893 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14895 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14896 background. Use greyOut() and the new show() methods to toggle between
14897 the foreground and background. Add code to remove the splash after
14898 its initial showing.
14900 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14901 (create_forms): no longer call Dialogs::showSplash.
14903 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14905 * .cvsignore: add version_info.h
14907 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14909 * version_info.h.in: new file
14911 * Makefile.am: add version_info.h.in
14913 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14914 version_info.h instead of VERSION_INFO
14916 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14918 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14919 The ERT inset now returns string().
14921 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14923 * lyxtext.h, text.C (selectNextWord): renamed as
14924 selectNextWordToSpellcheck.
14926 * text.C (selectNextWordToSpellcheck): Modified to not select
14927 words inside an ERT inset.
14929 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14931 * lyx_cb.C (MenuLayoutSave): change a bit the question
14933 * sp_base.h: include <sys/types.h>
14935 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14937 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14939 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14941 * several files: fix typos in user-visible strings
14943 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14945 * text2.C (pasteSelection): do not set the selection, since it
14946 will be cleared later. Actually, the intent was to fix the way the
14947 selection was set, but I figured rmoving the code was just as good.
14949 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14951 * FontLoader.C (available): Check if font is available without
14954 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14956 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14958 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14960 * lyxrc.[Ch]: added display_graphics variable and associated code.
14962 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14964 * bufferparams.C (hasClassDefaults): new method. Returns true if
14965 the buffer parameters correspond to known class defaults
14967 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14969 * XFormsView.C (show): set minimum size to the main window.
14971 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14973 * text2.C (copySelection):
14975 * lyxfind.C (LyXReplace):
14976 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14977 LyXText::selectionAsString.
14979 * paragraph.C (asString): add "label" argument to the second form
14981 * text2.C (selectionAsString): add "label" argument and pass it to
14982 Paragraph::asString.
14984 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14986 * lyx_main.C (commandLineHelp): remove version information
14988 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14990 * lyx_main.C: add -version commandline option
14992 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14994 * paragraph.h: make the optional constructor arg required instead.
14995 some modifications to other files because of this.
14997 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14999 * lyxserver.C (C_LyXComm_callback): make it static
15001 * lyx_main.C (error_handler): make it static
15003 * lyx_gui.C (LyX_XErrHandler): make it static
15005 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15007 * WorkArea.C: make the extern "C" methods static.
15009 * Makefile.am (lyx_LDADD): simplify
15011 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15013 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15014 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15016 * LyXAction.C (init):
15017 * lyxfunc.C (dispatch): associated code removal.
15019 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15021 * lyxfont.h (isSymbolFont): shut off warning
15023 * text.C (setHeightOfRow):
15024 (getVisibleRow): fix crash with empty paragraphs which have a
15027 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15029 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15032 2001-09-04 José Matos <jamatos@fep.up.pt>
15035 * tabular.C (docbook): rename docBook method to docbook.
15037 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15039 * Makefile.am: add dependencies to main.o.
15041 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15043 * FontLoader.C (available): Return false if !lyxrc.use_gui
15045 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15047 * FontInfo.C (query):
15048 * converter.C (view):
15049 * importer.C (Import):
15050 * exporter.C (Export): Can not -> cannot.
15052 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15054 * BufferView_pimpl.C: allow to create index inset even if
15057 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15059 * buffer.C (getLists): replace boost::tie code with an explicit pair
15060 as boost::tie can break some compilers.
15062 * iterators.h: Added a std:: declaration to the return type of
15065 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15067 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15070 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15072 * iterators.[Ch]: New files. Provide paragraph iterators.
15074 * buffer.C (changeLanguage): Use paragraph iterators.
15075 (isMultiLingual): ditto
15077 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15079 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15081 * FontLoader.C: Support for cmr font.
15083 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15085 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15086 (available): New method.
15088 * FontInfo.C (getFontname): Use scalable fonts even when
15089 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15092 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15094 * converter.C (Formats::view): reverted! Incorrect fix.
15096 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15098 * converter.C (Formats::view): only output the -paper option
15099 if the dvi viewer is xdvi, thereby fixing bug #233429.
15101 2001-08-23 Herbert Voss <voss@perce>
15103 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15105 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15107 * Spacing.h (Spacing): Set space to Default on in the default
15110 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15112 * vc-backend.h (RCS::versionString): add RCS to version
15113 (CVS::versionString): add CVS to version
15115 * vc-backend.C (scanMaster): do not add CVS to version.
15116 (scanMaster): do not add RCS to version
15118 * lyxvc.C (versionString): new method
15120 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15122 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15124 * Spacing.C (set): initialize fval
15126 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15128 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15131 2001-08-16 Juergen Vigna <jug@sad.it>
15133 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15135 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15137 * BufferView_pimpl.C:
15140 * text2.C: setParagraph takes linespacing now
15142 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15144 * LyxAction.C: add internal LFUN_CITATION_INSERT
15146 * LyXView.C: actually apply fix
15148 * bufferlist.C: fix open non-existent file
15150 * lyxfind.C: fix indentation
15152 * lyxfunc.C: remove unneeded assert, fix typo
15154 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15156 * MenuBackend.C: use "Floatname List"
15158 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15160 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15161 when converting LaTeX layout to insetERT.
15162 Generate a non-collapsed float when reading old float
15164 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15166 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15169 2001-08-13 Juergen Vigna <jug@sad.it>
15171 * text.C (fill): return 0 instead of 20 as this seems to be the more
15174 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15176 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15179 2001-08-13 Juergen Vigna <jug@sad.it>
15181 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15183 (SearchBackward): comment out the unlocking of the inset_owner this
15184 should not be needed!
15186 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15188 * Many files: Remove inherit_language, and add latex_language
15190 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15191 collapsible insets.
15193 2001-08-10 Juergen Vigna <jug@sad.it>
15195 * text.C (prepareToPrint): fixed hfill-width in draw!
15197 * BufferView2.C (selectLastWord): save the selection cursor as this
15198 now is cleared in the function LyXText::clearSelection!
15200 2001-08-08 Juergen Vigna <jug@sad.it>
15202 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15203 BACKSPACE type functions.
15205 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15206 is only cutted from the document but not put in the cut-buffer, where
15207 still the old stuff should be.
15209 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15211 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15213 * tabular.C (SetWidthOfCell): fixed special case where the width
15215 (LeftLine): handle '|' in align_special.
15217 (LeftAlreadyDrawed): ditto
15218 (SetWidthOfCell): ditto
15220 2001-08-07 Juergen Vigna <jug@sad.it>
15222 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15224 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15226 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15227 * lyxlex.[hC]: ditto
15229 2001-08-06 Juergen Vigna <jug@sad.it>
15231 * text.C (getVisibleRow): fix up row clearing a bit.
15233 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15235 * minibuffer.C: make sure the X server sees the changes in the input.
15237 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15239 * paragraph.C (getFont): split into...
15240 (getLabelFont): this
15241 (getLayoutFont): and this
15242 * paragraph_pimpl.C (realizeFont): calling this
15244 * text2.C (getFont): split into...
15245 (getLayoutFont): this
15246 (getLabelFont): and this
15247 (realizeFont): all three calling this
15249 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15252 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15254 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15256 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15258 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15259 layouts from the Quote inset insertion.
15261 2001-08-03 Juergen Vigna <jug@sad.it>
15263 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15265 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15266 only if status not is already CHANGED_IN_DRAW (second level).
15268 * text.C (draw): don't set the need_break_row when inside an
15271 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15273 * buffer.C (parseSingleLyXformat2Token): handle more latex
15276 * bufferview_funcs.[hC]: change function names to
15277 begin with small char, adjust other files.
15279 2001-08-02 André Pönitz <poenitz@gmx.net>
15282 BufferView_pimpl.C: remove broken special code for math-greek
15284 2001-08-02 Juergen Vigna <jug@sad.it>
15286 * BufferView_pimpl.C (update): redone this function so that we
15287 update the text again if there was a CHANGE_IN_DRAW.
15289 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15290 (drawFromTo): added a new internal bool which is used by draw() and
15292 (general): some cursor drawing problems fixed.
15294 2001-08-01 Juergen Vigna <jug@sad.it>
15296 * lyxfind.C (LyXFind): fixed
15297 (SearchForward): ditto
15298 (SearchBackward): ditto
15300 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15301 spurius drawing of the cursor in the main area.
15303 * text2.C (status): small fix which could lead to a segfault!
15304 (clearSelection): remove unneeded BufferView param.
15306 2001-08-01 André Pönitz <poenitz@gmx.net>
15308 * lyxfunc.C: small change due to changed mathed interface
15310 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15312 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15314 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15316 * lyxfunc.c: fail gracefully if file doesn't exist
15321 * BufferView_pimpl.C: IsDirWriteable() proto changed
15323 * LyXView.C: fix updateWindowTitle() to store the last title
15325 2001-07-31 Juergen Vigna <jug@sad.it>
15327 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15328 the font (wrong since using of Paragraph::highestFontInRange).
15330 * paragraph.C (highestFontInRange): added a default_size parameter.
15332 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15333 (setHeightOfRow): reformat
15335 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15337 * converter.[hC] + affected files: move to (inital-char)lowercase
15340 * ParagraphParameters.C (ParagraphParameters): remove commented code
15342 * PainterBase.[Ch]: remove commented code
15344 * LaTeXFeatures.h: add "bool floats" for float.sty
15346 * LaTeXFeatures.C (LaTeXFeatures): init floats
15347 (require): handle float
15348 (getPackages): do it with floats
15350 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15352 * BufferView_pimpl.C (Dispatch): improve handling of
15353 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15355 * commandtags.h: #include lyxfont.h here temporarily to avoid
15358 * bufferlist.h: include LString.h here.
15360 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15362 * text2.C (getStringToIndex): new method.
15364 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15366 * *: Reduced header file dependencies all over.
15368 2001-07-30 Baruch Even <baruch@lyx.org>
15370 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15372 2001-07-29 Baruch Even <baruch@lyx.org>
15374 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15376 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15378 * ParameterStruct.h (endif): add a default constructor to make
15379 sure that all variables is initialized.
15381 * ParagraphParameters.C (ParagraphParameters): adjust
15383 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15385 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15386 index; also, check that there is something to index, and that it
15387 does not span over several paragraphs.
15388 (doubleClick): use WHOLE_WORD_STRICT for double click.
15390 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15392 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15395 2001-07-26 Baruch Even <baruch@lyx.org>
15397 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15398 an InsetFig figure, backwards compatible reading of old figure code.
15400 2001-07-27 Juergen Vigna <jug@sad.it>
15402 * text2.C: font.realize function adaption.
15404 * text.C (draw): add a warnings lyxerr text if needed.
15406 * layout.C: font.realize function adaption.
15408 * language.C: add inherit_language and implement it's handlings
15410 * bufferview_funcs.C (StyleReset): remove language parameter from
15411 font creation (should be language_inherit now).
15413 * bufferparams.C (writeFile): handle ignore_language.
15415 * paragraph.C (getFontSettings): the language has to be resolved
15416 otherwise we have problems in LyXFont!
15418 * lyxfont.C (lyxWriteChanges): added document_language parameter
15419 (update): removed unneeded language parameter
15421 * paragraph.C (validate): fixed wrong output of color-package when
15422 using interface colors for certain fonts in certain environments,
15423 which should not seen as that on the final output.
15425 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15427 * BufferView_pimpl.C:
15432 * LyXAction.C: add thesaurus support
15435 * lyxfind.C: add "once" parameter, for thesaurus, to not
15436 move to the next match
15438 2001-07-26 Juergen Vigna <jug@sad.it>
15440 * lyxfont.C (realize): honor ignore_language too!
15443 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15445 * text.C (draw): one place more for ignore_language to not draw
15448 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15450 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15452 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15454 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15455 the minipage conversion problem.
15457 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15459 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15462 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15464 * BufferView.h: don't forward declare WorkArea
15466 * BufferView.C: don't include WorkArea.h
15468 2001-07-25 André Pönitz <poenitz@gmx.net>
15472 * lyxfunc.C: new LFUN 'math-space'
15474 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15476 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15478 * text2.C (toggleInset): call open/close
15480 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15482 * lyxfunc.C (dispatch): add debug for the disabled case
15484 * font.C (buttonText): make similar to rectText
15486 * buffer.C (readInset): comment out parsing of insetlist and
15489 * PainterBase.C (rectText): small correction
15491 * BufferView_pimpl.C: comment out insettheorem and insetlist
15492 * LyXAction.C: ditto
15493 * commandtags.h: ditto
15495 2001-07-24 Juergen Vigna <jug@sad.it>
15497 * text.C (draw): honor the ignore_language.
15499 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15501 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15503 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15506 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15508 * lyxtext.h: remove unused (and unimplemented) methods
15510 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15512 * text.C (getVisibleRow): honor background color
15515 * Painter.h: remove default color argument for fillRectangle
15517 * text.C (backgroundColor): new method
15519 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15521 * text.C (getVisibleRow): adjust
15523 * font.[Ch] (rectText): new method, metrics
15524 (buttonText): new method, metrics
15526 * PainterBase.[hC]: make rectText and buttonText always draw and take
15529 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15531 * ToolbarDefaults.C (read):
15532 * MenuBackend.C (read): allow escaping in all strings
15534 * BufferView_pimpl.C (insertAndEditInset): new method.
15535 (Dispatch): use insertAndEditInset whenever appropriate.
15537 * BufferView_pimpl.C (insertNote): removed
15539 * BufferView_pimpl.C (smartQuote): new method, moved from
15540 BufferView; if an insetquote cannot be inserted, insert a '"'
15543 * BufferView2.C: remove insertCorrectQuote();
15545 * lyxfunc.C (getStatus): Add support for all remaingin
15546 inset-insert lfuns.
15548 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15550 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15551 command (necessary to pass " as parameter of self-insert.
15553 * text.C (selectWordWhenUnderCursor):
15554 (selectWord): add word_location parameter
15555 (selectWordWhenUnderCursor): same + remove special code for word
15557 (selectNextWord): use kind() to guess type of insetspecialchar,
15560 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15561 (insertErtContents): create ert insets as collapsed.
15562 (readInset): better compatibility code for Info inset.
15564 2001-07-20 Juergen Vigna <jug@sad.it>
15566 * lyxfunc.C (dispatch): use always LyXFind now!
15568 * text2.C (init): add a reinit flag so that the LyXText can be
15569 reinited instead of deleted and reallocated (used in InsetText).
15571 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15577 2001-07-18 Juergen Vigna <jug@sad.it>
15579 * text.C (selectNextWord): handle insets inside inset by calling
15580 always the bv->text functions so that we can go up the_locking_inset!
15582 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15583 in strange locations when inside an inset!
15585 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15586 handling to include insets.
15588 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15590 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15592 * LyXAction.C (init):
15594 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15595 LIGATURE_BREAK, since the name is so stupid.
15597 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15599 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15602 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15604 * sp_form.[Ch]: remove.
15606 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15608 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15611 * src/buffer.C (readInset): ditto.
15613 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15615 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15616 menuSeparator(), endOfSentenceDot(), ldots() and
15617 hyphenationPoint(), which are therefore removed.
15618 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15620 * LyXAction.C (init):
15621 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15623 * paragraph.C (getWord): removed.
15625 * BufferView_pimpl.C (Dispatch): use last word or selection for
15626 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15628 * lyx_main.C (queryUserLyXDir): do not ask before creating
15629 user_dir, except if it has been named explicitely.
15631 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15633 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15634 a document of zero size.
15636 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15638 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15639 approriately in the c-tor and in require().
15640 (getPackages): output the appropriate LaTeX for natbib support.
15642 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15643 variables "use_natbib" and "use_numerical_citations" when reading the
15645 (readInset): read the various natbib cite commands.
15646 (validate): white-space change.
15648 * bufferparams.[Ch]: new variables "bool use_natbib" and
15649 "bool use_numerical_citations".
15650 (writeFile): output them in the LyX file.
15652 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15654 * lyxfunc.C (getStatus): add support for all the inset insertion
15657 * text2.C (insertInset):
15658 * paragraph.C (insetAllowed):
15659 * BufferView_pimpl.C (insertInset): update to take in account the
15660 renaming of insertInsetAllowed
15662 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15664 * text2.C (getInset): new method. returns inset at cursor position.
15666 * BufferView_pimpl.C (Dispatch): changes because of this.
15668 * LyXAction.C (init): rename open-stuff to inset-toggle.
15670 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15672 * text2.C (toggleInset): renamed from openStuff; use
15675 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15677 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15679 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15681 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15683 * buffer.C (readLyXformat2): Add filename to the error dialog
15685 2001-07-18 Juergen Vigna <jug@sad.it>
15687 * tabular.C (GetCellNumber): put an assert here instead of the check!
15689 2001-07-17 Juergen Vigna <jug@sad.it>
15691 * BufferView_pimpl.C (toggleSelection): adapted too.
15693 * text.C (selectNextWord): adapted for use with insets.
15694 (selectSelectedWord): ditto
15696 2001-07-17 Juergen Vigna <jug@sad.it>
15698 * sp_spell.C (PSpell): fix initialitation order.
15700 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15702 * paragraph.C: spacing
15704 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15706 * sp_spell.C: repair language selection for pspell
15708 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15710 * lyxfunc.h: change more methods to begin with lower char.
15712 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15714 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15715 for unknown layouts.
15717 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15719 * buffer.C (readLyXformat2): Generate an error dialog if there are
15722 2001-07-16 Juergen Vigna <jug@sad.it>
15724 * sp_spell.C: always compile ISpell part.
15726 * lyxrc.C: added use_pspell entry and it's handling.
15728 2001-07-13 Juergen Vigna <jug@sad.it>
15730 * sp_spell.C: removed double includes.
15732 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15734 Consistent use of Lsstream.h:
15735 * Lsstream.h: added using std::stringstream for consistencies sake.
15737 * buffer.C: removed using std::stringstream
15739 * lyxfont.C (stateText):
15740 * paragraph.C (asString):
15741 * text.C (selectNextWord, selectSelectedWord):
15742 * text2.C (setCounter):
15743 * vspace.C (asString, asLatexString):
15744 std::ostringstream -> ostringstream.
15746 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15748 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15749 * commandtags.h: add LFUN_HELP_ABOUTLYX
15750 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15752 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15754 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15756 * lyx_gui_misc.C: remove spellchecker
15757 * lyxfunc.C: showSpellchecker
15759 * sp_ispell.h: added
15760 * sp_pspell.h: added
15761 * sp_spell.C: added
15762 * sp_form.[Ch]: removed
15763 * spellchecker.[Ch]: removed
15765 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15767 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15769 (simpleTeXSpecialChars): Simply print the input character without
15770 any special translation if pass_thru is set.
15772 * layout.h: Added bool pass_thru to layout class for being able to
15773 implement pass through of a paragraph for Literate Programming.
15775 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15776 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15777 * layout.C (Read): add "passthru" to list of layout tags and add
15778 code to set the pass_thru boolean when it is read.
15780 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15782 * trans_decl.h: remove allowed from KmodInfo
15784 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15785 remove allowed code
15788 * paragraph_pimpl.C (erase): use boost::prior
15790 * Painter.C (text): use data() instead of c_str() when length is
15792 * WorkArea.C (putClipboard): ditto
15793 * font.h (width): ditto
15795 * BufferView2.C: use it-> instead of (*it). for iterators
15797 * paragraph_pimpl.C: ditto
15798 * paragraph.C: ditto
15799 * minibuffer.C: ditto
15800 * language.C: ditto
15802 * encoding.C: ditto
15803 * counters.C: ditto
15804 * converter.C: ditto
15806 * Variables.C: ditto
15807 * TextCache.C: ditto
15808 * MenuBackend.C: ditto
15809 * LyXAction.C: ditto
15811 * FloatList.C: ditto
15812 * DepTable.C: ditto
15813 * ColorHandler.C (LyXColorHandler): ditto
15815 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15817 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15819 * text2.C (openStuff): reintroduce this method (which had been
15820 nuked in NEW_INSETS frenzy).
15822 * lyxfunc.C (Dispatch): when an action has not been handled, use
15823 its name in the error message, not its number.
15825 * paragraph.C (inInset): change method name to begin with lowercase.
15828 * text2.C: updates because of this.
15830 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15832 * ToolbarDefaults.C (add): add spaces in error message
15834 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15836 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15837 (readLyXformat2): rename return_par to first_par, use lyxlex's
15838 pushToken and remove the manual push handling.
15839 (parseSingleLyXformat2Token): add another ert comp. variable:
15840 in_tabular, rename return_par to first_par. handle newlines better
15842 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15844 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15846 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15848 * text2.C (getParFromID): removed
15850 * buffer.C (getParFromID): new method moved form lyxtext.
15851 * BufferView2.C (insertErrors): adjust
15852 (setCursorFromRow): adjust
15853 * BufferView_pimpl.C (restorePosition): adjust
15854 * lyxfunc.C (Dispatch): adjust
15855 * undo_funcs.C (textUndo): adjust
15857 (textHandleUndo): adjust
15858 (textHandleUndo): adjust
15860 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15862 * buffer.C: up' the LYX_FORMAT
15864 * lyxfont.h: turn NO_LATEX on as default
15866 * buffer.C (insertErtContents): new methods of tex style compability.
15867 (parseSingleLyXformat2Token): use it several places.
15868 * tabular.C (OldFormatRead): and here
15870 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15872 * text2.C: remove some commented code.
15875 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15876 * trans.C: changes because of the above.
15878 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15880 * text2.C (setCounter): Fix counters bug with bibliography layout.
15882 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15884 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15885 own member functions
15886 (simpleTeXSpecialChars): ditto
15888 2001-07-06 Juergen Vigna <jug@sad.it>
15890 * a lot of files: changed the access to LyXText::status and the
15891 call of undo-functions.
15893 * undo.[Ch]: added a inset_id to the undo informations.
15895 * undo_funcs.[Ch]: added and moved here all undo functions.
15897 * lyxtext.h: give the status enum a weight, made status_ a private
15898 variable and made accessor functions for it, removed the whole bunch
15899 of undo-functions as they are now in their own file, make some
15900 functions publically available. Added function ownerParagraph with
15903 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15904 made InInset() a const function, added getParFromID() function.
15906 * buffer.[Ch]: added const version for inset_iterator functions,
15907 added getInsetFromID() function.
15909 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15910 changed undo functions for new version.
15912 2001-07-05 Juergen Vigna <jug@sad.it>
15914 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15915 unknow mechanism does not call the proper constructor but only this
15916 one also if I request the other!?
15918 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15920 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15922 * text2.C (LyXText): use initialization lists.
15924 * lyxtext.h (Selection): initialize set_ and mark_
15925 (init): remove method
15927 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15929 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15931 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15933 * screen.[Ch]: change method names to begin with lowercase
15935 * BufferView_pimpl.C (updateScrollbar): simplify further and
15936 hopefully make it a bit faster.
15938 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15940 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15941 calling directly xforms functions.
15943 * Painter.C (Painter):
15944 * lyx_cb.C (MenuWrite):
15945 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15948 * lyx_gui.C: remove bogus guiruntime extern declaration.
15950 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15952 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15954 (redoDrawingOfParagraph): ditto
15955 (redoParagraphs): ditto
15956 (cutSelection): don't create a object for CutAndPaste use the
15957 static method directly
15958 (pasteSelection): ditto
15960 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15963 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15965 * modifications to some other files because of this.
15967 * Makefile.am (lyx_SOURCES): add XFormsView
15969 * XFormsView.[Ch]: new files
15971 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15972 the main window. Move the gui dependent stuff to XFormsView
15974 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15976 * tabular.C (GetCellInset): update cur_cell also in the row/col
15977 version of this function.
15979 * lyxfunc.C: no need to include figure_form.h here.
15985 * lyxvc.C: no need to include forms.h here.
15987 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15989 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15991 * lyxfunc.C (Dispatch):
15993 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15994 constructor argument.
15996 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15998 * paragraph.C (Paragraph): dont't clear, and just set layout.
15999 (makeSameLayout): use params's copy contructor.
16001 * ParagraphParameters.[Ch] (makeSame): delete method
16003 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16005 * Variables.[Ch]: fix indentation, rename set to isSet
16007 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16009 * lyxfunc.C (Dispatch): fix typo
16011 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16013 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16016 * bufferlist.C: include assert.h for emergencyWrite().
16018 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16020 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16021 give up at last (bug #425202) !
16023 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16029 * spellchecker.C: strip spellchecker options and bring up
16030 preferences tab instead
16032 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16034 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16035 the istringstream constructor
16037 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16039 * paragraph.C (getLayout): fix return value
16041 * paragraph.h: do not declare getLayout as inline.
16043 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16045 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16047 * lyxcursor.h (operator<): new func
16048 (operator>): new func
16049 (operator>=): new func
16050 (operator<=): new func
16052 * text.C (changeCase): use selection.start and selection.end
16053 (changeRegionCase): require from to be <= to. Require par to be a
16056 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16058 2001-06-27 Juergen Vigna <jug@sad.it>
16060 * text.C (cursorLeftOneWord): changed to return the cursor and added
16061 overlay with BufferView * parameter which calls this one.
16063 (selectWord): use new getWord function.
16064 (changeCase): renamed from changeWordCase as and extended to work
16065 also on selections.
16067 * lyxtext.h: added enum word_location
16069 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16070 changeCase as this operates now also on selections.
16072 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16074 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16076 * many files: send debug output to Debug::INFO instead of
16079 * converter.C (View):
16081 (Move): send debug output to Debug::FILES instead of console.
16083 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16085 * lyxfunc.C (getStatus): use func_status
16087 * func_status.h: new header, describing the results of
16088 LyXFunc::getStatus;
16090 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16093 2001-06-25 The LyX Project <jug@sad.it>
16095 * buffer.C (sgmlOpenTag):
16097 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16099 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16101 * text2.C: remove some dead code
16103 * tabular.C (GetCellInset): store the last cell checked (gotten)
16105 * tabular.h: add the helper for the speedup
16107 * lyxtext.h: remove some dead code
16109 2001-06-26 The LyX Project <Asger>
16111 * paragraph.C: Change export to LaTeX of alignment to
16112 \begin{center} and family for better roundtrip work with reLyX.
16114 * Tune the math drawing a bit.
16116 2001-06-25 The LyX Project <Asger>
16118 * LColor.C (LColor): New color for math background. New color
16121 2001-06-25 The LyX Project <jug@sad.it>
16123 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16125 * lyxfunc.C (Open):
16126 * bufferlist.C (newFile): do not restrict to files ending with
16129 * BufferView_pimpl.C (MenuInsertLyXFile):
16131 2001-06-24 The LyX Project <jug@sad.it>
16133 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16136 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16138 * lyxtext.h: rename most methods to begin with a small char.
16139 Lots of changes because of this.
16141 * paragraph.C (Paragraph): do not call fitToSize
16142 (erase): call Pimpl::erase
16143 (insertChar): call Pimpl::insertChar
16144 (insertInset): call Pipl::insertInset
16145 (breakParagraph): do not call fitToSize
16146 (breakParagraphConservative): do not call fitToSize
16147 (fitToSize): remove method
16149 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16151 2001-06-24 The LyX Project <Asger>
16153 * Fix Qt compilation^2
16155 2001-06-24 The LyX Project <jug@sad.it>
16157 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16158 depthHook(getDepth()-1).
16161 * ParagraphParameters.h:
16162 * ParameterStruct.h: change type of depth to unsigned int ==
16163 depth_type. Many adaptations to other files before of that.
16165 2001-06-24 The LyX Project <Asger>
16167 * Fix Qt compilation.
16169 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16171 * paragraph.h: renamed several methods to begin with small letter.
16172 several changes to many parts of the code because of this.
16174 2001-06-23 The LyX Project <jug@sad.it>
16176 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16177 rewritten to discard all double spaces when KeepEmpty is off
16178 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16179 to only handle newlines but not fiddle with spaces and friends.
16181 * lyxfunc.C (MenuNew): when doing 'new from template', use
16182 template_path as default directory
16184 2001-06-23 The LyX Project <Asger>
16186 * Clean-up of header file includes all over
16187 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16189 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16191 * paragraph.h: renamed from lyxparagraph.h
16193 2001-06-23 Asger <lyx@violet.home.sad.it>
16195 * Buffer.h: Removed Buffer::resize
16196 * BufferList.h: Removed BufferList::resize
16197 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16198 the document lazily when we change the width, or the font settings.
16200 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16202 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16204 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16206 * buffer.h: remove out of date comment
16208 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16211 * screen.C: fix "theoretical" GC leak
16213 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16215 * LaTeX.C (scanAuxFile):
16216 (deplog): remove trailing \r when reading stream (useful under
16219 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16221 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16222 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16223 and BufferView::theLockingInset(Inset*), so should use them and not
16224 access bv_->text->the_locking_inset directly.
16226 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16228 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16231 * tex-defs.h: remove old unused file
16233 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16235 * BufferView_pimpl.C: fix typo, remove minibuffer message
16236 when buffer has loaded
16238 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16240 * lyxfunc.C (Dispatch): use stringstream
16241 (MenuNew): use stringstream
16242 (Open): use stringstream
16244 * importer.C (Import): use stringstream
16246 * bufferview_funcs.C (CurrentState): use stringstream
16248 * LaTeX.C (run): use stringstream
16250 * BufferView_pimpl.C (savePosition): use stringstream
16251 (restorePosition): use stringstream
16252 (MenuInsertLyXFile): use stringstream
16254 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16267 * vspace.C: removed // -*- C++ -*- as first line.
16270 * version.h: added // -*- C++ -*- as first line.
16272 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16274 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16276 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16279 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16281 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16284 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16286 * gettext.C: include LString.h even when --disable-nls is on.
16288 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16290 * converter.h (Get): changed argument type from int to
16291 FormatList::size_type to avoid unnecessary conversion.
16293 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16296 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16298 * gettext.h: include LString.h even when --disable-nls is on.
16300 2001-06-07 Juergen Vigna <jug@sad.it>
16302 * text.C (BreakAgain): subst spaces with tabs.
16304 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16305 (resizeInsetsLyXText): set force on resizeLyXText.
16307 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16309 * gettext.h (gettext_init):
16310 (locale_init): use a real definition instead of a macro
16312 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16314 * Bufferview_pimpl.C:
16316 * LColor.C: further lcolor tidies
16318 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16320 * BufferView_pimpl.C (updateScrollbar): simplify.
16322 * BufferView2.C: don't include insets/insetinfo.h, change
16323 prototype for insertInset and call the Pimpl version. let
16324 updateInset call Pimpl version.
16326 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16327 gotoInset to BufferView::Pimpl
16329 2001-06-01 Juergen Vigna <jug@sad.it>
16331 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16332 inside a LockingInset (is the update needed at all?).
16334 2001-05-31 Juergen Vigna <jug@sad.it>
16336 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16337 here not the old one otherwise how should we compare it afterwards
16340 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16345 * FontInfo.C: bring C functions into global namespace when
16348 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16350 * LString.h: make sure config.h has been loaded before LString.h.
16352 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16353 (one for each char read by EatLine!).
16355 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16358 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16360 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16361 to the same as the par we break from
16363 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16365 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16367 * MenuBackend.C (expand): also create menu entries for wide
16368 versions of the floats.
16370 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16372 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16374 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16375 frontends/Makefile.am
16381 * tabular.C (getTokenValue): add std::
16383 * tabular-old.C (getTokenValue): add std::
16384 (getTokenValue): ditto
16385 (getTokenValue): ditto
16387 * screen.C (ToggleSelection): adjust
16389 * lyxtext.h: put selection cursors inside a Selection struct.
16391 * lyxfunc.C (moveCursorUpdate): adjust
16393 * lyxfont.C (latexWriteStartChanges): add std::
16395 * lyxfind.C: adjust
16397 * font.h: delete with(char const *, LyXFont const &)
16399 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16401 * FontInfo.C (getFontname): add std::
16403 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16404 (workAreaButtonPress): adjust
16405 (tripleClick): adjust
16407 (moveCursorUpdate): adjust
16410 * BufferView2.C (gotoInset): adjust
16412 2001-05-30 Juergen Vigna <jug@sad.it>
16414 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16415 to check pspell I add this as default as I now have new pspell
16416 libraries and they seem to use this.
16418 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16420 * text2.C (CutSelection): make the cursor valid before the call to
16423 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16425 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16426 relied on 0 terminated strings and other horrors. Bug found due to
16427 the new assert in lyxstring!
16429 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16432 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16434 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16437 * lyxfunc.C (processKeySym): change method of getting to the
16440 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16441 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16442 * BufferView_pimpl.[Ch]: here as private methods.
16444 2001-05-28 Juergen Vigna <jug@sad.it>
16446 * text.C (SetHeightOfRow): added the update() call again as it is
16447 needed to initialize inset dimensions!
16449 2001-05-16 Juergen Vigna <jug@sad.it>
16451 * text2.C (SetCharFont): Add new function with BufferView * and
16452 bool toggleall parameters for setting insets internal fonts.
16453 (SetFont): Freeze the undo as we may change fonts in Insets and
16454 all this change should be inside only one Undo!
16456 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16457 setting font's in insets as for them we have the SetFont function!
16459 2001-05-15 Juergen Vigna <jug@sad.it>
16461 * text2.C (ClearSelection): to be sure we REALLY don't have any
16464 * tabular.C (TeXCellPreamble): fixed the left border problem for
16467 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16469 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16472 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16474 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16475 LFUN_BREAKPARAGRAPH.
16477 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16478 help test to "internal only", similar for LFUN_INSERT_URL
16480 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16481 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16482 auto_region_delete and deadkeys.
16484 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16487 * LColor.C: remove some dead entries, tidy a little
16489 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16491 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16493 (Dispatch): implement LFUN_ESCAPE
16495 * commandtags.h: add LFUN_ESCAPE
16497 * LyXAction.C (init): add entry for LFUN_ESCAPE
16499 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16500 Remove commented code.
16501 (insertNote): moved here
16502 (open_new_inset): moved here
16504 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16507 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16509 * kbmap.C (findbinding): clean it up and make it work correctly.
16511 * lyx_main.C (init): do not pass argc and argv as parameters
16513 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16515 * buffer.C: fix path for OS/2 & Win32
16519 * lyx_main.C: Added os:: class.
16521 * os2_defines.h: update
16523 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16525 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16526 better by trying again with reduced state.
16528 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16530 * lyxrc.C (read): print error about invalid key sequence only when
16531 debugging (because not all latinX keysyms are known to some X
16534 * kbsequence.C (getiso): add a few std:: qualifiers
16535 (getiso): comment out extra return statement.
16537 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16539 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16541 (Dispatch): enhance the accent inset a bit. (not perfect)
16543 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16545 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16547 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16549 * bufferlist.C (emergencyWrite): fix assert() call
16551 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16553 * text.C (InsertChar): Added trivial patch to only send the "you
16554 can not do multiple spaces this way" message once during a
16557 2001-05-08 Baruch Even <baruch@lyx.org>
16559 * Makefile.am: Changed order of libraries to get LyX to link properly
16560 with the gnome frontend.
16562 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16564 * LaTeXFeatures.h: add a std:: qualifier
16566 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16568 * paragraph.C (String): use stringstream
16570 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16572 * paragraph.C (writeFile): remove footflag arg
16574 * buffer.C (makeLaTeXFile): use stringstream
16575 (latexParagraphs): remove footnot gurba
16577 * LaTeXFeatures.C (getPackages): use stringstream
16578 (getMacros): likewise
16579 (getTClassPreamble): likewise
16580 (getFloatDefinitions): new method
16582 * paragraph.C (writeFile): reindent
16585 * WorkArea.h: revert the xpos + etc changes.
16587 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16589 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16591 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16592 (pasteSelection): likewise
16593 * text2.C (CreateUndo): likewise
16595 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16597 * minibuffer.C (peek_event): temporarily reduce the functionality
16598 of the minibuffer (to allow args on lfuns)
16600 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16601 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16603 * buffer.C (readInset): add compability reading of old float
16604 lists, add reading of new style float list.
16605 (readInset): avoid reevaluation of inscmd.getCmdName()
16606 (getLists): reindent
16608 * MenuBackend.C (MenuItem): implement parsing of
16609 md_floatlistinsert and md_floatinsert.
16610 (expand::LastFiles): move initalizaton of iterators out of loop,
16611 avoid reevaluation.
16612 (expand::Documents): introduce typdedef vector<string> Strings,
16614 (expand::ExportFormats): introduce typedef vector<Format const *>
16615 Formats, and use it.
16616 (expand): implement FloatListInsert and FloatInsert.
16618 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16619 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16620 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16622 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16624 (Dispatch::LFUN_FLOAT_LIST): implement
16626 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16628 * LaTeX.C (run): Fix problem with --export code.
16630 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16632 * BufferView.[Ch] (workarea): removed.
16633 (getClipboard) new method; wrapper for workarea()->getClipboard()
16635 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16638 * WorkArea.h (width, height, xpos, ypos): These methods all
16639 returned the dimensions of the work_area sub-area of WorkArea,
16640 resulting in a position error if the WorkArea were resized. Now
16641 return the dimensions of the entire WorkArea.
16643 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16645 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16647 * LaTeX.C (deplog): correct the syntax of regex reg1
16649 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16651 * undo.C: remove !NEW_INSETS cruft
16653 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16655 * text2.C: remove !NEW_INSETS cruft
16657 * text.C: remove !NEW_INSETS cruft
16659 * tabular.C: remove !NEW_INSETS cruft
16661 * spellchecker.C: remove !NEW_INSETS cruft
16663 * lyxtext.h: remove !NEW_INSETS cruft
16665 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16667 * lyxfunc.C: remove !NEW_INSETS cruft
16669 * lyxfind.C: remove !NEW_INSETS cruft
16671 * lyx_cb.C: remove !NEW_INSETS cruft
16673 * figureForm.C: remove !NEW_INSETS cruft
16675 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16677 * buffer.[Ch]: remove !NEW_INSETS cruft
16679 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16681 * CutAndPaste.C: remove !NEW_INSETS cruft
16683 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16685 * BufferView2.C: remove !NEW_INSETS cruft
16687 * BufferView.h: remove !NEW_INSETS cruft
16689 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16691 * Lsstream.h: include LString.h before the sstream headers to
16692 fix problem with gcc 2.95.3 and lyxstring
16694 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16696 * lyx_main.C: add using directives when needed for C functions
16697 declared in std:: namespace.
16699 2001-04-27 Juergen Vigna <jug@sad.it>
16701 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16702 (SetHeightOfRow): comment out the update call should not be needed!
16704 2001-04-13 Juergen Vigna <jug@sad.it>
16706 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16707 (LyXTabular): tried to minimize operator= operations (and realized
16708 hopfully Lars wish).
16710 2001-04-27 Juergen Vigna <jug@sad.it>
16712 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16714 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16716 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16718 * buffer.C (readInset): hack to make listof algorithm work
16720 * BufferView_pimpl.C: hack to make listof algorithm work
16722 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16724 * LyXAction.C: removed all !NEW_INSETS cruft
16725 (init): moved lfun_item in method
16727 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16729 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16731 * BufferView2.C (theLockingInset): white space.
16733 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16735 * minibuffer.C: include <iostream>
16737 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16739 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16741 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16743 * text.[Ch] (TransposeChars): new method
16745 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16747 * call message directly through LyXView instead of through LyXFunc
16748 * BufferView2.C: adjust
16749 * BufferView_pimpl.C: adjust
16750 * FontLoader.C: adjust
16752 * bufferview_funcs.C: adjust
16753 * converter.C: adjust
16754 * figureForm.C: adjust
16755 * importer.C: adjust
16757 * lyx_gui_misc.C: adjust
16758 * lyxfunc.C: adjust
16761 + more files in subdirs
16763 * lyxparagraph.h (size): move up int file
16766 * adjust all uses of Assert to lyx::Assert.
16768 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16769 lyxfunctional in namespace lyx
16770 * layout.C (hasLayout): ditto
16773 (delete_layout): ditto
16774 (NumberOfClass): ditto
16775 * converter.C (GetFormat): ditto
16780 * bufferlist.C (getFileNames): ditto
16781 (emergencyWriteAll): ditto
16784 * MenuBackend.C (hasSubmenu): ditto
16787 * BufferView_pimpl.C (getInsetByCode): ditto
16789 2001-04-18 Juergen Vigna <jug@sad.it>
16791 * vspace.C (asLatexString): fixed the 100% problem.
16793 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16795 * lyxfunc.C (Dispatch):
16797 * minibuffer.h: add a few std:: qualifiers
16799 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16801 * minibuffer.[Ch]: reimplement so that commands is initiated and
16802 run from lyxfunc, simplified som handling, and made the completion
16803 and history code for complete. wip.
16805 * lyxfunc.C (processKeySym): call message
16806 (miniDispatch): new temporary method
16807 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16808 (LFUN_MESSAGE): implement
16809 (LFUN_MESSAGE_PUSH): implement
16810 (LFUN_MESSAGE_POP): implement
16811 (initMiniBuffer): the initial/defualt minibuffer message.
16813 * lyxfont.[Ch]: inline some more getters
16815 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16817 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16819 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16820 (AutoSave): use LFUN_MESSAGE
16821 (Reconfigure): ditto
16823 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16825 * figureForm.C: use LFUN_MESSAGE
16827 * converter.C (runLaTeX): use LFUN_MESSAGE
16829 * bufferview_funcs.C: use LFUN_MESSAGE
16831 (changeDepth): ditto
16833 * bufferparams.h: use boost::
16835 * bufferlist.h: inherit privately from noncopyable
16837 * bufferlist.C (loadLyXFile): remove some commented code.
16839 * buffer.C (runChktex): use LFUN_MESSAGE
16841 * ShareContainer.h: inherit privately from noncopyable
16843 * ParagraphParameters.[hC] (depth): inline it.
16845 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16847 (message): new method
16848 (messagePush): ditto
16849 (messagePop): ditto
16850 (show): init minibuffer
16851 (showState): direct call
16853 * LaTeX.[Ch]: inherit privately from noncopyable
16854 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16855 instead of WriteStatus.
16857 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16859 * BufferView_pimpl.C (buffer): don't init minibuffer
16860 (workAreaButtonPress): use LFUN_MESSAGE
16861 (workAreaButtonRelease): ditto
16862 (savePosition): ditto
16863 (restorePosition): ditto
16864 (MenuInsertLyXFile): ditto
16865 (workAreaExpose): don't init minibuffer
16866 (update): remove commented code, simplify
16868 * BufferView2.C (openStuff): use LFUN_MESSAGE
16869 (toggleFloat): ditto
16872 (copyEnvironment): ditto
16873 (pasteEnvironment): ditto
16878 (updateInset): remove some commented code
16880 * lastfiles.h: inherit privately from noncopyable
16883 * lyx_main.h: ditto
16885 * lyxlex_pimpl.h: ditto
16887 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16888 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16889 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16891 * LyXAction.h: inherit privately from noncopyable, add methods
16892 func_begin, func_end, returning iterators to the func map.
16894 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16895 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16896 (func_begin): new method
16897 (func_end): new method
16899 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16901 (copySelection): ditto
16902 (pasteSelection): ditto
16904 * BufferView.C: whitespace change
16905 * BufferView.h: inherit privately from noncopyable
16907 2001-04-16 Allan Rae <rae@lyx.org>
16909 * tabular-old.C (l_getline):
16910 * spellchecker.C (sc_check_word):
16911 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16912 an unrecognised preprocessor directive. So ensure they're wrapped.
16914 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16916 * src/exporter.C (Export): Give an error message when path to file
16919 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16921 * LaTeX.C (deplog): Always check that foundfile exists.
16923 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16926 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16928 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16930 * tabular.[Ch] (getLabelList): implement new method
16932 * minibuffer.h: comment ouf setTiimer
16934 * minibuffer.C (ExecutingCB): constify res
16935 (peek_event): constify s
16936 (Set): constify ntext
16937 (Init): constify nicename
16939 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16941 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16942 (savePosition): use two params to Minibuffer::Set
16943 (restorePosition): ditto
16945 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16947 * lyx_main.C: include language.h
16949 * Makefile.am (lyx_main.o): add language.h
16951 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16957 * CutAndPaste.C: include gettext.h
16959 * lyxfont.h: remove old hack with ON and OFF.
16962 * lyxfont.h: do not include language.h...
16967 * bufferview_funcs.C:
16973 * paragraph.C: ... but do it here instead
16975 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16977 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16979 * tabular.C: small reformat
16981 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16984 (BreakParagraph): ditto
16985 (SetOnlyLayout): ditto
16988 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16991 * lastfiles.C: removed most using decl, add std:: where needed
16993 * buffer.C: ws changes
16995 * MenuBackend.C (class compare_format): put into anon namespace
16996 (expand): constify label, names, action, action2
16999 * text.C (SingleWidth): constify font
17000 (IsBoundary): constify rtl2
17001 (GetVisibleRow): constify ww
17003 * LaTeX.C (deplog): constify logfile
17005 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17007 (workAreaExpose): constify widthChange, heightChange
17009 * lyxrow.C (par): moved
17012 * lyxrow.h: as inlines here
17014 * lyxfont.h (shape): moved from lyxfont.C
17015 (emph): moved from lyxfont.C
17017 * lyxfont.C (LyXFont): use initialization list for all
17019 (shape): move to lyxfont.h as inline
17020 (emph): move to lyxfont.h as inline
17023 2001-04-04 Juergen Vigna <jug@sad.it>
17025 * vspace.C: had to include stdio.h for use of sscanf
17027 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17030 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17031 independent of xforms.
17033 2001-04-02 Juergen Vigna <jug@sad.it>
17035 * spellchecker.C: fixed namespace placing!
17037 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17039 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17040 the LyXParagraph * is 0.
17042 2001-03-29 Juergen Vigna <jug@sad.it>
17044 * vspace.C: added support for %, c%, p%, l%.
17045 (stringFromUnit): added helper function.
17046 (asLatexString): changed to give right results for the %-values.
17048 * buffer.C: convert the widthp in a width%.
17050 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17052 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17055 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17056 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17058 * lyx_cb.[Ch]: see above.
17060 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17064 * lyx.[Ch]: replaced by figure_form.[Ch].
17068 * lyxfunc.C: changed headers associated with above changes.
17070 2001-03-27 Juergen Vigna <jug@sad.it>
17072 * BufferView_pimpl.C: set the temporary cursor right!
17074 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17076 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17078 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17080 * LString.h: removed "using std::getline"!
17082 * BufferView_pimpl.C (Dispatch): changes due to changes in
17083 InsetInclude::Params.
17085 * buffer.C (tag_name): removed redundant break statements as they were
17086 producing lots of warnings with my compiler.
17088 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17090 * LString.h: add "using std::getline" when using the real <string>.
17092 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
17094 * buffer.C: removed bitset usage.
17095 PAR_TAG moved to an anonymous name space.
17096 (tag_name): new funtion, also in the anonymous namespace.
17097 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17098 (makeDocBookFile): clean code. Completed transition from string arrays
17100 (SimpleDocBookOnePar): code clean.
17102 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17104 * tabular.C: add some comments.
17106 2001-03-22 Juergen Vigna <jug@sad.it>
17108 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17109 compatibility read a bit and fixed bug with minipage in different
17112 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
17114 * buffer.C (pop_tag): removed.
17115 (push_tag): removed.
17116 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17117 array replaced with vector. Added support for CDATA sections.
17118 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17120 (makeDocBookFile): XML conformant declaration of CDATA section,
17121 fixed bug related to <emphasis> in the first paragraph char.
17122 (sgmlOpenTag): exclude empty tags.
17123 (sgmlCloseTag): ditto.
17125 * buffer.h (pop_tag): removed.
17126 (push_tag): removed.
17128 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17130 * language.h (Languages): added size_type and size().
17132 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17134 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17135 response on compability reading of minipages. One probliem is that
17136 the old usage of minipages was «flertydig»
17138 * several files here and in subdirs: don't use static at file
17139 scope use anon namespaces instead.
17141 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17143 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17144 LaTeX output. This is necessary for Literate document
17147 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17149 * buffer.C: insert hfill when needed.
17151 * tabular.C (l_getline): use string::erase, small whitespace change.
17153 * BufferView_pimpl.C: try the anon namespace.
17154 * WorkArea.C: ditto
17156 2001-03-16 Juergen Vigna <jug@sad.it>
17158 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17159 otherwise it won't open options-dialogs.
17161 * buffer.C: honor pextraWidth(p) on converting minipages.
17163 * tabular.C (l_getline): changed the functions to strip trailing \r.
17165 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17167 * BufferView_pimpl.C:
17168 * minibuffer..C: added "using SigC::slot" declaration.
17170 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17172 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17178 * paragraph.C: ditto
17180 * lyxtext.h: NO_PEXTRA
17182 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17184 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17185 * ParameterStruct.h: ditto
17186 * ParagraphParameters.h: ditto
17187 * lyxparagraph.h: ditto
17189 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17191 * buffer.C: add compability for minipage alignment.
17192 (latexParagraphs): remove unwanted pextra check.
17194 * several files: remove CXX_WORKING_NAMESPACES
17196 * buffer.C (pop_tag): tie is in namespace boost
17198 * BufferView.h: noncopyable is in namespace boost
17200 * lyx_main.h: ditto
17203 * lastfiles.h: ditto
17204 * bufferlist.h: ditto
17205 * ShareContainer.h: ditto
17207 * LyXAction.h: ditto
17210 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17212 * Merging changes from BRANCH_MVC back into HEAD.
17214 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17216 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17218 * BufferView_pimpl.C: change from intl.C
17222 * Makefile.am: move combox.*
17228 * intl.C: remove dialog (covered by prefs)
17230 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17232 * lyxfunc.C (Dispatch): removed redundant break statement.
17234 2001-03-14 Juergen Vigna <jug@sad.it>
17236 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17238 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17240 * buffer.C: add hack to fix compability reading of minipages.
17242 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17244 * buffer.C (getLists): Cleanup.
17246 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17248 * lyxfont.C (update): don't honor toggleall on font size.
17250 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17254 * Makefile.am: moved to frontends/xforms/
17258 * BufferView_pimpl.C: changes for moved mathpanel
17260 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17262 * gettext.h: fix gettext_init() in --disable-nls
17264 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17266 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17268 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17271 * lyx.h: strip external form
17273 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17275 * BufferView_pimpl.C: add comment, destroySplash()
17277 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17279 * BufferView_pimpl.C:
17283 * lyxfunc.C: use re-worked insetinclude
17285 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17287 * buffer.C: add using std::stringstream.
17289 * lyx_cb.C: readd using std::ios.
17291 * buffer.C: add using std::map.
17293 * BufferView_pimpl.C: add using std::vector.
17295 * ShareContainer.h: add std:: to swap.
17297 * buffer.h: add some typedefs
17298 * buffer.C (getLists): use them
17299 (getLists): renamed from getTocList.
17300 add a counter for the different float types and use it in the
17302 (getLists): use the same counter for the NEW_INSETS and the "non"
17305 * lyx_cb.h: remove unused items, includes, using etc.
17307 * ShareContainer.h: remove some commented code, add more comments
17308 and "documentation".
17310 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17312 * buffer.C (getTocList): make the list also when NEW_INSETS is
17315 * buffer.h: remove TocType
17317 * buffer.C (getTocList): change to return a map<string,
17318 vector<TocItem> >, implement for dynamic number of list.
17320 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17321 * text2.C (PasteSelection): adjust
17322 * CutAndPaste.C (pasteSelection): adjust
17324 * FloatList.C (FloatList): update from the new_insets branch.
17325 * Floating.[Ch]: ditto
17326 * LaTeXFeatures.C: ditto
17328 * lyxlex_pimpl.C: ditto
17330 * paragraph.C (Last): remove when NEW_INSETS is defined.
17332 * other file: changes because of the above.
17334 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17336 * lyxparagraph.h: rename next to next_, previous to previous_,
17337 make them private for NEW_INSETS. Rename Next() to next(),
17338 Previous() to previous().
17340 * other files: changes because of the above.
17342 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17345 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17348 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17350 * main.C (main): pass lyx_localedir to gettext_init().
17352 * gettext.h: remove locale_init and gettext_init macros
17354 * gettext.C (locale_init): new function
17355 (gettext_init): new function
17357 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17360 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17362 * Moved credits to frontends:
17363 * credits.[Ch]: removed
17364 * credits_form.[Ch]: removed
17365 * lyx_gui_misc.C: remove credits stuff
17368 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17370 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17372 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17373 unneeded destructor.
17375 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17376 a standalone pointer again.
17378 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17380 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17386 * ToolbarDefaults.C:
17395 * BufferView_pimpl.C: use new file dialog in GUII
17398 * lyx_cb.C: remove LayoutsCB to Toolbar
17400 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17402 * ShareContainer.h (get): add std:: qualifier
17404 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17406 * ShareContainer.h: define a proper ShareContainer::value_type
17407 type (and use typename to please compaq cxx)
17409 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17411 * lyxparagraph.h: move serveral local vars to
17412 ParameterStruct/ParagraphParameters., use ShareContainer in
17413 FontTable., make vars in FontTable private and add getter and
17416 * paragraph.C: changes because of the above.
17418 * lyxfont.h: remove copy constructor and copy assignment. (the
17419 default ones is ok), move number inside FontBits. move inlines to
17422 * lyxfont.C: add number to initializaton of statics, move several
17423 inlines here. constify several local vars. some whitespace
17424 cleanup. Dont hide outerscope variables.
17426 * Spacing.h: add two new constructors to match the set methods.
17428 * ShareContainer.h: new file, will perhaps be moved to support
17430 * ParameterStruct.h: new file
17432 * ParagraphParameters.h: new file
17434 * ParagraphParameters.C: new file
17436 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17437 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17439 * BufferView_pimpl.C: ParagraphParameter changes.
17440 * buffer.C: Likewise.
17441 * bufferview_funcs.C: Likewise.
17442 * text.C: Likewise.
17443 * text2.C: Likewise.
17445 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17447 * lyxfind.C (LyXReplace): do not redefine default argument in
17449 (IsStringInText): ditto
17450 (SearchForward): ditto
17451 (SearchBackward): ditto
17453 2001-03-06 Juergen Vigna <jug@sad.it>
17455 * lyxfind.C (IsStringInText): put parentes around expressions.
17457 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17459 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17461 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17463 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17465 * stl_string_fwd.h: add comment
17467 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17470 * tabular.C: remove unused DocBook methods
17476 killed DO_USE_DEFAULT_LANGUAGE
17478 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17480 * lyx_gui.C: do not include language.h.
17482 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17483 arguments in function implementation.
17485 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17487 * BufferView_pimpl.C: add <ctime>
17489 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17491 * BufferView_pimpl.C: add using std::find_if
17493 2001-02-27 José Matos <jamatos@fep.up.pt>
17495 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17498 2001-02-11 José Matos <jamatos@fep.up.pt>
17500 * buffer.C (makeDocBookFile): command styles now have a parameter as
17501 "title" by default.
17503 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17505 * layout_forms.[Ch]: removed
17506 * lyx_cb.[Ch]: out character
17507 * lyx_gui.C: out character
17508 * lyx_gui_misc.C: out character
17509 * bufferview_funcs.C: : out character,
17510 added toggleall as parameter in ToggleAndShow
17512 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17514 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17516 * text2.C (SetCurrentFont): Disable number property at boundary.
17518 2001-02-26 Juergen Vigna <jug@sad.it>
17520 * lyxfunc.C (getStatus): added a string argument override function so
17521 that this is correctly called from LyXFunc::Dispatch if it contains a
17522 do_not_use_argument which is used!
17523 (Dispatch): added check for "custom" export and call appropriate func.
17525 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17527 * lyxrc.C: Add language_command_local, language_use_babel and
17528 language_global_options.
17530 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17532 * buffer.C (makeLaTeXFile): Use language_use_babel and
17533 language_global_options.
17535 2001-02-23 Juergen Vigna <jug@sad.it>
17537 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17538 which works with LyXText and putted it inside BufferView. Here now we
17539 only call for that part the BufferView::Dispatch() function.
17541 * BufferView.C (Dispatch): added.
17543 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17544 functions which needs to use a LyXText over from LyXFunc.
17545 (MenuInsertLyXFile): added
17546 (getInsetByCode): added
17547 (moveCursorUpdate): added
17548 (static TEXT): added
17550 2001-02-22 Juergen Vigna <jug@sad.it>
17552 * BufferView_pimpl.C (update): call a status update to see if LyXText
17555 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17557 * vc-backend.C (revert): implement for CVS
17558 (getLog): implement for CVS
17560 2001-02-20 Juergen Vigna <jug@sad.it>
17562 * text2.C (ClearSelection): added BufferView param for inset_owner call
17564 * lyxfunc.C (TEXT): added this function and use it instead of
17565 directly owner->view()-text of getLyXText().
17567 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17569 * src/layout_forms.C: out preamble
17570 * src/layout_forms.h: out preamble
17571 * src/lyx_cb.C: out preamble
17572 * src/lyx_cb.h: out preamble
17573 * src/lyx_gui.C: out preamble
17574 * src/lyx_gui_misc.C: out preamble
17575 * src/lyxfunc.C: connect with guii preamble
17577 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17579 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17581 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17583 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17584 whether to run bibtex.
17586 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17588 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17590 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17592 * Makefile.am (lyx_SOURCES): removed bibforms.h
17594 * vspace.h: doxygen
17596 * text.C (GetVisibleRow): make several local vars const
17598 * tabular.C: small cleanup.
17600 * lyxserver.C (callback): use compare instead of strncmp
17602 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17603 inlines to after class or to paragraph.C
17605 * lyxfont.h: remove friend operator!=
17607 * converter.h: move friend bool operator< to non friend and after
17610 * combox.h: small cleanup
17612 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17613 to inlines after class def.
17615 * buffer.C (pop_tag): use string operations instead of strcmp
17617 * bmtable.c: doxygen, small cleanup
17619 * LaTeX.h: remove friend operator==
17621 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17633 * BufferView_pimpl.C:
17634 * BufferView.[Ch]: remove cruft
17636 2001-02-14 Juergen Vigna <jug@sad.it>
17638 * lyxfunc.C: removed #if 0 unused code
17640 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17642 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17644 * text2.C (SetSelection): added a BufferView * parameter
17646 2001-02-13 Juergen Vigna <jug@sad.it>
17648 * lyxfunc.C (Dispatch): fixed protected blank problem.
17649 * BufferView2.C (protectedBlank): added LyxText * parameter.
17651 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17652 (AppendColumn): same as above for column_info.
17654 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17655 (moveCursorUpdate): use a LyXText param for support of InsetText.
17657 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17658 (tripleClick): ditto
17660 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17662 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17664 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17666 * text2.C (SetSelection): set correct update status if inset_owner
17667 (ToggleFree): ditto
17669 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17671 * tabular.C: remove some commented code.
17673 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17675 * BufferView_pimpl.C: call hideSplash()
17677 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17680 * bibforms.h: remove
17683 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17684 add LFUN_CHILD_CREATE
17686 * counters.h: fix tiny typo
17691 * lyx.C: move splash to frontends/xforms/
17693 * lyx_gui_misc.C: move Include and Bibform to frontends
17695 * lyxvc.h: clarify comment
17697 * vspace.C: tiny housekeeping
17699 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17701 * text.C (PrepareToPrint): RTL Fix.
17703 * paragraph.C (GetUChar): New method.
17704 (String): Use GetUChar.
17706 * buffer.C (asciiParagraph): Use GetUChar.
17708 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17710 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17712 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17715 * buffer.C: rename to getLogName(), handle
17716 build log / latex log nicely
17718 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17721 * MenuBackend.h: remove support for reference menuitem type.
17723 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17725 * BufferView_pimpl.C: housekeeping
17726 * BufferView_pimpl.h:
17731 * minibuffer.h: move Timeout GUI-I
17733 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17735 * lyxrc.C (read): Update converters data-structures.
17737 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17739 * LaTeX.h (operator!=): add operator != for Aux_Info
17741 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17743 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17745 * LaTeXLog.C: deleted, useful code moved to Buffer
17748 * buffer.C: new function getLatexLogName()
17754 * lyxfunc.C: use frontends for LaTeX and VC logs
17756 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17758 * LaTeX.h: yet another std:: that Allan forgot.
17760 * Variables.C (set): renamed from isset(), because this clashes
17761 with some HP-UX macros (grr).
17763 2001-02-06 Allan Rae <rae@lyx.org>
17765 * LaTeX.h: Another bug fix. Missing std:: this time.
17767 2001-02-04 Allan Rae <rae@lyx.org>
17769 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17770 floats problem. I've left it commented out because it's not quite
17771 correct. It should also test that the current object is a table or
17772 figure inset. But I haven't gotten around to figuring out how to do
17773 that. I *think* it'll be something like: "table" == inset.type()
17775 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17778 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17780 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17781 all the citation/databases/styles in the auxilary file.
17782 (run): Rerun latex if there was a babel language error.
17784 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17786 * text.C (Backspace): Preserve the font when changing newline char
17788 (BreakParagraph): If the cursor is before a space, delete the space.
17790 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17792 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17794 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17795 new argument (code).
17796 (ChangeCitationsIfUnique): New method.
17798 * paragraph.C (GetPositionOfInset): Handle bibkey.
17800 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17802 * BufferView_pimpl.h: change type of Position::par_pos to
17803 LyXParagraph::size_type.
17805 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17807 * BufferView_pimpl.C (savePosition, restorePosition): Write
17808 messages to minibuffer.
17810 2001-01-28 José Matos <jamatos@fep.up.pt>
17812 * buffer.C (makeDocBookFile): adds support for document language.
17813 A silly restriction on the name of LatexCommand types where removed.
17814 Added support for CDATA sections, allows to chars unescaped, used
17815 among others in code, to avoid escape < and >.
17817 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17819 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17820 saved positions instrad of a stack. Furthermore, a position is
17821 stored using paragraph id/paragraph position.
17823 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17824 Remove LFUN_REF_BACK.
17826 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17828 * converter.C (dvipdfm_options): New method.
17830 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17832 * vspace.C (isValidLength): Fix for empty input string.
17834 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17836 * LyXAction.C (init): change description of LFUN_FIGURE to
17839 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17841 * LaTeX.C: add using directive
17843 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17845 * MenuBackend.C (expand): Fix the sorting of the formats.
17847 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17849 * lyx_main.C: tiny error message fix
17851 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17853 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17854 calling fl_initialize(). This fixes the problem with ',' as
17855 decimal separator in text files.
17857 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17859 * trans.C (process): Fix the keymap bug.
17861 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17863 * LaTeX.C (scanAuxFiles): New method. Provides support for
17864 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17865 (scanLogFile) Scan for "run BibTeX" messages.
17867 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17868 OT1 font encoding. Also, load the aecompl package if the ae
17871 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17873 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17875 * texrow.C (increasePos): turn two error messages into debug
17878 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17880 * LaTeX.C (scanAux): Handle the \@input macro.
17881 (runBibTeX): Use scanAux().
17883 * language.C (latex_options_): New field.
17885 * LaTeXFeatures.C (getMacros): Add language macros.
17887 * buffer.C (makeLaTeXFile): Small fix.
17889 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17891 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17893 * text2.C: add a using directive.
17895 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17900 * lyxfunc.C: kill LyXBell.
17902 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17904 * text.C (IsBoundary): Remove the error message
17906 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17908 * lyxrc.C (setDefaults): Correct initialization value for
17911 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17913 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17916 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17917 and GotoNextNote().
17919 * src/LyXAction.C: Added reference-next.
17921 * text.C (InsertChar): Use contains instead of strchr.
17923 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17925 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17927 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17928 alignment commands (when needed).
17930 * text.C (InsertChar): Add ':' to number separator chars.