1 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
4 * buffer.C: clarify message
6 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
8 * dociterator.C (DocIterator): fix initialization order
10 2005-07-17 Juergen Vigna <jug@lyx.org>
12 * text2.C (cursorHome):
13 * text.C (drawSelection, cursorX):
14 * dociterator.C (textRow): add boundary to getRow() call
16 * paragraph.C (getRow): implementation of below
18 * paragraph.h: add parameter boundary for getRow() function
20 2005-07-18 José Matos <jamatos@fc.up.pt>
24 * tex-strings.[Ch]: new file format, remove support for a4.sty,
25 a4wide.sty and a4widemargins.
27 2005-07-17 Juergen Vigna <jug@lyx.org>
29 * text2.C (cursorLeft): fix one of error
31 2005-07-17 Juergen Vigna <jug@lyx.org>
33 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
35 more fixes for boundary handling
37 * text3.C (dispatch): don't reset cursor if boundary has changed
40 2005-07-16 Juergen Vigna <jug@lyx.org>
42 * text2.C (getColumnNearX): hopefully got it right now,
43 check if we are on column 0 for special case.
45 2005-07-16 Juergen Vigna <jug@lyx.org>
47 * text2.C (getColumnNearX): handle special case Newline Inset
49 * text.C (singleWidth): Just remove bogus check
51 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
53 * funcrequest.C (split): avoid reading uninitialized char c
55 2005-07-16 José Matos <jamatos@fc.up.pt>
61 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
62 single papersize variable.
64 2005-07-16 Juergen Vigna <jug@lyx.org>
66 * text3.C (dispatch): honor boundary when checking if a cursor
67 movement has been done
69 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
70 (setCursor, setCursorIntern): fix cursor movement with boundary
72 2005-07-16 Juergen Vigna <jug@lyx.org>
74 * text.C (currentState): output the actual Boundary
76 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
78 * factory.C (createInset): fix bad logic for tabular creation
80 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
82 * lyx_main.C (init): change some reLyX reference to tex2lyx
84 2005-07-16 Juergen Vigna <jug@lyx.org>
86 * dociterator.C (DocIterator): initialize boundary
88 2005-07-16 Juergen Vigna <jug@lyx.org>
90 * text2.C (getColumnNearX): Consider rows without trailing blank.
92 2005-07-16 André Pönitz <poenitz@gmx.net>
94 * lyxfont.h: Change order of declarations to give the compiler
95 a better chance to inline things
97 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
98 questions on unsaved docs for better scritability
100 2005-07-16 André Pönitz <poenitz@gmx.net>
102 * paragraph.h (getChar): remove asserts as the same kind of security
103 can be achieved by using a suitable standard library implementation
104 and the function was in the critical path (25.9% in profiler)
106 2005-07-16 Juergen Vigna <jug@lyx.org>
108 * cursor.C (bruteFind2):
109 * bufferview_funcs.C (coordOffset):
110 * text.C (cursorX,cursorY): Handle cursor position after last char
111 in row before a inset which uses a whole row.
113 2005-07-15 José Matos <jamatos@lyx.org>
115 * output_plaintext.[Ch] (writeFileAscii): control reference title
117 (asciiParagraph): noparbreak was already deal and was incorrectly
120 2005-07-15 Juergen Vigna <jug@lyx.org>
122 * lyxfunc.C (dispatch): save and restore the cursor after a
125 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
127 * text.C (backspace): bug 806 for empty keepempty paragraphs we
128 change the layout to default before letting DEPM do its thing.
130 * paragraph_funcs.C (breakParagraph): dont reset the layout on
133 * text.C (setCursorFromCoordinates): add a debug statement
135 * text2.C (getColumnNearX): bug 1825 make sure that we don't
136 return a pos that is not on the row
138 * output_latex.C (TeXDeeper): get rid of potential dereferencing
139 of past the end iterator
141 2005-07-14 André Pönitz <poenitz@gmx.net>
143 * undo.C (recordUndoFullBuffer): implement undo for
146 2005-07-14 André Pönitz <poenitz@gmx.net>
148 * cursor.C (setSelection): open insets when selection is set there
149 to avoid crashs with cold coord cache
151 2005-07-14 André Pönitz <poenitz@gmx.net>
153 * trans_mgr.C (insert): move cursor to the right after inserting
156 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
158 * BufferView_pimpl.C (update): dampen some of the debug blabbering
159 * factory.C (readInset): ditto
160 * text.C, text2.C: ditto
162 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
164 * buffer.C: format incremented to 242. There is no file format per
165 se, but the "frenchb" language has been removed from lib/language
166 and has to be translated to "french" by lyx2lyx.
168 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
170 * cursor_slice.h, dociterator.h: add some documentation
171 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
173 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
175 * text.C (leftMargin): do not add identation to display() style
176 insets, because they are always centered (bug 1293).
178 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
180 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
181 formatted_time methods in support/lyxtime.
183 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
185 * toc.[Ch]: new method getGuiName, which is used by the frontends
186 to set the toc combo (fixes bug 1870). Make TOC string translatable.
188 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
190 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
191 StableDocIterator const &)
192 * undo.C (recordUndo): use the above instead of cell.size() comparison
193 (fixes bug 1808; instructed by André).
195 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
198 * dociterator.h: Fix the assert when copying rows/cols in math
200 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
202 * BufferView_pimpl.C:
204 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
206 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
207 (findInset): new functions, refactored from goto Inset that return
208 the position of a certain inset without setting the buffer's cursor
210 (gotoInset): rewrite to call findInset and then set the cursor
213 2005-06-16 Angus Leeming <leeming@lyx.org>
215 * lyxrc.C (output, read): wrap all input and output of paths with
216 calls to os::internal_path and os::external_path, respectively.
217 (output): wrap bind_file inside quotes.
219 * format.C (view): enable the viewer to use the '$$s' placeholder.
221 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
223 * LColor.[Ch] (getFromLaTeXName): new
225 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
227 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
229 2005-06-14 Angus Leeming <leeming@lyx.org>
231 * lyx_main.C (init): ensure that the LyX binary dir is the first
232 element in the PATH on non-POSIX builds.
234 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
236 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
238 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
240 * rowpainter.C (paintInset, paintHebrewComposeChar)
241 (paintArabicComposeChar, paintChars): add a LyXFont argument.
242 (paintChars): use getFontSpan to reduce calls to getFont to a
243 minimum; use Paragraph::lookupChange instead of isXXXText.
244 (paintForeignMark): rename LyXFont argument.
245 (paintFromPos): pass a LyXFont object to the various paintXXX
248 * FontIterator.C (FontIterator, operator++): use
249 Paragraph::getFontSpan
251 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
252 version that returns the font span as a pair.
254 2005-06-09 Angus Leeming <leeming@lyx.org>
256 * converter.C (convert): Don't forget "outfile = real_outfile" as
257 the final step in a conversion where the input and output file names
258 are the same. Otherwise, future conversion steps won't work...
260 2005-06-09 Angus Leeming <leeming@lyx.org>
262 * lyxsocket.C: remove stub code as it isn't needed by
263 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
265 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
267 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
268 effectively disabled -x
270 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
272 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
273 when it actually makes sense.
275 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
277 * BufferView_pimpl.C: revert to showCursor in connection with
278 Lars's front-end stack
280 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
282 * text.C (redoParagraph): move cursor right after a bibitem
285 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
287 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
289 * buffer_funcs.C (bufferErrors): fix computation of the end of an
292 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
294 * BufferView.[Ch] (update):
295 * BufferView_pimpl.[Ch] (update, metrics):
296 * dimension.h (operator==):
297 * lyxfunc.C (dispatch):
298 * metricsinfo.h (ViewMetricsInfo):
299 * rowpainter.C (paintText):
301 * text.C (redoParagraph):
302 * text3.C (dispatch): Make LyX only repaint current paragraph in
303 case of character insert --> speedup. Also fix cursor draw
306 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
308 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
309 avoid a crash (bug 1891)
311 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
315 * text2.C (getStringToIndex): constify cur argument.
317 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
318 argument has been given
319 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
320 try to invoke LFUN_INSET_APPLY).
322 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
323 if no inset was created by doInsertInset
324 (doInsertInset): return true if an inset has been inserted.
326 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
328 * vspace.C (asGUIName): new method. A version of the space
329 suitable for showing on screen.
331 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
334 * lyxrc.C: rename "ASCII" to "Plain Text"
336 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
338 * buffer_funcs.C (expandLabel): take a Buffer as argument;
339 translate the labelstring.
340 (setCounter): translate labelstring as needed.
342 * output_docbook.C (makeCommand): fix expandLabel invokation
344 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
346 * BufferView.C: fix dialog title
348 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
350 * lyx_main.C (priv_exec): fix logic error with help from Angus
351 * lyx_main.C (parse_execute): set is_gui = false and remove now
352 obsolete comment about a segfault
354 2005-05-18 Angus Leeming <leeming@lyx.org>
356 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
358 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
360 * tabular.[hC]: added setCellInset to fix tabular paste.
362 2005-05-11 Lars Gullik Bjonnes <larsbj@gullik.net>
364 * buffer.C (save): check if destination is writable before trying
367 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
369 * BufferView_pimpl.C (update): fix processEvents -caused update
372 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
374 * buffer_funcs.C (setCounter): fix test for numbering of
377 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
378 depth correctly; use optional argument when it exists
380 * lyxtextclass.C: remove unused MaxCounterTags enum
381 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
382 (max_toclevel, min_toclevel): new methods.
384 * MenuBackend.C (expandToc2): fix case where depth is smaller than
385 the smallest depth in toc.
387 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
388 layouts that should not appear in a table of contents.
390 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
392 * cursor.h (undispatched, noUpdate): add comments from André
394 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
398 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
400 2005-05-07 André Pönitz <poenitz@gmx.net>
402 * cursor.[Ch] (leaveInset): new function
404 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
406 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
408 2005-05-04 Angus Leeming <leeming@lyx.org>
410 * lyxfunc.C (getStatus): disable the spell checker dialog if
411 none of USE_[AIP]SPELL are defined.
413 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
415 * tabular.C (setWidthOfCell): remove obsolete comment
417 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
419 * paragraph.C (bibitem):
420 * buffer_funcs.C (setCounter):
421 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
423 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
425 * text3.C (getStatus): immediately return after setOnOff
427 * rowpainter.C: fix drawing of appendix start
429 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
431 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
432 SwitchBetweenClasses and remove the unused return value.
433 Handle character styles, too
435 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
437 * factory.C (createInset): handle undefined character styles
439 2005-05-02 Angus Leeming <leeming@lyx.org>
441 * buffer.C: protect the #include of utime.h with a preprocessor
444 2005-05-02 Angus Leeming <leeming@lyx.org>
446 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
447 function so that auto-saving works, albeit in a blocking manner.
449 * Makefile.am: make compilation of the client sub directory, of
450 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
451 on conditionals set at configure time.
453 * SpellBase.[Ch]: no longer an abstract base class. Instead,
454 it can be compiled in its own right but has no-op functionality.
456 * aspell.C, pspell.C: remove preprocessor guards. The files should
457 be compiled only if the necessary functionality exists.
459 * lyxserver.C, lyxsocket.C: disable on Windows.
461 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
463 * text.C (leftMargin): Fix the parindent use bug (1764)
466 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
468 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
471 2005-04-25 Angus Leeming <leeming@lyx.org>
479 include <config.h> in .C files, not .h ones.
481 protect headers inside preprocessor guards.
483 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
485 * FuncStatus.h (StatusCodes): document
487 2005-04-21 André Pönitz <poenitz@gmx.net>
489 * FuncStatus.h (enabled, onoff): document
491 2005-04-19 Angus Leeming <leeming@lyx.org>
493 * BufferView_pimpl.C (cursorToggle): no longer test whether
494 any child processes have been reaped before calling
495 handleCompletedProcesses().
497 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
499 * text3.C (dispatch): fix, finally fix, the language problem in
500 new lyxtexts, without disabling on-the-fly font changes (Helge's
503 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
505 * text3.C (dispatch): set cursor on double/triple click events
508 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
510 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
511 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
513 * rowpainter.C (paintFirst): simplify the code a little bit. In
514 particular, remove the test for secnumdepth.
515 * text.C (setHeightOfRow): only allocate space for chapter number
516 when updateCounters provided an actual label, instead of looking
517 at secnumdepth directly.
519 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
521 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
522 paragraphs when secnumdepth is large enough or, for environments,
523 when they are not the first in a sequence.
525 2005-04-17 Angus Leeming <leeming@lyx.org>
527 * buffer.C (makeLaTeXFile): replace code to manipulate a path
528 containing space and '~' characters with a call to latex_path().
530 2005-04-17 Angus Leeming <leeming@lyx.org>
532 * converter.C (convert): protect all args of convertDefault.sh
535 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
537 * text3.C (dispatch): change the layout to "Caption" after inserting
540 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
542 * text3.C (dispatch): fix language problem in newly created
543 textinsets (and main text) in non-english docs
545 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
547 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
548 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
549 * text3.C (getStatus): disable LFUN_INSET_MODIFY
551 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
556 * rowpainter.C (getFont): Fix metrics bug introduced by inset
559 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
561 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
562 output of \item arguments without trailing text.
564 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
566 * FontIterator.C (operator*): avoid a copy of the font.
568 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
570 * rowpainter.C (getFont): fix language bug from previous fix
572 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
574 * rowpainter.C (RowPainter, getFont): fix font inside inset
577 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
579 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
580 preventing inserted font, deco, delim insets jumping to start of
583 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
585 * lyxfunc.C (dispatch): translate message before sending it to the
588 2005-03-29 Angus Leeming <leeming@lyx.org>
590 * lyx_main.C (priv_exec): call os::internal_path on each file passed
591 to LyX on the command line.
593 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
595 * vc-backend.C: use QuoteName to protect file names wherever
598 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
601 * BranchList.h: fix bugs 1844,1845: document settings don't
604 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
606 * lyxrc.C (setDefaults, read, output, getDescription): add support
607 for tex_allows_spaces.
609 * exporter.C (Export): allows files in directory containing spaces
610 if tex_allows_spaces is true.
612 * buffer.C (makeLaTeXFile): if the document path contains spaces,
613 output it in double quotes.
615 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
617 * rowpainter.C: use default text height for drawing change tracker
620 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
622 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
624 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
626 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
627 directory is missing.
629 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
631 * text2.C: fixed the fix, extended to other case.
633 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
635 * text2.C: fix for cursor up/down stuck in math [bug 1792]
637 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
639 * text2.C (cursorUp): get rid of a crash
640 * text.C (x2pos): add an assert
642 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
644 * lyxfunc.C (getStatus): fix warning when assertions are disabled
648 * dociterator.C: include <boost/current_function.hpp>, which is
649 needed when assertions are disabled.
651 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
653 * text2.C: fix for stuck cursor when traversing two
654 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
656 2005-02-25 Andreas Vox <avox@arcor.de>
658 * output_docbook.C (makeParagraph): suppress trailing newline
659 after a run of paragraphs
661 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
663 * paragraph.C: fix for confused change tracker when pasting
664 text that begins with a lineseparator. [bug 1827]
665 (setChange(0, Change::INSERTED);)
667 * paragraph_funcs.C: fix for lost changes on triple-paste
668 in change tracking mode [bug 1827] (par.setChange()).
670 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
672 * text2.C (updateCounters, setCounter, expandLabel): move to
675 * buffer_funcs.C (updateCounters): turn into a free standing
676 function and add a buffer parameter. Remove dead code for tracking
678 (setCounter): change into a free-standing function which gets a
679 dociterator as argument. Use this iterator to fix captions in a
680 simple way. When no float is found above the caption, use the
681 labelstring of the caption layout as default.
683 * text.C (breakParagraph, backspace):
684 * text2.C (init, setLayout, changeDepth):
685 * text3.C (dispatch):
686 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
689 * dociterator.C (forwardPar): make it much faster by calling
690 forwardPos() only when really necessary.
692 * output_docbook.C (makeCommand): adapt to expandLabel move.
694 * cursor.C: remove unused variable
696 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
698 * paragraph_funcs.C: fix crash when pasting insets in change
699 tracking mode [bug 1277] (honour change type in moveItem).
701 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
703 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
705 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
707 * BufferView.C (setCursor): change to use a DocIterator.
708 (gotoLabel): use BufferView::setCursor (other part of bug 781).
709 (putSelectionAt): adapt to BufferView::setCursor change.
711 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
712 moved here from LyXText and rewritten to use proper cursor
713 methods. Fixes bug 1787, 616 and 835.
715 * BufferView_pimpl.C (restorePosition): set the cursor correctly
716 when inside an inset (part of bug 781).
717 (dispatch): adapt to change of BufferView::setCursor.
718 (getStatus, dispatch): handle LFUN_GOTOERROR,
719 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
721 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
722 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
723 * text3.C (gotoNextInset, gotoInset): removed.
725 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
727 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
729 2005-02-15 Angus Leeming <leeming@lyx.org>
731 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
732 can be used meaningfully in a comparison.
734 2005-02-13 André Pönitz <poenitz@gmx.net>
736 * bufferview_funcs.C (coordOffset): improve cursor drawing
738 2005-02-13 André Pönitz <poenitz@gmx.net>
740 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
741 * Cursor.C (dispatch): use fixIfBroken
742 * lyxfunc.C (getStatus): use fixIfBroken
744 2005-02-15 Angus Leeming <leeming@lyx.org>
746 * lyx_main.C (error_handler):
748 * lyxrc.C (setDefaults):
750 #include "environment.h".
752 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
754 2005-02-15 Angus Leeming <leeming@lyx.org>
756 * lyxserver.C (startPipe): squash MSVC warning "local variable
757 'fd' used without having been initialized".
759 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
761 * BufferView_pimpl.C: revert accidental commit.
763 2005-02-14 André Pönitz <poenitz@gmx.net>
765 * dociterator.[Ch]: new member forwardPosNoDescent(),
766 which doesn't enter nested insets.
767 * text2.C (setFont): use forwardPosNoDescent() instead
768 of ForwardPos() (fixes crash on font change).
770 2005-02-13 Angus Leeming <leeming@lyx.org>
772 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
773 only if lyxrc.path_prefix is not empty.
775 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
777 * bufferparams.C (readGraphicsDriver): prevent crash
779 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
781 * text2.C (setCounter): check for inInset() == 0
783 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
785 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
786 but use update() to get correct screen display; use convert
787 instead of istringstream.
788 (getStatus): handle LFUN_GOTO_PARAGRAPH
790 * lyxfunc.C (dispatch, getStatus): do not handle
791 LFUN_GOTO_PARAGRAPH here.
793 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
795 * text3.C (dispatch): size() -> depth()
797 * text2.C: remove some debug output
799 * paragraph.C: ws changes only
801 * lyxfunc.C (getStatus): size() -> depth()
803 * dociterator.h (clear, push_back, pop_back, internalData,
804 operator[], resize, empty): new functions
805 Make StableDocIterator and operator== be friends. Don't inherit
806 from std::vector use a privat class variable slices_ instead.
809 * dociterator.C: update because of not inheriting from std::vector
810 anymore. Call explictly to slices_ instead. Use depth() instead of
811 size() and top() instead of back()
813 * cursor.C: chagne size() -> depth and back() -> top(). Also
814 remove some direct operator[](i) calls in favour of foo[i]
815 (getFont): remove some dead code
817 * bufferview_funcs.C (coordOffset): size() -> depth()
819 * buffer.C: ws changes only
821 * CutAndPaste.C (eraseSelection): back() -> top()
823 * BufferView_pimpl.C (selectionRequested): back() -> top()
825 * BufferView.C (setCursor): size() -> depth()
827 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
829 * text3.C (cursorPrevious): return true if depm changed something
831 (dispatch): rename sl to oldTopSlice, remove moving use the new
832 NoUpdate func attrib instead. Make sure that needsUpdate is set
833 for function that have NoUpdate, but where depm might have changed
836 * text2.C (cursorLeft): make us return true if depm changed
839 (cursorUpParagraph): ditto
840 (curosrDownParagraph): ditto
841 (cursorUp, cursorDown): ditto, make sure to read comments in code
842 (deleteEmptyParagraphMechanism): remove an assert, also return
843 true if just a single char was deleted.
845 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
846 cursor that we modify, to avoid modifying an active cursor before
847 we call setCursor. This allows depm to run. Also return true if
848 depm deleted something.
850 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
851 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
852 cursorDownParagraph, cursorPrevious and cursorNext, return true if
853 something was changed in the buffer because of them (ie. depm run)
855 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
856 debug messages. Make update by default be false. Make sure that
857 the result of update is retained throught several calls down to
860 * LyXAction.h: add a new func_attrib: NoUpdate
862 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
863 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
864 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
866 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
868 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
870 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
871 bv_->owner(), bv_->buffer() by direct references to the private
873 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
874 (getStatus): isSavedPosition() is in BufferView::Pimpl.
875 (fitCursor): center() is in BufferView::Pimpl.
876 (getStatus, trackChanges, dispatch): no need for a temporary buf
878 (fitCursor, workAreaDispatch): use workarea().workheight()
880 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
882 * CutAndPaste.C (pasteSelectionHelper): fix a crash
884 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
886 * buffer.C: format up to 241.
887 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
888 break if pasting into ERT
889 * lyxfunc.C (getStatus): suppress mathpanel and
890 LFUN_DIALOG_SHOW_NEW_INSET in ERT
892 2005-02-01 Angus Leeming <leeming@lyx.org>
894 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
896 2005-02-01 Angus Leeming <leeming@lyx.org>
898 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
899 calling fs::is_directory().
901 2005-01-31 Angus Leeming <leeming@lyx.org>
903 * lyx_main.C (priv_exec): specify explicitly the relative location
904 of the top level build directory when run in-place.
906 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
908 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
909 LyXText containing the cursor, not the top-level one.
911 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
913 (insertStringAsLines): rename par to pit; use temporary variable
914 par to hold a Paragraph; do not store par.layout() in a variable,
915 since the pointer may die when breaking paragraphs; pass pars to
916 breakParagraph() instead of Buffer::paragraphs().
918 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
920 * lyxlex_pimpl.h: #include <fstream>.
922 * BufferView.[Ch] (getLyXText): add a const version.
924 * BufferView_pimpl.C: add debug aids.
929 * paragraph_funcs.h: add commentary explaining what the class does.
932 * coordcache.[Ch]: add lots of commentary.
933 (startUpdating, doneUpdating): debug aids.
934 (arrays, insets, parPos, getParPos): accessors to private data.
936 * cursor_slice.[Ch] (text): add a const version.
937 * dociterator.[Ch] (text, innerText): add const versions.
939 * lyxtext.h (breakParagraph): change the keep_layout arg to a
942 * paragraph.C (getRow, pos2ros): add asserts.
944 * paragraph.h: add commentary. Lots of.
946 * paragraph.[Ch] (metrucs, draw): removed.
949 * rowpainter.[Ch]: const-correct changes.
951 * text.C: various obvious clean-ups. Removal of ancient cruft.
954 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
956 * vc-backend.C (find_file): rewrite to use boost.filesystem
959 * main.C (main): set default name check for boost.filesystem to
962 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
965 (actOnUpdatedPrefs): ditto
967 * lyx_main.C (init): rewrite to use boost.filesystem
968 (queryUserLyXDir): ditto
970 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
971 (getContentsOfAsciiFile): ditto
973 * lastfiles.C (readFile): rewrite to use boost.filesystem
975 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
977 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
980 * buffer.C (Buffer): adjust for destroydir
981 (getLogName): rewrite to use boost.filesystem
983 (save): use fs::copy_file (from fs_extras)
985 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
987 * LaTeX.C (run): rewrite to use boost.filesystem
988 (scanAuxFiles): ditto
989 (handleFoundFile): ditto
991 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
993 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
995 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
997 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
999 * lyxlayout.[Ch]: change some vars from float to double
1001 * buffer.C (readFile): make a local var const
1003 * Several files: use convert<> instead of atoi,strToXXX and friends
1005 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1007 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1008 holds the contents of packages.lst. New functions getAvailable
1009 and isAvailable to parse and check that list, resp.
1013 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1015 * bufferparams.[Ch]: new param output_changes.
1017 * Buffer.C: increase file format to 240.
1018 Use output_changes and isVailable.
1022 * paragraph_pimpl.C: Use output_changes and isVailable.
1024 2005-01-23 Angus Leeming <leeming@lyx.org>
1026 * output_latex.C: #include "insetbibitem.h", rather than
1027 forward declare function bibitemWidest.
1029 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1031 * lyx_main.C (init): make it compile on the Mac.
1033 2005-01-20 Angus Leeming <leeming@lyx.org>
1035 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1036 (setLyXMisc): (char string literal) != (char string literal) is
1037 performing a comparison on the addresses. Convert one operand
1038 explicitly to string to guarantee expected behaviour.
1041 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1044 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1046 * output_plaintext.C: remove unneeded #include gzstream.h.
1048 2005-01-20 Angus Leeming <leeming@lyx.org>
1050 * SpellBase.h: rename some of the elements of the Result enum.
1057 * pspell.C (check): ditto
1059 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1061 * buffer.C: add #include <fstream>.
1063 * lyx_main.C (init): Compile fix.
1065 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1067 2005-01-20 Angus Leeming <leeming@lyx.org>
1069 * mover.h: change commentary to reflect the changed meaning of
1070 the $$s placeholder.
1072 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1074 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1076 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1078 2005-01-20 Angus Leeming <leeming@lyx.org>
1080 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1081 printing diagnostic data by not dereferecing an iterator past the
1084 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1086 * buffer.C (readHeader): use "&&" rather than "and".
1088 * lyxserver.h (inPipeName, outPipeName): make these const.
1090 2005-01-19 Angus Leeming <leeming@lyx.org>
1092 * lyx_main.C (error_handler, init): protect SIGHUP with
1093 #ifdef SIGHUP guards.
1095 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1097 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1099 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1101 * text.C (setHeightOfRow): add a margin at the top and bottom of
1102 the document (bug 1761)
1104 2005-01-17 Angus Leeming <leeming@lyx.org>
1106 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1107 with "python ". Workaround for a brain-dead Windows.
1109 2005-01-16 Angus Leeming <leeming@lyx.org>
1111 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1112 for MacOSX and Windows to use prependEnvPath.
1113 Strip out the hard-coded block to add elements to the PATH for
1114 MacOSX and replace it with a call to prependEnvPath using the
1115 contents of LyXRC::path_prefix.
1116 (queryUserLyXDir): strip out the code to run reconfigure, instead
1117 returning a boolean indicating the necessity to do so.
1118 (reconfigureUserLyXDir): contains the code to reconfigure the
1119 user support directory. Is now called after the various LyXRC data
1120 files have been read.
1122 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1124 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1126 * converter.[Ch] (convert): take a new parameter try_default. Use
1127 a default converter (imagemagick) if try_default is true.
1129 2005-01-13 Angus Leeming <leeming@lyx.org>
1131 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1132 os::cygwin_path_fix.
1133 (write): output LyXRC::cygwin_path_fix as necessary.
1135 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1138 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1140 2005-01-12 Angus Leeming <leeming@lyx.org>
1142 * lyx_main.C (init): set the PATH variable to include the
1143 directory containing the LyX binary when running on Mac or Windows.
1145 2005-01-12 Angus Leeming <leeming@lyx.org>
1147 * lyx_main.C (init): remove cruft that purports to set the locale
1148 dir. It doesn't and is not needed anyway.
1150 2005-01-10 Angus Leeming <leeming@lyx.org>
1152 * Makefile.am: remove the lyx_main.C special casing.
1154 * BufferView_pimpl.C:
1160 * messages.C: use support/package.h to provide the paths to the
1161 various directories used by LyX.
1163 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1165 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1166 layout if pasting into an empty paragraph)
1168 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1170 * tex-accent.C: add <string>
1172 2005-01-06 José Matos <jamatos@lyx.org>
1174 * ParagraphParameters.C (write): put every parameter in its own line.
1175 * paragraph.C (write): reduce number of consecutive empty lines exported.
1176 * buffer.C (LYX_FORMAT): increase file format to 239.
1178 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1180 * everywhere: change support/tostr.h -> support/convert.h
1182 * tabular.C: make all write_attributes templates, tostr -> convert
1184 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1185 (emptyTag): and -> &&, and fix type for ret from getChar
1186 (getFirstWord): fix type for ret from getChar
1187 (onlyText): and -> &&
1188 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1191 * toc.C (goTo, action):
1192 * text3.C (dispatch):
1193 * text.C (currentState):
1194 * tex-accent.C (DoAccent):
1197 * lyxfunc.C (menuNew):
1198 * lyxfinc.C (replace):
1199 * counters.C (laberItem):
1200 * bufferview_funcs.C (font2string):
1201 * bufferparams.C (writeFile):
1202 * buffer.C (readFile):
1204 * MenuBackend.C: tostr -> convert
1206 * LaTeX.C (runMessage): fix format
1207 (scanAuxFiles): tostr -> convert
1209 * BufferView_pimpl.C (savePosition): fix format
1210 (restorePosition): ditto
1213 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1215 * Spacing.[Ch]: New method getValueAsString().
1219 * ParagraphParameters.C:
1222 * text3.C: store/read spacing value as string.
1224 * rowpainter.C: change float value (spacing_val) to double.
1226 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1227 broken custom document spacing).
1229 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1231 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1232 namespace, also more use of temp references and const
1234 * cursor.[Ch] (getStatus): move to lyxfunc.C
1236 * bufferparams.C: reformat slightly
1238 * bufferview_funcs.C (font2string): constify arg
1244 * buffer_funcs.C: (many funcs): constify arg on function
1245 definitions, also make more local vars const, also add ASSERTS on
1248 * buffer.C (LYX_FORMAT): put const in correct place
1249 (many funcs): constify arg on function definitions, also make
1250 more local vars const
1252 * aspell_local.h: remove "struct" from typdef setup
1254 * aspell.C (check): make word_ok const
1255 (nextMiss): simplify slightly
1258 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1260 * lyxrc.[Ch]: store all float values as strings.
1261 use int (not float) for lyxrc.dpi.
1263 2005-01-04 Angus Leeming <leeming@lyx.org>
1265 * lyx_cb.C (Reconfigure):
1266 * lyx_main.C (queryUserLyXDir):
1267 to run the <system_lyxdir>/configure correctly on Windows, prefix
1268 the path to the script with "sh " when generating the string that
1269 is passed to system().
1271 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1273 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1275 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1277 * lyxlength.C (asLatexString): get rid of setprecision
1279 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1281 * text2.C (setLayout): remove unused variable endpit.
1282 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1284 * paragraph.C (onlyText): remove unused variable style.
1286 * cursor.C (bruteFind): remove unused variables beg and end.
1288 * Makefile.am (dist_noinset_DATA): not needed anymore
1290 * cheaders/*: remove.
1292 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1294 * text3.C: fix LFUN_MATH_MODE.
1296 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1298 * buffer_funcs.C (countWords): new function. Counts words between
1301 * BufferView_pimpl.C (getStatus, dispatch): handle
1304 * LyXAction.C (init):
1305 * lfuns.h: add LFUN_WORDS_COUNT.
1307 2004-12-19 Angus Leeming <leeming@lyx.org>
1309 * buffer.C (save): s/slashify_path/internal_path/.
1311 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1313 * lyxfind.C (findChange): do not search for end of pars, because
1314 the change tracker cannot handle this (fixes bug 1719).
1316 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1318 * paragraph.[Ch] (autoBreakRows): remove
1320 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1322 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1323 avoid using the paragraph one
1325 * text2.C (LyXText, insertStringAsLines): adjust
1327 2004-12-16 Angus Leeming <leeming@lyx.org>
1331 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1333 2004-12-14 Angus Leeming <leeming@lyx.org>
1335 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1337 * bufferlist.C (emergencyWrite):
1338 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1341 2004-12-14 Angus Leeming <leeming@lyx.org>
1343 * main.C: (main): no longer pass pointers to os::init.
1345 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1347 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1348 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1350 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1353 * text3.C: remove selection_possible global flag
1355 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1357 * text2.C (getSelectionSpan): remove
1358 (changeDepth, changeDepthAllowed): adjust
1360 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1362 * Makefile.am (BOOST_LIBS): use boost variables
1364 2004-12-03 José Matos <jamatos@lyx.org>
1366 * buffer.C: format up to 238.
1368 2004-12-03 José Matos <jamatos@lyx.org>
1370 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1372 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
1374 * cursor.C (goUpDown): remove call to idxUpDown2
1376 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1378 * tabular.[Ch]: use size_t-like types for cell, row and column
1381 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1383 * lyxfunc.C (getStatus): do not lose previous information when
1384 calling BufferView::getStatus; do not set a default "Command
1385 disabled" message at the beginning, but just before returning.
1387 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1389 * cursor.h (getStatus): add better comment from src/cursor.C
1391 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1393 * text3.C (getStatus): return false when the lfun is not handled
1395 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1397 * broken_headers.h: remove
1399 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1401 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1403 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1404 offset_ref accessors
1406 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1407 top_y_, merge fitcursor with update
1408 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1410 (metrics): introduce
1411 (workAreaDispatch): adapt to new coord scheme
1412 (redoCurrentBuffer): remove
1414 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1416 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1419 * coordcache.[Ch]: add paragraph cache and helpers
1421 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1424 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1425 (targetX, setTargetX): introduce
1427 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1428 baseline -> ascent, as the rest of lyx
1430 * lyxtext.h: remove redoParagraphs, updateParPositions,
1431 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1432 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1433 have ascent/descent (ascent is ascent of first par)
1435 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1438 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1440 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1442 * pariterator.C: fix infinite loop introduced in par->pit renaming
1444 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1445 in insets and LyXText, draw two off-screen paragraphs using
1446 NullPainter, and adapt to new coord scheme
1450 * text3.C: adapt lfun handlers to the new coord scheme, which
1451 means: there's only guaranteed coord information for onscreen pars
1452 plus one above and one below. This implies that one can do search
1453 from y coordinates in the range [-1,workHeight]
1455 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1457 * rename a lot of InsetOld to InsetBase
1459 2004-11-25 Angus Leeming <leeming@lyx.org>
1461 * BufferView_pimpl.C:
1463 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1465 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1467 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1468 call BufferView::getStatus if LCursor::getStatus did nothing
1469 (setStatusMessage, getStatusMessage): removed.
1471 * FuncStatus.C (message): new methods. Used to provide an error
1472 message indicating why a command is disabled.
1473 (clear, |=, FuncStatus): update for message.
1475 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1477 * lyxfunc.C (dispatch): always call sendDispatchMessage
1479 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1482 * BufferView_pimpl.C:
1487 * cursor_slice.[Ch]:
1490 * paragraph_funcs.C:
1496 * undo.C: par->pit renaming
1498 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1500 * tabular.C (cellstruct): use initialization, store a shared_ptr
1501 to insettext instead of the insettext directly, adjust to fit.
1502 (operator=): new function
1503 (swap): new function
1504 (rowstruct): use initialization
1505 (columnstruct): use initialization
1506 (ltType): use initialization
1509 * lyxlength.h (swap): new function
1511 * LColor.[Ch] (operator=): use the common semantics
1513 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1515 * lyxfind.C (findNextChange): update the bufferview after setting
1518 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1520 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1521 number of InsetOptArgs has already been inserted.
1523 * output_latex.C (latexOptArgInsets): new method. This outputs all
1524 the optarg insets, up to the limit defined in the layout file.
1525 (optArgInset): removed
1526 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1528 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1530 * paragraph.C (isLetter): remove special spellchecker-related
1531 code; return true also for digits
1532 (isWord, isKomma): remove
1534 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1535 * lyxfind.C (MatchString()): use isLetter instead of isWord
1537 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1539 * pariterator.h (operatir=): comment out un-implemented member
1542 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1545 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1547 * lyxfont.h: include LColor.h to satisfy concept checks.
1549 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1551 * pariterator.h: add typdefs for value_type, difference_type,
1552 pointer and reference to satisfy concept checks. Also add default
1553 constructor for same reason.
1555 * pariterator.C (operator++): add post-increment operator to
1556 satisfy concept checks.
1558 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1561 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1563 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1564 checks. Also rename base_type to BaseType to follow naming
1567 * FloatList.h: include Floating.h to satisfy concept checks.
1569 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1571 * lyxfunc.C (getStatus): when the origin of the request is menu or
1572 toolbar, and the LyXView does not have focus, do as if there was
1573 no buffer (bug 1720)
1575 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1576 FuncRequest to individual entries of LFUN_SEQUENCE
1578 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1580 * output_latex.C (TeXOnePar): override runparams.moving_arg
1581 according to the needprotect value of the current paragraph (bug
1584 * paragraph.C (simpleTeXOnePar): no need to override
1585 runparams.moving_args here
1587 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1589 * vspace.C: fix off-by-one-error, related to fix #1682
1591 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1593 * lengthcommon.C: a more general fix for bug 1682
1595 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1597 * text.C (backspace): fix crash
1599 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1601 * format.[Ch] (getFormatFromFile): new method
1602 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1604 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1606 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1608 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1610 * lyxfunc.C (dispatch): remove the verbose argument
1611 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1614 * kbmap.C (defkey): set the origin of func to KEYBOARD
1616 * MenuBackend.C (MenuItem):
1617 * ToolbarBackend.C (add): set the origin of func to UI
1619 * funcrequest.[Ch]: add origin member, which indicates which part
1620 of LyX requests an action
1622 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1624 * converter.C (move): don't lie in the error message
1625 * converter.h (isReachable, move): document
1627 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1629 * buffer.C: remove unused using lyx::support::atoi
1630 * paragraph_funcs.C: ditto
1632 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1634 * bufferlist.C (exists): use bind and equal_to instead of
1637 * lyxtextclasslist.C (NumberOfClass): ditto
1639 * cursor.C (insert): use for_each instead of explicit for loop
1641 * bufferlist.C (getFileNames): use std::transform and
1642 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1644 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1647 * buffer.C (changeLanguage): use for_each instead of explicit for
1649 (hasParWithID): implement using getParFromID
1651 * LaTeXFeatures.C: ws change only
1653 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1656 * BufferView_pimpl.C (trackChanges): use for_each instead of
1659 2004-11-04 André Pönitz <poenitz@gmx.net>
1662 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1664 * dociterator.C (asDocIterator): use hard assert again.
1666 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1668 * lyxlength.C (asLatexString): rewrite so that it does not use
1671 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1673 * text3.C (specialChar, dispatch): make sure cursor moves to the
1674 right after inserting an inset
1676 2004-11-02 José Matos <jamatos@lyx.org>
1678 * output_docbook.C (docbook):
1679 * paragraph.C (getID):
1680 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1681 garantee that the output is always legal.
1683 * tabular.C (docbook):
1684 * outputprams.[Ch]: remove mixed contents.
1686 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1688 * text2.C (setCounter): prevent endless loop
1690 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1692 * exporter.C (copyFile): use the mover instead of support::copy()
1693 * exporter.C (Export): pass format and latex name to copyFile()
1694 * exporter.h (addExternalFile): document
1695 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1697 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1699 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1701 2004-10-30 José Matos <jamatos@lyx.org>
1703 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1704 text and no inset or font change. This allows to use CDATA
1705 sections just for the whole paragraph.
1707 2004-10-30 José Matos <jamatos@lyx.org>
1709 * paragraph.C (getFirstWord): remove unused variable.
1711 2004-10-30 José Matos <jamatos@lyx.org>
1713 * paragraph.C (getFirstWord): the content should always be escaped
1715 (simpleDocBookOnePar):
1716 * output_docbook.C (makeEnvironment): replace reference to CDATA
1719 2004-10-30 José Matos <jamatos@lyx.org>
1721 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1723 2004-10-30 José Matos <jamatos@lyx.org>
1725 * output_docbook.C (makeParagraphs):
1726 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1727 standard paragraph has only a given type of content drop the wrapper.
1729 2004-10-29 José Matos <jamatos@lyx.org>
1731 * output_docbook.C (makeEnvironment):
1733 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1735 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1737 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1738 (cleanID): sanitize any id.
1740 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1742 * buffer.C, lyxlex_pimpl.C:
1743 * lyxlex_pimpl.C (setFile):
1744 s/getExtFromContents/getFormatFromContents/
1746 2004-10-28 José Matos <jamatos@lyx.org>
1748 * output_docbook.C (makeEnvironment): move id to broadest possible
1751 * sgml.C (openTag): apply substitution of <> for all attributes.
1753 2004-10-28 José Matos <jamatos@lyx.org>
1755 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1756 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1757 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1759 * sgml.[Ch]: new version for open and closeTag for paragraph and
1760 for strings. Now they handle the ids of paragraphs.
1762 2004-10-26 Angus Leeming <leeming@lyx.org>
1764 * Makefile.am: add mover.[Ch].
1766 * converter.C (convert, move): use the new Movers to move external
1767 files to the temp directory.
1769 * lyx_main.C (init): ensure that the global system_movers data
1772 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1775 * mover.[Ch]: new files, defining a Mover as a utility to move an
1776 external file between directories and, if necessary, manipulate this
1777 file using a helper script.
1779 2004-10-25 José Matos <jamatos@lyx.org>
1781 * output_docbook.C (makeCommand): merge two if's that tested the
1784 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1786 * sgml.C (escapeString): fix warning in a better way
1788 2004-10-25 José Matos <jamatos@lyx.org>
1790 * sgml.C (escapeString): import the require boosts header file for
1791 tie, and avoid a signed unsigned comparison.
1793 2004-10-25 José Matos <jamatos@lyx.org>
1795 * sgml.h: add #include <string>
1797 2004-10-25 José Matos <jamatos@lyx.org>
1799 * sgml.[Ch] (escapeString): new function to escape all the string.
1801 2004-10-24 José Matos <jamatos@lyx.org>
1803 * paragraph.[Ch] (getFirstWord): new function to get the first
1804 word. Useful for description.
1805 (simpleDocBookOnePar): remove depth argument, add another that
1806 says where to start the paragraph.
1808 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1809 use the new functions to fix cleanly the support for descriptions.
1811 2004-10-24 José Matos <jamatos@lyx.org>
1813 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1814 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1815 * output_linuxdoc.C (linuxdocParagraphs):
1816 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1817 add buffer as argument.
1819 2004-10-24 José Matos <jamatos@lyx.org>
1821 * output_docbook.C (makeEnvironment, searchEnvironment): place
1822 CDATA inside paragraphs and fix scope for listitems.
1824 2004-10-24 José Matos <jamatos@lyx.org>
1826 * output_docbook.C: remove using statement for stack.
1828 2004-10-23 José Matos <jamatos@lyx.org>
1830 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1831 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1832 docbook. The new scheme is recursive and makes use of iterators, the
1833 same as latex export works.
1834 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1835 directly with the paragraph contents. This code was moved up to
1836 output_docbook.C (docbookParagraphs).
1837 * sgml.C (openTag, closeTag): removed unneeded newlines.
1838 (closeEnvTags) removed.
1840 2004-10-23 André Pönitz <poenitz@gmx.net>
1842 * undo.C (textUndoOrRedo):
1843 * dociterator.C (asDocIterator): work around crash
1845 * cursor.C (getStatus): replace ASSERT by more verbose error message
1846 and manual correction of the problem. Should increase stability
1847 while providing more sensible information.
1849 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1851 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1853 * bufferlist.C (previous, next): new methods
1856 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1858 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1860 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1861 entities to preamble.
1863 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1865 * messages.C (Pimpl): strip off translation context information
1867 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1869 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1870 the cursor is correct (bug 1694)
1872 2004-10-13 José Matos <jamatos@lyx.org>
1874 * output_docbook.C (docbookParagraphs): fix closing tags in the
1875 end of the document.
1877 2004-10-09 José Matos <jamatos@lyx.org>
1879 * buffer.C: format up to 237.
1880 * bufferparams.C (write): use tostr to convert booleans to strings.
1882 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1884 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1886 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1888 * LaTeX.C: implement use of babel language in xindy.
1890 2004-10-05 José Matos <jamatos@lyx.org>
1892 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1893 Add new translators to help reading and writing the lyx file.
1895 2004-10-05 José Matos <jamatos@lyx.org>
1897 * ParagraphParameters.C (read):
1898 * text.C (readParToken): replace nexToken by more appropriate lex
1901 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1903 * LaTeX.C (runMakeIndex):
1904 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1905 (usually 'makeindex') configurable.
1907 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1908 with a variable rather than with a number.
1910 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1912 * output_latex.C (TeXOnePar): make sure font setting is the first
1913 thing that gets output (and the last at the end). Should fix bug
1916 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1918 * pch.h: use proper signal include
1920 * LaTeX.h: Use preferred calling of Boost.Signal
1923 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1925 * pch.h: dont include <boost/function/function0.hpp>
1927 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1929 * paragraph_pimpl.h: remove usage of ShareContainer
1931 * paragraph_pimpl.C: remove initialization of ShareContainer.
1933 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1937 * BufferView.C (putSelectionAt): change the semantics when
1938 backwards == true: now, this just swaps cursor and anchor wrt the
1941 * BufferView.h (putSelectionAt): add some documentation
1943 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1944 make sure backwardChar is done at least once (to avoid getting
1946 (findNextChange): use putSelectionAt in the forward direction
1947 (operator()): use Paragraph::isWord
1949 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1951 * Spacing.C (set): c_str fix
1953 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1955 * lyx_cb.C (Reconfigure): quote the name of configure script in
1956 case it contains spaces
1958 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1962 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1963 (BOOST_LIBS): use top_buildir when looking for the file
1965 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1967 * pch.h: do not use include boost/format.hpp, multiple symbols
1968 will result (gcc bug)
1971 2004-08-23 José Matos <jamatos@lyx.org>
1973 * bufferparams.C (readToken): fix reading of the author field.
1975 2004-08-20 José Matos <jamatos@lyx.org>
1977 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1979 2004-08-20 José Matos <jamatos@lyx.org>
1981 * lyxlex.[Ch] (findToken): remove function.
1983 * ParagraphParameters.C (findToken):
1984 * bufferparams.C (findToken): replace call for previous function
1985 with local copy. This local function has one more argument, the
1986 read string argument.
1988 2004-08-16 José Matos <jamatos@lyx.org>
1990 * ParagraphParameters.C (write):
1991 * Spacing.C (writeFile):
1992 * bufferparams.C (writeLaTeX):
1993 * lyx_cb.C (Reconfigure):
1994 * paragraph.C (write):
1995 * tabular.C (write): remove unnecessary space at end of line.
1998 2004-08-16 José Matos <jamatos@lyx.org>
2000 * text.C (readParagraph): remove debug message.
2002 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2004 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2007 * output_plaintext.C (asciiParagraph): set depth correctly
2009 * outputparams.h: add member depth
2011 * paragraph_funcs.C (ownerPar): remove.
2013 * text2.C (setCounter): remove first_pit; comment out some
2014 non-working code that uses ownerPar
2016 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2019 2004-08-16 José Matos <jamatos@lyx.org>
2021 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2022 For the same level of importance use the same chanel to report problems.
2023 (read): add code to deal with \begin_body and \end_body.
2026 2004-08-15 José Matos <jamatos@lyx.org>
2028 * lyxlex.C (getString): fix comment, buffer::readBody is now
2029 buffer:readDocument.
2031 * tex-strings.C (string_papersize): Default -> default,
2032 Custom -> custom, for consistency with other options.
2034 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
2038 * Makefile.am: support pch
2040 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2042 * text.C (readParToken): remove the static LyXFont variable and
2043 pass it as a parameter instead. This fixes a nasty bug where an
2044 inset will be inserted with a bad font in some situations
2045 (readParagraph): adapt
2047 * text2.C (setCounter): reduce number of calls to pars_[pit]
2049 * text.C (singleWidth): add an assert, fix a test
2051 * rowpainter.C (paintText): reduce number of calls to singleWidth
2053 * paragraph.C (isHfill):
2054 (isNewline): ws only
2056 2004-08-14 André Pönitz <poenitz@gmx.net>
2061 * lyxtext.h (several functions): use a Paragraph & argument
2064 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2066 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2068 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2070 * text.C (singleWidth): remove useless test
2072 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2074 * tabular.h: remove bogus comments
2076 * tabular.C (getDescentOfRow):
2077 (isPartOfMultiColumn): add assertions
2079 * lyxlength.C (inPixels): remove #warning
2081 2004-08-14 André Pönitz <poenitz@gmx.net>
2083 * paragraph.h: inline getChar()
2085 * BufferView.h: remove unused declarations
2087 2004-08-14 José Matos <jamatos@lyx.org>
2089 * Buffer.[Ch] (readDocument): new name for old readBody.
2090 * Buffer.C: new file format, new keywords: \begin_document,
2091 \begin_header, \begin_body, \end_body.
2093 * bufferparams.C (readToken): replace all calls to lex.nextToken
2094 by lex.next(). Do the same to eatLine except where really needed.
2096 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2097 line when writing to the lyx file.
2099 * output_plaintext.C (asciiParagraph): fix Bibliography style
2102 * text.C (read): fix end of file handling.
2104 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2106 * MenuBackend.C (Menu::operator[]): new method to access
2107 individual menu items
2108 (Menu::hasFunc): new method. search for an item that corresponds
2110 (MenuBackend::specialMenu): new method
2111 (MenuBackend::expand): if a special menu has been set, skip
2112 entries whose func() appears in this menu
2114 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
2116 * text3.C: use Debug::DEBUG a bit more
2118 * text.C (leftMargin): try to simplify a tiny bit change var x to
2119 l_margin. Dont output the wide margins always.
2120 (rightMargin): no margin in inner texts
2122 * rowpainter.h (nestMargin): new func
2123 (changebarMargin): new func
2124 (rightMargin): new func
2126 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2130 * factory.C (createInset): modify setDrawFrame
2132 * cursor.C: use Debug::DEBUG a bit more
2134 2004-08-14 André Pönitz <poenitz@gmx.net>
2137 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2138 cache for all insets in (at least partially) visible (top-level)
2141 * BufferView_pimpl.C: reset external coord cache before every update.
2142 This means the coord cache only contains valid entries.
2144 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
2147 * BufferView_pimpl.C (getInsetByCode): move function out of class
2148 and change in to a template in anon namespace. Also fix to do what
2151 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
2154 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2156 (breakParagraph): rename par to par_offset and use a local
2157 reference. Add code to keep the language over a rebreak.
2158 (breakParagraphConservative): rename par to par_offset, use a
2160 (mergeParagraph): ditto
2162 (isFirstInSequence): ditto
2163 (outerFont): rename pit to par_offset
2165 * paragraph.C: ws change
2166 * paragraph.h: ditto
2170 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2172 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2175 * paragraph.C (simpleTeXOnePar): when we have a \item with
2176 optional argument, enclose the argument with curly brackets (in
2177 case it contains a closing square bracket)
2181 * text3.C (checkInsetHit): constify
2183 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2185 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2186 documents (bug 1629)
2188 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2190 Fix toggling of collapsable insets with the mouse (bug 1558)
2192 * lyxfunc.C (dispatch): adapt to LCursor changes
2194 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2195 make sure that dispatch is not invoked twice
2197 * cursor.C (needsUpdate): new method
2198 (dispatch): return void
2199 (result): new method, to access the DispatchResult of the cursor.
2201 2004-08-13 José Matos <jamatos@lyx.org>
2203 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2205 2004-08-13 André Pönitz <poenitz@gmx.net>
2207 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2209 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2212 2004-08-12 André Pönitz <poenitz@gmx.net>
2214 * text3.C: take out the 'cursor right' form insertInset and only
2215 do it in those places when it is really needed. Fixes crash on
2218 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2220 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2222 * BufferView_pimpl.C (setBuffer): initialize the current font of
2223 the underlying LyXText
2225 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2227 * kbsequence.C (print): use UI native formatting for menu
2230 * text.C (insertChar): call Paragraph::insertChar with a font
2233 * paragraph.C (insertInset, insertChar): the version that takes a
2234 LyXFont argument is now a wrapper around the other one (the
2235 opposite used to be true).
2237 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2238 argument. Font setting is done in Paragraph now.
2240 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2242 * outputparams.h: add new members intitle and lang.
2244 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2245 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2247 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2249 * text3.C (dispatch): remove special handling of button 4 and 5,
2250 it is now taken care of in the frontend code.
2252 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2254 * Spacing.h: add <string> (STLPort compile fix)
2256 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2258 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2260 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
2262 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2265 * converter.C (showMessage): inherit from unary_function, make
2268 * buffer.C (writeFile): initialize retval
2270 * InsetList.h: rename private variable list to list_
2271 * InsetList.[Ch]: adjust accordingly.
2273 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
2275 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2276 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2277 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2278 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2279 * ParagraphParameters.C, LaTeXFeatures.C: replace
2280 "support/std_sstream.h" with <sstream>
2282 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
2284 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2285 * lyxsocket.C (LyXServerSocket): ditto
2286 (serverCallback): ditto
2288 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2290 * LaTeXFeatures.C: check release date when loading jurabib.
2292 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2294 * lyxserver.C (startPipe): call register_socket_callback
2295 (endPipe): call unregister_socket_callback
2297 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
2299 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2300 (LyXServerSocket): register the callback
2301 (LyXServerSocket): unregister the callback
2302 (fd): delete function
2303 (serverCallback): improve error checking and setup the callbacks.
2304 (dataCallback): change arg to fd.
2305 (writeln): new func (copied fro the client socket) used for server
2307 (LyXDataSocket): simplify
2308 (~LyXDataSocket): close ann unregiser callback
2309 (server): delete function
2310 (fd): delete function
2311 (readln): small changes, improve some std::string usage
2312 (writeln): constify a bit
2314 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2316 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2319 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2321 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2322 after it has been populated
2324 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2326 * text2.C (insertInset): move cursor when inserting inset.
2328 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2330 * kbmap.C (findbindings): a couple of new methods. returns a
2331 container of kb_sequence objects. The real work is done by the
2332 private recursive version
2333 (printbindings): uses findbindings to print out a bracketed list
2334 of bindings (renamed from findbinding).
2336 * MenuBackend.C (binding): use kb_keymap::findbindings
2338 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2340 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2342 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2344 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2346 * paragraph.C (isWord): return true on insets that report
2349 * text.C (getWord): use Paragraph::isWord to decide what is in a
2350 word and what is not; fix bug 1609.
2352 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2354 * tex-strings.C: add "none" to string_paperpackages[], fixes
2355 off-by-one-error in the paperpackage selection.
2358 * tex-strings.[Ch]: char const * string[n]
2359 -> char const * const string[]
2361 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2363 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2364 command, return early.
2366 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
2368 * debug.h: add DEBUG to enum and fix size of ANY.
2370 * debug.C: add support for Debug::DEBUG
2371 (showTags): cast errorTags.level to unsigned int
2373 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2374 (redoCurrentBuffer): ditto
2375 (updateScrollbar): ditto
2376 * cursor.C (dispatch): ditto
2377 * text2.C (setLayout): ditto
2379 (updateCounters): ditto
2381 (deleteEmptyParagraphMechanism): ditto
2383 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
2385 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2386 annotations to cleanup the Makefile slightly.
2388 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2390 * lyxrc.C: do not set user_email to a default value but use empty
2391 instead. The entry used to be translated, which does not work
2392 since at the point where lyxrc is constructed there is no
2393 translation service available
2395 * messages.C (getLocaleDir): remove and use directly
2396 lyx_localedir() instead
2398 2004-06-02 Angus Leeming <leeming@lyx.org>
2400 Fix crash caused by dereferencing null pointer 'exportdata' in
2401 OutputParams by creating a new ExportData variable on the heap,
2402 storing it in a boost::shared_ptr.
2403 The crash was triggered when generating an Instant Preview
2404 of an external inset.
2406 * Makefile.am: add outputparams.C
2408 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2409 (c-tor): allocate memory to it.
2411 * exporter.C (c-tor): associated changes.
2413 2004-06-01 Angus Leeming <leeming@lyx.org>
2415 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2416 contains data before calling isInset(0). (Bug 1513.)
2418 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2420 * exporter.C (checkOverwrite): new method
2421 * exporter.C (copyFile): new method
2422 * exporter.C (Export): copy referenced files to the document dir
2423 * exporter.[Ch]: new class ExportedFile
2424 * exporter.[Ch]: new class ExportData. Contains currently the
2425 names of referenced external files
2426 * outputparams.h: add exportdata member.
2428 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2430 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2433 2004-05-19 Angus Leeming <leeming@lyx.org>
2438 * lyxfunc.C: small changes due to the introduction of namespace
2439 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2441 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2443 * text3.C (dispatch): supress update when only moving the cursor
2444 * cursor.C (selHandle): remove commented code
2446 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2448 * paragraph.C (startTeXParParams): correct column count
2449 * CutAndPaste.C (pasteSelection): remove const_cast
2450 * output_docbook.C (docbookParagraphs): remove const_cast
2451 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2452 const_cast and return ParagraphList::const_iterator
2453 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2454 * output_plaintext.C (writeFileAscii): remove const_cast
2455 * paragraph.[Ch] (simpleTeXOnePar): make const
2456 * paragraph_funcs.C (outerPar): use const iterators
2457 * paragraph_pimpl.C (validate): use const iterators
2458 * text.C (setHeightOfRow): use const iterators
2460 2004-05-17 Angus Leeming <leeming@lyx.org>
2463 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2465 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2466 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2467 if the citation engine has changed.
2469 2004-05-14 José Matos <jamatos@lyx.org>
2471 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2472 if the textclass does not provide it. Have it different for sgml and
2474 support the language of document.
2475 * output_docbook.C (docbookParagraphs):
2476 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2477 first anchor as the id of the paragraph, remove special case code.
2478 * sgml.C (escapeChar): escape only < & >.
2480 2004-05-14 Angus Leeming <leeming@lyx.org>
2482 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2483 dependencies on src/frontends/controllers/biblio.h. Define a
2484 CiteEngine_enum wrapper class to enable the enum to be forward
2487 2004-05-12 Angus Leeming <leeming@lyx.org>
2489 * buffer.C: up LYX_FORMAT to 234.
2490 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2491 use_numerical_citations with a single biblio::CiteEngine cite_engine
2493 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2495 2004-05-13 José Matos <jamatos@lyx.org>
2498 * converter.C (Converter, readFlags): add xml member.
2499 * outputparams.h: add XML flavor.
2500 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2502 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2504 * lyxfunc.C (dispatch):
2505 (getStatus): fix handling of LFUN_SEQUENCE
2507 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2509 * debug.C (showLevel): do not forget the end-of-line marker
2511 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2513 * kbmap.C (read): do not stop parsing a bind file when an error
2516 2004-04-29 Angus Leeming <leeming@lyx.org>
2521 * text2.C: wrap a bunch of #warning statements
2522 inside #ifdef WITH_WARNINGS blocks.
2524 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2526 * buffer.C: increment format to 233.
2528 2004-04-28 Angus Leeming <leeming@lyx.org>
2530 * BufferView_pimpl.C:
2533 s/updateToolbar()/updateToolbars()/
2534 s/Toolbar.h/Toolbars.h/
2536 2004-04-28 Angus Leeming <leeming@lyx.org>
2538 * BufferView.[Ch] (c-tor):
2539 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2540 No longer passes these data to the WorkArea generator.
2542 2004-04-28 Angus Leeming <leeming@lyx.org>
2544 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2546 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2548 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2550 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2552 * output_latex.C (TeXEnvironment): make sure that there is a line
2553 break before \end{foo} for the last paragraph of a document
2554 (TeXOnePar): if the paragraph is at the end of the document (or
2555 inset) and the language has to be reset, then make sure that the
2556 line break is _before_ the language command, not after (fixes bug
2557 1225); also make sure that the language reset command is the first
2558 thing after the paragraph (to ensure proper nesting of
2559 environments and thus fix bug 1404)
2561 2004-04-21 John Levon <levon@movementarian.org>
2564 * ToolbarBackend.C: make "name" be a programmatic name
2565 and a gui_name field.
2567 * lyxfunc.C: display the minibuffer on M-x
2569 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2571 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2574 2004-04-19 Angus Leeming <leeming@lyx.org>
2576 * BufferView_pimpl.C (setBuffer): changed preview interface.
2578 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2581 2004-04-19 John Levon <levon@movementarian.org>
2583 * BufferView_pimpl.C:
2584 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2586 2004-04-05 Angus Leeming <leeming@lyx.org>
2588 * text.C (redoParagraphs): add call to updateCounters(), thereby
2589 fixing the missing "Figure #:" label from the caption of a
2592 2004-04-13 Angus Leeming <leeming@lyx.org>
2594 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2595 cursor is clicked out of an inset.
2597 2004-04-13 Angus Leeming <leeming@lyx.org>
2599 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2600 than an InsetOld one.
2602 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2604 * format.[Ch]: add editor to Format
2605 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2606 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2608 2004-04-08 André Pönitz <poenitz@gmx.net>
2610 * metricsinfo.h: remove PainterInfo::width member
2612 2004-04-08 Angus Leeming <leeming@lyx.org>
2614 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2615 "\providecommand" rather than "\newcommand", thereby preventing
2616 clashes with packages that define "\boldsymbol" themselves.
2619 2004-04-08 Angus Leeming <leeming@lyx.org>
2621 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2622 thereby squashing an unnecessary warning.
2624 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2626 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2629 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2631 * BufferView.C (setCursor): call redoParagraph (some insets could
2633 (putSelectionAt): remove the 'double update' trick
2635 * BufferView_pimpl.C (fitCursor): call refreshPar
2636 (workAreaDispatch): remove an uneeded update call
2637 (dispatch): remove some manual update calls
2639 * cursor.[Ch]: remove cached_y_, updatePos
2640 (selHandle): set noUpdate when appropriate
2642 * lyxfunc.C (dispatch): track if we need an update
2644 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2646 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2647 (paintSelection): cheap optimization, do not call cursorX when not
2649 (paintPars): change signature
2652 (paintTextInset): adjust
2656 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2658 * lengthcommon.C: compilation fix: remove explicit array size from
2659 unit_name[] and friends
2661 2004-04-05 Angus Leeming <leeming@lyx.org>
2663 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2665 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2666 present only for the preferences dialog.
2667 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2669 2004-04-05 Angus Leeming <leeming@lyx.org>
2671 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2672 to enable the frontends to export changes to lyxrc correctly.
2674 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2676 2004-04-07 André Pönitz <poenitz@gmx.net>
2678 * cursor.[Ch] (selClear, adjust): remove math
2680 * cursor_slice.C: more agressive assert
2683 * BufferView_pimpl.C: rework mouse event dispatch
2690 2004-04-05 André Pönitz <poenitz@gmx.net>
2692 * cursor.[Ch] (valign, halign...): remove unneeded functions
2694 2004-04-05 Angus Leeming <leeming@lyx.org>
2696 * lyxlength.[Ch] (unit_name et al.): const-correct.
2698 2004-04-05 Angus Leeming <leeming@lyx.org>
2700 * BufferView_pimpl.C:
2709 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2711 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2713 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2715 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2717 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2718 * BufferView_pimpl.[Ch] (getStatus)
2719 * BufferView.[Ch] (getStatus): add
2720 * lyxfunc.C (getStatus): move lfuns handled in
2721 BufferView::dispatch to te function above
2722 * Cursor.C (setSelection): set selection() = true
2724 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2726 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2728 2004-03-31 Angus Leeming <leeming@lyx.org>
2730 * lyxfunc.C (dispatch): Fall through to the generic
2731 Dialogs::show("preamble").
2733 2004-03-31 Angus Leeming <leeming@lyx.org>
2735 * lyxfunc.C (dispatch): Fall through to the generic
2736 Dialogs::show("spellchecker").
2738 2004-03-31 Angus Leeming <leeming@lyx.org>
2740 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2743 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2748 * insetiterator.[Ch]:
2753 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2755 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2757 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2758 insets where we are putting the cursor.
2760 2004-03-31 Angus Leeming <leeming@lyx.org>
2763 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2765 * lyxrc.[Ch] (read, write): overloaded member functions taking
2766 a std::[io]stream arguments.
2768 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2770 2004-03-31 Angus Leeming <leeming@lyx.org>
2772 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2773 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2775 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2776 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2778 2004-03-31 Angus Leeming <leeming@lyx.org>
2780 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2781 the LFUN_ALL_INSETS_TOGGLE code.
2783 2004-03-30 Angus Leeming <leeming@lyx.org>
2785 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2786 has died. Fall through to the generic Dialogs::show("document").
2788 2004-03-30 Angus Leeming <leeming@lyx.org>
2791 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2792 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2794 * lyxfunc.C (getStatus, dispatch): define the actions for these
2795 lfuns. Little more than a cut and pste job from ControlDocument.C
2797 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2799 2004-03-30 Angus Leeming <leeming@lyx.org>
2802 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2803 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2805 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2806 open/closed state of ollapsable insets. Usage:
2808 all-inset-toggle <state> <name>, where
2809 <state> == "open" || "closed" || "toggle" and
2810 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2812 * lyxtext.h, text2.C (toggleInset): removed.
2814 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2815 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2816 now passes LFUN_INSET_TOGGLE to the found inset.
2818 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2819 is now invoked as "all-insets-toggle toggle branch".
2821 2004-03-30 Angus Leeming <leeming@lyx.org>
2825 * pariterator.[Ch]: added/corrected header blurb.
2827 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2829 * dociterator.[Ch]: add an inset_ member
2830 (backwardPos): implemented
2831 (backwardPos, forwardPos): use inset_ when the stack is empty.
2832 (doc_iterator_begin, doc_iterator_end): implemented
2833 * pariterator.[Ch]: adjust, add begin, end
2834 * insetiterator.[Ch]: adjust, add begin, end
2838 * BufferView_pimpl.C:
2839 * CutAndPaste.C: adjust
2841 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2843 * buffer.C: increment file format to 232.
2844 * LaTeXFeatures.C: add bibtopic package.
2845 * bufferparams.[Ch]: param \use_bibtopic.
2847 * lyxrc.[Ch]: add lyxrc bibtex_command
2848 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2850 * buffer.C: increment file format to 231.
2852 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2854 * dociterator.C: implement forwardPar
2855 * iterators.[Ch]: remove, replaced by
2856 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2858 * BufferView_pimpl.C:
2861 * bufferview_funcs.C:
2867 * Makefile.am: adjust
2869 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2871 * CutAndPaste.C (pasteSelection): fix 2 crashes
2872 (eraseSelection): fix a crash
2873 * paragraph_funcs.C: remove a warning
2875 2004-03-28 Angus Leeming <leeming@lyx.org>
2878 * LyXAction.C (init): new LFUN_PRINT.
2880 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2882 2004-03-27 Angus Leeming <leeming@lyx.org>
2885 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2887 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2889 2004-03-27 Angus Leeming <leeming@lyx.org>
2891 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2892 insetlist always contains non-null pointers to insets.
2894 2004-03-26 Angus Leeming <leeming@lyx.org>
2896 * src/BufferView_pimpl.C:
2897 * src/CutAndPaste.C:
2900 * src/output_plaintext.C:
2901 * src/outputparams.h:
2902 * src/paragraph_funcs.C:
2906 * src/frontends/controllers/ControlErrorList.C:
2907 * src/frontends/gtk/FileDialogPrivate.C:
2908 * src/frontends/gtk/GPainter.C:
2909 * src/frontends/gtk/GToolbar.C:
2910 * src/frontends/qt2/QRef.C:
2911 * src/mathed/math_scriptinset.C: squash compiler warnings.
2913 2004-03-26 Angus Leeming <leeming@lyx.org>
2915 * ispell.C (LaunchIspell::start):
2916 * lyx_cb.C (AutoSaveBuffer::start):
2917 invoke run(DontWait) rather than runNonBlocking().
2919 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2921 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2923 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2925 * kbsequence.C (print): adjust
2927 * kbmap.C (printKeySym): rename and change signature
2928 (printKey): use LyXKeySym::print()
2930 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2932 * undo.C: add using std::advance to compile for stlport
2934 2004-03-24 Angus Leeming <leeming@lyx.org>
2936 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2937 it leads to a crash when no buffer is present.
2939 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2940 Martin Vermeer <martin.vermeer@hut.fi>
2942 * lyxfunc.C (dispatch):
2943 * bufferparams.C (readToken): use the new LColor::setColor
2945 * LColor.[Ch] (setColor): new version that takes two strings as
2946 argument and creates a new color entry if necessary
2948 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2950 * buffer.C (makeLaTeXFile): if the main latex file that is
2951 processed is usually a subdocument of some master, then pretend
2952 for a while that it is actually the master
2954 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2956 * buffer.C (getLabelList):
2957 (getBibkeyList): use getMasterBuffer()
2958 (getMasterBuffer): new method. Returns the main document in the
2959 case where one is using included documents.
2961 2004-03-25 André Pönitz <poenitz@gmx.net>
2965 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2967 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2969 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2970 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2972 * ParameterStruct.h: merge with ParagraphParameters
2974 * lyxtext.h: remove LyXText::parOffset() and getPar()
2976 * text3.C: Remove all 'manual' update calls. We do now one per user
2977 interaction which is completely sufficient.
2981 * BufferView_pimpl.C:
2982 * FontIterator.[Ch]:
2984 * ParagraphParameters.[Ch]:
2989 * cursor_slice.[Ch]:
2996 * output_docbook.[Ch]:
2997 * output_latex.[Ch]:
2998 * output_linuxdoc.[Ch]:
2999 * output_plaintext.[Ch]:
3001 * paragraph_funcs.[Ch]:
3002 * paragraph_pimpl.[Ch]:
3010 * frontends/controllers/ControlDocument.C:
3011 * frontends/controllers/ControlErrorList.C:
3012 * frontends/controllers/ControlSpellchecker.C:
3015 * insets/insetbase.h:
3016 * insets/insetbibitem.C:
3017 * insets/insetbox.C:
3018 * insets/insetbranch.C:
3019 * insets/insetcaption.C:
3020 * insets/insetcharstyle.C:
3021 * insets/insetcharstyle.h:
3022 * insets/insetcollapsable.C:
3023 * insets/insetcollapsable.h:
3024 * insets/insetert.C:
3025 * insets/insetfloat.C:
3026 * insets/insetfoot.C:
3027 * insets/insetmarginal.C:
3028 * insets/insetnote.C:
3029 * insets/insetoptarg.C:
3030 * insets/insettabular.C:
3031 * insets/insettext.C:
3032 * insets/insettext.h:
3033 * insets/insetwrap.C:
3034 * mathed/math_mboxinset.C:
3035 * mathed/math_nestinset.C:
3036 * mathed/math_scriptinset.C:
3037 * mathed/math_scriptinset.h:
3040 2004-03-24 Angus Leeming <leeming@lyx.org>
3042 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3043 deal with any child processes that have finished but are waiting to
3044 communicate this fact to the rest of LyX.
3046 2004-03-24 Angus Leeming <leeming@lyx.org>
3048 64-bit compile fixes.
3050 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3051 (c-tor): pass lyx::pos_types rather than ints.
3053 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3056 * text.C (Delete): compile fix.
3057 (getPar): ensure that function declaration is the same as that in
3060 2004-03-23 Angus Leeming <leeming@lyx.org>
3062 * ispell.C (LaunchIspell):
3063 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3064 a boost::shred_ptr rather than a std::auto_ptr.
3066 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3068 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3069 handle LFUN_FILE_INSERT_*
3071 * lyxrc.C (setDefaults, getDescription, output, read):
3072 * lyxrc.h: remove ps_command
3074 2004-03-22 Angus Leeming <leeming@lyx.org>
3076 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3077 Ensure that error_handler is processed once only and that all data
3078 is saved before attempting to output any warning messages.
3080 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3082 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3084 * tabular.C (TeXRow): crash fix (from Kayvan and André)
3086 2004-03-19 André Pönitz <poenitz@gmx.net>
3088 * cursor.[Ch] (reset): take main text inset as argument
3090 * BufferView: adjust
3091 * BufferView_pimpl.C: adjust
3093 * paragraph.[Ch]: fix completely broken operator=()
3095 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3097 * LColor.C (getFromLyXName): make sure that the color name is used
3100 2004-03-17 Angus Leeming <leeming@lyx.org>
3103 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3105 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3106 dialog and to kill a forked process.
3108 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3110 * text2.C (setCursorFromCoordinates): fix font problem
3112 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3114 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3115 bogus "rebuild cursor" code
3117 2004-03-11 André Pönitz <poenitz@gmx.net>
3119 * buffer.[Ch]: use InsetText instead of LyXText as container for
3122 * dociterator.[Ch]: drop the BufferView * member which is not needed
3123 anymore after the change to buffer.C
3125 * paragraph_funcs.C:
3129 * BufferView_pimpl.[Ch]:
3131 * cursor_slice.[Ch]: adjust
3133 * text3.C: fix bug in mathDispatch
3135 2004-03-08 André Pönitz <poenitz@gmx.net>
3137 * undo.[Ch]: use 'StableDocumentIterator' as base for
3140 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3143 * bufferparams.[Ch]: add jurabib support and param.
3145 * LaTeX.C: add FIXME/comment.
3147 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3149 * buffer.C: increment file format to 230.
3151 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3153 * cursor.C (dispatch): avoid infinite loops
3155 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3157 * rowpainter.C (paintSelection): fix x coordinates
3159 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3161 * text.C (rowBreakPoint): fix breaking before displayed insets
3163 2004-03-01 André Pönitz <poenitz@gmx.net>
3165 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3167 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3171 * BufferView_pimpl.C:
3179 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3185 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3186 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3188 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3190 * Bidi.[Ch] (computeTables): const correctness
3191 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3192 fill_hfill, fill_label_hfill and x from Row
3193 * lyxtext.h: prepareToPrint returns a RowMetrics
3194 * rowPainter.C: adjust
3195 * text.C (prepareToPrint): use width, not textWidth. adjust
3196 (redoParagraphInternal, cursorX): adjust
3197 * text2.C (getColumnNearX): adjust
3198 (init): put a default value to the top LyXText::width
3200 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3202 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3204 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3206 * lyxtext.h: add FontIterator class
3208 * text.C (FontIterator, operator*, operator->, operator++): add
3209 (rowBreakPoint, setRowWidth): adjust (fixing a
3212 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3214 * BufferView_pimpl.C (workAreaDispatch): allow also
3215 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3217 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3219 * text.C (rowBreakPoint): fix a bug showing with very large insets
3221 2004-02-25 André Pönitz <poenitz@gmx.net>
3224 * cursor.[Ch]: move some mathed specific code to mathed
3226 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3228 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3229 use_tempdir in preferences
3230 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3232 * lyx_main.C: ensure that tempdir is valid
3233 * lyxlex.h: correct typo
3234 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3235 * paragraph.[Ch] (isMultiLingual): make const
3236 * cursor.[Ch] (openable): make const
3238 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3240 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3242 2004-02-20 André Pönitz <poenitz@gmx.net>
3244 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3246 * cursor.[Ch]: prepare for localized getStatus()
3252 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3254 2004-02-20 André Pönitz <poenitz@gmx.net>
3256 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3258 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3260 * text2.C (setCursorFromCoordinates): switch to absolute coords
3262 (cursorDown): adjust
3263 * text3.C (dispatch): adjust
3265 2004-02-16 André Pönitz <poenitz@gmx.net>
3267 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3270 * cursor_slice.[Ch]: remove unneeded acessor function
3272 * lyxtext.h: rename rtl() to isRTL()
3280 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3282 * rowpainter.C (paintSelection): coord fix
3284 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3286 * Spacing.C: compile fix
3288 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3290 * cursor.C (dispatch): restore current_ before returning
3292 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3294 * text2.C (cursorUp, cursorDown): fix coords
3297 2004-02-12 André Pönitz <poenitz@gmx.net>
3302 * text3.C: add LCursor & parameter to most cursor movement functions
3303 remove usage of LyXText::cursorRow() and cursorPar()
3305 * cursor.[Ch]: add textRow() needed members
3308 * BufferView_pimpl.C:
3311 * BufferView_pimpl.C: adjust
3313 2004-02-11 André Pönitz <poenitz@gmx.net>
3317 * BufferView_pimpl.C: shift undo/redo handling
3319 * cursor.[Ch]: fix mathed crash
3322 * lyxtext.h: move selectionAsText to LCursor
3330 * rowpainter.C: fix excessive drawing
3332 2004-02-06 André Pönitz <poenitz@gmx.net>
3335 * BufferView_pimpl.[Ch]:
3336 * text3.C: move some text specific LFUN handling
3338 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3340 * text3.C (checkInsetHit): adjust coords
3341 * text2.C (getColumnNearX): adjust coords
3342 (edit): adjust coords
3343 * text.C (getRowNearY): add two asserts
3345 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3348 * format.C: add using std::distance to compile on gcc 2.95/stlport
3350 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3352 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3354 2004-02-04 André Pönitz <poenitz@gmx.net>
3356 * BufferView.[Ch] (insertInset):
3357 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3362 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3364 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3365 on the default clause of the switch
3366 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3367 wasn't catched by LCursor::dispatch
3369 2004-02-03 André Pönitz <poenitz@gmx.net>
3372 * cursor.[Ch]: some additional asserts
3374 * undo.[Ch]: remove LyXText dependency in interface
3378 * lyxtext.h (firstPar, lastPar): remove dead functions
3383 * paragraph.[Ch]: adjust
3385 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3387 * lyxfind.C (find): fix argument order in call to ::find
3389 2004-02-02 André Pönitz <poenitz@gmx.net>
3391 * cursor.[Ch]: remove direct access to anchor
3393 * text.C: remove findText() hack
3395 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3397 * iterators.[Ch] (lockPath): remove in favour of...
3398 * BufferView.[Ch] (setCursor): this addition
3399 * BufferView.C (putSelectionAt): adjust
3400 * undo.C (performUndoOrRedo): adjust
3401 * lyxfunc.C (dispatch): adjust
3403 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3405 * iterators.C (lockPath): add a missing slice
3406 * undo.C (performUndoOrRedo): remove redundant positioning code
3408 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
3410 * vc-backend.C (scanMaster): ";" -> ';'
3412 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
3414 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3415 std::binary_function
3417 * lyxtextclass.C (compare_name): rename to...
3418 (LayoutNamesEqual): ...this
3420 * lyxlex_pimpl.C (compare_tags): inherit from
3421 std::binary_function, put back into anon namespace
3423 * lyxfind.C (MatchString): inherig from std::binary_function
3424 (findChange): use empty() istead of !size()
3426 * format.C (FormatNamesEqual): new functor
3433 * converter.C (compare_Converter): rename to...
3434 (ConverterEqual): ...this, and fixup a bit.
3435 (getConverter): use it, and make function const
3436 (getNumber): use it, and make function const
3440 * bufferlist.C: add using boost::bind
3442 * MenuBackend.C (MenuNamesEqual): new functor
3443 (hasMenu): use it, and make function const
3444 (hasSubmenu): use nested bind to get rid of compare_memfun.
3446 2004-01-30 André Pönitz <poenitz@gmx.net>
3448 * BufferView_pimpl.C:
3451 * cursor_slice.[Ch]:
3454 * paragraph_funcs.C:
3455 * paragraph_funcs.h:
3459 * text3.C: move some of the edit(x,y) handling to the insets
3460 some coordinate changes.
3462 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
3464 * text.C: add using statements for std::advance and std::distance
3466 * paragraph.C: add using statement for std::distance
3468 * lyxfind.C: add using statement for std::advance
3470 * cursor.C (region): remove std:: from swap
3471 (openable): use nucleus in stead of operator->
3473 * BufferView.C: add using statements for std::distance and std::swap
3475 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
3477 * iterators.C: Remove the pimple, move the needed structures to
3478 the header file. Create accessor for the positions stack.
3479 (asPosIterator): remove function
3481 * PosIterator.C (PosIterator): move constructors to top of file
3482 (PosIterator): reimplement the constructor taking a ParIterator in
3484 (setFrom): new function
3485 (operator!=): inline it
3487 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
3489 * lyxfind.C (replaceAll): use std::advance
3491 * iterators.h: inherit from std::iterator.
3493 * PosIterator.C (advance, distance): remove
3494 * PosIterator.h: interit from std::iterator.
3496 2004-01-26 André Pönitz <poenitz@gmx.net>
3499 * BufferView_pimpl.[Ch]:
3503 * bufferview_funcs.C:
3513 * output_linuxdoc.C:
3514 * output_plaintext.C:
3516 * paragraph_funcs.[Ch]:
3517 * paragraph_pimpl.[Ch]:
3523 * text3.C: more IU: dumps most of the rest of the mathcursor
3524 implementation into cursor.[Ch]; "globalize" a bit of it.
3526 2004-01-25 Angus Leeming <leeming@lyx.org>
3528 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3530 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3532 * LaTeXFeatures.h: add nice_ and nice() const
3533 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3535 2004-01-20 André Pönitz <poenitz@gmx.net>
3538 * BufferView_pimpl.C:
3540 * bufferview_funcs.C:
3542 * cursor_slice.[Ch]:
3553 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3554 LCursor and mathcursor parts to LCursor and InsetBase.
3556 2004-01-15 André Pönitz <poenitz@gmx.net>
3558 * cursor_slice.[Ch]: add a few covienience functions
3560 * funcrequest.[Ch]: remove BufferView * member
3562 * BufferView_pimpl.C:
3569 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3571 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3573 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3574 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3576 2004-01-13 André Pönitz <poenitz@gmx.net>
3579 * lyxtext.h: hide cursor and selection anchor behind accessor function
3582 * BufferView_pimpl.[Ch]:
3584 * bufferview_funcs.C:
3594 * cursor_slice.[Ch]: some integer type changes for inset unification
3596 * lyxcursor.[hC]: remove, it's CursorSlice now.
3599 * BufferView_pimpl.[Ch]:
3600 * bufferview_funcs.C:
3606 * textcursor.[Ch]: adjust
3608 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3610 * text2.C (undoSpan): add and use
3611 * text.C (breakParagraph): use undoSpan (fix bug 578)
3614 2004-01-08 Angus Leeming <leeming@lyx.org>
3616 * BufferView_pimpl.C (MenuInsertLyXFile):
3617 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3618 * lyxfunc.C (menuNew, open, doImport):
3619 FileFilterList change to the FileDialog open and save functions.
3621 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
3623 * ShareContainer.h: make isEqual and isUnique adaptable
3625 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3627 2004-01-07 Angus Leeming <leeming@lyx.org>
3630 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3632 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3634 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3635 functions replacing find, replace and replaceAll.
3637 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3638 LFUN_WORDFIND(FORWARD|BACKWARD).
3640 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3642 * text.C (breakParagraph): remove an outdated #warning
3644 2004-01-07 André Pönitz <poenitz@gmx.net>
3646 * lyxfind.C: somewhat clearer logic
3648 * text.C: prevent crash in cursorX on unitialized row cache
3650 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3652 * lyxcursor.[Ch] (operator>): add
3653 * textcursor.C (selStart, selEnd): use std::min and std::max
3655 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3657 * Chktex.C: include boost/format.hpp
3659 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3661 * InsetList.C: replace functor MathcIt with adaptable functor
3663 (insetIterator): modify accordingly
3665 * BranchList.h: move the BranchNamesEqual functor here from...
3666 * BranchList.C: ... to here
3668 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3670 (add): replace a finding loop with std::find_if.
3672 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3674 * output_docbook.C: moving LatexParam functionality into
3677 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3679 * buffer.C: increment format to 229.
3681 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3684 * lyx_sty.[Ch]: remove minipageindent_def
3690 * text3.C: remove LFUN_INSET_MINIPAGE
3692 2003-12-28 Angus Leeming <leeming@lyx.org>
3694 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3696 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3698 * text2.C (setParagraph): fix off-by-one crash
3700 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3702 * output_docbook.C: header stuff for AGU
3704 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3706 * text2.C (redoCursor): remove
3709 * BufferView_pimpl.C: remove calls to redoCursor and
3710 setCursor(cursor.par(), cursor.pos()) all around
3712 2003-12-15 Angus Leeming <leeming@lyx.org>
3714 * buffer.C: up the format to 228.
3716 2003-12-15 André Pönitz <poenitz@gmx.net>
3718 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3723 * BufferView_pimpl.C:
3732 2003-12-15 Angus Leeming <leeming@lyx.org>
3734 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3735 than getFromGUIName to manipulate the color.
3737 2003-12-14 Angus Leeming <leeming@lyx.org>
3739 * BranchList.[Ch]: minimize the API.
3740 (Branch::getBranch, getColor): now return a 'const &'.
3741 (Branch::setSelected) now returns a bool set to true if the
3742 selection status changes.
3743 (BranchList::clear, size, getColor, setColor, setSelected,
3744 allBranches, allSelected, separator): removed.
3745 (BranchList::find): new functions, returning the Branch with
3747 (BranchList::add, remove): return a bool indicating that
3748 the operation was successful.
3750 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3751 new InsetBranch::isBranchSlected member function.
3753 * LColor.[Ch]: mimimize the API.
3754 (fill): renamed as addColor and made private.
3755 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3756 versions of these functions taking a string arg have been removed.
3758 * bufferparams.C (readToken):
3759 * lyxfunc.C (dispatch):
3760 * lyxrc.C (read): changes due to the altered BranchList and
3763 * factory.C (createInset, readInset): changes due to altered
3766 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3769 * lyxfunc.C: remove insetminipage. "minipage-insert"
3770 now produces a frameless minipage box inset.
3772 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3774 * textcursor.[Ch] (selStart,selEnd): add new methods
3775 remove selection::start, end, use LyXCursor::operator<
3776 * lyxcursor.[Ch] (operator<): add
3777 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3778 * BufferView.[Ch] (unsetXSel): add
3779 * text2.C (clearSelection): use unsetXSel,adjust
3782 * rowpainter.C: adjust
3783 * bufferview_funcs.C (put_selection_at): adjust
3785 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3787 * BufferView_pimpl.C: small coord. correction
3789 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3791 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3792 dragging over the splash screen.
3794 2003-12-11 Angus Leeming <leeming@lyx.org>
3796 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3797 as it is now handled in LyXText::dispatch.
3799 * text3.C (doInsertInset): remove a level of nesting.
3801 2003-12-11 Angus Leeming <leeming@lyx.org>
3803 * factory.C (createInset): changes due to the changed interface to
3804 InsetCommandMailer::string2params.
3806 2003-12-10 Angus Leeming <leeming@lyx.org>
3808 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3809 'dialog-show-new-inset <inset name>'
3811 2003-12-10 Angus Leeming <leeming@lyx.org>
3813 * buffer.C: up the format to 227.
3815 * factory.C: the box inset is now identified simply by 'Box'.
3817 2003-12-10 Angus Leeming <leeming@lyx.org>
3819 * buffer.C: up the format to 226.
3821 * factory.C: the note inset is now identified simply by 'Note'.
3823 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3825 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3826 when a pit is enough. Standarize a couple of loops.
3828 2003-12-05 Angus Leeming <leeming@lyx.org>
3830 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3831 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3832 data to the re-worked "log" dialog.
3834 2003-12-03 André Pönitz <poenitz@gmx.net>
3840 * paragraph_funcs.C:
3842 * text2.C: use Inset::getText instead of Inset::getParagraph
3844 2003-12-03 André Pönitz <poenitz@gmx.net>
3848 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3849 InsetText::read() as LyXText::read()
3851 2003-12-02 Angus Leeming <leeming@lyx.org>
3853 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3854 type. Add a comment in the implementation that the function uses
3855 the stream's bad() function rather than fail() as the std::streams
3858 2003-12-02 André Pönitz <poenitz@gmx.net>
3860 * lyxlex.[Ch]: make interface more similar to std::stream
3862 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3864 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3866 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3868 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3870 * vspace.[Ch]: remove VSpace::NONE
3872 2003-12-01 André Pönitz <poenitz@gmx.net>
3875 * lyxtext.h: move ParagraphList member to LyXText
3876 rename LyXText::ownerParagraphs to LyXText::paragraph
3879 * bufferview_funcs.C:
3889 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3891 * undo.C: fix cursor positioning
3893 2003-12-01 John Levon <levon@movementarian.org>
3895 * BufferView_pimpl.C: fix a crash on exit with
3898 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3900 * BranchList.C: fix setSelected() method.
3902 2003-11-28 André Pönitz <poenitz@gmx.net>
3904 * ParagraphParameters.[Ch]:
3905 * ParameterStruct.h: remove space above/below from Paragraph to
3908 * BufferView_pimpl.C:
3914 * paragraph_funcs.C:
3920 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3922 * factory.C: Syntax change for CharStyles
3924 2003-11-28 André Pönitz <poenitz@gmx.net>
3929 * buffer.[Ch]: move LyXText member
3931 2003-11-28 André Pönitz <poenitz@gmx.net>
3933 * BufferView.[Ch]: make LyXText * text a private member
3935 * BufferView_pimpl.C:
3946 * output_plaintext.C: cleanup
3948 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3951 * lyxtextclass.[Ch]: parametrize SGML document header
3953 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3956 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3959 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3961 * text2.C (setFont): rework using PosIterator (no more recursive)
3962 (setCharFont): no more needed
3963 (setLayout): no more selection cursors fiddling (done by redoCursor)
3964 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3965 destroy remaining ones)
3967 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3969 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3971 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3974 * text3.C: adjust + re-allow multi par depth changes
3975 * textcursor.C: simplify a bit
3977 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3983 * src/output_docbook.C:
3984 * src/output_latex.C:
3989 * src/text2.C: Introducing a number of tags parametrizing various
3990 XML formats that we may want to support
3992 2003-11-25 André Pönitz <poenitz@gmx.net>
3994 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3996 * lyxtext.h (leftMargin/rightMargin): simplify interface
4003 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4005 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4006 master file to any child files. Fixes bug 546.
4008 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4010 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4012 2003-11-24 André Pönitz <poenitz@gmx.net>
4014 * rowpainter.C: simplification
4016 * text2.C (updateCounters): remove call to redoParagraph on
4017 changed labels as this is far too expensive.
4019 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4021 * converter.C (convert): fix a crash: this function gets
4022 called with buffer == 0 from importer code.
4024 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
4026 * text3.C (cursorPrevious): make sure that we do not compare
4027 iterators form different containers.
4030 * rowpainter.C (paintSelection): make sure that we do not compare
4031 iterators from different containers.
4033 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4034 iterators from different ParagraphList containers.
4037 * text2.C (LyXText): change order of initialization slightly
4038 (operator=): new function. copy all variables except cache_par_
4039 (moveUp): make sure that we do not compare iterators from
4040 different ParagraphList constainers.
4043 * text.C (firstPar): new function
4044 (lastPar): new function
4045 (endPar): new function
4047 * lyxtext.h: move things around and group public functions, public
4048 variables, private functions, private variables
4050 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4052 * factory.C: change call to InsetERT constructor to avoid
4053 additional invocation of method status
4054 * text2.C (toggleInset): remove redundant update() call
4055 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4056 instead of a Bufferview pointer
4058 2003-11-21 André Pönitz <poenitz@gmx.net>
4060 * rowpainter.C: simplification
4062 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4064 * text3.C (dispatch): make possible to extend a word/row selection
4067 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4069 * lyxtext.h: x0_,y0_ -> xo_,yo_
4070 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4071 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4072 * rowpainter.C (paintRows): paint full paragraphs
4074 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4076 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4079 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4081 * lyxtext.h: add x0_, y0_
4082 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4083 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4085 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4087 * text2.C (setCursorIntern): move the x_target update here *
4088 * text3.C: change some bv() to true/false in calls to
4089 cursorUp/Down/Right/Left
4090 * cursor.C: use helper function.
4092 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4094 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4095 * paragraph_funcs.[Ch]: correct comment
4096 * rowpainter.C: do not paint selections away from bv->cursor()
4097 Fix a long standing selection painting bug.
4098 * text3.C: generalize mouse-selection code to LyXTexts other that
4100 * textcursor.C: do not use y coords if we can use par offsets
4102 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4104 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4105 cursor position after e.g. inset insert)
4107 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4109 * lyxfind.C (replace): adjust to locking removal + some
4112 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4114 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4117 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4120 * output_docbook.C: XML sanitation: new layout
4121 parameters InnerTag and CommandDepth
4123 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4125 * BufferView_pimpl.C:
4127 * text3.C: Fix the insertion and modification of button-style
4130 2003-11-13 André Pönitz <poenitz@gmx.net>
4132 * InsetList.[Ch]: remove deleteLyXText
4134 * paragraph.[Ch]: cache beginOfBody position
4139 * text3.C: remove superfluous update() calls
4143 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4145 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4146 * BufferView.C (fitLockedInsetCursor): remove
4147 * cursor.[Ch] (getDim): add
4148 * text.C (getRowNearY): add faster version
4149 * text3.C: remove some update calls
4151 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4163 * text3.C: The Character Style /XML short element patch.
4165 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4168 * factory.C: Small step to solving 'unable to insert some insets'
4171 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4173 * cursor.[Ch] (updatePos): new function for updating the y
4174 position of the tip inset
4175 * bufferview_funcs.C (put_selection_at):
4176 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4178 2003-11-11 André Pönitz <poenitz@gmx.net>
4180 * text.C: remove big comment on invalid Paragraph pointers as it is
4183 2003-11-11 André Pönitz <poenitz@gmx.net>
4185 * text_funcs.[Ch]: merge with ...
4193 * Makefile.am: remove text_funcs.[Ch]
4195 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4197 * cursor.C (getPos): return absolute cached y coord
4199 * BufferView_pimpl.C (fitCursor): new simplistic code
4200 (workAreaDispatch): add a fitCursor call
4202 2003-11-10 André Pönitz <poenitz@gmx.net>
4205 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4207 2003-11-10 André Pönitz <poenitz@gmx.net>
4209 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4210 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4211 indicate that the cursor needs to leave an inset
4213 * lyxtext.h: remove inset locking
4215 * cursor.[Ch]: re-implement functionality provided by inset locking
4218 * BufferView_pimpl.[Ch]:
4220 * bufferview_funcs.[Ch]:
4232 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4234 * PosIterator.[Ch]: replace the stack with a vector, add inset
4236 * iterators.[C]: adjust
4238 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4240 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4242 * paragraph_funcs.C (readParToken): put the correct id in the
4243 error item, not the id of the top paragraph
4245 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4247 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4248 * bufferview_funcs.C (put_selection_at): use the above
4250 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4252 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4254 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4256 * output_linuxdoc.h:
4257 * output_plaintext.h:
4259 * output_docbook.h: add #include statements
4261 2003-11-05 José Matos <jamatos@lyx.org>
4263 * output_docbook.[Ch]:
4264 * output_latex.[Ch]:
4265 * output_linuxdoc.[Ch]:
4266 * output_plaintext.[Ch]: New files for output formats.
4267 * output.[Ch]: New file for helper functions.
4270 * paragraph_funcs.[Ch]: output functions moved to new files.
4272 * outputparams.h: rename of latexrunparams.h
4280 * paragraph_funcs.[Ch]:
4281 * paragraph_pimpl.[Ch]:
4282 * tabular.[Ch]: rename ascii to plaintext
4283 and LatexRunParams to OutputParams.
4285 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4287 * iterators.[Ch] (text): require bv argument
4288 * undo.C (recordUndo):
4289 * lyxfunc.C (dispatch):
4290 * bufferview_funcs.C (put_selection_at): adjust
4292 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
4294 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4296 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4298 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4301 2003-11-04 André Pönitz <poenitz@gmx.net>
4303 * cursor.[Ch]: restructure
4306 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4308 * iterators.[Ch] (asCursor): remove
4310 * lfuns.h: remove LFUN_INSET_EDIT
4316 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4318 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4320 * lyxfind.[Ch]: complete overhaul
4321 * BufferView_pimpl.C:
4323 * paragraph.[Ch] (insert): add
4325 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4329 * text.C: remove dead spellcheck code
4331 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4333 * dispatchresult.h: add a val setter
4335 * cursor.C (dispatch): use a tempvar for data_[i]
4337 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4339 * PosIterator.[Ch]: compile fix
4341 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4343 * text.C (cursorPar): deactivate the cursor cache
4345 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4347 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4349 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4351 * text3.C (dispatch): adjust for new DisptchResult semantics.
4353 * lyxfunc.C (dispatch): handle update when return from
4354 Cursor::dispatch, adjust for new DispatchResult semantics.
4356 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4357 DispatchResult(true) mean to not update. Add class functions for
4358 setting dispatched and update, as well as reading.
4360 * cursor.C (dispatch): don't handle update here
4362 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4364 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4365 * trans_mgr.C: adjust
4367 * paragraph_funcs.C (readParToken): exception safety
4369 * lyxvc.h: store the vcs pointer in a scoped_ptr
4372 * lyxsocket.C (serverCallback): exception safety
4374 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4376 * ispell.C (clone): make it return a auto_ptr
4378 * factory.C (createInset): exception safety
4379 (readInset): exception safety
4381 * bufferlist.C (newBuffer): exception safety
4383 * Thesaurus.C (Thesaurus): use initialization for aik_
4385 * MenuBackend.C (expandToc): exception safety.
4387 2003-11-03 André Pönitz <poenitz@gmx.net>
4391 * bufferview_funcs.C: remove getInsetFromId()
4394 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4400 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4402 * PosIterator.C (distance, advance): new
4403 * bufferview_funcs.[Ch] (put_selection_at): new
4404 * iterators.[Ch] (lockPath): new
4406 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4408 * iterators.[Ch] (asPosIterator): added
4409 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4410 * PosIterator.[Ch]: added
4412 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4416 * cursor.C (dispatch):
4417 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4419 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4420 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4421 contructor, add a class function dispatched. Remove operator>=
4423 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4425 * debug.C: only use the default constructor for debugstream
4428 * main.C (main): include debug.h and setup the lyxerr streambuf
4431 2003-10-31 José Matos <jamatos@lyx.org>
4433 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4435 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4436 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4437 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4438 * paragraph_pimpl.C (simpleTeXSpecialC):
4439 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4440 add LatexRunParams argument.
4442 * exporter.C (Export): change call accordingly.
4444 * latexrunparams.h: add new member to take care of the other backends.
4445 2003-10-30 José Matos <jamatos@lyx.org>
4447 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4448 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4449 factorise code for paragraph output.
4451 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4454 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4456 * text3.C (dispatch):
4457 * lyxfunc.C (dispatch):
4458 * cursor.C (dispatch):
4459 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4461 * dispatchresult.h: make the dispatch_result_t ctor explicit
4463 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4466 * buffer.C: small refactoring of docbook stuff
4468 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4470 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4473 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4475 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4476 operator dispatch_result_t, and operators for == != and >=
4478 * cursor.C (dispatch): adjust for operator dispatch_result_t
4479 removal. comment out call to update
4481 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4483 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4491 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4494 * dispatchresult.h: new file, DispatchResult broken out of
4497 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4499 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4501 * text.C (rowBreakPoint): put a hack inside #if 0
4503 2003-10-28 André Pönitz <poenitz@gmx.net>
4507 * paragraph_funcs.C:
4510 * text2.C: general cleanup (lots of small stuff)
4512 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4514 * text2.C (cursorEnd): simple fix to the "end key goes to one
4515 before the end on last row" bug
4517 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4519 * text.C (backspace): fix the "zombie characters"
4521 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4523 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4525 2003-10-27 André Pönitz <poenitz@gmx.net>
4527 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4529 * factory.C: handle new InsetPagebreak, InsetLine
4531 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4532 and move handling into new InsetPagebreak, InsetLine
4534 * BufferView_pimpl.C:
4536 * ParagraphParameters.C:
4537 * ParameterStruct.h:
4542 * paragraph_funcs.C:
4543 * paragraph_pimpl.C:
4549 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4552 * lyxrow_funcs.[Ch]:
4558 * text3.C: remove lastPos uses in favour of Row::endpos
4560 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4562 * undo.C (performUndoOrRedo): fix two crashes by setting a
4563 cursor by hand and reordering some calls. Use bv->lockInset instead
4564 of inset->edit because the latter loses cursor information
4566 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4568 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4570 (rowBreakPoint): fix width. change point to point + 1.
4571 Add a missing check.
4573 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4576 * lyxfunc.C: fix (at least partly) the problems
4577 with the Nav menu and headers inside branch insets
4580 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4582 * paragraph.C (getChar): add strong asserts
4584 * lyxrow_funcs.C (lastPos): remove hideous hack
4586 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4587 (fill): adjust to that (avoid an infinite loop)
4589 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4591 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4593 2003-10-23 André Pönitz <poenitz@gmx.net>
4595 * RowList_fwd.h: change list<> to vector<> to gain speed
4596 after suggestion from Alfredo
4598 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4600 * lyxtext.h: move the bidi stuff from here...
4603 * Bidi.[Ch]: ... to here
4605 2003-10-23 André Pönitz <poenitz@gmx.net>
4608 * text.C (isLastRow, isFirstRow): new functions
4610 * paragraph.h: new width cache member
4612 * rowpainter.C: replace RowList::iterator with Row & where possible
4614 * lyxfunc.C: replace several view()->text with a single call
4616 * toc.C: fix 'unused' warning
4618 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4620 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4621 when woring with stream::pos_type
4622 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4624 2003-10-22 André Pönitz <poenitz@gmx.net>
4627 * text.C: use Row & instead of RowList::iterator
4629 * lyxrow.h: rename end() to endpos()
4635 2003-10-22 Angus Leeming <leeming@lyx.org>
4637 * buffer.[Ch] (fully_loaded): new member function, returning true
4638 only when the file has been loaded fully.
4639 Used to prevent the premature generation of previews and by the
4640 citation inset to prevent computation of the natbib-style label.
4642 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4643 templates are all set up.
4645 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4647 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4649 * text.C: fixed an "oops" in the "is a bit silly"
4652 2003-10-21 André Pönitz <poenitz@gmx.net>
4654 * FuncStatus.[Ch]: small stuff, whitespace
4656 * lyxfont.[Ch]: operator<<() for debug reasons
4660 * lyxtext.h: whitespace, spelling
4662 * paragraph.C: naming of variables
4665 * text2.C: small stuff
4668 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4670 * text.C: (1) finish off the inset display() work;
4671 (2) fix the "is a bit silly" bug (accessing char
4674 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4676 * text.C: re-introduce display() for insets, fixing the
4677 various bugs (stretch of line above, math inset
4680 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4682 * text.C (rightMargin): remove spurious semicolon
4684 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4687 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4689 * text3.C: fix one crash due to wrong cursor def
4691 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4693 * vc-backend.C (scanMaster): make the regex static
4695 * LaTeX.C (scanAuxFile): make the regexs static
4697 * text3.C (doInsertInset, dispatch, dispatch):
4698 * text2.C (cursorUp, cursorDown):
4699 * text.C (selectNextWordToSpellcheck):
4700 * BufferView_pimpl.C (dispatch):
4701 * lyxfunc.C (dispatch): localDispatch -> dispatch
4703 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4705 * lyxsocket.C: include <cerrno>
4707 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4709 * lyxfunc.C (dispatch): remove textcache stuff
4711 * bufferlist.C (release): remove textcache stuff
4714 * TextCache.C: delete file
4715 * TextCache.h: delete file
4717 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4719 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4720 delete of the bv_->text.
4721 (resizeCurrentBuffer): remove texcache stuff
4722 (workAreaResize): ditto
4724 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4726 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4729 2003-10-16 André Pönitz <poenitz@gmx.net>
4736 * text3.C: speed up by storing y positions per paragraph plus per-row
4737 offset instead of having a 'full' y position in the row.
4739 2003-10-15 André Pönitz <poenitz@gmx.net>
4743 * undo.[Ch]: make undo aware of inner insets
4745 2003-10-14 Angus Leeming <leeming@lyx.org>
4747 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4748 static member functions LyX::ref() and LyX::cref.
4749 (lastfiles): new accessor functions for the new lastfiles_ member var.
4750 (addLyXView, views_): add a new LyXView to the list of views_.
4751 (updateInset): loop over all LyXViews to call their own updateInset
4752 member function, returning a pointer to the Buffer owning the inset.
4754 * BufferView_pimpl.C (loadLyXFile):
4755 * MenuBackend.C (expandLastfiles):
4756 * bufferlist.C (MenuWrite, QuitLyX):
4757 lastfiles is no longer a global variable.
4758 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4760 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4761 static function. Access through LyX::cref().emergencyCleanup().
4763 2003-10-14 André Pönitz <poenitz@gmx.net>
4765 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4767 * undo.[Ch]: restoring part of 'undo in insets'
4770 * undo_funcs.[Ch]: merge with undo.[Ch]
4772 * tabular.C: small cleansing stuff
4774 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4776 * paragraph_funcs.C (readParToken): report unknown insets as error
4777 boxes. Use the outer paragraph as location (also for unknown
4780 * factory.C (readInset): do not abort on reading an unknown inset.
4781 Eat it and return 0.
4783 2003-10-13 Angus Leeming <leeming@lyx.org>
4785 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4787 * lyxrc.C: displayTranslator is now a function,
4788 declared in GraphicsTypes.h.
4790 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4792 * format.C: new placeholder $$a to pass the socket address.
4794 * bufferlist.[Ch]: new function getBufferFromTmp.
4796 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4797 files in the temporary dir.
4799 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4801 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4803 * Makefile.am: add lyxsocket.[Ch].
4805 * lyx_main.C (error_handler): handle SIGPIPE.
4807 2003-10-13 André Pönitz <poenitz@gmx.net>
4809 * BufferView_pimpl.C:
4814 * undo_funcs.[Ch]: use paroffset_type instead of
4815 ParagraphList::iterators to prevent multiple conversion
4816 (and get a more robust interface)
4818 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4820 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4822 * text3.C (dispatch): ditto
4824 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4826 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4827 move the onlyfile, use onlyfile instead of foundfile in a couple
4830 * DepTable.C (update): flush the error stream a bit more
4832 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4834 * lyxserver.C (callback): adjust
4836 * lyxfunc.C (getStatus): add a missing brace in commented code
4837 (ensureBufferClean): reindent
4838 (dispatch): delete version taking a string
4840 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4842 * LaTeX.C (deplog): move found file handlig from here...
4843 (handleFoundFile): .. to new function here.
4844 (deplog): make sure to discover several files mentioned on the
4847 2003-10-10 André Pönitz <poenitz@gmx.net>
4854 * text3.C: fix some of the tabular crashes
4856 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4858 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4860 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4862 2003-10-09 André Pönitz <poenitz@gmx.net>
4864 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4867 * BufferView_pimpl.C:
4868 * bufferview_funcs.C:
4879 * undo_funcs.C: adjust
4881 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4883 * text2.C (incrementItemDepth): new function, use a backtracking
4884 algorithm to discover the correct item depth.
4885 (resetEnumCounterIfNeeded): new function, use a backtracking
4886 algorithm to discover if counter reset is needed.
4887 (setCounter): use them. Simplify a bit. Add different labels for
4888 different item depths for itemize.
4890 * paragraph.C (Paragraph): remove initialization of enumdepth
4893 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4894 enumerate and itemize. Change the type of itemdepth to signed char.
4896 2003-10-08 André Pönitz <poenitz@gmx.net>
4898 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4903 * tabular.[Ch]: fix crash after 'row-insert'
4905 2003-10-08 Angus Leeming <leeming@lyx.org>
4907 Fix doxygen warnings.
4909 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4910 Remove CutAndPaste:: prefix from header file declaration.
4912 * LColor.h (fill): remove LColor:: prefix from declaration.
4914 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4915 use lyx::depth_type rather than Paragraph::depth_type so that
4916 header file and .C file match.
4918 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4920 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4921 * aspell.C: \file aspell_local.C -> \file aspell.C
4922 * gettext.C: \file gettext.C -> \file src/gettext.C
4923 * gettext.h: \file gettext.h -> \file src/gettext.h
4924 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4925 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4926 * text.C: \file text.C -> \file src/text.C
4928 * toc.C: move comment so that doxygen is not confused.
4930 2003-10-07 Angus Leeming <leeming@lyx.org>
4932 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4934 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4937 * aspell_local.h: add forgotten std::string's.
4939 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4946 * text3.C: The Box patch. Fancybox support, minipage, parbox
4948 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4954 * ParagraphParameters.h:
4964 * lyxtextclasslist.h:
4967 * paragraph_pimpl.C:
4968 * textcursor.h: add <string> and other small fixes to make Lars'
4969 std::string patch compile with STLport.
4971 2003-10-06 Angus Leeming <leeming@lyx.org>
4973 * LColor.h: Add missing #include <string>.
4975 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4977 * All most all file in all subdirs: Make <string> be the prefered
4978 way of getting to std::string, add using declarations.
4980 2003-10-06 André Pönitz <poenitz@gmx.net>
4982 * metricsinfo.C: initialize LyXFont before changing attribute.
4983 (fixes the 'math in \emph is upright' bug)
4985 2003-10-06 André Pönitz <poenitz@gmx.net>
4987 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4989 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4992 * paragraph_pimpl.C: Small fixes to build using STLport
4994 2003-10-02 André Pönitz <poenitz@gmx.net>
4997 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4999 2003-10-01 André Pönitz <poenitz@gmx.net>
5001 * factory.C: assert early
5003 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5005 * lyx_main.C: remove the global debug object
5007 * debug.h: adjust for new debugstream
5009 * debug.C: adjust for new debugstream and keep the global debug
5012 2003-09-22 Angus Leeming <leeming@lyx.org>
5014 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5015 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5016 an incomplete class LyXFont.
5018 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5020 * factory.C: bug fix in branches
5022 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5024 * lyxfunc.C (processKeySym): adjust
5026 (dispatch): change arg name from ev to func, adjust
5027 (sendDispatchMessage): ditto
5029 * lyx_main.C (defaultKeyBindings): adjust keybindings
5030 (deadKeyBindings): ditto
5032 * kbsequence.C (addkey): return a FuncRequest
5034 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5036 * kbmap.C (bind): take a FuncRequest as arg, adjust
5039 (defkey): change to take a FuncRequest as arg, adjust
5040 (findbinding): take a FuncRequest as arg, adjust.
5042 * funcrequest.h (operator=): added
5044 * funcrequest.C (FuncRequest): default kb_action changed from
5045 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5047 * buffer.C (dispatch): simplify
5048 (dispatch): adjust to take a FuncRequest as arg, adjust
5050 * boost.C (assertion_failed): change assertion message slightly
5052 * ToolbarBackend.C (read): simplify
5054 * MenuBackend.C (binding): adjust call to findbinding, add a
5055 message if no binding is found.
5057 (expandToc): correct by adding a empty FuncRequest
5059 * LyXAction.C: include <boost/assert.hpp>
5060 (isPseudoAction): delete function
5061 (LookupFunc): change name to...
5062 (lookupFunc): this. change return type to FuncRequest.
5063 (getActionName): take kb_action as arg, simplify
5064 (funcHasFlag): add an assert, simplify.
5066 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5068 * toc.C (action): return a FuncRequest, simplify
5070 * lyxfunc.C (processKeySym): adjust
5071 (getStatus): delete version that takes an int.
5073 (dispatch): delete version that takes action as int
5075 (sendDispatchMessage): simplify and adjust
5077 * funcrequest.C (getArg): take unsigned int as arg
5079 * ToolbarBackend.C (read): adjust
5080 (add): delete version that takes func as a string.
5081 (getIton): take a FuncRequest as arg
5083 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5086 * MenuBackend.C (MenuItem): add a new construct that only takes a
5087 Kind, simplify the constructor use for submenus.
5089 (expandLastfiles): adjust
5090 (expandDocuments): adjust
5091 (expandFormats): adjust
5092 (expandFloatListInsert): adjust
5093 (expandFloatInsert): adjust
5094 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5096 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5097 Remove class variables lyx_pseudo_map and lyx_arg_map
5099 * LyXAction.C (searchActionArg): delete function
5100 (getPseudoAction): delete function
5101 (retrieveActionArg): delete function
5102 (LookupFunc): make it return kb_action, simplify.
5103 (getActionName): simplify
5105 * factory.C (createInset): fix new bug
5107 2003-09-19 Angus Leeming <leeming@lyx.org>
5109 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5110 masterFilename_ parameter in the include inset.
5112 * factory.C (createInset): changes due to the changes to InsetInclude.
5114 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5116 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5118 2003-09-18 Angus Leeming <leeming@lyx.org>
5121 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5122 Inset::fillWithBibKeys.
5123 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5125 2003-09-18 Angus Leeming <leeming@lyx.org>
5127 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5129 (ctor): pass and store a 'Buffer const &'
5130 (buffer): new member function.
5132 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5133 '*this' to the LaTeXFeatures ctor.
5135 2003-09-18 Angus Leeming <leeming@lyx.org>
5141 * text.C: rename EnumLColor as LColor_color.
5143 2003-09-18 Angus Leeming <leeming@lyx.org>
5145 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5146 remove #include "insets/insetbase.h" from cursor.h.
5148 2003-09-18 Angus Leeming <leeming@lyx.org>
5150 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5151 InsetOld_code to remove #include "inset.h".
5153 * iterators.C: add #include "insets/inset.h"
5155 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5157 * BufferView.C: remove more locking stuff that apparently doesn't
5158 do anything sensible.
5160 2003-09-16 André Pönitz <poenitz@gmx.net>
5163 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5166 2003-09-16 Angus Leeming <leeming@lyx.org>
5168 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5170 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5173 * paragraph.h: remove #include "lyxfont.h". Forward declare
5176 2003-09-16 Angus Leeming <leeming@lyx.org>
5178 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5179 of support/textutils.h.
5180 (isWord): move the contents of support/textutils.h's IsWordChar here.
5186 * text2.C: add #include "paragraph.h".
5189 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5191 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5197 * LaTeX.C: use namespace alias for lyx::support::os
5199 2003-09-16 Angus Leeming <leeming@lyx.org>
5202 * bufferview_funcs.C:
5205 * paragraph_pimpl.C:
5207 * text.C: add #include "LColor.h".
5209 2003-09-16 Angus Leeming <leeming@lyx.org>
5211 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5212 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5214 Store the FontBits::color variable as an int rather than as an
5215 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5218 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5219 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5220 string calls together.
5222 * lyxrc.C: add #include "LColor.h".
5224 2003-09-15 Angus Leeming <leeming@lyx.org>
5226 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5229 2003-09-15 Angus Leeming <leeming@lyx.org>
5231 * LColor.h: add an EnumLColor wrapper for LColor::color.
5233 * lyxfont.[Ch] (color, setColor, realColor):
5234 * lyxtext.h, text.C (backgroundColor):
5235 pass EnumLColor args to/from the functions, rather than LColor::color
5239 * lyxtext.h: forward declare EnumLColor.
5241 * lyx_main.C: add #include "LColor.h".
5243 2003-09-15 Angus Leeming <leeming@lyx.org>
5245 * .cvsignore: add lyx-gtk.
5247 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5252 * ParagraphParameters.C
5256 * bufferview_funcs.C
5266 * vc-backend.C: remove usage of STRCONV
5268 2003-09-15 Angus Leeming <leeming@lyx.org>
5270 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5271 explicitly define the color passed to the painter.
5273 2003-09-15 Angus Leeming <leeming@lyx.org>
5275 * bufferparams.C (BufferParams): reorder member initializers to avoid
5278 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5280 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5281 * text.C (updateRowPositions): remove an unusual nop
5283 2003-09-12 André Pönitz <poenitz@gmx.net>
5285 * BufferView_pimpl.C:
5294 * Counters.[Ch]: finish the 'automatic counters' job
5296 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5298 * aspell.C: include <boost/assert.cpp> (compile fix)
5300 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5302 * boost.C (assertion_failed): use lyx::support::abort instead of
5305 2003-09-10 Angus Leeming <leeming@lyx.org>
5307 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5308 with their _fwd progeny.
5310 2003-09-09 Angus Leeming <leeming@lyx.org>
5312 134 files throughtout the source tree: replace 'using namespace abc;'
5313 directives with the appropriate 'using abc::xyz;' declarations.
5315 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5317 * boost.C (emergencyCleanup): moved here from LAssert.c
5318 (assertion_failed): new function, called by BOOST_ASSERT
5320 * several files: change Assert to BOOST_ASSERT
5322 2003-09-09 Angus Leeming <leeming@lyx.org>
5324 * buffer.[Ch]: Add an Impl class and move Buffer's member
5325 variables into it. As a result move several header files out of
5328 Add header files to lots of .C files all over the tree as a result.
5330 2003-09-09 Angus Leeming <leeming@lyx.org>
5332 * buffer.[Ch]: make Buffer's member variables private. Add
5335 Lots of changes all over the tree as a result.
5337 2003-09-08 Angus Leeming <leeming@lyx.org>
5339 * graph.C: #include <config.h>.
5341 2003-09-08 Angus Leeming <leeming@lyx.org>
5345 * BufferView_pimpl.C:
5374 * toc.C: remove redundant using directives.
5376 2003-09-07 Angus Leeming <leeming@lyx.org>
5378 * LaTeXFeatures.h: remove #include "support/types.h".
5379 * ToolbarBackend.h: remove #include <algorithm>.
5380 * changes.h: remove #include <ctime>.
5381 * debug.h: remove #include <iosfwd>.
5382 * graph.h: remove #include "support/std_string.h".
5383 * lyx_main.h: remove #include <csignal>.
5384 * lyxlex_pimpl.h: remove #include <fstream>.
5385 * sgml.h: remove #include <algorithm>, <utility>.
5386 * toc.h: remove #include "support/std_ostream.h".
5387 Add #include <iosfwd>.
5389 2003-09-07 Angus Leeming <leeming@lyx.org>
5391 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5393 * converter.h: forward declare LatexRunParams.
5394 * encoding.h: remove #include "lyxrc.h".
5395 * lyxtext.h: remove #include "LColor.h".
5396 * lyxtextclass.h: remove #include "support/types.h".
5397 * trans.h: remove #include "tex-accent.h".
5398 * trans_mgr.h: remove #include "tex-accent.h".
5399 * insets/inset.h: remove #include "support/types.h", <vector>.
5400 * insets/insetcollapsable.h: remove #include "LColor.h".
5401 * insets/insetinclude.h: remove #include "dimension.h".
5402 * insets/insetlatexaccent.h: remove #include "dimension.h".
5403 * insets/insetoptarg.h:: remove #include "insettext.h".
5404 * insets/insettext.h: remove #include "dimension.h",
5405 <boost/shared_ptr.hpp>
5407 * insets/renderers.h: add #include "dimension.h".
5408 * insets/updatableinset.h: add #include "support/types.h".
5410 * many .C files: Associated changes.
5412 2003-09-06 Angus Leeming <leeming@lyx.org>
5414 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5415 one, inside testInvariant.
5417 * PrinterParams.C: new file.
5418 * PrinterParams.[Ch]: move the function bodies out of line.
5420 2003-09-06 Angus Leeming <leeming@lyx.org>
5422 * ParagraphParameters.h: forward declare ParameterStruct rather than
5423 including its header file.
5424 (depth): moved out-of-line.
5426 2003-09-06 Angus Leeming <leeming@lyx.org>
5428 * BufferView_pimpl.h:
5431 * lyxfunc.h: forward declare LyXKeySym rather than
5432 #include "frontends/LyXKeySym.h".
5434 * BufferView_pimpl.C:
5437 * lyxfunc.C: associated changes.
5439 2003-09-06 Angus Leeming <leeming@lyx.org>
5441 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5442 As a result, can remove the #include "insets/inset.h" from BufferView.h
5444 2003-09-06 Angus Leeming <leeming@lyx.org>
5446 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5447 As a result, can remove the #include "insets/inset.h" from BufferView.h
5449 2003-09-06 Angus Leeming <leeming@lyx.org>
5455 * bufferview_funcs.C:
5456 * BufferView_pimpl.C:
5461 * ParagraphParameters.C:
5466 * frontends/controllers/ControlDocument.C:
5467 * insets/insetcaption.C: rearrange the #includes into some sort of
5470 * buffer.h: remove #includes ErrorList.h, undo.h
5472 2003-09-06 Angus Leeming <leeming@lyx.org>
5474 * support/types.h: add a 'depth_type' typedef, used to store the
5475 nesting depth of a paragraph.
5478 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5479 defining explicitly.
5482 * paragraph_funcs.h:
5483 * ParagraphParameters.h:
5484 * sgml.h: use lyx::depth_type rather than Paragraph or
5485 ParameterStruct's depth_type.
5488 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5491 * BufferView_pimpl.C:
5493 * ParagraphParameters.C:
5496 * bufferview_funcs.C:
5503 * frontends/LyXView.C:
5504 * frontends/controllers/ControlDocument.C:
5505 * frontends/controllers/ControlErrorList.C:
5506 * insets/insetbibitem.C:
5507 * insets/insetbranch.C:
5508 * insets/insetcaption.C:
5509 * insets/insetcollapsable.C:
5510 * insets/insetenv.C:
5511 * insets/insetert.C:
5512 * insets/insetfloat.C:
5513 * insets/insetfoot.C:
5514 * insets/insetfootlike.C:
5515 * insets/insetnewline.C:
5516 * insets/insetquotes.C:
5517 * insets/insettabular.C:
5518 * insets/insettext.C:
5519 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5521 * frontends/controllers/ControlChanges.C: #include "changes.h".
5523 2003-09-06 Angus Leeming <leeming@lyx.org>
5525 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5526 than #including paragraph.h.
5529 * RowList.h: deleted. Superfluous.
5539 * insets/insettext.h: use ParagraphList_fwd.h rather than
5542 * paragraph.h: don't forward declare ParagraphList.
5545 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5546 rather than ParagraphList.h. paragraph.h is still needed for the
5547 Paragraph::depth_type parameters.
5549 * textcursor.h: enable it to compile stand-alone in light of the
5552 * bufferview_funcs.C:
5564 * frontends/controllers/ControlParagraph.C:
5565 * frontends/controllers/ControlTabular.C:
5566 * insets/insetmarginal.C:
5567 * insets/insetminipage.C:
5568 * insets/insetnote.C:
5569 * insets/insetoptarg.C: add header files needed to compile again.
5571 2003-09-06 Angus Leeming <leeming@lyx.org>
5573 * RowList_fwd.h: new file, forward-declaring Row rather than
5574 #including lyxrow.h.
5579 * insets/insettext.h: use it instead of RowList.h
5581 * bufferview_funcs.C:
5588 * text3.C: #include "RowList.h".
5590 2003-09-05 Angus Leeming <leeming@lyx.org>
5592 * factory.C (createInset):
5593 * vspace.C (c-tor): replace sscanf call with an istringstream.
5594 * ispell.C: re-add missing HP/UX headers.
5595 * lyxserver.C: re-add missing os2 headers.
5597 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5606 * text3.C: re-add missing system headers, needed for 2.95.2.
5608 2003-09-05 Angus Leeming <leeming@lyx.org>
5610 Changes most place everywhere due to the removal of using directives
5611 from support/std_sstream.h.
5613 2003-09-05 Angus Leeming <leeming@lyx.org>
5615 Replace LString.h with support/std_string.h,
5616 Lsstream.h with support/std_sstream.h,
5617 support/LIstream.h with support/std_istream.h,
5618 support/LOstream.h with support/std_ostream.h.
5620 Changes resulting throughout the tree.
5622 2003-09-05 Angus Leeming <leeming@lyx.org>
5624 * sgml.h: ensure that the header file can be compiled stand-alone.
5625 * *.C: strip out redundant #includes. (320 in total.)
5627 2003-09-04 Angus Leeming <leeming@lyx.org>
5629 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5630 here (from getPackages).
5632 * debug.[Ch]: add a new EXTERNAL tag.
5634 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5636 * text2.C (cursorEnd): simplify
5638 (getColumnNearX): adjust
5640 * text.C (computeBidiTables): adjust
5643 * rowpainter.C (paintChars): adjust
5644 (paintSelection): adjust
5645 (paintChangeBar): adjust
5648 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5650 (numberOfSeparators): adjust
5652 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5658 * text3.C: Restricts the mouse click functionality
5659 of insets like bibtex, include, toc and floatlist to the visible
5660 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5661 up the dialogs. Cursor has to be in front of the inset (i.e.
5662 start of row) for this to function.
5664 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5666 * bufferview_funcs.C (currentState): output row information
5668 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5670 * bufferview_funcs.C (currentState): output paragraph position
5672 2003-09-04 Angus Leeming <leeming@lyx.org>
5674 * FloatList.h: move out #include "Floating.h".
5675 * LaTeX.h: move out #include "DepTable.h".
5676 * LyXAction.h: move out #include "funcrequest.h".
5677 * buffer.h: move out #include "author.h", "iterators.h".
5678 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5679 * lyx_main.h: move out #include "errorlist.h".
5680 * lyxfunc.h: move out #include "FuncStatus.h".
5681 * lyxtext: move out #include "lyxcursor.h".
5682 * paragraph_pimpl.h: move out #include "counters.h".
5684 2003-09-03 Angus Leeming <leeming@lyx.org>
5686 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5687 preamble_snippets list, enabling us to add snippets to the preamble
5688 only if the snippet was not there already.
5690 2003-09-04 Angus Leeming <leeming@lyx.org>
5692 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5694 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5696 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5699 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5701 * BranchList.C: point fix, earlier forgotten
5703 2003-09-02 Angus Leeming <leeming@lyx.org>
5705 * box.C (contains): renamed from 'contained' after a fantastic
5708 2003-09-02 John Levon <levon@movementarian.org>
5714 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5716 2003-09-02 John Levon <levon@movementarian.org>
5718 * text2.C: simplification of cursorEnd(), including partial
5721 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5723 * buffer.C (readFile): add a space
5725 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5727 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5729 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5731 * buffer.C (readFile): new function, take a filename and a
5732 ParagraphList::iterator
5734 (readFile): adjust, make it private. don't use setStream, make
5735 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5736 always contain the filename.
5738 * BufferView.C (insertLyXFile): simplify and make it work for
5741 2003-08-30 John Levon <levon@movementarian.org>
5743 * Makefile.am: fix dist (from Kayvan)
5745 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5747 * most files: change to use const Buffer refs
5749 2003-08-27 André Pönitz <poenitz@gmx.net>
5751 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5752 on top of ownerPar().
5754 2003-08-27 John Levon <levon@movementarian.org>
5756 * funcrequest.C: properly initialise POD members
5758 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5760 * lyxtext.h (top_y): move top_y from here
5765 * BufferView_pimpl.[Ch]: to here
5766 * frontends/screen.C:
5767 * insets/insettabular.C:
5768 * insets/insettext.C: adjust
5769 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5771 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5774 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5776 2003-08-26 André Pönitz <poenitz@gmx.net>
5778 * paragraph_func.[Ch] (outerPar): new function
5781 * paragraph_funcs.C:
5782 * paragraph_funcs.h:
5783 * paragraph_pimpl.C:
5784 * text2.C: remove Inset::par_owner
5786 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5791 * text2.C: eliminates the needFullRow/display() stuff
5792 altogether, putting the logic in metrics/draw in the insets.
5794 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5796 * text2.C (redoParagraphInternal, redoParagraphs):
5797 * text.C (redoParagraph): add a call to updateRowPositions at the
5798 end of each 'metrics-like' call. Remove all others.
5799 (getRow): remove the 'y-computing' version.
5800 (getRowNearY): do not compute nor return the real y. Solve the
5801 'y < 0' problem and simplify.
5803 2003-08-22 Angus Leeming <leeming@lyx.org>
5805 * *.[Ch]: clean-up of licence and author blurbs.
5806 Also move config.h out of a few .h files and into a few .C files.
5808 2003-08-22 André Pönitz <poenitz@gmx.net>
5810 * lyxrow.[Ch]: add x_ and *fill_ members
5815 * text2.C: adjust/remove prepareToPrint() calls
5817 2003-08-22 André Pönitz <poenitz@gmx.net>
5819 * lyxrow.[Ch]: add end_ member
5821 * lyxrow_funcs.C: use LyXRow::end_
5823 * lyxtext.h (singleWidth): add LyXFont parameter
5826 * text2.C: adjust LyXText::singleWidth() calls
5828 * text.C (redoParagraph): simplify row breaking logic
5831 2003-08-19 André Pönitz <poenitz@gmx.net>
5833 * funcrequest.C: initialize button_ member
5836 * rowpainter.[Ch]: interface consolidation
5838 2003-08-18 André Pönitz <poenitz@gmx.net>
5841 * BufferView_pimpl.C:
5843 * paragraph_funcs.C:
5845 * text3.C: remove LyXScreen::draw() and fitCursor calls
5847 * BranchList.h: remove spurious semicolons
5849 * MenuBackend.C: fix branchlist related crash
5851 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5859 * bufferparams.[Ch]:
5863 * text3.C: implements the 'branch inset'
5864 idea. This allows the output of various versions of a document
5865 from a single source version, selectively outputing or suppressing
5866 output of parts of the text.
5867 This implementation contains a 'branch list editor' in a separate
5868 tab of the document settings dialog. Branches are user definable
5869 and have a "display colour" to distinguish them on-screen.
5871 ColorHandler was somewhat cleaned up.
5872 (1) make possible a dynamically growing LColor list by allowing
5873 the graphic context cache to grow along (vector);
5874 (2) eliminate an IMHO unnecessary step in colour allocation.
5876 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5878 * BufferView_pimpl.C: compile fix
5880 2003-08-15 André Pönitz <poenitz@gmx.net>
5882 * rowpainter.C: remove extra metrics calls
5884 * lyxtext.h: merge the two constructors into a single one,
5885 pass reference to owner's par list
5887 * BufferView_pimpl.C:
5891 2003-08-15 André Pönitz <poenitz@gmx.net>
5893 * lyxrow_funcs.[Ch]:
5896 * paragraph_funcs.C:
5901 * text_funcs.C: split LyXText::rowlist_ into individual
5902 Paragraph::rows_ chunks
5905 * BufferView_pimpl.[Ch]:
5908 * text3.C: remove toggleSelection()
5910 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5912 * bufferlist.C: beautify two alerts (shorter text of buttons)
5913 * buffer.C: Remove redundant ' ' from message
5915 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5916 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5917 rename VALIGN_CENTER to VALIGN_MIDDLE
5919 2003-08-11 André Pönitz <poenitz@gmx.net>
5921 * lyxtext.h (getPar):
5922 * text.C: new function
5924 2003-08-11 André Pönitz <poenitz@gmx.net>
5927 * tracer.[Ch]: remove unneeded files
5929 * InsetList.[Ch]: remove resizeInsetsLyXText()
5934 * text3.C: merge insertParagraphs() and appendParagraph()
5935 remove breakAgain(), update()
5937 * BufferView_pimpl.[Ch]:
5938 * bufferview_funcs.[Ch]:
5942 * tabular.C: adjust after text & InsetList changes.
5944 2003-08-08 André Pönitz <poenitz@gmx.net>
5946 * text.C (insertChar, backspace): replace rowlist fiddling
5947 with rebreak of full par
5950 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5951 checkParagraph, updateInset): removed
5953 2003-08-07 André Pönitz <poenitz@gmx.net>
5956 * text3.C: merge some LFUN handlers, remove dead code
5958 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5960 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5962 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5964 * text2.C (DEPM): fix part of bug 1255 and 1256
5966 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5968 * BufferView_pimpl.C (workAreaDispatch): change to use
5969 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5970 that are no mouse related.
5972 2003-08-05 André Pönitz <poenitz@gmx.net>
5975 * BufferView_pimpl.[Ch]:
5976 * bufferview_funcs.C:
5978 * text3.C: rip out "deep update"
5980 * textcursor.[Ch] (last_sel_cursor): remove unused member
5982 2003-08-04 André Pönitz <poenitz@gmx.net>
5985 * BufferView_pimpl.[Ch]:
5986 * ParagraphParameters.C:
5987 * bufferview_funcs.C:
5993 * text3.C: replace "complicated" BufferView::update(...) calls with
5996 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5998 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6000 * Makefile.am (lyx_SOURCES): add paper.h
6002 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6004 * Makefile.am: move things around so that both lyx-qt and
6005 lyx-xforms can be built (according to --with-frontend). Then lyx
6006 is a symbolic link to lyx-[firstfrontend]
6008 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6010 * Always use std::endl with lyxerr
6012 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6014 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6016 2003-08-01 André Pönitz <poenitz@gmx.net>
6019 * BufferView_pimpl.[Ch]:
6021 * text3.C: merge BufferView::repaint() and BufferView::update()
6023 2003-08-01 José Matos <jamatos@lyx.org>
6025 * buffer.[Ch]: file_format is no longer a buffer data element.
6027 2003-08-01 André Pönitz <poenitz@gmx.net>
6032 * text2.C: make redoParagraph more independent of current cursor
6034 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6036 * text2.C: remove unneeded members
6038 2003-07-30 André Pönitz <poenitz@gmx.net>
6040 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6042 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6043 create a single function...
6045 * paragraph_funcs.C (moveItem): ... here.
6048 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6050 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6052 * LColor.[Ch]: Add comment and greyedout logical colors.
6054 2003-07-30 André Pönitz <poenitz@gmx.net>
6056 * tabular.C: don't use Assert too heavily. This crashes where it
6059 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6061 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6062 is disabled (bug 1232)
6064 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6066 * factory.C: limited 'arg' scope
6068 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6070 * factory.C: fixed Note submenu issues
6072 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6074 * factory.C: submenu for Note/Comment/Greyedout
6076 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6079 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6081 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6084 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6085 greyedout. Patch provided by Jürgen Spitzmüller.
6087 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6089 * kbmap.C (read): fix error message when reading bind files
6091 2003-07-29 Angus Leeming <leeming@lyx.org>
6093 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6094 certainly does not do what it purports to do. I am doing it, and
6095 us, a favour by killing it.
6097 2003-07-28 José Matos <jamatos@lyx.org>
6099 * buffer.C (readBody, do_writeFile):
6100 * paragraph.C(readParagraph): \end_document replaces \the_end.
6102 2003-07-29 André Pönitz <poenitz@gmx.net>
6105 * BufferView_pimpl.[Ch]:
6109 * textcursor.[Ch]: remove toggleToggle & Co
6111 2003-07-28 José Matos <jamatos@fep.up.pt>
6113 * buffer.C (readParagraph):
6114 * params_func (readParToken, readParagraph):
6115 * paragraph.C (write): \layout -> \begin_layout.
6117 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6119 * lyxlex_pimpl.C (setFile): clean up slightly.
6121 * bufferparams.h: add compressed var
6123 * buffer_funcs.C (readFile): adjust for LyXLex change
6124 (newFile): ditto + simplify
6126 * buffer.C (writeFile): handle writing of compressed files
6128 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6129 Check if the file is compressed and set a bufferparm if so.
6131 * Makefile.am (lyx_LDADD): remove explicit -lz
6133 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6135 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6136 makeDocBookFile): put the real LyX version in the first line of
6140 * version.C.in: remove lyx_docversion
6142 * tabular.C (write_attribute): add a template-based version to
6143 write enums properly
6145 2003-07-28 André Pönitz <poenitz@gmx.net>
6150 * text3.C: use doubles again for x-coordinates. They are needed.
6152 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6154 * messages.C (getLocaleDir): use lyx_localedir()
6156 * lyxlex_pimpl.C (setFile): compress stuff
6158 * buffer.C (writeFile): add some compression stuff
6159 (do_writeFile): new func, dont call expliti close... will this
6162 * Makefile.am (lyx_LDADD): add -lz
6164 2003-07-28 José Matos <jamatos@fep.up.pt>
6166 * buffer.C: increment file format.
6167 * paragraph_funcs (readParagraph, readParToken):
6168 * paragraph.C (readParagraph): add \end_layout.
6170 2003-07-27 Angus Leeming <leeming@lyx.org>
6172 * Makefile.am: remove special casing for configure-time setting of
6173 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6175 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6176 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6178 2003-07-26 André Pönitz <poenitz@gmx.net>
6180 * paragraph_func.[Ch]:
6181 * paragraph.C (realizeFont): inline it whereever it is used
6186 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6189 2003-07-26 André Pönitz <poenitz@gmx.net>
6193 * text2.C: get rid of LyXText::need_break_row
6195 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6197 * toc.[Ch]: put namespace toc inside namespace lyx
6199 * MenuBackend.C (expandToc2): adjust for lyx::toc
6202 * lyxfunc.C (dispatch): adjust for lyx::find
6204 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6205 lyx::find instead. Reorganize a bit.
6206 (LyXReplace): rename to replace
6207 (LyXFind): rename to find
6209 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6212 2003-07-26 André Pönitz <poenitz@gmx.net>
6214 * text.C (setHeightOfRow): restrict scope of temporary variable
6216 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6217 code (never has been used?)
6219 2003-07-27 Asger Alstrup <alstrup@local>
6221 * text.C (fill): Optimise algorithm to exploit that we can reuse
6222 the LyXFont for many characters.
6223 (setHeightOfRow): Same thing.
6224 (rowBreakPoint): Same thing.
6226 2003-07-26 Asger Alstrup <alstrup@local>
6228 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6230 * text.C (singleWidth): Spurious font copying in hot-spot
6231 singleWidth avoided. Reorder tests for arabic for efficiency.
6233 * text.C (fill): handle empty paragraphs better.
6235 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6238 * encoding.h: add includes
6240 * lyxrc.C: remove reading of bind files
6242 * lyx_main.C (init): setup bindings and menus only if we have a
6245 * kbmap.C (read): new method. Do the actual reading of bind
6248 * converter.C (dvipdfm_options):
6251 (output): adapt PAPER_* enums.
6253 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6255 * bufferparams.h: remove paper-related enums from there
6257 * paper.h: New file. A trivial header file to hold paper-related
6258 enums. It should later expand to contain many paper-related
6261 * lyxrc.C: declare extern displayTranslator
6263 2003-07-27 José Matos <jamatos@fep.up.pt>
6265 * tabular.[Ch] (linuxdoc): add support for tables and figures
6268 2003-07-27 José Matos <jamatos@fep.up.pt>
6270 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6271 consistency in both functions.
6272 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6274 2003-07-26 Asger Alstrup <alstrup@local>
6276 * rowpainter.C (paintRows): Change algorithm to work directly on
6277 the insets rather than asking every character in the document
6278 whether its an inset.
6280 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6282 * buffer.C (openFileWrite): factorize some code
6284 2003-07-26 Angus Leeming <leeming@lyx.org>
6287 * lyx_main.[Ch]: replace occurances of system_tempdir with
6290 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6292 * rename Inset to InsetOld
6294 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6296 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6297 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6298 which I think is a bit clearer. EDIT is gone, since it was
6299 premature optimisation, and broken for mathed anyway.
6300 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6301 with cursor positioning in insets as well (math insets still do not
6302 work, but that's a different story anyway.) It mysteriously
6303 crashes sometimes with undo in the first paragraph, but I'm fairly
6304 confident that this is a compiler bug.
6306 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6308 * paragraph.C (Paragraph): adjust for new clone return type
6310 (copyIntoMinibuffer): ditto
6312 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6314 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6315 by not having a special case, and always doing a full rebreak of
6316 the document after undo.
6318 2003-07-23 Angus Leeming <leeming@lyx.org>
6320 * factory.C (createInset): InsetExternal::setParams now takes a
6323 2003-07-23 Angus Leeming <leeming@lyx.org>
6325 * factory.C (createInset): changed interface to the external and
6326 graphics mailers' string2params functions.
6328 2003-07-23 Angus Leeming <leeming@lyx.org>
6330 * factory.C (createInset): pass a
6331 Buffer const * parameter to InsetExternalMailer's string2params.
6333 2003-07-22 John Levon <levon@movementarian.org>
6335 * Thesaurus.h: include the right aiksaurus header
6337 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6339 * MenuBackend.C (expand): check menu shortcuts unconditionally
6341 2003-07-21 Angus Leeming <leeming@lyx.org>
6343 * factory.C (createInset): pass a
6344 buffer_path parameter to InsetGraphicsMailer's string2params.
6346 2003-07-21 Angus Leeming <leeming@lyx.org>
6348 * BufferView_pimpl.C (buffer):
6351 * lyxfunc.C (dispatch):
6352 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6353 rather than the grfx shortcut.
6355 2003-07-21 André Pönitz <poenitz@gmx.net>
6357 * rowpainter.C: remove unused variables
6360 * tabular_funcs.h: move to tabular.C
6361 * Makefile.am: adjust
6363 * tabular.[Ch]: basic optical cleaning
6365 * author.h: pass references, not values
6367 2003-07-18 André Pönitz <poenitz@gmx.net>
6375 * text3.C: two-phase drawing for InsetText and InsetTabular
6376 some float -> int changes.
6378 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6380 * lyx_main.C: fix the fix
6382 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6384 * lyx_main.C: fix a crash in batch mode if no files specified
6387 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6389 * format.[Ch] (papersize): moved to BufferParams
6390 * converter.[Ch] (dvips_options): moved to BufferParams
6391 (dvipdfm_options): moved to anon namespace
6392 * bufferparams.[Ch]: added above functions.
6394 2003-07-17 André Pönitz <poenitz@gmx.net>
6398 * text2.C: don't call inset->update() anymore
6400 * metricsinfo.[Ch]: add convenience constructor
6402 2003-07-16 André Pönitz <poenitz@gmx.net>
6407 * text2.C: replace the LyXCursor::irow_ member with
6408 on-demand computation of the value
6410 2003-07-16 John Levon <levon@movementarian.org>
6412 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6414 2003-07-15 André Pönitz <poenitz@gmx.net>
6417 * text2.C: remove no more needed refresh_row
6419 2003-07-15 André Pönitz <poenitz@gmx.net>
6424 * text3.C: refresh_status tristate -> need_update bool
6426 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6428 * lyxtext.h (init): remove reinit argument (act as if always true)
6429 * text2.C: adjust to that
6431 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6433 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6434 * text3.C: use it to delete selections in some cases
6435 (bugs 441, 673, 702, 954).
6437 2003-07-14 André Pönitz <poenitz@gmx.net>
6439 * rowpainter.[Ch]: reduce interface
6441 2003-07-14 André Pönitz <poenitz@gmx.net>
6443 * BufferView_pimpl.C:
6444 * text2.C: adjust after removing unused BufferView * argument
6446 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6448 * text2.C (init): fix a crash fired on resize
6450 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6452 * buffer.[Ch]: added new closing signal
6453 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6454 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6455 BufferView::Pimpl via the closing the signal
6457 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6459 * buffer.[Ch]: take out all bv-related from buffer
6461 * BufferView_pimpl.[Ch]: connect to new signals
6462 * CutAndPaste.C: removed useless asserts
6463 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6466 * lyxfunc.C: moved view-related funciontality from vc here
6467 * paragraph.C: removed outdated comments
6470 2003-07-10 André Pönitz <poenitz@gmx.net>
6472 * BufferView_pimpl.C:
6476 * text2.C: remove InsetText::InnerCache, clean up consequences
6478 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6480 * ispell.C: fix two typos in error messages
6482 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6484 * Extend Note inset to other forms of annotation like Comment
6485 and Greyedout. Right button click gives dialog.
6487 Files modified or added (+):
6491 * ControlNote.[Ch] +
6493 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6494 frontends/controllers
6498 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6500 * aspell.C: add missing namespace lyx::support
6502 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6504 * BufferView.[Ch] (newFile): Add
6505 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6506 * LaTeX.[Ch] (message): added this signal and use it
6507 * buffer.[Ch] (busy, message): added these signals and use them
6508 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6512 * importer.C: use buffer signals instead of direct bv calling
6513 * lyx_cb.[Ch] (ShowMessage): removed
6516 * paragraph_funcs.C:
6517 * text2.C: use buffer signals
6519 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6521 * introduce namespace lyx::graphics
6523 2003-07-02 André Pönitz <poenitz@gmx.net>
6525 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6527 2003-07-01 André Pönitz <poenitz@gmx.net>
6534 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6535 text*.C to text_func.C
6537 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6539 * introduce namespace lyx::support
6541 2003-06-30 André Pönitz <poenitz@gmx.net>
6546 * text.C: re-enable --with-included-string
6548 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6550 * textcursor.C: add <config.h>
6552 * text.C (getWord): remove const from word_location arg
6554 * lyxvc.C (getLogFile): fix const type order
6556 * lyxtext.h: remove const from word_location arg, add arg name
6558 * lyxlayout.h: currect type on labeltype.
6560 * importer.C: correct \file
6562 * converter.C (intToFormat): use std:: on ret val, ws changes
6564 * bufferlist.h: correct \file
6566 * buffer.C (makeLinuxDocFile): fix const type order
6567 (makeDocBookFile): ditto
6568 (fillWithBibKeys): use std:: on stdlib args.
6570 * CutAndPaste.C: fix authors.
6571 (availableSelections): use std:: on return vector
6573 2003-06-27 André Pönitz <poenitz@gmx.net>
6575 * BufferView_pimpl.C:
6576 * bufferview_funcs.C:
6584 * text3.C: remove LyXCursor::row_ member
6587 * text.C: rename fullRebreak() to partialRebreak() and implement
6588 a fullRebreak() that really bereks fully
6590 * textcursor.h: new struct for cursor-related data
6592 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6594 * lyx_main.C (LyX): get full path of document loaded on the
6597 2003-06-26 André Pönitz <poenitz@gmx.net>
6599 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6600 remove unused/broken operator>,<,>=.
6602 * text.C: remove only use of broken operator<= in an Assert().
6604 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6606 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6607 moved errorlist_.clear to showErrorList
6609 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6611 * converter.C (scanLog, runLaTeX):
6612 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6613 move the bv->showErrorList call to the callers
6614 * lyxfunc.C: i.e. here...
6616 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6617 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6618 namespace, the second to...
6619 * buffer_funcs (BufferFormat, parseErrors): added
6620 * errorlist.C (ErrorList(TeXErrors const &)): removed
6622 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6624 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6626 2003-06-24 "Garst R. Reese" <reese@isn.net>
6630 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6632 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6634 * version.C.in: change docversion to 1.4
6636 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6638 * buffer.C: fix a bug just introduced
6640 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6642 * buffer.[Ch]: added the parseError signal and use it, removed
6644 * BufferView.[Ch] (addError): moved to ...
6645 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6646 to the Buffer::parseError signal to catch (guess what) parse errors
6647 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6649 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6651 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6652 ability to create a buffer and to return an existing one from
6653 the list. Moved these functions to...
6654 * buffer_funcs.[Ch]: added
6655 * BufferView.[Ch] (loadLyXFile): added
6656 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6657 job removed from bufferlist::loadLyXFile.
6658 * buffer.C (setReadOnly): make it work without view
6659 (i.e added an if (users))
6661 2003-06-19 Angus Leeming <leeming@lyx.org>
6664 * LyXAction.C (init):
6665 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6666 with LFUN_DIALOG_SHOW <name> <data>.
6668 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6670 * CutAndPaste.C (availableSelections): small compilation fix for
6671 ancient (gcc 2.9x) compilers
6673 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6675 * text3.C (cursorNext): add tmp var
6677 * text2.C (updateCounters): for function calling out of for clause
6678 (replaceSelectionWithString): ditto
6679 (insertStringAsParagraphs): ditto
6680 (getColumnNearX): add tmp var
6681 (setCursorFromCoordinates): add tmp var
6682 (cursorDownParagraph): add tmp var
6683 (deleteEmptyParagraphMechanism): add tmp var
6685 * text.C (insertChar): add tmp var
6687 * rowpainter.C (paintDepthBar): add tmp var
6689 * CutAndPaste.C (availableSelections): potentially check all
6690 paragraphs in a cut to fill the shown strings.
6692 2003-06-18 André Pönitz <poenitz@gmx.net>
6694 * kbmap.[Ch]: use vector<> instead of list<>
6696 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6698 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6699 pasteSelection with index
6701 * text2.C (pasteSelection): modify, call pasteSelection with index
6703 * paragraph.C (asString): reimplement version with no interval to
6704 call the one with interval.
6706 * lyxtext.h: add index arg to pasteSelection
6708 * MenuBackend.C (MenuItem): handle PasteRecent
6709 (Menu::read::Menutags): add md_pasterecent
6711 (expandPasteRecent): new function
6714 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6716 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6718 (availableSelections): new function
6720 2003-06-17 Angus Leeming <leeming@lyx.org>
6722 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6724 2003-06-17 Angus Leeming <leeming@lyx.org>
6727 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6729 * lyxfunc.C (dispatch): invoke it.
6731 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6733 * iterators.C (operator++, ParPosition): reintroduce some
6734 const_cast for the benefit of older compilers.
6736 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6738 * text3.C (dispatch): do not modify clipboard when doing
6739 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6740 LFUN_DELETE_SKIP on a selection selection
6742 2003-06-16 André Pönitz <poenitz@gmx.net>
6748 * tabular.[Ch]: IU of clone() and getLabelList();
6750 2003-06-13 André Pönitz <poenitz@gmx.net>
6752 * tabular.h: compactification
6754 2003-06-12 André Pönitz <poenitz@gmx.net>
6758 * tabular_funcs.h: some renaming plus whitespace
6760 2003-06-12 André Pönitz <poenitz@gmx.net>
6763 * BufferView_pimpl.C:
6769 * toc.C: Return a Paragraph & for ParIterator::operator*()
6771 2003-06-11 John Levon <levon@movementarian.org>
6775 * ToolbarBackend.C: add "Toolbars" section and
6778 2003-06-10 Angus Leeming <leeming@lyx.org>
6781 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6783 * lyxfunc.C (dispatch): invoke it.
6785 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6787 * main.C: protect <ios> with HAVE_IOS
6788 (main): protect sync_with_stdio with HAVE_IOS
6790 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6792 * text2.C (cutSelection): adjust
6793 (pasteSelection): adjust
6795 * messages.C: handle get of empty string
6797 * main.C (main): use sync_with_stdio(false)
6799 * lyxfunc.C (dispatch): adjust
6801 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6802 (WriteAs): remove unneeded BufferView arg.
6804 * bufferparams.h: use correct types on papersize, papersize2 and
6807 * bufferparams.C (readToken): adjust for type
6808 (writeLaTeX): add missing cases to switch.
6810 * bufferlist.C (quitWriteBuffer): adjust
6813 * buffer.C (asciiParagraph): remove some commented code.
6815 * CutAndPaste.C: remove current_view extern variable.
6816 (cutSelection): add BufferParams arg.
6817 (eraseSelection): add BufferParams arg.
6818 (pasteSelection): add Buffer const & arg
6820 2003-06-07 John Levon <levon@movementarian.org>
6823 * paragraph_funcs.C:
6824 * paragraph_pimpl.C:
6828 * paragraph.C: allow InsetERT to freely space lines,
6829 and some consolidation of code
6831 2003-06-06 José Matos <jamatos@fep.up.pt>
6833 * buffer.C (makeDocBookFile): fix bug #821
6835 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6837 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6839 2003-06-04 Angus Leeming <leeming@lyx.org>
6841 * buffer.C: bump format to 224.
6843 2003-06-05 André Pönitz <poenitz@gmx.net>
6845 * text2.C (redoParagraphs): remove two const_cast<>
6847 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6849 * ParagraphList.h: remove last remnants of NO_STD_LIST
6851 2003-06-03 Angus Leeming <leeming@lyx.org>
6853 * factory.C (createInset): small change to the way InsetExternal's params
6856 2003-06-04 André Pönitz <poenitz@gmx.net>
6858 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6860 * paragraph_pimpl.h:
6861 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6863 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6865 * undo_funcs.C: make some simple cases of undo work again
6867 2003-06-03 John Levon <levon@movementarian.org>
6869 * ispell.C: HPUX doesn't have sys/select.h
6872 2003-06-03 John Levon <levon@movementarian.org>
6874 * CutAndPaste.C: update tabular and include inset
6879 * paragraph.C: remove owningBuffer(), don't pass Buffer
6882 * factory.C: insetGraphicsParams changed
6884 2003-06-02 John Levon <levon@movementarian.org>
6890 * text3.C: remove insetparent
6892 2003-06-02 John Levon <levon@movementarian.org>
6895 * buffer.C: fix inset_iterator.end(), move out of line
6898 2003-06-01 John Levon <levon@movementarian.org>
6900 * text3.C: use a proper cut/paste when doing inset
6901 insert (from Jürgen Spitzmüller)
6903 2003-06-01 John Levon <levon@movementarian.org>
6905 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6907 2003-05-30 André Pönitz <poenitz@gmx.net>
6909 * rowpainter.C: unify second drawing phase
6911 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6913 * trans_mgr.C: remove one case of current_view
6915 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6917 * paragraph_funcs.h: remove paragraph.h include
6919 * paragraph.h: delete NO_STD_LIST stuff
6921 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6923 * buffer.h: remove paragraph.h include
6925 * ParagraphList.C: delete file
6927 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6929 * toc.C (getTocList): adjust
6931 * paragraph_pimpl.C (validate): adjust
6933 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6935 * paragraph.C (Paragraph): adjust
6936 (getPositionOfInset): use const_iterator, adjust
6937 (bibitem): use const_iterator, adjust
6938 (setInsetOwner): adjust
6940 * iterators.C (operator++): adjust
6942 * InsetList.[Ch]: Replace selfmade iterator with standard
6943 vector::iterator also introduce const_iterator. Remove getPos,
6944 getInset and setInset from InsetTable. Adjust accordingly.
6946 * BufferView.C (lockInset): adjust
6947 (ChangeInsets): adjust
6949 * tabular.[Ch]: delete commented same_id functions
6951 2003-05-28 John Levon <levon@movementarian.org>
6953 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6955 2003-05-28 André Pönitz <poenitz@gmx.net>
6957 * metricsinfo.[Ch]: remove 'fullredraw' member
6959 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6961 * lyxtextclass.C (operator): remove caching.
6963 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6967 * text2.C (cursorBottom): adjust
6968 (setCounter): use ParagraphList::find, adjust
6970 * text.C (workWidth): use ParagraphList::find, adjust
6972 * lyxcursor.C (LyXCursor): adjust
6974 * buffer.C (inset_iterator): adjust
6976 * ParagraphList.h: make iterator(value_type) private, make
6977 ParagraphList a friend of iterator.
6979 * ParagraphList.C (find): new function
6981 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6983 2003-05-27 André Pönitz <poenitz@gmx.net>
6985 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6987 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6989 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6991 2003-05-26 John Levon <levon@movementarian.org>
6993 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6995 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6997 * remove same_id from function signatures, adjust.
6999 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7001 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7003 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7005 * paragraph.C (Paragraph): get rid of same_ids parameter
7007 * ParagraphList.C (insert): adjust
7010 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7012 * paragraph_funcs.C (breakParagraph): adjust
7013 (breakParagraphConservative): adjust
7015 * buffer.C (readParagraph): adjust
7017 * ParagraphList.C (insert): take a reference instead of a pointer
7020 * paragraph.[Ch] (id): new function
7022 * bufferlist.C (newFile): adjust
7024 * ParagraphList.C (ParagraphList): adjust
7026 (push_back): take a reference instead of a pointer.
7028 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7030 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7033 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7034 set else use old code.
7036 * ParagraphList.C: remove all NO_NEXT code and only compile this
7037 code of NO_STD_LIST is set.
7039 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7041 * BufferView_pimpl.C:
7051 * graphics/GraphicsConverter.C:
7052 * graphics/PreviewLoader.C: header adjustment
7054 2003-05-23 Angus Leeming <leeming@lyx.org>
7056 * LaTeXFeatures.[Ch] (useBabel): new method.
7057 * bufferparams.C (writeLaTeX): use it.
7059 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7061 * ParagraphList.h (set): remove unused function.
7063 2003-05-23 André Pönitz <poenitz@gmx.net>
7066 * BufferView_pimpl.C:
7070 * undo_funcs.C: setUndo reworked
7072 * iterators.[Ch]: add access to topmost ParagraphList
7074 * lyxtext.[Ch] (workWidth): add a const
7076 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7078 * texrow.[Ch] (increasePos): remove function
7079 * exporter.C (export): removed unused var and outdated comment
7081 2003-05-23 Angus Leeming <leeming@lyx.org>
7083 * latexrunparams.h: rename fragile as moving_arg.
7084 * paragraph.C (simpleTeXOnePar): ditto.
7085 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7087 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7089 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7091 (textUndoOrRedo): comment out a currently unused var.
7093 * paragraph.h (NO_NEXT): enable NO_NEXT
7095 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7097 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7099 * exporter.C (Export): adjust for removeAutoInsets removal.
7101 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7103 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7105 * BufferView.[Ch] (removeAutoInsets): delete function
7107 2003-05-22 Angus Leeming <leeming@lyx.org>
7109 * latexrunparams.h: add a free_spacing variable.
7111 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7112 to pass moving_arg, as the data is stored in runparams.fragile.
7114 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7115 to Inset::latexOptional or to simpleTeXOnePar.
7117 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7118 free_spacing arg to Inset::latexOptional.
7120 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7123 2003-05-22 Angus Leeming <leeming@lyx.org>
7125 * latexrunparams.h: add fragile and use_babel variables.
7127 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7128 * buffer.C (makeLaTeXFile): store this returned value in
7129 runparams.use_babel, thus passing it to the inset::latex methods.
7131 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7132 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7134 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7135 longer has a fragile arg, as it is stored in runparams.fragile.
7137 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7138 moving_arg parameter as the data is stored in runparams.fragile.
7140 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7141 a fragile parameter as the data is stored in runparams.fragile.
7143 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7145 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7147 2003-05-22 Angus Leeming <leeming@lyx.org>
7149 * latexrunparams.h: add a 'bool nice' which defaults to false.
7151 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7152 now encapsulated within runparams.
7154 * bufferlist.C (updateIncludedTeXfiles):
7155 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7157 2003-05-22 Angus Leeming <leeming@lyx.org>
7159 * latexrunparams.h: new file containing struct LatexRunParams.
7160 * Makefile.am: add new file.
7162 * LaTeX.[Ch] (c-tor, run):
7163 * buffer.[Ch] (makeLaTeXFile):
7164 * bufferlist.[Ch] (updateIncludedTeXfiles):
7165 * converter.C (convert, scanLog):
7166 * converter.[Ch] (runLaTeX):
7167 * exporter.C (Export):
7168 * paragraph.[Ch] (simpleTeXOnePar):
7169 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7170 * paragraph_funcs.[Ch] (latexParagraphs):
7171 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7172 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7173 pass around a LatexRunParams parameter.
7175 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7177 * paragraph.[Ch]: remove unused constructor
7179 * ParagraphList.C (erase): new function, taking two iterators
7181 2003-05-22 André Pönitz <poenitz@gmx.net>
7183 * undo_funcs.C: remove duplicated code
7185 * iterator.[Ch]: operator=
7187 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7189 * tabular.C (SetMultiColumn): ws changes
7191 * rowpainter.C (paintFirst): get rid of a ->previous
7193 * lyx_cb.C (getPossibleLabel): parlist simplification
7195 * BufferView.C (ChangeInsets): simplify slightly.
7197 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7199 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7200 * lfuns.h: new LFUN_SPACE
7201 * lyxfunc.C: protected space has a new lfun
7202 * paragraph_funcs.C: read new space insets
7204 * factory.C: handle new space insets
7206 2003-05-22 André Pönitz <poenitz@gmx.net>
7209 * BufferView_pimpl.C:
7212 * undo_funcs.C: return a ParIterator from getParFromID.
7214 * iterators.[Ch]: add two const's
7216 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7218 * toc.C (getTocList): adjust
7220 * iterators.[Ch]: rework for parlist
7222 * buffer.C (par_iterator_begin): adjust
7223 (par_iterator_end): adjust
7225 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7227 * BufferView.C (removeAutoInsets): adjust
7228 (ChangeInsets): adjust
7230 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7232 * text.C (top_y): fix bug 1110
7234 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7236 * errorlist.[Ch]: added
7239 * BufferView_pimpl.C:
7240 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7243 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7245 * Makefile.am: ensure that lyx is relinked upon changes to the
7246 various "convenience" libs.
7248 2003-05-20 Angus Leeming <leeming@lyx.org>
7250 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7251 files are compiled in alphabetical order again.
7253 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7255 2003-05-19 Angus Leeming <leeming@lyx.org>
7257 * gettext.[Ch]: remove "char const * _(char const *)".
7259 2003-05-19 André Pönitz <poenitz@gmx.net>
7261 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7270 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7272 2003-05-19 André Pönitz <poenitz@gmx.net>
7276 * lyxtextclass.[Ch]:
7278 * paragraph_funcs.[Ch]:
7280 * text3.C: more insetenv work
7282 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7284 * ParagraphParameters.C (params2string): small bug fixed
7286 2003-05-16 André Pönitz <poenitz@gmx.net>
7289 * bufferview_funcs.C: patch from Kornel Benko to prevent
7290 crash when _(...) is called twice in a statement
7292 2003-05-16 André Pönitz <poenitz@gmx.net>
7299 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7301 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7303 * lyx_main.C (init): remove spurious static_cast
7305 2003-05-14 André Pönitz <poenitz@gmx.net>
7307 * BufferView.C: fix format string
7309 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7311 * BufferView.[Ch] (insertErrors): removed
7312 * BufferView.[Ch] (showErrorList): added
7313 * buffer.C (runChkTeX):
7314 * converter.C (scanLog): call showErrorList instead of inserterrors
7316 2003-05-13 André Pönitz <poenitz@gmx.net>
7318 * BufferView_pimpl.C:
7320 * bufferview_func.C:
7327 * tabular_funcs.h: tostr() from its own header
7329 * ParagraphParameters.C:
7334 * text3.C: STRCONV()
7336 2003-05-12 André Pönitz <poenitz@gmx.net>
7339 * BufferView_pimpl.C:
7343 * ParagraphParameters.C:
7347 * bufferview_funcs.C:
7360 * paragraph_funcs.C:
7364 * text3.C: boost::format -> bformat all over the place
7367 2003-05-09 André Pönitz <poenitz@gmx.net>
7369 * LColor.[Ch]: Pimpl the #include <map> away
7371 2003-05-09 John Levon <levon@movementarian.org>
7373 * bufferlist.C: never remove emergency saves
7375 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7377 * Makefile.am: better lib building
7379 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7381 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7383 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7384 (simpleTeXSpecialChars): adjust
7385 (simpleTeXSpecialChars): adjust
7386 * paragraph.C (simpleTeXOnePar): adjust
7387 * buffer.C (makeLaTeXFile): adjust
7389 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7391 * text2.C (changeDepth): parlist cleanup
7392 (getColumnNearX): ditto
7394 * rowpainter.C (getLabelFont): parlist cleanup
7396 * bufferlist.C (newFile): parlist cleanup
7398 * CutAndPaste.C (eraseSelection): parlist cleanup
7400 * BufferView_pimpl.C (trackChanges): parlist cleanup
7403 * BufferView.C (lockInset): parlist cleanup.
7404 (ChangeInsets): ditto
7406 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7408 * CutAndPaste.h: Update file header.
7410 * CutAndPaste.C: Update file header.
7411 Store the parts cut out of the Document in a limited_stack.
7412 (copySelection): adjust
7413 (pasteSelection): new function, takes the index in the limited stack.
7414 (nrOfParagraphs): adjust
7415 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7416 simplify error inset insertion.
7417 (checkPastePossible): adjust
7419 2003-05-06 John Levon <levon@movementarian.org>
7421 * text2.C: don't cast wrap inset to float
7423 2003-05-05 André Pönitz <poenitz@gmx.net>
7426 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7428 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7429 few naked Paragraph *.
7431 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7433 * bufferparams.C: Output warning if a document with missing
7434 TeX document class is loaded
7435 * exporter.C: Disable TeX exports if the document class is missing
7438 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7439 isTeXClassAvailable()
7441 2003-05-03 John Levon <levon@movementarian.org>
7444 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7445 explicit cursor show/hide
7447 * BufferView_pimpl.h:
7448 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7449 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7451 * lyxfunc.C: hide cursor before dispatching.
7456 * text3.C: remove explicit cursor hides
7458 2003-05-02 André Pönitz <poenitz@gmx.net>
7460 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7463 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7466 * text2.C: tiny whitespace
7468 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7470 * undo_funcs.C: almost only ws changes.
7472 * ParagraphList.C (splice): just return if pl is empty.
7474 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7476 * ParagraphList.C (splice): new function.
7478 * CutAndPaste.C (pasteSelection): use it
7480 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7482 * CutAndPaste.C (pasteSelection): remove the last next and
7483 previous from this file.
7485 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7487 * CutAndPaste.C (pasteSelection): more clean up, user proper
7488 ParagraphList functions for pasteing.
7490 * ParagraphList.C (insert): new function, three arg insert
7492 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7494 * ParagraphList.C (insert): new function, three arg insert
7496 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7499 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7501 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7503 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7505 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7507 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7509 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7510 (copySelection): clean up a bit.
7511 (pasteSelection): use make_pair
7513 * ParagraphList.C (ParagraphList): implement copy constructor
7514 (operator=): implement, base on copy constructor.
7517 * paragraph.C (erase): return a bool
7519 * paragraph_pimpl.C (erasePos): remove function, move contents...
7520 (erase): ... here. Return a bool.
7521 (erase): call erase instead of erasePos.
7523 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7525 * ParagraphList.h: define PitPosPair
7526 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7527 ParagraphList, fix a bug on pasting multiple pars
7528 * text2.C: change interface to C&P
7530 2003-04-30 André Pönitz <poenitz@gmx.net>
7532 * undo_func.C: revert part of yesterday's patch 2
7534 2003-04-30 John Levon <levon@movementarian.org>
7536 * LColor.C: s/tabular/table/
7538 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7540 * text3.C (dispatch): do not convert iterator -> pointer
7541 * undo_funcs.C (setCursorParUndo): ditto
7542 * text_funcs.C (transposeChars): ditto
7544 * text2.C (setLayout): ws changes only
7546 * text.C (breakParagraph): do not convert iterator -> pointer
7548 (acceptChange): ditto
7549 (rejectChange): ditto
7554 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7557 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7559 * text3.C (gotoInset): YABG (yet another bad getChar)
7561 2003-04-29 André Pönitz <poenitz@gmx.net>
7563 * paragraph.h: make operator= private unimplemented as long as
7566 * ParagraphList.C: whitespace
7569 * paragraph_pimpl.[Ch]:
7570 * paragraph_funcs.C:
7572 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7575 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7577 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7579 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7580 * paragraph.[Ch] (erase):
7581 * paragraph_pimpl.[Ch] (erase): change return type and value
7582 * text2.C (cutSelection): some rework
7584 2003-04-28 John Levon <levon@movementarian.org>
7586 * bufferlist.C: changes for unsaved changes dialog
7588 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7590 * bufferlist.C (newFile): set language (messages_) for new
7593 * buffer.C (readFile): ws changes only.
7595 2003-04-28 André Pönitz <poenitz@gmx.net>
7600 * BufferView_pimpl.C:
7601 * BufferView.C: getParFromID related ParagraphList::iterator changes
7603 2003-04-28 André Pönitz <poenitz@gmx.net>
7605 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7608 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7610 * messages.C: remove one more localedir class variable.
7612 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7614 * messages.C (getLocaleDir): singleton generation function
7616 (Messages): add a default constructor.
7618 * main.C (main): do not setup localedir here, do not call
7621 * gettext.C (_): use it.
7622 (gettext_init): delete funciton
7624 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7626 * gettext.C (getLyXMessages): new singleton generating function.
7628 * buffer.C (updateDocLang): adjust
7630 * Makefile.am (messages.o): add target
7631 (main.o): remove target
7633 2003-04-27 John Levon <levon@movementarian.org>
7638 * lyxvc.C: specify cancel button in Alert::prompt
7640 2003-04-26 John Levon <levon@movementarian.org>
7645 * LyXAction.C: add LFUN_INSET_SETTINGS
7647 * lyxfunc.C: don't enable tabular-feature when there's
7648 just any locking inset
7650 2003-04-26 John Levon <levon@movementarian.org>
7652 * bufferlist.C: re-add Cancel to buffer close question
7654 * lyxfunc.C: fix import UI a bit
7656 2003-04-25 John Levon <levon@movementarian.org>
7658 * gettext.C: remove the broken asserts for now
7660 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7662 * messages.C: make case where setlocale cannot comply work better.
7664 * buffer.C (updateDocLang): new function
7665 (changeLanguage): use it
7668 * text2.C (setCounter): use B_ a bit.
7670 * lyxlayout.C (Read): be sure to trim the label strings.
7672 * messages.C (Messages): fix typo in comment
7674 * buffer.C (readFile): set message_ after file is loaded.
7675 (makeDocBookFile): remove double return
7676 (changeLanguage): reset message_ upon language change.
7677 (B_): new func, use this to get translated buffer strings.
7679 * main.C: add myself and Jean Marc as authors.
7681 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7683 * messages.[hC]: pimplify Messages, and three different pimpls to be
7684 used in different circumstances.
7686 * gettext.[Ch]: change for use with new message code.
7688 2003-04-24 André Pönitz <poenitz@gmx.net>
7690 * factory.C: support for eqref
7692 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7694 * messages.[Ch]: add missing char
7696 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7698 * messages.[Ch]: New files
7700 2003-04-18 John Levon <levon@movementarian.org>
7704 * BufferView_pimpl.C:
7708 * text2.C: remove layout-copy/paste (bug 778)
7710 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7712 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7714 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7716 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7717 if they succeed. Act accordingly.
7719 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7721 * text2.C (setCharFont): adjust
7722 (setCounter): adjust
7723 (insertStringAsLines): adjust
7725 * text.C (leftMargin): adjust
7726 (setHeightOfRow): adjust
7728 * rowpainter.C (paintFirst): adjust
7731 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7733 (isFirstInSequence): ditto
7734 (getEndLabel): ditto
7737 * paragraph.C (getParLanguage): comment out some hard stuff.
7739 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7741 (simpleDocBookOnePar): ditto
7742 (makeDocBookFile): use ParagraphList::iterator
7744 * CutAndPaste.C (pasteSelection): adjust
7746 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7748 * text2.C (getFont): adjust
7749 (getLayoutFont): adjust
7750 (getLabelFont): adjust
7752 * paragraph_funcs.C (TeXOnePar): adjust
7754 * buffer.C (simpleLinuxDocOnePar): adjust
7755 (simpleDocBookOnePar): adjust
7757 * CutAndPaste.C (pasteSelection): adjust
7759 * BufferView.C (getEncoding): adjust
7761 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7763 2003-04-16 John Levon <levon@movementarian.org>
7765 * lyxfind.C: use parlist stuff for search/changes
7767 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7769 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7771 * text2.C (deleteEmptyParagraphMechanism): adjust
7773 * text2.[Ch] (ownerParagraph): delete func (both of them
7775 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7777 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7779 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7781 * ParagraphList.C: prepare for NO_NEXT
7783 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7785 * text2.C (getFont): adjust
7786 (getLayoutFont): adjust
7787 (getLabelFont): adjust
7789 * paragraph.C (getFont): adjust
7790 (getLabelFont): adjust
7791 (getLayoutFont): adjust
7793 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7795 2003-04-15 John Levon <levon@movementarian.org>
7799 * lyx_main.C: handle Include in .ui files
7801 2003-04-15 John Levon <levon@movementarian.org>
7803 * MenuBackend.C: make the doc files length shorter
7806 * ToolbarBackend.C: handle toolbar placement flags,
7809 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7811 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7814 * paragraph_funcs.C (TeXOnePar): adjust
7816 * paragraph.C (getLabelFont): add outerfont arg, adjust
7817 (getLayoutFont): ditto
7818 (simpleTeXOnePar): adjust
7820 * paragraph_pimpl.C (realizeFont): delete func
7822 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7824 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7825 row argument, constify cur argument.
7827 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7829 * text2.C (getFont): adjust
7830 (getLayoutFont): adjust
7831 (getLabelFont): adjust
7833 * paragraph_funcs.C (TeXOnePar): adjust
7834 (outerFont): new func...
7835 (realizeFont): ...moved out from here, changed this to facilitate
7838 * paragraph.C (getFont): take outerfont as arg, adjust
7839 (simpleTeXOnePar): add outerfont arg, adjust
7841 * buffer.C (simpleLinuxDocOnePar): adjust
7842 (simpleDocBookOnePar): adjust
7844 * CutAndPaste.C (pasteSelection): adjust
7846 * BufferView.C (getEncoding): adjust
7848 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7850 * text2.C (setCharFont): adjust
7851 (setCounter): adjust
7853 * text.C (leftMargin): adjust
7854 (setHeightOfRow): adjust
7856 * rowpainter.C (paintFirst): adjust
7859 * paragraph_pimpl.C (realizeFont): adjust
7861 * paragraph.C (isFirstInSequence): move from here...
7862 * paragraph_funcs.C (isFirstInSequence): ...to here
7864 * paragraph.C (outerHook): move from here...
7865 * paragraph_funcs.C (outerHook): ...to here
7867 * paragraph.C (depthHook): move from here...
7868 * paragraph_funcs.C (depthHook): ...to here
7870 * paragraph.C (getEndLabel): move from here...
7871 * paragraph_funcs.C (getEndLabel): ...to here
7873 * text2.C (realizeFont): move from here...
7874 * paragraph_funcs.C (realizeFont): ...to here
7876 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7878 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7880 2003-04-14 Angus Leeming <leeming@lyx.org>
7882 * LColor.[Ch]: scrap LColor mathcursor.
7884 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7886 * lyxlex.[Ch] (text): delete function
7887 * trans.C (Load): adjust
7888 * paragraph_funcs.C (readParToken): adjust
7890 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7892 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7893 vector<char> instead of a char[].
7895 * lyxlex_pimpl.C (getString): adjust
7897 (lex): use getString
7901 * lyxlex.C (text): use pimpl_->getString()
7905 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7907 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7908 (makeFontEntriesLayoutSpecific): temp var for par.size()
7909 (setLayout): temp var for ownerParagraphs().end()
7910 (fullRebreak): temp var for rows().end()
7911 (selectionAsString): temp var for boost::next(startpit), realize
7912 that the while really is a regular for loop.
7913 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7914 setCursor in one place.
7915 (setParagraph): temp vr for ownerParagraphs().end()
7916 (updateCounters): make the while loop a for loop
7917 (cutSelection): temp var for ownerParagraphs().end()
7918 (updateInset): make the do {} while() a regular for loop
7919 (getCursorX): use temp vars
7920 (setCurrentFont): use temp vars
7921 (getColumnNearX): use temp vars
7923 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7925 * text.C (transformChar): use temp var for getChar
7926 (computeBidiTables): use temp var for row->par()
7927 (fill): move temp vars for row->par() and pit->layout() earlier in
7929 (labelFill): use temp var for row->par()
7930 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7931 asc and desc, realize that pit never changes and that firstpit is
7932 just a duplicate and not needed. Exchange rit->par() with pit in a
7934 (breakAgain): use a temp var for boost::next(rit)
7935 (breakAgainOneRow): ditto
7936 (breakParagraph): use a temp var for rows().begin()
7937 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7938 (cursorRightOneWord): use temp var for cursor.par() and
7939 cursor.pos(), remove usage of tmpcursor.
7940 (cursorLeftOneWord): use temp var for cursor.par() and
7941 cursor.pos() only set cur at end of function.
7943 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7945 * text.C, text2.C: exchange all usage of Paragraph::next with
7946 boost::next(ParagraphList::iterator)
7948 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7950 * text2.C (cursorTop): simplify implementation
7951 (cursorBottom): ditto
7952 (setParagraph): use ParagraphList::iterator
7953 (setCurrentFont): adjust
7954 (getColumnNearX): adjust
7955 (cursorRight): adjust
7956 (cursorLeft): remove usage of Paragraph::previous
7957 (cursorUpParagraph): ditto
7958 (deleteEmptyParagraphMechanism): slight cleanup
7960 * text.C (isBoundary): take a Paragraph const & instead of a
7962 (addressBreakPoint): ditto
7963 (leftMargin): remove usage of Paragraph::previous.
7964 (setHeightOfRow): ditto
7965 (cursorLeftOneWord): ditto
7966 (selectNextWordToSpellcheck): ditto
7969 (breakParagraph): remove one usage of Paragraph::next
7970 (redoParagraph): ditto
7971 (acceptChange): ditto
7972 (insertChar): adjust
7973 (rowBreakPoint): adjust
7975 * bufferview_funcs.C (toggleAndShow): adjust
7977 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7979 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7980 methods to access it.
7982 * text.C: Added updateRowPositions to compute all row positions.
7983 Make top_y and getRowNearY() to use the cached y position
7985 2003-04-11 John Levon <levon@movementarian.org>
7987 * text.C (rowBreakPoint): reintroduce the labelEnd
7988 checks, code copied from the row fill stuff. Deep voodoo.
7990 * text.C (fill): add a comment and debugging for the
7993 2003-04-11 John Levon <levon@movementarian.org>
7995 * text.C: make sure fullrow insets get wrapped to the next line,
7996 even when they're in a manual label
7998 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8000 * text2.C (insertParagraph): make it take ParagraphList::iterator
8002 (setLayout): make it return ParagraphList::iterator
8003 (redoParagraphs): ditto
8005 (checkParagraph): ditto
8007 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8009 * text2.C: adjust several funcs.
8010 (realizeFont): take a ParagraphList::iterator as arg.
8011 (getLayoutFont): ditto
8012 (getLabelFont): ditto
8013 (setCharFont): ditto
8015 * text.C: adjust several funcs.
8017 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8019 * text.C (selectNextWordToSpellcheck): don't accidentally
8022 2003-04-10 John Levon <levon@movementarian.org>
8024 * ToolbarBackend.C (getIcon): special handling for
8027 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8029 * text2.C (cursorRight): a getChar assert fixed
8031 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8033 * text2.C (getFont): change to take a ParagraphList::iterator
8034 instead of Paragraph*
8035 Adjust several functions.
8037 * text.C (transformChar): change to take a ParagraphList::iterator
8038 instead of Paragraph*
8039 (singleWidth): ditto
8040 Adjust several functions.
8042 * rowpainter.C: adjust several functions
8043 * rowpainter.h:store a ParagraphList::iterator and not a
8047 2003-04-09 John Levon <levon@movementarian.org>
8052 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8053 and the "help" bits as well
8055 2003-04-09 John Levon <levon@movementarian.org>
8058 * ToolbarBackend.C: allow multiple toolbars
8060 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8062 * undo_funcs.C (setCursorParUndo): adjust
8064 * text_funcs.C (transposeChars): adjust
8066 * text3.C (gotoNextInset): adjust
8069 * text2.C (setLayout): adjust
8070 (changeDepth): adjust
8072 (redoParagraphs): adjust
8073 (selectionAsString): adjust
8074 (setParagraph): adjust
8075 (insertInset): adjust
8076 (cutSelection): adjust
8077 (copySelection): adjust
8078 (pasteSelection): adjust
8079 (insertStringAsLines): adjust
8080 (updateInset): adjust
8081 (setCursor): change to take a ParagraphList::iterator parameter
8082 (setCursorIntern): change to take a ParagraphList::iterator parameter
8083 (setCurrentFont): adjust
8084 (cursorLeft): adjust
8085 (cursorRight): adjust
8086 (deleteEmptyParagraphMechanism): adjust
8088 * text.C (breakParagraph): adjust
8089 (insertChar): adjust
8090 (acceptChange): adjust
8091 (rejectChange): adjust
8092 (selectNextWordToSpellcheck): adjust
8093 (changeCase): adjust
8097 * lyxfind.C (SearchForward): adjust
8098 (SearchBackward): adjust
8099 (nextChange): adjust
8101 * lyxcursor.C (par): adjust
8103 * lyxcursor.h: store a ParagraphList::iterator instead of a
8106 * lyx_cb.C (getPossibleLabel): adjust
8108 * bufferview_funcs.C (toggleAndShow): adjust
8110 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8113 * BufferView.C (removeAutoInsets): adjust
8114 (lockedInsetStoreUndo): adjust
8116 2003-04-09 John Levon <levon@movementarian.org>
8118 * ToolbarBackend.C: try icon without argument
8119 if with argument fails
8121 2003-04-08 John Levon <levon@movementarian.org>
8124 * ToolbarBackend.C: add getIcon(), handle tooltip,
8125 and change from "Icon" to "Item".
8127 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8129 * BufferView.C (lockInset): another bad getchar crunched
8131 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8133 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8136 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8138 * lyxfind.C (searchForward, searchBackwards): bug 782
8140 2003-04-07 John Levon <levon@movementarian.org>
8142 * paragraph.C: remove dead comment
8144 * text.C: remove troublesome depth-fiddling code
8145 in leftMargin() and rightMargin() (bug 1017)
8147 * text.C: fix breaking of rows in nested lists
8150 * text2.C (updateCounters): fix up depth values
8153 2003-04-07 John Levon <levon@movementarian.org>
8155 * BufferView_pimpl.C: clear message when doc finishes resizing,
8156 and after a mouse event
8158 * lyxfunc.C: clear message after exiting inset
8160 2003-04-07 John Levon <levon@movementarian.org>
8162 * bufferview_funcs.C: show math status not outside
8163 status in the statusbar
8165 2003-04-07 John Levon <levon@movementarian.org>
8167 * lyxfunc.C: note status changed after a depth change
8169 2003-04-04 Angus Leeming <leeming@lyx.org>
8171 * LaTeX.h: move AuxInfo operator==, != out of line.
8172 Remove LaTeX virtual destructor; nothing derives from it.
8173 Move operator()() out of public area and rename it startscript().
8174 Change protected for private.
8176 2003-04-04 Angus Leeming <leeming@lyx.org>
8179 * text2.C: remove unneeded #includes.
8181 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8183 * text2.C (dEPM): fix the heigth of the next row
8185 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8187 * text.C: squashed an invalid getChar requester + some ws changes
8189 2003-04-03 John Levon <levon@movementarian.org>
8191 * bufferview_funcs.h:
8192 * bufferview_funcs.C:
8195 * text2.C: make getStatus work for the env depth lfuns
8197 2003-04-03 John Levon <levon@movementarian.org>
8199 * bufferview_funcs.h:
8200 * bufferview_funcs.C:
8203 * text2.C: parlistize decDepth(), by merging it with incDepth()
8205 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8207 * lyxrow.h: store a ParagraphList::iterator instead of a
8208 Paragraph* and adjust other class functions to suit.
8210 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8213 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8215 * text2.C (setCursor): do not anchor to cursor row for the time being
8217 2003-04-02 John Levon <levon@movementarian.org>
8224 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8226 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8228 * paragraph.h: make ParagraphList and ParagraphList::iterator
8229 friends of Paragraph.
8231 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8233 * ParagraphList.C: Use the private next_ and previous_ from
8236 2003-04-01 John Levon <levon@movementarian.org>
8240 * Makefile.am: rename, remove defaults gunk
8243 * MenuBackend.C: remove defaults gunk
8246 * Languages.C: remove defaults gunk
8249 * lyx_main.C: error out if files couldn't be found.
8251 2003-04-02 John Levon <levon@movementarian.org>
8253 * text2.C: make incDepth() use parlist
8255 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8257 * undo_funcs.C (firstUndoParagraph): adjust
8259 * text3.C (gotoInset): adjust
8260 (dispatch): adjust, and rewrite loop.
8262 * text2.C (init): adjust, and rewrite loop.
8263 (redoParagraphs): adjust
8264 (updateInset): adjust, and rewrite loop.
8265 (deleteEmptyParagraphMechanism): adjust
8267 * tabular.C (LyXTabular): adjust
8268 (SetMultiColumn): adjust
8271 * lyxtext.[Ch] (ownerParagraph): delete function
8272 (ownerParagraphs): new function returns a ParagraphList.
8274 * BufferView.C (removeAutoInsets): adjust
8275 (insertErrors): adjust
8276 (setCursorFromRow): adjust
8278 2003-04-01 Angus Leeming <leeming@lyx.org>
8280 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8283 2003-04-02 John Levon <levon@movementarian.org>
8289 * text_funcs.C: make transposeChars a free function
8291 * lyxrow_funcs.C: remove wrong comment
8293 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8296 * rowpainter.C: adjust
8301 * lyxrow_funcs. [Ch]: new files
8303 * lyxrow.[Ch]: remove next and previous pointers
8304 (next,previous): remove accessor functions
8305 (isParEnd): move to lyxrow_funcs
8306 (lastPos): move to lyxrow_funcs
8307 (nextRowIsAllInset): move to lyxrow_funcs
8308 (lastPrintablePos): move to lyxrow_funcs
8309 (numberOfSeparators): move to lyxrow_funcs
8310 (numberOfHfills): move to lyxrow_funcs
8311 (numberOfLabelHfills): move to lyxrow_funcs
8312 (hfillExpansion): move to lyxrow_funcs
8316 * bufferview_funcs.C (toggleAndShow): adjust
8318 * RowList.h: Remove class RowList from file leave just a
8321 * RowList.C: delete file
8323 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8326 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8328 * text3.C (cursorPrevious): adjust
8329 (cursorNext): adjust
8332 * text2.C (redoHeightOfParagraph): adjust
8333 (redoDrawingOfParagraph): adjust
8336 * text.C (breakParagraph): adjust
8337 (insertChar): adjust
8340 * rowpainter.C (RowPainter): adjust
8341 (leftMargin): simplify and adjust
8342 (most rowpainter functions): adjust.
8344 * rowpainter.h: store the row as RowList::iterator not as Row*
8346 * lyxcursor.C (row): taka RowList::iterator as arg
8349 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8352 2003-04-01 Angus Leeming <leeming@lyx.org>
8354 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8355 stuff like bool Bool.
8357 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8359 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8362 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8364 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8367 * lyxtext.h (rows): drop one version and leve a const variant that
8368 returns a RowList::iterator.
8370 2003-03-31 Angus Leeming <leeming@lyx.org>
8372 * text.C (fill): ensure that the signature is the same as that in the
8375 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8377 * text2.C (redoParagraphs): adjust
8378 (updateCounters): adjust
8379 (checkParagraph): adjust
8380 (getColumnNearX): adjust and reformat a bit.
8382 * text.C (top_y): adjust
8384 (leftMargin): adjust
8385 (prepareToPrint): adjust
8387 (getRowNearY): adjust
8389 * lyxtext.h: make rowlist_ mutable.
8391 * RowList.h: add const_iterator
8392 * RowList.C: adjust for RowList::const_iterator.
8394 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8397 2003-03-31 John Levon <levon@movementarian.org>
8400 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8402 * lyx_main.C: set default fonts from using lyx_gui funcs
8404 * exporter.C: pdf_mode moved from lyxrc
8407 * lyxfunc.C: changes from above
8409 2003-03-31 John Levon <levon@movementarian.org>
8411 * lyx_main.C: fix to the last fix
8413 2003-03-31 John Levon <levon@movementarian.org>
8415 * bufferlist.C: "Load original" -> "Load Original"
8421 * format.C: more Alert cleanups
8423 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8425 * text2.C (removeParagraph): make it take a RowList::iterator as
8427 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8428 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8430 * text.C (anchor_row): make it take a RowList::iterator as arg,
8432 (computeBidiTables): make it take a const reference to Row instead
8433 of Row pointer, adjust.
8434 (leftMargin): make it take a RowList::iterator as arg, adjust.
8435 (rowBreakPoint): adjust
8436 (breakAgainOneRow): make it take a RowList::iterator as arg,
8438 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8440 * bufferview_funcs.C (toggleAndShow): adjust
8442 2003-03-30 John Levon <levon@movementarian.org>
8446 * boost-inst.C: moved to support
8448 * several files: changes as a result
8450 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8452 * text2.C (LyXText): adjust.
8454 (removeRow): make it take a RowList::iterator as arg, adjust.
8455 (fullRebreak): adjust
8456 (deleteEmptyParagraphMechanism): adjust
8457 (clearPaint): adjust
8460 * text.C (top_y): adjust
8461 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8462 (breakAgain): make it take a RowList::iterator as arg, adjust.
8463 (breakParagraph): adjust
8464 (insertChar): adjust
8467 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8468 need_break_row, and refresh_row.
8470 * text3.C (dispatch): adjust
8472 * text2.C (checkParagraph): adjust
8474 (setCursorFromCoordinates): adjust
8476 * text.C (top_y): adjust
8478 (getRow): make it return a RowList::iterator, adjust
8479 (getRowNearY): make it return a RowList::iterator, adjust
8481 * text2.C (init): adjust
8482 (insertRow): remove function
8483 (insertParagraph): adjust
8484 (redoParagraphs): adjust
8485 (fullRebreak): adjust
8486 (updateCounters): adjust
8488 * text.C (top_y): rewrite to use RowList iterators.
8490 (setHeightOfRow): rewrite to sue RowList iterators.
8491 (appendParagraph): adjust
8492 (breakAgain): adjust
8493 (breakAgainOneRow): adjust
8494 (breakParagraph): adjust
8496 (getRowNearY): adjust, and remove commented code.
8498 * lyxtext.h (firstRow): delete function
8499 (lastRow): delete function
8500 (rows): new function (const and non-const versions.)
8501 (insertRow): delete function
8503 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8505 2003-03-29 John Levon <levon@movementarian.org>
8507 * BufferView_pimpl.C: always update scrollbar top
8508 because pasting text when we're anchored could mean we
8509 miss an update altogether
8511 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8513 * text2.C (init): use rowlist_.end() and not 0.
8514 (insertRow): change to take a RowList::iterator as arg, adjust
8516 (insertParagraph): change to take a RowList::iterator as arg,
8518 (redoParagraphs): remove some debug msgs.
8520 * text.C (appendParagraph): change to take a RowList::iterator
8521 arg, adjust for this.
8522 (breakAgain): add an assert
8523 (breakAgainOneRow): ditto
8525 2003-03-29 John Levon <levon@movementarian.org>
8527 * text2.C: do not clear selection after inc/decDepth
8530 2003-03-29 John Levon <levon@movementarian.org>
8533 * buffer.C: fix broken strerrors according to Lars
8535 2003-03-29 John Levon <levon@movementarian.org>
8537 * converters.C: more Alert cleanups
8539 2003-03-29 John Levon <levon@movementarian.org>
8541 * bufferview_funcs.C: remove pointless Alert
8543 * buffer.C: fix confusing error message when
8544 a template is chmoded 000
8546 2003-03-29 John Levon <levon@movementarian.org>
8550 * BufferView_pimpl.C: Alert fixes
8554 * tabular-old.C: remove unused table compat reading
8556 2003-03-29 John Levon <levon@movementarian.org>
8561 * lyx_cb.C: more Alert cleanups
8563 * lyxfunc.C: don't allow chktex if not latex document
8565 2003-03-29 John Levon <levon@movementarian.org>
8569 * buffer.C: warnings pushed down from support/,
8572 2003-03-29 John Levon <levon@movementarian.org>
8574 * lyxfunc.C: safety check for C-r (revert)
8576 2003-03-29 John Levon <levon@movementarian.org>
8579 * bufferlist.C: several UI fixes using Alert::prompt.
8580 Fix the pointless looping quit code. Fix stupid revert
8585 * lyx_cb.C: use Alert::prompt
8587 * lyx_main.C: remove a silly question
8589 * lyxfunc.C: remove a couple of silly questions,
8592 2003-03-28 John Levon <levon@movementarian.org>
8594 * text2.C: fix bug 974 (End on empty par)
8596 2003-03-28 John Levon <levon@movementarian.org>
8598 * BufferView_pimpl.C:
8600 * lfuns.h: remove do-nothing math greek lfuns
8602 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8604 * lyxgluelength.h (isValidGlueLength): add default arg on
8605 parameter 2. Remove default arg from friend in class.
8607 * lyxlength.h (isValidLength): add default arg on parameter 2.
8608 Remove default arg from friend in class.
8610 * text2.C (LyXText): adjust, initialize refresh_row.
8614 (insertParagraph): adjst
8615 (redoParagraphs): adjust
8616 (fullRebreak): adjust
8617 (updateCounters): adjust
8618 (deleteEmptyParagraphMechanism): first attempt at fixing a
8621 * text.C (top_y): adjust
8622 (setHeightOfRow): adjust
8624 (getRowNearY): adjust
8626 * lyxtext.h: include RowList.h
8627 (~LyXText): not needed anymore, deleted.
8628 (firstRow): modify for RowList
8629 (lastRow): new function
8630 Delete firstrow and lastrow class variables, add a Rowlist
8631 rowlist_ class variable.
8633 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8636 * RowList.C (insert): fix case where it == begin().
8638 2003-03-26 Angus Leeming <leeming@lyx.org>
8640 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8641 the thesaurus dialog.
8643 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8645 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8647 * RowList.[Ch]: new files
8649 * ParagraphList.C (erase): handle the case where it == begin
8652 2003-03-25 John Levon <levon@movementarian.org>
8656 * aspell.C: add new aspell support
8659 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8662 2003-03-25 Angus Leeming <leeming@lyx.org>
8665 * LyXAction.C (init): new LFUN_INSET_INSERT.
8667 * BufferView_pimpl.C (dispatch): split out part of the
8668 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8670 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8673 2003-03-25 Angus Leeming <leeming@lyx.org>
8675 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8677 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8680 * text3.C: remove useless row->height(0)
8682 2003-03-25 John Levon <levon@movementarian.org>
8686 * text3.C: rename the refreshing stuff to better names
8688 2003-03-24 John Levon <levon@movementarian.org>
8690 * BufferView_pimpl.h:
8691 * BufferView_pimpl.C: update layout choice on a mouse
8694 2003-03-23 John Levon <levon@movementarian.org>
8696 * Makefile.am: fix commandtags.h reference
8698 2003-03-22 John Levon <levon@movementarian.org>
8700 * BufferView_pimpl.C:
8705 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8707 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8710 * text.C: take the rtl methods out of line
8712 2003-03-21 André Pönitz <poenitz@gmx.net>
8714 * metricsinfo.[Ch]: new files containing structures to be passed around
8715 during the two-phase-drawing...
8717 2003-03-21 André Pönitz <poenitz@gmx.net>
8719 * lyxtextclass.C: read 'environment' tag.
8721 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8723 * text2.C (removeRow): fix bug 964
8725 2003-03-20 John Levon <levon@movementarian.org>
8729 * text2.C: paint cleanups. Inset::update() dropped font
8732 2003-03-19 John Levon <levon@movementarian.org>
8734 * lyxfunc.C: only fitcursor/markDirty if available()
8736 2003-03-19 John Levon <levon@movementarian.org>
8738 * commandtags.h: rename to ...
8740 * lfuns.h: ... this, and renumber / cleanup
8742 2003-03-19 John Levon <levon@movementarian.org>
8744 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8745 fit the cursor after an lfun
8749 * BufferView_pimpl.h:
8750 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8752 * LyXAction.C: layout-character should have ReadOnly
8754 * ParagraphParameters.C:
8756 * bufferview_funcs.C:
8763 * undo_funcs.C: changes from above
8765 2003-03-18 John Levon <levon@movementarian.org>
8767 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8768 remove it from update()
8770 * lyxfunc.C: update layout choice after an lfun
8772 * text3.C: remove extra updateLayoutChoice()s
8774 2003-03-18 John Levon <levon@movementarian.org>
8776 * text.C: top_y change means full repaint, fix
8777 a drawing bug with cursor movement
8779 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8783 * text2.C: anchor row on setCursor
8785 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8787 * lyxtext.h: remove almost all mutable keywords
8790 * text3.C: remove const keywords accordingly
8792 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8794 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8796 (TeXEnvironment): ditto
8799 2003-03-17 John Levon <levon@movementarian.org>
8801 * text.C (rowBreakPoint): remove attempt to fix displayed
8802 math insets inside a manual label
8804 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8806 * lyxtext.h: remove BufferView* as first arg from almost all class
8808 * other files: adjust.
8810 2003-03-17 John Levon <levon@movementarian.org>
8814 * text2.C: more paint cleanups
8816 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8819 * rowpainter.C: remove "smart" background painting code
8821 2003-03-16 John Levon <levon@movementarian.org>
8826 * text3.C: add helper functions for setting refresh_row/y
8828 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8830 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8831 newline inset which *can* get inserted in the pass_thru layouts.
8832 This is primarily for literate documents.
8834 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8836 * buffer.C: increment LYX_FORMAT to 223
8838 2003-03-14 André Pönitz <poenitz@gmx.net>
8840 * textclass.h: prepare for environment handling, ws changes
8841 * lyxlayout.C: read latexheader and latexfooter tags
8843 2003-03-14 John Levon <levon@movementarian.org>
8845 * text2.C: rewrite ::status() a bit
8847 2003-03-13 John Levon <levon@movementarian.org>
8849 * lyxtext.h: add some docs
8851 2003-03-13 John Levon <levon@movementarian.org>
8856 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8858 2003-03-13 John Levon <levon@movementarian.org>
8860 * text3.C: fix appendix redrawing
8862 2003-03-13 John Levon <levon@movementarian.org>
8864 * text.C (setHeightOfRow):
8866 * rowpainter.C: make appendix mark have the text
8867 "Appendix" so the user knows what it is
8870 * LColor.C: s/appendixline/appendix/ from above
8872 2003-03-13 John Levon <levon@movementarian.org>
8874 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8876 * text.C: fix a getChar(pos) bug properly
8878 2003-03-13 Angus Leeming <leeming@lyx.org>
8881 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8882 Probably only temporary. Let's see how things pan out.
8884 * BufferView.C (unlockInset):
8885 * BufferView_pimpl.C (fitCursor):
8886 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8888 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8889 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8891 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8892 new functions that convert ParagraphParameters to and from a string.
8894 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8895 BufferView::Pimpl's dispatch.
8896 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8898 2003-03-13 André Pönitz <poenitz@gmx.net>
8902 * factory.C: make it aware of InsetEnv
8904 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8906 * text2.C (setCursor): never ask for one past last
8907 (setCursor): add some debugging messages.
8909 * text.C (singleWidth): never ask for one past last
8910 (singleWidth): ditto
8912 (rightMargin): ditto
8913 (rowBreakPoint): ditto
8914 (setHeightOfRow): ditto
8915 (prepareToPrint): ditto
8917 * rowpainter.C (paintBackground): never ask for one past last
8918 (paintText): never ask for one past last
8920 * paragraph_pimpl.C (getChar): make the assert stricter, never
8921 allow the one past last pos to be taken
8923 * paragraph.C (getChar): ws changes only
8925 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8926 (numberOfSeparators): ditto
8927 (numberOfHfills): ditto
8929 2003-03-12 John Levon <levon@movementarian.org>
8935 * paragraph_funcs.C: fix per-buffer authorlists
8937 2003-03-12 John Levon <levon@movementarian.org>
8939 * text.C: fix newline in right address
8941 2003-03-12 Angus Leeming <leeming@lyx.org>
8943 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8944 duplicate those in LyXFunc::dispatch.
8948 * ToolbarDefaults.C:
8949 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8950 Add LFUN_FONTFREE_UPDATE.
8952 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8953 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8955 * bufferview_func.[Ch]: several new functions to facilliate
8956 transfer of data to and from the character dialog.
8958 2003-03-12 John Levon <levon@movementarian.org>
8963 * paragraph_funcs.C:
8964 * paragraph_pimpl.C:
8968 * text3.C: remove META_NEWLINE in favour of an inset
8971 * rowpainter.C: remove paintNewline (done by inset)
8973 2003-03-12 John Levon <levon@movementarian.org>
8975 * paragraph_pimpl.C: complain about bad getChar()s
8976 for a while at least
8978 2003-03-12 John Levon <levon@movementarian.org>
8981 * buffer.C: move paragraph read into a separate function,
8982 a little renaming to reflect that.
8985 * bufferparams.C: remove the author_ids map, not necessary now
8988 * factory.C: moved Buffer::readInset to here
8990 * paragraph_funcs.h:
8991 * paragraph_funcs.C: readParagraph free function moved from
8994 * tabular.C: name change
8996 2003-03-12 John Levon <levon@movementarian.org>
8999 * ParagraphParameters.C: move par params input to
9002 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9003 behave like a normal read from the stream wrt reading
9004 a line vs. a \\token
9006 2003-03-12 John Levon <levon@movementarian.org>
9009 * ParagraphParameters.h:
9010 * ParagraphParameters.C: move output code to a
9013 2003-03-12 John Levon <levon@movementarian.org>
9015 * BufferView.C (insertLyXFile):
9018 * tabular.C: use a parlist iterator for creating the
9021 2003-03-12 John Levon <levon@movementarian.org>
9023 * buffer.C: make current_change static local not
9026 2003-03-12 John Levon <levon@movementarian.org>
9028 * buffer.C: fix insertStringAsLines for change tracking
9030 2003-03-12 John Levon <levon@movementarian.org>
9037 * bufferparams.C: move author list into params. Rename some
9038 functions. Move the header reading into a separate token
9039 loop. Move the header token reading into BufferParams.
9041 2003-03-12 John Levon <levon@movementarian.org>
9043 * changes.C: put debug inside lyxerr.debugging() checks
9045 2003-03-11 André Pönitz <poenitz@gmx.net>
9047 * factory.C: make it aware of InsetHFill
9049 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9051 * buffer.C (latexParagraphs): move function from here...
9052 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9055 2003-03-10 Angus Leeming <leeming@lyx.org>
9057 * LyXAction.C (init): fix bug in poplating array with multiple entries
9058 with the same LFUN (spotted by JMarc).
9060 2003-03-10 John Levon <levon@movementarian.org>
9063 * text2.C: move getColumnNearX() near its
9066 2003-03-10 John Levon <levon@movementarian.org>
9068 * text.C: fix break before a minipage
9070 2003-03-10 John Levon <levon@movementarian.org>
9072 * text.C: fix the last commit
9074 2003-03-09 John Levon <levon@movementarian.org>
9078 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9079 bug 365 (don't break before insets unless needed). Don't
9080 return a value > last under any circumstances.
9082 2003-03-09 Angus Leeming <leeming@lyx.org>
9084 * BufferView_pimpl.C (trackChanges, dispatch): call
9085 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9087 2003-03-09 Angus Leeming <leeming@lyx.org>
9089 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9090 than Dialogs::showAboutlyx().
9092 2003-03-09 Angus Leeming <leeming@lyx.org>
9094 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9095 than Dialogs::showTabularCreate().
9097 2003-03-09 John Levon <levon@movementarian.org>
9101 * text2.C: 3rd arg to nextBreakPoint was always the same.
9104 2003-03-08 John Levon <levon@movementarian.org>
9111 * text2.C: Remove the "main" bit from the "main body"
9114 2003-03-08 John Levon <levon@movementarian.org>
9116 * text.C (leftMargin): The left margin of an empty
9117 manual label paragraph should not include the label width
9120 * text.C (prepareToPrint): don't attempt to measure hfills
9121 for empty manual label paragraphs - the answer should be 0
9123 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9125 * CutAndPaste.C: remove commented code and reindent.
9127 2003-03-08 John Levon <levon@movementarian.org>
9130 * lyxfunc.C: move reloadBuffer()
9133 * BufferView.C: to here
9135 * lyxvc.C: add comment
9138 * vc-backend.C: call bv->reload() to avoid
9139 getStatus() check on MENURELOAD
9141 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9143 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9144 to an old format .dep file.
9146 2003-03-07 Angus Leeming <leeming@lyx.org>
9148 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9149 when the LFUN_MOUSE_RELEASE should have been handled by
9150 inset->localDispatch.
9152 2003-03-07 Angus Leeming <leeming@lyx.org>
9154 * BufferView_pimpl.C (dispatch):
9155 * LyXAction.C (init):
9156 * ToolbarDefaults.C (init):
9158 * lyxfunc.C (getStatus):
9159 remove LFUN_INSET_GRAPHICS.
9161 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9163 2003-03-07 Angus Leeming <leeming@lyx.org>
9166 * LyXAction.C (init):
9167 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9169 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9172 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9174 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9175 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9177 2003-03-07 Angus Leeming <leeming@lyx.org>
9179 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9182 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9184 * ParagraphList.C (front): new function
9187 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9189 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9190 and top_row_offset_. removed var first_y.
9192 * text2.C (LyXText, removeRow):
9194 * BufferView_pimpl.C:
9195 use these methods instead of using first_y
9197 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9199 * text2.C (pasteSelection): adjust for checkPastePossible
9201 * CutAndPaste.C: remove Paragraph * buf and replace with
9202 ParagraphList paragraphs.
9203 (DeleteBuffer): delete
9204 (cutSelection): change the tc type to textclass_type
9205 (copySelection): change the tc type to textclass_type
9206 (copySelection): adjust for ParagraphList
9207 (pasteSelection): change the tc type to textclass_type
9208 (pasteSelection): adjust for Paragraphlist
9209 (nrOfParagraphs): simplify for ParagraphList
9210 (checkPastePossible): simplify for ParagraphList
9211 (checkPastePossible): remove unused arg
9213 * ParagraphList.C (insert): handle the case where there are no
9216 * CutAndPaste.h: make CutAndPaste a namespace.
9218 * text3.C (dispatch): adjust
9220 * text.C (breakParagraph): add a ParagraphList as arg
9222 * paragraph_funcs.C (breakParagraph): change to take a
9223 BufferParams and a ParagraphList as args.
9224 (breakParagraphConservative): ditto
9225 (mergeParagraph): ditto
9226 (TeXDeeper): add a ParagraphList arg
9227 (TeXEnvironment): ditto
9230 * buffer.C (readLyXformat2): adjust
9231 (insertStringAsLines): adjust
9232 (latexParagraphs): adjust
9234 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9235 (cutSelection): adjust
9236 (pasteSelection): adjust
9238 * BufferView_pimpl.C (insertInset): adjust
9240 2003-03-05 Angus Leeming <leeming@lyx.org>
9243 * LyXAction.C (init):
9244 * BufferView_pimpl.C (dispatch):
9245 * lyxfunc.C (getStatus):
9246 remove LFUN_CHILD_INSERT.
9248 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9250 2003-03-05 Angus Leeming <leeming@lyx.org>
9253 * LyXAction.C (init):
9254 * src/factory.C (createInset):
9255 * lyxfunc.C (getStatus):
9256 * text3.C (dispatch):
9257 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9259 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9261 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9263 * ParagraphList.C (insert): handle insert right before end()
9264 (erase): fix cases where it can be first or last paragraph.
9266 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9268 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9269 Paragraph::next and Paragraph::previous
9272 * text.C (breakParagraph): adjust
9274 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9275 BufferParams& as arg.
9276 (breakParagraph): use ParagraphList::insert
9277 (breakParagraphConservative): take a Buffer* instead of a
9278 BufferParams& as arg.
9279 (breakParagraphConservative): use ParagraphList::insert.
9281 * buffer.C (insertStringAsLines): un-const it
9282 (insertStringAsLines): adjust
9284 * ParagraphList.C (insert): new function
9286 * CutAndPaste.C (pasteSelection): adjust
9288 * text.C (backspace): adjust
9290 * tabular.C (SetMultiColumn): adjust
9292 * CutAndPaste.C (cutSelection): adjust
9293 (pasteSelection): adjust
9295 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9296 Buffer const * as arg
9298 * ParagraphList.C (erase): new function
9299 * paragraph_funcs.C (mergeParagraph): use it
9300 (mergeParagraph): make it take a Buffer* instead of a
9301 BufferParams* as arg
9303 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9305 (breakParagraphConservative): ditto
9307 * paragraph.h: remove the breakParagraph friend
9309 * paragraph.C (eraseIntern): new function
9310 (setChange): new function
9312 * paragraph_funcs.C (mergeParagraph): make it take a
9313 ParagraphList::iterator instead of a Paragraph *, adjust
9316 * paragraph.h: move an #endif so that the change tracking stuff
9317 also works in the NO_NEXT case.
9319 2003-03-04 Angus Leeming <leeming@lyx.org>
9322 * LyXAction.C: new LFUN_INSET_MODIFY.
9324 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9325 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9327 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9329 * several files: ws changes only
9331 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9332 (TeXEnvironment): ditto
9335 * buffer.C (makeLaTeXFile): adjust
9336 (latexParagraphs): make it take ParagraphList::iterator as args
9338 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9340 * buffer.C (latexParagraphs): adjust
9342 * paragraph.C (TeXOnePar): move function...
9343 (optArgInset): move function...
9344 (TeXEnvironment): move function...
9345 * paragraph_pimpl.C (TeXDeeper): move function...
9346 * paragraph_funcs.C: ...here
9348 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9350 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9352 * buffer.C (readInset): remove compability code for old Figure and
9355 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9357 * buffer.C: ws changes
9360 * BufferView_pimpl.C: ditto
9363 * bufferlist.h: ditto
9367 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9369 * converter.[Ch]: split into itself +
9372 * Makefile.am: += graph.[Ch] + format.[Ch]
9379 * lyxrc.C: added #include "format.h"
9381 2003-02-27 Angus Leeming <leeming@lyx.org>
9383 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9386 * factory.C (createInset): add "label" to the factory.
9388 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9389 string and do no more.
9391 2003-02-27 Angus Leeming <leeming@lyx.org>
9394 * LyXAction.C (init):
9395 * factory.C (createInset):
9396 * BufferView_pimpl.C (dispatch):
9397 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9399 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9401 * lyxfunc.C (dispatch):
9402 * text3.C (dispatch): pass name to params2string.
9404 2003-02-26 Angus Leeming <leeming@lyx.org>
9406 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9408 Rearrange the ~includes. Strip out the unnecessary ones.
9410 * factory.C (createInset): reformat.
9411 create new insets for the various LFUN_XYZ_APPLY lfuns.
9413 2003-02-26 John Levon <levon@movementarian.org>
9416 * lyxrow.C: add isParStart,isParEnd helpers
9418 * paragraph.h: make isInserted/DeletedText take refs
9420 * paragraph_funcs.h:
9421 * paragraph_funcs.C: remove #if 0'd code
9426 * text.C: use lyxrow helpers above.
9427 Move draw and paint routines to RowPainter.
9428 Make several methods use refs not pointers.
9429 Make backgroundColor() const.
9430 Add markChangeInDraw(), isInInset().
9431 Merge changeRegionCase into changeCase.
9432 Make workWidth() shouldn't-happen code into an Assert.
9435 * rowpainter.C: new class for painting a row.
9438 * vspace.C: make inPixels take a ref
9440 2003-02-26 Angus Leeming <leeming@lyx.org>
9442 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9445 2003-02-25 John Levon <levon@movementarian.org>
9447 * ispell.C: give the forked command a more accurate name
9449 2003-02-22 John Levon <levon@movementarian.org>
9452 * toc.C: make TocItem store an id not a Paragraph *
9455 2003-02-21 Angus Leeming <leeming@lyx.org>
9457 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9458 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9459 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9460 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9461 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9462 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9464 * BufferView_pimpl.C (dispatch):
9465 * LyXAction.C (init):
9466 * factory.C (createInset):
9467 * lyxfunc.C (getStatus, dispatch):
9468 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9470 2003-02-21 Angus Leeming <leeming@lyx.org>
9472 * BufferView_pimpl.C (MenuInsertLyXFile):
9473 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9474 * lyxfunc.C (menuNew, open, doImport):
9475 no longer pass a LyXView & to fileDlg.
9477 2003-02-21 Angus Leeming <leeming@lyx.org>
9479 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9480 * LyXAction.C: change, BIBKEY to BIBITEM.
9481 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9482 Change InsetBibKey to InsetBibitem.
9483 Change BIBKEY_CODE to BIBITEM_CODE.
9484 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9485 * factory.C: replace insetbib.h with insetbibitem.h.
9486 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9487 * paragraph.C: replace insetbib.h with insetbibitem.h.
9488 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9489 Change bibkey() to bibitem().
9490 * text.C: remove insetbib.h.
9491 * text2.C: replace insetbib.h with insetbibitem.h.
9492 change bibkey() to bibitem().
9493 * text3.C: remove insetbib.h.
9494 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9496 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9498 * lyxrc.C (output): enclose user email in quotes (in case there are
9501 2003-02-18 John Levon <levon@movementarian.org>
9503 * buffer.h: add std::
9505 2003-02-17 John Levon <levon@movementarian.org>
9511 * pspell.C: reworking. Especially in ispell, a large
9512 number of clean ups and bug fixes.
9514 * lyxfunc.C: fix revert to behave sensibly
9516 2003-02-17 André Pönitz <poenitz@gmx.net>
9519 * commandtags.h: new LFUN_INSERT_BIBKEY
9529 * paragraph_func.C: remove special bibkey handling
9531 2003-02-17 John Levon <levon@movementarian.org>
9533 * text.C (Delete): fix case where delete at the end of
9534 the very first paragraph would not merge the pars
9536 2003-02-17 John Levon <levon@movementarian.org>
9538 * lyxrow.C: fix lastPrintablePos()
9540 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9542 * bufferparams.C (writeLaTeX): add a std:here
9544 * buffer.C: and remove a using directive there
9546 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9548 * buffer.C (makeLaTeXFile): move the code that generates the
9551 * bufferparams.C (writeLaTeX): ... in this new method
9553 * LaTeXFeatures.C (getEncodingSet): make const
9554 (getLanguages): make const
9556 * MenuBackend.C (binding): returns the binding associated to this
9558 (add): sets the status of each item by calling getStatus. Adds
9560 (read): add support for OptSubMenu
9561 (expand): remove extra separator at the end of expanded menu
9563 2003-02-15 John Levon <levon@movementarian.org>
9566 * BufferView_pimpl.C:
9568 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9569 inset code that had no actual effect. Remove unneeded status
9572 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9574 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9577 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9579 * text.C (drawLengthMarker): also draw an arrow marker for
9580 symbolic lengths (medskip...)
9582 2003-02-14 John Levon <levon@movementarian.org>
9585 * tabular.C: better method names
9587 2003-02-14 John Levon <levon@movementarian.org>
9589 * BufferView_pimpl.C:
9594 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9595 it's a more accurate name. Remove some pointless uses.
9597 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9599 * text2.C (LyXText): change order of initilizers to shut off
9602 2003-02-14 John Levon <levon@movementarian.org>
9604 * buffer.C: use ParIterator for getParFromID()
9608 * paragraph_pimpl.h:
9609 * paragraph_pimpl.C: remove unused getParFromID()
9611 2003-02-14 John Levon <levon@movementarian.org>
9613 * buffer.C: remove some very old #if 0'd parse code
9615 2003-02-13 John Levon <levon@movementarian.org>
9619 * text2.C: move hfillExpansion(), numberOfSeparators(),
9620 rowLast(), rowLastPrintable(), numberofHfills(),
9621 numberOfLabelHfills() ...
9624 * lyxrow.C: ... to member functions here.
9629 * text.C: remove LyXText::beginningOfMainBody(), and call
9630 p->beginningOfMainBody() directly. Move the check for
9631 LABEL_MANUAL into the latter.
9638 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9644 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9645 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9647 2003-02-13 John Levon <levon@movementarian.org>
9649 * CutAndPaste.C: remove debug
9651 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9653 * paragraph.C (asString): remove two unused variables
9655 * lyxtextclass.C (readTitleType):
9657 (LyXTextClass): handle new members titletype_ and titlename_
9659 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9661 2003-02-09 John Levon <levon@movementarian.org>
9664 * buffer.C: replace hand-coded list with a map for the dep clean
9666 2003-02-08 John Levon <levon@movementarian.org>
9668 * LaTeX.C: consolidate code into showRunMessage() helper
9670 2003-02-08 John Levon <levon@movementarian.org>
9675 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9676 and pass the size in explicitly
9678 * BufferView_pimpl.h:
9679 * BufferView_pimpl.C:
9681 * BufferView.C: add getCurrentChange()
9683 * BufferView_pimpl.h:
9684 * BufferView_pimpl.C: handle change lfuns
9686 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9687 for changes. Mark pasted paragraphs as new.
9689 * support/lyxtime.h:
9690 * support/lyxtime.C:
9691 * DepTable.C: abstract time_t as lyx::time_type
9694 * LColor.C: add colours for new text, deleted text, changebars
9696 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9697 package use "usenames" option.
9701 * LyXAction.C: add change lfuns
9705 * author.C: author handling
9708 * buffer.C: add a per-buffer author list, with first entry as
9709 current author. Handle new .lyx tokens for change tracking. Output
9710 author list to .lyx file. Output dvipost stuff to .tex preamble.
9711 Bump lyx format to 222.
9714 * bufferlist.C: add setCurrentAuthor() to reset current author details
9718 * bufferparams.C: add param for tracking
9720 * bufferview_funcs.C: output change info in minibuffer
9724 * changes.C: add change-tracking structure
9727 * debug.C: add CHANGES debug flag
9730 * lyxfind.C: add code for finding the next change piece
9733 * lyxrc.C: add user_name and user_email
9736 * lyxrow.C: add a metric for the top of the text line
9739 * text.C: implement accept/rejectChange()
9742 * text.C: paint changebars. Paint new/deleted text in the chosen
9743 colours. Strike through deleted text.
9747 * paragraph_pimpl.h:
9748 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9749 in the current change to the insert functions. Rework erase to
9750 mark text as deleted, adding an eraseIntern() and a range-based
9751 erase(). Implement per-paragraph change lookup and
9754 * paragraph_funcs.C: Fixup paste for change tracking.
9756 * tabular.C: mark added row/columns as new.
9758 * text.C: fix rowLast() to never return -1. Don't allow
9759 spellchecking of deleted text. Track transpose changes. Don't
9760 allow paragraph break or merge where appropriate.
9762 * text2.C: leave cursor at end of selection after a cut.
9764 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9766 * text.C (getLengthMarkerHeight):
9767 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9768 visible on screen too.
9770 2003-02-07 John Levon <levon@movementarian.org>
9772 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9774 2003-02-05 Angus Leeming <leeming@lyx.org>
9776 * lyxserver.C (read_ready): revert my patch of 11 September last year
9777 as it sends PC cpu through the roof. Presumably this means that
9778 the lyxserver will no longer run on an Alpha...
9780 2003-01-30 Angus Leeming <leeming@lyx.org>
9782 * factory.C (createInset): create an InsetCommandParam of type "index"
9783 and use it to 'do the right thing'.
9785 * text2.C (getStringToIndex): ensure that cursor position is always
9786 reset to the reset_cursor position.
9788 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9790 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9793 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9797 * lyxfunc.C: Output messages with identical spelling, punctuation,
9800 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9802 * MenuBackend.C (expandFormats): List only viewable export formats
9805 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9808 * lyxfunc.C (getStatus): Make sure that formats other than
9809 "fax" can also be disabled
9811 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9813 * text3.C (dispatch): put the lfuns that insert insets in 3
9814 groups, and call doInsertInset with appropriate arguments.
9815 (doInsertInset): new function, that creates an inset and inserts
9816 it according to some boolean parameters.
9818 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9820 * buffer.C (readFile): remember to pass on 'par' when calling
9821 readFile recursively.
9823 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9825 * MenuBackend.C (expandFormats): add "..." to import formats.
9827 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9829 * paragraph.C (asString): Remove XForms RTL hacks.
9831 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9832 * buffer.C: fix typo
9834 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9836 * Makefile.am (LIBS): delete var
9837 (lyx_LDADD): add @LIBS@ here instead.
9839 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9841 * Clarify the meaning of "wheel mouse jump"
9843 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9845 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9848 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9850 * importer.C (Loaders): do not preallocate 3 elements in the
9851 vector, since one ends up with 6 elements otherwise
9853 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9855 * DepTable.C (write): write the file name as last element of the
9856 .dep file (because it may contain spaces)
9857 (read): read info in the right order
9859 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9861 * paragraph_pimpl.C (simpleTeXBlanks):
9862 (simpleTeXSpecialChars):
9863 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9865 * tabular.C (latex): add some missing case statements. Reindent.
9867 * MenuBackend.C (expandToc): remove unused variable.
9869 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9878 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9881 2003-01-05 John Levon <levon@movementarian.org>
9884 * BufferView.C: add getEncoding()
9887 * kbsequence.C: do not store last keypress
9890 * lyxfunc.C: store last keypress here instead. Pass encoding
9893 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9895 * lyx_main.C (init): remove annoying error message when following
9896 symbolic links (bug #780)
9898 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9900 * text.C (insertChar):
9901 * lyxrc.C (getDescription): remove extra spaces
9903 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9905 * lyxrc.C (getDescription): remove extra spaces
9907 2002-12-20 John Levon <levon@movementarian.org>
9909 * text3.C: hack fix for page up/down across tall rows
9911 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9913 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9916 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9918 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9919 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9920 thesaurus is not compiled in
9922 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9924 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9926 2002-12-16 Angus Leeming <leeming@lyx.org>
9929 * lyx_main.C (init): remove override_x_deadkeys stuff.
9931 2002-12-12 John Levon <levon@movementarian.org>
9933 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9934 insert. Only remove shift modifier under strict
9937 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9939 * MenuBackend.C (expandToc): fix crash.
9941 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9943 * MenuBackend.C (expandToc): gettext on float names.
9945 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9947 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9948 implement bool empty() [bug 490]
9950 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9952 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9954 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9956 * several files: ws changes
9958 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9960 * text2.C (setCounter): clean up a bit, use boost.format.
9961 (updateCounters): initialize par upon declaration.
9963 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9964 if the layout exists. We do not just store the layout any more.
9965 (SwitchLayoutsBetweenClasses): use boost.format
9967 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9969 * converter.C (convert): if from and to files are the same, use a
9970 temporary files as intermediary
9972 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9975 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9977 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9979 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9981 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9983 * tabular.C (asciiPrintCell): use string(size, char) instead of
9986 * sgml.C (openTag): fix order of arguments to string constructor
9989 * lyxfunc.C (dispatch): use boost.format
9991 * lots of files: change "c" -> 'c'
9993 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9995 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9997 2002-11-25 Angus Leeming <leeming@lyx.org>
9999 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10001 * lyx_main.C (init): compile fix.
10003 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10005 * lyx_cb.C (start): boost.formatify
10006 do not include <iostream>
10008 * lengthcommon.C: ws only
10010 * boost-inst.C,BoostFormat.h: add more explict instantations
10012 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10014 * lots of files: handle USE_BOOST_FORMAT
10016 2002-11-21 John Levon <levon@movementarian.org>
10018 * pspell.C: fix compile
10020 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10022 * lyxfunc.C (dispatch): use boost::format
10026 * lyxfont.C (stateText): use boost::format
10028 * lyx_main.C (LyX): use boost::format
10030 (queryUserLyXDir): ditto
10031 (readRcFile): ditto
10033 (typedef boost::function): use the recommened syntax.
10035 * importer.C (Import): use boost::format
10037 * debug.C (showLevel): use boost::format
10039 * converter.C (view): use boost::format
10044 * bufferview_funcs.C (currentState): use boost::format
10046 * bufferlist.C (emergencyWrite): use boost::format
10048 * buffer.C (readLyXformat2): use boost::format
10049 (parseSingleLyXformat2Token): ditto
10051 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10053 * LaTeX.C (run): use boost::format
10055 * Chktex.C (scanLogFile): use boost::format
10057 * BufferView_pimpl.C (savePosition): use boost::format
10058 (restorePosition): ditto
10059 (MenuInsertLyXFile): ditto
10061 * BoostFormat.h: help file for explicit instation.
10063 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10065 * tabular.C (latex): Support for block alignment in fixed width
10068 2002-11-17 John Levon <levon@movementarian.org>
10070 * BufferView_pimpl.C:
10072 * lyxfunc.C: split filedialog into open/save
10074 2002-11-08 Juergen Vigna <jug@sad.it>
10076 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10077 by my last patch (hopefully).
10079 2002-11-08 John Levon <levon@movementarian.org>
10088 * toc.C: ParConstIterator, and use it (from Lars)
10090 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10092 * lyxtextclass.[Ch]: revise and add doxygen comments
10094 2002-11-07 John Levon <levon@movementarian.org>
10096 * text.C: fix progress value for spellchecker
10098 * toc.C: fix navigate menu for insetwrap inside minipage
10100 * paragraph_funcs.C: added FIXME for suspect code
10102 2002-11-07 John Levon <levon@movementarian.org>
10104 * BufferView_pimpl.C: fix redrawing of insets
10107 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10109 * text2.C (updateCounters): fix bug 668
10111 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10113 * text3.C (dispatch): Do not make the buffer dirty when moving the
10116 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10118 * vc-backend.C: STRCONV
10119 (scanMaster): ditto
10121 * text2.C (setCounter): STRCONV
10123 * paragraph.C (asString): STRCONV
10125 * lyxlength.C (asString): STRCONV
10126 (asLatexString): ditto
10128 * lyxgluelength.C (asString): STRCONV
10129 (asLatexString): ditto
10131 * lyxfunc.C (dispatch): STRCONV
10134 * lyxfont.C (stateText): STRCONV
10136 * importer.C (Import): STRCONV
10138 * counters.C (labelItem): STRCONV
10139 (numberLabel): ditto
10140 (numberLabel): remove unused ostringstream o
10145 * bufferview_funcs.C (currentState): STRCONV
10147 * buffer.C (readFile): STRCONV
10148 (asciiParagraph): ditto
10149 (makeLaTeXFile): ditto
10151 * Spacing.C (writeEnvirBegin): STRCONV
10153 * LaTeXFeatures.C (getLanguages): STRCONV
10154 (getPackages): ditto
10156 (getBabelOptions): ditto
10157 (getTClassPreamble): ditto
10158 (getLyXSGMLEntities): ditto
10159 (getIncludedFiles): ditto
10163 (scanAuxFile): ditto
10166 * LString.h: add the STRCONV macros
10168 * BufferView_pimpl.C (savePosition): STRCONV
10169 (restorePosition): ditto
10170 (MenuInsertLyXFile): ditto
10172 * vc-backend.C (scanMaster): change from submatch[...] to
10175 * funcrequest.C: include config.h
10177 * factory.C: include config.h
10179 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10181 * box.C: include config.h
10183 * LaTeX.C (scanAuxFile): change from submatch[...] to
10187 2002-10-25 Angus Leeming <leeming@lyx.org>
10189 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10191 * ispell.[Ch] (setError): new method.
10192 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10193 Use setError() insetead of goto END.
10195 * lyx_cb.C (AutoSave): move out child process into new class
10198 2002-10-30 John Levon <levon@movementarian.org>
10200 * text3.C: make start appendix undoable
10202 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10204 * lyxlength.C (inPixels): Fix returned value.
10206 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10209 2002-10-24 Angus Leeming <leeming@lyx.org>
10211 * lyxgluelength.h: no need to forward declare BufferParams
10212 or BufferView, so don't.
10214 2002-10-21 John Levon <levon@movementarian.org>
10216 * BufferView.C: menuUndo ->undo, redo
10218 * BufferView.h: document, remove dead, make some methods private
10220 * paragraph_funcs.h:
10221 * paragraph_funcs.C:
10222 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10227 * sgml.C: move sgml open/close tag into sgml.C
10229 * bufferview_funcs.h: unused prototype
10232 * lyxfunc.C: remove unused
10235 * text.C: remove unused
10237 2002-10-21 John Levon <levon@movementarian.org>
10241 * BufferView_pimpl.h:
10242 * BufferView_pimpl.C: fix mouse wheel handling based on
10243 patch from Darren Freeman
10245 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10247 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10249 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10251 * lyxlength.C (inPixels): Fix hanfling of negative length.
10252 Fix LyXLength::MU case.
10254 2002-10-16 John Levon <levon@movementarian.org>
10256 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10258 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10260 * converter.C (view): add support for $$i (file name) and $$p
10261 (file path) for the viewer command. If $$i is not specified, then
10262 it is appended to the command (for compatibility with old syntax)
10264 2002-10-14 Juergen Vigna <jug@sad.it>
10266 * undo_funcs.C (textHandleUndo): alter the order in which the
10267 new undopar is added to the LyXText, as we have to set first
10268 the right prev/next and then add it as otherwise the rebuild of
10269 LyXText is not correct. Also reset the cursor to the right paragraph,
10270 with this IMO we could remove the hack in "redoParagraphs()".
10272 2002-10-09 Angus Leeming <leeming@lyx.org>
10274 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10275 to turn off an optimisation if a new inset is to be inserted.
10277 2002-10-11 André Pönitz <poenitz@gmx.net>
10279 * lyxtext.h: make some functions public to allow access
10280 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10282 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10284 * text3.C (dispatch): when changing layout, avoid an infinite loop
10287 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10289 * lyxrc.C (read): treat a viewer or converter command of "none" as
10292 * MenuBackend.C (expandFormats): for an update, also allow the
10293 formats that are not viewable
10295 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10296 script if it is newer than the lyxrc.defaults in user directory
10298 2002-10-07 André Pönitz <poenitz@gmx.net>
10300 * text.C: Vitaly Lipatov's small i18n fix
10302 2002-09-25 Angus Leeming <leeming@lyx.org>
10304 * ispell.h: doxygen fix.
10306 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10308 * buffer.h (readFile): Add a new argument to the method, to allow
10309 reading of old-format templates.
10311 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10313 * toc.C (getTocList): Get TOC from InsetWrap.
10315 2002-09-16 John Levon <levon@movementarian.org>
10317 * lyxfunc.C: check tabular for cut/copy too
10319 2002-09-12 John Levon <levon@movementarian.org>
10321 * LyXAction.C: tidy
10324 * factory.C: add header
10326 * paragraph_funcs.h:
10327 * paragraph_funcs.C: cleanup
10329 2002-09-11 John Levon <levon@movementarian.org>
10331 * PrinterParams.h: odd/even default to true
10333 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10335 * PrinterParams.h: update printer parameters for new xforms dialog
10337 2002-09-11 Angus Leeming <leeming@lyx.org>
10339 * lyxserver.C (read_ready): re-write to make it more transparent
10340 and to make it work in coherent fashion under Tru64 Unix.
10342 2002-09-11 André Pönitz <poenitz@gmx.net>
10346 * text3.C: implement LFUN_WORDSEL
10348 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10350 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10351 make floatlist_ a boost::shared_ptr<FloatList>
10353 * lyxtextclass.C: include FloatList.h
10354 (LyXTextClass): initialize floatlist_
10355 (TextClassTags): add TC_NOFLOAT
10356 (Read): match "nofloat" to TC_NOFLOAT and use it.
10357 (readFloat): modify call to floatlist_
10361 * FloatList.[Ch] (FloatList): remove commented out float
10363 (erase): new function
10365 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10367 * MenuBackend.C (expandToc): fix crash when there is no document
10370 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10372 * many files: Add insetwrap.
10374 2002-09-09 John Levon <levon@movementarian.org>
10376 * text2.C: remove confusing and awkward depth wraparound
10378 2002-09-09 John Levon <levon@movementarian.org>
10380 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10383 * buffer.C: remove getIncludeonlyList()
10386 * lyxfunc.C: remove headers
10388 2002-09-09 Juergen Vigna <jug@sad.it>
10390 * text.C (getColumnNearX): fix form Michael this is most
10391 probably a cut&paste bug.
10393 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10395 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10397 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10398 references, ws changes.
10400 * text2.C (init): update counters after init
10401 (insertParagraph): no need to set counter on idividual paragraphs.
10402 (setCounter): access the counters object in the textclass object
10403 on in the buffer object.
10404 (updateCounters): ditto
10406 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10407 shared_ptr<Counters> to avoid loading counters.h in all
10409 (LyXTextClass): initialize ctrs_
10410 (TextClassTags): add TC_COUNTER, and ...
10411 (Read): use it here.
10412 (CounterTags): new tags
10413 (readCounter): new function
10414 (counters): new funtion
10415 (defaultLayoutName): return a const reference
10417 * counters.C (Counters): remove contructor
10418 (newCounter): remove a couple of unneeded statements.
10419 (newCounter): simplify a bit.
10420 (numberLabel): some small formatting changes.
10422 * buffer.[Ch]: remove all traces of counters, move the Counters
10423 object to the LyXTextClass.
10425 2002-09-06 Alain Castera <castera@in2p3.fr>
10427 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10428 package to set the horizontal alignment on fixed width columns.
10431 * lyx_sty.h: added tabularnewline macro def.
10433 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10435 2002-09-06 John Levon <levon@movementarian.org>
10437 * LyXAction.C: tooltips for sub/superscript
10439 * MenuBackend.C: a bit more verbose
10441 * lyxfunc.C: tiny clean
10443 * undo_funcs.C: document undo_frozen
10445 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10447 * counters.C (Counters): add missing algorithm counter.
10449 * text2.C (setCounter): lookup the counter with layouts latexname
10450 instead of by section number.
10451 (setCounter): use a hackish way to lookup the correct enum
10453 a float name->type change
10454 reset enum couners with counter name directly instead of depth value.
10456 * counters.C (Counters): remove the push_backs, change to use the
10457 float type not the float name.
10458 (labelItem): remove unused string, float name->type change
10460 * counters.h: don't include vector, loose the enums and sects vectors
10462 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10464 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10465 (Read): add float->TC_FLOAT to textclassTags
10466 (Read): and handle it in the switch
10467 (readFloat): new function
10469 * FloatList.C (FloatList): comment out the hardcoded float
10472 * lyxlayout.h: ws change.
10474 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10476 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10478 2002-09-03 Angus Leeming <leeming@lyx.org>
10480 * BufferView_pimpl.h: qualified name is not allowed in member
10481 declaration: WorkArea & Pimpl::workarea() const;
10483 * factory.C: added using std::endl directive.
10485 * text3.C: added using std::find and std::vector directives.
10487 2002-08-29 André Pönitz <poenitz@gmx.net>
10490 * text2.C: remove unused member number_of_rows
10493 * BufferView2.C: remove file, move contents to...
10494 * BufferView.C: ... here
10496 * BufferView_pimpl.C:
10497 * factory.C: move more inset creation to factory
10499 * vspace.C: avoid direct usage of LyXText, ws changes
10502 don't provide direct access to WorkArea, use two simple
10503 acessors haveSelction() and workHeight() instead
10506 2002-08-29 John Levon <levon@movementarian.org>
10508 * BufferView_pimpl.C (dispatch): do not continue when
10511 2002-08-28 André Pönitz <poenitz@gmx.net>
10513 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10516 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10518 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10520 * buffer.C: increment LYX_FORMAT to 221
10522 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10523 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10525 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10527 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10529 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10531 * factory.C (createInset): use LyXTextClass::floats
10533 * MenuBackend.C (expandFloatListInsert):
10534 (expandFloatInsert):
10537 * text2.C (setCounter):
10539 * LaTeXFeatures.C (useFloat):
10540 (getFloatDefinitions):
10542 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10544 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10545 floatlist_, with accessor floats().
10547 * FloatList.h: remove global FloatList
10549 2002-08-26 André Pönitz <poenitz@gmx.net>
10551 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10555 * BufferView_pimpl.C:
10556 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10558 2002-08-25 John Levon <levon@movementarian.org>
10560 * LyXAction.C: fix margin note description
10562 2002-08-24 John Levon <levon@movementarian.org>
10566 * bufferview_funcs.C:
10568 * undo_funcs.C: cleanups
10570 * lyxfunc.C: disable CUT/COPY when no selection
10572 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10574 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10575 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10577 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10578 Add backward compatibility to "mono", "gray" and "no".
10580 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10582 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10583 (and file_format >= 200).
10585 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10587 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10589 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10591 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10593 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10595 * BufferView_pimpl.C:
10602 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10603 inset and code to make it work with the paragraph code. The inset
10604 can be anywhere in the paragraph, but will only do the expected
10605 thing in LaTeX if the layout file contains the parameter line
10607 (or more generally, a nonzero value) for that layout.
10609 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10611 * paragraph.h: remove the declaration of undefined counters class
10614 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10616 * text2.C (setCounter): fixed enumeration mis-count as reported by
10617 Dr. Richard Hawkins.
10619 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10621 * paragraph_funcs.h: remove some unneeded includes
10623 * text.C (backspace): pasteParagraph now in global scipe
10625 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10626 (pasteSelection): ditto
10628 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10629 * paragraph_funcs.C (pasteParagraph): ... here
10631 2002-08-20 André Pönitz <poenitz@gmx.net>
10633 * commandtags.h: new LFUNs for swapping/copying table row/colums
10636 * lyxfunc.C: support for new lfuns
10638 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10641 * buffer.[Ch]: remove NO_COMPABILITY stuff
10643 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10645 * boost.C (throw_exception): new file, with helper function for
10646 boost compiled without exceptions.
10651 * ParameterStruct.h:
10652 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10654 * bufferlist.C (emergencyWriteAll): use boost bind
10656 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10658 * text.C: include paragraph_funcs.h
10659 (breakParagraph): breakParagraph is now in global scope
10661 * paragraph_funcs.[Ch]: new files
10663 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10666 * buffer.C: include paragraph_funcs.h
10667 (insertStringAsLines): breakParagraph is now in global scope
10669 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10672 * CutAndPaste.C: include paragraph_funcs.h
10673 (cutSelection): breakParagraphConservative is now in global scope
10674 (pasteSelection): ditto
10676 * buffer.h: declare oprator== and operator!= for
10677 Buffer::inset_iterator
10679 * bufferlist.C (emergencyWrite): don't use fmt(...)
10681 * text3.C: add using std::endl
10683 * BufferView.C (moveCursorUpdate): remove default arg
10685 2002-08-20 André Pönitz <poenitz@gmx.net>
10687 * buffer.[Ch]: move inline functions to .C
10690 * BufferView_pimpl.C:
10692 * buffer.[Ch]: use improved inset_iterator
10695 * paragraph.[Ch]: write one paragraph at a time
10697 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10699 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10700 style if style is not specified.
10702 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10704 * text2.C (setCounter): when searching for right label for a
10705 caption, make sure to recurse to parent insets (so that a caption
10706 in a minipage in a figure float works) (bug #568)
10708 2002-08-20 André Pönitz <poenitz@gmx.net>
10710 * text3.C: new file for LyXText::dispatch() and helpers
10712 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10714 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10716 2002-08-19 André Pönitz <poenitz@gmx.net>
10719 * text.C: new LyXText::dispatch()
10721 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10723 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10725 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10727 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10730 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10732 * Makefile.am: use $(variables) instead of @substitutions@
10734 2002-08-15 André Pönitz <poenitz@gmx.net>
10737 * BufferView_pimpl.C: streamlining mathed <-> outer world
10741 * LyXAction.C: remove unused LFUN_MATH
10743 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10745 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10747 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10749 * paragraph.C (Paragraph): reformat a bit
10750 (cutIntoMinibuffer): use builtin InsetList function instad of
10754 * buffer.C: include boost/bind.hpp, add using std::for_each
10755 (writeFileAscii): use ParagraphList iterators
10756 (validate): use for_each for validate traversal of paragraphs
10757 (getBibkeyList): use ParagraphList iterators
10758 (resizeInsets): use for_each to resizeInsetsLyXText for all
10760 (getParFromID): use ParagraphList iterators
10762 * BufferView2.C (lockInset): use paragraph list and iterators
10764 2002-08-14 John Levon <levon@movementarian.org>
10766 * lyxserver.C: remove spurious xforms include
10768 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10770 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10772 2002-08-13 André Pönitz <poenitz@gmx.net>
10775 * lyxfunc.C: further cleaning
10777 2002-08-13 André Pönitz <poenitz@gmx.net>
10779 * funcrequest.h: new constructor
10781 * funcrequest.C: move stuff here from .h
10784 * BufferView_pimpl.C:
10787 * lyxfunc.C: subsequent changes
10789 * lyxfunc.h: new view() member function
10791 * lyxfunc.C: subsequent changes
10793 2002-08-13 Angus Leeming <leeming@lyx.org>
10796 * BufferView_pimpl.C:
10804 changes due to the changed LyXView interface that now returns references
10805 to member variables not pointers.
10807 2002-08-13 Angus Leeming <leeming@lyx.org>
10809 * WordLangTuple (word, lang_code): return references to strings,
10814 * lyxtext.h: forward-declare WordLangTuple.
10819 * text.C: #include "WordLangTuple.h".
10822 * text.C: (selectNextWordToSpellcheck): constify return type.
10824 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10830 * paragraph_pimpl.h:
10833 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10834 suggested by Angus.
10835 Made updateCounter always count from start of buffer, and removed
10836 second argument (par).
10837 Reverted floats number display to '#'. Perhaps I'll try again when the
10838 code base is sanitized a bit.
10840 2002-08-12 Angus Leeming <leeming@lyx.org>
10842 * buffer.[Ch] (getLabelList): constify.
10844 2002-08-07 André Pönitz <poenitz@gmx.net>
10846 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10848 * funcrequest.h: extension to keep mouse (x,y) position
10850 2002-08-12 Juergen Vigna <jug@sad.it>
10852 * BufferView2.C (insertErrors): forbid undo when inserting error
10855 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10857 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10859 * ParagraphList.[Ch]: new files
10861 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10863 * BufferView2.C (lockInset): ParagraphList changes
10866 * bufferlist.C: ditto
10870 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10872 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10873 unused class variable counter_,
10875 * paragraph.[Ch] (getFirstCounter): delete unused function
10877 * counters.C: include LAssert.h
10878 (reset): add a new function with no arg, change other version to
10879 not have def. arg and to not allow empty arg.
10881 * text2.C (setCounter): remove empty arg from call to Counters::reset
10883 2002-08-11 John Levon <levon@movementarian.org>
10885 * Makefile.am: add WordLangTuple.h
10887 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10889 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10890 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10892 * insets/insettext.C: InsetList changes
10894 * graphics/GraphicsSupport.C (operator()): InsetList changes
10896 * toc.C (getTocList): InsetList changes
10898 * paragraph_pimpl.[Ch]: InsetList changes
10900 * paragraph.[Ch]: InsetList changes
10902 * buffer.C (inset_iterator): InsetList changes
10903 (setParagraph): ditto
10904 * buffer.h (inset_iterator): ditto
10905 * iterators.C (operator++): ditto
10906 * iterators.h: ditto
10908 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10910 * InsetList.[Ch]: new files, most InsetList handling moved out of
10913 * BufferView2.C (removeAutoInsets): InsetList changes
10915 (ChangeInsets): ditto
10917 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10919 * paragraph_pimpl.h (empty): new function
10921 * paragraph.[Ch] (empty): new function
10923 * other files: use the new Paragraph::empty function
10925 2002-08-09 John Levon <levon@movementarian.org>
10927 * lyxtext.h: remove unused refresh_height
10929 2002-08-09 John Levon <levon@movementarian.org>
10936 * paragraph.C: move sgml char escaping out of paragraph
10939 * paragraph.C: remove id setter
10943 * paragraph_pimpl.C: remove dead tex_code_break_column
10945 * bufferview_funcs.C: small cleanup
10947 * lyxfunc.C: remove dead proto
10949 * lyxtext.h: make some stuff private. Remove some dead stuff.
10951 * lyxgluelength.C: make as[LyX]String() readable
10953 2002-08-08 John Levon <levon@movementarian.org>
10958 * ToolbarDefaults.C:
10961 * toc.C: lyxaction cleanup
10963 2002-08-08 John Levon <levon@movementarian.org>
10965 * BufferView2.C: small cleanup
10968 * lyxfind.C: move unnecessary header into the .C
10970 2002-08-08 John Levon <levon@movementarian.org>
10972 * funcrequest.h: just tedious nonsense
10975 * lyx_main.C: cleanups
10978 * vspace.C: remove dead header lyx_main.h
10980 2002-08-07 Angus Leeming <leeming@lyx.org>
10983 * paragraph_pimpl.h:
10984 Forward declare class Counters in paragraph.h by moving the ctrs member
10985 variable into Paragraph::Pimpl.
10986 (counters): new method, returning a reference to pimpl_->ctrs.
10988 * text2.C: ensuing changes.
10990 2002-08-07 John Levon <levon@movementarian.org>
10992 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10994 * BufferView_pimpl.C: announce X selection on double/triple
10997 * lyx_main.C: use correct bool in batch dispatch
10999 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11001 2002-08-07 André Pönitz <poenitz@gmx.net>
11003 * funcrequest.h: new class to wrap a kb_action and its argument
11006 * BufferView_pimpl[Ch]:
11010 * lyxrc.C: subsequent changes
11013 2002-08-07 John Levon <levon@movementarian.org>
11015 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11016 document options change.
11018 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11023 * makefile.am: move counters functionality over from
11024 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11026 2002-08-06 John Levon <levon@movementarian.org>
11028 * WordLangTuple.h: new file for word + language code tuple
11039 * BufferView2.C: use WordLangTuple
11042 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11044 2002-08-06 John Levon <levon@movementarian.org>
11046 * lyx_main.C: fix cmdline batch handling
11048 2002-08-06 André Pönitz <poenitz@gmx.net>
11050 * lyxrc.C: set default for show_banner to true
11052 2002-08-06 John Levon <levon@movementarian.org>
11054 * pspell.C: fix a crash, and allow new aspell to work
11056 2002-08-06 John Levon <levon@movementarian.org>
11059 * kbmap.C: small cleanup
11062 * vspace.C: add const
11064 2002-08-05 John Levon <levon@movementarian.org>
11066 * LyXAction.C: back to tabular-insert
11068 2002-08-04 John Levon <levon@movementarian.org>
11071 * BufferView.C: cosmetic change
11073 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11083 * BufferView2.C: purge all "Lyx" not "LyX" strings
11086 * lyxcursor.C: attempt to add some documentation
11091 * ToolbarDefaults.C:
11092 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11093 merge with LFUN_TABULAR_INSERT
11100 * pspell.C: split up i/pspell implementations into separate
11101 files, many cleanups
11103 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11105 * text2.C: some cleanup
11107 * lyxfunc.C: don't check for isp_command == "none" any more, it
11108 didn't make any sense
11110 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11115 * makefile.am: move counters functionality over
11116 from text2.C/paragraph.[Ch] to counters.[Ch], and
11118 2002-08-02 John Levon <levon@movementarian.org>
11120 * buffer.C: s/lyxconvert/lyx2lyx/
11122 2002-08-02 Angus Leeming <leeming@lyx.org>
11124 * lyxlex.C: revert John's change as it breaks reading of the user
11127 2002-08-02 Angus Leeming <leeming@lyx.org>
11129 * importer.C (Import):
11130 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11131 changes due to LyXView::view() now returning a boost::shared_ptr.
11133 2002-08-02 John Levon <levon@movementarian.org>
11135 * lyxlex.C: small cleanup
11137 2002-08-02 John Levon <levon@movementarian.org>
11139 * text2.C (status): small cleanup, no logic change
11141 2002-08-01 John Levon <levon@movementarian.org>
11144 * buffer.C (writeFile): don't output alerts, caller
11148 * lyx_cb.C: from above
11150 * lyxfunc.C: allow to open non-existent files
11152 2002-07-31 John Levon <levon@movementarian.org>
11154 * lyxserver.C: don't let incidental errors get
11157 2002-07-30 John Levon <levon@movementarian.org>
11159 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11161 2002-07-30 John Levon <levon@movementarian.org>
11164 * lyxserver.C: remove I/O callback too
11166 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11168 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11171 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11173 * many files: strip,frontStrip -> trim,ltrim,rtrim
11175 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11177 * PrinterParams.h: remove extern containsOnly, and include
11178 support/lstrings.h instead.
11180 * LaTeX.C (scanAuxFile): modify because of strip changes
11182 * buffer.C (makeLaTeXFile): ditto
11183 * bufferparams.C (writeFile): ditt
11184 * lyxfont.C (stateText): ditto
11185 * lyxserver.C (read_ready): ditto
11186 * vc-backend.C (scanMaster): ditto
11188 * BufferView_pimpl.h: ws changes
11190 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11192 2002-07-26 André Pönitz <poenitz@gmx.net>
11194 * kb_sequence.C: remove unnedred usings
11196 2002-07-26 Juergen Vigna <jug@sad.it>
11198 * lyxfind.C (LyXReplace): we have to check better if the returned
11199 text is not of theLockingInset()->getLockingInset().
11201 2002-07-25 Juergen Vigna <jug@sad.it>
11203 * lyxfind.C (LyXReplace): don't replace if we don't get the
11206 * undo_funcs.C (createUndo): remove debugging code.
11208 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11210 * buffer.C (parseSingleLyXformat2Token): Use default placement
11211 when reading old floats.
11213 * FloatList.C (FloatList): Change the default placement of figure
11214 and tables to "tbp".
11216 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11218 * MenuBackend.C: using std::max
11220 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11222 * MenuBackend.C (expandToc):
11223 (expandToc2): code moved from xforms menu frontend. It is now
11224 generic and TOCs are transparent to menu frontends.
11226 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11228 * toc.C (getTocList): protect against buf=0
11230 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11231 Menu as first parameter. Now, this calls itself recursively to
11232 expand a whole tree (this will be useful for TOC handling)
11233 (expandFloatInsert): remove 'wide' version of floats
11235 * MenuBackend.h (submenuname): returns the name of the submenu.
11236 (submenu): returns the submenu itself, provided it has been
11237 created by MenuBackend::expand
11239 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11241 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11242 insets which have noFontChange == true. (bug #172)
11244 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11246 * BufferView_pimpl.C: add connection objects and use them...
11249 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11251 * MenuBackend.C (expandLastfiles):
11254 (expandFloatListInsert):
11255 (expandFloatInsert):
11256 (expand): split expand in parts
11258 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11260 * lyx_gui.C: use lyx_gui::exit()
11262 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11264 * LyXAction.C: show the failing pseudo action
11266 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11268 * buffer.C (readFile): Run the lyxconvert script in order to read
11271 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11275 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11277 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11281 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11283 2002-07-22 Herbert Voss <voss@lyx.org>
11286 * lyxlength.[Ch]: add support for the vertical lengths
11288 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11290 * toc.[Ch]: std:: fixes
11292 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11294 * lyxrc.C: do not include lyx_main.h
11296 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11302 * BufferView2.C: include "lyxlex.h"
11305 * bufferparams.h: do not #include "lyxlex.h"
11307 * lyxtextclasslist.C (Add): remove method
11308 (classlist): renamed to classlist_
11310 * paragraph_pimpl.C:
11314 * bufferview_funcs.C:
11319 * toc.C (getTocList): use BufferParams::getLyXTextClass
11321 * toc.C (getTocList): use InsetFloat::addToToc
11323 * toc.[Ch]: new files, containing helper functions to handle table
11326 * lyxfunc.C (dispatch): no need to remove spaces around command
11328 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11329 first command of the sequence; it is not very clever, but I do not
11330 have a better idea, actually
11332 * LyXAction.C (LookupFunc): make sure to remove space at the
11333 beginning and end of the command
11335 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11337 * MenuBackend.C (getMenubar): new method: return the menubar of
11339 (read): treat differently reading of menu and menubar (in
11340 particular, the menubar has no name now)
11341 (Menu::menubar): remove
11343 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11346 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11348 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11349 a bibitem inset in a RTL paragraph.
11351 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11353 * paragraph_pimpl.C: constify
11355 * BufferView_pimpl.C:
11357 * lyxfunc.C: fix dispatch in a nicer way
11359 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11361 * lyxfunc.C (dispatch):
11362 * BufferView_pimpl.C:
11363 * BufferView_pimpl.h:
11365 * BufferView.h: rename Dispatch() to dispatch()
11367 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11369 * lyxlayout.C (Read): honor DependsOn tag
11371 * lyxlayout.[Ch] (depends_on): new method
11373 * version.C.in: update lyx_docversion
11375 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11377 * paragraph.C (validate): remove from here...
11378 * paragraph_pimpl.C (validate): ... and move here
11379 (isTextAt): make it const
11381 * buffer.C (getLists): ws cleanup
11383 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11385 * language.C (read): Use iso8859-1 encoding in latex_lang
11386 (this prevents LyX from crashing when using iso10646-1 encoding).
11388 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11390 * text2.C (toggleInset): if cursor is inside an inset, close the
11391 inset and leave cursor _after_ it
11393 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11395 * lyxfunc.C: move minibuffer completion handling out of here
11397 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11399 * BufferView_pimpl.C:
11400 * LaTeX.C: fix dispatch calls
11402 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11404 * text.C (drawChars): Fix Arabic text rendering.
11406 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11410 * lyxfunc.C: remove message-push/pop
11414 * lyxfunc.C: rationalise some code by removing verboseDispatch
11415 in favour of a bool argument to dispatch()
11417 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11419 * lyx_main.C (init): make sure to read symlinks as absolute paths
11421 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11424 * lyxfunc.C: no need for commandshortcut to be a member
11426 2002-07-15 André Pönitz <poenitz@gmx.net>
11428 * converter.C: add support for $$s (scripts from lib/scripts dir)
11429 * lyx_main.C: white space
11431 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11435 * lyxrc.C: remove second exit confirmation
11437 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11442 * BufferView_pimpl.h:
11443 * BufferView_pimpl.C:
11444 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11446 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11448 * MenuBackend.C (expand): add numeric shortcuts to document menu
11450 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11452 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11454 * lyxfont.C (setLyXFamily):
11461 * buffer.C (asciiParagraph): use ascii_lowercase
11463 2002-07-15 Mike Fabian <mfabian@suse.de>
11465 * lyxlex_pimpl.C (search_kw):
11466 * lyxlex.C (getLongString):
11467 * converter.h (operator<):
11468 * converter.C (operator<):
11469 * buffer.C (parseSingleLyXformat2Token):
11471 * ToolbarDefaults.C (read):
11472 * MenuBackend.C (checkShortcuts):
11474 * LColor.C (getFromGUIName):
11475 (getFromLyXName): use the compare_ascii_no_case instead of
11476 compare_no_case, because in turkish, 'i' is not the lowercase
11477 version of 'I', and thus turkish locale breaks parsing of tags.
11479 2002-07-16 Angus Leeming <leeming@lyx.org>
11481 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11482 now takes a Buffer const & argument.
11484 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11486 * BufferView.C (resize): check there's a buffer to resize
11488 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11490 * lyxfunc.C: remove dead code
11493 * lyxserver.C: use lyx_guii::set_read_callback
11495 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11497 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11498 an inset in a RTL paragraph.
11500 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11502 * lyxfunc.C: repaint after a font size update
11504 2002-07-15 André Pönitz <poenitz@gmx.net>
11506 * lyxlength.C: inBP should be able to return negative values
11508 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11510 * lyxfunc.C: use lyx_gui::update_fonts()
11512 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11514 * lyxfunc.C: use lyx_gui::update_color()
11516 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11522 * lyxrc.C: remove file->new asks for name option, and let
11523 buffer-new take an argument
11525 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11527 * BufferView_pimpl.C: remove unneeded extra repaint()
11529 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11531 * LyXAction.C: allow command-sequence with NoBuffer
11533 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11535 2002-07-10 Angus Leeming <leeming@lyx.org>
11537 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11539 2002-07-09 Angus Leeming <leeming@lyx.org>
11541 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11543 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11545 * lengthcommon.h: whitespace
11547 * lyxfunc.C: update scrollbar after goto paragraph
11549 * lyxtext.h: factor out page break drawing, and fix it so
11550 page break/added space paints as selected nicely
11552 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11554 * BufferView_pimpl.C: add FIXMEs, clean up a little
11556 2002-07-09 André Pönitz <poenitz@gmx.net>
11558 * lyxfont.[Ch]: support for wasy symbols
11560 2002-07-08 André Pönitz <poenitz@gmx.net>
11562 * BufferView_pimpl.C: apply John's patch for #93.
11564 2002-07-05 Angus Leeming <leeming@lyx.org>
11566 * BufferView_pimpl.C (buffer): generate previews if desired.
11568 * LColor.h: add "preview" to the color enum.
11570 * LColor.C (LColor): add a corresponding entry to the items array.
11572 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11575 2002-07-05 Angus Leeming <leeming@lyx.org>
11577 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11578 The body of the code is now in the method that is passed an ostream &
11579 rather than a file name.
11580 Pass an additional only_preamble parameter, useful for the forthcoming
11583 2002-07-03 André Pönitz <poenitz@gmx.net>
11585 * lyxfunc.C: simplify getStatus() a bit for math stuff
11587 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11589 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11591 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11593 * text.C (changeRegionCase): do not change case of all the
11594 document when region ends at paragraph end (bug #461)
11596 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11598 * paragraph.C (startTeXParParams):
11599 (endTeXParParams): add \protect when necessary
11601 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11603 * BufferView_pimpl.C (workAreaExpose): remove warning
11605 2002-06-27 Angus Leeming <leeming@lyx.org>
11607 * Makefile.am: add lyxlayout_ptr_fwd.h.
11609 2002-06-26 André Pönitz <poenitz@gmx.net>
11611 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11613 2002-06-25 Angus Leeming <leeming@lyx.org>
11615 * lyxfunc.C (dispatch): Comment out the call to
11616 grfx::GCache::changeDisplay. The method no longer exists now that the
11617 pixmap generation part of the graphics loader has been moved into
11620 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11622 * text2.C: layout as layout
11624 * text.C: layout as layout
11626 * tabular.C (OldFormatRead): layout as layout
11628 * paragraph_pimpl.C (TeXDeeper): layout as layout
11629 (realizeFont): layout as layout
11631 * paragraph.C (writeFile): layout as layout
11632 (validate): layout as layout
11633 (getFont): layout as layout
11634 (getLabelFont): layout as layout
11635 (getLayoutFont): layout as layout
11636 (breakParagraph): layout as layout
11637 (stripLeadingSpaces): layout as layout
11638 (getEndLabel): layout as layout
11639 (getMaxDepthAfter): layout as layout
11640 (applyLayout): layout as layout
11641 (TeXOnePar): layout as layout
11642 (simpleTeXOnePar): layout as layout
11643 (TeXEnvironment): layout as layout
11644 (layout): layout as layout
11645 (layout): layout as layout
11647 * lyxtextclass.C (compare_name): new functor to work with
11648 shared_ptr, layout as layout
11649 (Read): layout as layout
11650 (hasLayout): layout as layout
11651 (operator): layout as layout
11652 (delete_layout): layout as layout
11653 (defaultLayout): layout as layout
11655 * lyxlayout_ptr_fwd.h: new file
11657 * lyxlayout.C (Read): layout as layout
11659 * lyx_cb.C (MenuInsertLabel): layout as layout
11661 * bufferlist.C (newFile): layout as layout
11663 * buffer.C (readLyXformat2): layout as layout
11664 (parseSingleLyXformat2Token): layout as layout
11665 (insertStringAsLines): layout as layout
11666 (asciiParagraph): layout as layout
11667 (latexParagraphs): layout as layout
11668 (makeLinuxDocFile): layout as layout
11669 (simpleLinuxDocOnePar): layout as layout
11670 (makeDocBookFile): layout as layout
11671 (simpleDocBookOnePar): layout as layout
11672 (getLists): layout as layout
11674 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11676 * CutAndPaste.C (cutSelection): layout as layout
11677 (pasteSelection): layout as layout
11678 (SwitchLayoutsBetweenClasses): layout as layout
11680 * BufferView_pimpl.C (Dispatch): layout as layout
11681 (smartQuote): layout as layout
11683 * BufferView2.C (unlockInset): layout as layout
11685 2002-06-24 André Pönitz <poenitz@gmx.net>
11687 * lyxfunc.C: fix #487
11689 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11693 * lyxfunc.C: remove display_shortcuts, show_banner
11695 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11697 * Buffer_pimpl.C: oops, update on resize
11699 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11706 * BufferView.C: use repaint()
11708 * BufferView_pimpl.h:
11709 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11710 as it's a clearer description. Remove superfluous
11713 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11715 * text.C: fix bug 488. Not ideal, but getting
11716 getWord() to work properly for the insets that
11717 matter is more difficult ...
11719 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11721 * BufferView_pimpl.C:
11724 * lyxfunc.C: remove the six million index lyxfuncs to just
11725 one, and DTRT (bug 458)
11727 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11731 * BufferView_pimpl.h:
11732 * BufferView_pimpl.C: clean up resize() stuff,
11733 and unnecessary updateScreen()s
11735 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11739 * BufferView_pimpl.h:
11740 * BufferView_pimpl.C:
11743 * minibuffer.C: remove focus management of workarea,
11744 not needed. Use screen's greyOut()
11746 2002-06-17 Herbert Voss <voss@lyx.org>
11748 * converter.C: (convert) do not post a message, when converting
11749 fails, let the calling function decide what to do in this case
11751 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11753 * lyxfunc.C: tidy up a little
11755 2002-06-16 <alstrup@diku.dk>
11757 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11758 Got rid of FORMS_H_LOCATION include. Now we are
11761 2002-06-15 LyX Development team <lyx@rilke>
11763 * buffer.[Ch] (sgmlOpenTag):
11764 (sgmlCloseTag): Added support for avoiding pernicious mixed
11765 content. Return number of lines written.
11767 (makeLinuxDocFile):
11768 (makeDocBookFile): Fixed calls to sgml*Tag.
11769 Simple white space clean.
11771 (simpleDocBookOnePar): Simple white space clean.
11773 * tabular.[Ch] (docBook): Renamed to docbook and got another
11774 argument to related with the pernicious mixed content.
11776 (docbookRow): Fixed calls for docbook inset method.
11778 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11780 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11781 so it's X11 independent.
11785 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11787 2002-06-15 Lyx Development team <lyx@electronia>
11789 * intl.h: Renamed getTrans to getTransManager.
11791 2002-06-14 Angus Leeming <leeming@lyx.org>
11793 * Makefile.am: nuke forgotten stl_string_fwd.h.
11795 2002-06-12 Angus Leeming <leeming@lyx.org>
11797 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11799 2002-06-13 Angus Leeming <leeming@lyx.org>
11802 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11804 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11806 * kbmap.C (getiso): add support for cyrillic and greek
11808 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11812 * BufferView_pimpl.h:
11813 * BufferView_pimpl.C: move bogus scrolling logic
11816 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11819 * BufferView_pimpl.C: view->resize() change
11821 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11823 * BufferView_pimpl.C: topCursorVisible
11826 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11830 * lyx_gui.C: move to frontends/
11834 * lyx_main.C: changes from above
11836 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11843 * lyx_main.C: minor tidy
11845 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11847 * BufferView_pimpl.h:
11848 * BufferView_pimpl.C:
11850 * BufferView.C: make painter() const,
11853 * BufferView2.C: use screen() accessor
11856 * lyx_main.C: some minor cleanup
11858 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11860 * BufferView_pimpl.h:
11861 * BufferView_pimpl.C: remove enter/leaveView,
11864 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11869 * BufferView_pimpl.h:
11870 * BufferView_pimpl.C: only construct screen once,
11873 * lyxrc.C: remove pointless comment
11875 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11878 * BufferView.C: remove active() and belowMouse()
11880 * BufferView_pimpl.h:
11881 * BufferView_pimpl.C: use workarea() not workarea_,
11882 and make it use a scoped_ptr instead
11884 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11886 * lyx_gui.C: add debug message on BadWindow
11888 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11890 * sp_spell.C: fdopen is not part of the C++ standard.
11892 * paragraph.C (InsetIterator): use >= instead of ==
11894 2002-06-07 Angus Leeming <leeming@lyx.org>
11896 Fixes needed to compile with Compaq cxx 6.5.
11897 * BufferView_pimpl.C:
11904 * lyxtextclasslist.C:
11909 all c-library variables have been moved into namespace std. Wrap
11910 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11915 Add a using std::abs declaration.
11917 * kbmap.h (modifier_pair):
11918 * paragraph.h (InsetTable, InsetList):
11919 * lyxfont.h (FontBits):
11920 type definition made public.
11922 * bufferlist.C (emergencyWriteAll): the compiler complains that
11923 there is more than one possible lyx::class_fun template to choose from.
11924 I re-named the void specialisation as lyx::void_class_fun.
11926 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11928 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11929 the compiler is is unable to find tostr in write_attribute.
11931 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11933 * buffer.C (sgmlError): hide #warning
11935 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11937 * xtl/*: get rid of xtl, which is not in use anyway
11939 * LyXAction.C (init):
11940 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11941 were unimplemented xtl experimentation
11943 2002-06-04 André Pönitz <poenitz@gmx.net>
11945 * lyxfunc.C: disable array operation on simple formulae
11947 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11949 * converter.C: constify a bit
11951 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11953 * lyx_gui.C: check xforms version correctly
11955 2002-04-30 Herbert Voss <voss@lyx.org>
11957 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11960 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11962 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11963 attempt to register it with a VCS)
11965 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11967 * lyx_main.C (init): honor variables LYX_DIR_13x and
11970 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11974 * lyx_main.C: fix a crash on bad command line,
11975 and give a useful exit status on error
11977 * lyxfunc.C (doImport): allow -i lyx to work
11979 2002-03-30 André Pönitz <poenitz@gmx.net>
11981 * lyxfunc.C: mathed font changes
11983 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11998 * trans_mgr.h: srcdocs, and some minor cleanups
12000 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12002 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12003 call getFont all the time)
12005 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12007 * switch from SigC signals to boost::signals
12009 2002-05-29 André Pönitz <poenitz@gmx.net>
12011 * paragraph_pimpl.C (getChar): don't call size() too often...
12013 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12015 * paragraph_pimpl.C (insertChar): do not try to update tables when
12016 appending (pos == size())
12018 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12019 in order to reduce drastically the number of comparisons needed to
12020 parse a large document
12022 2002-05-29 André Pönitz <poenitz@gmx.net>
12028 * textclasslist.[Ch]:
12029 * sp_ispell.h: whitespace change
12031 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12033 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12034 lyxaction directly now.
12036 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12040 * lyxvc.C: remove unused headers
12042 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12049 * undo_funcs.C: some cleanups. Use shared_ptr
12050 and a template for the undo stacks.
12052 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12054 * BufferView_pimpl.h:
12055 * BufferView_pimpl.C:
12062 * text2.C: use key_state/mouse_state
12064 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12066 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12069 * chset.C: change include order
12070 (loadFile): use boost regex and get rid of LRegex and LSubstring
12072 * Makefile.am (BOOST_LIBS): new variable
12073 (lyx_LDADD): use it
12075 * LaTeX.C: change include order.
12076 (scanAuxFile): use boost regex and get rid of LRegex and
12080 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12085 * FontInfo.C: moved to frontends/xforms/
12088 * FontLoader.C: moved into frontends for GUIIzation
12093 * lyxfunc.C: changes from above
12095 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12097 * LColor.C: remove spurious X include
12099 * BufferView_pimpl.C:
12104 * text2.C: move font metrics to frontends/
12106 2002-05-24 Juergen Vigna <jug@sad.it>
12108 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12109 setting the undo_cursor.
12111 * ParagraphParameters.h: include local includes first.
12113 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12115 * BufferView_pimpl.C:
12116 * BufferView_pimpl.h:
12120 * screen.C: move WorkArea into frontends/
12126 * BufferView2.C: move LyXScreen into frontends/
12130 * lyx_gui.C: move lyxlookup into frontends/xforms/
12132 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12135 * BufferView_pimpl.C:
12145 * bufferview_funcs.C:
12158 * vc-backend.C: move LyX/XFormsView into frontends/
12160 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12172 * text2.C: move Painter to frontends/
12174 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12176 * buffer.C: comment out some some code that depend upon lyx_format
12179 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12180 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12182 * buffer.h (NO_COMPABILITY): turn off compability
12184 * ColorHandler.C: include scoped_array.hpp
12186 * font.C: Use more specific smart_ptr header.
12189 * ShareContainer.h: ditto
12190 * lyx_main.h: ditto
12192 * FontInfo.h: ditto
12193 * BufferView_pimpl.h: ditto
12194 * ColorHandler.h: ditto
12196 * kbmap.C (defkey): change call to shared_ptr::reset
12198 2002-05-21 Juergen Vigna <jug@sad.it>
12200 * buffer.C (insertErtContents): fix to insert ert asis if it is
12201 non empty. Skip it completely if it contains only whitespaces.
12203 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12205 * BufferView_pimpl.C:
12206 * BufferView2.C: clear selection on paste (bug 393)
12208 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12210 * DepTable.C: include ctime
12212 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12214 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12216 2002-05-14 Juergen Vigna <jug@sad.it>
12218 * text.C (breakParagraph): fixed function to honor the keepempty
12219 layout in the right maner and also to permit the right breaking
12220 algorithm on empty or non empyt keepempty paragraphs.
12222 * paragraph.C (breakParagraph): we have to check also if the par
12223 is really empty (!size()) for isempty otherwise we do the wrong
12226 2002-05-10 Juergen Vigna <jug@sad.it>
12228 * buffer.[Ch] : The following are only changes to the ert
12229 compatibility read reading old LaTeX layout and font stuff and
12230 convert it to ERTInsets.
12232 * buffer.h: added isErtInset().
12234 * buffer.C (struct ErtComp): add a fromlayout bool to check
12235 if we're inside a LaTeX layout.
12236 (isErtInset): new helper function.
12237 (insertErtContents): look for other ert insets before this one
12238 and insert the contents there, so that we don't have subsequent
12239 ERT insets with nothing between them. This way we create only one
12240 inset with multiple paragraphs. Also check if we don't insert only
12241 spaces ' ' as they are ignored anyway afterwards in the .tex file
12242 so if we have only spaces we will ignore this latex part in the
12244 (parseSingleLyXformat2Token \\layout): better compatibility when
12245 reading layout-latex stuff.
12246 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12248 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12249 stuff after reading the inset only get the information back from
12252 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12254 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12256 * LaTeXFeatures.C (getBabelOptions): New method.
12258 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12260 * BufferView_pimpl.C (Dispatch): work around missing argument for
12263 2002-05-08 Juergen Vigna <jug@sad.it>
12265 * text.C (leftMargin): handle paragraph leftindent.
12267 * paragraph.C (writeFile): write the new \\leftindent tag.
12268 (validate): handle leftindent code.
12269 (TeXEnvironment): handle paragraphleftindent code again.
12271 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12273 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12274 for paragrap_extra indent code and new token \\leftindent.
12275 (latexParagraphs): handle the leftindent as environment.
12277 * ParameterStruct.h: added leftindent support.
12279 * ParagraphParameters.C (leftIndent): added support functions for
12280 the paragraph left indent.
12282 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12285 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12287 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12290 * text.C (computeBidiTables): No bidi in insetERT.
12292 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12295 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12297 * version.C.in: pre 5
12299 2002-05-02 José Matos <jamatos@fep.up.pt>
12300 * buffer.C (makeDocBookFile): white space changes, add newline to
12302 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12304 * tabular.C (docBook): fix typo.
12306 2002-05-03 Juergen Vigna <jug@sad.it>
12308 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12309 change in LyXText as we can not be sure it was not freed.
12310 (drawOneRow): remove unused code.
12312 * text.C (drawInset): redo the calculation of the need_break_row as
12313 it could have a row which was already freed.
12314 (draw): look at the return value of drawInset and return false if
12315 it also returned false.
12316 (paintRowText): look at the return value of draw and return false if
12317 it also returned false.
12319 * lyxtext.h: added bool return type to drawInset() and draw() so that
12320 if we have a change in the row so that the rowbreak has to be redone
12321 we abort drawing as it will be called again.
12323 2002-05-02 Juergen Vigna <jug@sad.it>
12325 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12326 a change in the maintext also if we're inside an inset.
12327 (Dispatch): set the cursor again after a break line and after the
12328 screen has been updated as it could be we're in a different row.
12330 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12331 to set the cursor behind the pargraph with > size().
12332 (setCursor): check also for the same paragraph when checking where
12333 to put the cursor if we have a NFR inset.
12335 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12336 parts of layout read further up as it still was in the wrong
12339 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12341 * screen.C (drawFromTo): change sine fullRebreak always return
12344 * buffer.C (parseSingleLyXformat2Token): reindent some
12346 * BufferView_pimpl.C (update): change since fullRebreak always
12348 (Dispatch): git rid of the last hardcoded "Standard"s.
12350 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12352 * text2.[Ch] (fullRebreak): make it return void now that we always
12355 2002-04-30 Juergen Vigna <jug@sad.it>
12357 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12358 ert compatibility check for "latex" layout.
12360 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12362 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12363 minipages: use col% instead of p%, and also use the current font.
12364 (makeLaTeXFile): Fix use babel condition.
12365 (parseSingleLyXformat2Token): Correct font when reading old floats.
12367 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12369 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12370 inserting list of floats.
12372 2002-04-25 Herbert Voss <voss@lyx.org>
12374 * MenuBackend.C (expand): don't add the graphics extensions to the
12377 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12379 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12380 non-existing layout, do not complain if it was the default layout
12381 of the original class (bug #342)
12383 2002-04-24 Juergen Vigna <jug@sad.it>
12385 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12386 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12388 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12390 * buffer.C (getBibkeyList): If using \bibliography, return the
12391 option field with the reference itself. Enables us to provide natbib
12392 support when using \bibliography.
12394 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12396 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12398 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12399 natbib is provided by the LaTeX class.
12401 2002-04-23 Juergen Vigna <jug@sad.it>
12403 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12406 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12408 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12410 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12412 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12413 ensuremath around textordmasculine, textordfeminine and
12416 2002-04-19 Juergen Vigna <jug@sad.it>
12418 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12419 reinitializing the buffer otherwise row-dimensions may be wrong.
12420 (update): reset also the selection cursors if they do exits otherwise
12421 their x/y positions may be wrong.
12423 * text2.C (cursorDown): don't enter the inset if we came from a row
12424 above and are one row over the inset.
12426 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12427 really leaving an inset.
12429 2002-04-18 Juergen Vigna <jug@sad.it>
12431 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12432 of the selected paragraph does not have the selected layout also if
12435 * text2.C (setLayout): fixed bug which did not change last selected
12438 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12439 changed the read and substituted \\end_float with \\end_inset!
12441 * BufferView_pimpl.C (cursorPrevious):
12442 (cursorNext): fixed to make it work with rows heigher than the work
12443 area without moving the cursor only the draw of the row.
12444 (workAreaMotionNotify): fix jumping over high rows.
12446 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12448 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12451 2002-04-16 Juergen Vigna <jug@sad.it>
12453 * text2.C (setCursor): set also the irow().
12454 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12456 (cursorDown): support for locking an inset if the x_fix value goes
12457 inside it. That way I can transverse insets too with cursor up/down.
12459 * lyxrow.h: added irow helper function same as other (i) functions.
12461 * BufferView_pimpl.C (cursorPrevious):
12462 (cursorNext): fixed for insets!
12464 2002-04-15 Juergen Vigna <jug@sad.it>
12466 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12467 position otherwise it is wrong in some cases.
12469 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12470 inside the inset before the call.
12472 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12474 * buffer.[Ch] (getBibkeyList): make it const.
12476 2002-04-12 Juergen Vigna <jug@sad.it>
12478 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12480 * text2.C (getCursorX): new helper function
12481 (setCursor): compute also ix_
12482 (setCursorFromCoordinates): set also ix.
12484 * lyxcursor.h: added ix_ and helper functions.
12486 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12488 * buffer.C (insertStringAsLines): dont break paragraph if the this
12489 paragraph is inside an inset which does not permit it!
12491 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12492 also with no chars on this paragraph.
12493 (paintRowText): only paint stuff if it's inside the workarea!
12495 * paragraph.C (breakParagraph): honor keepempty flag and break the
12496 paragraph always below not above.
12498 * BufferView2.C (unlockInset): update the paragraph layout on inset
12499 unlock as we changed paragraph in such a case.
12501 * lyxfind.C (LyXFind): clear the former selection if not found!
12503 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12504 again called in insertChar().
12506 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12507 an inset which uses the whole row!
12508 (rightMargin): ditto.
12509 (insertChar): force a rebreak if we inserted an inset!
12511 2002-03-28 Herbert Voss <voss@lyx.org>
12513 * lyxlength.[Ch]: add inBP() to get the right PS-point
12514 units (BigPoint). With inPixels we have rounding errors
12516 2002-04-11 Juergen Vigna <jug@sad.it>
12518 * text2.C (setCursorFromCoordinates): set iy to the right value.
12519 (setCursor): add check if row->previous exists!
12521 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12522 an old float_type as this was the case in the old code!
12524 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12526 * BufferView2.C (showLockedInsetCursor): use iy
12527 (fitLockedInsetCursor): ditto
12529 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12530 locked insets as there we have the right value now.
12532 * lyxcursor.C: added iy_ variable and iy functions to set to the
12533 baseline of cursor-y of the locked inset.
12535 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12536 (setCursor): fixed for insets which need a full row.
12538 * text.C (rowLastPrintable): don't ignore the last space when before
12539 an inset which needs a full row.
12540 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12541 as last character of a row when before a inset which needs a full row.
12543 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12545 * version.C.in: update date
12547 * text2.C (fullRebreak): try to always return true and see what
12550 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12552 * MenuBackend.C (expand): use Floating::listName
12554 * FloatList.C (FloatList): add listName argument to the built-in
12557 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12558 text associated with the float.
12560 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12562 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12564 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12566 * ShareContainer.h: add a couple of missing typenames.
12568 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12570 * lyxrc.C (getDescription): use _() correctly rather than N_().
12572 2002-03-28 Herbert Voss <voss@lyx.org>
12574 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12575 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12577 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12579 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12580 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12582 2002-03-29 Juergen Vigna <jug@sad.it>
12584 * lyxfunc.C (dispatch): add a missing fitCursor call.
12586 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12587 it was scrolled by a cursor move, so return the bool status.
12589 * BufferView.C (fitCursor): return the bool flag also to the outside
12590 world as this is needed.
12592 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12594 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12595 call the edit() as it is not needed (and wrong) IMO.
12596 (workAreaButtonPress): set the screen_first variable before evt.
12597 unlock the inset as this may change screen_first and then we have
12598 a wrong y position for the click!
12600 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12602 * MenuBackend.C (expand): another translation that I missed
12604 2002-03-28 Juergen Vigna <jug@sad.it>
12606 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12608 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12610 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12612 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12614 * MenuBackend.C (expand): fix export/view/update when there is no
12617 2002-03-27 Herbert Voss <voss@lyx.org>
12619 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12622 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12624 * bufferview_funcs.C (currentState): only show paragraph number
12625 for is DEVEL_VERSION is set.
12627 * lyxfunc.C (dispatch): put warning in INFO channel
12629 * MenuBackend.C (expand): translate the name of floats
12631 * FloatList.C (FloatList): mark the float names for translation
12633 * converter.C (convert): use LibScriptSearch
12635 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12637 * MenuBackend.C (defaults): fix default menu (we might as well get
12640 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12642 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12645 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12647 * lyxvc.C: reorder includes.
12649 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12651 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12654 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12656 * CutAndPaste.C: change layouts earlier on paste
12657 to avoid crashing when calling getFont()
12659 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12661 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12664 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12666 * WorkArea.C: remove 'Pending' debug message.
12668 * most files: ws cleanup
12670 * buffer.[Ch]: ws changes
12672 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12674 2002-03-21 Juergen Vigna <jug@sad.it>
12676 * tabular.C (SetMultiColumn): collapse also the contents of the
12677 cells and set the last border right. Added a Buffer const * param.
12679 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12681 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12684 2002-03-19 Juergen Vigna <jug@sad.it>
12686 * text2.C (clearSelection): reset also xsel_cache.
12688 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12689 where it needs to be called (John tells us to do so too :)
12690 (selectionLost): reset sel_cache.
12692 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12694 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12696 * text2.C (setCursorIntern): put debuging code in INSETS channel
12698 2002-03-19 André Pönitz <poenitz@gmx.net>
12700 * lyxfunc.C: tiny whitespace change
12702 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12704 * ToolbarDefaults.C (init):
12705 * LyXAction.C (init):
12707 * BufferView_pimpl.C (Dispatch):
12708 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12710 2002-03-19 Allan Rae <rae@lyx.org>
12712 * exporter.C (Export): removeAutoInsets before doing anything else.
12713 While I've just introduced a dependency on BufferView this really is
12714 the best place to clean the buffer otherwise you need to cleanup in
12715 a dozen places before calling export or cleanup in a dozen functions
12718 * converter.C (runLaTeX):
12719 (scanLog): Better handling of removeAutoInsets and screen updates.
12721 * lyxfunc.C (dispatch): small whitespace changes
12723 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12725 * WorkArea.C (C_WorkAreaEvent): return a value.
12726 (event_cb): return 1 if we handled the event, 0 otherwise.
12728 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12730 2002-03-18 Juergen Vigna <jug@sad.it>
12732 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12733 (GetAdditionalWidth): ditto.
12734 (RightLine): ditto.
12737 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12738 inset if we're there actually (probably not used right now but this
12739 is the direction to go for unifying code).
12740 (paste): disable code to clear the selection.
12742 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12743 inside an InsetText and move the check further up as it is in the
12746 * text2.C (pasteSelection): set a selection over the pasted text.
12748 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12750 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12751 and libgraphics to build on Cygwin.
12753 2002-03-15 Juergen Vigna <jug@sad.it>
12755 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12756 inserting an Inset into the paragraph. I know this is not the best
12757 fix but we already use current_view in CutAndPaste so we will remove
12758 all of it's using at the same time.
12760 * buffer.C (sgmlError): deactivated function till it is rewritten in
12761 the right mode, now it can create problems.
12763 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12764 before accessing it.
12766 2002-03-14 Juergen Vigna <jug@sad.it>
12768 * undo_funcs.C (textHandleUndo): do the right thing when updating
12769 the inset after the undo/redo.
12771 * text2.C (setCursor): just some testcode for #44 not ready yet.
12773 * undo_funcs.C (textHandleUndo): set the next() and previous()
12774 pointers of the paragraph to 0 before deleting otherwise we have
12775 problems with the Paragraph::[destructor].
12777 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12778 on a paragraph insertion.
12780 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12782 * buffer.C (asciiParagraph): use += operator for char append to
12785 * paragraph.C (getFontSettings): compare >= not just >
12786 (highestFontInRange): ditto
12789 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12791 * paragraph.C: change several algorithm to be more appripriate for
12792 the problem domain. This is lookip in FontList and in the InsetList.
12794 2002-03-13 André Pönitz <poenitz@gmx.net>
12797 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12799 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12804 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12806 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12808 * Painter.C (display): anon helper function, adjust code for this
12810 (pixmap): remove function.
12812 * Painter.h: remove private display variable.
12814 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12816 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12818 * WorkArea.[Ch]: remove figinset_canvas cruft.
12820 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12822 * lyxtextclass.C (operator): add one item cache optimization.
12824 * bufferlist.h: doxy changes
12826 * bufferlist.C: ws changes
12828 * DepTable.[Ch] (ext_exist): place const in the right spot.
12830 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12832 (workAreaExpose): call resizeInsets when the with BufferView changes.
12833 (Dispatch): adjust for protectedBlank removal
12834 (specialChar): call updateInset if the insert went ok.
12836 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12837 specialChar instead.
12839 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12841 * BufferView.h: doxy change
12843 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12845 * lyxtextclass.C (operator[]): remove non-const version
12846 (defaultLayout): remove non-const version
12848 2002-03-12 Juergen Vigna <jug@sad.it>
12850 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12851 did resize the LyXText too.
12853 * buffer.C (readLyXformat2): set layout information on newly allocated
12856 * tabular.C (OldFormatRead): set layout information on the paragraph.
12858 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12860 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12862 2002-03-11 Juergen Vigna <jug@sad.it>
12864 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12866 (resizeCurrentBuffer): force also the insets to resize themselfes.
12867 (moveCursorUpdate): fixed up for InsetText.
12869 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12872 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12873 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12874 value of Dialogs::tooltipsEnabled().
12875 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12877 2002-03-08 Juergen Vigna <jug@sad.it>
12879 * BufferView_pimpl.C (updateInset): update inset inside inset also
12880 if it isn't inside theLockingInset().
12882 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12884 * buffer.C (asciiParagraph): redo some of the word and line length
12886 (getLists): look for Caption instead of caption.
12888 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12890 * buffer.C (Buffer): initialize niceFile to true
12892 (makeLinuxDocFile):
12893 (makeDocBookFile): make sure niceFile is true on exit
12895 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12897 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12899 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12901 * LyXSendto.C: remove.
12902 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12903 * lyx_gui.C: remove now-redundant comment.
12904 * ColorHandler.h: remove forward declaration of class WorkArea.
12905 * lyxfunc.C: remove #include "WorkArea.h".
12907 2002-03-07 Juergen Vigna <jug@sad.it>
12909 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12910 got moved away with the DEPM and also set the inset_owner always
12911 right which before could have been omitted.
12913 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12915 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12916 wanted layout is not found.
12918 2002-03-07 Juergen Vigna <jug@sad.it>
12920 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12922 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12924 * paragraph.C (breakParagraph): use default layout not layout of
12926 (Paragraph): clear ParagraphParameters.
12928 2002-03-06 Juergen Vigna <jug@sad.it>
12930 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12931 otherwise it would not be a valid lenght. Fixed a special case in
12932 the minipage compatibility read where we end the document with a
12935 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12936 was set as it could be 0 for InsetTexts first entry.
12938 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12940 * paragraph.C (writeFile): if layout is empty write out
12941 defaultLayoutName().
12943 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12944 file without named layout we set layout to defaultLayoutName().
12946 2002-03-06 Juergen Vigna <jug@sad.it>
12948 * CutAndPaste.C (copySelection): set layout for new paragraph.
12950 * text.C (prepareToPrint): leave ERT inset left aligned
12951 (leftMargin): don't indent paragraphs inside ERT insets
12953 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12955 * paragraph.C (breakParagraph): dont call clear do the work manually
12957 * paragraph.[Ch] (clear): remove function
12959 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12961 * paragraph.C (Paragraph): dont call clear, the work has already
12964 * lyxtextclass.C (operator): assert if n is empty
12966 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12967 work manually instead.
12969 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12971 * BufferView_pimpl.C: protect selectionLost against text == 0
12973 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12975 * text.C (breakParagraph): fix a setting layout to '0' problem.
12977 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12979 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12980 final location of file, for the included files, and graphics.
12982 2002-03-05 Juergen Vigna <jug@sad.it>
12984 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12986 2002-03-04 Juergen Vigna <jug@sad.it>
12988 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12990 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12991 last column of multicolumn cells.
12992 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12994 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12996 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12997 file if it doesn't go to a temporary file.
12999 * buffer.C (sgmlOpenTag):
13000 (sgmlCloseTag): remove extra newline insertion.
13002 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13004 * text.C (getRowNearY): comment out debug msg
13006 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13008 * text2.C: first -> first_y
13010 * text.C (getRowNearY): add some attemts at a possible
13011 optimization, not working.
13013 * tabular.[Ch]: add BufferParams to several function so that newly
13014 created paragraph can be initialized to he default layotu for the
13017 * tabular-old.C (ReadOld): add buf->params to call of Init
13019 * screen.C: rename text->first to text->first_y
13021 * paragraph.C (breakParagraph): always set layout in the broken
13024 * lyxtextclass.C (Read): remove lowercase
13027 (delete_layout): ditto
13029 * lyxtext.h: rename first -> first_y
13031 * lyxlayout.C (Read): remove lowercase
13034 (obsoleted_by): ditto
13036 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13038 * buffer.C (insertErtContents): add params are to InsetERT
13039 (parseSingleLyXformat2Token): add code to check if a paragraphs
13040 layout really exist.
13041 (parseSingleLyXformat2Token): add params to several inset
13043 (asciiParagraph): remove lowercase, do the layout comparisons with
13046 * BufferView_pimpl.C (cursorNext): first -> first_y
13047 (resizeCurrentBuffer): first -> first_y
13048 (updateScrollbar): first -> first_y
13049 (scrollCB): first -> first_y
13050 (workAreaMotionNotify): first -> first_y
13051 (workAreaButtonPress): first -> first_y
13052 (checkInsetHit): first -> first_y
13053 (cursorPrevious): first -> first_y
13054 (cursorNext): first -> first_y
13055 (Dispatch): add buffer_->params to severl inset contructors
13057 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13059 * lyxlayout.C (Read): remove some debug info that I forgot.
13061 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13062 clean up the code slightly.
13063 (makeLinuxDocFile): ditto
13064 (makeDocBookFile): ditto
13066 * text2.C: layout as string
13068 * text.C: layout as string
13070 * paragraph_pimpl.C: layout as string
13072 * paragraph.[Ch]: layout as string
13074 * lyxtextclasslist.[Ch]: layout as string
13076 * lyxtextclass.[Ch]: layout as string
13078 * lyxtext.h: layout as string
13080 * lyxlayout.[Ch]: layout as string
13082 * lyx_cb.C: layout as string
13084 * bufferview_funcs.C: layout as string
13086 * bufferparams.C: layout as string
13088 * buffer.C: layout as string
13090 * LyXView.[Ch]: layout as string
13092 * LaTeXFeatures.[Ch]: layout as string
13094 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13096 * BufferView_pimpl.C: change current_layout to string, remove
13101 (workAreaButtonRelease): layout as string
13103 * BufferView2.C (unlockInset): adjust
13105 * vspace.C (asLatexCommand): use an explict temp variable.
13107 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13109 * Makefile.am: use FRONTEND_*
13111 2002-03-01 Juergen Vigna <jug@sad.it>
13113 * tabular.C (SetWidthOfMulticolCell): changed to something better
13114 I hope but still work in progress.
13115 (recalculateMulticolumnsOfColumn): renamed function from
13116 recalculateMulticolCells as it is more appropriate now.
13117 (SetWidthOfCell): calculate multicols better.
13119 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13121 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13123 * lyxfunc.C (processKeySym): print sequence also if it is
13124 `deleted' (complete)
13126 * kbsequence.C (print): print sequence even if it is deleted
13127 (complete would be a better word, actually).
13129 * lyxfunc.C (dispatch): print complete options after a prefix key
13131 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13133 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13135 * text2.C (setCharFont): eliminate setCharFont code duplication.
13137 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13139 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13140 LFUN_TABULAR_FEATURE (bug #177)
13142 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13144 * Makefile.am: remove figure.h
13146 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13148 * Bufferview_pimpl.C:
13160 * text2.C: remove #include "lyx_gui_misc.h".
13162 * LaTeX.C: added #include <cstdio>
13164 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13166 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13167 that the paragraph following this one can have.
13169 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13171 * vspace.C (asLatexCommand): fix bogus gcc warning
13173 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13175 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13177 * text2.C (setLayout): get rid of redundant code
13179 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13181 * text2.C (incDepth): make sure depth cannot be increased beyond
13184 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13186 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13187 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13189 * PainterBase.h (image):
13190 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13191 a LyXImage const *.
13193 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13197 * BufferView_pimpl.C:
13198 * BufferView_pimpl.h:
13218 * sp_spell.C: remove fig inset, and the crap house of
13219 cards that follows it
13221 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13226 * os2_errortable.h:
13227 * nt_defines.h: move .h into support/
13229 * vms_defines.h: remove
13231 * WorkArea.C: add space in debug output
13235 * buffer.C: add WITH_WARNINGS
13239 * bufferlist.C: s/retrive/retrieve/, add docs
13248 * chset.C: add docs
13250 * lyxgui.C: add ID to X error handler
13252 * lyxtestclass.c: fix typo
13254 2002-02-26 Juergen Vigna <jug@sad.it>
13256 * tabular_funcs.C (write_attribute): changed so that some default
13257 attributes are not written at all.
13258 (getTokenValue): set default values before trying to read the
13259 value so we have the return value always set as default if we don't
13260 find the token we search for.
13262 * tabular.C (Write): write bools as bools not as strings!
13264 2002-02-22 Juergen Vigna <jug@sad.it>
13266 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13267 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13269 * text.C (leftMargin): don't add an indent for paragraphs inside
13270 tabular cells (fix #208).
13272 2002-02-21 José Matos <jamatos@fep.up.pt>
13274 * tabular.C (docBook): fixed support for long tables.
13276 2002-02-20 Juergen Vigna <jug@sad.it>
13278 * text2.C (getFont): get the drawing font of the Inset if this
13279 paragraph is inside an inset (only important for InsetERT for now).
13281 * buffer.C (insertErtContents): use new lanugage params in ERT
13284 * CutAndPaste.C: commenting out seemingly uneeded code.
13286 2002-02-19 Allan Rae <rae@lyx.org>
13288 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13289 Iterators might be simple to use but they also get invalidated.
13290 (removeAutoInsets): renamed saved cursor tracking variables and added
13291 some comments to clarify what everything does.
13293 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13300 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13301 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13304 * vc-backend.h: remove #include "support/syscall.h"
13308 * converter.C: rearrange #includes in Lars' approved fashion.
13310 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13311 forward declare class Timeout in the header file.
13313 * XFormsView.C: changes due to the above.
13315 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13316 similar to LyXView.
13318 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13319 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13321 2002-02-18 José Matos <jamatos@fep.up.pt>
13323 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13326 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13328 * a lot of small ws changes
13329 * add a lot of using std::XXX
13330 * use std construcs some places where approp.
13331 * use some exisint stuff from lyxfunctional where approp.
13332 * Make file changes to use partial linking (lets test this now...)
13334 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13338 remove #include "support/syscontr.h" as it's redundant. Always has been.
13346 change Systemcalls::System to Systemcalls::Wait and
13347 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13348 No change of functionality, just reflects the stripped down Systemcalls
13351 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13353 * debug.[Ch]: add a GRAPHICS type to the enum.
13355 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13357 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13359 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13362 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13364 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13365 match the changes below.
13367 * text2.C (toggleInset): if there is not editable inset at cursor
13368 position, try to see if cursor is _inside_ a collapsable inset
13371 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13373 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13374 document menu has a nice checkbox
13376 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13378 * lyxlength.C (asLatexString): change PW to output as percent of
13381 * lengthcommon.C: change '%' to 't%'
13383 * lyxfunc.C (dispatch): a few comments from Martin
13385 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13389 * BufferView_pimpl.h:
13390 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13393 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13395 * vspace.C (inPixels): fix compiler warning
13397 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13399 * lyxfunc.C (getStatus): fix status message for disabled commands.
13401 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13403 * BufferView_pimpl.C: fix crash on close buffer
13404 during selection (#227)
13406 2002-01-27 Herbert Voss <voss@lyx.org>
13408 * buffer.C: link old Figure to new graphic inset
13410 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13412 * FontLoader.C (getFontinfo): Change the latex font names in order
13413 to match the names of type1inst.
13415 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13417 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13419 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13420 (extchanged): ditto
13422 (remove_files_with_extension): ditto
13423 (remove_file): ditto
13426 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13427 document is smaller than the work area height. Do not initialize
13428 static variables to 0.
13430 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13432 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13434 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13435 LFUN_LAYOUT_PARAGRAPHS.
13437 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13438 tabular. It is possible to provide a possible cell, which will
13439 typically be the actcell from the corresponding insettabular
13441 * lyxfunc.C (getStatus): small cleanup; disable
13442 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13445 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13447 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13449 * paragraph.C (startTeXParParams):
13450 (endTeXParParams): new methods. The LaTeX code to
13451 start/end paragraph formatting
13452 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13453 empty (fixes bug #200)
13455 * vspace.C (inPixels): adapt to the change below
13456 (inPixels): [later] more cleanups (remove unused variables)
13458 * lyxlength.C (inPixels): change to use a width and a height as
13461 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13463 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13464 Replaced with \paperwidth
13466 * DepTable.C (insert): add std:: qualifier
13468 2002-01-18 Allan Rae <rae@lyx.org>
13470 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13473 * text.C (drawInset): Turned out I didn't know enough about how
13474 rebreaking worked. This fixes most of the redraw problems. I see
13475 an occasional cursor trail when a line is broken now and the cursor
13476 placement can seem out by a few pixels also after a rebreak.
13478 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13480 * buffer.C (parseSingleLyXformat2Token): update because minipage
13481 width is now a LyXLength
13483 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13485 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13488 2002-01-17 Juergen Vigna <jug@sad.it>
13490 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13492 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13493 is set correctly and the inset is updated correctly.
13495 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13497 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13498 the beginning of the loop.
13500 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13502 * lyxrc.C: improve help for use_scalable_fonts
13504 2002-01-17 Allan Rae <rae@lyx.org>
13506 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13508 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13510 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13511 make sure to set their inset_owner to the right value (bug #171)
13513 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13516 * DepTable.C: Implement mtime checking to reduce time spent doing
13519 2002-01-16 Juergen Vigna <jug@sad.it>
13521 * tabular.C (GetAdditionalHeight): one of error fixed.
13523 * lyxrc.C (output): small fix in writing use_pspell.
13525 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13527 * sp_base.h: #include LString.h
13529 2002-01-16 Allan Rae <rae@lyx.org>
13531 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13532 Can someone check this please?
13534 * text.C (drawInset): It was possible that p.row would be removed by
13535 breakAgainOneRow upsetting a few other settings. There may be another
13536 small tweak possible by setting need_break_row = 0 when p.row has been
13537 removed but I don't know enough about the logic here.
13539 2002-01-15 Allan Rae <rae@lyx.org>
13541 * text.C (insertChar): removed conditional truism.
13543 * BufferView2.C (removeAutoInsets): More tweaks.
13544 cur_par_prev could be a stray pointer. Check for trailing empty line
13545 in case last line was cur_par and only had an error inset on it.
13547 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13549 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13552 * vc-backend.C (most methods):
13553 * exporter.C (Export):
13554 * converter.C (convert):
13556 * LyXSendto.C (SendtoApplyCB):
13557 * lyxfunc.C (dispatch):
13561 * lyx_cb.C (AutoSave):
13563 * BufferView_pimpl.C (MenuInsertLyXFile):
13564 * buffer.C (runChktex): use Buffer::filePath().
13566 * buffer.h: rename filename to filename_; rename filepath to
13567 filepath_ and make it private
13568 (filePath): new method
13570 * buffer.C (writeFile): use fileName()
13573 * lyx_main.C (init): fix starting of LyX when the binary is a
13574 link from so,ewhere else.
13576 * minibuffer.C: include <cctype> for isprint
13578 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13580 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13581 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13582 name clash with InsetCollapsable's width function.
13584 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13586 * lastfiles.C: include <iterator>
13588 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13590 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13593 * buffer.C (makeLaTeXFile): ditto.
13594 Also make loop operation more transparent.
13596 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13598 * ToolbarDefaults.C: remove trailing comma closing namespace.
13600 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13602 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13605 * trans.C (Load): comment out unused variable, allowed.
13607 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13609 * minibuffer.[Ch] (append_char): new method to recieve input from the
13610 drop-down completion browser. If a key was pressed, then recieve this
13611 char and append it to the existing string.
13612 (peek_event): modify the positioning data passed to the completion
13613 browser so that it can be placed above the minibuffer rather than below.
13614 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13616 * LyXAction.C (init): alloe error-next for readonly documents.
13618 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13621 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13623 * bufferlist.C (readFile): create the buffer _after_ checking that
13626 * lyxfunc.C (verboseDispatch): fix handling of arguments
13628 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13630 * lyxrc.C: use string::erase() instead of initializing to "".
13633 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13635 * BufferView_pimpl.h:
13636 * BufferView_pimpl.C:
13639 * text2.C: tell X when we have made a selection for copying
13641 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13643 * BufferView_pimpl.C (MenuInsertLyXFile):
13644 * lyxfunc.C (menuNew):
13646 (doImport): add shortcuts to directory buttons
13648 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13651 * lyxfunc.C (setStatusMessage):
13652 (getStatusMessage): new methods
13653 (getStatus):use setStatusMessage instead of setErrorMessage
13654 (dispatch): when function is disabled, set error message here
13655 [instead of in getStatus previously]
13657 * BufferView_pimpl.C (workAreaButtonRelease): update
13658 toolbar/menubar here too.
13660 2002-01-13 Allan Rae <rae@lyx.org>
13662 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13663 Now seems indestructible. Remaining task is to audit all other
13664 code affected by deleteEmptyParagraphMechanism. One small quirk
13665 left is that an empty document with an error in the preamble can
13666 be made to report an error but no error box appears. I don't know
13668 (removeAutoInsets): Improved comments.
13670 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13673 * Thesaurus.C: update for Aiksaurus 0.14
13675 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13677 * text2.C (firstParagraph): removed member function, all uses
13678 replaces with ownerParagraph
13679 (redoParagraphs): here
13680 (updateInset): here
13681 (toggleAppendix): here
13682 * BufferView2.C (insertErrors): here
13683 (setCursorFromRow): here
13685 2002-01-13 Allan Rae <rae@lyx.org>
13687 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13688 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13689 There is still a way to segfault this although you may have to do this
13690 multiple times: Have an InsetERT with an unknown command in it.
13691 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13692 <down-arrow>, <Enter> again, View->DVI, BANG!
13694 * text2.C (setCursor):
13695 (deleteEmptyParagraphMechanism):
13696 * lyxtext.h (setCursor):
13697 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13698 Making use of the return value may help fix other bugs.
13700 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13702 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13704 * LyXView.C (updateMenubar): call MenuBar::update here
13705 (updateToolbar): but not here
13706 (showState): do not update toolbar/menubar
13708 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13709 should need to care about that.
13711 * lyxfunc.C (verboseDispatch): simplify a bit
13712 (getStatus): have a version which takes a pseudoaction, and
13713 another which requires a (kb_action,string).
13715 * LyXAction.C (retrieveActionArg): make it work also when action
13716 is not a pseudo-action.
13717 (getActionName): simplify a bit
13720 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13722 * lyxfunc.C (verboseDispatch): new families of methods with
13723 several ways to specify a command and a bool to indicate whether
13724 the command name and shortcut should be displayed in minibuffer
13725 (eventually, we could extend that to a finer bitmask like
13726 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13727 (dispatch): the pristine dispatch command which just, well,
13728 dispatchs! Note it still sets its result to minibuffer; I'm not
13731 * lyxfunc.h: remove setHintMessage
13733 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13735 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13737 * BufferView_pimpl.C (specialChar): delete new inset if we have
13738 not been able to insert it.
13740 * kbmap.C: revert to using int instead of kb_action, since all we
13741 are dealing with is pseudo-actions.
13743 * LyXAction.C (searchActionArg): change to return int instead of
13744 kb_action, since the result is a pseudoaction.
13746 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13748 * buffer.C (insertErtContents): Fix (partially) the font bug.
13750 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13752 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13753 as the other one is broken on my machine!
13755 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13758 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13760 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13762 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13763 reflect their actual use. Provide compatibility code for older lyxrc
13766 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13768 change names of popup font variables in line with the changes to lyxrc.C
13770 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13772 * buffer.C (asciiParagraph): avoid outputing a word twice after
13775 * lyxrc.C (getDescription): document that document_path and
13776 template_path can be empty.
13778 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13780 * LaTeXFeatures.C (getMacros):
13781 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13783 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13785 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13787 (getPackages): rename feature "floats" to "float". Use an array to
13788 iterate over 'simple' features (i.e. just a \usepackage). Add
13789 handling of "amsmath" (renamed from "amsstyle").
13791 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13793 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13796 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13798 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13799 FuncStaus::FuncStatus & FuncStaus::some_method().
13801 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13803 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13804 of the func_satus stuff. Edited and massaged in various ways by
13807 * lyxfunc.C (getStatus): use FuncStatus
13809 2002-01-08 Juergen Vigna <jug@sad.it>
13811 * text.C (nextBreakPoint): use function Inset::isChar().
13813 * paragraph.C (TeXOnePar): use function
13814 Inset::forceDefaultParagraphs.
13816 * buffer.C (latexParagraphs): use function
13817 Inset::forceDefaultParagraphs.
13819 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13821 * lyx_gui.C (init): set the style of the menu popups to
13822 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13824 2002-01-07 Juergen Vigna <jug@sad.it>
13826 * text.C (setHeightOfRow): small fix
13827 (prepareToPrint): don't look at alignment if we don't have the place
13830 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13832 * box.C: New file. Move the Box methods and functions out of box.h,
13833 following Lars' suggestion.
13835 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13837 * box.h: #include "support/LOstream.h", needed for inlined function.
13840 * lyxtextclasslist.C: added some using std declarations.
13842 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13844 * box.h: make signed dimensions to allow insets wider than
13845 the screen (bug #162)
13847 * BufferView_pimpl.C: add some insetHit debug
13849 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13851 * vc-backend.C: add FIXME
13853 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13855 * lyxfunc.C (getStatus): enable code for showing math font status
13858 2002-01-07 Juergen Vigna <jug@sad.it>
13860 * text.C (nextBreakPoint): removed debug output not needed anymore.
13862 2002-01-06 Juergen Vigna <jug@sad.it>
13864 * text.C (nextBreakPoint): fixed up this function we had this bug
13865 since ever but now hopefully we break row better.
13866 (insertChar): we have to check if an inset is the next char as it
13867 could now happen that a large inset is causing a break.
13869 2002-01-05 Juergen Vigna <jug@sad.it>
13871 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13872 if it doesn't like to be drawed.
13874 2002-01-04 Juergen Vigna <jug@sad.it>
13876 * BufferView2.C (lockInset): forgot to set a cursor.
13878 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13880 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13882 * FormMathsPanel.C:
13885 * form_maths_panel.C:
13886 * form_maths_panel.h:
13887 * form_maths_panel.fd: implemented sub- and super- buttons in math
13890 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13891 (or ^ space) to be used as in TeX (req'd by André).
13893 * lyxfunc.C: Allow ^ and _ again to be used both as
13894 super/subscript (mathed) and as themselves (in text).
13896 2002-01-03 Allan Rae <rae@lyx.org>
13898 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13899 "LyX" or the filename of the current buffer if it has one. This is a
13900 modified form of John Levon's patch.
13902 * XFormsView.C (setWindowTitle): also set icon title.
13904 * LyXView.h (setWindowTitle): signature changed.
13905 * XFormsView.h (setWindowTitle): ditto.
13907 2002-01-02 Juergen Vigna <jug@sad.it>
13909 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13911 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13913 * screen.C (topCursorVisible): introduce a temp var for
13914 text->cursor.row(), handle the case where this row is null. (kindo
13917 * text2.C (setCursor): add a couple of asserts.
13919 * paragraph.h (inset_iterator): add -> operator
13921 * paragraph.[Ch] (autoDeleteInsets): remove member function
13923 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13924 cursor pos correctly and handle inset deletion by itself.
13925 (insertErrors): move iterator declaration out of for expression
13927 * lyxtextclass.C: add <algorithm>
13929 * Makefile.am: added the new files to sources, removed layout.C
13931 * layout.C: removed file
13933 * layout.h: remove LYX_DUMMY_LAYOUT
13935 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13939 * lyxtextclass.[Ch]:
13940 * lyxtextclasslist.[Ch]: new files
13942 * include order changes to a lot of files, also changes because of
13945 2001-12-27 Juergen Vigna <jug@sad.it>
13947 * buffer.C (asciiParagraph): more fixes.
13949 * tabular.C (ascii): make ascii export support export of only the
13950 data separated by a column-delimiter.
13951 (ascii): better support for ascii export.
13953 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13955 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13957 * tabular_funcs.C: use a "using std::getline" instead of the
13958 previous fix from Angus (necessary for cxx + lyxstring)
13960 2001-12-24 Juergen Vigna <jug@sad.it>
13962 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13964 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13965 problems. First check a minipage also if we have some ert-contents
13966 (not only on par->size(), second set the right depth of the paragraph
13967 on the relink to the root-paragraph-list!
13969 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13970 which then did not anymore update the main paragraphs on undo/redo!
13972 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13974 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13975 code. Support all font-changing funcs (even those which are not in
13976 menu currently). Support for reporting font settings in
13977 mathed (disabled until Andre provides a function on mathed's side).
13979 * func_status.h (toggle): small helper function to set toggle
13982 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13984 * tabular_funcs.C: getline -> std::getline
13986 2001-12-21 Juergen Vigna <jug@sad.it>
13988 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13989 accessed and could be 0 (I couldn't generate this but it seems
13992 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13994 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13995 * tabular_funcs.h: here and include iosfwd
13997 2001-12-20 Juergen Vigna <jug@sad.it>
13999 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14000 inside inset but undo_par was.
14002 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14004 * Thesaurus.C: always include <config.h> in sources.
14008 * box.h: do not include <config.h> in header files
14010 * text.C (paintLastRow): remove unused variable
14012 * text.C (transformChar):
14014 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14016 * Painter.C (text):
14017 * font.C (width): rewrite to use uppercase() instead of
14020 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14022 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14024 * lyxfind.C: clean up of find failure position change
14026 2001-12-20 Juergen Vigna <jug@sad.it>
14028 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14030 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14031 (TeXRow): added to LaTeX a single tabular row.
14032 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14033 (Latex): simplified and finally good LT-h/f support.
14034 (various_functions): just small adaptions for LT-h/f support.
14036 * tabular_funcs.[hC]: added and moved here all not classfunctions
14039 2001-12-19 Juergen Vigna <jug@sad.it>
14041 * tabular.[Ch]: better support for longtabular options (not finished
14044 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14046 * text.C (paintLastRow): use the label font instead of the font of
14047 the last character to compute the size of *_BOX. This makes more
14048 sense and avoids a crash with empty paragraphs.
14049 Use Painter::rectangle to draw EMPTY_BOX.
14051 2001-12-19 Juergen Vigna <jug@sad.it>
14053 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14054 the paragraphs if the replaced paragraph is not the first one!
14055 Tried to delete not used paragraphs but does not work yet so for
14056 now it's inside #ifdef's and by default off!
14058 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14060 * MenuBackend.C: include "lyx_main.h" instead of declaring
14061 lastfiles (actually was declared as LastFiles* instead of a
14064 2001-12-17 Juergen Vigna <jug@sad.it>
14066 * tabular.C (AppendColumn): applied John's fix
14068 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14072 * BufferView_pimpl.h:
14073 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14076 * box.h: new start of class for above
14078 * lyxfunc.C: ignore space-only minibuffer dispatches.
14079 Show the command name when it doesn't exist
14081 * minibuffer.C: don't add empty lines to the history
14083 * minibuffer.C: add a space on dropdown completion
14085 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14087 * text.C: fix line above/below drawing in insets
14089 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14091 * lyxlength.C (LyXLength): Initialize private variables.
14093 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14095 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14096 when inserting error insets.
14098 2001-12-13 Juergen Vigna <jug@sad.it>
14100 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14101 actually sometimes the before-paragraph.
14102 (setUndo): don't clear the redostack if we're not actually undoing!
14104 2001-12-06 Juergen Vigna <jug@sad.it>
14106 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14107 and fixed redoing of main paragraph, so we can use it now ;)
14109 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14111 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14113 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14116 2001-12-13 André Pönitz <poenitz@gmx.net>
14119 * undo_func.C: minor cleanup
14121 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14123 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14124 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14125 font in urw-fonts package which is marked as -urw-fontspecific and
14126 does not work (incidentally, changing the encoding in the
14127 fonts.dir of this package to -adobe-fontspecific fixes the
14130 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14131 is a crash when undoing first paragraph (Juergen, please take a
14132 look). THis does not mean the undo fix is wrong, just that it
14135 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14136 the (Paragraph*) version when needed instead of duplicating the
14139 * text.C (workWidth): use Inset::parOwner to find out where the
14140 inset has been inserted. This is a huge performance gain for large
14141 documents with lots of insets. If Inset::parOwner is not set, fall
14142 back on the brute force method
14144 * paragraph_pimpl.C (insertInset):
14145 * paragraph.C (Paragraph):
14146 (cutIntoMinibuffer): set parOwner of insets when
14147 inserting/removing them
14149 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14151 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14157 * mathed/formulabase.C:
14158 * mathed/math_cursor.[Ch]:
14159 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14162 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14164 * lyxlength.[Ch] (operator!=): new function
14166 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14168 * text.C (workWidth): use Inset::parOwner to find out where the
14169 inset has been inserted. This is a huge performance gain for large
14170 documents with lots of insets. If Inset::parOwner is not set, fall
14171 back on the brute force method
14173 * paragraph_pimpl.C (insertInset):
14174 * paragraph.C (Paragraph):
14175 (cutIntoMinibuffer): set parOwner of insets when
14176 inserting/removing them
14178 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14180 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14182 * tabular-old.C (getTokenValue):
14183 * tabular.C (getTokenValue):
14184 (write_attribute): new versions for LyXLength
14185 (everywhere): adjust the use of widths
14187 * tabular.h: change the type of widths from string to LyXLength
14189 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14191 * paragraph.C: fixed missing line number count when exporting
14192 Environments to LaTeX file
14194 * buffer.C: added informational message for checking line numbers.
14196 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14198 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14199 paragraph, do the 'double space' part, but not the 'empty
14202 * text.C (workWidth): small optimization
14203 (getLengthMarkerHeight): use minimal size for negative lengths.
14205 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14207 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14209 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14211 2001-12-11 André Pönitz <poenitz@gmx.net>
14214 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14216 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14218 * text2.C: keep selection on a setFont()
14220 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14222 * lyx_cb.C: another bv->text misuse, from insert label
14224 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14227 * kbsequence.C: re-instate nmodifier mask
14229 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14231 * lyx_main.h: make lyxGUI private.
14233 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14235 * lyxfind.C: place the cursor correctly on failed search
14237 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14239 * text.C (getLengthMarkerHeight): for small heights, the arrows
14240 are not always on top/bottom of the text
14241 (drawLengthMarker): smaller arrows; take the left margin in
14242 account; draw also vfills.
14244 (paintLastRow): remove special code for vfill and standard spaces,
14245 since everything is handled in drawLengthMarker now.
14247 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14249 * buffer.C (insertErtContents): try to handle font and language
14250 interaction a bit better.g
14252 * ColorHandler.C (updateColor): change the hash to cover the whole
14253 LColor enum, ws cleanup
14254 (getGCLinepars): ditto
14255 (getGCLinepars): only lookup in the linecache once.
14257 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14259 * iterators.C (operator++): Make the iterator more robust
14261 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14263 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14265 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14268 * text.C: better added space drawing
14270 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14273 * BufferView2.C: fix layout combo update on inset unlock
14275 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14277 * Makefile.am: don't compile unused files
14279 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14283 * LyXAction.C: remove old LFUN_LAYOUTNO
14285 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14287 * paragraph_pimpl.h:
14288 * paragraph_pimpl.C: isTextAt() doesn't need font param
14290 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14293 * lyxlex.C: little cleanup
14295 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14297 * BufferView_pimpl.C: fix insertAscii for insets
14299 2001-12-05 Juergen Vigna <jug@sad.it>
14301 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14302 set the right font on the "multi" paragraph paste!
14304 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14310 * lyxlength.C: remove out-commented code.
14312 * BufferView_pimpl:
14326 * vc-backend.C: change "while(" to "while ("
14328 * lyxlength.[Ch]: add zero function to check if length is zero or
14330 * lyxgluelength.C: use it
14332 2001-12-05 Allan Rae <rae@lyx.org>
14334 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14335 Works for 2.95.3, from what I understand of Garst's reports this should
14336 work for other g++ versions. We're screwed if the abs(int) definition
14337 changed between bugfix releases of gcc.
14339 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14341 * text.C: fix chapter label offset !
14343 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14346 * text.C: fix hfill at end of line, clean up
14348 2001-12-04 Juergen Vigna <jug@sad.it>
14350 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14351 that we force an update of the inset and it's owners if neccessary.
14353 2001-12-03 Juergen Vigna <jug@sad.it>
14355 * text.C (rowLast): simplified code
14357 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14359 * lyxfunc.C: fix show options on timeout
14361 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14363 * screen.C (topCursorVisible): scroll half a page when the cursor
14364 reached top of bottom of screen
14366 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14368 * minibuffer.C: deactivate on loss of focus
14370 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14372 * vspace.[Ch] (operator!=): add operator.
14374 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14376 * BufferView_pimpl.C: refuse to open an inset when
14377 there's a selection.
14379 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14381 * BufferView_pimpl.C: allow to click on RHS of full row insets
14383 2001-11-30 Juergen Vigna <jug@sad.it>
14385 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14386 insets for undo reasons.
14388 2001-11-28 André Pönitz <poenitz@gmx.net>
14390 * vspace.[Ch]: cosmetical changes
14392 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14402 * kbsequence.C: part re-write of old kb code
14405 * WorkArea.C: remove Lgb_bug_find_hack
14407 2001-11-30 José Matos <jamatos@fep.up.pt>
14409 * buffer.C (makeDocBookFile): add a comment to point a hack.
14410 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14411 Fixed a double write of labels.
14413 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14416 * LaTeX.h Fixed bug in LaTeX class where it would not
14417 re-run latex if no depfiles were changed, but the .dvi was removed.
14419 2001-11-28 André Pönitz <poenitz@gmx.net>
14421 * all the files from the change on 2001/11/26:
14422 use lyx::layout_type instead of LyXTextClass::size_type
14423 use lyx::textclass_type instead of LyXTextClassList::size_type
14425 2001-11-29 Juergen Vigna <jug@sad.it>
14427 * text.C: added support for paragraph::isFreeSpacing()
14429 * buffer.C: same as above
14431 * paragraph.h: inserted isFreeSpacing() function to enable
14432 FreeSpacing inside InsetERT.
14434 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14435 of the paragraph's in the cut/copy buffer to 0!
14437 * text2.C (removeRow): remove the assert as it can!
14439 * lyxtext.h: added helper function firstRow returning firstrow and
14440 made firstrow private again.
14442 * BufferView2.C (lockInset): don't relock if we're already locked!
14444 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14445 the only paragraph.
14446 (removeRow): added Assert::(firstrow)
14448 * debug.C: forgot to add INSETTEXT here.
14450 2001-11-28 Juergen Vigna <jug@sad.it>
14452 * sp_spell.C (initialize): changed error text to more general
14453 spellchecker command use (not only ispell!)
14455 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14457 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14459 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14461 * vspace.C: initialise lyxgluelength on failure
14463 2001-11-28 Allan Rae <rae@lyx.org>
14465 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14466 declaration & definition that looks like a function declaration.
14468 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14470 * BufferView2.C (copy):
14471 (copyEnvironment): do not clear the selection when doing a copy.
14473 * text.C (paintFirstRow): compilation fix
14475 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14477 * tabular.C (Latex): correct line count when writing latex.
14479 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14481 * paragraph_pimpl.h:
14482 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14485 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14489 * LColor.C: change vfillline->added_space
14491 * text.C: add markers and text for added space
14493 * vspace.C: fix comment
14495 2001-11-28 André Pönitz <poenitz@gmx.net>
14497 * paragraph.C: whitespace changes
14498 * all the other files from the change on 2001/11/26:
14499 change *::pos_type into lyx::pos_type
14501 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14503 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14504 language of the document when inserting error insets.
14506 2001-11-26 André Pönitz <poenitz@gmx.net>
14508 * BufferView_pimpl.[Ch]:
14516 * paragraph_pimpl.[Ch]:
14519 * text2.C: reduce header dependencies, introduce type for positions
14521 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14523 * <various>: change to use Alert.h
14525 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14527 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14528 when encountering an unknown token.
14529 (readLyXformat2): Show an error message if there were unknown tokens.
14531 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14534 * BufferView_pimpl.C:
14538 * text2.C: use par->isInset()
14540 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14542 * paragraph_pimpl.h:
14543 * paragraph_pimpl.C: cleanup
14545 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14547 * text2.C (removeRow):
14548 * text.C (setHeightOfRow): remove useless (and costly) call to
14551 2001-11-20 Allan Rae <rae@lyx.org>
14553 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14554 Now need Inset*::checkInsertChar() to return true for appropriate
14555 cases so that the characters in the minibuffer will actually be
14558 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14560 * text.C: change the order of the includes.
14561 (workWidth): initialize it at once.
14562 (workWidth): make maxw unsigned
14563 (setHeightOfRow): remove unused variable (inset)
14564 (selectSelectedWord): remove unused variable (inset)
14565 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14567 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14569 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14570 server is not running.
14572 (closeConnection): add debug info when server is disabled.
14574 * ColorHandler.C (getGCForeground): send debug message to GUI
14577 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14579 * kbmap.C (bind): modify because return conventions of
14580 kb_sequence::parse have changed.
14582 * kbsequence.C (parse): only ignore spaces and not any stupid
14583 control character. This avoids tests like s[i] <= ' ', which are
14584 guaranteed to fail with 8bit characters and signed chars.
14585 Change return code to string::npos when there have been no error
14586 (0 was a bad idea when error is at first character)
14588 2001-11-14 José Matos <jamatos@fep.up.pt>
14591 * buffer.C (simpleDocBookOnePar): removed unused argument.
14593 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14595 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14596 insets which are part of a word. Paragraph::isLetter takes care of
14597 that now. Use Paragraph::isInset to identify insets.
14598 (selectSelectedWord): do not test for hyphenation break.
14600 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14601 that protected spaces are considered as spaces.
14603 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14606 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14609 * lyxserver.C: fix it. and small cleanup.
14611 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14613 * BufferView_pimpl.C: use inline helpers
14616 * LaTeXFeatures.C: fix typos
14619 * Spacing.C: move spacing_string into class
14621 * ToolbarDefaults.C: move stuff into namespace anon
14623 * layout.h: update enum
14625 * lyxfunc.C: use better debug
14627 * minibuffer.h: fix typo
14631 * WorkArea.C: add and use Debug::WORKAREA
14635 * text2.C: code re-organisation, inline helpers
14637 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14639 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14640 std::vector.empty().
14642 2001-11-09 Allan Rae <rae@lyx.org>
14644 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14645 '\n's after tables. Tabular and ERT inset work now makes this no
14648 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14651 * minibuffer.C: fix crash, improve drop-down completion
14653 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14656 * lyxserver.C: invalidate fd's when doing endPipe()
14658 2001-11-08 José Matos <jamatos@fep.up.pt>
14660 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14661 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14664 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14666 2001-11-07 José Matos <jamatos@fep.up.pt>
14669 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14672 * buffer.C (sgmlOpenTag):
14673 * buffer.C (sgmlCloseTag): removed debug info.
14675 * buffer.h (sgmlOpenTag):
14676 * buffer.h (sgmlCloseTag): made public.
14678 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14680 * buffer.C (saveParamsAsDefaults):
14681 * lyx_cb.C (MenuLayoutSave): remove
14683 * LyXAction.C (init):
14685 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14687 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14689 * buffer.C (setPaperStuff): removed from here...
14691 * bufferparams.C (setPaperStuff): ... and moved there.
14693 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14697 * XFormsView.C: add support for drop-down completion
14699 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14701 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14704 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14706 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14709 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14711 * lyx_main.C: change ref to known bugs
14713 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14715 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14716 to work around older babel problems.
14718 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14720 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14722 2001-10-24 Juergen Vigna <jug@sad.it>
14724 * tabular-old.C (ReadOld): below variable changes reflected.
14726 * tabular.[Ch]: added ltType struct for longtable header/footer
14727 defines and changed all instances where they are used. Added
14728 future support for double top/bottom rows.
14730 2001-10-24 José Matos <jamatos@fep.up.pt>
14732 * buffer.h (docbookHandleCaption):
14733 * buffer.C (docbookHandleCaption): removed unused function.
14734 (makeDocBookFile): moved docbook supported version to v4.1.
14736 2001-10-24 José Matos <jamatos@fep.up.pt>
14739 * tabular.C (docbookRow): new function to export docbook code of a row.
14740 (DocBook): now honors the longtable flags.
14742 2001-10-23 José Matos <jamatos@fep.up.pt>
14745 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14746 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14748 * buffer.C (makeLinuxDocFile):
14749 (makeDocBookFile): reworked the preamble, more clean, and with
14750 support for lyx defined entities. Changed the document declaration
14751 to be more XML friendly.
14753 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14754 if we need to output XML that should be done with a filter.
14756 2001-10-22 Juergen Vigna <jug@sad.it>
14758 * sp_pspell.h (class PSpell): add alive function needed in the
14759 controller to see if the spellchecker could be started.
14761 2001-10-22 Juergen Vigna <jug@sad.it>
14763 * buffer.C (insertStringAsLines): modify the font for inserting
14764 chars in certain conditions by calling checkInsertChar(font).
14766 2001-10-19 Juergen Vigna <jug@sad.it>
14768 * text.C (workWidth): use getRow instead of wrong algorithm.
14769 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14771 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14776 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14778 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14780 * text.C (workWidth): do not search for the exact row when
14781 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14782 optimization for big documents.
14784 2001-10-18 Juergen Vigna <jug@sad.it>
14786 * text.C (workWidth): new function with added Inset * parameter.
14788 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14790 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14792 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14793 change return type of getColumnNearX.
14796 * text.C (changeRegionCase): use uppercase/lowercase instead of
14799 (rightMargin): simplify code by factoring out the uses of
14804 (appendParagraph): use Paragraph::size_type
14806 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14808 * vspace.C (asLatexString): add a missing break
14810 2001-10-15 Herbert Voss <voss@perce.de>
14812 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14814 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14816 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14819 2001-10-10 André Pönitz <poenitz@gmx.net>
14821 * lyxfunc.C: removed greek_kb_flag.
14823 2001-10-10 Herbert Voss <voss@perce.de>
14825 * lyx_main.C: delete global string help_lyxdir.
14827 2001-10-09 Herbert Voss <voss@perce.de>
14829 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14831 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14833 * lyx_main.C: added global string help_lyxdir.
14835 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14837 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14839 * lyxrc.C (set_font_norm_type): support iso8859-4
14841 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14843 * LaTeX.C (deplog): add another regex for MikTeX
14845 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14847 * lyxrc.C (set_font_norm_type): support iso8859-3
14849 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14851 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14853 * LaTeXFeatures.C: remove special case of french and index
14855 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14856 before \begin{document}). This solves several incompatibilities.
14858 2001-10-03 Garst Reese <reese@isn.net>
14860 * lyx_cb.C: change CheckTex error msg.
14862 2001-10-03 José Matos <jamatos@fep.up.pt>
14864 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14866 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14868 * .cvsignore: update
14870 * lyx_main.C (commandLineVersionInfo): use new style version info.
14872 * buffer.C (writeFile):
14874 (makeLinuxDocFile):
14875 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14877 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14879 * version.h: update to use stuff in version.C
14881 * version.C.in: new file. Contains version information determined
14882 at compile time. This is a merging of version.h and
14885 2001-10-03 Juergen Vigna <jug@sad.it>
14887 * BufferView_pimpl.C (update): don't change "dirty" status in
14890 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14892 * WorkArea.C (c-tor): re-position version string slightly.
14894 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14896 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14897 revert to previous code.
14899 WorkArea.[Ch]: (show, destroySplash): methods removed.
14901 WorkArea.C: rework code so that it's an amalgam of the codes before and
14902 after the splash screen was moved to WorkArea.
14904 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14907 * vspace.C (inPixels):
14910 * buffer.C (insertStringAsLines):
14911 (asciiParagraph): fix types to be large enough
14913 * lyxlex_pimpl.h: change member status from short to int
14915 * layout.h: fix type of endlabeltype
14918 * kbsequence.C (parse): change return type to string::size_type
14920 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14923 * Bullet.C (bulletSize):
14924 (bulletEntry): do not use short ints as parameters
14926 * BufferView2.C (insertLyXFile): change a char to an int.
14928 * WorkArea.C (WorkArea): remove unneeded floats in computation
14930 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14932 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14934 * paragraph.C (asString): Do not ignore newline/hfill chars when
14935 copying to the clipboard.
14937 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14939 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14940 after a multi-line inset.
14942 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14944 * paragraph.C (validate): Set NeedLyXFootnoteCode
14946 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14948 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14949 and decrease-error to decrease.
14951 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14953 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14954 it more readable (should be equivalent)
14956 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14958 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14960 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14962 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14963 of a cursor (row, etc.) after a character has been deleted
14964 (deleteEmptyParagraphMechanism): call the method above on _all_
14965 cursors held by the LyXText when a double space has been
14968 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14970 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14972 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14974 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14975 background. Use greyOut() and the new show() methods to toggle between
14976 the foreground and background. Add code to remove the splash after
14977 its initial showing.
14979 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14980 (create_forms): no longer call Dialogs::showSplash.
14982 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14984 * .cvsignore: add version_info.h
14986 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14988 * version_info.h.in: new file
14990 * Makefile.am: add version_info.h.in
14992 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14993 version_info.h instead of VERSION_INFO
14995 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14997 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14998 The ERT inset now returns string().
15000 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15002 * lyxtext.h, text.C (selectNextWord): renamed as
15003 selectNextWordToSpellcheck.
15005 * text.C (selectNextWordToSpellcheck): Modified to not select
15006 words inside an ERT inset.
15008 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15010 * lyx_cb.C (MenuLayoutSave): change a bit the question
15012 * sp_base.h: include <sys/types.h>
15014 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15016 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15018 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15020 * several files: fix typos in user-visible strings
15022 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15024 * text2.C (pasteSelection): do not set the selection, since it
15025 will be cleared later. Actually, the intent was to fix the way the
15026 selection was set, but I figured rmoving the code was just as good.
15028 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15030 * FontLoader.C (available): Check if font is available without
15033 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15035 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15037 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15039 * lyxrc.[Ch]: added display_graphics variable and associated code.
15041 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15043 * bufferparams.C (hasClassDefaults): new method. Returns true if
15044 the buffer parameters correspond to known class defaults
15046 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15048 * XFormsView.C (show): set minimum size to the main window.
15050 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15052 * text2.C (copySelection):
15054 * lyxfind.C (LyXReplace):
15055 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15056 LyXText::selectionAsString.
15058 * paragraph.C (asString): add "label" argument to the second form
15060 * text2.C (selectionAsString): add "label" argument and pass it to
15061 Paragraph::asString.
15063 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15065 * lyx_main.C (commandLineHelp): remove version information
15067 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15069 * lyx_main.C: add -version commandline option
15071 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15073 * paragraph.h: make the optional constructor arg required instead.
15074 some modifications to other files because of this.
15076 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15078 * lyxserver.C (C_LyXComm_callback): make it static
15080 * lyx_main.C (error_handler): make it static
15082 * lyx_gui.C (LyX_XErrHandler): make it static
15084 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15086 * WorkArea.C: make the extern "C" methods static.
15088 * Makefile.am (lyx_LDADD): simplify
15090 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15092 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15093 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15095 * LyXAction.C (init):
15096 * lyxfunc.C (dispatch): associated code removal.
15098 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15100 * lyxfont.h (isSymbolFont): shut off warning
15102 * text.C (setHeightOfRow):
15103 (getVisibleRow): fix crash with empty paragraphs which have a
15106 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15108 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15111 2001-09-04 José Matos <jamatos@fep.up.pt>
15114 * tabular.C (docbook): rename docBook method to docbook.
15116 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15118 * Makefile.am: add dependencies to main.o.
15120 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15122 * FontLoader.C (available): Return false if !lyxrc.use_gui
15124 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15126 * FontInfo.C (query):
15127 * converter.C (view):
15128 * importer.C (Import):
15129 * exporter.C (Export): Can not -> cannot.
15131 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15133 * BufferView_pimpl.C: allow to create index inset even if
15136 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15138 * buffer.C (getLists): replace boost::tie code with an explicit pair
15139 as boost::tie can break some compilers.
15141 * iterators.h: Added a std:: declaration to the return type of
15144 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15146 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15149 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15151 * iterators.[Ch]: New files. Provide paragraph iterators.
15153 * buffer.C (changeLanguage): Use paragraph iterators.
15154 (isMultiLingual): ditto
15156 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15158 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15160 * FontLoader.C: Support for cmr font.
15162 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15164 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15165 (available): New method.
15167 * FontInfo.C (getFontname): Use scalable fonts even when
15168 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15171 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15173 * converter.C (Formats::view): reverted! Incorrect fix.
15175 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15177 * converter.C (Formats::view): only output the -paper option
15178 if the dvi viewer is xdvi, thereby fixing bug #233429.
15180 2001-08-23 Herbert Voss <voss@perce>
15182 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15184 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15186 * Spacing.h (Spacing): Set space to Default on in the default
15189 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15191 * vc-backend.h (RCS::versionString): add RCS to version
15192 (CVS::versionString): add CVS to version
15194 * vc-backend.C (scanMaster): do not add CVS to version.
15195 (scanMaster): do not add RCS to version
15197 * lyxvc.C (versionString): new method
15199 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15201 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15203 * Spacing.C (set): initialize fval
15205 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15207 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15210 2001-08-16 Juergen Vigna <jug@sad.it>
15212 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15214 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15216 * BufferView_pimpl.C:
15219 * text2.C: setParagraph takes linespacing now
15221 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15223 * LyxAction.C: add internal LFUN_CITATION_INSERT
15225 * LyXView.C: actually apply fix
15227 * bufferlist.C: fix open non-existent file
15229 * lyxfind.C: fix indentation
15231 * lyxfunc.C: remove unneeded assert, fix typo
15233 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15235 * MenuBackend.C: use "Floatname List"
15237 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15239 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15240 when converting LaTeX layout to insetERT.
15241 Generate a non-collapsed float when reading old float
15243 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15245 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15248 2001-08-13 Juergen Vigna <jug@sad.it>
15250 * text.C (fill): return 0 instead of 20 as this seems to be the more
15253 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15255 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15258 2001-08-13 Juergen Vigna <jug@sad.it>
15260 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15262 (SearchBackward): comment out the unlocking of the inset_owner this
15263 should not be needed!
15265 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15267 * Many files: Remove inherit_language, and add latex_language
15269 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15270 collapsible insets.
15272 2001-08-10 Juergen Vigna <jug@sad.it>
15274 * text.C (prepareToPrint): fixed hfill-width in draw!
15276 * BufferView2.C (selectLastWord): save the selection cursor as this
15277 now is cleared in the function LyXText::clearSelection!
15279 2001-08-08 Juergen Vigna <jug@sad.it>
15281 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15282 BACKSPACE type functions.
15284 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15285 is only cutted from the document but not put in the cut-buffer, where
15286 still the old stuff should be.
15288 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15290 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15292 * tabular.C (SetWidthOfCell): fixed special case where the width
15294 (LeftLine): handle '|' in align_special.
15296 (LeftAlreadyDrawed): ditto
15297 (SetWidthOfCell): ditto
15299 2001-08-07 Juergen Vigna <jug@sad.it>
15301 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15303 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15305 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15306 * lyxlex.[hC]: ditto
15308 2001-08-06 Juergen Vigna <jug@sad.it>
15310 * text.C (getVisibleRow): fix up row clearing a bit.
15312 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15314 * minibuffer.C: make sure the X server sees the changes in the input.
15316 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15318 * paragraph.C (getFont): split into...
15319 (getLabelFont): this
15320 (getLayoutFont): and this
15321 * paragraph_pimpl.C (realizeFont): calling this
15323 * text2.C (getFont): split into...
15324 (getLayoutFont): this
15325 (getLabelFont): and this
15326 (realizeFont): all three calling this
15328 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15331 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15333 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15335 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15337 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15338 layouts from the Quote inset insertion.
15340 2001-08-03 Juergen Vigna <jug@sad.it>
15342 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15344 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15345 only if status not is already CHANGED_IN_DRAW (second level).
15347 * text.C (draw): don't set the need_break_row when inside an
15350 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15352 * buffer.C (parseSingleLyXformat2Token): handle more latex
15355 * bufferview_funcs.[hC]: change function names to
15356 begin with small char, adjust other files.
15358 2001-08-02 André Pönitz <poenitz@gmx.net>
15361 BufferView_pimpl.C: remove broken special code for math-greek
15363 2001-08-02 Juergen Vigna <jug@sad.it>
15365 * BufferView_pimpl.C (update): redone this function so that we
15366 update the text again if there was a CHANGE_IN_DRAW.
15368 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15369 (drawFromTo): added a new internal bool which is used by draw() and
15371 (general): some cursor drawing problems fixed.
15373 2001-08-01 Juergen Vigna <jug@sad.it>
15375 * lyxfind.C (LyXFind): fixed
15376 (SearchForward): ditto
15377 (SearchBackward): ditto
15379 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15380 spurius drawing of the cursor in the main area.
15382 * text2.C (status): small fix which could lead to a segfault!
15383 (clearSelection): remove unneeded BufferView param.
15385 2001-08-01 André Pönitz <poenitz@gmx.net>
15387 * lyxfunc.C: small change due to changed mathed interface
15389 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15391 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15393 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15395 * lyxfunc.c: fail gracefully if file doesn't exist
15400 * BufferView_pimpl.C: IsDirWriteable() proto changed
15402 * LyXView.C: fix updateWindowTitle() to store the last title
15404 2001-07-31 Juergen Vigna <jug@sad.it>
15406 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15407 the font (wrong since using of Paragraph::highestFontInRange).
15409 * paragraph.C (highestFontInRange): added a default_size parameter.
15411 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15412 (setHeightOfRow): reformat
15414 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15416 * converter.[hC] + affected files: move to (inital-char)lowercase
15419 * ParagraphParameters.C (ParagraphParameters): remove commented code
15421 * PainterBase.[Ch]: remove commented code
15423 * LaTeXFeatures.h: add "bool floats" for float.sty
15425 * LaTeXFeatures.C (LaTeXFeatures): init floats
15426 (require): handle float
15427 (getPackages): do it with floats
15429 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15431 * BufferView_pimpl.C (Dispatch): improve handling of
15432 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15434 * commandtags.h: #include lyxfont.h here temporarily to avoid
15437 * bufferlist.h: include LString.h here.
15439 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15441 * text2.C (getStringToIndex): new method.
15443 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15445 * *: Reduced header file dependencies all over.
15447 2001-07-30 Baruch Even <baruch@lyx.org>
15449 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15451 2001-07-29 Baruch Even <baruch@lyx.org>
15453 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15455 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15457 * ParameterStruct.h (endif): add a default constructor to make
15458 sure that all variables is initialized.
15460 * ParagraphParameters.C (ParagraphParameters): adjust
15462 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15464 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15465 index; also, check that there is something to index, and that it
15466 does not span over several paragraphs.
15467 (doubleClick): use WHOLE_WORD_STRICT for double click.
15469 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15471 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15474 2001-07-26 Baruch Even <baruch@lyx.org>
15476 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15477 an InsetFig figure, backwards compatible reading of old figure code.
15479 2001-07-27 Juergen Vigna <jug@sad.it>
15481 * text2.C: font.realize function adaption.
15483 * text.C (draw): add a warnings lyxerr text if needed.
15485 * layout.C: font.realize function adaption.
15487 * language.C: add inherit_language and implement it's handlings
15489 * bufferview_funcs.C (StyleReset): remove language parameter from
15490 font creation (should be language_inherit now).
15492 * bufferparams.C (writeFile): handle ignore_language.
15494 * paragraph.C (getFontSettings): the language has to be resolved
15495 otherwise we have problems in LyXFont!
15497 * lyxfont.C (lyxWriteChanges): added document_language parameter
15498 (update): removed unneeded language parameter
15500 * paragraph.C (validate): fixed wrong output of color-package when
15501 using interface colors for certain fonts in certain environments,
15502 which should not seen as that on the final output.
15504 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15506 * BufferView_pimpl.C:
15511 * LyXAction.C: add thesaurus support
15514 * lyxfind.C: add "once" parameter, for thesaurus, to not
15515 move to the next match
15517 2001-07-26 Juergen Vigna <jug@sad.it>
15519 * lyxfont.C (realize): honor ignore_language too!
15522 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15524 * text.C (draw): one place more for ignore_language to not draw
15527 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15529 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15531 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15533 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15534 the minipage conversion problem.
15536 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15538 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15541 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15543 * BufferView.h: don't forward declare WorkArea
15545 * BufferView.C: don't include WorkArea.h
15547 2001-07-25 André Pönitz <poenitz@gmx.net>
15551 * lyxfunc.C: new LFUN 'math-space'
15553 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15555 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15557 * text2.C (toggleInset): call open/close
15559 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15561 * lyxfunc.C (dispatch): add debug for the disabled case
15563 * font.C (buttonText): make similar to rectText
15565 * buffer.C (readInset): comment out parsing of insetlist and
15568 * PainterBase.C (rectText): small correction
15570 * BufferView_pimpl.C: comment out insettheorem and insetlist
15571 * LyXAction.C: ditto
15572 * commandtags.h: ditto
15574 2001-07-24 Juergen Vigna <jug@sad.it>
15576 * text.C (draw): honor the ignore_language.
15578 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15580 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15582 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15585 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15587 * lyxtext.h: remove unused (and unimplemented) methods
15589 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15591 * text.C (getVisibleRow): honor background color
15594 * Painter.h: remove default color argument for fillRectangle
15596 * text.C (backgroundColor): new method
15598 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15600 * text.C (getVisibleRow): adjust
15602 * font.[Ch] (rectText): new method, metrics
15603 (buttonText): new method, metrics
15605 * PainterBase.[hC]: make rectText and buttonText always draw and take
15608 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15610 * ToolbarDefaults.C (read):
15611 * MenuBackend.C (read): allow escaping in all strings
15613 * BufferView_pimpl.C (insertAndEditInset): new method.
15614 (Dispatch): use insertAndEditInset whenever appropriate.
15616 * BufferView_pimpl.C (insertNote): removed
15618 * BufferView_pimpl.C (smartQuote): new method, moved from
15619 BufferView; if an insetquote cannot be inserted, insert a '"'
15622 * BufferView2.C: remove insertCorrectQuote();
15624 * lyxfunc.C (getStatus): Add support for all remaingin
15625 inset-insert lfuns.
15627 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15629 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15630 command (necessary to pass " as parameter of self-insert.
15632 * text.C (selectWordWhenUnderCursor):
15633 (selectWord): add word_location parameter
15634 (selectWordWhenUnderCursor): same + remove special code for word
15636 (selectNextWord): use kind() to guess type of insetspecialchar,
15639 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15640 (insertErtContents): create ert insets as collapsed.
15641 (readInset): better compatibility code for Info inset.
15643 2001-07-20 Juergen Vigna <jug@sad.it>
15645 * lyxfunc.C (dispatch): use always LyXFind now!
15647 * text2.C (init): add a reinit flag so that the LyXText can be
15648 reinited instead of deleted and reallocated (used in InsetText).
15650 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15656 2001-07-18 Juergen Vigna <jug@sad.it>
15658 * text.C (selectNextWord): handle insets inside inset by calling
15659 always the bv->text functions so that we can go up the_locking_inset!
15661 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15662 in strange locations when inside an inset!
15664 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15665 handling to include insets.
15667 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15669 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15671 * LyXAction.C (init):
15673 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15674 LIGATURE_BREAK, since the name is so stupid.
15676 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15678 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15681 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15683 * sp_form.[Ch]: remove.
15685 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15687 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15690 * src/buffer.C (readInset): ditto.
15692 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15694 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15695 menuSeparator(), endOfSentenceDot(), ldots() and
15696 hyphenationPoint(), which are therefore removed.
15697 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15699 * LyXAction.C (init):
15700 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15702 * paragraph.C (getWord): removed.
15704 * BufferView_pimpl.C (Dispatch): use last word or selection for
15705 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15707 * lyx_main.C (queryUserLyXDir): do not ask before creating
15708 user_dir, except if it has been named explicitely.
15710 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15712 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15713 a document of zero size.
15715 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15717 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15718 approriately in the c-tor and in require().
15719 (getPackages): output the appropriate LaTeX for natbib support.
15721 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15722 variables "use_natbib" and "use_numerical_citations" when reading the
15724 (readInset): read the various natbib cite commands.
15725 (validate): white-space change.
15727 * bufferparams.[Ch]: new variables "bool use_natbib" and
15728 "bool use_numerical_citations".
15729 (writeFile): output them in the LyX file.
15731 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15733 * lyxfunc.C (getStatus): add support for all the inset insertion
15736 * text2.C (insertInset):
15737 * paragraph.C (insetAllowed):
15738 * BufferView_pimpl.C (insertInset): update to take in account the
15739 renaming of insertInsetAllowed
15741 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15743 * text2.C (getInset): new method. returns inset at cursor position.
15745 * BufferView_pimpl.C (Dispatch): changes because of this.
15747 * LyXAction.C (init): rename open-stuff to inset-toggle.
15749 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15751 * text2.C (toggleInset): renamed from openStuff; use
15754 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15756 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15758 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15760 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15762 * buffer.C (readLyXformat2): Add filename to the error dialog
15764 2001-07-18 Juergen Vigna <jug@sad.it>
15766 * tabular.C (GetCellNumber): put an assert here instead of the check!
15768 2001-07-17 Juergen Vigna <jug@sad.it>
15770 * BufferView_pimpl.C (toggleSelection): adapted too.
15772 * text.C (selectNextWord): adapted for use with insets.
15773 (selectSelectedWord): ditto
15775 2001-07-17 Juergen Vigna <jug@sad.it>
15777 * sp_spell.C (PSpell): fix initialitation order.
15779 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15781 * paragraph.C: spacing
15783 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15785 * sp_spell.C: repair language selection for pspell
15787 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15789 * lyxfunc.h: change more methods to begin with lower char.
15791 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15793 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15794 for unknown layouts.
15796 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15798 * buffer.C (readLyXformat2): Generate an error dialog if there are
15801 2001-07-16 Juergen Vigna <jug@sad.it>
15803 * sp_spell.C: always compile ISpell part.
15805 * lyxrc.C: added use_pspell entry and it's handling.
15807 2001-07-13 Juergen Vigna <jug@sad.it>
15809 * sp_spell.C: removed double includes.
15811 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15813 Consistent use of Lsstream.h:
15814 * Lsstream.h: added using std::stringstream for consistencies sake.
15816 * buffer.C: removed using std::stringstream
15818 * lyxfont.C (stateText):
15819 * paragraph.C (asString):
15820 * text.C (selectNextWord, selectSelectedWord):
15821 * text2.C (setCounter):
15822 * vspace.C (asString, asLatexString):
15823 std::ostringstream -> ostringstream.
15825 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15827 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15828 * commandtags.h: add LFUN_HELP_ABOUTLYX
15829 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15831 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15833 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15835 * lyx_gui_misc.C: remove spellchecker
15836 * lyxfunc.C: showSpellchecker
15838 * sp_ispell.h: added
15839 * sp_pspell.h: added
15840 * sp_spell.C: added
15841 * sp_form.[Ch]: removed
15842 * spellchecker.[Ch]: removed
15844 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15846 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15848 (simpleTeXSpecialChars): Simply print the input character without
15849 any special translation if pass_thru is set.
15851 * layout.h: Added bool pass_thru to layout class for being able to
15852 implement pass through of a paragraph for Literate Programming.
15854 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15855 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15856 * layout.C (Read): add "passthru" to list of layout tags and add
15857 code to set the pass_thru boolean when it is read.
15859 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15861 * trans_decl.h: remove allowed from KmodInfo
15863 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15864 remove allowed code
15867 * paragraph_pimpl.C (erase): use boost::prior
15869 * Painter.C (text): use data() instead of c_str() when length is
15871 * WorkArea.C (putClipboard): ditto
15872 * font.h (width): ditto
15874 * BufferView2.C: use it-> instead of (*it). for iterators
15876 * paragraph_pimpl.C: ditto
15877 * paragraph.C: ditto
15878 * minibuffer.C: ditto
15879 * language.C: ditto
15881 * encoding.C: ditto
15882 * counters.C: ditto
15883 * converter.C: ditto
15885 * Variables.C: ditto
15886 * TextCache.C: ditto
15887 * MenuBackend.C: ditto
15888 * LyXAction.C: ditto
15890 * FloatList.C: ditto
15891 * DepTable.C: ditto
15892 * ColorHandler.C (LyXColorHandler): ditto
15894 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15896 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15898 * text2.C (openStuff): reintroduce this method (which had been
15899 nuked in NEW_INSETS frenzy).
15901 * lyxfunc.C (Dispatch): when an action has not been handled, use
15902 its name in the error message, not its number.
15904 * paragraph.C (inInset): change method name to begin with lowercase.
15907 * text2.C: updates because of this.
15909 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15911 * ToolbarDefaults.C (add): add spaces in error message
15913 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15915 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15916 (readLyXformat2): rename return_par to first_par, use lyxlex's
15917 pushToken and remove the manual push handling.
15918 (parseSingleLyXformat2Token): add another ert comp. variable:
15919 in_tabular, rename return_par to first_par. handle newlines better
15921 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15923 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15925 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15927 * text2.C (getParFromID): removed
15929 * buffer.C (getParFromID): new method moved form lyxtext.
15930 * BufferView2.C (insertErrors): adjust
15931 (setCursorFromRow): adjust
15932 * BufferView_pimpl.C (restorePosition): adjust
15933 * lyxfunc.C (Dispatch): adjust
15934 * undo_funcs.C (textUndo): adjust
15936 (textHandleUndo): adjust
15937 (textHandleUndo): adjust
15939 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15941 * buffer.C: up' the LYX_FORMAT
15943 * lyxfont.h: turn NO_LATEX on as default
15945 * buffer.C (insertErtContents): new methods of tex style compability.
15946 (parseSingleLyXformat2Token): use it several places.
15947 * tabular.C (OldFormatRead): and here
15949 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15951 * text2.C: remove some commented code.
15954 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15955 * trans.C: changes because of the above.
15957 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15959 * text2.C (setCounter): Fix counters bug with bibliography layout.
15961 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15963 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15964 own member functions
15965 (simpleTeXSpecialChars): ditto
15967 2001-07-06 Juergen Vigna <jug@sad.it>
15969 * a lot of files: changed the access to LyXText::status and the
15970 call of undo-functions.
15972 * undo.[Ch]: added a inset_id to the undo informations.
15974 * undo_funcs.[Ch]: added and moved here all undo functions.
15976 * lyxtext.h: give the status enum a weight, made status_ a private
15977 variable and made accessor functions for it, removed the whole bunch
15978 of undo-functions as they are now in their own file, make some
15979 functions publically available. Added function ownerParagraph with
15982 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15983 made InInset() a const function, added getParFromID() function.
15985 * buffer.[Ch]: added const version for inset_iterator functions,
15986 added getInsetFromID() function.
15988 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15989 changed undo functions for new version.
15991 2001-07-05 Juergen Vigna <jug@sad.it>
15993 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15994 unknow mechanism does not call the proper constructor but only this
15995 one also if I request the other!?
15997 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15999 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16001 * text2.C (LyXText): use initialization lists.
16003 * lyxtext.h (Selection): initialize set_ and mark_
16004 (init): remove method
16006 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16008 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16010 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16012 * screen.[Ch]: change method names to begin with lowercase
16014 * BufferView_pimpl.C (updateScrollbar): simplify further and
16015 hopefully make it a bit faster.
16017 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16019 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16020 calling directly xforms functions.
16022 * Painter.C (Painter):
16023 * lyx_cb.C (MenuWrite):
16024 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16027 * lyx_gui.C: remove bogus guiruntime extern declaration.
16029 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16031 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16033 (redoDrawingOfParagraph): ditto
16034 (redoParagraphs): ditto
16035 (cutSelection): don't create a object for CutAndPaste use the
16036 static method directly
16037 (pasteSelection): ditto
16039 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16042 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16044 * modifications to some other files because of this.
16046 * Makefile.am (lyx_SOURCES): add XFormsView
16048 * XFormsView.[Ch]: new files
16050 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16051 the main window. Move the gui dependent stuff to XFormsView
16053 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16055 * tabular.C (GetCellInset): update cur_cell also in the row/col
16056 version of this function.
16058 * lyxfunc.C: no need to include figure_form.h here.
16064 * lyxvc.C: no need to include forms.h here.
16066 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16068 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16070 * lyxfunc.C (Dispatch):
16072 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16073 constructor argument.
16075 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16077 * paragraph.C (Paragraph): dont't clear, and just set layout.
16078 (makeSameLayout): use params's copy contructor.
16080 * ParagraphParameters.[Ch] (makeSame): delete method
16082 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16084 * Variables.[Ch]: fix indentation, rename set to isSet
16086 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16088 * lyxfunc.C (Dispatch): fix typo
16090 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16092 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16095 * bufferlist.C: include assert.h for emergencyWrite().
16097 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16099 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16100 give up at last (bug #425202) !
16102 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16108 * spellchecker.C: strip spellchecker options and bring up
16109 preferences tab instead
16111 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16113 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16114 the istringstream constructor
16116 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16118 * paragraph.C (getLayout): fix return value
16120 * paragraph.h: do not declare getLayout as inline.
16122 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16124 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16126 * lyxcursor.h (operator<): new func
16127 (operator>): new func
16128 (operator>=): new func
16129 (operator<=): new func
16131 * text.C (changeCase): use selection.start and selection.end
16132 (changeRegionCase): require from to be <= to. Require par to be a
16135 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16137 2001-06-27 Juergen Vigna <jug@sad.it>
16139 * text.C (cursorLeftOneWord): changed to return the cursor and added
16140 overlay with BufferView * parameter which calls this one.
16142 (selectWord): use new getWord function.
16143 (changeCase): renamed from changeWordCase as and extended to work
16144 also on selections.
16146 * lyxtext.h: added enum word_location
16148 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16149 changeCase as this operates now also on selections.
16151 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16153 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16155 * many files: send debug output to Debug::INFO instead of
16158 * converter.C (View):
16160 (Move): send debug output to Debug::FILES instead of console.
16162 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16164 * lyxfunc.C (getStatus): use func_status
16166 * func_status.h: new header, describing the results of
16167 LyXFunc::getStatus;
16169 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16172 2001-06-25 The LyX Project <jug@sad.it>
16174 * buffer.C (sgmlOpenTag):
16176 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16178 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16180 * text2.C: remove some dead code
16182 * tabular.C (GetCellInset): store the last cell checked (gotten)
16184 * tabular.h: add the helper for the speedup
16186 * lyxtext.h: remove some dead code
16188 2001-06-26 The LyX Project <Asger>
16190 * paragraph.C: Change export to LaTeX of alignment to
16191 \begin{center} and family for better roundtrip work with reLyX.
16193 * Tune the math drawing a bit.
16195 2001-06-25 The LyX Project <Asger>
16197 * LColor.C (LColor): New color for math background. New color
16200 2001-06-25 The LyX Project <jug@sad.it>
16202 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16204 * lyxfunc.C (Open):
16205 * bufferlist.C (newFile): do not restrict to files ending with
16208 * BufferView_pimpl.C (MenuInsertLyXFile):
16210 2001-06-24 The LyX Project <jug@sad.it>
16212 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16215 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16217 * lyxtext.h: rename most methods to begin with a small char.
16218 Lots of changes because of this.
16220 * paragraph.C (Paragraph): do not call fitToSize
16221 (erase): call Pimpl::erase
16222 (insertChar): call Pimpl::insertChar
16223 (insertInset): call Pipl::insertInset
16224 (breakParagraph): do not call fitToSize
16225 (breakParagraphConservative): do not call fitToSize
16226 (fitToSize): remove method
16228 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16230 2001-06-24 The LyX Project <Asger>
16232 * Fix Qt compilation^2
16234 2001-06-24 The LyX Project <jug@sad.it>
16236 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16237 depthHook(getDepth()-1).
16240 * ParagraphParameters.h:
16241 * ParameterStruct.h: change type of depth to unsigned int ==
16242 depth_type. Many adaptations to other files before of that.
16244 2001-06-24 The LyX Project <Asger>
16246 * Fix Qt compilation.
16248 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16250 * paragraph.h: renamed several methods to begin with small letter.
16251 several changes to many parts of the code because of this.
16253 2001-06-23 The LyX Project <jug@sad.it>
16255 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16256 rewritten to discard all double spaces when KeepEmpty is off
16257 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16258 to only handle newlines but not fiddle with spaces and friends.
16260 * lyxfunc.C (MenuNew): when doing 'new from template', use
16261 template_path as default directory
16263 2001-06-23 The LyX Project <Asger>
16265 * Clean-up of header file includes all over
16266 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16268 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16270 * paragraph.h: renamed from lyxparagraph.h
16272 2001-06-23 Asger <lyx@violet.home.sad.it>
16274 * Buffer.h: Removed Buffer::resize
16275 * BufferList.h: Removed BufferList::resize
16276 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16277 the document lazily when we change the width, or the font settings.
16279 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16281 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16283 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16285 * buffer.h: remove out of date comment
16287 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16290 * screen.C: fix "theoretical" GC leak
16292 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16294 * LaTeX.C (scanAuxFile):
16295 (deplog): remove trailing \r when reading stream (useful under
16298 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16300 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16301 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16302 and BufferView::theLockingInset(Inset*), so should use them and not
16303 access bv_->text->the_locking_inset directly.
16305 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16307 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16310 * tex-defs.h: remove old unused file
16312 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16314 * BufferView_pimpl.C: fix typo, remove minibuffer message
16315 when buffer has loaded
16317 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16319 * lyxfunc.C (Dispatch): use stringstream
16320 (MenuNew): use stringstream
16321 (Open): use stringstream
16323 * importer.C (Import): use stringstream
16325 * bufferview_funcs.C (CurrentState): use stringstream
16327 * LaTeX.C (run): use stringstream
16329 * BufferView_pimpl.C (savePosition): use stringstream
16330 (restorePosition): use stringstream
16331 (MenuInsertLyXFile): use stringstream
16333 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16346 * vspace.C: removed // -*- C++ -*- as first line.
16349 * version.h: added // -*- C++ -*- as first line.
16351 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16353 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16355 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16358 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16360 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16363 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16365 * gettext.C: include LString.h even when --disable-nls is on.
16367 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16369 * converter.h (Get): changed argument type from int to
16370 FormatList::size_type to avoid unnecessary conversion.
16372 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16375 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16377 * gettext.h: include LString.h even when --disable-nls is on.
16379 2001-06-07 Juergen Vigna <jug@sad.it>
16381 * text.C (BreakAgain): subst spaces with tabs.
16383 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16384 (resizeInsetsLyXText): set force on resizeLyXText.
16386 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16388 * gettext.h (gettext_init):
16389 (locale_init): use a real definition instead of a macro
16391 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16393 * Bufferview_pimpl.C:
16395 * LColor.C: further lcolor tidies
16397 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16399 * BufferView_pimpl.C (updateScrollbar): simplify.
16401 * BufferView2.C: don't include insets/insetinfo.h, change
16402 prototype for insertInset and call the Pimpl version. let
16403 updateInset call Pimpl version.
16405 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16406 gotoInset to BufferView::Pimpl
16408 2001-06-01 Juergen Vigna <jug@sad.it>
16410 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16411 inside a LockingInset (is the update needed at all?).
16413 2001-05-31 Juergen Vigna <jug@sad.it>
16415 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16416 here not the old one otherwise how should we compare it afterwards
16419 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16424 * FontInfo.C: bring C functions into global namespace when
16427 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16429 * LString.h: make sure config.h has been loaded before LString.h.
16431 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16432 (one for each char read by EatLine!).
16434 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16437 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16439 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16440 to the same as the par we break from
16442 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16444 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16446 * MenuBackend.C (expand): also create menu entries for wide
16447 versions of the floats.
16449 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16451 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16453 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16454 frontends/Makefile.am
16460 * tabular.C (getTokenValue): add std::
16462 * tabular-old.C (getTokenValue): add std::
16463 (getTokenValue): ditto
16464 (getTokenValue): ditto
16466 * screen.C (ToggleSelection): adjust
16468 * lyxtext.h: put selection cursors inside a Selection struct.
16470 * lyxfunc.C (moveCursorUpdate): adjust
16472 * lyxfont.C (latexWriteStartChanges): add std::
16474 * lyxfind.C: adjust
16476 * font.h: delete with(char const *, LyXFont const &)
16478 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16480 * FontInfo.C (getFontname): add std::
16482 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16483 (workAreaButtonPress): adjust
16484 (tripleClick): adjust
16486 (moveCursorUpdate): adjust
16489 * BufferView2.C (gotoInset): adjust
16491 2001-05-30 Juergen Vigna <jug@sad.it>
16493 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16494 to check pspell I add this as default as I now have new pspell
16495 libraries and they seem to use this.
16497 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16499 * text2.C (CutSelection): make the cursor valid before the call to
16502 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16504 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16505 relied on 0 terminated strings and other horrors. Bug found due to
16506 the new assert in lyxstring!
16508 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16511 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16513 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16516 * lyxfunc.C (processKeySym): change method of getting to the
16519 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16520 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16521 * BufferView_pimpl.[Ch]: here as private methods.
16523 2001-05-28 Juergen Vigna <jug@sad.it>
16525 * text.C (SetHeightOfRow): added the update() call again as it is
16526 needed to initialize inset dimensions!
16528 2001-05-16 Juergen Vigna <jug@sad.it>
16530 * text2.C (SetCharFont): Add new function with BufferView * and
16531 bool toggleall parameters for setting insets internal fonts.
16532 (SetFont): Freeze the undo as we may change fonts in Insets and
16533 all this change should be inside only one Undo!
16535 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16536 setting font's in insets as for them we have the SetFont function!
16538 2001-05-15 Juergen Vigna <jug@sad.it>
16540 * text2.C (ClearSelection): to be sure we REALLY don't have any
16543 * tabular.C (TeXCellPreamble): fixed the left border problem for
16546 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16548 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16551 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16553 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16554 LFUN_BREAKPARAGRAPH.
16556 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16557 help test to "internal only", similar for LFUN_INSERT_URL
16559 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16560 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16561 auto_region_delete and deadkeys.
16563 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16566 * LColor.C: remove some dead entries, tidy a little
16568 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16570 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16572 (Dispatch): implement LFUN_ESCAPE
16574 * commandtags.h: add LFUN_ESCAPE
16576 * LyXAction.C (init): add entry for LFUN_ESCAPE
16578 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16579 Remove commented code.
16580 (insertNote): moved here
16581 (open_new_inset): moved here
16583 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16586 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16588 * kbmap.C (findbinding): clean it up and make it work correctly.
16590 * lyx_main.C (init): do not pass argc and argv as parameters
16592 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16594 * buffer.C: fix path for OS/2 & Win32
16598 * lyx_main.C: Added os:: class.
16600 * os2_defines.h: update
16602 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16604 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16605 better by trying again with reduced state.
16607 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16609 * lyxrc.C (read): print error about invalid key sequence only when
16610 debugging (because not all latinX keysyms are known to some X
16613 * kbsequence.C (getiso): add a few std:: qualifiers
16614 (getiso): comment out extra return statement.
16616 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16618 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16620 (Dispatch): enhance the accent inset a bit. (not perfect)
16622 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16624 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16626 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16628 * bufferlist.C (emergencyWrite): fix assert() call
16630 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16632 * text.C (InsertChar): Added trivial patch to only send the "you
16633 can not do multiple spaces this way" message once during a
16636 2001-05-08 Baruch Even <baruch@lyx.org>
16638 * Makefile.am: Changed order of libraries to get LyX to link properly
16639 with the gnome frontend.
16641 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16643 * LaTeXFeatures.h: add a std:: qualifier
16645 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16647 * paragraph.C (String): use stringstream
16649 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16651 * paragraph.C (writeFile): remove footflag arg
16653 * buffer.C (makeLaTeXFile): use stringstream
16654 (latexParagraphs): remove footnot gurba
16656 * LaTeXFeatures.C (getPackages): use stringstream
16657 (getMacros): likewise
16658 (getTClassPreamble): likewise
16659 (getFloatDefinitions): new method
16661 * paragraph.C (writeFile): reindent
16664 * WorkArea.h: revert the xpos + etc changes.
16666 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16668 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16670 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16671 (pasteSelection): likewise
16672 * text2.C (CreateUndo): likewise
16674 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16676 * minibuffer.C (peek_event): temporarily reduce the functionality
16677 of the minibuffer (to allow args on lfuns)
16679 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16680 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16682 * buffer.C (readInset): add compability reading of old float
16683 lists, add reading of new style float list.
16684 (readInset): avoid reevaluation of inscmd.getCmdName()
16685 (getLists): reindent
16687 * MenuBackend.C (MenuItem): implement parsing of
16688 md_floatlistinsert and md_floatinsert.
16689 (expand::LastFiles): move initalizaton of iterators out of loop,
16690 avoid reevaluation.
16691 (expand::Documents): introduce typdedef vector<string> Strings,
16693 (expand::ExportFormats): introduce typedef vector<Format const *>
16694 Formats, and use it.
16695 (expand): implement FloatListInsert and FloatInsert.
16697 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16698 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16699 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16701 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16703 (Dispatch::LFUN_FLOAT_LIST): implement
16705 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16707 * LaTeX.C (run): Fix problem with --export code.
16709 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16711 * BufferView.[Ch] (workarea): removed.
16712 (getClipboard) new method; wrapper for workarea()->getClipboard()
16714 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16717 * WorkArea.h (width, height, xpos, ypos): These methods all
16718 returned the dimensions of the work_area sub-area of WorkArea,
16719 resulting in a position error if the WorkArea were resized. Now
16720 return the dimensions of the entire WorkArea.
16722 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16724 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16726 * LaTeX.C (deplog): correct the syntax of regex reg1
16728 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16730 * undo.C: remove !NEW_INSETS cruft
16732 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16734 * text2.C: remove !NEW_INSETS cruft
16736 * text.C: remove !NEW_INSETS cruft
16738 * tabular.C: remove !NEW_INSETS cruft
16740 * spellchecker.C: remove !NEW_INSETS cruft
16742 * lyxtext.h: remove !NEW_INSETS cruft
16744 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16746 * lyxfunc.C: remove !NEW_INSETS cruft
16748 * lyxfind.C: remove !NEW_INSETS cruft
16750 * lyx_cb.C: remove !NEW_INSETS cruft
16752 * figureForm.C: remove !NEW_INSETS cruft
16754 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16756 * buffer.[Ch]: remove !NEW_INSETS cruft
16758 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16760 * CutAndPaste.C: remove !NEW_INSETS cruft
16762 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16764 * BufferView2.C: remove !NEW_INSETS cruft
16766 * BufferView.h: remove !NEW_INSETS cruft
16768 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16770 * Lsstream.h: include LString.h before the sstream headers to
16771 fix problem with gcc 2.95.3 and lyxstring
16773 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16775 * lyx_main.C: add using directives when needed for C functions
16776 declared in std:: namespace.
16778 2001-04-27 Juergen Vigna <jug@sad.it>
16780 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16781 (SetHeightOfRow): comment out the update call should not be needed!
16783 2001-04-13 Juergen Vigna <jug@sad.it>
16785 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16786 (LyXTabular): tried to minimize operator= operations (and realized
16787 hopfully Lars wish).
16789 2001-04-27 Juergen Vigna <jug@sad.it>
16791 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16793 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16795 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16797 * buffer.C (readInset): hack to make listof algorithm work
16799 * BufferView_pimpl.C: hack to make listof algorithm work
16801 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16803 * LyXAction.C: removed all !NEW_INSETS cruft
16804 (init): moved lfun_item in method
16806 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16808 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16810 * BufferView2.C (theLockingInset): white space.
16812 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16814 * minibuffer.C: include <iostream>
16816 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16818 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16820 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16822 * text.[Ch] (TransposeChars): new method
16824 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16826 * call message directly through LyXView instead of through LyXFunc
16827 * BufferView2.C: adjust
16828 * BufferView_pimpl.C: adjust
16829 * FontLoader.C: adjust
16831 * bufferview_funcs.C: adjust
16832 * converter.C: adjust
16833 * figureForm.C: adjust
16834 * importer.C: adjust
16836 * lyx_gui_misc.C: adjust
16837 * lyxfunc.C: adjust
16840 + more files in subdirs
16842 * lyxparagraph.h (size): move up int file
16845 * adjust all uses of Assert to lyx::Assert.
16847 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16848 lyxfunctional in namespace lyx
16849 * layout.C (hasLayout): ditto
16852 (delete_layout): ditto
16853 (NumberOfClass): ditto
16854 * converter.C (GetFormat): ditto
16859 * bufferlist.C (getFileNames): ditto
16860 (emergencyWriteAll): ditto
16863 * MenuBackend.C (hasSubmenu): ditto
16866 * BufferView_pimpl.C (getInsetByCode): ditto
16868 2001-04-18 Juergen Vigna <jug@sad.it>
16870 * vspace.C (asLatexString): fixed the 100% problem.
16872 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16874 * lyxfunc.C (Dispatch):
16876 * minibuffer.h: add a few std:: qualifiers
16878 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16880 * minibuffer.[Ch]: reimplement so that commands is initiated and
16881 run from lyxfunc, simplified som handling, and made the completion
16882 and history code for complete. wip.
16884 * lyxfunc.C (processKeySym): call message
16885 (miniDispatch): new temporary method
16886 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16887 (LFUN_MESSAGE): implement
16888 (LFUN_MESSAGE_PUSH): implement
16889 (LFUN_MESSAGE_POP): implement
16890 (initMiniBuffer): the initial/defualt minibuffer message.
16892 * lyxfont.[Ch]: inline some more getters
16894 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16896 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16898 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16899 (AutoSave): use LFUN_MESSAGE
16900 (Reconfigure): ditto
16902 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16904 * figureForm.C: use LFUN_MESSAGE
16906 * converter.C (runLaTeX): use LFUN_MESSAGE
16908 * bufferview_funcs.C: use LFUN_MESSAGE
16910 (changeDepth): ditto
16912 * bufferparams.h: use boost::
16914 * bufferlist.h: inherit privately from noncopyable
16916 * bufferlist.C (loadLyXFile): remove some commented code.
16918 * buffer.C (runChktex): use LFUN_MESSAGE
16920 * ShareContainer.h: inherit privately from noncopyable
16922 * ParagraphParameters.[hC] (depth): inline it.
16924 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16926 (message): new method
16927 (messagePush): ditto
16928 (messagePop): ditto
16929 (show): init minibuffer
16930 (showState): direct call
16932 * LaTeX.[Ch]: inherit privately from noncopyable
16933 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16934 instead of WriteStatus.
16936 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16938 * BufferView_pimpl.C (buffer): don't init minibuffer
16939 (workAreaButtonPress): use LFUN_MESSAGE
16940 (workAreaButtonRelease): ditto
16941 (savePosition): ditto
16942 (restorePosition): ditto
16943 (MenuInsertLyXFile): ditto
16944 (workAreaExpose): don't init minibuffer
16945 (update): remove commented code, simplify
16947 * BufferView2.C (openStuff): use LFUN_MESSAGE
16948 (toggleFloat): ditto
16951 (copyEnvironment): ditto
16952 (pasteEnvironment): ditto
16957 (updateInset): remove some commented code
16959 * lastfiles.h: inherit privately from noncopyable
16962 * lyx_main.h: ditto
16964 * lyxlex_pimpl.h: ditto
16966 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16967 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16968 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16970 * LyXAction.h: inherit privately from noncopyable, add methods
16971 func_begin, func_end, returning iterators to the func map.
16973 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16974 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16975 (func_begin): new method
16976 (func_end): new method
16978 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16980 (copySelection): ditto
16981 (pasteSelection): ditto
16983 * BufferView.C: whitespace change
16984 * BufferView.h: inherit privately from noncopyable
16986 2001-04-16 Allan Rae <rae@lyx.org>
16988 * tabular-old.C (l_getline):
16989 * spellchecker.C (sc_check_word):
16990 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16991 an unrecognised preprocessor directive. So ensure they're wrapped.
16993 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16995 * src/exporter.C (Export): Give an error message when path to file
16998 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17000 * LaTeX.C (deplog): Always check that foundfile exists.
17002 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17005 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17007 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17009 * tabular.[Ch] (getLabelList): implement new method
17011 * minibuffer.h: comment ouf setTiimer
17013 * minibuffer.C (ExecutingCB): constify res
17014 (peek_event): constify s
17015 (Set): constify ntext
17016 (Init): constify nicename
17018 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17020 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17021 (savePosition): use two params to Minibuffer::Set
17022 (restorePosition): ditto
17024 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17026 * lyx_main.C: include language.h
17028 * Makefile.am (lyx_main.o): add language.h
17030 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17036 * CutAndPaste.C: include gettext.h
17038 * lyxfont.h: remove old hack with ON and OFF.
17041 * lyxfont.h: do not include language.h...
17046 * bufferview_funcs.C:
17052 * paragraph.C: ... but do it here instead
17054 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17056 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17058 * tabular.C: small reformat
17060 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17063 (BreakParagraph): ditto
17064 (SetOnlyLayout): ditto
17067 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17070 * lastfiles.C: removed most using decl, add std:: where needed
17072 * buffer.C: ws changes
17074 * MenuBackend.C (class compare_format): put into anon namespace
17075 (expand): constify label, names, action, action2
17078 * text.C (SingleWidth): constify font
17079 (IsBoundary): constify rtl2
17080 (GetVisibleRow): constify ww
17082 * LaTeX.C (deplog): constify logfile
17084 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17086 (workAreaExpose): constify widthChange, heightChange
17088 * lyxrow.C (par): moved
17091 * lyxrow.h: as inlines here
17093 * lyxfont.h (shape): moved from lyxfont.C
17094 (emph): moved from lyxfont.C
17096 * lyxfont.C (LyXFont): use initialization list for all
17098 (shape): move to lyxfont.h as inline
17099 (emph): move to lyxfont.h as inline
17102 2001-04-04 Juergen Vigna <jug@sad.it>
17104 * vspace.C: had to include stdio.h for use of sscanf
17106 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17109 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17110 independent of xforms.
17112 2001-04-02 Juergen Vigna <jug@sad.it>
17114 * spellchecker.C: fixed namespace placing!
17116 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17118 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17119 the LyXParagraph * is 0.
17121 2001-03-29 Juergen Vigna <jug@sad.it>
17123 * vspace.C: added support for %, c%, p%, l%.
17124 (stringFromUnit): added helper function.
17125 (asLatexString): changed to give right results for the %-values.
17127 * buffer.C: convert the widthp in a width%.
17129 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17131 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17134 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17135 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17137 * lyx_cb.[Ch]: see above.
17139 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17143 * lyx.[Ch]: replaced by figure_form.[Ch].
17147 * lyxfunc.C: changed headers associated with above changes.
17149 2001-03-27 Juergen Vigna <jug@sad.it>
17151 * BufferView_pimpl.C: set the temporary cursor right!
17153 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17155 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17157 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17159 * LString.h: removed "using std::getline"!
17161 * BufferView_pimpl.C (Dispatch): changes due to changes in
17162 InsetInclude::Params.
17164 * buffer.C (tag_name): removed redundant break statements as they were
17165 producing lots of warnings with my compiler.
17167 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17169 * LString.h: add "using std::getline" when using the real <string>.
17171 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
17173 * buffer.C: removed bitset usage.
17174 PAR_TAG moved to an anonymous name space.
17175 (tag_name): new funtion, also in the anonymous namespace.
17176 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17177 (makeDocBookFile): clean code. Completed transition from string arrays
17179 (SimpleDocBookOnePar): code clean.
17181 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17183 * tabular.C: add some comments.
17185 2001-03-22 Juergen Vigna <jug@sad.it>
17187 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17188 compatibility read a bit and fixed bug with minipage in different
17191 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
17193 * buffer.C (pop_tag): removed.
17194 (push_tag): removed.
17195 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17196 array replaced with vector. Added support for CDATA sections.
17197 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17199 (makeDocBookFile): XML conformant declaration of CDATA section,
17200 fixed bug related to <emphasis> in the first paragraph char.
17201 (sgmlOpenTag): exclude empty tags.
17202 (sgmlCloseTag): ditto.
17204 * buffer.h (pop_tag): removed.
17205 (push_tag): removed.
17207 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17209 * language.h (Languages): added size_type and size().
17211 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17213 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17214 response on compability reading of minipages. One probliem is that
17215 the old usage of minipages was «flertydig»
17217 * several files here and in subdirs: don't use static at file
17218 scope use anon namespaces instead.
17220 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17222 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17223 LaTeX output. This is necessary for Literate document
17226 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17228 * buffer.C: insert hfill when needed.
17230 * tabular.C (l_getline): use string::erase, small whitespace change.
17232 * BufferView_pimpl.C: try the anon namespace.
17233 * WorkArea.C: ditto
17235 2001-03-16 Juergen Vigna <jug@sad.it>
17237 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17238 otherwise it won't open options-dialogs.
17240 * buffer.C: honor pextraWidth(p) on converting minipages.
17242 * tabular.C (l_getline): changed the functions to strip trailing \r.
17244 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17246 * BufferView_pimpl.C:
17247 * minibuffer..C: added "using SigC::slot" declaration.
17249 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17251 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17257 * paragraph.C: ditto
17259 * lyxtext.h: NO_PEXTRA
17261 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17263 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17264 * ParameterStruct.h: ditto
17265 * ParagraphParameters.h: ditto
17266 * lyxparagraph.h: ditto
17268 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17270 * buffer.C: add compability for minipage alignment.
17271 (latexParagraphs): remove unwanted pextra check.
17273 * several files: remove CXX_WORKING_NAMESPACES
17275 * buffer.C (pop_tag): tie is in namespace boost
17277 * BufferView.h: noncopyable is in namespace boost
17279 * lyx_main.h: ditto
17282 * lastfiles.h: ditto
17283 * bufferlist.h: ditto
17284 * ShareContainer.h: ditto
17286 * LyXAction.h: ditto
17289 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17291 * Merging changes from BRANCH_MVC back into HEAD.
17293 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17295 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17297 * BufferView_pimpl.C: change from intl.C
17301 * Makefile.am: move combox.*
17307 * intl.C: remove dialog (covered by prefs)
17309 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17311 * lyxfunc.C (Dispatch): removed redundant break statement.
17313 2001-03-14 Juergen Vigna <jug@sad.it>
17315 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17317 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17319 * buffer.C: add hack to fix compability reading of minipages.
17321 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17323 * buffer.C (getLists): Cleanup.
17325 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17327 * lyxfont.C (update): don't honor toggleall on font size.
17329 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17333 * Makefile.am: moved to frontends/xforms/
17337 * BufferView_pimpl.C: changes for moved mathpanel
17339 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17341 * gettext.h: fix gettext_init() in --disable-nls
17343 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17345 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17347 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17350 * lyx.h: strip external form
17352 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17354 * BufferView_pimpl.C: add comment, destroySplash()
17356 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17358 * BufferView_pimpl.C:
17362 * lyxfunc.C: use re-worked insetinclude
17364 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17366 * buffer.C: add using std::stringstream.
17368 * lyx_cb.C: readd using std::ios.
17370 * buffer.C: add using std::map.
17372 * BufferView_pimpl.C: add using std::vector.
17374 * ShareContainer.h: add std:: to swap.
17376 * buffer.h: add some typedefs
17377 * buffer.C (getLists): use them
17378 (getLists): renamed from getTocList.
17379 add a counter for the different float types and use it in the
17381 (getLists): use the same counter for the NEW_INSETS and the "non"
17384 * lyx_cb.h: remove unused items, includes, using etc.
17386 * ShareContainer.h: remove some commented code, add more comments
17387 and "documentation".
17389 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17391 * buffer.C (getTocList): make the list also when NEW_INSETS is
17394 * buffer.h: remove TocType
17396 * buffer.C (getTocList): change to return a map<string,
17397 vector<TocItem> >, implement for dynamic number of list.
17399 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17400 * text2.C (PasteSelection): adjust
17401 * CutAndPaste.C (pasteSelection): adjust
17403 * FloatList.C (FloatList): update from the new_insets branch.
17404 * Floating.[Ch]: ditto
17405 * LaTeXFeatures.C: ditto
17407 * lyxlex_pimpl.C: ditto
17409 * paragraph.C (Last): remove when NEW_INSETS is defined.
17411 * other file: changes because of the above.
17413 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17415 * lyxparagraph.h: rename next to next_, previous to previous_,
17416 make them private for NEW_INSETS. Rename Next() to next(),
17417 Previous() to previous().
17419 * other files: changes because of the above.
17421 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17424 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17427 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17429 * main.C (main): pass lyx_localedir to gettext_init().
17431 * gettext.h: remove locale_init and gettext_init macros
17433 * gettext.C (locale_init): new function
17434 (gettext_init): new function
17436 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17439 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17441 * Moved credits to frontends:
17442 * credits.[Ch]: removed
17443 * credits_form.[Ch]: removed
17444 * lyx_gui_misc.C: remove credits stuff
17447 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17449 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17451 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17452 unneeded destructor.
17454 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17455 a standalone pointer again.
17457 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17459 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17465 * ToolbarDefaults.C:
17474 * BufferView_pimpl.C: use new file dialog in GUII
17477 * lyx_cb.C: remove LayoutsCB to Toolbar
17479 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17481 * ShareContainer.h (get): add std:: qualifier
17483 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17485 * ShareContainer.h: define a proper ShareContainer::value_type
17486 type (and use typename to please compaq cxx)
17488 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17490 * lyxparagraph.h: move serveral local vars to
17491 ParameterStruct/ParagraphParameters., use ShareContainer in
17492 FontTable., make vars in FontTable private and add getter and
17495 * paragraph.C: changes because of the above.
17497 * lyxfont.h: remove copy constructor and copy assignment. (the
17498 default ones is ok), move number inside FontBits. move inlines to
17501 * lyxfont.C: add number to initializaton of statics, move several
17502 inlines here. constify several local vars. some whitespace
17503 cleanup. Dont hide outerscope variables.
17505 * Spacing.h: add two new constructors to match the set methods.
17507 * ShareContainer.h: new file, will perhaps be moved to support
17509 * ParameterStruct.h: new file
17511 * ParagraphParameters.h: new file
17513 * ParagraphParameters.C: new file
17515 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17516 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17518 * BufferView_pimpl.C: ParagraphParameter changes.
17519 * buffer.C: Likewise.
17520 * bufferview_funcs.C: Likewise.
17521 * text.C: Likewise.
17522 * text2.C: Likewise.
17524 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17526 * lyxfind.C (LyXReplace): do not redefine default argument in
17528 (IsStringInText): ditto
17529 (SearchForward): ditto
17530 (SearchBackward): ditto
17532 2001-03-06 Juergen Vigna <jug@sad.it>
17534 * lyxfind.C (IsStringInText): put parentes around expressions.
17536 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17538 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17540 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17542 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17544 * stl_string_fwd.h: add comment
17546 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17549 * tabular.C: remove unused DocBook methods
17555 killed DO_USE_DEFAULT_LANGUAGE
17557 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17559 * lyx_gui.C: do not include language.h.
17561 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17562 arguments in function implementation.
17564 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17566 * BufferView_pimpl.C: add <ctime>
17568 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17570 * BufferView_pimpl.C: add using std::find_if
17572 2001-02-27 José Matos <jamatos@fep.up.pt>
17574 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17577 2001-02-11 José Matos <jamatos@fep.up.pt>
17579 * buffer.C (makeDocBookFile): command styles now have a parameter as
17580 "title" by default.
17582 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17584 * layout_forms.[Ch]: removed
17585 * lyx_cb.[Ch]: out character
17586 * lyx_gui.C: out character
17587 * lyx_gui_misc.C: out character
17588 * bufferview_funcs.C: : out character,
17589 added toggleall as parameter in ToggleAndShow
17591 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17593 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17595 * text2.C (SetCurrentFont): Disable number property at boundary.
17597 2001-02-26 Juergen Vigna <jug@sad.it>
17599 * lyxfunc.C (getStatus): added a string argument override function so
17600 that this is correctly called from LyXFunc::Dispatch if it contains a
17601 do_not_use_argument which is used!
17602 (Dispatch): added check for "custom" export and call appropriate func.
17604 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17606 * lyxrc.C: Add language_command_local, language_use_babel and
17607 language_global_options.
17609 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17611 * buffer.C (makeLaTeXFile): Use language_use_babel and
17612 language_global_options.
17614 2001-02-23 Juergen Vigna <jug@sad.it>
17616 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17617 which works with LyXText and putted it inside BufferView. Here now we
17618 only call for that part the BufferView::Dispatch() function.
17620 * BufferView.C (Dispatch): added.
17622 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17623 functions which needs to use a LyXText over from LyXFunc.
17624 (MenuInsertLyXFile): added
17625 (getInsetByCode): added
17626 (moveCursorUpdate): added
17627 (static TEXT): added
17629 2001-02-22 Juergen Vigna <jug@sad.it>
17631 * BufferView_pimpl.C (update): call a status update to see if LyXText
17634 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17636 * vc-backend.C (revert): implement for CVS
17637 (getLog): implement for CVS
17639 2001-02-20 Juergen Vigna <jug@sad.it>
17641 * text2.C (ClearSelection): added BufferView param for inset_owner call
17643 * lyxfunc.C (TEXT): added this function and use it instead of
17644 directly owner->view()-text of getLyXText().
17646 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17648 * src/layout_forms.C: out preamble
17649 * src/layout_forms.h: out preamble
17650 * src/lyx_cb.C: out preamble
17651 * src/lyx_cb.h: out preamble
17652 * src/lyx_gui.C: out preamble
17653 * src/lyx_gui_misc.C: out preamble
17654 * src/lyxfunc.C: connect with guii preamble
17656 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17658 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17660 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17662 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17663 whether to run bibtex.
17665 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17667 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17669 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17671 * Makefile.am (lyx_SOURCES): removed bibforms.h
17673 * vspace.h: doxygen
17675 * text.C (GetVisibleRow): make several local vars const
17677 * tabular.C: small cleanup.
17679 * lyxserver.C (callback): use compare instead of strncmp
17681 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17682 inlines to after class or to paragraph.C
17684 * lyxfont.h: remove friend operator!=
17686 * converter.h: move friend bool operator< to non friend and after
17689 * combox.h: small cleanup
17691 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17692 to inlines after class def.
17694 * buffer.C (pop_tag): use string operations instead of strcmp
17696 * bmtable.c: doxygen, small cleanup
17698 * LaTeX.h: remove friend operator==
17700 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17712 * BufferView_pimpl.C:
17713 * BufferView.[Ch]: remove cruft
17715 2001-02-14 Juergen Vigna <jug@sad.it>
17717 * lyxfunc.C: removed #if 0 unused code
17719 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17721 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17723 * text2.C (SetSelection): added a BufferView * parameter
17725 2001-02-13 Juergen Vigna <jug@sad.it>
17727 * lyxfunc.C (Dispatch): fixed protected blank problem.
17728 * BufferView2.C (protectedBlank): added LyxText * parameter.
17730 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17731 (AppendColumn): same as above for column_info.
17733 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17734 (moveCursorUpdate): use a LyXText param for support of InsetText.
17736 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17737 (tripleClick): ditto
17739 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17741 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17743 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17745 * text2.C (SetSelection): set correct update status if inset_owner
17746 (ToggleFree): ditto
17748 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17750 * tabular.C: remove some commented code.
17752 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17754 * BufferView_pimpl.C: call hideSplash()
17756 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17759 * bibforms.h: remove
17762 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17763 add LFUN_CHILD_CREATE
17765 * counters.h: fix tiny typo
17770 * lyx.C: move splash to frontends/xforms/
17772 * lyx_gui_misc.C: move Include and Bibform to frontends
17774 * lyxvc.h: clarify comment
17776 * vspace.C: tiny housekeeping
17778 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17780 * text.C (PrepareToPrint): RTL Fix.
17782 * paragraph.C (GetUChar): New method.
17783 (String): Use GetUChar.
17785 * buffer.C (asciiParagraph): Use GetUChar.
17787 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17789 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17791 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17794 * buffer.C: rename to getLogName(), handle
17795 build log / latex log nicely
17797 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17800 * MenuBackend.h: remove support for reference menuitem type.
17802 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17804 * BufferView_pimpl.C: housekeeping
17805 * BufferView_pimpl.h:
17810 * minibuffer.h: move Timeout GUI-I
17812 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17814 * lyxrc.C (read): Update converters data-structures.
17816 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17818 * LaTeX.h (operator!=): add operator != for Aux_Info
17820 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17822 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17824 * LaTeXLog.C: deleted, useful code moved to Buffer
17827 * buffer.C: new function getLatexLogName()
17833 * lyxfunc.C: use frontends for LaTeX and VC logs
17835 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17837 * LaTeX.h: yet another std:: that Allan forgot.
17839 * Variables.C (set): renamed from isset(), because this clashes
17840 with some HP-UX macros (grr).
17842 2001-02-06 Allan Rae <rae@lyx.org>
17844 * LaTeX.h: Another bug fix. Missing std:: this time.
17846 2001-02-04 Allan Rae <rae@lyx.org>
17848 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17849 floats problem. I've left it commented out because it's not quite
17850 correct. It should also test that the current object is a table or
17851 figure inset. But I haven't gotten around to figuring out how to do
17852 that. I *think* it'll be something like: "table" == inset.type()
17854 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17857 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17859 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17860 all the citation/databases/styles in the auxilary file.
17861 (run): Rerun latex if there was a babel language error.
17863 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17865 * text.C (Backspace): Preserve the font when changing newline char
17867 (BreakParagraph): If the cursor is before a space, delete the space.
17869 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17871 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17873 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17874 new argument (code).
17875 (ChangeCitationsIfUnique): New method.
17877 * paragraph.C (GetPositionOfInset): Handle bibkey.
17879 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17881 * BufferView_pimpl.h: change type of Position::par_pos to
17882 LyXParagraph::size_type.
17884 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17886 * BufferView_pimpl.C (savePosition, restorePosition): Write
17887 messages to minibuffer.
17889 2001-01-28 José Matos <jamatos@fep.up.pt>
17891 * buffer.C (makeDocBookFile): adds support for document language.
17892 A silly restriction on the name of LatexCommand types where removed.
17893 Added support for CDATA sections, allows to chars unescaped, used
17894 among others in code, to avoid escape < and >.
17896 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17898 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17899 saved positions instrad of a stack. Furthermore, a position is
17900 stored using paragraph id/paragraph position.
17902 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17903 Remove LFUN_REF_BACK.
17905 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17907 * converter.C (dvipdfm_options): New method.
17909 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17911 * vspace.C (isValidLength): Fix for empty input string.
17913 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17915 * LyXAction.C (init): change description of LFUN_FIGURE to
17918 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17920 * LaTeX.C: add using directive
17922 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17924 * MenuBackend.C (expand): Fix the sorting of the formats.
17926 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17928 * lyx_main.C: tiny error message fix
17930 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17932 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17933 calling fl_initialize(). This fixes the problem with ',' as
17934 decimal separator in text files.
17936 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17938 * trans.C (process): Fix the keymap bug.
17940 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17942 * LaTeX.C (scanAuxFiles): New method. Provides support for
17943 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17944 (scanLogFile) Scan for "run BibTeX" messages.
17946 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17947 OT1 font encoding. Also, load the aecompl package if the ae
17950 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17952 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17954 * texrow.C (increasePos): turn two error messages into debug
17957 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17959 * LaTeX.C (scanAux): Handle the \@input macro.
17960 (runBibTeX): Use scanAux().
17962 * language.C (latex_options_): New field.
17964 * LaTeXFeatures.C (getMacros): Add language macros.
17966 * buffer.C (makeLaTeXFile): Small fix.
17968 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17970 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17972 * text2.C: add a using directive.
17974 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17979 * lyxfunc.C: kill LyXBell.
17981 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17983 * text.C (IsBoundary): Remove the error message
17985 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17987 * lyxrc.C (setDefaults): Correct initialization value for
17990 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17992 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17995 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17996 and GotoNextNote().
17998 * src/LyXAction.C: Added reference-next.
18000 * text.C (InsertChar): Use contains instead of strchr.
18002 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18004 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18006 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18007 alignment commands (when needed).
18009 * text.C (InsertChar): Add ':' to number separator chars.