1 2005-07-16 Juergen Vigna <jug@lyx.org>
3 * text.C (singleWidth): Just remove bogus check
5 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
7 * funcrequest.C (split): avoid reading uninitialized char c
9 2005-07-16 José Matos <jamatos@fc.up.pt>
15 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
16 single papersize variable.
18 2005-07-16 Juergen Vigna <jug@lyx.org>
20 * text3.C (dispatch): honor boundary when checking if a cursor
21 movement has been done
23 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
24 (setCursor, setCursorIntern): fix cursor movement with boundary
26 2005-07-16 Juergen Vigna <jug@lyx.org>
28 * text.C (currentState): output the actual Boundary
30 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
32 * factory.C (createInset): fix bad logic for tabular creation
34 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
36 * lyx_main.C (init): change some reLyX reference to tex2lyx
38 2005-07-16 Juergen Vigna <jug@lyx.org>
40 * dociterator.C (DocIterator): initialize boundary
42 2005-07-16 Juergen Vigna <jug@lyx.org>
44 * text2.C (getColumnNearX): Consider rows without trailing blank.
46 2005-07-16 André Pönitz <poenitz@gmx.net>
48 * lyxfont.h: Change order of declarations to give the compiler
49 a better chance to inline things
51 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
52 questions on unsaved docs for better scritability
54 2005-07-16 André Pönitz <poenitz@gmx.net>
56 * paragraph.h (getChar): remove asserts as the same kind of security
57 can be achieved by using a suitable standard library implementation
58 and the function was in the critical path (25.9% in profiler)
60 2005-07-16 Juergen Vigna <jug@lyx.org>
62 * cursor.C (bruteFind2):
63 * bufferview_funcs.C (coordOffset):
64 * text.C (cursorX,cursorY): Handle cursor position after last char
65 in row before a inset which uses a whole row.
67 2005-07-15 José Matos <jamatos@lyx.org>
69 * output_plaintext.[Ch] (writeFileAscii): control reference title
71 (asciiParagraph): noparbreak was already deal and was incorrectly
74 2005-07-15 Juergen Vigna <jug@lyx.org>
76 * lyxfunc.C (dispatch): save and restore the cursor after a
79 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
81 * text.C (backspace): bug 806 for empty keepempty paragraphs we
82 change the layout to default before letting DEPM do its thing.
84 * paragraph_funcs.C (breakParagraph): dont reset the layout on
87 * text.C (setCursorFromCoordinates): add a debug statement
89 * text2.C (getColumnNearX): bug 1825 make sure that we don't
90 return a pos that is not on the row
92 * output_latex.C (TeXDeeper): get rid of potential dereferencing
93 of past the end iterator
95 2005-07-14 André Pönitz <poenitz@gmx.net>
97 * undo.C (recordUndoFullBuffer): implement undo for
100 2005-07-14 André Pönitz <poenitz@gmx.net>
102 * cursor.C (setSelection): open insets when selection is set there
103 to avoid crashs with cold coord cache
105 2005-07-14 André Pönitz <poenitz@gmx.net>
107 * trans_mgr.C (insert): move cursor to the right after inserting
110 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
112 * BufferView_pimpl.C (update): dampen some of the debug blabbering
113 * factory.C (readInset): ditto
114 * text.C, text2.C: ditto
116 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
118 * buffer.C: format incremented to 242. There is no file format per
119 se, but the "frenchb" language has been removed from lib/language
120 and has to be translated to "french" by lyx2lyx.
122 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
124 * cursor_slice.h, dociterator.h: add some documentation
125 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
127 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
129 * text.C (leftMargin): do not add identation to display() style
130 insets, because they are always centered (bug 1293).
132 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
134 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
135 formatted_time methods in support/lyxtime.
137 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
139 * toc.[Ch]: new method getGuiName, which is used by the frontends
140 to set the toc combo (fixes bug 1870). Make TOC string translatable.
142 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
144 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
145 StableDocIterator const &)
146 * undo.C (recordUndo): use the above instead of cell.size() comparison
147 (fixes bug 1808; instructed by André).
149 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
152 * dociterator.h: Fix the assert when copying rows/cols in math
154 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
156 * BufferView_pimpl.C:
158 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
160 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
161 (findInset): new functions, refactored from goto Inset that return
162 the position of a certain inset without setting the buffer's cursor
164 (gotoInset): rewrite to call findInset and then set the cursor
167 2005-06-16 Angus Leeming <leeming@lyx.org>
169 * lyxrc.C (output, read): wrap all input and output of paths with
170 calls to os::internal_path and os::external_path, respectively.
171 (output): wrap bind_file inside quotes.
173 * format.C (view): enable the viewer to use the '$$s' placeholder.
175 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
177 * LColor.[Ch] (getFromLaTeXName): new
179 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
181 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
183 2005-06-14 Angus Leeming <leeming@lyx.org>
185 * lyx_main.C (init): ensure that the LyX binary dir is the first
186 element in the PATH on non-POSIX builds.
188 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
190 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
192 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
194 * rowpainter.C (paintInset, paintHebrewComposeChar)
195 (paintArabicComposeChar, paintChars): add a LyXFont argument.
196 (paintChars): use getFontSpan to reduce calls to getFont to a
197 minimum; use Paragraph::lookupChange instead of isXXXText.
198 (paintForeignMark): rename LyXFont argument.
199 (paintFromPos): pass a LyXFont object to the various paintXXX
202 * FontIterator.C (FontIterator, operator++): use
203 Paragraph::getFontSpan
205 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
206 version that returns the font span as a pair.
208 2005-06-09 Angus Leeming <leeming@lyx.org>
210 * converter.C (convert): Don't forget "outfile = real_outfile" as
211 the final step in a conversion where the input and output file names
212 are the same. Otherwise, future conversion steps won't work...
214 2005-06-09 Angus Leeming <leeming@lyx.org>
216 * lyxsocket.C: remove stub code as it isn't needed by
217 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
219 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
221 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
222 effectively disabled -x
224 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
226 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
227 when it actually makes sense.
229 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
231 * BufferView_pimpl.C: revert to showCursor in connection with
232 Lars's front-end stack
234 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
236 * text.C (redoParagraph): move cursor right after a bibitem
239 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
241 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
243 * buffer_funcs.C (bufferErrors): fix computation of the end of an
246 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
248 * BufferView.[Ch] (update):
249 * BufferView_pimpl.[Ch] (update, metrics):
250 * dimension.h (operator==):
251 * lyxfunc.C (dispatch):
252 * metricsinfo.h (ViewMetricsInfo):
253 * rowpainter.C (paintText):
255 * text.C (redoParagraph):
256 * text3.C (dispatch): Make LyX only repaint current paragraph in
257 case of character insert --> speedup. Also fix cursor draw
260 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
262 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
263 avoid a crash (bug 1891)
265 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
269 * text2.C (getStringToIndex): constify cur argument.
271 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
272 argument has been given
273 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
274 try to invoke LFUN_INSET_APPLY).
276 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
277 if no inset was created by doInsertInset
278 (doInsertInset): return true if an inset has been inserted.
280 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
282 * vspace.C (asGUIName): new method. A version of the space
283 suitable for showing on screen.
285 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
288 * lyxrc.C: rename "ASCII" to "Plain Text"
290 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
292 * buffer_funcs.C (expandLabel): take a Buffer as argument;
293 translate the labelstring.
294 (setCounter): translate labelstring as needed.
296 * output_docbook.C (makeCommand): fix expandLabel invokation
298 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
300 * BufferView.C: fix dialog title
302 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
304 * lyx_main.C (priv_exec): fix logic error with help from Angus
305 * lyx_main.C (parse_execute): set is_gui = false and remove now
306 obsolete comment about a segfault
308 2005-05-18 Angus Leeming <leeming@lyx.org>
310 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
312 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
314 * tabular.[hC]: added setCellInset to fix tabular paste.
316 2005-05-11 Lars Gullik Bjonnes <larsbj@gullik.net>
318 * buffer.C (save): check if destination is writable before trying
321 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
323 * BufferView_pimpl.C (update): fix processEvents -caused update
326 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
328 * buffer_funcs.C (setCounter): fix test for numbering of
331 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
332 depth correctly; use optional argument when it exists
334 * lyxtextclass.C: remove unused MaxCounterTags enum
335 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
336 (max_toclevel, min_toclevel): new methods.
338 * MenuBackend.C (expandToc2): fix case where depth is smaller than
339 the smallest depth in toc.
341 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
342 layouts that should not appear in a table of contents.
344 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
346 * cursor.h (undispatched, noUpdate): add comments from André
348 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
352 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
354 2005-05-07 André Pönitz <poenitz@gmx.net>
356 * cursor.[Ch] (leaveInset): new function
358 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
360 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
362 2005-05-04 Angus Leeming <leeming@lyx.org>
364 * lyxfunc.C (getStatus): disable the spell checker dialog if
365 none of USE_[AIP]SPELL are defined.
367 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
369 * tabular.C (setWidthOfCell): remove obsolete comment
371 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
373 * paragraph.C (bibitem):
374 * buffer_funcs.C (setCounter):
375 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
377 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
379 * text3.C (getStatus): immediately return after setOnOff
381 * rowpainter.C: fix drawing of appendix start
383 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
385 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
386 SwitchBetweenClasses and remove the unused return value.
387 Handle character styles, too
389 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
391 * factory.C (createInset): handle undefined character styles
393 2005-05-02 Angus Leeming <leeming@lyx.org>
395 * buffer.C: protect the #include of utime.h with a preprocessor
398 2005-05-02 Angus Leeming <leeming@lyx.org>
400 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
401 function so that auto-saving works, albeit in a blocking manner.
403 * Makefile.am: make compilation of the client sub directory, of
404 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
405 on conditionals set at configure time.
407 * SpellBase.[Ch]: no longer an abstract base class. Instead,
408 it can be compiled in its own right but has no-op functionality.
410 * aspell.C, pspell.C: remove preprocessor guards. The files should
411 be compiled only if the necessary functionality exists.
413 * lyxserver.C, lyxsocket.C: disable on Windows.
415 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
417 * text.C (leftMargin): Fix the parindent use bug (1764)
420 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
422 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
425 2005-04-25 Angus Leeming <leeming@lyx.org>
433 include <config.h> in .C files, not .h ones.
435 protect headers inside preprocessor guards.
437 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
439 * FuncStatus.h (StatusCodes): document
441 2005-04-21 André Pönitz <poenitz@gmx.net>
443 * FuncStatus.h (enabled, onoff): document
445 2005-04-19 Angus Leeming <leeming@lyx.org>
447 * BufferView_pimpl.C (cursorToggle): no longer test whether
448 any child processes have been reaped before calling
449 handleCompletedProcesses().
451 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
453 * text3.C (dispatch): fix, finally fix, the language problem in
454 new lyxtexts, without disabling on-the-fly font changes (Helge's
457 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
459 * text3.C (dispatch): set cursor on double/triple click events
462 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
464 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
465 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
467 * rowpainter.C (paintFirst): simplify the code a little bit. In
468 particular, remove the test for secnumdepth.
469 * text.C (setHeightOfRow): only allocate space for chapter number
470 when updateCounters provided an actual label, instead of looking
471 at secnumdepth directly.
473 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
475 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
476 paragraphs when secnumdepth is large enough or, for environments,
477 when they are not the first in a sequence.
479 2005-04-17 Angus Leeming <leeming@lyx.org>
481 * buffer.C (makeLaTeXFile): replace code to manipulate a path
482 containing space and '~' characters with a call to latex_path().
484 2005-04-17 Angus Leeming <leeming@lyx.org>
486 * converter.C (convert): protect all args of convertDefault.sh
489 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
491 * text3.C (dispatch): change the layout to "Caption" after inserting
494 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
496 * text3.C (dispatch): fix language problem in newly created
497 textinsets (and main text) in non-english docs
499 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
501 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
502 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
503 * text3.C (getStatus): disable LFUN_INSET_MODIFY
505 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
510 * rowpainter.C (getFont): Fix metrics bug introduced by inset
513 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
515 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
516 output of \item arguments without trailing text.
518 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
520 * FontIterator.C (operator*): avoid a copy of the font.
522 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
524 * rowpainter.C (getFont): fix language bug from previous fix
526 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
528 * rowpainter.C (RowPainter, getFont): fix font inside inset
531 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
533 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
534 preventing inserted font, deco, delim insets jumping to start of
537 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
539 * lyxfunc.C (dispatch): translate message before sending it to the
542 2005-03-29 Angus Leeming <leeming@lyx.org>
544 * lyx_main.C (priv_exec): call os::internal_path on each file passed
545 to LyX on the command line.
547 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
549 * vc-backend.C: use QuoteName to protect file names wherever
552 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
555 * BranchList.h: fix bugs 1844,1845: document settings don't
558 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
560 * lyxrc.C (setDefaults, read, output, getDescription): add support
561 for tex_allows_spaces.
563 * exporter.C (Export): allows files in directory containing spaces
564 if tex_allows_spaces is true.
566 * buffer.C (makeLaTeXFile): if the document path contains spaces,
567 output it in double quotes.
569 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
571 * rowpainter.C: use default text height for drawing change tracker
574 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
576 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
578 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
580 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
581 directory is missing.
583 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
585 * text2.C: fixed the fix, extended to other case.
587 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
589 * text2.C: fix for cursor up/down stuck in math [bug 1792]
591 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
593 * text2.C (cursorUp): get rid of a crash
594 * text.C (x2pos): add an assert
596 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
598 * lyxfunc.C (getStatus): fix warning when assertions are disabled
602 * dociterator.C: include <boost/current_function.hpp>, which is
603 needed when assertions are disabled.
605 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
607 * text2.C: fix for stuck cursor when traversing two
608 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
610 2005-02-25 Andreas Vox <avox@arcor.de>
612 * output_docbook.C (makeParagraph): suppress trailing newline
613 after a run of paragraphs
615 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
617 * paragraph.C: fix for confused change tracker when pasting
618 text that begins with a lineseparator. [bug 1827]
619 (setChange(0, Change::INSERTED);)
621 * paragraph_funcs.C: fix for lost changes on triple-paste
622 in change tracking mode [bug 1827] (par.setChange()).
624 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
626 * text2.C (updateCounters, setCounter, expandLabel): move to
629 * buffer_funcs.C (updateCounters): turn into a free standing
630 function and add a buffer parameter. Remove dead code for tracking
632 (setCounter): change into a free-standing function which gets a
633 dociterator as argument. Use this iterator to fix captions in a
634 simple way. When no float is found above the caption, use the
635 labelstring of the caption layout as default.
637 * text.C (breakParagraph, backspace):
638 * text2.C (init, setLayout, changeDepth):
639 * text3.C (dispatch):
640 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
643 * dociterator.C (forwardPar): make it much faster by calling
644 forwardPos() only when really necessary.
646 * output_docbook.C (makeCommand): adapt to expandLabel move.
648 * cursor.C: remove unused variable
650 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
652 * paragraph_funcs.C: fix crash when pasting insets in change
653 tracking mode [bug 1277] (honour change type in moveItem).
655 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
657 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
659 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
661 * BufferView.C (setCursor): change to use a DocIterator.
662 (gotoLabel): use BufferView::setCursor (other part of bug 781).
663 (putSelectionAt): adapt to BufferView::setCursor change.
665 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
666 moved here from LyXText and rewritten to use proper cursor
667 methods. Fixes bug 1787, 616 and 835.
669 * BufferView_pimpl.C (restorePosition): set the cursor correctly
670 when inside an inset (part of bug 781).
671 (dispatch): adapt to change of BufferView::setCursor.
672 (getStatus, dispatch): handle LFUN_GOTOERROR,
673 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
675 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
676 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
677 * text3.C (gotoNextInset, gotoInset): removed.
679 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
681 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
683 2005-02-15 Angus Leeming <leeming@lyx.org>
685 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
686 can be used meaningfully in a comparison.
688 2005-02-13 André Pönitz <poenitz@gmx.net>
690 * bufferview_funcs.C (coordOffset): improve cursor drawing
692 2005-02-13 André Pönitz <poenitz@gmx.net>
694 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
695 * Cursor.C (dispatch): use fixIfBroken
696 * lyxfunc.C (getStatus): use fixIfBroken
698 2005-02-15 Angus Leeming <leeming@lyx.org>
700 * lyx_main.C (error_handler):
702 * lyxrc.C (setDefaults):
704 #include "environment.h".
706 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
708 2005-02-15 Angus Leeming <leeming@lyx.org>
710 * lyxserver.C (startPipe): squash MSVC warning "local variable
711 'fd' used without having been initialized".
713 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
715 * BufferView_pimpl.C: revert accidental commit.
717 2005-02-14 André Pönitz <poenitz@gmx.net>
719 * dociterator.[Ch]: new member forwardPosNoDescent(),
720 which doesn't enter nested insets.
721 * text2.C (setFont): use forwardPosNoDescent() instead
722 of ForwardPos() (fixes crash on font change).
724 2005-02-13 Angus Leeming <leeming@lyx.org>
726 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
727 only if lyxrc.path_prefix is not empty.
729 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
731 * bufferparams.C (readGraphicsDriver): prevent crash
733 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
735 * text2.C (setCounter): check for inInset() == 0
737 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
739 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
740 but use update() to get correct screen display; use convert
741 instead of istringstream.
742 (getStatus): handle LFUN_GOTO_PARAGRAPH
744 * lyxfunc.C (dispatch, getStatus): do not handle
745 LFUN_GOTO_PARAGRAPH here.
747 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
749 * text3.C (dispatch): size() -> depth()
751 * text2.C: remove some debug output
753 * paragraph.C: ws changes only
755 * lyxfunc.C (getStatus): size() -> depth()
757 * dociterator.h (clear, push_back, pop_back, internalData,
758 operator[], resize, empty): new functions
759 Make StableDocIterator and operator== be friends. Don't inherit
760 from std::vector use a privat class variable slices_ instead.
763 * dociterator.C: update because of not inheriting from std::vector
764 anymore. Call explictly to slices_ instead. Use depth() instead of
765 size() and top() instead of back()
767 * cursor.C: chagne size() -> depth and back() -> top(). Also
768 remove some direct operator[](i) calls in favour of foo[i]
769 (getFont): remove some dead code
771 * bufferview_funcs.C (coordOffset): size() -> depth()
773 * buffer.C: ws changes only
775 * CutAndPaste.C (eraseSelection): back() -> top()
777 * BufferView_pimpl.C (selectionRequested): back() -> top()
779 * BufferView.C (setCursor): size() -> depth()
781 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
783 * text3.C (cursorPrevious): return true if depm changed something
785 (dispatch): rename sl to oldTopSlice, remove moving use the new
786 NoUpdate func attrib instead. Make sure that needsUpdate is set
787 for function that have NoUpdate, but where depm might have changed
790 * text2.C (cursorLeft): make us return true if depm changed
793 (cursorUpParagraph): ditto
794 (curosrDownParagraph): ditto
795 (cursorUp, cursorDown): ditto, make sure to read comments in code
796 (deleteEmptyParagraphMechanism): remove an assert, also return
797 true if just a single char was deleted.
799 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
800 cursor that we modify, to avoid modifying an active cursor before
801 we call setCursor. This allows depm to run. Also return true if
802 depm deleted something.
804 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
805 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
806 cursorDownParagraph, cursorPrevious and cursorNext, return true if
807 something was changed in the buffer because of them (ie. depm run)
809 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
810 debug messages. Make update by default be false. Make sure that
811 the result of update is retained throught several calls down to
814 * LyXAction.h: add a new func_attrib: NoUpdate
816 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
817 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
818 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
820 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
822 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
824 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
825 bv_->owner(), bv_->buffer() by direct references to the private
827 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
828 (getStatus): isSavedPosition() is in BufferView::Pimpl.
829 (fitCursor): center() is in BufferView::Pimpl.
830 (getStatus, trackChanges, dispatch): no need for a temporary buf
832 (fitCursor, workAreaDispatch): use workarea().workheight()
834 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
836 * CutAndPaste.C (pasteSelectionHelper): fix a crash
838 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
840 * buffer.C: format up to 241.
841 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
842 break if pasting into ERT
843 * lyxfunc.C (getStatus): suppress mathpanel and
844 LFUN_DIALOG_SHOW_NEW_INSET in ERT
846 2005-02-01 Angus Leeming <leeming@lyx.org>
848 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
850 2005-02-01 Angus Leeming <leeming@lyx.org>
852 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
853 calling fs::is_directory().
855 2005-01-31 Angus Leeming <leeming@lyx.org>
857 * lyx_main.C (priv_exec): specify explicitly the relative location
858 of the top level build directory when run in-place.
860 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
862 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
863 LyXText containing the cursor, not the top-level one.
865 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
867 (insertStringAsLines): rename par to pit; use temporary variable
868 par to hold a Paragraph; do not store par.layout() in a variable,
869 since the pointer may die when breaking paragraphs; pass pars to
870 breakParagraph() instead of Buffer::paragraphs().
872 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
874 * lyxlex_pimpl.h: #include <fstream>.
876 * BufferView.[Ch] (getLyXText): add a const version.
878 * BufferView_pimpl.C: add debug aids.
883 * paragraph_funcs.h: add commentary explaining what the class does.
886 * coordcache.[Ch]: add lots of commentary.
887 (startUpdating, doneUpdating): debug aids.
888 (arrays, insets, parPos, getParPos): accessors to private data.
890 * cursor_slice.[Ch] (text): add a const version.
891 * dociterator.[Ch] (text, innerText): add const versions.
893 * lyxtext.h (breakParagraph): change the keep_layout arg to a
896 * paragraph.C (getRow, pos2ros): add asserts.
898 * paragraph.h: add commentary. Lots of.
900 * paragraph.[Ch] (metrucs, draw): removed.
903 * rowpainter.[Ch]: const-correct changes.
905 * text.C: various obvious clean-ups. Removal of ancient cruft.
908 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
910 * vc-backend.C (find_file): rewrite to use boost.filesystem
913 * main.C (main): set default name check for boost.filesystem to
916 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
919 (actOnUpdatedPrefs): ditto
921 * lyx_main.C (init): rewrite to use boost.filesystem
922 (queryUserLyXDir): ditto
924 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
925 (getContentsOfAsciiFile): ditto
927 * lastfiles.C (readFile): rewrite to use boost.filesystem
929 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
931 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
934 * buffer.C (Buffer): adjust for destroydir
935 (getLogName): rewrite to use boost.filesystem
937 (save): use fs::copy_file (from fs_extras)
939 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
941 * LaTeX.C (run): rewrite to use boost.filesystem
942 (scanAuxFiles): ditto
943 (handleFoundFile): ditto
945 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
947 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
949 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
951 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
953 * lyxlayout.[Ch]: change some vars from float to double
955 * buffer.C (readFile): make a local var const
957 * Several files: use convert<> instead of atoi,strToXXX and friends
959 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
961 * LaTeXFeatures.[Ch]: Add a static list packages_ that
962 holds the contents of packages.lst. New functions getAvailable
963 and isAvailable to parse and check that list, resp.
967 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
969 * bufferparams.[Ch]: new param output_changes.
971 * Buffer.C: increase file format to 240.
972 Use output_changes and isVailable.
976 * paragraph_pimpl.C: Use output_changes and isVailable.
978 2005-01-23 Angus Leeming <leeming@lyx.org>
980 * output_latex.C: #include "insetbibitem.h", rather than
981 forward declare function bibitemWidest.
983 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
985 * lyx_main.C (init): make it compile on the Mac.
987 2005-01-20 Angus Leeming <leeming@lyx.org>
989 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
990 (setLyXMisc): (char string literal) != (char string literal) is
991 performing a comparison on the addresses. Convert one operand
992 explicitly to string to guarantee expected behaviour.
995 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
998 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1000 * output_plaintext.C: remove unneeded #include gzstream.h.
1002 2005-01-20 Angus Leeming <leeming@lyx.org>
1004 * SpellBase.h: rename some of the elements of the Result enum.
1011 * pspell.C (check): ditto
1013 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1015 * buffer.C: add #include <fstream>.
1017 * lyx_main.C (init): Compile fix.
1019 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1021 2005-01-20 Angus Leeming <leeming@lyx.org>
1023 * mover.h: change commentary to reflect the changed meaning of
1024 the $$s placeholder.
1026 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1028 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1030 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1032 2005-01-20 Angus Leeming <leeming@lyx.org>
1034 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1035 printing diagnostic data by not dereferecing an iterator past the
1038 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1040 * buffer.C (readHeader): use "&&" rather than "and".
1042 * lyxserver.h (inPipeName, outPipeName): make these const.
1044 2005-01-19 Angus Leeming <leeming@lyx.org>
1046 * lyx_main.C (error_handler, init): protect SIGHUP with
1047 #ifdef SIGHUP guards.
1049 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1051 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1053 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1055 * text.C (setHeightOfRow): add a margin at the top and bottom of
1056 the document (bug 1761)
1058 2005-01-17 Angus Leeming <leeming@lyx.org>
1060 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1061 with "python ". Workaround for a brain-dead Windows.
1063 2005-01-16 Angus Leeming <leeming@lyx.org>
1065 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1066 for MacOSX and Windows to use prependEnvPath.
1067 Strip out the hard-coded block to add elements to the PATH for
1068 MacOSX and replace it with a call to prependEnvPath using the
1069 contents of LyXRC::path_prefix.
1070 (queryUserLyXDir): strip out the code to run reconfigure, instead
1071 returning a boolean indicating the necessity to do so.
1072 (reconfigureUserLyXDir): contains the code to reconfigure the
1073 user support directory. Is now called after the various LyXRC data
1074 files have been read.
1076 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1078 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1080 * converter.[Ch] (convert): take a new parameter try_default. Use
1081 a default converter (imagemagick) if try_default is true.
1083 2005-01-13 Angus Leeming <leeming@lyx.org>
1085 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1086 os::cygwin_path_fix.
1087 (write): output LyXRC::cygwin_path_fix as necessary.
1089 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1092 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1094 2005-01-12 Angus Leeming <leeming@lyx.org>
1096 * lyx_main.C (init): set the PATH variable to include the
1097 directory containing the LyX binary when running on Mac or Windows.
1099 2005-01-12 Angus Leeming <leeming@lyx.org>
1101 * lyx_main.C (init): remove cruft that purports to set the locale
1102 dir. It doesn't and is not needed anyway.
1104 2005-01-10 Angus Leeming <leeming@lyx.org>
1106 * Makefile.am: remove the lyx_main.C special casing.
1108 * BufferView_pimpl.C:
1114 * messages.C: use support/package.h to provide the paths to the
1115 various directories used by LyX.
1117 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1119 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1120 layout if pasting into an empty paragraph)
1122 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1124 * tex-accent.C: add <string>
1126 2005-01-06 José Matos <jamatos@lyx.org>
1128 * ParagraphParameters.C (write): put every parameter in its own line.
1129 * paragraph.C (write): reduce number of consecutive empty lines exported.
1130 * buffer.C (LYX_FORMAT): increase file format to 239.
1132 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1134 * everywhere: change support/tostr.h -> support/convert.h
1136 * tabular.C: make all write_attributes templates, tostr -> convert
1138 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1139 (emptyTag): and -> &&, and fix type for ret from getChar
1140 (getFirstWord): fix type for ret from getChar
1141 (onlyText): and -> &&
1142 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1145 * toc.C (goTo, action):
1146 * text3.C (dispatch):
1147 * text.C (currentState):
1148 * tex-accent.C (DoAccent):
1151 * lyxfunc.C (menuNew):
1152 * lyxfinc.C (replace):
1153 * counters.C (laberItem):
1154 * bufferview_funcs.C (font2string):
1155 * bufferparams.C (writeFile):
1156 * buffer.C (readFile):
1158 * MenuBackend.C: tostr -> convert
1160 * LaTeX.C (runMessage): fix format
1161 (scanAuxFiles): tostr -> convert
1163 * BufferView_pimpl.C (savePosition): fix format
1164 (restorePosition): ditto
1167 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1169 * Spacing.[Ch]: New method getValueAsString().
1173 * ParagraphParameters.C:
1176 * text3.C: store/read spacing value as string.
1178 * rowpainter.C: change float value (spacing_val) to double.
1180 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1181 broken custom document spacing).
1183 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1185 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1186 namespace, also more use of temp references and const
1188 * cursor.[Ch] (getStatus): move to lyxfunc.C
1190 * bufferparams.C: reformat slightly
1192 * bufferview_funcs.C (font2string): constify arg
1198 * buffer_funcs.C: (many funcs): constify arg on function
1199 definitions, also make more local vars const, also add ASSERTS on
1202 * buffer.C (LYX_FORMAT): put const in correct place
1203 (many funcs): constify arg on function definitions, also make
1204 more local vars const
1206 * aspell_local.h: remove "struct" from typdef setup
1208 * aspell.C (check): make word_ok const
1209 (nextMiss): simplify slightly
1212 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1214 * lyxrc.[Ch]: store all float values as strings.
1215 use int (not float) for lyxrc.dpi.
1217 2005-01-04 Angus Leeming <leeming@lyx.org>
1219 * lyx_cb.C (Reconfigure):
1220 * lyx_main.C (queryUserLyXDir):
1221 to run the <system_lyxdir>/configure correctly on Windows, prefix
1222 the path to the script with "sh " when generating the string that
1223 is passed to system().
1225 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1227 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1229 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1231 * lyxlength.C (asLatexString): get rid of setprecision
1233 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1235 * text2.C (setLayout): remove unused variable endpit.
1236 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1238 * paragraph.C (onlyText): remove unused variable style.
1240 * cursor.C (bruteFind): remove unused variables beg and end.
1242 * Makefile.am (dist_noinset_DATA): not needed anymore
1244 * cheaders/*: remove.
1246 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1248 * text3.C: fix LFUN_MATH_MODE.
1250 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1252 * buffer_funcs.C (countWords): new function. Counts words between
1255 * BufferView_pimpl.C (getStatus, dispatch): handle
1258 * LyXAction.C (init):
1259 * lfuns.h: add LFUN_WORDS_COUNT.
1261 2004-12-19 Angus Leeming <leeming@lyx.org>
1263 * buffer.C (save): s/slashify_path/internal_path/.
1265 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1267 * lyxfind.C (findChange): do not search for end of pars, because
1268 the change tracker cannot handle this (fixes bug 1719).
1270 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1272 * paragraph.[Ch] (autoBreakRows): remove
1274 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1276 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1277 avoid using the paragraph one
1279 * text2.C (LyXText, insertStringAsLines): adjust
1281 2004-12-16 Angus Leeming <leeming@lyx.org>
1285 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1287 2004-12-14 Angus Leeming <leeming@lyx.org>
1289 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1291 * bufferlist.C (emergencyWrite):
1292 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1295 2004-12-14 Angus Leeming <leeming@lyx.org>
1297 * main.C: (main): no longer pass pointers to os::init.
1299 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1301 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1302 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1304 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1307 * text3.C: remove selection_possible global flag
1309 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1311 * text2.C (getSelectionSpan): remove
1312 (changeDepth, changeDepthAllowed): adjust
1314 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1316 * Makefile.am (BOOST_LIBS): use boost variables
1318 2004-12-03 José Matos <jamatos@lyx.org>
1320 * buffer.C: format up to 238.
1322 2004-12-03 José Matos <jamatos@lyx.org>
1324 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1326 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
1328 * cursor.C (goUpDown): remove call to idxUpDown2
1330 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1332 * tabular.[Ch]: use size_t-like types for cell, row and column
1335 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1337 * lyxfunc.C (getStatus): do not lose previous information when
1338 calling BufferView::getStatus; do not set a default "Command
1339 disabled" message at the beginning, but just before returning.
1341 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1343 * cursor.h (getStatus): add better comment from src/cursor.C
1345 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1347 * text3.C (getStatus): return false when the lfun is not handled
1349 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1351 * broken_headers.h: remove
1353 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1355 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1357 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1358 offset_ref accessors
1360 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1361 top_y_, merge fitcursor with update
1362 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1364 (metrics): introduce
1365 (workAreaDispatch): adapt to new coord scheme
1366 (redoCurrentBuffer): remove
1368 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1370 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1373 * coordcache.[Ch]: add paragraph cache and helpers
1375 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1378 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1379 (targetX, setTargetX): introduce
1381 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1382 baseline -> ascent, as the rest of lyx
1384 * lyxtext.h: remove redoParagraphs, updateParPositions,
1385 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1386 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1387 have ascent/descent (ascent is ascent of first par)
1389 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1392 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1394 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1396 * pariterator.C: fix infinite loop introduced in par->pit renaming
1398 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1399 in insets and LyXText, draw two off-screen paragraphs using
1400 NullPainter, and adapt to new coord scheme
1404 * text3.C: adapt lfun handlers to the new coord scheme, which
1405 means: there's only guaranteed coord information for onscreen pars
1406 plus one above and one below. This implies that one can do search
1407 from y coordinates in the range [-1,workHeight]
1409 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1411 * rename a lot of InsetOld to InsetBase
1413 2004-11-25 Angus Leeming <leeming@lyx.org>
1415 * BufferView_pimpl.C:
1417 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1419 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1421 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1422 call BufferView::getStatus if LCursor::getStatus did nothing
1423 (setStatusMessage, getStatusMessage): removed.
1425 * FuncStatus.C (message): new methods. Used to provide an error
1426 message indicating why a command is disabled.
1427 (clear, |=, FuncStatus): update for message.
1429 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1431 * lyxfunc.C (dispatch): always call sendDispatchMessage
1433 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1436 * BufferView_pimpl.C:
1441 * cursor_slice.[Ch]:
1444 * paragraph_funcs.C:
1450 * undo.C: par->pit renaming
1452 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1454 * tabular.C (cellstruct): use initialization, store a shared_ptr
1455 to insettext instead of the insettext directly, adjust to fit.
1456 (operator=): new function
1457 (swap): new function
1458 (rowstruct): use initialization
1459 (columnstruct): use initialization
1460 (ltType): use initialization
1463 * lyxlength.h (swap): new function
1465 * LColor.[Ch] (operator=): use the common semantics
1467 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1469 * lyxfind.C (findNextChange): update the bufferview after setting
1472 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1474 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1475 number of InsetOptArgs has already been inserted.
1477 * output_latex.C (latexOptArgInsets): new method. This outputs all
1478 the optarg insets, up to the limit defined in the layout file.
1479 (optArgInset): removed
1480 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1482 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1484 * paragraph.C (isLetter): remove special spellchecker-related
1485 code; return true also for digits
1486 (isWord, isKomma): remove
1488 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1489 * lyxfind.C (MatchString()): use isLetter instead of isWord
1491 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1493 * pariterator.h (operatir=): comment out un-implemented member
1496 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1499 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1501 * lyxfont.h: include LColor.h to satisfy concept checks.
1503 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1505 * pariterator.h: add typdefs for value_type, difference_type,
1506 pointer and reference to satisfy concept checks. Also add default
1507 constructor for same reason.
1509 * pariterator.C (operator++): add post-increment operator to
1510 satisfy concept checks.
1512 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1515 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1517 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1518 checks. Also rename base_type to BaseType to follow naming
1521 * FloatList.h: include Floating.h to satisfy concept checks.
1523 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1525 * lyxfunc.C (getStatus): when the origin of the request is menu or
1526 toolbar, and the LyXView does not have focus, do as if there was
1527 no buffer (bug 1720)
1529 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1530 FuncRequest to individual entries of LFUN_SEQUENCE
1532 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1534 * output_latex.C (TeXOnePar): override runparams.moving_arg
1535 according to the needprotect value of the current paragraph (bug
1538 * paragraph.C (simpleTeXOnePar): no need to override
1539 runparams.moving_args here
1541 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1543 * vspace.C: fix off-by-one-error, related to fix #1682
1545 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1547 * lengthcommon.C: a more general fix for bug 1682
1549 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1551 * text.C (backspace): fix crash
1553 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1555 * format.[Ch] (getFormatFromFile): new method
1556 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1558 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1560 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1562 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1564 * lyxfunc.C (dispatch): remove the verbose argument
1565 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1568 * kbmap.C (defkey): set the origin of func to KEYBOARD
1570 * MenuBackend.C (MenuItem):
1571 * ToolbarBackend.C (add): set the origin of func to UI
1573 * funcrequest.[Ch]: add origin member, which indicates which part
1574 of LyX requests an action
1576 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1578 * converter.C (move): don't lie in the error message
1579 * converter.h (isReachable, move): document
1581 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1583 * buffer.C: remove unused using lyx::support::atoi
1584 * paragraph_funcs.C: ditto
1586 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1588 * bufferlist.C (exists): use bind and equal_to instead of
1591 * lyxtextclasslist.C (NumberOfClass): ditto
1593 * cursor.C (insert): use for_each instead of explicit for loop
1595 * bufferlist.C (getFileNames): use std::transform and
1596 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1598 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1601 * buffer.C (changeLanguage): use for_each instead of explicit for
1603 (hasParWithID): implement using getParFromID
1605 * LaTeXFeatures.C: ws change only
1607 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1610 * BufferView_pimpl.C (trackChanges): use for_each instead of
1613 2004-11-04 André Pönitz <poenitz@gmx.net>
1616 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1618 * dociterator.C (asDocIterator): use hard assert again.
1620 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1622 * lyxlength.C (asLatexString): rewrite so that it does not use
1625 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1627 * text3.C (specialChar, dispatch): make sure cursor moves to the
1628 right after inserting an inset
1630 2004-11-02 José Matos <jamatos@lyx.org>
1632 * output_docbook.C (docbook):
1633 * paragraph.C (getID):
1634 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1635 garantee that the output is always legal.
1637 * tabular.C (docbook):
1638 * outputprams.[Ch]: remove mixed contents.
1640 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1642 * text2.C (setCounter): prevent endless loop
1644 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1646 * exporter.C (copyFile): use the mover instead of support::copy()
1647 * exporter.C (Export): pass format and latex name to copyFile()
1648 * exporter.h (addExternalFile): document
1649 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1651 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1653 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1655 2004-10-30 José Matos <jamatos@lyx.org>
1657 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1658 text and no inset or font change. This allows to use CDATA
1659 sections just for the whole paragraph.
1661 2004-10-30 José Matos <jamatos@lyx.org>
1663 * paragraph.C (getFirstWord): remove unused variable.
1665 2004-10-30 José Matos <jamatos@lyx.org>
1667 * paragraph.C (getFirstWord): the content should always be escaped
1669 (simpleDocBookOnePar):
1670 * output_docbook.C (makeEnvironment): replace reference to CDATA
1673 2004-10-30 José Matos <jamatos@lyx.org>
1675 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1677 2004-10-30 José Matos <jamatos@lyx.org>
1679 * output_docbook.C (makeParagraphs):
1680 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1681 standard paragraph has only a given type of content drop the wrapper.
1683 2004-10-29 José Matos <jamatos@lyx.org>
1685 * output_docbook.C (makeEnvironment):
1687 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1689 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1691 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1692 (cleanID): sanitize any id.
1694 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1696 * buffer.C, lyxlex_pimpl.C:
1697 * lyxlex_pimpl.C (setFile):
1698 s/getExtFromContents/getFormatFromContents/
1700 2004-10-28 José Matos <jamatos@lyx.org>
1702 * output_docbook.C (makeEnvironment): move id to broadest possible
1705 * sgml.C (openTag): apply substitution of <> for all attributes.
1707 2004-10-28 José Matos <jamatos@lyx.org>
1709 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1710 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1711 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1713 * sgml.[Ch]: new version for open and closeTag for paragraph and
1714 for strings. Now they handle the ids of paragraphs.
1716 2004-10-26 Angus Leeming <leeming@lyx.org>
1718 * Makefile.am: add mover.[Ch].
1720 * converter.C (convert, move): use the new Movers to move external
1721 files to the temp directory.
1723 * lyx_main.C (init): ensure that the global system_movers data
1726 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1729 * mover.[Ch]: new files, defining a Mover as a utility to move an
1730 external file between directories and, if necessary, manipulate this
1731 file using a helper script.
1733 2004-10-25 José Matos <jamatos@lyx.org>
1735 * output_docbook.C (makeCommand): merge two if's that tested the
1738 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1740 * sgml.C (escapeString): fix warning in a better way
1742 2004-10-25 José Matos <jamatos@lyx.org>
1744 * sgml.C (escapeString): import the require boosts header file for
1745 tie, and avoid a signed unsigned comparison.
1747 2004-10-25 José Matos <jamatos@lyx.org>
1749 * sgml.h: add #include <string>
1751 2004-10-25 José Matos <jamatos@lyx.org>
1753 * sgml.[Ch] (escapeString): new function to escape all the string.
1755 2004-10-24 José Matos <jamatos@lyx.org>
1757 * paragraph.[Ch] (getFirstWord): new function to get the first
1758 word. Useful for description.
1759 (simpleDocBookOnePar): remove depth argument, add another that
1760 says where to start the paragraph.
1762 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1763 use the new functions to fix cleanly the support for descriptions.
1765 2004-10-24 José Matos <jamatos@lyx.org>
1767 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1768 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1769 * output_linuxdoc.C (linuxdocParagraphs):
1770 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1771 add buffer as argument.
1773 2004-10-24 José Matos <jamatos@lyx.org>
1775 * output_docbook.C (makeEnvironment, searchEnvironment): place
1776 CDATA inside paragraphs and fix scope for listitems.
1778 2004-10-24 José Matos <jamatos@lyx.org>
1780 * output_docbook.C: remove using statement for stack.
1782 2004-10-23 José Matos <jamatos@lyx.org>
1784 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1785 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1786 docbook. The new scheme is recursive and makes use of iterators, the
1787 same as latex export works.
1788 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1789 directly with the paragraph contents. This code was moved up to
1790 output_docbook.C (docbookParagraphs).
1791 * sgml.C (openTag, closeTag): removed unneeded newlines.
1792 (closeEnvTags) removed.
1794 2004-10-23 André Pönitz <poenitz@gmx.net>
1796 * undo.C (textUndoOrRedo):
1797 * dociterator.C (asDocIterator): work around crash
1799 * cursor.C (getStatus): replace ASSERT by more verbose error message
1800 and manual correction of the problem. Should increase stability
1801 while providing more sensible information.
1803 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1805 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1807 * bufferlist.C (previous, next): new methods
1810 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1812 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1814 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1815 entities to preamble.
1817 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1819 * messages.C (Pimpl): strip off translation context information
1821 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1823 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1824 the cursor is correct (bug 1694)
1826 2004-10-13 José Matos <jamatos@lyx.org>
1828 * output_docbook.C (docbookParagraphs): fix closing tags in the
1829 end of the document.
1831 2004-10-09 José Matos <jamatos@lyx.org>
1833 * buffer.C: format up to 237.
1834 * bufferparams.C (write): use tostr to convert booleans to strings.
1836 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1838 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1840 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1842 * LaTeX.C: implement use of babel language in xindy.
1844 2004-10-05 José Matos <jamatos@lyx.org>
1846 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1847 Add new translators to help reading and writing the lyx file.
1849 2004-10-05 José Matos <jamatos@lyx.org>
1851 * ParagraphParameters.C (read):
1852 * text.C (readParToken): replace nexToken by more appropriate lex
1855 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1857 * LaTeX.C (runMakeIndex):
1858 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1859 (usually 'makeindex') configurable.
1861 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1862 with a variable rather than with a number.
1864 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1866 * output_latex.C (TeXOnePar): make sure font setting is the first
1867 thing that gets output (and the last at the end). Should fix bug
1870 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1872 * pch.h: use proper signal include
1874 * LaTeX.h: Use preferred calling of Boost.Signal
1877 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1879 * pch.h: dont include <boost/function/function0.hpp>
1881 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1883 * paragraph_pimpl.h: remove usage of ShareContainer
1885 * paragraph_pimpl.C: remove initialization of ShareContainer.
1887 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1891 * BufferView.C (putSelectionAt): change the semantics when
1892 backwards == true: now, this just swaps cursor and anchor wrt the
1895 * BufferView.h (putSelectionAt): add some documentation
1897 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1898 make sure backwardChar is done at least once (to avoid getting
1900 (findNextChange): use putSelectionAt in the forward direction
1901 (operator()): use Paragraph::isWord
1903 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1905 * Spacing.C (set): c_str fix
1907 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1909 * lyx_cb.C (Reconfigure): quote the name of configure script in
1910 case it contains spaces
1912 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1916 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1917 (BOOST_LIBS): use top_buildir when looking for the file
1919 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1921 * pch.h: do not use include boost/format.hpp, multiple symbols
1922 will result (gcc bug)
1925 2004-08-23 José Matos <jamatos@lyx.org>
1927 * bufferparams.C (readToken): fix reading of the author field.
1929 2004-08-20 José Matos <jamatos@lyx.org>
1931 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1933 2004-08-20 José Matos <jamatos@lyx.org>
1935 * lyxlex.[Ch] (findToken): remove function.
1937 * ParagraphParameters.C (findToken):
1938 * bufferparams.C (findToken): replace call for previous function
1939 with local copy. This local function has one more argument, the
1940 read string argument.
1942 2004-08-16 José Matos <jamatos@lyx.org>
1944 * ParagraphParameters.C (write):
1945 * Spacing.C (writeFile):
1946 * bufferparams.C (writeLaTeX):
1947 * lyx_cb.C (Reconfigure):
1948 * paragraph.C (write):
1949 * tabular.C (write): remove unnecessary space at end of line.
1952 2004-08-16 José Matos <jamatos@lyx.org>
1954 * text.C (readParagraph): remove debug message.
1956 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1958 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1961 * output_plaintext.C (asciiParagraph): set depth correctly
1963 * outputparams.h: add member depth
1965 * paragraph_funcs.C (ownerPar): remove.
1967 * text2.C (setCounter): remove first_pit; comment out some
1968 non-working code that uses ownerPar
1970 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1973 2004-08-16 José Matos <jamatos@lyx.org>
1975 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1976 For the same level of importance use the same chanel to report problems.
1977 (read): add code to deal with \begin_body and \end_body.
1980 2004-08-15 José Matos <jamatos@lyx.org>
1982 * lyxlex.C (getString): fix comment, buffer::readBody is now
1983 buffer:readDocument.
1985 * tex-strings.C (string_papersize): Default -> default,
1986 Custom -> custom, for consistency with other options.
1988 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1992 * Makefile.am: support pch
1994 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1996 * text.C (readParToken): remove the static LyXFont variable and
1997 pass it as a parameter instead. This fixes a nasty bug where an
1998 inset will be inserted with a bad font in some situations
1999 (readParagraph): adapt
2001 * text2.C (setCounter): reduce number of calls to pars_[pit]
2003 * text.C (singleWidth): add an assert, fix a test
2005 * rowpainter.C (paintText): reduce number of calls to singleWidth
2007 * paragraph.C (isHfill):
2008 (isNewline): ws only
2010 2004-08-14 André Pönitz <poenitz@gmx.net>
2015 * lyxtext.h (several functions): use a Paragraph & argument
2018 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2020 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2022 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2024 * text.C (singleWidth): remove useless test
2026 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2028 * tabular.h: remove bogus comments
2030 * tabular.C (getDescentOfRow):
2031 (isPartOfMultiColumn): add assertions
2033 * lyxlength.C (inPixels): remove #warning
2035 2004-08-14 André Pönitz <poenitz@gmx.net>
2037 * paragraph.h: inline getChar()
2039 * BufferView.h: remove unused declarations
2041 2004-08-14 José Matos <jamatos@lyx.org>
2043 * Buffer.[Ch] (readDocument): new name for old readBody.
2044 * Buffer.C: new file format, new keywords: \begin_document,
2045 \begin_header, \begin_body, \end_body.
2047 * bufferparams.C (readToken): replace all calls to lex.nextToken
2048 by lex.next(). Do the same to eatLine except where really needed.
2050 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2051 line when writing to the lyx file.
2053 * output_plaintext.C (asciiParagraph): fix Bibliography style
2056 * text.C (read): fix end of file handling.
2058 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2060 * MenuBackend.C (Menu::operator[]): new method to access
2061 individual menu items
2062 (Menu::hasFunc): new method. search for an item that corresponds
2064 (MenuBackend::specialMenu): new method
2065 (MenuBackend::expand): if a special menu has been set, skip
2066 entries whose func() appears in this menu
2068 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
2070 * text3.C: use Debug::DEBUG a bit more
2072 * text.C (leftMargin): try to simplify a tiny bit change var x to
2073 l_margin. Dont output the wide margins always.
2074 (rightMargin): no margin in inner texts
2076 * rowpainter.h (nestMargin): new func
2077 (changebarMargin): new func
2078 (rightMargin): new func
2080 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2084 * factory.C (createInset): modify setDrawFrame
2086 * cursor.C: use Debug::DEBUG a bit more
2088 2004-08-14 André Pönitz <poenitz@gmx.net>
2091 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2092 cache for all insets in (at least partially) visible (top-level)
2095 * BufferView_pimpl.C: reset external coord cache before every update.
2096 This means the coord cache only contains valid entries.
2098 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
2101 * BufferView_pimpl.C (getInsetByCode): move function out of class
2102 and change in to a template in anon namespace. Also fix to do what
2105 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
2108 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2110 (breakParagraph): rename par to par_offset and use a local
2111 reference. Add code to keep the language over a rebreak.
2112 (breakParagraphConservative): rename par to par_offset, use a
2114 (mergeParagraph): ditto
2116 (isFirstInSequence): ditto
2117 (outerFont): rename pit to par_offset
2119 * paragraph.C: ws change
2120 * paragraph.h: ditto
2124 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2126 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2129 * paragraph.C (simpleTeXOnePar): when we have a \item with
2130 optional argument, enclose the argument with curly brackets (in
2131 case it contains a closing square bracket)
2135 * text3.C (checkInsetHit): constify
2137 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2139 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2140 documents (bug 1629)
2142 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2144 Fix toggling of collapsable insets with the mouse (bug 1558)
2146 * lyxfunc.C (dispatch): adapt to LCursor changes
2148 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2149 make sure that dispatch is not invoked twice
2151 * cursor.C (needsUpdate): new method
2152 (dispatch): return void
2153 (result): new method, to access the DispatchResult of the cursor.
2155 2004-08-13 José Matos <jamatos@lyx.org>
2157 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2159 2004-08-13 André Pönitz <poenitz@gmx.net>
2161 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2163 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2166 2004-08-12 André Pönitz <poenitz@gmx.net>
2168 * text3.C: take out the 'cursor right' form insertInset and only
2169 do it in those places when it is really needed. Fixes crash on
2172 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2174 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2176 * BufferView_pimpl.C (setBuffer): initialize the current font of
2177 the underlying LyXText
2179 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2181 * kbsequence.C (print): use UI native formatting for menu
2184 * text.C (insertChar): call Paragraph::insertChar with a font
2187 * paragraph.C (insertInset, insertChar): the version that takes a
2188 LyXFont argument is now a wrapper around the other one (the
2189 opposite used to be true).
2191 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2192 argument. Font setting is done in Paragraph now.
2194 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2196 * outputparams.h: add new members intitle and lang.
2198 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2199 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2201 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2203 * text3.C (dispatch): remove special handling of button 4 and 5,
2204 it is now taken care of in the frontend code.
2206 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2208 * Spacing.h: add <string> (STLPort compile fix)
2210 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2212 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2214 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
2216 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2219 * converter.C (showMessage): inherit from unary_function, make
2222 * buffer.C (writeFile): initialize retval
2224 * InsetList.h: rename private variable list to list_
2225 * InsetList.[Ch]: adjust accordingly.
2227 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
2229 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2230 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2231 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2232 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2233 * ParagraphParameters.C, LaTeXFeatures.C: replace
2234 "support/std_sstream.h" with <sstream>
2236 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
2238 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2239 * lyxsocket.C (LyXServerSocket): ditto
2240 (serverCallback): ditto
2242 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2244 * LaTeXFeatures.C: check release date when loading jurabib.
2246 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2248 * lyxserver.C (startPipe): call register_socket_callback
2249 (endPipe): call unregister_socket_callback
2251 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
2253 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2254 (LyXServerSocket): register the callback
2255 (LyXServerSocket): unregister the callback
2256 (fd): delete function
2257 (serverCallback): improve error checking and setup the callbacks.
2258 (dataCallback): change arg to fd.
2259 (writeln): new func (copied fro the client socket) used for server
2261 (LyXDataSocket): simplify
2262 (~LyXDataSocket): close ann unregiser callback
2263 (server): delete function
2264 (fd): delete function
2265 (readln): small changes, improve some std::string usage
2266 (writeln): constify a bit
2268 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2270 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2273 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2275 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2276 after it has been populated
2278 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2280 * text2.C (insertInset): move cursor when inserting inset.
2282 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2284 * kbmap.C (findbindings): a couple of new methods. returns a
2285 container of kb_sequence objects. The real work is done by the
2286 private recursive version
2287 (printbindings): uses findbindings to print out a bracketed list
2288 of bindings (renamed from findbinding).
2290 * MenuBackend.C (binding): use kb_keymap::findbindings
2292 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2294 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2296 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2298 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2300 * paragraph.C (isWord): return true on insets that report
2303 * text.C (getWord): use Paragraph::isWord to decide what is in a
2304 word and what is not; fix bug 1609.
2306 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2308 * tex-strings.C: add "none" to string_paperpackages[], fixes
2309 off-by-one-error in the paperpackage selection.
2312 * tex-strings.[Ch]: char const * string[n]
2313 -> char const * const string[]
2315 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2317 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2318 command, return early.
2320 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
2322 * debug.h: add DEBUG to enum and fix size of ANY.
2324 * debug.C: add support for Debug::DEBUG
2325 (showTags): cast errorTags.level to unsigned int
2327 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2328 (redoCurrentBuffer): ditto
2329 (updateScrollbar): ditto
2330 * cursor.C (dispatch): ditto
2331 * text2.C (setLayout): ditto
2333 (updateCounters): ditto
2335 (deleteEmptyParagraphMechanism): ditto
2337 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
2339 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2340 annotations to cleanup the Makefile slightly.
2342 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2344 * lyxrc.C: do not set user_email to a default value but use empty
2345 instead. The entry used to be translated, which does not work
2346 since at the point where lyxrc is constructed there is no
2347 translation service available
2349 * messages.C (getLocaleDir): remove and use directly
2350 lyx_localedir() instead
2352 2004-06-02 Angus Leeming <leeming@lyx.org>
2354 Fix crash caused by dereferencing null pointer 'exportdata' in
2355 OutputParams by creating a new ExportData variable on the heap,
2356 storing it in a boost::shared_ptr.
2357 The crash was triggered when generating an Instant Preview
2358 of an external inset.
2360 * Makefile.am: add outputparams.C
2362 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2363 (c-tor): allocate memory to it.
2365 * exporter.C (c-tor): associated changes.
2367 2004-06-01 Angus Leeming <leeming@lyx.org>
2369 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2370 contains data before calling isInset(0). (Bug 1513.)
2372 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2374 * exporter.C (checkOverwrite): new method
2375 * exporter.C (copyFile): new method
2376 * exporter.C (Export): copy referenced files to the document dir
2377 * exporter.[Ch]: new class ExportedFile
2378 * exporter.[Ch]: new class ExportData. Contains currently the
2379 names of referenced external files
2380 * outputparams.h: add exportdata member.
2382 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2384 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2387 2004-05-19 Angus Leeming <leeming@lyx.org>
2392 * lyxfunc.C: small changes due to the introduction of namespace
2393 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2395 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2397 * text3.C (dispatch): supress update when only moving the cursor
2398 * cursor.C (selHandle): remove commented code
2400 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2402 * paragraph.C (startTeXParParams): correct column count
2403 * CutAndPaste.C (pasteSelection): remove const_cast
2404 * output_docbook.C (docbookParagraphs): remove const_cast
2405 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2406 const_cast and return ParagraphList::const_iterator
2407 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2408 * output_plaintext.C (writeFileAscii): remove const_cast
2409 * paragraph.[Ch] (simpleTeXOnePar): make const
2410 * paragraph_funcs.C (outerPar): use const iterators
2411 * paragraph_pimpl.C (validate): use const iterators
2412 * text.C (setHeightOfRow): use const iterators
2414 2004-05-17 Angus Leeming <leeming@lyx.org>
2417 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2419 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2420 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2421 if the citation engine has changed.
2423 2004-05-14 José Matos <jamatos@lyx.org>
2425 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2426 if the textclass does not provide it. Have it different for sgml and
2428 support the language of document.
2429 * output_docbook.C (docbookParagraphs):
2430 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2431 first anchor as the id of the paragraph, remove special case code.
2432 * sgml.C (escapeChar): escape only < & >.
2434 2004-05-14 Angus Leeming <leeming@lyx.org>
2436 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2437 dependencies on src/frontends/controllers/biblio.h. Define a
2438 CiteEngine_enum wrapper class to enable the enum to be forward
2441 2004-05-12 Angus Leeming <leeming@lyx.org>
2443 * buffer.C: up LYX_FORMAT to 234.
2444 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2445 use_numerical_citations with a single biblio::CiteEngine cite_engine
2447 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2449 2004-05-13 José Matos <jamatos@lyx.org>
2452 * converter.C (Converter, readFlags): add xml member.
2453 * outputparams.h: add XML flavor.
2454 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2456 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2458 * lyxfunc.C (dispatch):
2459 (getStatus): fix handling of LFUN_SEQUENCE
2461 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2463 * debug.C (showLevel): do not forget the end-of-line marker
2465 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2467 * kbmap.C (read): do not stop parsing a bind file when an error
2470 2004-04-29 Angus Leeming <leeming@lyx.org>
2475 * text2.C: wrap a bunch of #warning statements
2476 inside #ifdef WITH_WARNINGS blocks.
2478 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2480 * buffer.C: increment format to 233.
2482 2004-04-28 Angus Leeming <leeming@lyx.org>
2484 * BufferView_pimpl.C:
2487 s/updateToolbar()/updateToolbars()/
2488 s/Toolbar.h/Toolbars.h/
2490 2004-04-28 Angus Leeming <leeming@lyx.org>
2492 * BufferView.[Ch] (c-tor):
2493 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2494 No longer passes these data to the WorkArea generator.
2496 2004-04-28 Angus Leeming <leeming@lyx.org>
2498 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2500 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2502 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2504 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2506 * output_latex.C (TeXEnvironment): make sure that there is a line
2507 break before \end{foo} for the last paragraph of a document
2508 (TeXOnePar): if the paragraph is at the end of the document (or
2509 inset) and the language has to be reset, then make sure that the
2510 line break is _before_ the language command, not after (fixes bug
2511 1225); also make sure that the language reset command is the first
2512 thing after the paragraph (to ensure proper nesting of
2513 environments and thus fix bug 1404)
2515 2004-04-21 John Levon <levon@movementarian.org>
2518 * ToolbarBackend.C: make "name" be a programmatic name
2519 and a gui_name field.
2521 * lyxfunc.C: display the minibuffer on M-x
2523 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2525 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2528 2004-04-19 Angus Leeming <leeming@lyx.org>
2530 * BufferView_pimpl.C (setBuffer): changed preview interface.
2532 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2535 2004-04-19 John Levon <levon@movementarian.org>
2537 * BufferView_pimpl.C:
2538 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2540 2004-04-05 Angus Leeming <leeming@lyx.org>
2542 * text.C (redoParagraphs): add call to updateCounters(), thereby
2543 fixing the missing "Figure #:" label from the caption of a
2546 2004-04-13 Angus Leeming <leeming@lyx.org>
2548 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2549 cursor is clicked out of an inset.
2551 2004-04-13 Angus Leeming <leeming@lyx.org>
2553 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2554 than an InsetOld one.
2556 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2558 * format.[Ch]: add editor to Format
2559 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2560 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2562 2004-04-08 André Pönitz <poenitz@gmx.net>
2564 * metricsinfo.h: remove PainterInfo::width member
2566 2004-04-08 Angus Leeming <leeming@lyx.org>
2568 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2569 "\providecommand" rather than "\newcommand", thereby preventing
2570 clashes with packages that define "\boldsymbol" themselves.
2573 2004-04-08 Angus Leeming <leeming@lyx.org>
2575 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2576 thereby squashing an unnecessary warning.
2578 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2580 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2583 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2585 * BufferView.C (setCursor): call redoParagraph (some insets could
2587 (putSelectionAt): remove the 'double update' trick
2589 * BufferView_pimpl.C (fitCursor): call refreshPar
2590 (workAreaDispatch): remove an uneeded update call
2591 (dispatch): remove some manual update calls
2593 * cursor.[Ch]: remove cached_y_, updatePos
2594 (selHandle): set noUpdate when appropriate
2596 * lyxfunc.C (dispatch): track if we need an update
2598 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2600 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2601 (paintSelection): cheap optimization, do not call cursorX when not
2603 (paintPars): change signature
2606 (paintTextInset): adjust
2610 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2612 * lengthcommon.C: compilation fix: remove explicit array size from
2613 unit_name[] and friends
2615 2004-04-05 Angus Leeming <leeming@lyx.org>
2617 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2619 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2620 present only for the preferences dialog.
2621 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2623 2004-04-05 Angus Leeming <leeming@lyx.org>
2625 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2626 to enable the frontends to export changes to lyxrc correctly.
2628 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2630 2004-04-07 André Pönitz <poenitz@gmx.net>
2632 * cursor.[Ch] (selClear, adjust): remove math
2634 * cursor_slice.C: more agressive assert
2637 * BufferView_pimpl.C: rework mouse event dispatch
2644 2004-04-05 André Pönitz <poenitz@gmx.net>
2646 * cursor.[Ch] (valign, halign...): remove unneeded functions
2648 2004-04-05 Angus Leeming <leeming@lyx.org>
2650 * lyxlength.[Ch] (unit_name et al.): const-correct.
2652 2004-04-05 Angus Leeming <leeming@lyx.org>
2654 * BufferView_pimpl.C:
2663 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2665 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2667 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2669 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2671 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2672 * BufferView_pimpl.[Ch] (getStatus)
2673 * BufferView.[Ch] (getStatus): add
2674 * lyxfunc.C (getStatus): move lfuns handled in
2675 BufferView::dispatch to te function above
2676 * Cursor.C (setSelection): set selection() = true
2678 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2680 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2682 2004-03-31 Angus Leeming <leeming@lyx.org>
2684 * lyxfunc.C (dispatch): Fall through to the generic
2685 Dialogs::show("preamble").
2687 2004-03-31 Angus Leeming <leeming@lyx.org>
2689 * lyxfunc.C (dispatch): Fall through to the generic
2690 Dialogs::show("spellchecker").
2692 2004-03-31 Angus Leeming <leeming@lyx.org>
2694 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2697 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2702 * insetiterator.[Ch]:
2707 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2709 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2711 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2712 insets where we are putting the cursor.
2714 2004-03-31 Angus Leeming <leeming@lyx.org>
2717 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2719 * lyxrc.[Ch] (read, write): overloaded member functions taking
2720 a std::[io]stream arguments.
2722 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2724 2004-03-31 Angus Leeming <leeming@lyx.org>
2726 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2727 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2729 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2730 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2732 2004-03-31 Angus Leeming <leeming@lyx.org>
2734 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2735 the LFUN_ALL_INSETS_TOGGLE code.
2737 2004-03-30 Angus Leeming <leeming@lyx.org>
2739 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2740 has died. Fall through to the generic Dialogs::show("document").
2742 2004-03-30 Angus Leeming <leeming@lyx.org>
2745 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2746 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2748 * lyxfunc.C (getStatus, dispatch): define the actions for these
2749 lfuns. Little more than a cut and pste job from ControlDocument.C
2751 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2753 2004-03-30 Angus Leeming <leeming@lyx.org>
2756 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2757 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2759 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2760 open/closed state of ollapsable insets. Usage:
2762 all-inset-toggle <state> <name>, where
2763 <state> == "open" || "closed" || "toggle" and
2764 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2766 * lyxtext.h, text2.C (toggleInset): removed.
2768 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2769 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2770 now passes LFUN_INSET_TOGGLE to the found inset.
2772 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2773 is now invoked as "all-insets-toggle toggle branch".
2775 2004-03-30 Angus Leeming <leeming@lyx.org>
2779 * pariterator.[Ch]: added/corrected header blurb.
2781 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2783 * dociterator.[Ch]: add an inset_ member
2784 (backwardPos): implemented
2785 (backwardPos, forwardPos): use inset_ when the stack is empty.
2786 (doc_iterator_begin, doc_iterator_end): implemented
2787 * pariterator.[Ch]: adjust, add begin, end
2788 * insetiterator.[Ch]: adjust, add begin, end
2792 * BufferView_pimpl.C:
2793 * CutAndPaste.C: adjust
2795 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2797 * buffer.C: increment file format to 232.
2798 * LaTeXFeatures.C: add bibtopic package.
2799 * bufferparams.[Ch]: param \use_bibtopic.
2801 * lyxrc.[Ch]: add lyxrc bibtex_command
2802 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2804 * buffer.C: increment file format to 231.
2806 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2808 * dociterator.C: implement forwardPar
2809 * iterators.[Ch]: remove, replaced by
2810 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2812 * BufferView_pimpl.C:
2815 * bufferview_funcs.C:
2821 * Makefile.am: adjust
2823 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2825 * CutAndPaste.C (pasteSelection): fix 2 crashes
2826 (eraseSelection): fix a crash
2827 * paragraph_funcs.C: remove a warning
2829 2004-03-28 Angus Leeming <leeming@lyx.org>
2832 * LyXAction.C (init): new LFUN_PRINT.
2834 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2836 2004-03-27 Angus Leeming <leeming@lyx.org>
2839 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2841 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2843 2004-03-27 Angus Leeming <leeming@lyx.org>
2845 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2846 insetlist always contains non-null pointers to insets.
2848 2004-03-26 Angus Leeming <leeming@lyx.org>
2850 * src/BufferView_pimpl.C:
2851 * src/CutAndPaste.C:
2854 * src/output_plaintext.C:
2855 * src/outputparams.h:
2856 * src/paragraph_funcs.C:
2860 * src/frontends/controllers/ControlErrorList.C:
2861 * src/frontends/gtk/FileDialogPrivate.C:
2862 * src/frontends/gtk/GPainter.C:
2863 * src/frontends/gtk/GToolbar.C:
2864 * src/frontends/qt2/QRef.C:
2865 * src/mathed/math_scriptinset.C: squash compiler warnings.
2867 2004-03-26 Angus Leeming <leeming@lyx.org>
2869 * ispell.C (LaunchIspell::start):
2870 * lyx_cb.C (AutoSaveBuffer::start):
2871 invoke run(DontWait) rather than runNonBlocking().
2873 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2875 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2877 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2879 * kbsequence.C (print): adjust
2881 * kbmap.C (printKeySym): rename and change signature
2882 (printKey): use LyXKeySym::print()
2884 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2886 * undo.C: add using std::advance to compile for stlport
2888 2004-03-24 Angus Leeming <leeming@lyx.org>
2890 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2891 it leads to a crash when no buffer is present.
2893 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2894 Martin Vermeer <martin.vermeer@hut.fi>
2896 * lyxfunc.C (dispatch):
2897 * bufferparams.C (readToken): use the new LColor::setColor
2899 * LColor.[Ch] (setColor): new version that takes two strings as
2900 argument and creates a new color entry if necessary
2902 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2904 * buffer.C (makeLaTeXFile): if the main latex file that is
2905 processed is usually a subdocument of some master, then pretend
2906 for a while that it is actually the master
2908 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2910 * buffer.C (getLabelList):
2911 (getBibkeyList): use getMasterBuffer()
2912 (getMasterBuffer): new method. Returns the main document in the
2913 case where one is using included documents.
2915 2004-03-25 André Pönitz <poenitz@gmx.net>
2919 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2921 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2923 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2924 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2926 * ParameterStruct.h: merge with ParagraphParameters
2928 * lyxtext.h: remove LyXText::parOffset() and getPar()
2930 * text3.C: Remove all 'manual' update calls. We do now one per user
2931 interaction which is completely sufficient.
2935 * BufferView_pimpl.C:
2936 * FontIterator.[Ch]:
2938 * ParagraphParameters.[Ch]:
2943 * cursor_slice.[Ch]:
2950 * output_docbook.[Ch]:
2951 * output_latex.[Ch]:
2952 * output_linuxdoc.[Ch]:
2953 * output_plaintext.[Ch]:
2955 * paragraph_funcs.[Ch]:
2956 * paragraph_pimpl.[Ch]:
2964 * frontends/controllers/ControlDocument.C:
2965 * frontends/controllers/ControlErrorList.C:
2966 * frontends/controllers/ControlSpellchecker.C:
2969 * insets/insetbase.h:
2970 * insets/insetbibitem.C:
2971 * insets/insetbox.C:
2972 * insets/insetbranch.C:
2973 * insets/insetcaption.C:
2974 * insets/insetcharstyle.C:
2975 * insets/insetcharstyle.h:
2976 * insets/insetcollapsable.C:
2977 * insets/insetcollapsable.h:
2978 * insets/insetert.C:
2979 * insets/insetfloat.C:
2980 * insets/insetfoot.C:
2981 * insets/insetmarginal.C:
2982 * insets/insetnote.C:
2983 * insets/insetoptarg.C:
2984 * insets/insettabular.C:
2985 * insets/insettext.C:
2986 * insets/insettext.h:
2987 * insets/insetwrap.C:
2988 * mathed/math_mboxinset.C:
2989 * mathed/math_nestinset.C:
2990 * mathed/math_scriptinset.C:
2991 * mathed/math_scriptinset.h:
2994 2004-03-24 Angus Leeming <leeming@lyx.org>
2996 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2997 deal with any child processes that have finished but are waiting to
2998 communicate this fact to the rest of LyX.
3000 2004-03-24 Angus Leeming <leeming@lyx.org>
3002 64-bit compile fixes.
3004 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3005 (c-tor): pass lyx::pos_types rather than ints.
3007 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3010 * text.C (Delete): compile fix.
3011 (getPar): ensure that function declaration is the same as that in
3014 2004-03-23 Angus Leeming <leeming@lyx.org>
3016 * ispell.C (LaunchIspell):
3017 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3018 a boost::shred_ptr rather than a std::auto_ptr.
3020 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3022 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3023 handle LFUN_FILE_INSERT_*
3025 * lyxrc.C (setDefaults, getDescription, output, read):
3026 * lyxrc.h: remove ps_command
3028 2004-03-22 Angus Leeming <leeming@lyx.org>
3030 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3031 Ensure that error_handler is processed once only and that all data
3032 is saved before attempting to output any warning messages.
3034 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3036 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3038 * tabular.C (TeXRow): crash fix (from Kayvan and André)
3040 2004-03-19 André Pönitz <poenitz@gmx.net>
3042 * cursor.[Ch] (reset): take main text inset as argument
3044 * BufferView: adjust
3045 * BufferView_pimpl.C: adjust
3047 * paragraph.[Ch]: fix completely broken operator=()
3049 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3051 * LColor.C (getFromLyXName): make sure that the color name is used
3054 2004-03-17 Angus Leeming <leeming@lyx.org>
3057 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3059 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3060 dialog and to kill a forked process.
3062 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3064 * text2.C (setCursorFromCoordinates): fix font problem
3066 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3068 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3069 bogus "rebuild cursor" code
3071 2004-03-11 André Pönitz <poenitz@gmx.net>
3073 * buffer.[Ch]: use InsetText instead of LyXText as container for
3076 * dociterator.[Ch]: drop the BufferView * member which is not needed
3077 anymore after the change to buffer.C
3079 * paragraph_funcs.C:
3083 * BufferView_pimpl.[Ch]:
3085 * cursor_slice.[Ch]: adjust
3087 * text3.C: fix bug in mathDispatch
3089 2004-03-08 André Pönitz <poenitz@gmx.net>
3091 * undo.[Ch]: use 'StableDocumentIterator' as base for
3094 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3097 * bufferparams.[Ch]: add jurabib support and param.
3099 * LaTeX.C: add FIXME/comment.
3101 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3103 * buffer.C: increment file format to 230.
3105 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3107 * cursor.C (dispatch): avoid infinite loops
3109 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3111 * rowpainter.C (paintSelection): fix x coordinates
3113 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3115 * text.C (rowBreakPoint): fix breaking before displayed insets
3117 2004-03-01 André Pönitz <poenitz@gmx.net>
3119 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3121 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3125 * BufferView_pimpl.C:
3133 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3139 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3140 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3142 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3144 * Bidi.[Ch] (computeTables): const correctness
3145 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3146 fill_hfill, fill_label_hfill and x from Row
3147 * lyxtext.h: prepareToPrint returns a RowMetrics
3148 * rowPainter.C: adjust
3149 * text.C (prepareToPrint): use width, not textWidth. adjust
3150 (redoParagraphInternal, cursorX): adjust
3151 * text2.C (getColumnNearX): adjust
3152 (init): put a default value to the top LyXText::width
3154 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3156 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3158 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3160 * lyxtext.h: add FontIterator class
3162 * text.C (FontIterator, operator*, operator->, operator++): add
3163 (rowBreakPoint, setRowWidth): adjust (fixing a
3166 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3168 * BufferView_pimpl.C (workAreaDispatch): allow also
3169 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3171 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3173 * text.C (rowBreakPoint): fix a bug showing with very large insets
3175 2004-02-25 André Pönitz <poenitz@gmx.net>
3178 * cursor.[Ch]: move some mathed specific code to mathed
3180 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3182 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3183 use_tempdir in preferences
3184 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3186 * lyx_main.C: ensure that tempdir is valid
3187 * lyxlex.h: correct typo
3188 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3189 * paragraph.[Ch] (isMultiLingual): make const
3190 * cursor.[Ch] (openable): make const
3192 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3194 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3196 2004-02-20 André Pönitz <poenitz@gmx.net>
3198 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3200 * cursor.[Ch]: prepare for localized getStatus()
3206 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3208 2004-02-20 André Pönitz <poenitz@gmx.net>
3210 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3212 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3214 * text2.C (setCursorFromCoordinates): switch to absolute coords
3216 (cursorDown): adjust
3217 * text3.C (dispatch): adjust
3219 2004-02-16 André Pönitz <poenitz@gmx.net>
3221 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3224 * cursor_slice.[Ch]: remove unneeded acessor function
3226 * lyxtext.h: rename rtl() to isRTL()
3234 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3236 * rowpainter.C (paintSelection): coord fix
3238 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3240 * Spacing.C: compile fix
3242 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3244 * cursor.C (dispatch): restore current_ before returning
3246 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3248 * text2.C (cursorUp, cursorDown): fix coords
3251 2004-02-12 André Pönitz <poenitz@gmx.net>
3256 * text3.C: add LCursor & parameter to most cursor movement functions
3257 remove usage of LyXText::cursorRow() and cursorPar()
3259 * cursor.[Ch]: add textRow() needed members
3262 * BufferView_pimpl.C:
3265 * BufferView_pimpl.C: adjust
3267 2004-02-11 André Pönitz <poenitz@gmx.net>
3271 * BufferView_pimpl.C: shift undo/redo handling
3273 * cursor.[Ch]: fix mathed crash
3276 * lyxtext.h: move selectionAsText to LCursor
3284 * rowpainter.C: fix excessive drawing
3286 2004-02-06 André Pönitz <poenitz@gmx.net>
3289 * BufferView_pimpl.[Ch]:
3290 * text3.C: move some text specific LFUN handling
3292 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3294 * text3.C (checkInsetHit): adjust coords
3295 * text2.C (getColumnNearX): adjust coords
3296 (edit): adjust coords
3297 * text.C (getRowNearY): add two asserts
3299 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3302 * format.C: add using std::distance to compile on gcc 2.95/stlport
3304 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3306 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3308 2004-02-04 André Pönitz <poenitz@gmx.net>
3310 * BufferView.[Ch] (insertInset):
3311 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3316 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3318 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3319 on the default clause of the switch
3320 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3321 wasn't catched by LCursor::dispatch
3323 2004-02-03 André Pönitz <poenitz@gmx.net>
3326 * cursor.[Ch]: some additional asserts
3328 * undo.[Ch]: remove LyXText dependency in interface
3332 * lyxtext.h (firstPar, lastPar): remove dead functions
3337 * paragraph.[Ch]: adjust
3339 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3341 * lyxfind.C (find): fix argument order in call to ::find
3343 2004-02-02 André Pönitz <poenitz@gmx.net>
3345 * cursor.[Ch]: remove direct access to anchor
3347 * text.C: remove findText() hack
3349 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3351 * iterators.[Ch] (lockPath): remove in favour of...
3352 * BufferView.[Ch] (setCursor): this addition
3353 * BufferView.C (putSelectionAt): adjust
3354 * undo.C (performUndoOrRedo): adjust
3355 * lyxfunc.C (dispatch): adjust
3357 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3359 * iterators.C (lockPath): add a missing slice
3360 * undo.C (performUndoOrRedo): remove redundant positioning code
3362 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
3364 * vc-backend.C (scanMaster): ";" -> ';'
3366 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
3368 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3369 std::binary_function
3371 * lyxtextclass.C (compare_name): rename to...
3372 (LayoutNamesEqual): ...this
3374 * lyxlex_pimpl.C (compare_tags): inherit from
3375 std::binary_function, put back into anon namespace
3377 * lyxfind.C (MatchString): inherig from std::binary_function
3378 (findChange): use empty() istead of !size()
3380 * format.C (FormatNamesEqual): new functor
3387 * converter.C (compare_Converter): rename to...
3388 (ConverterEqual): ...this, and fixup a bit.
3389 (getConverter): use it, and make function const
3390 (getNumber): use it, and make function const
3394 * bufferlist.C: add using boost::bind
3396 * MenuBackend.C (MenuNamesEqual): new functor
3397 (hasMenu): use it, and make function const
3398 (hasSubmenu): use nested bind to get rid of compare_memfun.
3400 2004-01-30 André Pönitz <poenitz@gmx.net>
3402 * BufferView_pimpl.C:
3405 * cursor_slice.[Ch]:
3408 * paragraph_funcs.C:
3409 * paragraph_funcs.h:
3413 * text3.C: move some of the edit(x,y) handling to the insets
3414 some coordinate changes.
3416 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
3418 * text.C: add using statements for std::advance and std::distance
3420 * paragraph.C: add using statement for std::distance
3422 * lyxfind.C: add using statement for std::advance
3424 * cursor.C (region): remove std:: from swap
3425 (openable): use nucleus in stead of operator->
3427 * BufferView.C: add using statements for std::distance and std::swap
3429 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
3431 * iterators.C: Remove the pimple, move the needed structures to
3432 the header file. Create accessor for the positions stack.
3433 (asPosIterator): remove function
3435 * PosIterator.C (PosIterator): move constructors to top of file
3436 (PosIterator): reimplement the constructor taking a ParIterator in
3438 (setFrom): new function
3439 (operator!=): inline it
3441 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
3443 * lyxfind.C (replaceAll): use std::advance
3445 * iterators.h: inherit from std::iterator.
3447 * PosIterator.C (advance, distance): remove
3448 * PosIterator.h: interit from std::iterator.
3450 2004-01-26 André Pönitz <poenitz@gmx.net>
3453 * BufferView_pimpl.[Ch]:
3457 * bufferview_funcs.C:
3467 * output_linuxdoc.C:
3468 * output_plaintext.C:
3470 * paragraph_funcs.[Ch]:
3471 * paragraph_pimpl.[Ch]:
3477 * text3.C: more IU: dumps most of the rest of the mathcursor
3478 implementation into cursor.[Ch]; "globalize" a bit of it.
3480 2004-01-25 Angus Leeming <leeming@lyx.org>
3482 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3484 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3486 * LaTeXFeatures.h: add nice_ and nice() const
3487 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3489 2004-01-20 André Pönitz <poenitz@gmx.net>
3492 * BufferView_pimpl.C:
3494 * bufferview_funcs.C:
3496 * cursor_slice.[Ch]:
3507 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3508 LCursor and mathcursor parts to LCursor and InsetBase.
3510 2004-01-15 André Pönitz <poenitz@gmx.net>
3512 * cursor_slice.[Ch]: add a few covienience functions
3514 * funcrequest.[Ch]: remove BufferView * member
3516 * BufferView_pimpl.C:
3523 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3525 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3527 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3528 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3530 2004-01-13 André Pönitz <poenitz@gmx.net>
3533 * lyxtext.h: hide cursor and selection anchor behind accessor function
3536 * BufferView_pimpl.[Ch]:
3538 * bufferview_funcs.C:
3548 * cursor_slice.[Ch]: some integer type changes for inset unification
3550 * lyxcursor.[hC]: remove, it's CursorSlice now.
3553 * BufferView_pimpl.[Ch]:
3554 * bufferview_funcs.C:
3560 * textcursor.[Ch]: adjust
3562 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3564 * text2.C (undoSpan): add and use
3565 * text.C (breakParagraph): use undoSpan (fix bug 578)
3568 2004-01-08 Angus Leeming <leeming@lyx.org>
3570 * BufferView_pimpl.C (MenuInsertLyXFile):
3571 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3572 * lyxfunc.C (menuNew, open, doImport):
3573 FileFilterList change to the FileDialog open and save functions.
3575 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
3577 * ShareContainer.h: make isEqual and isUnique adaptable
3579 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3581 2004-01-07 Angus Leeming <leeming@lyx.org>
3584 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3586 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3588 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3589 functions replacing find, replace and replaceAll.
3591 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3592 LFUN_WORDFIND(FORWARD|BACKWARD).
3594 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3596 * text.C (breakParagraph): remove an outdated #warning
3598 2004-01-07 André Pönitz <poenitz@gmx.net>
3600 * lyxfind.C: somewhat clearer logic
3602 * text.C: prevent crash in cursorX on unitialized row cache
3604 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3606 * lyxcursor.[Ch] (operator>): add
3607 * textcursor.C (selStart, selEnd): use std::min and std::max
3609 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3611 * Chktex.C: include boost/format.hpp
3613 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3615 * InsetList.C: replace functor MathcIt with adaptable functor
3617 (insetIterator): modify accordingly
3619 * BranchList.h: move the BranchNamesEqual functor here from...
3620 * BranchList.C: ... to here
3622 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3624 (add): replace a finding loop with std::find_if.
3626 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3628 * output_docbook.C: moving LatexParam functionality into
3631 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3633 * buffer.C: increment format to 229.
3635 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3638 * lyx_sty.[Ch]: remove minipageindent_def
3644 * text3.C: remove LFUN_INSET_MINIPAGE
3646 2003-12-28 Angus Leeming <leeming@lyx.org>
3648 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3650 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3652 * text2.C (setParagraph): fix off-by-one crash
3654 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3656 * output_docbook.C: header stuff for AGU
3658 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3660 * text2.C (redoCursor): remove
3663 * BufferView_pimpl.C: remove calls to redoCursor and
3664 setCursor(cursor.par(), cursor.pos()) all around
3666 2003-12-15 Angus Leeming <leeming@lyx.org>
3668 * buffer.C: up the format to 228.
3670 2003-12-15 André Pönitz <poenitz@gmx.net>
3672 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3677 * BufferView_pimpl.C:
3686 2003-12-15 Angus Leeming <leeming@lyx.org>
3688 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3689 than getFromGUIName to manipulate the color.
3691 2003-12-14 Angus Leeming <leeming@lyx.org>
3693 * BranchList.[Ch]: minimize the API.
3694 (Branch::getBranch, getColor): now return a 'const &'.
3695 (Branch::setSelected) now returns a bool set to true if the
3696 selection status changes.
3697 (BranchList::clear, size, getColor, setColor, setSelected,
3698 allBranches, allSelected, separator): removed.
3699 (BranchList::find): new functions, returning the Branch with
3701 (BranchList::add, remove): return a bool indicating that
3702 the operation was successful.
3704 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3705 new InsetBranch::isBranchSlected member function.
3707 * LColor.[Ch]: mimimize the API.
3708 (fill): renamed as addColor and made private.
3709 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3710 versions of these functions taking a string arg have been removed.
3712 * bufferparams.C (readToken):
3713 * lyxfunc.C (dispatch):
3714 * lyxrc.C (read): changes due to the altered BranchList and
3717 * factory.C (createInset, readInset): changes due to altered
3720 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3723 * lyxfunc.C: remove insetminipage. "minipage-insert"
3724 now produces a frameless minipage box inset.
3726 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3728 * textcursor.[Ch] (selStart,selEnd): add new methods
3729 remove selection::start, end, use LyXCursor::operator<
3730 * lyxcursor.[Ch] (operator<): add
3731 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3732 * BufferView.[Ch] (unsetXSel): add
3733 * text2.C (clearSelection): use unsetXSel,adjust
3736 * rowpainter.C: adjust
3737 * bufferview_funcs.C (put_selection_at): adjust
3739 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3741 * BufferView_pimpl.C: small coord. correction
3743 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3745 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3746 dragging over the splash screen.
3748 2003-12-11 Angus Leeming <leeming@lyx.org>
3750 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3751 as it is now handled in LyXText::dispatch.
3753 * text3.C (doInsertInset): remove a level of nesting.
3755 2003-12-11 Angus Leeming <leeming@lyx.org>
3757 * factory.C (createInset): changes due to the changed interface to
3758 InsetCommandMailer::string2params.
3760 2003-12-10 Angus Leeming <leeming@lyx.org>
3762 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3763 'dialog-show-new-inset <inset name>'
3765 2003-12-10 Angus Leeming <leeming@lyx.org>
3767 * buffer.C: up the format to 227.
3769 * factory.C: the box inset is now identified simply by 'Box'.
3771 2003-12-10 Angus Leeming <leeming@lyx.org>
3773 * buffer.C: up the format to 226.
3775 * factory.C: the note inset is now identified simply by 'Note'.
3777 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3779 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3780 when a pit is enough. Standarize a couple of loops.
3782 2003-12-05 Angus Leeming <leeming@lyx.org>
3784 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3785 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3786 data to the re-worked "log" dialog.
3788 2003-12-03 André Pönitz <poenitz@gmx.net>
3794 * paragraph_funcs.C:
3796 * text2.C: use Inset::getText instead of Inset::getParagraph
3798 2003-12-03 André Pönitz <poenitz@gmx.net>
3802 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3803 InsetText::read() as LyXText::read()
3805 2003-12-02 Angus Leeming <leeming@lyx.org>
3807 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3808 type. Add a comment in the implementation that the function uses
3809 the stream's bad() function rather than fail() as the std::streams
3812 2003-12-02 André Pönitz <poenitz@gmx.net>
3814 * lyxlex.[Ch]: make interface more similar to std::stream
3816 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3818 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3820 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3822 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3824 * vspace.[Ch]: remove VSpace::NONE
3826 2003-12-01 André Pönitz <poenitz@gmx.net>
3829 * lyxtext.h: move ParagraphList member to LyXText
3830 rename LyXText::ownerParagraphs to LyXText::paragraph
3833 * bufferview_funcs.C:
3843 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3845 * undo.C: fix cursor positioning
3847 2003-12-01 John Levon <levon@movementarian.org>
3849 * BufferView_pimpl.C: fix a crash on exit with
3852 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3854 * BranchList.C: fix setSelected() method.
3856 2003-11-28 André Pönitz <poenitz@gmx.net>
3858 * ParagraphParameters.[Ch]:
3859 * ParameterStruct.h: remove space above/below from Paragraph to
3862 * BufferView_pimpl.C:
3868 * paragraph_funcs.C:
3874 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3876 * factory.C: Syntax change for CharStyles
3878 2003-11-28 André Pönitz <poenitz@gmx.net>
3883 * buffer.[Ch]: move LyXText member
3885 2003-11-28 André Pönitz <poenitz@gmx.net>
3887 * BufferView.[Ch]: make LyXText * text a private member
3889 * BufferView_pimpl.C:
3900 * output_plaintext.C: cleanup
3902 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3905 * lyxtextclass.[Ch]: parametrize SGML document header
3907 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3910 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3913 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3915 * text2.C (setFont): rework using PosIterator (no more recursive)
3916 (setCharFont): no more needed
3917 (setLayout): no more selection cursors fiddling (done by redoCursor)
3918 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3919 destroy remaining ones)
3921 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3923 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3925 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3928 * text3.C: adjust + re-allow multi par depth changes
3929 * textcursor.C: simplify a bit
3931 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3937 * src/output_docbook.C:
3938 * src/output_latex.C:
3943 * src/text2.C: Introducing a number of tags parametrizing various
3944 XML formats that we may want to support
3946 2003-11-25 André Pönitz <poenitz@gmx.net>
3948 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3950 * lyxtext.h (leftMargin/rightMargin): simplify interface
3957 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3959 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3960 master file to any child files. Fixes bug 546.
3962 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3964 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3966 2003-11-24 André Pönitz <poenitz@gmx.net>
3968 * rowpainter.C: simplification
3970 * text2.C (updateCounters): remove call to redoParagraph on
3971 changed labels as this is far too expensive.
3973 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3975 * converter.C (convert): fix a crash: this function gets
3976 called with buffer == 0 from importer code.
3978 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3980 * text3.C (cursorPrevious): make sure that we do not compare
3981 iterators form different containers.
3984 * rowpainter.C (paintSelection): make sure that we do not compare
3985 iterators from different containers.
3987 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3988 iterators from different ParagraphList containers.
3991 * text2.C (LyXText): change order of initialization slightly
3992 (operator=): new function. copy all variables except cache_par_
3993 (moveUp): make sure that we do not compare iterators from
3994 different ParagraphList constainers.
3997 * text.C (firstPar): new function
3998 (lastPar): new function
3999 (endPar): new function
4001 * lyxtext.h: move things around and group public functions, public
4002 variables, private functions, private variables
4004 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4006 * factory.C: change call to InsetERT constructor to avoid
4007 additional invocation of method status
4008 * text2.C (toggleInset): remove redundant update() call
4009 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4010 instead of a Bufferview pointer
4012 2003-11-21 André Pönitz <poenitz@gmx.net>
4014 * rowpainter.C: simplification
4016 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4018 * text3.C (dispatch): make possible to extend a word/row selection
4021 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4023 * lyxtext.h: x0_,y0_ -> xo_,yo_
4024 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4025 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4026 * rowpainter.C (paintRows): paint full paragraphs
4028 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4030 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4033 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4035 * lyxtext.h: add x0_, y0_
4036 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4037 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4039 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4041 * text2.C (setCursorIntern): move the x_target update here *
4042 * text3.C: change some bv() to true/false in calls to
4043 cursorUp/Down/Right/Left
4044 * cursor.C: use helper function.
4046 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4048 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4049 * paragraph_funcs.[Ch]: correct comment
4050 * rowpainter.C: do not paint selections away from bv->cursor()
4051 Fix a long standing selection painting bug.
4052 * text3.C: generalize mouse-selection code to LyXTexts other that
4054 * textcursor.C: do not use y coords if we can use par offsets
4056 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4058 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4059 cursor position after e.g. inset insert)
4061 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4063 * lyxfind.C (replace): adjust to locking removal + some
4066 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4068 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4071 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4074 * output_docbook.C: XML sanitation: new layout
4075 parameters InnerTag and CommandDepth
4077 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4079 * BufferView_pimpl.C:
4081 * text3.C: Fix the insertion and modification of button-style
4084 2003-11-13 André Pönitz <poenitz@gmx.net>
4086 * InsetList.[Ch]: remove deleteLyXText
4088 * paragraph.[Ch]: cache beginOfBody position
4093 * text3.C: remove superfluous update() calls
4097 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4099 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4100 * BufferView.C (fitLockedInsetCursor): remove
4101 * cursor.[Ch] (getDim): add
4102 * text.C (getRowNearY): add faster version
4103 * text3.C: remove some update calls
4105 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4117 * text3.C: The Character Style /XML short element patch.
4119 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4122 * factory.C: Small step to solving 'unable to insert some insets'
4125 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4127 * cursor.[Ch] (updatePos): new function for updating the y
4128 position of the tip inset
4129 * bufferview_funcs.C (put_selection_at):
4130 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4132 2003-11-11 André Pönitz <poenitz@gmx.net>
4134 * text.C: remove big comment on invalid Paragraph pointers as it is
4137 2003-11-11 André Pönitz <poenitz@gmx.net>
4139 * text_funcs.[Ch]: merge with ...
4147 * Makefile.am: remove text_funcs.[Ch]
4149 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4151 * cursor.C (getPos): return absolute cached y coord
4153 * BufferView_pimpl.C (fitCursor): new simplistic code
4154 (workAreaDispatch): add a fitCursor call
4156 2003-11-10 André Pönitz <poenitz@gmx.net>
4159 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4161 2003-11-10 André Pönitz <poenitz@gmx.net>
4163 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4164 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4165 indicate that the cursor needs to leave an inset
4167 * lyxtext.h: remove inset locking
4169 * cursor.[Ch]: re-implement functionality provided by inset locking
4172 * BufferView_pimpl.[Ch]:
4174 * bufferview_funcs.[Ch]:
4186 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4188 * PosIterator.[Ch]: replace the stack with a vector, add inset
4190 * iterators.[C]: adjust
4192 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4194 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4196 * paragraph_funcs.C (readParToken): put the correct id in the
4197 error item, not the id of the top paragraph
4199 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4201 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4202 * bufferview_funcs.C (put_selection_at): use the above
4204 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4206 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4208 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4210 * output_linuxdoc.h:
4211 * output_plaintext.h:
4213 * output_docbook.h: add #include statements
4215 2003-11-05 José Matos <jamatos@lyx.org>
4217 * output_docbook.[Ch]:
4218 * output_latex.[Ch]:
4219 * output_linuxdoc.[Ch]:
4220 * output_plaintext.[Ch]: New files for output formats.
4221 * output.[Ch]: New file for helper functions.
4224 * paragraph_funcs.[Ch]: output functions moved to new files.
4226 * outputparams.h: rename of latexrunparams.h
4234 * paragraph_funcs.[Ch]:
4235 * paragraph_pimpl.[Ch]:
4236 * tabular.[Ch]: rename ascii to plaintext
4237 and LatexRunParams to OutputParams.
4239 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4241 * iterators.[Ch] (text): require bv argument
4242 * undo.C (recordUndo):
4243 * lyxfunc.C (dispatch):
4244 * bufferview_funcs.C (put_selection_at): adjust
4246 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
4248 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4250 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4252 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4255 2003-11-04 André Pönitz <poenitz@gmx.net>
4257 * cursor.[Ch]: restructure
4260 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4262 * iterators.[Ch] (asCursor): remove
4264 * lfuns.h: remove LFUN_INSET_EDIT
4270 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4272 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4274 * lyxfind.[Ch]: complete overhaul
4275 * BufferView_pimpl.C:
4277 * paragraph.[Ch] (insert): add
4279 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4283 * text.C: remove dead spellcheck code
4285 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4287 * dispatchresult.h: add a val setter
4289 * cursor.C (dispatch): use a tempvar for data_[i]
4291 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4293 * PosIterator.[Ch]: compile fix
4295 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4297 * text.C (cursorPar): deactivate the cursor cache
4299 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4301 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4303 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4305 * text3.C (dispatch): adjust for new DisptchResult semantics.
4307 * lyxfunc.C (dispatch): handle update when return from
4308 Cursor::dispatch, adjust for new DispatchResult semantics.
4310 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4311 DispatchResult(true) mean to not update. Add class functions for
4312 setting dispatched and update, as well as reading.
4314 * cursor.C (dispatch): don't handle update here
4316 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4318 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4319 * trans_mgr.C: adjust
4321 * paragraph_funcs.C (readParToken): exception safety
4323 * lyxvc.h: store the vcs pointer in a scoped_ptr
4326 * lyxsocket.C (serverCallback): exception safety
4328 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4330 * ispell.C (clone): make it return a auto_ptr
4332 * factory.C (createInset): exception safety
4333 (readInset): exception safety
4335 * bufferlist.C (newBuffer): exception safety
4337 * Thesaurus.C (Thesaurus): use initialization for aik_
4339 * MenuBackend.C (expandToc): exception safety.
4341 2003-11-03 André Pönitz <poenitz@gmx.net>
4345 * bufferview_funcs.C: remove getInsetFromId()
4348 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4354 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4356 * PosIterator.C (distance, advance): new
4357 * bufferview_funcs.[Ch] (put_selection_at): new
4358 * iterators.[Ch] (lockPath): new
4360 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4362 * iterators.[Ch] (asPosIterator): added
4363 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4364 * PosIterator.[Ch]: added
4366 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4370 * cursor.C (dispatch):
4371 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4373 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4374 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4375 contructor, add a class function dispatched. Remove operator>=
4377 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4379 * debug.C: only use the default constructor for debugstream
4382 * main.C (main): include debug.h and setup the lyxerr streambuf
4385 2003-10-31 José Matos <jamatos@lyx.org>
4387 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4389 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4390 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4391 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4392 * paragraph_pimpl.C (simpleTeXSpecialC):
4393 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4394 add LatexRunParams argument.
4396 * exporter.C (Export): change call accordingly.
4398 * latexrunparams.h: add new member to take care of the other backends.
4399 2003-10-30 José Matos <jamatos@lyx.org>
4401 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4402 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4403 factorise code for paragraph output.
4405 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4408 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4410 * text3.C (dispatch):
4411 * lyxfunc.C (dispatch):
4412 * cursor.C (dispatch):
4413 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4415 * dispatchresult.h: make the dispatch_result_t ctor explicit
4417 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4420 * buffer.C: small refactoring of docbook stuff
4422 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4424 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4427 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4429 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4430 operator dispatch_result_t, and operators for == != and >=
4432 * cursor.C (dispatch): adjust for operator dispatch_result_t
4433 removal. comment out call to update
4435 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4437 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4445 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4448 * dispatchresult.h: new file, DispatchResult broken out of
4451 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4453 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4455 * text.C (rowBreakPoint): put a hack inside #if 0
4457 2003-10-28 André Pönitz <poenitz@gmx.net>
4461 * paragraph_funcs.C:
4464 * text2.C: general cleanup (lots of small stuff)
4466 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4468 * text2.C (cursorEnd): simple fix to the "end key goes to one
4469 before the end on last row" bug
4471 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4473 * text.C (backspace): fix the "zombie characters"
4475 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4477 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4479 2003-10-27 André Pönitz <poenitz@gmx.net>
4481 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4483 * factory.C: handle new InsetPagebreak, InsetLine
4485 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4486 and move handling into new InsetPagebreak, InsetLine
4488 * BufferView_pimpl.C:
4490 * ParagraphParameters.C:
4491 * ParameterStruct.h:
4496 * paragraph_funcs.C:
4497 * paragraph_pimpl.C:
4503 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4506 * lyxrow_funcs.[Ch]:
4512 * text3.C: remove lastPos uses in favour of Row::endpos
4514 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4516 * undo.C (performUndoOrRedo): fix two crashes by setting a
4517 cursor by hand and reordering some calls. Use bv->lockInset instead
4518 of inset->edit because the latter loses cursor information
4520 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4522 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4524 (rowBreakPoint): fix width. change point to point + 1.
4525 Add a missing check.
4527 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4530 * lyxfunc.C: fix (at least partly) the problems
4531 with the Nav menu and headers inside branch insets
4534 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4536 * paragraph.C (getChar): add strong asserts
4538 * lyxrow_funcs.C (lastPos): remove hideous hack
4540 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4541 (fill): adjust to that (avoid an infinite loop)
4543 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4545 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4547 2003-10-23 André Pönitz <poenitz@gmx.net>
4549 * RowList_fwd.h: change list<> to vector<> to gain speed
4550 after suggestion from Alfredo
4552 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4554 * lyxtext.h: move the bidi stuff from here...
4557 * Bidi.[Ch]: ... to here
4559 2003-10-23 André Pönitz <poenitz@gmx.net>
4562 * text.C (isLastRow, isFirstRow): new functions
4564 * paragraph.h: new width cache member
4566 * rowpainter.C: replace RowList::iterator with Row & where possible
4568 * lyxfunc.C: replace several view()->text with a single call
4570 * toc.C: fix 'unused' warning
4572 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4574 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4575 when woring with stream::pos_type
4576 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4578 2003-10-22 André Pönitz <poenitz@gmx.net>
4581 * text.C: use Row & instead of RowList::iterator
4583 * lyxrow.h: rename end() to endpos()
4589 2003-10-22 Angus Leeming <leeming@lyx.org>
4591 * buffer.[Ch] (fully_loaded): new member function, returning true
4592 only when the file has been loaded fully.
4593 Used to prevent the premature generation of previews and by the
4594 citation inset to prevent computation of the natbib-style label.
4596 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4597 templates are all set up.
4599 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4601 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4603 * text.C: fixed an "oops" in the "is a bit silly"
4606 2003-10-21 André Pönitz <poenitz@gmx.net>
4608 * FuncStatus.[Ch]: small stuff, whitespace
4610 * lyxfont.[Ch]: operator<<() for debug reasons
4614 * lyxtext.h: whitespace, spelling
4616 * paragraph.C: naming of variables
4619 * text2.C: small stuff
4622 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4624 * text.C: (1) finish off the inset display() work;
4625 (2) fix the "is a bit silly" bug (accessing char
4628 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4630 * text.C: re-introduce display() for insets, fixing the
4631 various bugs (stretch of line above, math inset
4634 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4636 * text.C (rightMargin): remove spurious semicolon
4638 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4641 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4643 * text3.C: fix one crash due to wrong cursor def
4645 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4647 * vc-backend.C (scanMaster): make the regex static
4649 * LaTeX.C (scanAuxFile): make the regexs static
4651 * text3.C (doInsertInset, dispatch, dispatch):
4652 * text2.C (cursorUp, cursorDown):
4653 * text.C (selectNextWordToSpellcheck):
4654 * BufferView_pimpl.C (dispatch):
4655 * lyxfunc.C (dispatch): localDispatch -> dispatch
4657 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4659 * lyxsocket.C: include <cerrno>
4661 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4663 * lyxfunc.C (dispatch): remove textcache stuff
4665 * bufferlist.C (release): remove textcache stuff
4668 * TextCache.C: delete file
4669 * TextCache.h: delete file
4671 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4673 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4674 delete of the bv_->text.
4675 (resizeCurrentBuffer): remove texcache stuff
4676 (workAreaResize): ditto
4678 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4680 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4683 2003-10-16 André Pönitz <poenitz@gmx.net>
4690 * text3.C: speed up by storing y positions per paragraph plus per-row
4691 offset instead of having a 'full' y position in the row.
4693 2003-10-15 André Pönitz <poenitz@gmx.net>
4697 * undo.[Ch]: make undo aware of inner insets
4699 2003-10-14 Angus Leeming <leeming@lyx.org>
4701 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4702 static member functions LyX::ref() and LyX::cref.
4703 (lastfiles): new accessor functions for the new lastfiles_ member var.
4704 (addLyXView, views_): add a new LyXView to the list of views_.
4705 (updateInset): loop over all LyXViews to call their own updateInset
4706 member function, returning a pointer to the Buffer owning the inset.
4708 * BufferView_pimpl.C (loadLyXFile):
4709 * MenuBackend.C (expandLastfiles):
4710 * bufferlist.C (MenuWrite, QuitLyX):
4711 lastfiles is no longer a global variable.
4712 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4714 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4715 static function. Access through LyX::cref().emergencyCleanup().
4717 2003-10-14 André Pönitz <poenitz@gmx.net>
4719 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4721 * undo.[Ch]: restoring part of 'undo in insets'
4724 * undo_funcs.[Ch]: merge with undo.[Ch]
4726 * tabular.C: small cleansing stuff
4728 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4730 * paragraph_funcs.C (readParToken): report unknown insets as error
4731 boxes. Use the outer paragraph as location (also for unknown
4734 * factory.C (readInset): do not abort on reading an unknown inset.
4735 Eat it and return 0.
4737 2003-10-13 Angus Leeming <leeming@lyx.org>
4739 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4741 * lyxrc.C: displayTranslator is now a function,
4742 declared in GraphicsTypes.h.
4744 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4746 * format.C: new placeholder $$a to pass the socket address.
4748 * bufferlist.[Ch]: new function getBufferFromTmp.
4750 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4751 files in the temporary dir.
4753 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4755 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4757 * Makefile.am: add lyxsocket.[Ch].
4759 * lyx_main.C (error_handler): handle SIGPIPE.
4761 2003-10-13 André Pönitz <poenitz@gmx.net>
4763 * BufferView_pimpl.C:
4768 * undo_funcs.[Ch]: use paroffset_type instead of
4769 ParagraphList::iterators to prevent multiple conversion
4770 (and get a more robust interface)
4772 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4774 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4776 * text3.C (dispatch): ditto
4778 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4780 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4781 move the onlyfile, use onlyfile instead of foundfile in a couple
4784 * DepTable.C (update): flush the error stream a bit more
4786 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4788 * lyxserver.C (callback): adjust
4790 * lyxfunc.C (getStatus): add a missing brace in commented code
4791 (ensureBufferClean): reindent
4792 (dispatch): delete version taking a string
4794 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4796 * LaTeX.C (deplog): move found file handlig from here...
4797 (handleFoundFile): .. to new function here.
4798 (deplog): make sure to discover several files mentioned on the
4801 2003-10-10 André Pönitz <poenitz@gmx.net>
4808 * text3.C: fix some of the tabular crashes
4810 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4812 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4814 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4816 2003-10-09 André Pönitz <poenitz@gmx.net>
4818 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4821 * BufferView_pimpl.C:
4822 * bufferview_funcs.C:
4833 * undo_funcs.C: adjust
4835 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4837 * text2.C (incrementItemDepth): new function, use a backtracking
4838 algorithm to discover the correct item depth.
4839 (resetEnumCounterIfNeeded): new function, use a backtracking
4840 algorithm to discover if counter reset is needed.
4841 (setCounter): use them. Simplify a bit. Add different labels for
4842 different item depths for itemize.
4844 * paragraph.C (Paragraph): remove initialization of enumdepth
4847 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4848 enumerate and itemize. Change the type of itemdepth to signed char.
4850 2003-10-08 André Pönitz <poenitz@gmx.net>
4852 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4857 * tabular.[Ch]: fix crash after 'row-insert'
4859 2003-10-08 Angus Leeming <leeming@lyx.org>
4861 Fix doxygen warnings.
4863 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4864 Remove CutAndPaste:: prefix from header file declaration.
4866 * LColor.h (fill): remove LColor:: prefix from declaration.
4868 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4869 use lyx::depth_type rather than Paragraph::depth_type so that
4870 header file and .C file match.
4872 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4874 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4875 * aspell.C: \file aspell_local.C -> \file aspell.C
4876 * gettext.C: \file gettext.C -> \file src/gettext.C
4877 * gettext.h: \file gettext.h -> \file src/gettext.h
4878 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4879 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4880 * text.C: \file text.C -> \file src/text.C
4882 * toc.C: move comment so that doxygen is not confused.
4884 2003-10-07 Angus Leeming <leeming@lyx.org>
4886 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4888 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4891 * aspell_local.h: add forgotten std::string's.
4893 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4900 * text3.C: The Box patch. Fancybox support, minipage, parbox
4902 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4908 * ParagraphParameters.h:
4918 * lyxtextclasslist.h:
4921 * paragraph_pimpl.C:
4922 * textcursor.h: add <string> and other small fixes to make Lars'
4923 std::string patch compile with STLport.
4925 2003-10-06 Angus Leeming <leeming@lyx.org>
4927 * LColor.h: Add missing #include <string>.
4929 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4931 * All most all file in all subdirs: Make <string> be the prefered
4932 way of getting to std::string, add using declarations.
4934 2003-10-06 André Pönitz <poenitz@gmx.net>
4936 * metricsinfo.C: initialize LyXFont before changing attribute.
4937 (fixes the 'math in \emph is upright' bug)
4939 2003-10-06 André Pönitz <poenitz@gmx.net>
4941 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4943 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4946 * paragraph_pimpl.C: Small fixes to build using STLport
4948 2003-10-02 André Pönitz <poenitz@gmx.net>
4951 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4953 2003-10-01 André Pönitz <poenitz@gmx.net>
4955 * factory.C: assert early
4957 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4959 * lyx_main.C: remove the global debug object
4961 * debug.h: adjust for new debugstream
4963 * debug.C: adjust for new debugstream and keep the global debug
4966 2003-09-22 Angus Leeming <leeming@lyx.org>
4968 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4969 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4970 an incomplete class LyXFont.
4972 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4974 * factory.C: bug fix in branches
4976 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4978 * lyxfunc.C (processKeySym): adjust
4980 (dispatch): change arg name from ev to func, adjust
4981 (sendDispatchMessage): ditto
4983 * lyx_main.C (defaultKeyBindings): adjust keybindings
4984 (deadKeyBindings): ditto
4986 * kbsequence.C (addkey): return a FuncRequest
4988 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4990 * kbmap.C (bind): take a FuncRequest as arg, adjust
4993 (defkey): change to take a FuncRequest as arg, adjust
4994 (findbinding): take a FuncRequest as arg, adjust.
4996 * funcrequest.h (operator=): added
4998 * funcrequest.C (FuncRequest): default kb_action changed from
4999 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5001 * buffer.C (dispatch): simplify
5002 (dispatch): adjust to take a FuncRequest as arg, adjust
5004 * boost.C (assertion_failed): change assertion message slightly
5006 * ToolbarBackend.C (read): simplify
5008 * MenuBackend.C (binding): adjust call to findbinding, add a
5009 message if no binding is found.
5011 (expandToc): correct by adding a empty FuncRequest
5013 * LyXAction.C: include <boost/assert.hpp>
5014 (isPseudoAction): delete function
5015 (LookupFunc): change name to...
5016 (lookupFunc): this. change return type to FuncRequest.
5017 (getActionName): take kb_action as arg, simplify
5018 (funcHasFlag): add an assert, simplify.
5020 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5022 * toc.C (action): return a FuncRequest, simplify
5024 * lyxfunc.C (processKeySym): adjust
5025 (getStatus): delete version that takes an int.
5027 (dispatch): delete version that takes action as int
5029 (sendDispatchMessage): simplify and adjust
5031 * funcrequest.C (getArg): take unsigned int as arg
5033 * ToolbarBackend.C (read): adjust
5034 (add): delete version that takes func as a string.
5035 (getIton): take a FuncRequest as arg
5037 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5040 * MenuBackend.C (MenuItem): add a new construct that only takes a
5041 Kind, simplify the constructor use for submenus.
5043 (expandLastfiles): adjust
5044 (expandDocuments): adjust
5045 (expandFormats): adjust
5046 (expandFloatListInsert): adjust
5047 (expandFloatInsert): adjust
5048 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5050 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5051 Remove class variables lyx_pseudo_map and lyx_arg_map
5053 * LyXAction.C (searchActionArg): delete function
5054 (getPseudoAction): delete function
5055 (retrieveActionArg): delete function
5056 (LookupFunc): make it return kb_action, simplify.
5057 (getActionName): simplify
5059 * factory.C (createInset): fix new bug
5061 2003-09-19 Angus Leeming <leeming@lyx.org>
5063 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5064 masterFilename_ parameter in the include inset.
5066 * factory.C (createInset): changes due to the changes to InsetInclude.
5068 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5070 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5072 2003-09-18 Angus Leeming <leeming@lyx.org>
5075 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5076 Inset::fillWithBibKeys.
5077 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5079 2003-09-18 Angus Leeming <leeming@lyx.org>
5081 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5083 (ctor): pass and store a 'Buffer const &'
5084 (buffer): new member function.
5086 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5087 '*this' to the LaTeXFeatures ctor.
5089 2003-09-18 Angus Leeming <leeming@lyx.org>
5095 * text.C: rename EnumLColor as LColor_color.
5097 2003-09-18 Angus Leeming <leeming@lyx.org>
5099 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5100 remove #include "insets/insetbase.h" from cursor.h.
5102 2003-09-18 Angus Leeming <leeming@lyx.org>
5104 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5105 InsetOld_code to remove #include "inset.h".
5107 * iterators.C: add #include "insets/inset.h"
5109 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5111 * BufferView.C: remove more locking stuff that apparently doesn't
5112 do anything sensible.
5114 2003-09-16 André Pönitz <poenitz@gmx.net>
5117 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5120 2003-09-16 Angus Leeming <leeming@lyx.org>
5122 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5124 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5127 * paragraph.h: remove #include "lyxfont.h". Forward declare
5130 2003-09-16 Angus Leeming <leeming@lyx.org>
5132 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5133 of support/textutils.h.
5134 (isWord): move the contents of support/textutils.h's IsWordChar here.
5140 * text2.C: add #include "paragraph.h".
5143 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5145 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5151 * LaTeX.C: use namespace alias for lyx::support::os
5153 2003-09-16 Angus Leeming <leeming@lyx.org>
5156 * bufferview_funcs.C:
5159 * paragraph_pimpl.C:
5161 * text.C: add #include "LColor.h".
5163 2003-09-16 Angus Leeming <leeming@lyx.org>
5165 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5166 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5168 Store the FontBits::color variable as an int rather than as an
5169 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5172 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5173 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5174 string calls together.
5176 * lyxrc.C: add #include "LColor.h".
5178 2003-09-15 Angus Leeming <leeming@lyx.org>
5180 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5183 2003-09-15 Angus Leeming <leeming@lyx.org>
5185 * LColor.h: add an EnumLColor wrapper for LColor::color.
5187 * lyxfont.[Ch] (color, setColor, realColor):
5188 * lyxtext.h, text.C (backgroundColor):
5189 pass EnumLColor args to/from the functions, rather than LColor::color
5193 * lyxtext.h: forward declare EnumLColor.
5195 * lyx_main.C: add #include "LColor.h".
5197 2003-09-15 Angus Leeming <leeming@lyx.org>
5199 * .cvsignore: add lyx-gtk.
5201 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5206 * ParagraphParameters.C
5210 * bufferview_funcs.C
5220 * vc-backend.C: remove usage of STRCONV
5222 2003-09-15 Angus Leeming <leeming@lyx.org>
5224 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5225 explicitly define the color passed to the painter.
5227 2003-09-15 Angus Leeming <leeming@lyx.org>
5229 * bufferparams.C (BufferParams): reorder member initializers to avoid
5232 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5234 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5235 * text.C (updateRowPositions): remove an unusual nop
5237 2003-09-12 André Pönitz <poenitz@gmx.net>
5239 * BufferView_pimpl.C:
5248 * Counters.[Ch]: finish the 'automatic counters' job
5250 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5252 * aspell.C: include <boost/assert.cpp> (compile fix)
5254 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5256 * boost.C (assertion_failed): use lyx::support::abort instead of
5259 2003-09-10 Angus Leeming <leeming@lyx.org>
5261 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5262 with their _fwd progeny.
5264 2003-09-09 Angus Leeming <leeming@lyx.org>
5266 134 files throughtout the source tree: replace 'using namespace abc;'
5267 directives with the appropriate 'using abc::xyz;' declarations.
5269 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5271 * boost.C (emergencyCleanup): moved here from LAssert.c
5272 (assertion_failed): new function, called by BOOST_ASSERT
5274 * several files: change Assert to BOOST_ASSERT
5276 2003-09-09 Angus Leeming <leeming@lyx.org>
5278 * buffer.[Ch]: Add an Impl class and move Buffer's member
5279 variables into it. As a result move several header files out of
5282 Add header files to lots of .C files all over the tree as a result.
5284 2003-09-09 Angus Leeming <leeming@lyx.org>
5286 * buffer.[Ch]: make Buffer's member variables private. Add
5289 Lots of changes all over the tree as a result.
5291 2003-09-08 Angus Leeming <leeming@lyx.org>
5293 * graph.C: #include <config.h>.
5295 2003-09-08 Angus Leeming <leeming@lyx.org>
5299 * BufferView_pimpl.C:
5328 * toc.C: remove redundant using directives.
5330 2003-09-07 Angus Leeming <leeming@lyx.org>
5332 * LaTeXFeatures.h: remove #include "support/types.h".
5333 * ToolbarBackend.h: remove #include <algorithm>.
5334 * changes.h: remove #include <ctime>.
5335 * debug.h: remove #include <iosfwd>.
5336 * graph.h: remove #include "support/std_string.h".
5337 * lyx_main.h: remove #include <csignal>.
5338 * lyxlex_pimpl.h: remove #include <fstream>.
5339 * sgml.h: remove #include <algorithm>, <utility>.
5340 * toc.h: remove #include "support/std_ostream.h".
5341 Add #include <iosfwd>.
5343 2003-09-07 Angus Leeming <leeming@lyx.org>
5345 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5347 * converter.h: forward declare LatexRunParams.
5348 * encoding.h: remove #include "lyxrc.h".
5349 * lyxtext.h: remove #include "LColor.h".
5350 * lyxtextclass.h: remove #include "support/types.h".
5351 * trans.h: remove #include "tex-accent.h".
5352 * trans_mgr.h: remove #include "tex-accent.h".
5353 * insets/inset.h: remove #include "support/types.h", <vector>.
5354 * insets/insetcollapsable.h: remove #include "LColor.h".
5355 * insets/insetinclude.h: remove #include "dimension.h".
5356 * insets/insetlatexaccent.h: remove #include "dimension.h".
5357 * insets/insetoptarg.h:: remove #include "insettext.h".
5358 * insets/insettext.h: remove #include "dimension.h",
5359 <boost/shared_ptr.hpp>
5361 * insets/renderers.h: add #include "dimension.h".
5362 * insets/updatableinset.h: add #include "support/types.h".
5364 * many .C files: Associated changes.
5366 2003-09-06 Angus Leeming <leeming@lyx.org>
5368 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5369 one, inside testInvariant.
5371 * PrinterParams.C: new file.
5372 * PrinterParams.[Ch]: move the function bodies out of line.
5374 2003-09-06 Angus Leeming <leeming@lyx.org>
5376 * ParagraphParameters.h: forward declare ParameterStruct rather than
5377 including its header file.
5378 (depth): moved out-of-line.
5380 2003-09-06 Angus Leeming <leeming@lyx.org>
5382 * BufferView_pimpl.h:
5385 * lyxfunc.h: forward declare LyXKeySym rather than
5386 #include "frontends/LyXKeySym.h".
5388 * BufferView_pimpl.C:
5391 * lyxfunc.C: associated changes.
5393 2003-09-06 Angus Leeming <leeming@lyx.org>
5395 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5396 As a result, can remove the #include "insets/inset.h" from BufferView.h
5398 2003-09-06 Angus Leeming <leeming@lyx.org>
5400 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5401 As a result, can remove the #include "insets/inset.h" from BufferView.h
5403 2003-09-06 Angus Leeming <leeming@lyx.org>
5409 * bufferview_funcs.C:
5410 * BufferView_pimpl.C:
5415 * ParagraphParameters.C:
5420 * frontends/controllers/ControlDocument.C:
5421 * insets/insetcaption.C: rearrange the #includes into some sort of
5424 * buffer.h: remove #includes ErrorList.h, undo.h
5426 2003-09-06 Angus Leeming <leeming@lyx.org>
5428 * support/types.h: add a 'depth_type' typedef, used to store the
5429 nesting depth of a paragraph.
5432 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5433 defining explicitly.
5436 * paragraph_funcs.h:
5437 * ParagraphParameters.h:
5438 * sgml.h: use lyx::depth_type rather than Paragraph or
5439 ParameterStruct's depth_type.
5442 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5445 * BufferView_pimpl.C:
5447 * ParagraphParameters.C:
5450 * bufferview_funcs.C:
5457 * frontends/LyXView.C:
5458 * frontends/controllers/ControlDocument.C:
5459 * frontends/controllers/ControlErrorList.C:
5460 * insets/insetbibitem.C:
5461 * insets/insetbranch.C:
5462 * insets/insetcaption.C:
5463 * insets/insetcollapsable.C:
5464 * insets/insetenv.C:
5465 * insets/insetert.C:
5466 * insets/insetfloat.C:
5467 * insets/insetfoot.C:
5468 * insets/insetfootlike.C:
5469 * insets/insetnewline.C:
5470 * insets/insetquotes.C:
5471 * insets/insettabular.C:
5472 * insets/insettext.C:
5473 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5475 * frontends/controllers/ControlChanges.C: #include "changes.h".
5477 2003-09-06 Angus Leeming <leeming@lyx.org>
5479 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5480 than #including paragraph.h.
5483 * RowList.h: deleted. Superfluous.
5493 * insets/insettext.h: use ParagraphList_fwd.h rather than
5496 * paragraph.h: don't forward declare ParagraphList.
5499 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5500 rather than ParagraphList.h. paragraph.h is still needed for the
5501 Paragraph::depth_type parameters.
5503 * textcursor.h: enable it to compile stand-alone in light of the
5506 * bufferview_funcs.C:
5518 * frontends/controllers/ControlParagraph.C:
5519 * frontends/controllers/ControlTabular.C:
5520 * insets/insetmarginal.C:
5521 * insets/insetminipage.C:
5522 * insets/insetnote.C:
5523 * insets/insetoptarg.C: add header files needed to compile again.
5525 2003-09-06 Angus Leeming <leeming@lyx.org>
5527 * RowList_fwd.h: new file, forward-declaring Row rather than
5528 #including lyxrow.h.
5533 * insets/insettext.h: use it instead of RowList.h
5535 * bufferview_funcs.C:
5542 * text3.C: #include "RowList.h".
5544 2003-09-05 Angus Leeming <leeming@lyx.org>
5546 * factory.C (createInset):
5547 * vspace.C (c-tor): replace sscanf call with an istringstream.
5548 * ispell.C: re-add missing HP/UX headers.
5549 * lyxserver.C: re-add missing os2 headers.
5551 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5560 * text3.C: re-add missing system headers, needed for 2.95.2.
5562 2003-09-05 Angus Leeming <leeming@lyx.org>
5564 Changes most place everywhere due to the removal of using directives
5565 from support/std_sstream.h.
5567 2003-09-05 Angus Leeming <leeming@lyx.org>
5569 Replace LString.h with support/std_string.h,
5570 Lsstream.h with support/std_sstream.h,
5571 support/LIstream.h with support/std_istream.h,
5572 support/LOstream.h with support/std_ostream.h.
5574 Changes resulting throughout the tree.
5576 2003-09-05 Angus Leeming <leeming@lyx.org>
5578 * sgml.h: ensure that the header file can be compiled stand-alone.
5579 * *.C: strip out redundant #includes. (320 in total.)
5581 2003-09-04 Angus Leeming <leeming@lyx.org>
5583 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5584 here (from getPackages).
5586 * debug.[Ch]: add a new EXTERNAL tag.
5588 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5590 * text2.C (cursorEnd): simplify
5592 (getColumnNearX): adjust
5594 * text.C (computeBidiTables): adjust
5597 * rowpainter.C (paintChars): adjust
5598 (paintSelection): adjust
5599 (paintChangeBar): adjust
5602 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5604 (numberOfSeparators): adjust
5606 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5612 * text3.C: Restricts the mouse click functionality
5613 of insets like bibtex, include, toc and floatlist to the visible
5614 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5615 up the dialogs. Cursor has to be in front of the inset (i.e.
5616 start of row) for this to function.
5618 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5620 * bufferview_funcs.C (currentState): output row information
5622 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5624 * bufferview_funcs.C (currentState): output paragraph position
5626 2003-09-04 Angus Leeming <leeming@lyx.org>
5628 * FloatList.h: move out #include "Floating.h".
5629 * LaTeX.h: move out #include "DepTable.h".
5630 * LyXAction.h: move out #include "funcrequest.h".
5631 * buffer.h: move out #include "author.h", "iterators.h".
5632 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5633 * lyx_main.h: move out #include "errorlist.h".
5634 * lyxfunc.h: move out #include "FuncStatus.h".
5635 * lyxtext: move out #include "lyxcursor.h".
5636 * paragraph_pimpl.h: move out #include "counters.h".
5638 2003-09-03 Angus Leeming <leeming@lyx.org>
5640 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5641 preamble_snippets list, enabling us to add snippets to the preamble
5642 only if the snippet was not there already.
5644 2003-09-04 Angus Leeming <leeming@lyx.org>
5646 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5648 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5650 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5653 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5655 * BranchList.C: point fix, earlier forgotten
5657 2003-09-02 Angus Leeming <leeming@lyx.org>
5659 * box.C (contains): renamed from 'contained' after a fantastic
5662 2003-09-02 John Levon <levon@movementarian.org>
5668 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5670 2003-09-02 John Levon <levon@movementarian.org>
5672 * text2.C: simplification of cursorEnd(), including partial
5675 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5677 * buffer.C (readFile): add a space
5679 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5681 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5683 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5685 * buffer.C (readFile): new function, take a filename and a
5686 ParagraphList::iterator
5688 (readFile): adjust, make it private. don't use setStream, make
5689 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5690 always contain the filename.
5692 * BufferView.C (insertLyXFile): simplify and make it work for
5695 2003-08-30 John Levon <levon@movementarian.org>
5697 * Makefile.am: fix dist (from Kayvan)
5699 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5701 * most files: change to use const Buffer refs
5703 2003-08-27 André Pönitz <poenitz@gmx.net>
5705 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5706 on top of ownerPar().
5708 2003-08-27 John Levon <levon@movementarian.org>
5710 * funcrequest.C: properly initialise POD members
5712 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5714 * lyxtext.h (top_y): move top_y from here
5719 * BufferView_pimpl.[Ch]: to here
5720 * frontends/screen.C:
5721 * insets/insettabular.C:
5722 * insets/insettext.C: adjust
5723 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5725 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5728 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5730 2003-08-26 André Pönitz <poenitz@gmx.net>
5732 * paragraph_func.[Ch] (outerPar): new function
5735 * paragraph_funcs.C:
5736 * paragraph_funcs.h:
5737 * paragraph_pimpl.C:
5738 * text2.C: remove Inset::par_owner
5740 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5745 * text2.C: eliminates the needFullRow/display() stuff
5746 altogether, putting the logic in metrics/draw in the insets.
5748 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5750 * text2.C (redoParagraphInternal, redoParagraphs):
5751 * text.C (redoParagraph): add a call to updateRowPositions at the
5752 end of each 'metrics-like' call. Remove all others.
5753 (getRow): remove the 'y-computing' version.
5754 (getRowNearY): do not compute nor return the real y. Solve the
5755 'y < 0' problem and simplify.
5757 2003-08-22 Angus Leeming <leeming@lyx.org>
5759 * *.[Ch]: clean-up of licence and author blurbs.
5760 Also move config.h out of a few .h files and into a few .C files.
5762 2003-08-22 André Pönitz <poenitz@gmx.net>
5764 * lyxrow.[Ch]: add x_ and *fill_ members
5769 * text2.C: adjust/remove prepareToPrint() calls
5771 2003-08-22 André Pönitz <poenitz@gmx.net>
5773 * lyxrow.[Ch]: add end_ member
5775 * lyxrow_funcs.C: use LyXRow::end_
5777 * lyxtext.h (singleWidth): add LyXFont parameter
5780 * text2.C: adjust LyXText::singleWidth() calls
5782 * text.C (redoParagraph): simplify row breaking logic
5785 2003-08-19 André Pönitz <poenitz@gmx.net>
5787 * funcrequest.C: initialize button_ member
5790 * rowpainter.[Ch]: interface consolidation
5792 2003-08-18 André Pönitz <poenitz@gmx.net>
5795 * BufferView_pimpl.C:
5797 * paragraph_funcs.C:
5799 * text3.C: remove LyXScreen::draw() and fitCursor calls
5801 * BranchList.h: remove spurious semicolons
5803 * MenuBackend.C: fix branchlist related crash
5805 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5813 * bufferparams.[Ch]:
5817 * text3.C: implements the 'branch inset'
5818 idea. This allows the output of various versions of a document
5819 from a single source version, selectively outputing or suppressing
5820 output of parts of the text.
5821 This implementation contains a 'branch list editor' in a separate
5822 tab of the document settings dialog. Branches are user definable
5823 and have a "display colour" to distinguish them on-screen.
5825 ColorHandler was somewhat cleaned up.
5826 (1) make possible a dynamically growing LColor list by allowing
5827 the graphic context cache to grow along (vector);
5828 (2) eliminate an IMHO unnecessary step in colour allocation.
5830 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5832 * BufferView_pimpl.C: compile fix
5834 2003-08-15 André Pönitz <poenitz@gmx.net>
5836 * rowpainter.C: remove extra metrics calls
5838 * lyxtext.h: merge the two constructors into a single one,
5839 pass reference to owner's par list
5841 * BufferView_pimpl.C:
5845 2003-08-15 André Pönitz <poenitz@gmx.net>
5847 * lyxrow_funcs.[Ch]:
5850 * paragraph_funcs.C:
5855 * text_funcs.C: split LyXText::rowlist_ into individual
5856 Paragraph::rows_ chunks
5859 * BufferView_pimpl.[Ch]:
5862 * text3.C: remove toggleSelection()
5864 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5866 * bufferlist.C: beautify two alerts (shorter text of buttons)
5867 * buffer.C: Remove redundant ' ' from message
5869 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5870 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5871 rename VALIGN_CENTER to VALIGN_MIDDLE
5873 2003-08-11 André Pönitz <poenitz@gmx.net>
5875 * lyxtext.h (getPar):
5876 * text.C: new function
5878 2003-08-11 André Pönitz <poenitz@gmx.net>
5881 * tracer.[Ch]: remove unneeded files
5883 * InsetList.[Ch]: remove resizeInsetsLyXText()
5888 * text3.C: merge insertParagraphs() and appendParagraph()
5889 remove breakAgain(), update()
5891 * BufferView_pimpl.[Ch]:
5892 * bufferview_funcs.[Ch]:
5896 * tabular.C: adjust after text & InsetList changes.
5898 2003-08-08 André Pönitz <poenitz@gmx.net>
5900 * text.C (insertChar, backspace): replace rowlist fiddling
5901 with rebreak of full par
5904 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5905 checkParagraph, updateInset): removed
5907 2003-08-07 André Pönitz <poenitz@gmx.net>
5910 * text3.C: merge some LFUN handlers, remove dead code
5912 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5914 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5916 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5918 * text2.C (DEPM): fix part of bug 1255 and 1256
5920 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5922 * BufferView_pimpl.C (workAreaDispatch): change to use
5923 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5924 that are no mouse related.
5926 2003-08-05 André Pönitz <poenitz@gmx.net>
5929 * BufferView_pimpl.[Ch]:
5930 * bufferview_funcs.C:
5932 * text3.C: rip out "deep update"
5934 * textcursor.[Ch] (last_sel_cursor): remove unused member
5936 2003-08-04 André Pönitz <poenitz@gmx.net>
5939 * BufferView_pimpl.[Ch]:
5940 * ParagraphParameters.C:
5941 * bufferview_funcs.C:
5947 * text3.C: replace "complicated" BufferView::update(...) calls with
5950 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5952 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5954 * Makefile.am (lyx_SOURCES): add paper.h
5956 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5958 * Makefile.am: move things around so that both lyx-qt and
5959 lyx-xforms can be built (according to --with-frontend). Then lyx
5960 is a symbolic link to lyx-[firstfrontend]
5962 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5964 * Always use std::endl with lyxerr
5966 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5968 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5970 2003-08-01 André Pönitz <poenitz@gmx.net>
5973 * BufferView_pimpl.[Ch]:
5975 * text3.C: merge BufferView::repaint() and BufferView::update()
5977 2003-08-01 José Matos <jamatos@lyx.org>
5979 * buffer.[Ch]: file_format is no longer a buffer data element.
5981 2003-08-01 André Pönitz <poenitz@gmx.net>
5986 * text2.C: make redoParagraph more independent of current cursor
5988 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5990 * text2.C: remove unneeded members
5992 2003-07-30 André Pönitz <poenitz@gmx.net>
5994 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5996 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5997 create a single function...
5999 * paragraph_funcs.C (moveItem): ... here.
6002 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6004 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6006 * LColor.[Ch]: Add comment and greyedout logical colors.
6008 2003-07-30 André Pönitz <poenitz@gmx.net>
6010 * tabular.C: don't use Assert too heavily. This crashes where it
6013 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6015 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6016 is disabled (bug 1232)
6018 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6020 * factory.C: limited 'arg' scope
6022 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6024 * factory.C: fixed Note submenu issues
6026 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6028 * factory.C: submenu for Note/Comment/Greyedout
6030 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6033 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6035 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6038 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6039 greyedout. Patch provided by Jürgen Spitzmüller.
6041 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6043 * kbmap.C (read): fix error message when reading bind files
6045 2003-07-29 Angus Leeming <leeming@lyx.org>
6047 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6048 certainly does not do what it purports to do. I am doing it, and
6049 us, a favour by killing it.
6051 2003-07-28 José Matos <jamatos@lyx.org>
6053 * buffer.C (readBody, do_writeFile):
6054 * paragraph.C(readParagraph): \end_document replaces \the_end.
6056 2003-07-29 André Pönitz <poenitz@gmx.net>
6059 * BufferView_pimpl.[Ch]:
6063 * textcursor.[Ch]: remove toggleToggle & Co
6065 2003-07-28 José Matos <jamatos@fep.up.pt>
6067 * buffer.C (readParagraph):
6068 * params_func (readParToken, readParagraph):
6069 * paragraph.C (write): \layout -> \begin_layout.
6071 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6073 * lyxlex_pimpl.C (setFile): clean up slightly.
6075 * bufferparams.h: add compressed var
6077 * buffer_funcs.C (readFile): adjust for LyXLex change
6078 (newFile): ditto + simplify
6080 * buffer.C (writeFile): handle writing of compressed files
6082 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6083 Check if the file is compressed and set a bufferparm if so.
6085 * Makefile.am (lyx_LDADD): remove explicit -lz
6087 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6089 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6090 makeDocBookFile): put the real LyX version in the first line of
6094 * version.C.in: remove lyx_docversion
6096 * tabular.C (write_attribute): add a template-based version to
6097 write enums properly
6099 2003-07-28 André Pönitz <poenitz@gmx.net>
6104 * text3.C: use doubles again for x-coordinates. They are needed.
6106 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6108 * messages.C (getLocaleDir): use lyx_localedir()
6110 * lyxlex_pimpl.C (setFile): compress stuff
6112 * buffer.C (writeFile): add some compression stuff
6113 (do_writeFile): new func, dont call expliti close... will this
6116 * Makefile.am (lyx_LDADD): add -lz
6118 2003-07-28 José Matos <jamatos@fep.up.pt>
6120 * buffer.C: increment file format.
6121 * paragraph_funcs (readParagraph, readParToken):
6122 * paragraph.C (readParagraph): add \end_layout.
6124 2003-07-27 Angus Leeming <leeming@lyx.org>
6126 * Makefile.am: remove special casing for configure-time setting of
6127 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6129 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6130 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6132 2003-07-26 André Pönitz <poenitz@gmx.net>
6134 * paragraph_func.[Ch]:
6135 * paragraph.C (realizeFont): inline it whereever it is used
6140 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6143 2003-07-26 André Pönitz <poenitz@gmx.net>
6147 * text2.C: get rid of LyXText::need_break_row
6149 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6151 * toc.[Ch]: put namespace toc inside namespace lyx
6153 * MenuBackend.C (expandToc2): adjust for lyx::toc
6156 * lyxfunc.C (dispatch): adjust for lyx::find
6158 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6159 lyx::find instead. Reorganize a bit.
6160 (LyXReplace): rename to replace
6161 (LyXFind): rename to find
6163 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6166 2003-07-26 André Pönitz <poenitz@gmx.net>
6168 * text.C (setHeightOfRow): restrict scope of temporary variable
6170 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6171 code (never has been used?)
6173 2003-07-27 Asger Alstrup <alstrup@local>
6175 * text.C (fill): Optimise algorithm to exploit that we can reuse
6176 the LyXFont for many characters.
6177 (setHeightOfRow): Same thing.
6178 (rowBreakPoint): Same thing.
6180 2003-07-26 Asger Alstrup <alstrup@local>
6182 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6184 * text.C (singleWidth): Spurious font copying in hot-spot
6185 singleWidth avoided. Reorder tests for arabic for efficiency.
6187 * text.C (fill): handle empty paragraphs better.
6189 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6192 * encoding.h: add includes
6194 * lyxrc.C: remove reading of bind files
6196 * lyx_main.C (init): setup bindings and menus only if we have a
6199 * kbmap.C (read): new method. Do the actual reading of bind
6202 * converter.C (dvipdfm_options):
6205 (output): adapt PAPER_* enums.
6207 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6209 * bufferparams.h: remove paper-related enums from there
6211 * paper.h: New file. A trivial header file to hold paper-related
6212 enums. It should later expand to contain many paper-related
6215 * lyxrc.C: declare extern displayTranslator
6217 2003-07-27 José Matos <jamatos@fep.up.pt>
6219 * tabular.[Ch] (linuxdoc): add support for tables and figures
6222 2003-07-27 José Matos <jamatos@fep.up.pt>
6224 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6225 consistency in both functions.
6226 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6228 2003-07-26 Asger Alstrup <alstrup@local>
6230 * rowpainter.C (paintRows): Change algorithm to work directly on
6231 the insets rather than asking every character in the document
6232 whether its an inset.
6234 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6236 * buffer.C (openFileWrite): factorize some code
6238 2003-07-26 Angus Leeming <leeming@lyx.org>
6241 * lyx_main.[Ch]: replace occurances of system_tempdir with
6244 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6246 * rename Inset to InsetOld
6248 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6250 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6251 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6252 which I think is a bit clearer. EDIT is gone, since it was
6253 premature optimisation, and broken for mathed anyway.
6254 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6255 with cursor positioning in insets as well (math insets still do not
6256 work, but that's a different story anyway.) It mysteriously
6257 crashes sometimes with undo in the first paragraph, but I'm fairly
6258 confident that this is a compiler bug.
6260 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6262 * paragraph.C (Paragraph): adjust for new clone return type
6264 (copyIntoMinibuffer): ditto
6266 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6268 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6269 by not having a special case, and always doing a full rebreak of
6270 the document after undo.
6272 2003-07-23 Angus Leeming <leeming@lyx.org>
6274 * factory.C (createInset): InsetExternal::setParams now takes a
6277 2003-07-23 Angus Leeming <leeming@lyx.org>
6279 * factory.C (createInset): changed interface to the external and
6280 graphics mailers' string2params functions.
6282 2003-07-23 Angus Leeming <leeming@lyx.org>
6284 * factory.C (createInset): pass a
6285 Buffer const * parameter to InsetExternalMailer's string2params.
6287 2003-07-22 John Levon <levon@movementarian.org>
6289 * Thesaurus.h: include the right aiksaurus header
6291 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6293 * MenuBackend.C (expand): check menu shortcuts unconditionally
6295 2003-07-21 Angus Leeming <leeming@lyx.org>
6297 * factory.C (createInset): pass a
6298 buffer_path parameter to InsetGraphicsMailer's string2params.
6300 2003-07-21 Angus Leeming <leeming@lyx.org>
6302 * BufferView_pimpl.C (buffer):
6305 * lyxfunc.C (dispatch):
6306 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6307 rather than the grfx shortcut.
6309 2003-07-21 André Pönitz <poenitz@gmx.net>
6311 * rowpainter.C: remove unused variables
6314 * tabular_funcs.h: move to tabular.C
6315 * Makefile.am: adjust
6317 * tabular.[Ch]: basic optical cleaning
6319 * author.h: pass references, not values
6321 2003-07-18 André Pönitz <poenitz@gmx.net>
6329 * text3.C: two-phase drawing for InsetText and InsetTabular
6330 some float -> int changes.
6332 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6334 * lyx_main.C: fix the fix
6336 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6338 * lyx_main.C: fix a crash in batch mode if no files specified
6341 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6343 * format.[Ch] (papersize): moved to BufferParams
6344 * converter.[Ch] (dvips_options): moved to BufferParams
6345 (dvipdfm_options): moved to anon namespace
6346 * bufferparams.[Ch]: added above functions.
6348 2003-07-17 André Pönitz <poenitz@gmx.net>
6352 * text2.C: don't call inset->update() anymore
6354 * metricsinfo.[Ch]: add convenience constructor
6356 2003-07-16 André Pönitz <poenitz@gmx.net>
6361 * text2.C: replace the LyXCursor::irow_ member with
6362 on-demand computation of the value
6364 2003-07-16 John Levon <levon@movementarian.org>
6366 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6368 2003-07-15 André Pönitz <poenitz@gmx.net>
6371 * text2.C: remove no more needed refresh_row
6373 2003-07-15 André Pönitz <poenitz@gmx.net>
6378 * text3.C: refresh_status tristate -> need_update bool
6380 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6382 * lyxtext.h (init): remove reinit argument (act as if always true)
6383 * text2.C: adjust to that
6385 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6387 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6388 * text3.C: use it to delete selections in some cases
6389 (bugs 441, 673, 702, 954).
6391 2003-07-14 André Pönitz <poenitz@gmx.net>
6393 * rowpainter.[Ch]: reduce interface
6395 2003-07-14 André Pönitz <poenitz@gmx.net>
6397 * BufferView_pimpl.C:
6398 * text2.C: adjust after removing unused BufferView * argument
6400 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6402 * text2.C (init): fix a crash fired on resize
6404 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6406 * buffer.[Ch]: added new closing signal
6407 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6408 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6409 BufferView::Pimpl via the closing the signal
6411 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6413 * buffer.[Ch]: take out all bv-related from buffer
6415 * BufferView_pimpl.[Ch]: connect to new signals
6416 * CutAndPaste.C: removed useless asserts
6417 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6420 * lyxfunc.C: moved view-related funciontality from vc here
6421 * paragraph.C: removed outdated comments
6424 2003-07-10 André Pönitz <poenitz@gmx.net>
6426 * BufferView_pimpl.C:
6430 * text2.C: remove InsetText::InnerCache, clean up consequences
6432 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6434 * ispell.C: fix two typos in error messages
6436 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6438 * Extend Note inset to other forms of annotation like Comment
6439 and Greyedout. Right button click gives dialog.
6441 Files modified or added (+):
6445 * ControlNote.[Ch] +
6447 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6448 frontends/controllers
6452 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6454 * aspell.C: add missing namespace lyx::support
6456 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6458 * BufferView.[Ch] (newFile): Add
6459 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6460 * LaTeX.[Ch] (message): added this signal and use it
6461 * buffer.[Ch] (busy, message): added these signals and use them
6462 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6466 * importer.C: use buffer signals instead of direct bv calling
6467 * lyx_cb.[Ch] (ShowMessage): removed
6470 * paragraph_funcs.C:
6471 * text2.C: use buffer signals
6473 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6475 * introduce namespace lyx::graphics
6477 2003-07-02 André Pönitz <poenitz@gmx.net>
6479 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6481 2003-07-01 André Pönitz <poenitz@gmx.net>
6488 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6489 text*.C to text_func.C
6491 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6493 * introduce namespace lyx::support
6495 2003-06-30 André Pönitz <poenitz@gmx.net>
6500 * text.C: re-enable --with-included-string
6502 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6504 * textcursor.C: add <config.h>
6506 * text.C (getWord): remove const from word_location arg
6508 * lyxvc.C (getLogFile): fix const type order
6510 * lyxtext.h: remove const from word_location arg, add arg name
6512 * lyxlayout.h: currect type on labeltype.
6514 * importer.C: correct \file
6516 * converter.C (intToFormat): use std:: on ret val, ws changes
6518 * bufferlist.h: correct \file
6520 * buffer.C (makeLinuxDocFile): fix const type order
6521 (makeDocBookFile): ditto
6522 (fillWithBibKeys): use std:: on stdlib args.
6524 * CutAndPaste.C: fix authors.
6525 (availableSelections): use std:: on return vector
6527 2003-06-27 André Pönitz <poenitz@gmx.net>
6529 * BufferView_pimpl.C:
6530 * bufferview_funcs.C:
6538 * text3.C: remove LyXCursor::row_ member
6541 * text.C: rename fullRebreak() to partialRebreak() and implement
6542 a fullRebreak() that really bereks fully
6544 * textcursor.h: new struct for cursor-related data
6546 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6548 * lyx_main.C (LyX): get full path of document loaded on the
6551 2003-06-26 André Pönitz <poenitz@gmx.net>
6553 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6554 remove unused/broken operator>,<,>=.
6556 * text.C: remove only use of broken operator<= in an Assert().
6558 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6560 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6561 moved errorlist_.clear to showErrorList
6563 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6565 * converter.C (scanLog, runLaTeX):
6566 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6567 move the bv->showErrorList call to the callers
6568 * lyxfunc.C: i.e. here...
6570 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6571 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6572 namespace, the second to...
6573 * buffer_funcs (BufferFormat, parseErrors): added
6574 * errorlist.C (ErrorList(TeXErrors const &)): removed
6576 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6578 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6580 2003-06-24 "Garst R. Reese" <reese@isn.net>
6584 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6586 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6588 * version.C.in: change docversion to 1.4
6590 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6592 * buffer.C: fix a bug just introduced
6594 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6596 * buffer.[Ch]: added the parseError signal and use it, removed
6598 * BufferView.[Ch] (addError): moved to ...
6599 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6600 to the Buffer::parseError signal to catch (guess what) parse errors
6601 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6603 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6605 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6606 ability to create a buffer and to return an existing one from
6607 the list. Moved these functions to...
6608 * buffer_funcs.[Ch]: added
6609 * BufferView.[Ch] (loadLyXFile): added
6610 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6611 job removed from bufferlist::loadLyXFile.
6612 * buffer.C (setReadOnly): make it work without view
6613 (i.e added an if (users))
6615 2003-06-19 Angus Leeming <leeming@lyx.org>
6618 * LyXAction.C (init):
6619 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6620 with LFUN_DIALOG_SHOW <name> <data>.
6622 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6624 * CutAndPaste.C (availableSelections): small compilation fix for
6625 ancient (gcc 2.9x) compilers
6627 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6629 * text3.C (cursorNext): add tmp var
6631 * text2.C (updateCounters): for function calling out of for clause
6632 (replaceSelectionWithString): ditto
6633 (insertStringAsParagraphs): ditto
6634 (getColumnNearX): add tmp var
6635 (setCursorFromCoordinates): add tmp var
6636 (cursorDownParagraph): add tmp var
6637 (deleteEmptyParagraphMechanism): add tmp var
6639 * text.C (insertChar): add tmp var
6641 * rowpainter.C (paintDepthBar): add tmp var
6643 * CutAndPaste.C (availableSelections): potentially check all
6644 paragraphs in a cut to fill the shown strings.
6646 2003-06-18 André Pönitz <poenitz@gmx.net>
6648 * kbmap.[Ch]: use vector<> instead of list<>
6650 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6652 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6653 pasteSelection with index
6655 * text2.C (pasteSelection): modify, call pasteSelection with index
6657 * paragraph.C (asString): reimplement version with no interval to
6658 call the one with interval.
6660 * lyxtext.h: add index arg to pasteSelection
6662 * MenuBackend.C (MenuItem): handle PasteRecent
6663 (Menu::read::Menutags): add md_pasterecent
6665 (expandPasteRecent): new function
6668 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6670 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6672 (availableSelections): new function
6674 2003-06-17 Angus Leeming <leeming@lyx.org>
6676 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6678 2003-06-17 Angus Leeming <leeming@lyx.org>
6681 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6683 * lyxfunc.C (dispatch): invoke it.
6685 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6687 * iterators.C (operator++, ParPosition): reintroduce some
6688 const_cast for the benefit of older compilers.
6690 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6692 * text3.C (dispatch): do not modify clipboard when doing
6693 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6694 LFUN_DELETE_SKIP on a selection selection
6696 2003-06-16 André Pönitz <poenitz@gmx.net>
6702 * tabular.[Ch]: IU of clone() and getLabelList();
6704 2003-06-13 André Pönitz <poenitz@gmx.net>
6706 * tabular.h: compactification
6708 2003-06-12 André Pönitz <poenitz@gmx.net>
6712 * tabular_funcs.h: some renaming plus whitespace
6714 2003-06-12 André Pönitz <poenitz@gmx.net>
6717 * BufferView_pimpl.C:
6723 * toc.C: Return a Paragraph & for ParIterator::operator*()
6725 2003-06-11 John Levon <levon@movementarian.org>
6729 * ToolbarBackend.C: add "Toolbars" section and
6732 2003-06-10 Angus Leeming <leeming@lyx.org>
6735 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6737 * lyxfunc.C (dispatch): invoke it.
6739 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6741 * main.C: protect <ios> with HAVE_IOS
6742 (main): protect sync_with_stdio with HAVE_IOS
6744 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6746 * text2.C (cutSelection): adjust
6747 (pasteSelection): adjust
6749 * messages.C: handle get of empty string
6751 * main.C (main): use sync_with_stdio(false)
6753 * lyxfunc.C (dispatch): adjust
6755 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6756 (WriteAs): remove unneeded BufferView arg.
6758 * bufferparams.h: use correct types on papersize, papersize2 and
6761 * bufferparams.C (readToken): adjust for type
6762 (writeLaTeX): add missing cases to switch.
6764 * bufferlist.C (quitWriteBuffer): adjust
6767 * buffer.C (asciiParagraph): remove some commented code.
6769 * CutAndPaste.C: remove current_view extern variable.
6770 (cutSelection): add BufferParams arg.
6771 (eraseSelection): add BufferParams arg.
6772 (pasteSelection): add Buffer const & arg
6774 2003-06-07 John Levon <levon@movementarian.org>
6777 * paragraph_funcs.C:
6778 * paragraph_pimpl.C:
6782 * paragraph.C: allow InsetERT to freely space lines,
6783 and some consolidation of code
6785 2003-06-06 José Matos <jamatos@fep.up.pt>
6787 * buffer.C (makeDocBookFile): fix bug #821
6789 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6791 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6793 2003-06-04 Angus Leeming <leeming@lyx.org>
6795 * buffer.C: bump format to 224.
6797 2003-06-05 André Pönitz <poenitz@gmx.net>
6799 * text2.C (redoParagraphs): remove two const_cast<>
6801 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6803 * ParagraphList.h: remove last remnants of NO_STD_LIST
6805 2003-06-03 Angus Leeming <leeming@lyx.org>
6807 * factory.C (createInset): small change to the way InsetExternal's params
6810 2003-06-04 André Pönitz <poenitz@gmx.net>
6812 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6814 * paragraph_pimpl.h:
6815 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6817 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6819 * undo_funcs.C: make some simple cases of undo work again
6821 2003-06-03 John Levon <levon@movementarian.org>
6823 * ispell.C: HPUX doesn't have sys/select.h
6826 2003-06-03 John Levon <levon@movementarian.org>
6828 * CutAndPaste.C: update tabular and include inset
6833 * paragraph.C: remove owningBuffer(), don't pass Buffer
6836 * factory.C: insetGraphicsParams changed
6838 2003-06-02 John Levon <levon@movementarian.org>
6844 * text3.C: remove insetparent
6846 2003-06-02 John Levon <levon@movementarian.org>
6849 * buffer.C: fix inset_iterator.end(), move out of line
6852 2003-06-01 John Levon <levon@movementarian.org>
6854 * text3.C: use a proper cut/paste when doing inset
6855 insert (from Jürgen Spitzmüller)
6857 2003-06-01 John Levon <levon@movementarian.org>
6859 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6861 2003-05-30 André Pönitz <poenitz@gmx.net>
6863 * rowpainter.C: unify second drawing phase
6865 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6867 * trans_mgr.C: remove one case of current_view
6869 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6871 * paragraph_funcs.h: remove paragraph.h include
6873 * paragraph.h: delete NO_STD_LIST stuff
6875 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6877 * buffer.h: remove paragraph.h include
6879 * ParagraphList.C: delete file
6881 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6883 * toc.C (getTocList): adjust
6885 * paragraph_pimpl.C (validate): adjust
6887 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6889 * paragraph.C (Paragraph): adjust
6890 (getPositionOfInset): use const_iterator, adjust
6891 (bibitem): use const_iterator, adjust
6892 (setInsetOwner): adjust
6894 * iterators.C (operator++): adjust
6896 * InsetList.[Ch]: Replace selfmade iterator with standard
6897 vector::iterator also introduce const_iterator. Remove getPos,
6898 getInset and setInset from InsetTable. Adjust accordingly.
6900 * BufferView.C (lockInset): adjust
6901 (ChangeInsets): adjust
6903 * tabular.[Ch]: delete commented same_id functions
6905 2003-05-28 John Levon <levon@movementarian.org>
6907 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6909 2003-05-28 André Pönitz <poenitz@gmx.net>
6911 * metricsinfo.[Ch]: remove 'fullredraw' member
6913 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6915 * lyxtextclass.C (operator): remove caching.
6917 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6921 * text2.C (cursorBottom): adjust
6922 (setCounter): use ParagraphList::find, adjust
6924 * text.C (workWidth): use ParagraphList::find, adjust
6926 * lyxcursor.C (LyXCursor): adjust
6928 * buffer.C (inset_iterator): adjust
6930 * ParagraphList.h: make iterator(value_type) private, make
6931 ParagraphList a friend of iterator.
6933 * ParagraphList.C (find): new function
6935 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6937 2003-05-27 André Pönitz <poenitz@gmx.net>
6939 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6941 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6943 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6945 2003-05-26 John Levon <levon@movementarian.org>
6947 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6949 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6951 * remove same_id from function signatures, adjust.
6953 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6955 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6957 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6959 * paragraph.C (Paragraph): get rid of same_ids parameter
6961 * ParagraphList.C (insert): adjust
6964 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6966 * paragraph_funcs.C (breakParagraph): adjust
6967 (breakParagraphConservative): adjust
6969 * buffer.C (readParagraph): adjust
6971 * ParagraphList.C (insert): take a reference instead of a pointer
6974 * paragraph.[Ch] (id): new function
6976 * bufferlist.C (newFile): adjust
6978 * ParagraphList.C (ParagraphList): adjust
6980 (push_back): take a reference instead of a pointer.
6982 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6984 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6987 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6988 set else use old code.
6990 * ParagraphList.C: remove all NO_NEXT code and only compile this
6991 code of NO_STD_LIST is set.
6993 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6995 * BufferView_pimpl.C:
7005 * graphics/GraphicsConverter.C:
7006 * graphics/PreviewLoader.C: header adjustment
7008 2003-05-23 Angus Leeming <leeming@lyx.org>
7010 * LaTeXFeatures.[Ch] (useBabel): new method.
7011 * bufferparams.C (writeLaTeX): use it.
7013 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7015 * ParagraphList.h (set): remove unused function.
7017 2003-05-23 André Pönitz <poenitz@gmx.net>
7020 * BufferView_pimpl.C:
7024 * undo_funcs.C: setUndo reworked
7026 * iterators.[Ch]: add access to topmost ParagraphList
7028 * lyxtext.[Ch] (workWidth): add a const
7030 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7032 * texrow.[Ch] (increasePos): remove function
7033 * exporter.C (export): removed unused var and outdated comment
7035 2003-05-23 Angus Leeming <leeming@lyx.org>
7037 * latexrunparams.h: rename fragile as moving_arg.
7038 * paragraph.C (simpleTeXOnePar): ditto.
7039 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7041 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7043 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7045 (textUndoOrRedo): comment out a currently unused var.
7047 * paragraph.h (NO_NEXT): enable NO_NEXT
7049 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7051 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7053 * exporter.C (Export): adjust for removeAutoInsets removal.
7055 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7057 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7059 * BufferView.[Ch] (removeAutoInsets): delete function
7061 2003-05-22 Angus Leeming <leeming@lyx.org>
7063 * latexrunparams.h: add a free_spacing variable.
7065 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7066 to pass moving_arg, as the data is stored in runparams.fragile.
7068 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7069 to Inset::latexOptional or to simpleTeXOnePar.
7071 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7072 free_spacing arg to Inset::latexOptional.
7074 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7077 2003-05-22 Angus Leeming <leeming@lyx.org>
7079 * latexrunparams.h: add fragile and use_babel variables.
7081 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7082 * buffer.C (makeLaTeXFile): store this returned value in
7083 runparams.use_babel, thus passing it to the inset::latex methods.
7085 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7086 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7088 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7089 longer has a fragile arg, as it is stored in runparams.fragile.
7091 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7092 moving_arg parameter as the data is stored in runparams.fragile.
7094 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7095 a fragile parameter as the data is stored in runparams.fragile.
7097 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7099 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7101 2003-05-22 Angus Leeming <leeming@lyx.org>
7103 * latexrunparams.h: add a 'bool nice' which defaults to false.
7105 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7106 now encapsulated within runparams.
7108 * bufferlist.C (updateIncludedTeXfiles):
7109 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7111 2003-05-22 Angus Leeming <leeming@lyx.org>
7113 * latexrunparams.h: new file containing struct LatexRunParams.
7114 * Makefile.am: add new file.
7116 * LaTeX.[Ch] (c-tor, run):
7117 * buffer.[Ch] (makeLaTeXFile):
7118 * bufferlist.[Ch] (updateIncludedTeXfiles):
7119 * converter.C (convert, scanLog):
7120 * converter.[Ch] (runLaTeX):
7121 * exporter.C (Export):
7122 * paragraph.[Ch] (simpleTeXOnePar):
7123 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7124 * paragraph_funcs.[Ch] (latexParagraphs):
7125 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7126 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7127 pass around a LatexRunParams parameter.
7129 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7131 * paragraph.[Ch]: remove unused constructor
7133 * ParagraphList.C (erase): new function, taking two iterators
7135 2003-05-22 André Pönitz <poenitz@gmx.net>
7137 * undo_funcs.C: remove duplicated code
7139 * iterator.[Ch]: operator=
7141 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7143 * tabular.C (SetMultiColumn): ws changes
7145 * rowpainter.C (paintFirst): get rid of a ->previous
7147 * lyx_cb.C (getPossibleLabel): parlist simplification
7149 * BufferView.C (ChangeInsets): simplify slightly.
7151 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7153 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7154 * lfuns.h: new LFUN_SPACE
7155 * lyxfunc.C: protected space has a new lfun
7156 * paragraph_funcs.C: read new space insets
7158 * factory.C: handle new space insets
7160 2003-05-22 André Pönitz <poenitz@gmx.net>
7163 * BufferView_pimpl.C:
7166 * undo_funcs.C: return a ParIterator from getParFromID.
7168 * iterators.[Ch]: add two const's
7170 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7172 * toc.C (getTocList): adjust
7174 * iterators.[Ch]: rework for parlist
7176 * buffer.C (par_iterator_begin): adjust
7177 (par_iterator_end): adjust
7179 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7181 * BufferView.C (removeAutoInsets): adjust
7182 (ChangeInsets): adjust
7184 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7186 * text.C (top_y): fix bug 1110
7188 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7190 * errorlist.[Ch]: added
7193 * BufferView_pimpl.C:
7194 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7197 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7199 * Makefile.am: ensure that lyx is relinked upon changes to the
7200 various "convenience" libs.
7202 2003-05-20 Angus Leeming <leeming@lyx.org>
7204 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7205 files are compiled in alphabetical order again.
7207 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7209 2003-05-19 Angus Leeming <leeming@lyx.org>
7211 * gettext.[Ch]: remove "char const * _(char const *)".
7213 2003-05-19 André Pönitz <poenitz@gmx.net>
7215 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7224 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7226 2003-05-19 André Pönitz <poenitz@gmx.net>
7230 * lyxtextclass.[Ch]:
7232 * paragraph_funcs.[Ch]:
7234 * text3.C: more insetenv work
7236 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7238 * ParagraphParameters.C (params2string): small bug fixed
7240 2003-05-16 André Pönitz <poenitz@gmx.net>
7243 * bufferview_funcs.C: patch from Kornel Benko to prevent
7244 crash when _(...) is called twice in a statement
7246 2003-05-16 André Pönitz <poenitz@gmx.net>
7253 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7255 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7257 * lyx_main.C (init): remove spurious static_cast
7259 2003-05-14 André Pönitz <poenitz@gmx.net>
7261 * BufferView.C: fix format string
7263 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7265 * BufferView.[Ch] (insertErrors): removed
7266 * BufferView.[Ch] (showErrorList): added
7267 * buffer.C (runChkTeX):
7268 * converter.C (scanLog): call showErrorList instead of inserterrors
7270 2003-05-13 André Pönitz <poenitz@gmx.net>
7272 * BufferView_pimpl.C:
7274 * bufferview_func.C:
7281 * tabular_funcs.h: tostr() from its own header
7283 * ParagraphParameters.C:
7288 * text3.C: STRCONV()
7290 2003-05-12 André Pönitz <poenitz@gmx.net>
7293 * BufferView_pimpl.C:
7297 * ParagraphParameters.C:
7301 * bufferview_funcs.C:
7314 * paragraph_funcs.C:
7318 * text3.C: boost::format -> bformat all over the place
7321 2003-05-09 André Pönitz <poenitz@gmx.net>
7323 * LColor.[Ch]: Pimpl the #include <map> away
7325 2003-05-09 John Levon <levon@movementarian.org>
7327 * bufferlist.C: never remove emergency saves
7329 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7331 * Makefile.am: better lib building
7333 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7335 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7337 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7338 (simpleTeXSpecialChars): adjust
7339 (simpleTeXSpecialChars): adjust
7340 * paragraph.C (simpleTeXOnePar): adjust
7341 * buffer.C (makeLaTeXFile): adjust
7343 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7345 * text2.C (changeDepth): parlist cleanup
7346 (getColumnNearX): ditto
7348 * rowpainter.C (getLabelFont): parlist cleanup
7350 * bufferlist.C (newFile): parlist cleanup
7352 * CutAndPaste.C (eraseSelection): parlist cleanup
7354 * BufferView_pimpl.C (trackChanges): parlist cleanup
7357 * BufferView.C (lockInset): parlist cleanup.
7358 (ChangeInsets): ditto
7360 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7362 * CutAndPaste.h: Update file header.
7364 * CutAndPaste.C: Update file header.
7365 Store the parts cut out of the Document in a limited_stack.
7366 (copySelection): adjust
7367 (pasteSelection): new function, takes the index in the limited stack.
7368 (nrOfParagraphs): adjust
7369 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7370 simplify error inset insertion.
7371 (checkPastePossible): adjust
7373 2003-05-06 John Levon <levon@movementarian.org>
7375 * text2.C: don't cast wrap inset to float
7377 2003-05-05 André Pönitz <poenitz@gmx.net>
7380 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7382 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7383 few naked Paragraph *.
7385 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7387 * bufferparams.C: Output warning if a document with missing
7388 TeX document class is loaded
7389 * exporter.C: Disable TeX exports if the document class is missing
7392 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7393 isTeXClassAvailable()
7395 2003-05-03 John Levon <levon@movementarian.org>
7398 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7399 explicit cursor show/hide
7401 * BufferView_pimpl.h:
7402 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7403 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7405 * lyxfunc.C: hide cursor before dispatching.
7410 * text3.C: remove explicit cursor hides
7412 2003-05-02 André Pönitz <poenitz@gmx.net>
7414 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7417 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7420 * text2.C: tiny whitespace
7422 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7424 * undo_funcs.C: almost only ws changes.
7426 * ParagraphList.C (splice): just return if pl is empty.
7428 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7430 * ParagraphList.C (splice): new function.
7432 * CutAndPaste.C (pasteSelection): use it
7434 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7436 * CutAndPaste.C (pasteSelection): remove the last next and
7437 previous from this file.
7439 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7441 * CutAndPaste.C (pasteSelection): more clean up, user proper
7442 ParagraphList functions for pasteing.
7444 * ParagraphList.C (insert): new function, three arg insert
7446 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7448 * ParagraphList.C (insert): new function, three arg insert
7450 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7453 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7455 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7457 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7459 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7461 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7463 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7464 (copySelection): clean up a bit.
7465 (pasteSelection): use make_pair
7467 * ParagraphList.C (ParagraphList): implement copy constructor
7468 (operator=): implement, base on copy constructor.
7471 * paragraph.C (erase): return a bool
7473 * paragraph_pimpl.C (erasePos): remove function, move contents...
7474 (erase): ... here. Return a bool.
7475 (erase): call erase instead of erasePos.
7477 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7479 * ParagraphList.h: define PitPosPair
7480 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7481 ParagraphList, fix a bug on pasting multiple pars
7482 * text2.C: change interface to C&P
7484 2003-04-30 André Pönitz <poenitz@gmx.net>
7486 * undo_func.C: revert part of yesterday's patch 2
7488 2003-04-30 John Levon <levon@movementarian.org>
7490 * LColor.C: s/tabular/table/
7492 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7494 * text3.C (dispatch): do not convert iterator -> pointer
7495 * undo_funcs.C (setCursorParUndo): ditto
7496 * text_funcs.C (transposeChars): ditto
7498 * text2.C (setLayout): ws changes only
7500 * text.C (breakParagraph): do not convert iterator -> pointer
7502 (acceptChange): ditto
7503 (rejectChange): ditto
7508 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7511 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7513 * text3.C (gotoInset): YABG (yet another bad getChar)
7515 2003-04-29 André Pönitz <poenitz@gmx.net>
7517 * paragraph.h: make operator= private unimplemented as long as
7520 * ParagraphList.C: whitespace
7523 * paragraph_pimpl.[Ch]:
7524 * paragraph_funcs.C:
7526 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7529 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7531 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7533 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7534 * paragraph.[Ch] (erase):
7535 * paragraph_pimpl.[Ch] (erase): change return type and value
7536 * text2.C (cutSelection): some rework
7538 2003-04-28 John Levon <levon@movementarian.org>
7540 * bufferlist.C: changes for unsaved changes dialog
7542 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7544 * bufferlist.C (newFile): set language (messages_) for new
7547 * buffer.C (readFile): ws changes only.
7549 2003-04-28 André Pönitz <poenitz@gmx.net>
7554 * BufferView_pimpl.C:
7555 * BufferView.C: getParFromID related ParagraphList::iterator changes
7557 2003-04-28 André Pönitz <poenitz@gmx.net>
7559 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7562 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7564 * messages.C: remove one more localedir class variable.
7566 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7568 * messages.C (getLocaleDir): singleton generation function
7570 (Messages): add a default constructor.
7572 * main.C (main): do not setup localedir here, do not call
7575 * gettext.C (_): use it.
7576 (gettext_init): delete funciton
7578 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7580 * gettext.C (getLyXMessages): new singleton generating function.
7582 * buffer.C (updateDocLang): adjust
7584 * Makefile.am (messages.o): add target
7585 (main.o): remove target
7587 2003-04-27 John Levon <levon@movementarian.org>
7592 * lyxvc.C: specify cancel button in Alert::prompt
7594 2003-04-26 John Levon <levon@movementarian.org>
7599 * LyXAction.C: add LFUN_INSET_SETTINGS
7601 * lyxfunc.C: don't enable tabular-feature when there's
7602 just any locking inset
7604 2003-04-26 John Levon <levon@movementarian.org>
7606 * bufferlist.C: re-add Cancel to buffer close question
7608 * lyxfunc.C: fix import UI a bit
7610 2003-04-25 John Levon <levon@movementarian.org>
7612 * gettext.C: remove the broken asserts for now
7614 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7616 * messages.C: make case where setlocale cannot comply work better.
7618 * buffer.C (updateDocLang): new function
7619 (changeLanguage): use it
7622 * text2.C (setCounter): use B_ a bit.
7624 * lyxlayout.C (Read): be sure to trim the label strings.
7626 * messages.C (Messages): fix typo in comment
7628 * buffer.C (readFile): set message_ after file is loaded.
7629 (makeDocBookFile): remove double return
7630 (changeLanguage): reset message_ upon language change.
7631 (B_): new func, use this to get translated buffer strings.
7633 * main.C: add myself and Jean Marc as authors.
7635 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7637 * messages.[hC]: pimplify Messages, and three different pimpls to be
7638 used in different circumstances.
7640 * gettext.[Ch]: change for use with new message code.
7642 2003-04-24 André Pönitz <poenitz@gmx.net>
7644 * factory.C: support for eqref
7646 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7648 * messages.[Ch]: add missing char
7650 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7652 * messages.[Ch]: New files
7654 2003-04-18 John Levon <levon@movementarian.org>
7658 * BufferView_pimpl.C:
7662 * text2.C: remove layout-copy/paste (bug 778)
7664 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7666 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7668 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7670 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7671 if they succeed. Act accordingly.
7673 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7675 * text2.C (setCharFont): adjust
7676 (setCounter): adjust
7677 (insertStringAsLines): adjust
7679 * text.C (leftMargin): adjust
7680 (setHeightOfRow): adjust
7682 * rowpainter.C (paintFirst): adjust
7685 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7687 (isFirstInSequence): ditto
7688 (getEndLabel): ditto
7691 * paragraph.C (getParLanguage): comment out some hard stuff.
7693 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7695 (simpleDocBookOnePar): ditto
7696 (makeDocBookFile): use ParagraphList::iterator
7698 * CutAndPaste.C (pasteSelection): adjust
7700 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7702 * text2.C (getFont): adjust
7703 (getLayoutFont): adjust
7704 (getLabelFont): adjust
7706 * paragraph_funcs.C (TeXOnePar): adjust
7708 * buffer.C (simpleLinuxDocOnePar): adjust
7709 (simpleDocBookOnePar): adjust
7711 * CutAndPaste.C (pasteSelection): adjust
7713 * BufferView.C (getEncoding): adjust
7715 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7717 2003-04-16 John Levon <levon@movementarian.org>
7719 * lyxfind.C: use parlist stuff for search/changes
7721 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7723 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7725 * text2.C (deleteEmptyParagraphMechanism): adjust
7727 * text2.[Ch] (ownerParagraph): delete func (both of them
7729 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7731 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7733 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7735 * ParagraphList.C: prepare for NO_NEXT
7737 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7739 * text2.C (getFont): adjust
7740 (getLayoutFont): adjust
7741 (getLabelFont): adjust
7743 * paragraph.C (getFont): adjust
7744 (getLabelFont): adjust
7745 (getLayoutFont): adjust
7747 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7749 2003-04-15 John Levon <levon@movementarian.org>
7753 * lyx_main.C: handle Include in .ui files
7755 2003-04-15 John Levon <levon@movementarian.org>
7757 * MenuBackend.C: make the doc files length shorter
7760 * ToolbarBackend.C: handle toolbar placement flags,
7763 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7765 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7768 * paragraph_funcs.C (TeXOnePar): adjust
7770 * paragraph.C (getLabelFont): add outerfont arg, adjust
7771 (getLayoutFont): ditto
7772 (simpleTeXOnePar): adjust
7774 * paragraph_pimpl.C (realizeFont): delete func
7776 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7778 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7779 row argument, constify cur argument.
7781 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7783 * text2.C (getFont): adjust
7784 (getLayoutFont): adjust
7785 (getLabelFont): adjust
7787 * paragraph_funcs.C (TeXOnePar): adjust
7788 (outerFont): new func...
7789 (realizeFont): ...moved out from here, changed this to facilitate
7792 * paragraph.C (getFont): take outerfont as arg, adjust
7793 (simpleTeXOnePar): add outerfont arg, adjust
7795 * buffer.C (simpleLinuxDocOnePar): adjust
7796 (simpleDocBookOnePar): adjust
7798 * CutAndPaste.C (pasteSelection): adjust
7800 * BufferView.C (getEncoding): adjust
7802 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7804 * text2.C (setCharFont): adjust
7805 (setCounter): adjust
7807 * text.C (leftMargin): adjust
7808 (setHeightOfRow): adjust
7810 * rowpainter.C (paintFirst): adjust
7813 * paragraph_pimpl.C (realizeFont): adjust
7815 * paragraph.C (isFirstInSequence): move from here...
7816 * paragraph_funcs.C (isFirstInSequence): ...to here
7818 * paragraph.C (outerHook): move from here...
7819 * paragraph_funcs.C (outerHook): ...to here
7821 * paragraph.C (depthHook): move from here...
7822 * paragraph_funcs.C (depthHook): ...to here
7824 * paragraph.C (getEndLabel): move from here...
7825 * paragraph_funcs.C (getEndLabel): ...to here
7827 * text2.C (realizeFont): move from here...
7828 * paragraph_funcs.C (realizeFont): ...to here
7830 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7832 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7834 2003-04-14 Angus Leeming <leeming@lyx.org>
7836 * LColor.[Ch]: scrap LColor mathcursor.
7838 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7840 * lyxlex.[Ch] (text): delete function
7841 * trans.C (Load): adjust
7842 * paragraph_funcs.C (readParToken): adjust
7844 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7846 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7847 vector<char> instead of a char[].
7849 * lyxlex_pimpl.C (getString): adjust
7851 (lex): use getString
7855 * lyxlex.C (text): use pimpl_->getString()
7859 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7861 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7862 (makeFontEntriesLayoutSpecific): temp var for par.size()
7863 (setLayout): temp var for ownerParagraphs().end()
7864 (fullRebreak): temp var for rows().end()
7865 (selectionAsString): temp var for boost::next(startpit), realize
7866 that the while really is a regular for loop.
7867 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7868 setCursor in one place.
7869 (setParagraph): temp vr for ownerParagraphs().end()
7870 (updateCounters): make the while loop a for loop
7871 (cutSelection): temp var for ownerParagraphs().end()
7872 (updateInset): make the do {} while() a regular for loop
7873 (getCursorX): use temp vars
7874 (setCurrentFont): use temp vars
7875 (getColumnNearX): use temp vars
7877 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7879 * text.C (transformChar): use temp var for getChar
7880 (computeBidiTables): use temp var for row->par()
7881 (fill): move temp vars for row->par() and pit->layout() earlier in
7883 (labelFill): use temp var for row->par()
7884 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7885 asc and desc, realize that pit never changes and that firstpit is
7886 just a duplicate and not needed. Exchange rit->par() with pit in a
7888 (breakAgain): use a temp var for boost::next(rit)
7889 (breakAgainOneRow): ditto
7890 (breakParagraph): use a temp var for rows().begin()
7891 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7892 (cursorRightOneWord): use temp var for cursor.par() and
7893 cursor.pos(), remove usage of tmpcursor.
7894 (cursorLeftOneWord): use temp var for cursor.par() and
7895 cursor.pos() only set cur at end of function.
7897 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7899 * text.C, text2.C: exchange all usage of Paragraph::next with
7900 boost::next(ParagraphList::iterator)
7902 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7904 * text2.C (cursorTop): simplify implementation
7905 (cursorBottom): ditto
7906 (setParagraph): use ParagraphList::iterator
7907 (setCurrentFont): adjust
7908 (getColumnNearX): adjust
7909 (cursorRight): adjust
7910 (cursorLeft): remove usage of Paragraph::previous
7911 (cursorUpParagraph): ditto
7912 (deleteEmptyParagraphMechanism): slight cleanup
7914 * text.C (isBoundary): take a Paragraph const & instead of a
7916 (addressBreakPoint): ditto
7917 (leftMargin): remove usage of Paragraph::previous.
7918 (setHeightOfRow): ditto
7919 (cursorLeftOneWord): ditto
7920 (selectNextWordToSpellcheck): ditto
7923 (breakParagraph): remove one usage of Paragraph::next
7924 (redoParagraph): ditto
7925 (acceptChange): ditto
7926 (insertChar): adjust
7927 (rowBreakPoint): adjust
7929 * bufferview_funcs.C (toggleAndShow): adjust
7931 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7933 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7934 methods to access it.
7936 * text.C: Added updateRowPositions to compute all row positions.
7937 Make top_y and getRowNearY() to use the cached y position
7939 2003-04-11 John Levon <levon@movementarian.org>
7941 * text.C (rowBreakPoint): reintroduce the labelEnd
7942 checks, code copied from the row fill stuff. Deep voodoo.
7944 * text.C (fill): add a comment and debugging for the
7947 2003-04-11 John Levon <levon@movementarian.org>
7949 * text.C: make sure fullrow insets get wrapped to the next line,
7950 even when they're in a manual label
7952 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7954 * text2.C (insertParagraph): make it take ParagraphList::iterator
7956 (setLayout): make it return ParagraphList::iterator
7957 (redoParagraphs): ditto
7959 (checkParagraph): ditto
7961 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7963 * text2.C: adjust several funcs.
7964 (realizeFont): take a ParagraphList::iterator as arg.
7965 (getLayoutFont): ditto
7966 (getLabelFont): ditto
7967 (setCharFont): ditto
7969 * text.C: adjust several funcs.
7971 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7973 * text.C (selectNextWordToSpellcheck): don't accidentally
7976 2003-04-10 John Levon <levon@movementarian.org>
7978 * ToolbarBackend.C (getIcon): special handling for
7981 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7983 * text2.C (cursorRight): a getChar assert fixed
7985 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7987 * text2.C (getFont): change to take a ParagraphList::iterator
7988 instead of Paragraph*
7989 Adjust several functions.
7991 * text.C (transformChar): change to take a ParagraphList::iterator
7992 instead of Paragraph*
7993 (singleWidth): ditto
7994 Adjust several functions.
7996 * rowpainter.C: adjust several functions
7997 * rowpainter.h:store a ParagraphList::iterator and not a
8001 2003-04-09 John Levon <levon@movementarian.org>
8006 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8007 and the "help" bits as well
8009 2003-04-09 John Levon <levon@movementarian.org>
8012 * ToolbarBackend.C: allow multiple toolbars
8014 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8016 * undo_funcs.C (setCursorParUndo): adjust
8018 * text_funcs.C (transposeChars): adjust
8020 * text3.C (gotoNextInset): adjust
8023 * text2.C (setLayout): adjust
8024 (changeDepth): adjust
8026 (redoParagraphs): adjust
8027 (selectionAsString): adjust
8028 (setParagraph): adjust
8029 (insertInset): adjust
8030 (cutSelection): adjust
8031 (copySelection): adjust
8032 (pasteSelection): adjust
8033 (insertStringAsLines): adjust
8034 (updateInset): adjust
8035 (setCursor): change to take a ParagraphList::iterator parameter
8036 (setCursorIntern): change to take a ParagraphList::iterator parameter
8037 (setCurrentFont): adjust
8038 (cursorLeft): adjust
8039 (cursorRight): adjust
8040 (deleteEmptyParagraphMechanism): adjust
8042 * text.C (breakParagraph): adjust
8043 (insertChar): adjust
8044 (acceptChange): adjust
8045 (rejectChange): adjust
8046 (selectNextWordToSpellcheck): adjust
8047 (changeCase): adjust
8051 * lyxfind.C (SearchForward): adjust
8052 (SearchBackward): adjust
8053 (nextChange): adjust
8055 * lyxcursor.C (par): adjust
8057 * lyxcursor.h: store a ParagraphList::iterator instead of a
8060 * lyx_cb.C (getPossibleLabel): adjust
8062 * bufferview_funcs.C (toggleAndShow): adjust
8064 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8067 * BufferView.C (removeAutoInsets): adjust
8068 (lockedInsetStoreUndo): adjust
8070 2003-04-09 John Levon <levon@movementarian.org>
8072 * ToolbarBackend.C: try icon without argument
8073 if with argument fails
8075 2003-04-08 John Levon <levon@movementarian.org>
8078 * ToolbarBackend.C: add getIcon(), handle tooltip,
8079 and change from "Icon" to "Item".
8081 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8083 * BufferView.C (lockInset): another bad getchar crunched
8085 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8087 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8090 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8092 * lyxfind.C (searchForward, searchBackwards): bug 782
8094 2003-04-07 John Levon <levon@movementarian.org>
8096 * paragraph.C: remove dead comment
8098 * text.C: remove troublesome depth-fiddling code
8099 in leftMargin() and rightMargin() (bug 1017)
8101 * text.C: fix breaking of rows in nested lists
8104 * text2.C (updateCounters): fix up depth values
8107 2003-04-07 John Levon <levon@movementarian.org>
8109 * BufferView_pimpl.C: clear message when doc finishes resizing,
8110 and after a mouse event
8112 * lyxfunc.C: clear message after exiting inset
8114 2003-04-07 John Levon <levon@movementarian.org>
8116 * bufferview_funcs.C: show math status not outside
8117 status in the statusbar
8119 2003-04-07 John Levon <levon@movementarian.org>
8121 * lyxfunc.C: note status changed after a depth change
8123 2003-04-04 Angus Leeming <leeming@lyx.org>
8125 * LaTeX.h: move AuxInfo operator==, != out of line.
8126 Remove LaTeX virtual destructor; nothing derives from it.
8127 Move operator()() out of public area and rename it startscript().
8128 Change protected for private.
8130 2003-04-04 Angus Leeming <leeming@lyx.org>
8133 * text2.C: remove unneeded #includes.
8135 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8137 * text2.C (dEPM): fix the heigth of the next row
8139 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8141 * text.C: squashed an invalid getChar requester + some ws changes
8143 2003-04-03 John Levon <levon@movementarian.org>
8145 * bufferview_funcs.h:
8146 * bufferview_funcs.C:
8149 * text2.C: make getStatus work for the env depth lfuns
8151 2003-04-03 John Levon <levon@movementarian.org>
8153 * bufferview_funcs.h:
8154 * bufferview_funcs.C:
8157 * text2.C: parlistize decDepth(), by merging it with incDepth()
8159 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8161 * lyxrow.h: store a ParagraphList::iterator instead of a
8162 Paragraph* and adjust other class functions to suit.
8164 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8167 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8169 * text2.C (setCursor): do not anchor to cursor row for the time being
8171 2003-04-02 John Levon <levon@movementarian.org>
8178 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8180 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8182 * paragraph.h: make ParagraphList and ParagraphList::iterator
8183 friends of Paragraph.
8185 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8187 * ParagraphList.C: Use the private next_ and previous_ from
8190 2003-04-01 John Levon <levon@movementarian.org>
8194 * Makefile.am: rename, remove defaults gunk
8197 * MenuBackend.C: remove defaults gunk
8200 * Languages.C: remove defaults gunk
8203 * lyx_main.C: error out if files couldn't be found.
8205 2003-04-02 John Levon <levon@movementarian.org>
8207 * text2.C: make incDepth() use parlist
8209 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8211 * undo_funcs.C (firstUndoParagraph): adjust
8213 * text3.C (gotoInset): adjust
8214 (dispatch): adjust, and rewrite loop.
8216 * text2.C (init): adjust, and rewrite loop.
8217 (redoParagraphs): adjust
8218 (updateInset): adjust, and rewrite loop.
8219 (deleteEmptyParagraphMechanism): adjust
8221 * tabular.C (LyXTabular): adjust
8222 (SetMultiColumn): adjust
8225 * lyxtext.[Ch] (ownerParagraph): delete function
8226 (ownerParagraphs): new function returns a ParagraphList.
8228 * BufferView.C (removeAutoInsets): adjust
8229 (insertErrors): adjust
8230 (setCursorFromRow): adjust
8232 2003-04-01 Angus Leeming <leeming@lyx.org>
8234 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8237 2003-04-02 John Levon <levon@movementarian.org>
8243 * text_funcs.C: make transposeChars a free function
8245 * lyxrow_funcs.C: remove wrong comment
8247 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8250 * rowpainter.C: adjust
8255 * lyxrow_funcs. [Ch]: new files
8257 * lyxrow.[Ch]: remove next and previous pointers
8258 (next,previous): remove accessor functions
8259 (isParEnd): move to lyxrow_funcs
8260 (lastPos): move to lyxrow_funcs
8261 (nextRowIsAllInset): move to lyxrow_funcs
8262 (lastPrintablePos): move to lyxrow_funcs
8263 (numberOfSeparators): move to lyxrow_funcs
8264 (numberOfHfills): move to lyxrow_funcs
8265 (numberOfLabelHfills): move to lyxrow_funcs
8266 (hfillExpansion): move to lyxrow_funcs
8270 * bufferview_funcs.C (toggleAndShow): adjust
8272 * RowList.h: Remove class RowList from file leave just a
8275 * RowList.C: delete file
8277 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8280 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8282 * text3.C (cursorPrevious): adjust
8283 (cursorNext): adjust
8286 * text2.C (redoHeightOfParagraph): adjust
8287 (redoDrawingOfParagraph): adjust
8290 * text.C (breakParagraph): adjust
8291 (insertChar): adjust
8294 * rowpainter.C (RowPainter): adjust
8295 (leftMargin): simplify and adjust
8296 (most rowpainter functions): adjust.
8298 * rowpainter.h: store the row as RowList::iterator not as Row*
8300 * lyxcursor.C (row): taka RowList::iterator as arg
8303 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8306 2003-04-01 Angus Leeming <leeming@lyx.org>
8308 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8309 stuff like bool Bool.
8311 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8313 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8316 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8318 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8321 * lyxtext.h (rows): drop one version and leve a const variant that
8322 returns a RowList::iterator.
8324 2003-03-31 Angus Leeming <leeming@lyx.org>
8326 * text.C (fill): ensure that the signature is the same as that in the
8329 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8331 * text2.C (redoParagraphs): adjust
8332 (updateCounters): adjust
8333 (checkParagraph): adjust
8334 (getColumnNearX): adjust and reformat a bit.
8336 * text.C (top_y): adjust
8338 (leftMargin): adjust
8339 (prepareToPrint): adjust
8341 (getRowNearY): adjust
8343 * lyxtext.h: make rowlist_ mutable.
8345 * RowList.h: add const_iterator
8346 * RowList.C: adjust for RowList::const_iterator.
8348 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8351 2003-03-31 John Levon <levon@movementarian.org>
8354 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8356 * lyx_main.C: set default fonts from using lyx_gui funcs
8358 * exporter.C: pdf_mode moved from lyxrc
8361 * lyxfunc.C: changes from above
8363 2003-03-31 John Levon <levon@movementarian.org>
8365 * lyx_main.C: fix to the last fix
8367 2003-03-31 John Levon <levon@movementarian.org>
8369 * bufferlist.C: "Load original" -> "Load Original"
8375 * format.C: more Alert cleanups
8377 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8379 * text2.C (removeParagraph): make it take a RowList::iterator as
8381 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8382 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8384 * text.C (anchor_row): make it take a RowList::iterator as arg,
8386 (computeBidiTables): make it take a const reference to Row instead
8387 of Row pointer, adjust.
8388 (leftMargin): make it take a RowList::iterator as arg, adjust.
8389 (rowBreakPoint): adjust
8390 (breakAgainOneRow): make it take a RowList::iterator as arg,
8392 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8394 * bufferview_funcs.C (toggleAndShow): adjust
8396 2003-03-30 John Levon <levon@movementarian.org>
8400 * boost-inst.C: moved to support
8402 * several files: changes as a result
8404 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8406 * text2.C (LyXText): adjust.
8408 (removeRow): make it take a RowList::iterator as arg, adjust.
8409 (fullRebreak): adjust
8410 (deleteEmptyParagraphMechanism): adjust
8411 (clearPaint): adjust
8414 * text.C (top_y): adjust
8415 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8416 (breakAgain): make it take a RowList::iterator as arg, adjust.
8417 (breakParagraph): adjust
8418 (insertChar): adjust
8421 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8422 need_break_row, and refresh_row.
8424 * text3.C (dispatch): adjust
8426 * text2.C (checkParagraph): adjust
8428 (setCursorFromCoordinates): adjust
8430 * text.C (top_y): adjust
8432 (getRow): make it return a RowList::iterator, adjust
8433 (getRowNearY): make it return a RowList::iterator, adjust
8435 * text2.C (init): adjust
8436 (insertRow): remove function
8437 (insertParagraph): adjust
8438 (redoParagraphs): adjust
8439 (fullRebreak): adjust
8440 (updateCounters): adjust
8442 * text.C (top_y): rewrite to use RowList iterators.
8444 (setHeightOfRow): rewrite to sue RowList iterators.
8445 (appendParagraph): adjust
8446 (breakAgain): adjust
8447 (breakAgainOneRow): adjust
8448 (breakParagraph): adjust
8450 (getRowNearY): adjust, and remove commented code.
8452 * lyxtext.h (firstRow): delete function
8453 (lastRow): delete function
8454 (rows): new function (const and non-const versions.)
8455 (insertRow): delete function
8457 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8459 2003-03-29 John Levon <levon@movementarian.org>
8461 * BufferView_pimpl.C: always update scrollbar top
8462 because pasting text when we're anchored could mean we
8463 miss an update altogether
8465 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8467 * text2.C (init): use rowlist_.end() and not 0.
8468 (insertRow): change to take a RowList::iterator as arg, adjust
8470 (insertParagraph): change to take a RowList::iterator as arg,
8472 (redoParagraphs): remove some debug msgs.
8474 * text.C (appendParagraph): change to take a RowList::iterator
8475 arg, adjust for this.
8476 (breakAgain): add an assert
8477 (breakAgainOneRow): ditto
8479 2003-03-29 John Levon <levon@movementarian.org>
8481 * text2.C: do not clear selection after inc/decDepth
8484 2003-03-29 John Levon <levon@movementarian.org>
8487 * buffer.C: fix broken strerrors according to Lars
8489 2003-03-29 John Levon <levon@movementarian.org>
8491 * converters.C: more Alert cleanups
8493 2003-03-29 John Levon <levon@movementarian.org>
8495 * bufferview_funcs.C: remove pointless Alert
8497 * buffer.C: fix confusing error message when
8498 a template is chmoded 000
8500 2003-03-29 John Levon <levon@movementarian.org>
8504 * BufferView_pimpl.C: Alert fixes
8508 * tabular-old.C: remove unused table compat reading
8510 2003-03-29 John Levon <levon@movementarian.org>
8515 * lyx_cb.C: more Alert cleanups
8517 * lyxfunc.C: don't allow chktex if not latex document
8519 2003-03-29 John Levon <levon@movementarian.org>
8523 * buffer.C: warnings pushed down from support/,
8526 2003-03-29 John Levon <levon@movementarian.org>
8528 * lyxfunc.C: safety check for C-r (revert)
8530 2003-03-29 John Levon <levon@movementarian.org>
8533 * bufferlist.C: several UI fixes using Alert::prompt.
8534 Fix the pointless looping quit code. Fix stupid revert
8539 * lyx_cb.C: use Alert::prompt
8541 * lyx_main.C: remove a silly question
8543 * lyxfunc.C: remove a couple of silly questions,
8546 2003-03-28 John Levon <levon@movementarian.org>
8548 * text2.C: fix bug 974 (End on empty par)
8550 2003-03-28 John Levon <levon@movementarian.org>
8552 * BufferView_pimpl.C:
8554 * lfuns.h: remove do-nothing math greek lfuns
8556 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8558 * lyxgluelength.h (isValidGlueLength): add default arg on
8559 parameter 2. Remove default arg from friend in class.
8561 * lyxlength.h (isValidLength): add default arg on parameter 2.
8562 Remove default arg from friend in class.
8564 * text2.C (LyXText): adjust, initialize refresh_row.
8568 (insertParagraph): adjst
8569 (redoParagraphs): adjust
8570 (fullRebreak): adjust
8571 (updateCounters): adjust
8572 (deleteEmptyParagraphMechanism): first attempt at fixing a
8575 * text.C (top_y): adjust
8576 (setHeightOfRow): adjust
8578 (getRowNearY): adjust
8580 * lyxtext.h: include RowList.h
8581 (~LyXText): not needed anymore, deleted.
8582 (firstRow): modify for RowList
8583 (lastRow): new function
8584 Delete firstrow and lastrow class variables, add a Rowlist
8585 rowlist_ class variable.
8587 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8590 * RowList.C (insert): fix case where it == begin().
8592 2003-03-26 Angus Leeming <leeming@lyx.org>
8594 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8595 the thesaurus dialog.
8597 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8599 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8601 * RowList.[Ch]: new files
8603 * ParagraphList.C (erase): handle the case where it == begin
8606 2003-03-25 John Levon <levon@movementarian.org>
8610 * aspell.C: add new aspell support
8613 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8616 2003-03-25 Angus Leeming <leeming@lyx.org>
8619 * LyXAction.C (init): new LFUN_INSET_INSERT.
8621 * BufferView_pimpl.C (dispatch): split out part of the
8622 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8624 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8627 2003-03-25 Angus Leeming <leeming@lyx.org>
8629 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8631 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8634 * text3.C: remove useless row->height(0)
8636 2003-03-25 John Levon <levon@movementarian.org>
8640 * text3.C: rename the refreshing stuff to better names
8642 2003-03-24 John Levon <levon@movementarian.org>
8644 * BufferView_pimpl.h:
8645 * BufferView_pimpl.C: update layout choice on a mouse
8648 2003-03-23 John Levon <levon@movementarian.org>
8650 * Makefile.am: fix commandtags.h reference
8652 2003-03-22 John Levon <levon@movementarian.org>
8654 * BufferView_pimpl.C:
8659 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8661 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8664 * text.C: take the rtl methods out of line
8666 2003-03-21 André Pönitz <poenitz@gmx.net>
8668 * metricsinfo.[Ch]: new files containing structures to be passed around
8669 during the two-phase-drawing...
8671 2003-03-21 André Pönitz <poenitz@gmx.net>
8673 * lyxtextclass.C: read 'environment' tag.
8675 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8677 * text2.C (removeRow): fix bug 964
8679 2003-03-20 John Levon <levon@movementarian.org>
8683 * text2.C: paint cleanups. Inset::update() dropped font
8686 2003-03-19 John Levon <levon@movementarian.org>
8688 * lyxfunc.C: only fitcursor/markDirty if available()
8690 2003-03-19 John Levon <levon@movementarian.org>
8692 * commandtags.h: rename to ...
8694 * lfuns.h: ... this, and renumber / cleanup
8696 2003-03-19 John Levon <levon@movementarian.org>
8698 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8699 fit the cursor after an lfun
8703 * BufferView_pimpl.h:
8704 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8706 * LyXAction.C: layout-character should have ReadOnly
8708 * ParagraphParameters.C:
8710 * bufferview_funcs.C:
8717 * undo_funcs.C: changes from above
8719 2003-03-18 John Levon <levon@movementarian.org>
8721 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8722 remove it from update()
8724 * lyxfunc.C: update layout choice after an lfun
8726 * text3.C: remove extra updateLayoutChoice()s
8728 2003-03-18 John Levon <levon@movementarian.org>
8730 * text.C: top_y change means full repaint, fix
8731 a drawing bug with cursor movement
8733 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8737 * text2.C: anchor row on setCursor
8739 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8741 * lyxtext.h: remove almost all mutable keywords
8744 * text3.C: remove const keywords accordingly
8746 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8748 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8750 (TeXEnvironment): ditto
8753 2003-03-17 John Levon <levon@movementarian.org>
8755 * text.C (rowBreakPoint): remove attempt to fix displayed
8756 math insets inside a manual label
8758 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8760 * lyxtext.h: remove BufferView* as first arg from almost all class
8762 * other files: adjust.
8764 2003-03-17 John Levon <levon@movementarian.org>
8768 * text2.C: more paint cleanups
8770 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8773 * rowpainter.C: remove "smart" background painting code
8775 2003-03-16 John Levon <levon@movementarian.org>
8780 * text3.C: add helper functions for setting refresh_row/y
8782 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8784 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8785 newline inset which *can* get inserted in the pass_thru layouts.
8786 This is primarily for literate documents.
8788 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8790 * buffer.C: increment LYX_FORMAT to 223
8792 2003-03-14 André Pönitz <poenitz@gmx.net>
8794 * textclass.h: prepare for environment handling, ws changes
8795 * lyxlayout.C: read latexheader and latexfooter tags
8797 2003-03-14 John Levon <levon@movementarian.org>
8799 * text2.C: rewrite ::status() a bit
8801 2003-03-13 John Levon <levon@movementarian.org>
8803 * lyxtext.h: add some docs
8805 2003-03-13 John Levon <levon@movementarian.org>
8810 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8812 2003-03-13 John Levon <levon@movementarian.org>
8814 * text3.C: fix appendix redrawing
8816 2003-03-13 John Levon <levon@movementarian.org>
8818 * text.C (setHeightOfRow):
8820 * rowpainter.C: make appendix mark have the text
8821 "Appendix" so the user knows what it is
8824 * LColor.C: s/appendixline/appendix/ from above
8826 2003-03-13 John Levon <levon@movementarian.org>
8828 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8830 * text.C: fix a getChar(pos) bug properly
8832 2003-03-13 Angus Leeming <leeming@lyx.org>
8835 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8836 Probably only temporary. Let's see how things pan out.
8838 * BufferView.C (unlockInset):
8839 * BufferView_pimpl.C (fitCursor):
8840 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8842 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8843 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8845 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8846 new functions that convert ParagraphParameters to and from a string.
8848 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8849 BufferView::Pimpl's dispatch.
8850 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8852 2003-03-13 André Pönitz <poenitz@gmx.net>
8856 * factory.C: make it aware of InsetEnv
8858 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8860 * text2.C (setCursor): never ask for one past last
8861 (setCursor): add some debugging messages.
8863 * text.C (singleWidth): never ask for one past last
8864 (singleWidth): ditto
8866 (rightMargin): ditto
8867 (rowBreakPoint): ditto
8868 (setHeightOfRow): ditto
8869 (prepareToPrint): ditto
8871 * rowpainter.C (paintBackground): never ask for one past last
8872 (paintText): never ask for one past last
8874 * paragraph_pimpl.C (getChar): make the assert stricter, never
8875 allow the one past last pos to be taken
8877 * paragraph.C (getChar): ws changes only
8879 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8880 (numberOfSeparators): ditto
8881 (numberOfHfills): ditto
8883 2003-03-12 John Levon <levon@movementarian.org>
8889 * paragraph_funcs.C: fix per-buffer authorlists
8891 2003-03-12 John Levon <levon@movementarian.org>
8893 * text.C: fix newline in right address
8895 2003-03-12 Angus Leeming <leeming@lyx.org>
8897 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8898 duplicate those in LyXFunc::dispatch.
8902 * ToolbarDefaults.C:
8903 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8904 Add LFUN_FONTFREE_UPDATE.
8906 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8907 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8909 * bufferview_func.[Ch]: several new functions to facilliate
8910 transfer of data to and from the character dialog.
8912 2003-03-12 John Levon <levon@movementarian.org>
8917 * paragraph_funcs.C:
8918 * paragraph_pimpl.C:
8922 * text3.C: remove META_NEWLINE in favour of an inset
8925 * rowpainter.C: remove paintNewline (done by inset)
8927 2003-03-12 John Levon <levon@movementarian.org>
8929 * paragraph_pimpl.C: complain about bad getChar()s
8930 for a while at least
8932 2003-03-12 John Levon <levon@movementarian.org>
8935 * buffer.C: move paragraph read into a separate function,
8936 a little renaming to reflect that.
8939 * bufferparams.C: remove the author_ids map, not necessary now
8942 * factory.C: moved Buffer::readInset to here
8944 * paragraph_funcs.h:
8945 * paragraph_funcs.C: readParagraph free function moved from
8948 * tabular.C: name change
8950 2003-03-12 John Levon <levon@movementarian.org>
8953 * ParagraphParameters.C: move par params input to
8956 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8957 behave like a normal read from the stream wrt reading
8958 a line vs. a \\token
8960 2003-03-12 John Levon <levon@movementarian.org>
8963 * ParagraphParameters.h:
8964 * ParagraphParameters.C: move output code to a
8967 2003-03-12 John Levon <levon@movementarian.org>
8969 * BufferView.C (insertLyXFile):
8972 * tabular.C: use a parlist iterator for creating the
8975 2003-03-12 John Levon <levon@movementarian.org>
8977 * buffer.C: make current_change static local not
8980 2003-03-12 John Levon <levon@movementarian.org>
8982 * buffer.C: fix insertStringAsLines for change tracking
8984 2003-03-12 John Levon <levon@movementarian.org>
8991 * bufferparams.C: move author list into params. Rename some
8992 functions. Move the header reading into a separate token
8993 loop. Move the header token reading into BufferParams.
8995 2003-03-12 John Levon <levon@movementarian.org>
8997 * changes.C: put debug inside lyxerr.debugging() checks
8999 2003-03-11 André Pönitz <poenitz@gmx.net>
9001 * factory.C: make it aware of InsetHFill
9003 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9005 * buffer.C (latexParagraphs): move function from here...
9006 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9009 2003-03-10 Angus Leeming <leeming@lyx.org>
9011 * LyXAction.C (init): fix bug in poplating array with multiple entries
9012 with the same LFUN (spotted by JMarc).
9014 2003-03-10 John Levon <levon@movementarian.org>
9017 * text2.C: move getColumnNearX() near its
9020 2003-03-10 John Levon <levon@movementarian.org>
9022 * text.C: fix break before a minipage
9024 2003-03-10 John Levon <levon@movementarian.org>
9026 * text.C: fix the last commit
9028 2003-03-09 John Levon <levon@movementarian.org>
9032 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9033 bug 365 (don't break before insets unless needed). Don't
9034 return a value > last under any circumstances.
9036 2003-03-09 Angus Leeming <leeming@lyx.org>
9038 * BufferView_pimpl.C (trackChanges, dispatch): call
9039 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9041 2003-03-09 Angus Leeming <leeming@lyx.org>
9043 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9044 than Dialogs::showAboutlyx().
9046 2003-03-09 Angus Leeming <leeming@lyx.org>
9048 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9049 than Dialogs::showTabularCreate().
9051 2003-03-09 John Levon <levon@movementarian.org>
9055 * text2.C: 3rd arg to nextBreakPoint was always the same.
9058 2003-03-08 John Levon <levon@movementarian.org>
9065 * text2.C: Remove the "main" bit from the "main body"
9068 2003-03-08 John Levon <levon@movementarian.org>
9070 * text.C (leftMargin): The left margin of an empty
9071 manual label paragraph should not include the label width
9074 * text.C (prepareToPrint): don't attempt to measure hfills
9075 for empty manual label paragraphs - the answer should be 0
9077 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9079 * CutAndPaste.C: remove commented code and reindent.
9081 2003-03-08 John Levon <levon@movementarian.org>
9084 * lyxfunc.C: move reloadBuffer()
9087 * BufferView.C: to here
9089 * lyxvc.C: add comment
9092 * vc-backend.C: call bv->reload() to avoid
9093 getStatus() check on MENURELOAD
9095 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9097 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9098 to an old format .dep file.
9100 2003-03-07 Angus Leeming <leeming@lyx.org>
9102 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9103 when the LFUN_MOUSE_RELEASE should have been handled by
9104 inset->localDispatch.
9106 2003-03-07 Angus Leeming <leeming@lyx.org>
9108 * BufferView_pimpl.C (dispatch):
9109 * LyXAction.C (init):
9110 * ToolbarDefaults.C (init):
9112 * lyxfunc.C (getStatus):
9113 remove LFUN_INSET_GRAPHICS.
9115 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9117 2003-03-07 Angus Leeming <leeming@lyx.org>
9120 * LyXAction.C (init):
9121 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9123 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9126 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9128 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9129 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9131 2003-03-07 Angus Leeming <leeming@lyx.org>
9133 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9136 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9138 * ParagraphList.C (front): new function
9141 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9143 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9144 and top_row_offset_. removed var first_y.
9146 * text2.C (LyXText, removeRow):
9148 * BufferView_pimpl.C:
9149 use these methods instead of using first_y
9151 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9153 * text2.C (pasteSelection): adjust for checkPastePossible
9155 * CutAndPaste.C: remove Paragraph * buf and replace with
9156 ParagraphList paragraphs.
9157 (DeleteBuffer): delete
9158 (cutSelection): change the tc type to textclass_type
9159 (copySelection): change the tc type to textclass_type
9160 (copySelection): adjust for ParagraphList
9161 (pasteSelection): change the tc type to textclass_type
9162 (pasteSelection): adjust for Paragraphlist
9163 (nrOfParagraphs): simplify for ParagraphList
9164 (checkPastePossible): simplify for ParagraphList
9165 (checkPastePossible): remove unused arg
9167 * ParagraphList.C (insert): handle the case where there are no
9170 * CutAndPaste.h: make CutAndPaste a namespace.
9172 * text3.C (dispatch): adjust
9174 * text.C (breakParagraph): add a ParagraphList as arg
9176 * paragraph_funcs.C (breakParagraph): change to take a
9177 BufferParams and a ParagraphList as args.
9178 (breakParagraphConservative): ditto
9179 (mergeParagraph): ditto
9180 (TeXDeeper): add a ParagraphList arg
9181 (TeXEnvironment): ditto
9184 * buffer.C (readLyXformat2): adjust
9185 (insertStringAsLines): adjust
9186 (latexParagraphs): adjust
9188 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9189 (cutSelection): adjust
9190 (pasteSelection): adjust
9192 * BufferView_pimpl.C (insertInset): adjust
9194 2003-03-05 Angus Leeming <leeming@lyx.org>
9197 * LyXAction.C (init):
9198 * BufferView_pimpl.C (dispatch):
9199 * lyxfunc.C (getStatus):
9200 remove LFUN_CHILD_INSERT.
9202 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9204 2003-03-05 Angus Leeming <leeming@lyx.org>
9207 * LyXAction.C (init):
9208 * src/factory.C (createInset):
9209 * lyxfunc.C (getStatus):
9210 * text3.C (dispatch):
9211 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9213 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9215 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9217 * ParagraphList.C (insert): handle insert right before end()
9218 (erase): fix cases where it can be first or last paragraph.
9220 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9222 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9223 Paragraph::next and Paragraph::previous
9226 * text.C (breakParagraph): adjust
9228 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9229 BufferParams& as arg.
9230 (breakParagraph): use ParagraphList::insert
9231 (breakParagraphConservative): take a Buffer* instead of a
9232 BufferParams& as arg.
9233 (breakParagraphConservative): use ParagraphList::insert.
9235 * buffer.C (insertStringAsLines): un-const it
9236 (insertStringAsLines): adjust
9238 * ParagraphList.C (insert): new function
9240 * CutAndPaste.C (pasteSelection): adjust
9242 * text.C (backspace): adjust
9244 * tabular.C (SetMultiColumn): adjust
9246 * CutAndPaste.C (cutSelection): adjust
9247 (pasteSelection): adjust
9249 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9250 Buffer const * as arg
9252 * ParagraphList.C (erase): new function
9253 * paragraph_funcs.C (mergeParagraph): use it
9254 (mergeParagraph): make it take a Buffer* instead of a
9255 BufferParams* as arg
9257 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9259 (breakParagraphConservative): ditto
9261 * paragraph.h: remove the breakParagraph friend
9263 * paragraph.C (eraseIntern): new function
9264 (setChange): new function
9266 * paragraph_funcs.C (mergeParagraph): make it take a
9267 ParagraphList::iterator instead of a Paragraph *, adjust
9270 * paragraph.h: move an #endif so that the change tracking stuff
9271 also works in the NO_NEXT case.
9273 2003-03-04 Angus Leeming <leeming@lyx.org>
9276 * LyXAction.C: new LFUN_INSET_MODIFY.
9278 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9279 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9281 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9283 * several files: ws changes only
9285 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9286 (TeXEnvironment): ditto
9289 * buffer.C (makeLaTeXFile): adjust
9290 (latexParagraphs): make it take ParagraphList::iterator as args
9292 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9294 * buffer.C (latexParagraphs): adjust
9296 * paragraph.C (TeXOnePar): move function...
9297 (optArgInset): move function...
9298 (TeXEnvironment): move function...
9299 * paragraph_pimpl.C (TeXDeeper): move function...
9300 * paragraph_funcs.C: ...here
9302 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9304 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9306 * buffer.C (readInset): remove compability code for old Figure and
9309 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9311 * buffer.C: ws changes
9314 * BufferView_pimpl.C: ditto
9317 * bufferlist.h: ditto
9321 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9323 * converter.[Ch]: split into itself +
9326 * Makefile.am: += graph.[Ch] + format.[Ch]
9333 * lyxrc.C: added #include "format.h"
9335 2003-02-27 Angus Leeming <leeming@lyx.org>
9337 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9340 * factory.C (createInset): add "label" to the factory.
9342 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9343 string and do no more.
9345 2003-02-27 Angus Leeming <leeming@lyx.org>
9348 * LyXAction.C (init):
9349 * factory.C (createInset):
9350 * BufferView_pimpl.C (dispatch):
9351 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9353 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9355 * lyxfunc.C (dispatch):
9356 * text3.C (dispatch): pass name to params2string.
9358 2003-02-26 Angus Leeming <leeming@lyx.org>
9360 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9362 Rearrange the ~includes. Strip out the unnecessary ones.
9364 * factory.C (createInset): reformat.
9365 create new insets for the various LFUN_XYZ_APPLY lfuns.
9367 2003-02-26 John Levon <levon@movementarian.org>
9370 * lyxrow.C: add isParStart,isParEnd helpers
9372 * paragraph.h: make isInserted/DeletedText take refs
9374 * paragraph_funcs.h:
9375 * paragraph_funcs.C: remove #if 0'd code
9380 * text.C: use lyxrow helpers above.
9381 Move draw and paint routines to RowPainter.
9382 Make several methods use refs not pointers.
9383 Make backgroundColor() const.
9384 Add markChangeInDraw(), isInInset().
9385 Merge changeRegionCase into changeCase.
9386 Make workWidth() shouldn't-happen code into an Assert.
9389 * rowpainter.C: new class for painting a row.
9392 * vspace.C: make inPixels take a ref
9394 2003-02-26 Angus Leeming <leeming@lyx.org>
9396 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9399 2003-02-25 John Levon <levon@movementarian.org>
9401 * ispell.C: give the forked command a more accurate name
9403 2003-02-22 John Levon <levon@movementarian.org>
9406 * toc.C: make TocItem store an id not a Paragraph *
9409 2003-02-21 Angus Leeming <leeming@lyx.org>
9411 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9412 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9413 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9414 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9415 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9416 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9418 * BufferView_pimpl.C (dispatch):
9419 * LyXAction.C (init):
9420 * factory.C (createInset):
9421 * lyxfunc.C (getStatus, dispatch):
9422 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9424 2003-02-21 Angus Leeming <leeming@lyx.org>
9426 * BufferView_pimpl.C (MenuInsertLyXFile):
9427 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9428 * lyxfunc.C (menuNew, open, doImport):
9429 no longer pass a LyXView & to fileDlg.
9431 2003-02-21 Angus Leeming <leeming@lyx.org>
9433 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9434 * LyXAction.C: change, BIBKEY to BIBITEM.
9435 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9436 Change InsetBibKey to InsetBibitem.
9437 Change BIBKEY_CODE to BIBITEM_CODE.
9438 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9439 * factory.C: replace insetbib.h with insetbibitem.h.
9440 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9441 * paragraph.C: replace insetbib.h with insetbibitem.h.
9442 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9443 Change bibkey() to bibitem().
9444 * text.C: remove insetbib.h.
9445 * text2.C: replace insetbib.h with insetbibitem.h.
9446 change bibkey() to bibitem().
9447 * text3.C: remove insetbib.h.
9448 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9450 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9452 * lyxrc.C (output): enclose user email in quotes (in case there are
9455 2003-02-18 John Levon <levon@movementarian.org>
9457 * buffer.h: add std::
9459 2003-02-17 John Levon <levon@movementarian.org>
9465 * pspell.C: reworking. Especially in ispell, a large
9466 number of clean ups and bug fixes.
9468 * lyxfunc.C: fix revert to behave sensibly
9470 2003-02-17 André Pönitz <poenitz@gmx.net>
9473 * commandtags.h: new LFUN_INSERT_BIBKEY
9483 * paragraph_func.C: remove special bibkey handling
9485 2003-02-17 John Levon <levon@movementarian.org>
9487 * text.C (Delete): fix case where delete at the end of
9488 the very first paragraph would not merge the pars
9490 2003-02-17 John Levon <levon@movementarian.org>
9492 * lyxrow.C: fix lastPrintablePos()
9494 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9496 * bufferparams.C (writeLaTeX): add a std:here
9498 * buffer.C: and remove a using directive there
9500 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9502 * buffer.C (makeLaTeXFile): move the code that generates the
9505 * bufferparams.C (writeLaTeX): ... in this new method
9507 * LaTeXFeatures.C (getEncodingSet): make const
9508 (getLanguages): make const
9510 * MenuBackend.C (binding): returns the binding associated to this
9512 (add): sets the status of each item by calling getStatus. Adds
9514 (read): add support for OptSubMenu
9515 (expand): remove extra separator at the end of expanded menu
9517 2003-02-15 John Levon <levon@movementarian.org>
9520 * BufferView_pimpl.C:
9522 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9523 inset code that had no actual effect. Remove unneeded status
9526 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9528 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9531 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9533 * text.C (drawLengthMarker): also draw an arrow marker for
9534 symbolic lengths (medskip...)
9536 2003-02-14 John Levon <levon@movementarian.org>
9539 * tabular.C: better method names
9541 2003-02-14 John Levon <levon@movementarian.org>
9543 * BufferView_pimpl.C:
9548 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9549 it's a more accurate name. Remove some pointless uses.
9551 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9553 * text2.C (LyXText): change order of initilizers to shut off
9556 2003-02-14 John Levon <levon@movementarian.org>
9558 * buffer.C: use ParIterator for getParFromID()
9562 * paragraph_pimpl.h:
9563 * paragraph_pimpl.C: remove unused getParFromID()
9565 2003-02-14 John Levon <levon@movementarian.org>
9567 * buffer.C: remove some very old #if 0'd parse code
9569 2003-02-13 John Levon <levon@movementarian.org>
9573 * text2.C: move hfillExpansion(), numberOfSeparators(),
9574 rowLast(), rowLastPrintable(), numberofHfills(),
9575 numberOfLabelHfills() ...
9578 * lyxrow.C: ... to member functions here.
9583 * text.C: remove LyXText::beginningOfMainBody(), and call
9584 p->beginningOfMainBody() directly. Move the check for
9585 LABEL_MANUAL into the latter.
9592 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9598 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9599 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9601 2003-02-13 John Levon <levon@movementarian.org>
9603 * CutAndPaste.C: remove debug
9605 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9607 * paragraph.C (asString): remove two unused variables
9609 * lyxtextclass.C (readTitleType):
9611 (LyXTextClass): handle new members titletype_ and titlename_
9613 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9615 2003-02-09 John Levon <levon@movementarian.org>
9618 * buffer.C: replace hand-coded list with a map for the dep clean
9620 2003-02-08 John Levon <levon@movementarian.org>
9622 * LaTeX.C: consolidate code into showRunMessage() helper
9624 2003-02-08 John Levon <levon@movementarian.org>
9629 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9630 and pass the size in explicitly
9632 * BufferView_pimpl.h:
9633 * BufferView_pimpl.C:
9635 * BufferView.C: add getCurrentChange()
9637 * BufferView_pimpl.h:
9638 * BufferView_pimpl.C: handle change lfuns
9640 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9641 for changes. Mark pasted paragraphs as new.
9643 * support/lyxtime.h:
9644 * support/lyxtime.C:
9645 * DepTable.C: abstract time_t as lyx::time_type
9648 * LColor.C: add colours for new text, deleted text, changebars
9650 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9651 package use "usenames" option.
9655 * LyXAction.C: add change lfuns
9659 * author.C: author handling
9662 * buffer.C: add a per-buffer author list, with first entry as
9663 current author. Handle new .lyx tokens for change tracking. Output
9664 author list to .lyx file. Output dvipost stuff to .tex preamble.
9665 Bump lyx format to 222.
9668 * bufferlist.C: add setCurrentAuthor() to reset current author details
9672 * bufferparams.C: add param for tracking
9674 * bufferview_funcs.C: output change info in minibuffer
9678 * changes.C: add change-tracking structure
9681 * debug.C: add CHANGES debug flag
9684 * lyxfind.C: add code for finding the next change piece
9687 * lyxrc.C: add user_name and user_email
9690 * lyxrow.C: add a metric for the top of the text line
9693 * text.C: implement accept/rejectChange()
9696 * text.C: paint changebars. Paint new/deleted text in the chosen
9697 colours. Strike through deleted text.
9701 * paragraph_pimpl.h:
9702 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9703 in the current change to the insert functions. Rework erase to
9704 mark text as deleted, adding an eraseIntern() and a range-based
9705 erase(). Implement per-paragraph change lookup and
9708 * paragraph_funcs.C: Fixup paste for change tracking.
9710 * tabular.C: mark added row/columns as new.
9712 * text.C: fix rowLast() to never return -1. Don't allow
9713 spellchecking of deleted text. Track transpose changes. Don't
9714 allow paragraph break or merge where appropriate.
9716 * text2.C: leave cursor at end of selection after a cut.
9718 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9720 * text.C (getLengthMarkerHeight):
9721 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9722 visible on screen too.
9724 2003-02-07 John Levon <levon@movementarian.org>
9726 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9728 2003-02-05 Angus Leeming <leeming@lyx.org>
9730 * lyxserver.C (read_ready): revert my patch of 11 September last year
9731 as it sends PC cpu through the roof. Presumably this means that
9732 the lyxserver will no longer run on an Alpha...
9734 2003-01-30 Angus Leeming <leeming@lyx.org>
9736 * factory.C (createInset): create an InsetCommandParam of type "index"
9737 and use it to 'do the right thing'.
9739 * text2.C (getStringToIndex): ensure that cursor position is always
9740 reset to the reset_cursor position.
9742 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9744 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9747 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9751 * lyxfunc.C: Output messages with identical spelling, punctuation,
9754 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9756 * MenuBackend.C (expandFormats): List only viewable export formats
9759 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9762 * lyxfunc.C (getStatus): Make sure that formats other than
9763 "fax" can also be disabled
9765 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9767 * text3.C (dispatch): put the lfuns that insert insets in 3
9768 groups, and call doInsertInset with appropriate arguments.
9769 (doInsertInset): new function, that creates an inset and inserts
9770 it according to some boolean parameters.
9772 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9774 * buffer.C (readFile): remember to pass on 'par' when calling
9775 readFile recursively.
9777 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9779 * MenuBackend.C (expandFormats): add "..." to import formats.
9781 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9783 * paragraph.C (asString): Remove XForms RTL hacks.
9785 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9786 * buffer.C: fix typo
9788 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9790 * Makefile.am (LIBS): delete var
9791 (lyx_LDADD): add @LIBS@ here instead.
9793 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9795 * Clarify the meaning of "wheel mouse jump"
9797 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9799 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9802 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9804 * importer.C (Loaders): do not preallocate 3 elements in the
9805 vector, since one ends up with 6 elements otherwise
9807 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9809 * DepTable.C (write): write the file name as last element of the
9810 .dep file (because it may contain spaces)
9811 (read): read info in the right order
9813 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9815 * paragraph_pimpl.C (simpleTeXBlanks):
9816 (simpleTeXSpecialChars):
9817 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9819 * tabular.C (latex): add some missing case statements. Reindent.
9821 * MenuBackend.C (expandToc): remove unused variable.
9823 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9832 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9835 2003-01-05 John Levon <levon@movementarian.org>
9838 * BufferView.C: add getEncoding()
9841 * kbsequence.C: do not store last keypress
9844 * lyxfunc.C: store last keypress here instead. Pass encoding
9847 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9849 * lyx_main.C (init): remove annoying error message when following
9850 symbolic links (bug #780)
9852 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9854 * text.C (insertChar):
9855 * lyxrc.C (getDescription): remove extra spaces
9857 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9859 * lyxrc.C (getDescription): remove extra spaces
9861 2002-12-20 John Levon <levon@movementarian.org>
9863 * text3.C: hack fix for page up/down across tall rows
9865 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9867 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9870 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9872 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9873 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9874 thesaurus is not compiled in
9876 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9878 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9880 2002-12-16 Angus Leeming <leeming@lyx.org>
9883 * lyx_main.C (init): remove override_x_deadkeys stuff.
9885 2002-12-12 John Levon <levon@movementarian.org>
9887 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9888 insert. Only remove shift modifier under strict
9891 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9893 * MenuBackend.C (expandToc): fix crash.
9895 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9897 * MenuBackend.C (expandToc): gettext on float names.
9899 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9901 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9902 implement bool empty() [bug 490]
9904 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9906 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9908 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9910 * several files: ws changes
9912 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9914 * text2.C (setCounter): clean up a bit, use boost.format.
9915 (updateCounters): initialize par upon declaration.
9917 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9918 if the layout exists. We do not just store the layout any more.
9919 (SwitchLayoutsBetweenClasses): use boost.format
9921 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9923 * converter.C (convert): if from and to files are the same, use a
9924 temporary files as intermediary
9926 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9929 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9931 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9933 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9935 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9937 * tabular.C (asciiPrintCell): use string(size, char) instead of
9940 * sgml.C (openTag): fix order of arguments to string constructor
9943 * lyxfunc.C (dispatch): use boost.format
9945 * lots of files: change "c" -> 'c'
9947 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9949 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9951 2002-11-25 Angus Leeming <leeming@lyx.org>
9953 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9955 * lyx_main.C (init): compile fix.
9957 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9959 * lyx_cb.C (start): boost.formatify
9960 do not include <iostream>
9962 * lengthcommon.C: ws only
9964 * boost-inst.C,BoostFormat.h: add more explict instantations
9966 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9968 * lots of files: handle USE_BOOST_FORMAT
9970 2002-11-21 John Levon <levon@movementarian.org>
9972 * pspell.C: fix compile
9974 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9976 * lyxfunc.C (dispatch): use boost::format
9980 * lyxfont.C (stateText): use boost::format
9982 * lyx_main.C (LyX): use boost::format
9984 (queryUserLyXDir): ditto
9987 (typedef boost::function): use the recommened syntax.
9989 * importer.C (Import): use boost::format
9991 * debug.C (showLevel): use boost::format
9993 * converter.C (view): use boost::format
9998 * bufferview_funcs.C (currentState): use boost::format
10000 * bufferlist.C (emergencyWrite): use boost::format
10002 * buffer.C (readLyXformat2): use boost::format
10003 (parseSingleLyXformat2Token): ditto
10005 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10007 * LaTeX.C (run): use boost::format
10009 * Chktex.C (scanLogFile): use boost::format
10011 * BufferView_pimpl.C (savePosition): use boost::format
10012 (restorePosition): ditto
10013 (MenuInsertLyXFile): ditto
10015 * BoostFormat.h: help file for explicit instation.
10017 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10019 * tabular.C (latex): Support for block alignment in fixed width
10022 2002-11-17 John Levon <levon@movementarian.org>
10024 * BufferView_pimpl.C:
10026 * lyxfunc.C: split filedialog into open/save
10028 2002-11-08 Juergen Vigna <jug@sad.it>
10030 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10031 by my last patch (hopefully).
10033 2002-11-08 John Levon <levon@movementarian.org>
10042 * toc.C: ParConstIterator, and use it (from Lars)
10044 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10046 * lyxtextclass.[Ch]: revise and add doxygen comments
10048 2002-11-07 John Levon <levon@movementarian.org>
10050 * text.C: fix progress value for spellchecker
10052 * toc.C: fix navigate menu for insetwrap inside minipage
10054 * paragraph_funcs.C: added FIXME for suspect code
10056 2002-11-07 John Levon <levon@movementarian.org>
10058 * BufferView_pimpl.C: fix redrawing of insets
10061 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10063 * text2.C (updateCounters): fix bug 668
10065 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10067 * text3.C (dispatch): Do not make the buffer dirty when moving the
10070 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10072 * vc-backend.C: STRCONV
10073 (scanMaster): ditto
10075 * text2.C (setCounter): STRCONV
10077 * paragraph.C (asString): STRCONV
10079 * lyxlength.C (asString): STRCONV
10080 (asLatexString): ditto
10082 * lyxgluelength.C (asString): STRCONV
10083 (asLatexString): ditto
10085 * lyxfunc.C (dispatch): STRCONV
10088 * lyxfont.C (stateText): STRCONV
10090 * importer.C (Import): STRCONV
10092 * counters.C (labelItem): STRCONV
10093 (numberLabel): ditto
10094 (numberLabel): remove unused ostringstream o
10099 * bufferview_funcs.C (currentState): STRCONV
10101 * buffer.C (readFile): STRCONV
10102 (asciiParagraph): ditto
10103 (makeLaTeXFile): ditto
10105 * Spacing.C (writeEnvirBegin): STRCONV
10107 * LaTeXFeatures.C (getLanguages): STRCONV
10108 (getPackages): ditto
10110 (getBabelOptions): ditto
10111 (getTClassPreamble): ditto
10112 (getLyXSGMLEntities): ditto
10113 (getIncludedFiles): ditto
10117 (scanAuxFile): ditto
10120 * LString.h: add the STRCONV macros
10122 * BufferView_pimpl.C (savePosition): STRCONV
10123 (restorePosition): ditto
10124 (MenuInsertLyXFile): ditto
10126 * vc-backend.C (scanMaster): change from submatch[...] to
10129 * funcrequest.C: include config.h
10131 * factory.C: include config.h
10133 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10135 * box.C: include config.h
10137 * LaTeX.C (scanAuxFile): change from submatch[...] to
10141 2002-10-25 Angus Leeming <leeming@lyx.org>
10143 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10145 * ispell.[Ch] (setError): new method.
10146 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10147 Use setError() insetead of goto END.
10149 * lyx_cb.C (AutoSave): move out child process into new class
10152 2002-10-30 John Levon <levon@movementarian.org>
10154 * text3.C: make start appendix undoable
10156 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10158 * lyxlength.C (inPixels): Fix returned value.
10160 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10163 2002-10-24 Angus Leeming <leeming@lyx.org>
10165 * lyxgluelength.h: no need to forward declare BufferParams
10166 or BufferView, so don't.
10168 2002-10-21 John Levon <levon@movementarian.org>
10170 * BufferView.C: menuUndo ->undo, redo
10172 * BufferView.h: document, remove dead, make some methods private
10174 * paragraph_funcs.h:
10175 * paragraph_funcs.C:
10176 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10181 * sgml.C: move sgml open/close tag into sgml.C
10183 * bufferview_funcs.h: unused prototype
10186 * lyxfunc.C: remove unused
10189 * text.C: remove unused
10191 2002-10-21 John Levon <levon@movementarian.org>
10195 * BufferView_pimpl.h:
10196 * BufferView_pimpl.C: fix mouse wheel handling based on
10197 patch from Darren Freeman
10199 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10201 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10203 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10205 * lyxlength.C (inPixels): Fix hanfling of negative length.
10206 Fix LyXLength::MU case.
10208 2002-10-16 John Levon <levon@movementarian.org>
10210 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10212 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10214 * converter.C (view): add support for $$i (file name) and $$p
10215 (file path) for the viewer command. If $$i is not specified, then
10216 it is appended to the command (for compatibility with old syntax)
10218 2002-10-14 Juergen Vigna <jug@sad.it>
10220 * undo_funcs.C (textHandleUndo): alter the order in which the
10221 new undopar is added to the LyXText, as we have to set first
10222 the right prev/next and then add it as otherwise the rebuild of
10223 LyXText is not correct. Also reset the cursor to the right paragraph,
10224 with this IMO we could remove the hack in "redoParagraphs()".
10226 2002-10-09 Angus Leeming <leeming@lyx.org>
10228 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10229 to turn off an optimisation if a new inset is to be inserted.
10231 2002-10-11 André Pönitz <poenitz@gmx.net>
10233 * lyxtext.h: make some functions public to allow access
10234 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10236 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10238 * text3.C (dispatch): when changing layout, avoid an infinite loop
10241 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10243 * lyxrc.C (read): treat a viewer or converter command of "none" as
10246 * MenuBackend.C (expandFormats): for an update, also allow the
10247 formats that are not viewable
10249 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10250 script if it is newer than the lyxrc.defaults in user directory
10252 2002-10-07 André Pönitz <poenitz@gmx.net>
10254 * text.C: Vitaly Lipatov's small i18n fix
10256 2002-09-25 Angus Leeming <leeming@lyx.org>
10258 * ispell.h: doxygen fix.
10260 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10262 * buffer.h (readFile): Add a new argument to the method, to allow
10263 reading of old-format templates.
10265 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10267 * toc.C (getTocList): Get TOC from InsetWrap.
10269 2002-09-16 John Levon <levon@movementarian.org>
10271 * lyxfunc.C: check tabular for cut/copy too
10273 2002-09-12 John Levon <levon@movementarian.org>
10275 * LyXAction.C: tidy
10278 * factory.C: add header
10280 * paragraph_funcs.h:
10281 * paragraph_funcs.C: cleanup
10283 2002-09-11 John Levon <levon@movementarian.org>
10285 * PrinterParams.h: odd/even default to true
10287 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10289 * PrinterParams.h: update printer parameters for new xforms dialog
10291 2002-09-11 Angus Leeming <leeming@lyx.org>
10293 * lyxserver.C (read_ready): re-write to make it more transparent
10294 and to make it work in coherent fashion under Tru64 Unix.
10296 2002-09-11 André Pönitz <poenitz@gmx.net>
10300 * text3.C: implement LFUN_WORDSEL
10302 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10304 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10305 make floatlist_ a boost::shared_ptr<FloatList>
10307 * lyxtextclass.C: include FloatList.h
10308 (LyXTextClass): initialize floatlist_
10309 (TextClassTags): add TC_NOFLOAT
10310 (Read): match "nofloat" to TC_NOFLOAT and use it.
10311 (readFloat): modify call to floatlist_
10315 * FloatList.[Ch] (FloatList): remove commented out float
10317 (erase): new function
10319 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10321 * MenuBackend.C (expandToc): fix crash when there is no document
10324 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10326 * many files: Add insetwrap.
10328 2002-09-09 John Levon <levon@movementarian.org>
10330 * text2.C: remove confusing and awkward depth wraparound
10332 2002-09-09 John Levon <levon@movementarian.org>
10334 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10337 * buffer.C: remove getIncludeonlyList()
10340 * lyxfunc.C: remove headers
10342 2002-09-09 Juergen Vigna <jug@sad.it>
10344 * text.C (getColumnNearX): fix form Michael this is most
10345 probably a cut&paste bug.
10347 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10349 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10351 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10352 references, ws changes.
10354 * text2.C (init): update counters after init
10355 (insertParagraph): no need to set counter on idividual paragraphs.
10356 (setCounter): access the counters object in the textclass object
10357 on in the buffer object.
10358 (updateCounters): ditto
10360 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10361 shared_ptr<Counters> to avoid loading counters.h in all
10363 (LyXTextClass): initialize ctrs_
10364 (TextClassTags): add TC_COUNTER, and ...
10365 (Read): use it here.
10366 (CounterTags): new tags
10367 (readCounter): new function
10368 (counters): new funtion
10369 (defaultLayoutName): return a const reference
10371 * counters.C (Counters): remove contructor
10372 (newCounter): remove a couple of unneeded statements.
10373 (newCounter): simplify a bit.
10374 (numberLabel): some small formatting changes.
10376 * buffer.[Ch]: remove all traces of counters, move the Counters
10377 object to the LyXTextClass.
10379 2002-09-06 Alain Castera <castera@in2p3.fr>
10381 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10382 package to set the horizontal alignment on fixed width columns.
10385 * lyx_sty.h: added tabularnewline macro def.
10387 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10389 2002-09-06 John Levon <levon@movementarian.org>
10391 * LyXAction.C: tooltips for sub/superscript
10393 * MenuBackend.C: a bit more verbose
10395 * lyxfunc.C: tiny clean
10397 * undo_funcs.C: document undo_frozen
10399 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10401 * counters.C (Counters): add missing algorithm counter.
10403 * text2.C (setCounter): lookup the counter with layouts latexname
10404 instead of by section number.
10405 (setCounter): use a hackish way to lookup the correct enum
10407 a float name->type change
10408 reset enum couners with counter name directly instead of depth value.
10410 * counters.C (Counters): remove the push_backs, change to use the
10411 float type not the float name.
10412 (labelItem): remove unused string, float name->type change
10414 * counters.h: don't include vector, loose the enums and sects vectors
10416 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10418 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10419 (Read): add float->TC_FLOAT to textclassTags
10420 (Read): and handle it in the switch
10421 (readFloat): new function
10423 * FloatList.C (FloatList): comment out the hardcoded float
10426 * lyxlayout.h: ws change.
10428 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10430 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10432 2002-09-03 Angus Leeming <leeming@lyx.org>
10434 * BufferView_pimpl.h: qualified name is not allowed in member
10435 declaration: WorkArea & Pimpl::workarea() const;
10437 * factory.C: added using std::endl directive.
10439 * text3.C: added using std::find and std::vector directives.
10441 2002-08-29 André Pönitz <poenitz@gmx.net>
10444 * text2.C: remove unused member number_of_rows
10447 * BufferView2.C: remove file, move contents to...
10448 * BufferView.C: ... here
10450 * BufferView_pimpl.C:
10451 * factory.C: move more inset creation to factory
10453 * vspace.C: avoid direct usage of LyXText, ws changes
10456 don't provide direct access to WorkArea, use two simple
10457 acessors haveSelction() and workHeight() instead
10460 2002-08-29 John Levon <levon@movementarian.org>
10462 * BufferView_pimpl.C (dispatch): do not continue when
10465 2002-08-28 André Pönitz <poenitz@gmx.net>
10467 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10470 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10472 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10474 * buffer.C: increment LYX_FORMAT to 221
10476 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10477 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10479 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10481 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10483 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10485 * factory.C (createInset): use LyXTextClass::floats
10487 * MenuBackend.C (expandFloatListInsert):
10488 (expandFloatInsert):
10491 * text2.C (setCounter):
10493 * LaTeXFeatures.C (useFloat):
10494 (getFloatDefinitions):
10496 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10498 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10499 floatlist_, with accessor floats().
10501 * FloatList.h: remove global FloatList
10503 2002-08-26 André Pönitz <poenitz@gmx.net>
10505 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10509 * BufferView_pimpl.C:
10510 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10512 2002-08-25 John Levon <levon@movementarian.org>
10514 * LyXAction.C: fix margin note description
10516 2002-08-24 John Levon <levon@movementarian.org>
10520 * bufferview_funcs.C:
10522 * undo_funcs.C: cleanups
10524 * lyxfunc.C: disable CUT/COPY when no selection
10526 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10528 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10529 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10531 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10532 Add backward compatibility to "mono", "gray" and "no".
10534 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10536 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10537 (and file_format >= 200).
10539 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10541 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10543 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10545 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10547 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10549 * BufferView_pimpl.C:
10556 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10557 inset and code to make it work with the paragraph code. The inset
10558 can be anywhere in the paragraph, but will only do the expected
10559 thing in LaTeX if the layout file contains the parameter line
10561 (or more generally, a nonzero value) for that layout.
10563 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10565 * paragraph.h: remove the declaration of undefined counters class
10568 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10570 * text2.C (setCounter): fixed enumeration mis-count as reported by
10571 Dr. Richard Hawkins.
10573 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10575 * paragraph_funcs.h: remove some unneeded includes
10577 * text.C (backspace): pasteParagraph now in global scipe
10579 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10580 (pasteSelection): ditto
10582 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10583 * paragraph_funcs.C (pasteParagraph): ... here
10585 2002-08-20 André Pönitz <poenitz@gmx.net>
10587 * commandtags.h: new LFUNs for swapping/copying table row/colums
10590 * lyxfunc.C: support for new lfuns
10592 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10595 * buffer.[Ch]: remove NO_COMPABILITY stuff
10597 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10599 * boost.C (throw_exception): new file, with helper function for
10600 boost compiled without exceptions.
10605 * ParameterStruct.h:
10606 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10608 * bufferlist.C (emergencyWriteAll): use boost bind
10610 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10612 * text.C: include paragraph_funcs.h
10613 (breakParagraph): breakParagraph is now in global scope
10615 * paragraph_funcs.[Ch]: new files
10617 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10620 * buffer.C: include paragraph_funcs.h
10621 (insertStringAsLines): breakParagraph is now in global scope
10623 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10626 * CutAndPaste.C: include paragraph_funcs.h
10627 (cutSelection): breakParagraphConservative is now in global scope
10628 (pasteSelection): ditto
10630 * buffer.h: declare oprator== and operator!= for
10631 Buffer::inset_iterator
10633 * bufferlist.C (emergencyWrite): don't use fmt(...)
10635 * text3.C: add using std::endl
10637 * BufferView.C (moveCursorUpdate): remove default arg
10639 2002-08-20 André Pönitz <poenitz@gmx.net>
10641 * buffer.[Ch]: move inline functions to .C
10644 * BufferView_pimpl.C:
10646 * buffer.[Ch]: use improved inset_iterator
10649 * paragraph.[Ch]: write one paragraph at a time
10651 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10653 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10654 style if style is not specified.
10656 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10658 * text2.C (setCounter): when searching for right label for a
10659 caption, make sure to recurse to parent insets (so that a caption
10660 in a minipage in a figure float works) (bug #568)
10662 2002-08-20 André Pönitz <poenitz@gmx.net>
10664 * text3.C: new file for LyXText::dispatch() and helpers
10666 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10668 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10670 2002-08-19 André Pönitz <poenitz@gmx.net>
10673 * text.C: new LyXText::dispatch()
10675 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10677 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10679 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10681 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10684 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10686 * Makefile.am: use $(variables) instead of @substitutions@
10688 2002-08-15 André Pönitz <poenitz@gmx.net>
10691 * BufferView_pimpl.C: streamlining mathed <-> outer world
10695 * LyXAction.C: remove unused LFUN_MATH
10697 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10699 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10701 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10703 * paragraph.C (Paragraph): reformat a bit
10704 (cutIntoMinibuffer): use builtin InsetList function instad of
10708 * buffer.C: include boost/bind.hpp, add using std::for_each
10709 (writeFileAscii): use ParagraphList iterators
10710 (validate): use for_each for validate traversal of paragraphs
10711 (getBibkeyList): use ParagraphList iterators
10712 (resizeInsets): use for_each to resizeInsetsLyXText for all
10714 (getParFromID): use ParagraphList iterators
10716 * BufferView2.C (lockInset): use paragraph list and iterators
10718 2002-08-14 John Levon <levon@movementarian.org>
10720 * lyxserver.C: remove spurious xforms include
10722 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10724 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10726 2002-08-13 André Pönitz <poenitz@gmx.net>
10729 * lyxfunc.C: further cleaning
10731 2002-08-13 André Pönitz <poenitz@gmx.net>
10733 * funcrequest.h: new constructor
10735 * funcrequest.C: move stuff here from .h
10738 * BufferView_pimpl.C:
10741 * lyxfunc.C: subsequent changes
10743 * lyxfunc.h: new view() member function
10745 * lyxfunc.C: subsequent changes
10747 2002-08-13 Angus Leeming <leeming@lyx.org>
10750 * BufferView_pimpl.C:
10758 changes due to the changed LyXView interface that now returns references
10759 to member variables not pointers.
10761 2002-08-13 Angus Leeming <leeming@lyx.org>
10763 * WordLangTuple (word, lang_code): return references to strings,
10768 * lyxtext.h: forward-declare WordLangTuple.
10773 * text.C: #include "WordLangTuple.h".
10776 * text.C: (selectNextWordToSpellcheck): constify return type.
10778 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10784 * paragraph_pimpl.h:
10787 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10788 suggested by Angus.
10789 Made updateCounter always count from start of buffer, and removed
10790 second argument (par).
10791 Reverted floats number display to '#'. Perhaps I'll try again when the
10792 code base is sanitized a bit.
10794 2002-08-12 Angus Leeming <leeming@lyx.org>
10796 * buffer.[Ch] (getLabelList): constify.
10798 2002-08-07 André Pönitz <poenitz@gmx.net>
10800 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10802 * funcrequest.h: extension to keep mouse (x,y) position
10804 2002-08-12 Juergen Vigna <jug@sad.it>
10806 * BufferView2.C (insertErrors): forbid undo when inserting error
10809 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10811 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10813 * ParagraphList.[Ch]: new files
10815 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10817 * BufferView2.C (lockInset): ParagraphList changes
10820 * bufferlist.C: ditto
10824 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10826 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10827 unused class variable counter_,
10829 * paragraph.[Ch] (getFirstCounter): delete unused function
10831 * counters.C: include LAssert.h
10832 (reset): add a new function with no arg, change other version to
10833 not have def. arg and to not allow empty arg.
10835 * text2.C (setCounter): remove empty arg from call to Counters::reset
10837 2002-08-11 John Levon <levon@movementarian.org>
10839 * Makefile.am: add WordLangTuple.h
10841 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10843 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10844 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10846 * insets/insettext.C: InsetList changes
10848 * graphics/GraphicsSupport.C (operator()): InsetList changes
10850 * toc.C (getTocList): InsetList changes
10852 * paragraph_pimpl.[Ch]: InsetList changes
10854 * paragraph.[Ch]: InsetList changes
10856 * buffer.C (inset_iterator): InsetList changes
10857 (setParagraph): ditto
10858 * buffer.h (inset_iterator): ditto
10859 * iterators.C (operator++): ditto
10860 * iterators.h: ditto
10862 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10864 * InsetList.[Ch]: new files, most InsetList handling moved out of
10867 * BufferView2.C (removeAutoInsets): InsetList changes
10869 (ChangeInsets): ditto
10871 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10873 * paragraph_pimpl.h (empty): new function
10875 * paragraph.[Ch] (empty): new function
10877 * other files: use the new Paragraph::empty function
10879 2002-08-09 John Levon <levon@movementarian.org>
10881 * lyxtext.h: remove unused refresh_height
10883 2002-08-09 John Levon <levon@movementarian.org>
10890 * paragraph.C: move sgml char escaping out of paragraph
10893 * paragraph.C: remove id setter
10897 * paragraph_pimpl.C: remove dead tex_code_break_column
10899 * bufferview_funcs.C: small cleanup
10901 * lyxfunc.C: remove dead proto
10903 * lyxtext.h: make some stuff private. Remove some dead stuff.
10905 * lyxgluelength.C: make as[LyX]String() readable
10907 2002-08-08 John Levon <levon@movementarian.org>
10912 * ToolbarDefaults.C:
10915 * toc.C: lyxaction cleanup
10917 2002-08-08 John Levon <levon@movementarian.org>
10919 * BufferView2.C: small cleanup
10922 * lyxfind.C: move unnecessary header into the .C
10924 2002-08-08 John Levon <levon@movementarian.org>
10926 * funcrequest.h: just tedious nonsense
10929 * lyx_main.C: cleanups
10932 * vspace.C: remove dead header lyx_main.h
10934 2002-08-07 Angus Leeming <leeming@lyx.org>
10937 * paragraph_pimpl.h:
10938 Forward declare class Counters in paragraph.h by moving the ctrs member
10939 variable into Paragraph::Pimpl.
10940 (counters): new method, returning a reference to pimpl_->ctrs.
10942 * text2.C: ensuing changes.
10944 2002-08-07 John Levon <levon@movementarian.org>
10946 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10948 * BufferView_pimpl.C: announce X selection on double/triple
10951 * lyx_main.C: use correct bool in batch dispatch
10953 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10955 2002-08-07 André Pönitz <poenitz@gmx.net>
10957 * funcrequest.h: new class to wrap a kb_action and its argument
10960 * BufferView_pimpl[Ch]:
10964 * lyxrc.C: subsequent changes
10967 2002-08-07 John Levon <levon@movementarian.org>
10969 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10970 document options change.
10972 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10977 * makefile.am: move counters functionality over from
10978 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10980 2002-08-06 John Levon <levon@movementarian.org>
10982 * WordLangTuple.h: new file for word + language code tuple
10993 * BufferView2.C: use WordLangTuple
10996 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10998 2002-08-06 John Levon <levon@movementarian.org>
11000 * lyx_main.C: fix cmdline batch handling
11002 2002-08-06 André Pönitz <poenitz@gmx.net>
11004 * lyxrc.C: set default for show_banner to true
11006 2002-08-06 John Levon <levon@movementarian.org>
11008 * pspell.C: fix a crash, and allow new aspell to work
11010 2002-08-06 John Levon <levon@movementarian.org>
11013 * kbmap.C: small cleanup
11016 * vspace.C: add const
11018 2002-08-05 John Levon <levon@movementarian.org>
11020 * LyXAction.C: back to tabular-insert
11022 2002-08-04 John Levon <levon@movementarian.org>
11025 * BufferView.C: cosmetic change
11027 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11037 * BufferView2.C: purge all "Lyx" not "LyX" strings
11040 * lyxcursor.C: attempt to add some documentation
11045 * ToolbarDefaults.C:
11046 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11047 merge with LFUN_TABULAR_INSERT
11054 * pspell.C: split up i/pspell implementations into separate
11055 files, many cleanups
11057 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11059 * text2.C: some cleanup
11061 * lyxfunc.C: don't check for isp_command == "none" any more, it
11062 didn't make any sense
11064 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11069 * makefile.am: move counters functionality over
11070 from text2.C/paragraph.[Ch] to counters.[Ch], and
11072 2002-08-02 John Levon <levon@movementarian.org>
11074 * buffer.C: s/lyxconvert/lyx2lyx/
11076 2002-08-02 Angus Leeming <leeming@lyx.org>
11078 * lyxlex.C: revert John's change as it breaks reading of the user
11081 2002-08-02 Angus Leeming <leeming@lyx.org>
11083 * importer.C (Import):
11084 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11085 changes due to LyXView::view() now returning a boost::shared_ptr.
11087 2002-08-02 John Levon <levon@movementarian.org>
11089 * lyxlex.C: small cleanup
11091 2002-08-02 John Levon <levon@movementarian.org>
11093 * text2.C (status): small cleanup, no logic change
11095 2002-08-01 John Levon <levon@movementarian.org>
11098 * buffer.C (writeFile): don't output alerts, caller
11102 * lyx_cb.C: from above
11104 * lyxfunc.C: allow to open non-existent files
11106 2002-07-31 John Levon <levon@movementarian.org>
11108 * lyxserver.C: don't let incidental errors get
11111 2002-07-30 John Levon <levon@movementarian.org>
11113 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11115 2002-07-30 John Levon <levon@movementarian.org>
11118 * lyxserver.C: remove I/O callback too
11120 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11122 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11125 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11127 * many files: strip,frontStrip -> trim,ltrim,rtrim
11129 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11131 * PrinterParams.h: remove extern containsOnly, and include
11132 support/lstrings.h instead.
11134 * LaTeX.C (scanAuxFile): modify because of strip changes
11136 * buffer.C (makeLaTeXFile): ditto
11137 * bufferparams.C (writeFile): ditt
11138 * lyxfont.C (stateText): ditto
11139 * lyxserver.C (read_ready): ditto
11140 * vc-backend.C (scanMaster): ditto
11142 * BufferView_pimpl.h: ws changes
11144 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11146 2002-07-26 André Pönitz <poenitz@gmx.net>
11148 * kb_sequence.C: remove unnedred usings
11150 2002-07-26 Juergen Vigna <jug@sad.it>
11152 * lyxfind.C (LyXReplace): we have to check better if the returned
11153 text is not of theLockingInset()->getLockingInset().
11155 2002-07-25 Juergen Vigna <jug@sad.it>
11157 * lyxfind.C (LyXReplace): don't replace if we don't get the
11160 * undo_funcs.C (createUndo): remove debugging code.
11162 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11164 * buffer.C (parseSingleLyXformat2Token): Use default placement
11165 when reading old floats.
11167 * FloatList.C (FloatList): Change the default placement of figure
11168 and tables to "tbp".
11170 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11172 * MenuBackend.C: using std::max
11174 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11176 * MenuBackend.C (expandToc):
11177 (expandToc2): code moved from xforms menu frontend. It is now
11178 generic and TOCs are transparent to menu frontends.
11180 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11182 * toc.C (getTocList): protect against buf=0
11184 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11185 Menu as first parameter. Now, this calls itself recursively to
11186 expand a whole tree (this will be useful for TOC handling)
11187 (expandFloatInsert): remove 'wide' version of floats
11189 * MenuBackend.h (submenuname): returns the name of the submenu.
11190 (submenu): returns the submenu itself, provided it has been
11191 created by MenuBackend::expand
11193 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11195 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11196 insets which have noFontChange == true. (bug #172)
11198 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11200 * BufferView_pimpl.C: add connection objects and use them...
11203 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11205 * MenuBackend.C (expandLastfiles):
11208 (expandFloatListInsert):
11209 (expandFloatInsert):
11210 (expand): split expand in parts
11212 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11214 * lyx_gui.C: use lyx_gui::exit()
11216 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11218 * LyXAction.C: show the failing pseudo action
11220 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11222 * buffer.C (readFile): Run the lyxconvert script in order to read
11225 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11229 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11231 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11235 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11237 2002-07-22 Herbert Voss <voss@lyx.org>
11240 * lyxlength.[Ch]: add support for the vertical lengths
11242 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11244 * toc.[Ch]: std:: fixes
11246 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11248 * lyxrc.C: do not include lyx_main.h
11250 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11256 * BufferView2.C: include "lyxlex.h"
11259 * bufferparams.h: do not #include "lyxlex.h"
11261 * lyxtextclasslist.C (Add): remove method
11262 (classlist): renamed to classlist_
11264 * paragraph_pimpl.C:
11268 * bufferview_funcs.C:
11273 * toc.C (getTocList): use BufferParams::getLyXTextClass
11275 * toc.C (getTocList): use InsetFloat::addToToc
11277 * toc.[Ch]: new files, containing helper functions to handle table
11280 * lyxfunc.C (dispatch): no need to remove spaces around command
11282 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11283 first command of the sequence; it is not very clever, but I do not
11284 have a better idea, actually
11286 * LyXAction.C (LookupFunc): make sure to remove space at the
11287 beginning and end of the command
11289 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11291 * MenuBackend.C (getMenubar): new method: return the menubar of
11293 (read): treat differently reading of menu and menubar (in
11294 particular, the menubar has no name now)
11295 (Menu::menubar): remove
11297 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11300 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11302 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11303 a bibitem inset in a RTL paragraph.
11305 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11307 * paragraph_pimpl.C: constify
11309 * BufferView_pimpl.C:
11311 * lyxfunc.C: fix dispatch in a nicer way
11313 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11315 * lyxfunc.C (dispatch):
11316 * BufferView_pimpl.C:
11317 * BufferView_pimpl.h:
11319 * BufferView.h: rename Dispatch() to dispatch()
11321 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11323 * lyxlayout.C (Read): honor DependsOn tag
11325 * lyxlayout.[Ch] (depends_on): new method
11327 * version.C.in: update lyx_docversion
11329 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11331 * paragraph.C (validate): remove from here...
11332 * paragraph_pimpl.C (validate): ... and move here
11333 (isTextAt): make it const
11335 * buffer.C (getLists): ws cleanup
11337 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11339 * language.C (read): Use iso8859-1 encoding in latex_lang
11340 (this prevents LyX from crashing when using iso10646-1 encoding).
11342 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11344 * text2.C (toggleInset): if cursor is inside an inset, close the
11345 inset and leave cursor _after_ it
11347 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11349 * lyxfunc.C: move minibuffer completion handling out of here
11351 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11353 * BufferView_pimpl.C:
11354 * LaTeX.C: fix dispatch calls
11356 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11358 * text.C (drawChars): Fix Arabic text rendering.
11360 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11364 * lyxfunc.C: remove message-push/pop
11368 * lyxfunc.C: rationalise some code by removing verboseDispatch
11369 in favour of a bool argument to dispatch()
11371 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11373 * lyx_main.C (init): make sure to read symlinks as absolute paths
11375 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11378 * lyxfunc.C: no need for commandshortcut to be a member
11380 2002-07-15 André Pönitz <poenitz@gmx.net>
11382 * converter.C: add support for $$s (scripts from lib/scripts dir)
11383 * lyx_main.C: white space
11385 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11389 * lyxrc.C: remove second exit confirmation
11391 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11396 * BufferView_pimpl.h:
11397 * BufferView_pimpl.C:
11398 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11400 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11402 * MenuBackend.C (expand): add numeric shortcuts to document menu
11404 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11406 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11408 * lyxfont.C (setLyXFamily):
11415 * buffer.C (asciiParagraph): use ascii_lowercase
11417 2002-07-15 Mike Fabian <mfabian@suse.de>
11419 * lyxlex_pimpl.C (search_kw):
11420 * lyxlex.C (getLongString):
11421 * converter.h (operator<):
11422 * converter.C (operator<):
11423 * buffer.C (parseSingleLyXformat2Token):
11425 * ToolbarDefaults.C (read):
11426 * MenuBackend.C (checkShortcuts):
11428 * LColor.C (getFromGUIName):
11429 (getFromLyXName): use the compare_ascii_no_case instead of
11430 compare_no_case, because in turkish, 'i' is not the lowercase
11431 version of 'I', and thus turkish locale breaks parsing of tags.
11433 2002-07-16 Angus Leeming <leeming@lyx.org>
11435 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11436 now takes a Buffer const & argument.
11438 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11440 * BufferView.C (resize): check there's a buffer to resize
11442 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11444 * lyxfunc.C: remove dead code
11447 * lyxserver.C: use lyx_guii::set_read_callback
11449 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11451 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11452 an inset in a RTL paragraph.
11454 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11456 * lyxfunc.C: repaint after a font size update
11458 2002-07-15 André Pönitz <poenitz@gmx.net>
11460 * lyxlength.C: inBP should be able to return negative values
11462 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11464 * lyxfunc.C: use lyx_gui::update_fonts()
11466 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11468 * lyxfunc.C: use lyx_gui::update_color()
11470 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11476 * lyxrc.C: remove file->new asks for name option, and let
11477 buffer-new take an argument
11479 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11481 * BufferView_pimpl.C: remove unneeded extra repaint()
11483 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11485 * LyXAction.C: allow command-sequence with NoBuffer
11487 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11489 2002-07-10 Angus Leeming <leeming@lyx.org>
11491 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11493 2002-07-09 Angus Leeming <leeming@lyx.org>
11495 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11497 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11499 * lengthcommon.h: whitespace
11501 * lyxfunc.C: update scrollbar after goto paragraph
11503 * lyxtext.h: factor out page break drawing, and fix it so
11504 page break/added space paints as selected nicely
11506 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11508 * BufferView_pimpl.C: add FIXMEs, clean up a little
11510 2002-07-09 André Pönitz <poenitz@gmx.net>
11512 * lyxfont.[Ch]: support for wasy symbols
11514 2002-07-08 André Pönitz <poenitz@gmx.net>
11516 * BufferView_pimpl.C: apply John's patch for #93.
11518 2002-07-05 Angus Leeming <leeming@lyx.org>
11520 * BufferView_pimpl.C (buffer): generate previews if desired.
11522 * LColor.h: add "preview" to the color enum.
11524 * LColor.C (LColor): add a corresponding entry to the items array.
11526 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11529 2002-07-05 Angus Leeming <leeming@lyx.org>
11531 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11532 The body of the code is now in the method that is passed an ostream &
11533 rather than a file name.
11534 Pass an additional only_preamble parameter, useful for the forthcoming
11537 2002-07-03 André Pönitz <poenitz@gmx.net>
11539 * lyxfunc.C: simplify getStatus() a bit for math stuff
11541 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11543 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11545 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11547 * text.C (changeRegionCase): do not change case of all the
11548 document when region ends at paragraph end (bug #461)
11550 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11552 * paragraph.C (startTeXParParams):
11553 (endTeXParParams): add \protect when necessary
11555 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11557 * BufferView_pimpl.C (workAreaExpose): remove warning
11559 2002-06-27 Angus Leeming <leeming@lyx.org>
11561 * Makefile.am: add lyxlayout_ptr_fwd.h.
11563 2002-06-26 André Pönitz <poenitz@gmx.net>
11565 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11567 2002-06-25 Angus Leeming <leeming@lyx.org>
11569 * lyxfunc.C (dispatch): Comment out the call to
11570 grfx::GCache::changeDisplay. The method no longer exists now that the
11571 pixmap generation part of the graphics loader has been moved into
11574 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11576 * text2.C: layout as layout
11578 * text.C: layout as layout
11580 * tabular.C (OldFormatRead): layout as layout
11582 * paragraph_pimpl.C (TeXDeeper): layout as layout
11583 (realizeFont): layout as layout
11585 * paragraph.C (writeFile): layout as layout
11586 (validate): layout as layout
11587 (getFont): layout as layout
11588 (getLabelFont): layout as layout
11589 (getLayoutFont): layout as layout
11590 (breakParagraph): layout as layout
11591 (stripLeadingSpaces): layout as layout
11592 (getEndLabel): layout as layout
11593 (getMaxDepthAfter): layout as layout
11594 (applyLayout): layout as layout
11595 (TeXOnePar): layout as layout
11596 (simpleTeXOnePar): layout as layout
11597 (TeXEnvironment): layout as layout
11598 (layout): layout as layout
11599 (layout): layout as layout
11601 * lyxtextclass.C (compare_name): new functor to work with
11602 shared_ptr, layout as layout
11603 (Read): layout as layout
11604 (hasLayout): layout as layout
11605 (operator): layout as layout
11606 (delete_layout): layout as layout
11607 (defaultLayout): layout as layout
11609 * lyxlayout_ptr_fwd.h: new file
11611 * lyxlayout.C (Read): layout as layout
11613 * lyx_cb.C (MenuInsertLabel): layout as layout
11615 * bufferlist.C (newFile): layout as layout
11617 * buffer.C (readLyXformat2): layout as layout
11618 (parseSingleLyXformat2Token): layout as layout
11619 (insertStringAsLines): layout as layout
11620 (asciiParagraph): layout as layout
11621 (latexParagraphs): layout as layout
11622 (makeLinuxDocFile): layout as layout
11623 (simpleLinuxDocOnePar): layout as layout
11624 (makeDocBookFile): layout as layout
11625 (simpleDocBookOnePar): layout as layout
11626 (getLists): layout as layout
11628 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11630 * CutAndPaste.C (cutSelection): layout as layout
11631 (pasteSelection): layout as layout
11632 (SwitchLayoutsBetweenClasses): layout as layout
11634 * BufferView_pimpl.C (Dispatch): layout as layout
11635 (smartQuote): layout as layout
11637 * BufferView2.C (unlockInset): layout as layout
11639 2002-06-24 André Pönitz <poenitz@gmx.net>
11641 * lyxfunc.C: fix #487
11643 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11647 * lyxfunc.C: remove display_shortcuts, show_banner
11649 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11651 * Buffer_pimpl.C: oops, update on resize
11653 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11660 * BufferView.C: use repaint()
11662 * BufferView_pimpl.h:
11663 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11664 as it's a clearer description. Remove superfluous
11667 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11669 * text.C: fix bug 488. Not ideal, but getting
11670 getWord() to work properly for the insets that
11671 matter is more difficult ...
11673 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11675 * BufferView_pimpl.C:
11678 * lyxfunc.C: remove the six million index lyxfuncs to just
11679 one, and DTRT (bug 458)
11681 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11685 * BufferView_pimpl.h:
11686 * BufferView_pimpl.C: clean up resize() stuff,
11687 and unnecessary updateScreen()s
11689 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11693 * BufferView_pimpl.h:
11694 * BufferView_pimpl.C:
11697 * minibuffer.C: remove focus management of workarea,
11698 not needed. Use screen's greyOut()
11700 2002-06-17 Herbert Voss <voss@lyx.org>
11702 * converter.C: (convert) do not post a message, when converting
11703 fails, let the calling function decide what to do in this case
11705 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11707 * lyxfunc.C: tidy up a little
11709 2002-06-16 <alstrup@diku.dk>
11711 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11712 Got rid of FORMS_H_LOCATION include. Now we are
11715 2002-06-15 LyX Development team <lyx@rilke>
11717 * buffer.[Ch] (sgmlOpenTag):
11718 (sgmlCloseTag): Added support for avoiding pernicious mixed
11719 content. Return number of lines written.
11721 (makeLinuxDocFile):
11722 (makeDocBookFile): Fixed calls to sgml*Tag.
11723 Simple white space clean.
11725 (simpleDocBookOnePar): Simple white space clean.
11727 * tabular.[Ch] (docBook): Renamed to docbook and got another
11728 argument to related with the pernicious mixed content.
11730 (docbookRow): Fixed calls for docbook inset method.
11732 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11734 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11735 so it's X11 independent.
11739 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11741 2002-06-15 Lyx Development team <lyx@electronia>
11743 * intl.h: Renamed getTrans to getTransManager.
11745 2002-06-14 Angus Leeming <leeming@lyx.org>
11747 * Makefile.am: nuke forgotten stl_string_fwd.h.
11749 2002-06-12 Angus Leeming <leeming@lyx.org>
11751 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11753 2002-06-13 Angus Leeming <leeming@lyx.org>
11756 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11758 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11760 * kbmap.C (getiso): add support for cyrillic and greek
11762 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11766 * BufferView_pimpl.h:
11767 * BufferView_pimpl.C: move bogus scrolling logic
11770 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11773 * BufferView_pimpl.C: view->resize() change
11775 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11777 * BufferView_pimpl.C: topCursorVisible
11780 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11784 * lyx_gui.C: move to frontends/
11788 * lyx_main.C: changes from above
11790 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11797 * lyx_main.C: minor tidy
11799 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11801 * BufferView_pimpl.h:
11802 * BufferView_pimpl.C:
11804 * BufferView.C: make painter() const,
11807 * BufferView2.C: use screen() accessor
11810 * lyx_main.C: some minor cleanup
11812 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11814 * BufferView_pimpl.h:
11815 * BufferView_pimpl.C: remove enter/leaveView,
11818 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11823 * BufferView_pimpl.h:
11824 * BufferView_pimpl.C: only construct screen once,
11827 * lyxrc.C: remove pointless comment
11829 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11832 * BufferView.C: remove active() and belowMouse()
11834 * BufferView_pimpl.h:
11835 * BufferView_pimpl.C: use workarea() not workarea_,
11836 and make it use a scoped_ptr instead
11838 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11840 * lyx_gui.C: add debug message on BadWindow
11842 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11844 * sp_spell.C: fdopen is not part of the C++ standard.
11846 * paragraph.C (InsetIterator): use >= instead of ==
11848 2002-06-07 Angus Leeming <leeming@lyx.org>
11850 Fixes needed to compile with Compaq cxx 6.5.
11851 * BufferView_pimpl.C:
11858 * lyxtextclasslist.C:
11863 all c-library variables have been moved into namespace std. Wrap
11864 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11869 Add a using std::abs declaration.
11871 * kbmap.h (modifier_pair):
11872 * paragraph.h (InsetTable, InsetList):
11873 * lyxfont.h (FontBits):
11874 type definition made public.
11876 * bufferlist.C (emergencyWriteAll): the compiler complains that
11877 there is more than one possible lyx::class_fun template to choose from.
11878 I re-named the void specialisation as lyx::void_class_fun.
11880 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11882 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11883 the compiler is is unable to find tostr in write_attribute.
11885 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11887 * buffer.C (sgmlError): hide #warning
11889 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11891 * xtl/*: get rid of xtl, which is not in use anyway
11893 * LyXAction.C (init):
11894 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11895 were unimplemented xtl experimentation
11897 2002-06-04 André Pönitz <poenitz@gmx.net>
11899 * lyxfunc.C: disable array operation on simple formulae
11901 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11903 * converter.C: constify a bit
11905 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11907 * lyx_gui.C: check xforms version correctly
11909 2002-04-30 Herbert Voss <voss@lyx.org>
11911 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11914 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11916 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11917 attempt to register it with a VCS)
11919 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11921 * lyx_main.C (init): honor variables LYX_DIR_13x and
11924 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11928 * lyx_main.C: fix a crash on bad command line,
11929 and give a useful exit status on error
11931 * lyxfunc.C (doImport): allow -i lyx to work
11933 2002-03-30 André Pönitz <poenitz@gmx.net>
11935 * lyxfunc.C: mathed font changes
11937 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11952 * trans_mgr.h: srcdocs, and some minor cleanups
11954 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11956 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11957 call getFont all the time)
11959 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11961 * switch from SigC signals to boost::signals
11963 2002-05-29 André Pönitz <poenitz@gmx.net>
11965 * paragraph_pimpl.C (getChar): don't call size() too often...
11967 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11969 * paragraph_pimpl.C (insertChar): do not try to update tables when
11970 appending (pos == size())
11972 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11973 in order to reduce drastically the number of comparisons needed to
11974 parse a large document
11976 2002-05-29 André Pönitz <poenitz@gmx.net>
11982 * textclasslist.[Ch]:
11983 * sp_ispell.h: whitespace change
11985 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11987 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11988 lyxaction directly now.
11990 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11994 * lyxvc.C: remove unused headers
11996 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12003 * undo_funcs.C: some cleanups. Use shared_ptr
12004 and a template for the undo stacks.
12006 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12008 * BufferView_pimpl.h:
12009 * BufferView_pimpl.C:
12016 * text2.C: use key_state/mouse_state
12018 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12020 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12023 * chset.C: change include order
12024 (loadFile): use boost regex and get rid of LRegex and LSubstring
12026 * Makefile.am (BOOST_LIBS): new variable
12027 (lyx_LDADD): use it
12029 * LaTeX.C: change include order.
12030 (scanAuxFile): use boost regex and get rid of LRegex and
12034 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12039 * FontInfo.C: moved to frontends/xforms/
12042 * FontLoader.C: moved into frontends for GUIIzation
12047 * lyxfunc.C: changes from above
12049 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12051 * LColor.C: remove spurious X include
12053 * BufferView_pimpl.C:
12058 * text2.C: move font metrics to frontends/
12060 2002-05-24 Juergen Vigna <jug@sad.it>
12062 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12063 setting the undo_cursor.
12065 * ParagraphParameters.h: include local includes first.
12067 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12069 * BufferView_pimpl.C:
12070 * BufferView_pimpl.h:
12074 * screen.C: move WorkArea into frontends/
12080 * BufferView2.C: move LyXScreen into frontends/
12084 * lyx_gui.C: move lyxlookup into frontends/xforms/
12086 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12089 * BufferView_pimpl.C:
12099 * bufferview_funcs.C:
12112 * vc-backend.C: move LyX/XFormsView into frontends/
12114 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12126 * text2.C: move Painter to frontends/
12128 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12130 * buffer.C: comment out some some code that depend upon lyx_format
12133 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12134 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12136 * buffer.h (NO_COMPABILITY): turn off compability
12138 * ColorHandler.C: include scoped_array.hpp
12140 * font.C: Use more specific smart_ptr header.
12143 * ShareContainer.h: ditto
12144 * lyx_main.h: ditto
12146 * FontInfo.h: ditto
12147 * BufferView_pimpl.h: ditto
12148 * ColorHandler.h: ditto
12150 * kbmap.C (defkey): change call to shared_ptr::reset
12152 2002-05-21 Juergen Vigna <jug@sad.it>
12154 * buffer.C (insertErtContents): fix to insert ert asis if it is
12155 non empty. Skip it completely if it contains only whitespaces.
12157 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12159 * BufferView_pimpl.C:
12160 * BufferView2.C: clear selection on paste (bug 393)
12162 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12164 * DepTable.C: include ctime
12166 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12168 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12170 2002-05-14 Juergen Vigna <jug@sad.it>
12172 * text.C (breakParagraph): fixed function to honor the keepempty
12173 layout in the right maner and also to permit the right breaking
12174 algorithm on empty or non empyt keepempty paragraphs.
12176 * paragraph.C (breakParagraph): we have to check also if the par
12177 is really empty (!size()) for isempty otherwise we do the wrong
12180 2002-05-10 Juergen Vigna <jug@sad.it>
12182 * buffer.[Ch] : The following are only changes to the ert
12183 compatibility read reading old LaTeX layout and font stuff and
12184 convert it to ERTInsets.
12186 * buffer.h: added isErtInset().
12188 * buffer.C (struct ErtComp): add a fromlayout bool to check
12189 if we're inside a LaTeX layout.
12190 (isErtInset): new helper function.
12191 (insertErtContents): look for other ert insets before this one
12192 and insert the contents there, so that we don't have subsequent
12193 ERT insets with nothing between them. This way we create only one
12194 inset with multiple paragraphs. Also check if we don't insert only
12195 spaces ' ' as they are ignored anyway afterwards in the .tex file
12196 so if we have only spaces we will ignore this latex part in the
12198 (parseSingleLyXformat2Token \\layout): better compatibility when
12199 reading layout-latex stuff.
12200 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12202 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12203 stuff after reading the inset only get the information back from
12206 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12208 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12210 * LaTeXFeatures.C (getBabelOptions): New method.
12212 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12214 * BufferView_pimpl.C (Dispatch): work around missing argument for
12217 2002-05-08 Juergen Vigna <jug@sad.it>
12219 * text.C (leftMargin): handle paragraph leftindent.
12221 * paragraph.C (writeFile): write the new \\leftindent tag.
12222 (validate): handle leftindent code.
12223 (TeXEnvironment): handle paragraphleftindent code again.
12225 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12227 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12228 for paragrap_extra indent code and new token \\leftindent.
12229 (latexParagraphs): handle the leftindent as environment.
12231 * ParameterStruct.h: added leftindent support.
12233 * ParagraphParameters.C (leftIndent): added support functions for
12234 the paragraph left indent.
12236 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12239 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12241 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12244 * text.C (computeBidiTables): No bidi in insetERT.
12246 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12249 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12251 * version.C.in: pre 5
12253 2002-05-02 José Matos <jamatos@fep.up.pt>
12254 * buffer.C (makeDocBookFile): white space changes, add newline to
12256 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12258 * tabular.C (docBook): fix typo.
12260 2002-05-03 Juergen Vigna <jug@sad.it>
12262 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12263 change in LyXText as we can not be sure it was not freed.
12264 (drawOneRow): remove unused code.
12266 * text.C (drawInset): redo the calculation of the need_break_row as
12267 it could have a row which was already freed.
12268 (draw): look at the return value of drawInset and return false if
12269 it also returned false.
12270 (paintRowText): look at the return value of draw and return false if
12271 it also returned false.
12273 * lyxtext.h: added bool return type to drawInset() and draw() so that
12274 if we have a change in the row so that the rowbreak has to be redone
12275 we abort drawing as it will be called again.
12277 2002-05-02 Juergen Vigna <jug@sad.it>
12279 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12280 a change in the maintext also if we're inside an inset.
12281 (Dispatch): set the cursor again after a break line and after the
12282 screen has been updated as it could be we're in a different row.
12284 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12285 to set the cursor behind the pargraph with > size().
12286 (setCursor): check also for the same paragraph when checking where
12287 to put the cursor if we have a NFR inset.
12289 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12290 parts of layout read further up as it still was in the wrong
12293 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12295 * screen.C (drawFromTo): change sine fullRebreak always return
12298 * buffer.C (parseSingleLyXformat2Token): reindent some
12300 * BufferView_pimpl.C (update): change since fullRebreak always
12302 (Dispatch): git rid of the last hardcoded "Standard"s.
12304 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12306 * text2.[Ch] (fullRebreak): make it return void now that we always
12309 2002-04-30 Juergen Vigna <jug@sad.it>
12311 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12312 ert compatibility check for "latex" layout.
12314 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12316 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12317 minipages: use col% instead of p%, and also use the current font.
12318 (makeLaTeXFile): Fix use babel condition.
12319 (parseSingleLyXformat2Token): Correct font when reading old floats.
12321 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12323 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12324 inserting list of floats.
12326 2002-04-25 Herbert Voss <voss@lyx.org>
12328 * MenuBackend.C (expand): don't add the graphics extensions to the
12331 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12333 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12334 non-existing layout, do not complain if it was the default layout
12335 of the original class (bug #342)
12337 2002-04-24 Juergen Vigna <jug@sad.it>
12339 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12340 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12342 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12344 * buffer.C (getBibkeyList): If using \bibliography, return the
12345 option field with the reference itself. Enables us to provide natbib
12346 support when using \bibliography.
12348 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12350 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12352 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12353 natbib is provided by the LaTeX class.
12355 2002-04-23 Juergen Vigna <jug@sad.it>
12357 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12360 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12362 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12364 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12366 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12367 ensuremath around textordmasculine, textordfeminine and
12370 2002-04-19 Juergen Vigna <jug@sad.it>
12372 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12373 reinitializing the buffer otherwise row-dimensions may be wrong.
12374 (update): reset also the selection cursors if they do exits otherwise
12375 their x/y positions may be wrong.
12377 * text2.C (cursorDown): don't enter the inset if we came from a row
12378 above and are one row over the inset.
12380 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12381 really leaving an inset.
12383 2002-04-18 Juergen Vigna <jug@sad.it>
12385 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12386 of the selected paragraph does not have the selected layout also if
12389 * text2.C (setLayout): fixed bug which did not change last selected
12392 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12393 changed the read and substituted \\end_float with \\end_inset!
12395 * BufferView_pimpl.C (cursorPrevious):
12396 (cursorNext): fixed to make it work with rows heigher than the work
12397 area without moving the cursor only the draw of the row.
12398 (workAreaMotionNotify): fix jumping over high rows.
12400 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12402 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12405 2002-04-16 Juergen Vigna <jug@sad.it>
12407 * text2.C (setCursor): set also the irow().
12408 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12410 (cursorDown): support for locking an inset if the x_fix value goes
12411 inside it. That way I can transverse insets too with cursor up/down.
12413 * lyxrow.h: added irow helper function same as other (i) functions.
12415 * BufferView_pimpl.C (cursorPrevious):
12416 (cursorNext): fixed for insets!
12418 2002-04-15 Juergen Vigna <jug@sad.it>
12420 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12421 position otherwise it is wrong in some cases.
12423 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12424 inside the inset before the call.
12426 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12428 * buffer.[Ch] (getBibkeyList): make it const.
12430 2002-04-12 Juergen Vigna <jug@sad.it>
12432 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12434 * text2.C (getCursorX): new helper function
12435 (setCursor): compute also ix_
12436 (setCursorFromCoordinates): set also ix.
12438 * lyxcursor.h: added ix_ and helper functions.
12440 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12442 * buffer.C (insertStringAsLines): dont break paragraph if the this
12443 paragraph is inside an inset which does not permit it!
12445 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12446 also with no chars on this paragraph.
12447 (paintRowText): only paint stuff if it's inside the workarea!
12449 * paragraph.C (breakParagraph): honor keepempty flag and break the
12450 paragraph always below not above.
12452 * BufferView2.C (unlockInset): update the paragraph layout on inset
12453 unlock as we changed paragraph in such a case.
12455 * lyxfind.C (LyXFind): clear the former selection if not found!
12457 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12458 again called in insertChar().
12460 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12461 an inset which uses the whole row!
12462 (rightMargin): ditto.
12463 (insertChar): force a rebreak if we inserted an inset!
12465 2002-03-28 Herbert Voss <voss@lyx.org>
12467 * lyxlength.[Ch]: add inBP() to get the right PS-point
12468 units (BigPoint). With inPixels we have rounding errors
12470 2002-04-11 Juergen Vigna <jug@sad.it>
12472 * text2.C (setCursorFromCoordinates): set iy to the right value.
12473 (setCursor): add check if row->previous exists!
12475 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12476 an old float_type as this was the case in the old code!
12478 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12480 * BufferView2.C (showLockedInsetCursor): use iy
12481 (fitLockedInsetCursor): ditto
12483 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12484 locked insets as there we have the right value now.
12486 * lyxcursor.C: added iy_ variable and iy functions to set to the
12487 baseline of cursor-y of the locked inset.
12489 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12490 (setCursor): fixed for insets which need a full row.
12492 * text.C (rowLastPrintable): don't ignore the last space when before
12493 an inset which needs a full row.
12494 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12495 as last character of a row when before a inset which needs a full row.
12497 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12499 * version.C.in: update date
12501 * text2.C (fullRebreak): try to always return true and see what
12504 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12506 * MenuBackend.C (expand): use Floating::listName
12508 * FloatList.C (FloatList): add listName argument to the built-in
12511 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12512 text associated with the float.
12514 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12516 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12518 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12520 * ShareContainer.h: add a couple of missing typenames.
12522 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12524 * lyxrc.C (getDescription): use _() correctly rather than N_().
12526 2002-03-28 Herbert Voss <voss@lyx.org>
12528 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12529 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12531 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12533 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12534 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12536 2002-03-29 Juergen Vigna <jug@sad.it>
12538 * lyxfunc.C (dispatch): add a missing fitCursor call.
12540 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12541 it was scrolled by a cursor move, so return the bool status.
12543 * BufferView.C (fitCursor): return the bool flag also to the outside
12544 world as this is needed.
12546 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12548 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12549 call the edit() as it is not needed (and wrong) IMO.
12550 (workAreaButtonPress): set the screen_first variable before evt.
12551 unlock the inset as this may change screen_first and then we have
12552 a wrong y position for the click!
12554 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12556 * MenuBackend.C (expand): another translation that I missed
12558 2002-03-28 Juergen Vigna <jug@sad.it>
12560 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12562 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12564 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12566 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12568 * MenuBackend.C (expand): fix export/view/update when there is no
12571 2002-03-27 Herbert Voss <voss@lyx.org>
12573 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12576 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12578 * bufferview_funcs.C (currentState): only show paragraph number
12579 for is DEVEL_VERSION is set.
12581 * lyxfunc.C (dispatch): put warning in INFO channel
12583 * MenuBackend.C (expand): translate the name of floats
12585 * FloatList.C (FloatList): mark the float names for translation
12587 * converter.C (convert): use LibScriptSearch
12589 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12591 * MenuBackend.C (defaults): fix default menu (we might as well get
12594 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12596 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12599 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12601 * lyxvc.C: reorder includes.
12603 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12605 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12608 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12610 * CutAndPaste.C: change layouts earlier on paste
12611 to avoid crashing when calling getFont()
12613 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12615 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12618 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12620 * WorkArea.C: remove 'Pending' debug message.
12622 * most files: ws cleanup
12624 * buffer.[Ch]: ws changes
12626 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12628 2002-03-21 Juergen Vigna <jug@sad.it>
12630 * tabular.C (SetMultiColumn): collapse also the contents of the
12631 cells and set the last border right. Added a Buffer const * param.
12633 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12635 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12638 2002-03-19 Juergen Vigna <jug@sad.it>
12640 * text2.C (clearSelection): reset also xsel_cache.
12642 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12643 where it needs to be called (John tells us to do so too :)
12644 (selectionLost): reset sel_cache.
12646 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12648 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12650 * text2.C (setCursorIntern): put debuging code in INSETS channel
12652 2002-03-19 André Pönitz <poenitz@gmx.net>
12654 * lyxfunc.C: tiny whitespace change
12656 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12658 * ToolbarDefaults.C (init):
12659 * LyXAction.C (init):
12661 * BufferView_pimpl.C (Dispatch):
12662 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12664 2002-03-19 Allan Rae <rae@lyx.org>
12666 * exporter.C (Export): removeAutoInsets before doing anything else.
12667 While I've just introduced a dependency on BufferView this really is
12668 the best place to clean the buffer otherwise you need to cleanup in
12669 a dozen places before calling export or cleanup in a dozen functions
12672 * converter.C (runLaTeX):
12673 (scanLog): Better handling of removeAutoInsets and screen updates.
12675 * lyxfunc.C (dispatch): small whitespace changes
12677 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12679 * WorkArea.C (C_WorkAreaEvent): return a value.
12680 (event_cb): return 1 if we handled the event, 0 otherwise.
12682 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12684 2002-03-18 Juergen Vigna <jug@sad.it>
12686 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12687 (GetAdditionalWidth): ditto.
12688 (RightLine): ditto.
12691 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12692 inset if we're there actually (probably not used right now but this
12693 is the direction to go for unifying code).
12694 (paste): disable code to clear the selection.
12696 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12697 inside an InsetText and move the check further up as it is in the
12700 * text2.C (pasteSelection): set a selection over the pasted text.
12702 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12704 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12705 and libgraphics to build on Cygwin.
12707 2002-03-15 Juergen Vigna <jug@sad.it>
12709 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12710 inserting an Inset into the paragraph. I know this is not the best
12711 fix but we already use current_view in CutAndPaste so we will remove
12712 all of it's using at the same time.
12714 * buffer.C (sgmlError): deactivated function till it is rewritten in
12715 the right mode, now it can create problems.
12717 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12718 before accessing it.
12720 2002-03-14 Juergen Vigna <jug@sad.it>
12722 * undo_funcs.C (textHandleUndo): do the right thing when updating
12723 the inset after the undo/redo.
12725 * text2.C (setCursor): just some testcode for #44 not ready yet.
12727 * undo_funcs.C (textHandleUndo): set the next() and previous()
12728 pointers of the paragraph to 0 before deleting otherwise we have
12729 problems with the Paragraph::[destructor].
12731 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12732 on a paragraph insertion.
12734 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12736 * buffer.C (asciiParagraph): use += operator for char append to
12739 * paragraph.C (getFontSettings): compare >= not just >
12740 (highestFontInRange): ditto
12743 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12745 * paragraph.C: change several algorithm to be more appripriate for
12746 the problem domain. This is lookip in FontList and in the InsetList.
12748 2002-03-13 André Pönitz <poenitz@gmx.net>
12751 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12753 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12758 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12760 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12762 * Painter.C (display): anon helper function, adjust code for this
12764 (pixmap): remove function.
12766 * Painter.h: remove private display variable.
12768 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12770 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12772 * WorkArea.[Ch]: remove figinset_canvas cruft.
12774 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12776 * lyxtextclass.C (operator): add one item cache optimization.
12778 * bufferlist.h: doxy changes
12780 * bufferlist.C: ws changes
12782 * DepTable.[Ch] (ext_exist): place const in the right spot.
12784 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12786 (workAreaExpose): call resizeInsets when the with BufferView changes.
12787 (Dispatch): adjust for protectedBlank removal
12788 (specialChar): call updateInset if the insert went ok.
12790 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12791 specialChar instead.
12793 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12795 * BufferView.h: doxy change
12797 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12799 * lyxtextclass.C (operator[]): remove non-const version
12800 (defaultLayout): remove non-const version
12802 2002-03-12 Juergen Vigna <jug@sad.it>
12804 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12805 did resize the LyXText too.
12807 * buffer.C (readLyXformat2): set layout information on newly allocated
12810 * tabular.C (OldFormatRead): set layout information on the paragraph.
12812 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12814 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12816 2002-03-11 Juergen Vigna <jug@sad.it>
12818 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12820 (resizeCurrentBuffer): force also the insets to resize themselfes.
12821 (moveCursorUpdate): fixed up for InsetText.
12823 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12826 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12827 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12828 value of Dialogs::tooltipsEnabled().
12829 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12831 2002-03-08 Juergen Vigna <jug@sad.it>
12833 * BufferView_pimpl.C (updateInset): update inset inside inset also
12834 if it isn't inside theLockingInset().
12836 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12838 * buffer.C (asciiParagraph): redo some of the word and line length
12840 (getLists): look for Caption instead of caption.
12842 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12844 * buffer.C (Buffer): initialize niceFile to true
12846 (makeLinuxDocFile):
12847 (makeDocBookFile): make sure niceFile is true on exit
12849 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12851 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12853 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12855 * LyXSendto.C: remove.
12856 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12857 * lyx_gui.C: remove now-redundant comment.
12858 * ColorHandler.h: remove forward declaration of class WorkArea.
12859 * lyxfunc.C: remove #include "WorkArea.h".
12861 2002-03-07 Juergen Vigna <jug@sad.it>
12863 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12864 got moved away with the DEPM and also set the inset_owner always
12865 right which before could have been omitted.
12867 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12869 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12870 wanted layout is not found.
12872 2002-03-07 Juergen Vigna <jug@sad.it>
12874 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12876 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12878 * paragraph.C (breakParagraph): use default layout not layout of
12880 (Paragraph): clear ParagraphParameters.
12882 2002-03-06 Juergen Vigna <jug@sad.it>
12884 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12885 otherwise it would not be a valid lenght. Fixed a special case in
12886 the minipage compatibility read where we end the document with a
12889 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12890 was set as it could be 0 for InsetTexts first entry.
12892 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12894 * paragraph.C (writeFile): if layout is empty write out
12895 defaultLayoutName().
12897 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12898 file without named layout we set layout to defaultLayoutName().
12900 2002-03-06 Juergen Vigna <jug@sad.it>
12902 * CutAndPaste.C (copySelection): set layout for new paragraph.
12904 * text.C (prepareToPrint): leave ERT inset left aligned
12905 (leftMargin): don't indent paragraphs inside ERT insets
12907 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12909 * paragraph.C (breakParagraph): dont call clear do the work manually
12911 * paragraph.[Ch] (clear): remove function
12913 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12915 * paragraph.C (Paragraph): dont call clear, the work has already
12918 * lyxtextclass.C (operator): assert if n is empty
12920 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12921 work manually instead.
12923 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12925 * BufferView_pimpl.C: protect selectionLost against text == 0
12927 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12929 * text.C (breakParagraph): fix a setting layout to '0' problem.
12931 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12933 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12934 final location of file, for the included files, and graphics.
12936 2002-03-05 Juergen Vigna <jug@sad.it>
12938 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12940 2002-03-04 Juergen Vigna <jug@sad.it>
12942 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12944 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12945 last column of multicolumn cells.
12946 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12948 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12950 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12951 file if it doesn't go to a temporary file.
12953 * buffer.C (sgmlOpenTag):
12954 (sgmlCloseTag): remove extra newline insertion.
12956 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12958 * text.C (getRowNearY): comment out debug msg
12960 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12962 * text2.C: first -> first_y
12964 * text.C (getRowNearY): add some attemts at a possible
12965 optimization, not working.
12967 * tabular.[Ch]: add BufferParams to several function so that newly
12968 created paragraph can be initialized to he default layotu for the
12971 * tabular-old.C (ReadOld): add buf->params to call of Init
12973 * screen.C: rename text->first to text->first_y
12975 * paragraph.C (breakParagraph): always set layout in the broken
12978 * lyxtextclass.C (Read): remove lowercase
12981 (delete_layout): ditto
12983 * lyxtext.h: rename first -> first_y
12985 * lyxlayout.C (Read): remove lowercase
12988 (obsoleted_by): ditto
12990 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12992 * buffer.C (insertErtContents): add params are to InsetERT
12993 (parseSingleLyXformat2Token): add code to check if a paragraphs
12994 layout really exist.
12995 (parseSingleLyXformat2Token): add params to several inset
12997 (asciiParagraph): remove lowercase, do the layout comparisons with
13000 * BufferView_pimpl.C (cursorNext): first -> first_y
13001 (resizeCurrentBuffer): first -> first_y
13002 (updateScrollbar): first -> first_y
13003 (scrollCB): first -> first_y
13004 (workAreaMotionNotify): first -> first_y
13005 (workAreaButtonPress): first -> first_y
13006 (checkInsetHit): first -> first_y
13007 (cursorPrevious): first -> first_y
13008 (cursorNext): first -> first_y
13009 (Dispatch): add buffer_->params to severl inset contructors
13011 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13013 * lyxlayout.C (Read): remove some debug info that I forgot.
13015 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13016 clean up the code slightly.
13017 (makeLinuxDocFile): ditto
13018 (makeDocBookFile): ditto
13020 * text2.C: layout as string
13022 * text.C: layout as string
13024 * paragraph_pimpl.C: layout as string
13026 * paragraph.[Ch]: layout as string
13028 * lyxtextclasslist.[Ch]: layout as string
13030 * lyxtextclass.[Ch]: layout as string
13032 * lyxtext.h: layout as string
13034 * lyxlayout.[Ch]: layout as string
13036 * lyx_cb.C: layout as string
13038 * bufferview_funcs.C: layout as string
13040 * bufferparams.C: layout as string
13042 * buffer.C: layout as string
13044 * LyXView.[Ch]: layout as string
13046 * LaTeXFeatures.[Ch]: layout as string
13048 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13050 * BufferView_pimpl.C: change current_layout to string, remove
13055 (workAreaButtonRelease): layout as string
13057 * BufferView2.C (unlockInset): adjust
13059 * vspace.C (asLatexCommand): use an explict temp variable.
13061 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13063 * Makefile.am: use FRONTEND_*
13065 2002-03-01 Juergen Vigna <jug@sad.it>
13067 * tabular.C (SetWidthOfMulticolCell): changed to something better
13068 I hope but still work in progress.
13069 (recalculateMulticolumnsOfColumn): renamed function from
13070 recalculateMulticolCells as it is more appropriate now.
13071 (SetWidthOfCell): calculate multicols better.
13073 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13075 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13077 * lyxfunc.C (processKeySym): print sequence also if it is
13078 `deleted' (complete)
13080 * kbsequence.C (print): print sequence even if it is deleted
13081 (complete would be a better word, actually).
13083 * lyxfunc.C (dispatch): print complete options after a prefix key
13085 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13087 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13089 * text2.C (setCharFont): eliminate setCharFont code duplication.
13091 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13093 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13094 LFUN_TABULAR_FEATURE (bug #177)
13096 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13098 * Makefile.am: remove figure.h
13100 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13102 * Bufferview_pimpl.C:
13114 * text2.C: remove #include "lyx_gui_misc.h".
13116 * LaTeX.C: added #include <cstdio>
13118 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13120 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13121 that the paragraph following this one can have.
13123 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13125 * vspace.C (asLatexCommand): fix bogus gcc warning
13127 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13129 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13131 * text2.C (setLayout): get rid of redundant code
13133 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13135 * text2.C (incDepth): make sure depth cannot be increased beyond
13138 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13140 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13141 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13143 * PainterBase.h (image):
13144 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13145 a LyXImage const *.
13147 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13151 * BufferView_pimpl.C:
13152 * BufferView_pimpl.h:
13172 * sp_spell.C: remove fig inset, and the crap house of
13173 cards that follows it
13175 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13180 * os2_errortable.h:
13181 * nt_defines.h: move .h into support/
13183 * vms_defines.h: remove
13185 * WorkArea.C: add space in debug output
13189 * buffer.C: add WITH_WARNINGS
13193 * bufferlist.C: s/retrive/retrieve/, add docs
13202 * chset.C: add docs
13204 * lyxgui.C: add ID to X error handler
13206 * lyxtestclass.c: fix typo
13208 2002-02-26 Juergen Vigna <jug@sad.it>
13210 * tabular_funcs.C (write_attribute): changed so that some default
13211 attributes are not written at all.
13212 (getTokenValue): set default values before trying to read the
13213 value so we have the return value always set as default if we don't
13214 find the token we search for.
13216 * tabular.C (Write): write bools as bools not as strings!
13218 2002-02-22 Juergen Vigna <jug@sad.it>
13220 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13221 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13223 * text.C (leftMargin): don't add an indent for paragraphs inside
13224 tabular cells (fix #208).
13226 2002-02-21 José Matos <jamatos@fep.up.pt>
13228 * tabular.C (docBook): fixed support for long tables.
13230 2002-02-20 Juergen Vigna <jug@sad.it>
13232 * text2.C (getFont): get the drawing font of the Inset if this
13233 paragraph is inside an inset (only important for InsetERT for now).
13235 * buffer.C (insertErtContents): use new lanugage params in ERT
13238 * CutAndPaste.C: commenting out seemingly uneeded code.
13240 2002-02-19 Allan Rae <rae@lyx.org>
13242 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13243 Iterators might be simple to use but they also get invalidated.
13244 (removeAutoInsets): renamed saved cursor tracking variables and added
13245 some comments to clarify what everything does.
13247 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13254 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13255 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13258 * vc-backend.h: remove #include "support/syscall.h"
13262 * converter.C: rearrange #includes in Lars' approved fashion.
13264 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13265 forward declare class Timeout in the header file.
13267 * XFormsView.C: changes due to the above.
13269 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13270 similar to LyXView.
13272 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13273 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13275 2002-02-18 José Matos <jamatos@fep.up.pt>
13277 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13280 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13282 * a lot of small ws changes
13283 * add a lot of using std::XXX
13284 * use std construcs some places where approp.
13285 * use some exisint stuff from lyxfunctional where approp.
13286 * Make file changes to use partial linking (lets test this now...)
13288 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13292 remove #include "support/syscontr.h" as it's redundant. Always has been.
13300 change Systemcalls::System to Systemcalls::Wait and
13301 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13302 No change of functionality, just reflects the stripped down Systemcalls
13305 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13307 * debug.[Ch]: add a GRAPHICS type to the enum.
13309 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13311 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13313 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13316 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13318 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13319 match the changes below.
13321 * text2.C (toggleInset): if there is not editable inset at cursor
13322 position, try to see if cursor is _inside_ a collapsable inset
13325 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13327 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13328 document menu has a nice checkbox
13330 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13332 * lyxlength.C (asLatexString): change PW to output as percent of
13335 * lengthcommon.C: change '%' to 't%'
13337 * lyxfunc.C (dispatch): a few comments from Martin
13339 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13343 * BufferView_pimpl.h:
13344 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13347 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13349 * vspace.C (inPixels): fix compiler warning
13351 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13353 * lyxfunc.C (getStatus): fix status message for disabled commands.
13355 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13357 * BufferView_pimpl.C: fix crash on close buffer
13358 during selection (#227)
13360 2002-01-27 Herbert Voss <voss@lyx.org>
13362 * buffer.C: link old Figure to new graphic inset
13364 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13366 * FontLoader.C (getFontinfo): Change the latex font names in order
13367 to match the names of type1inst.
13369 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13371 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13373 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13374 (extchanged): ditto
13376 (remove_files_with_extension): ditto
13377 (remove_file): ditto
13380 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13381 document is smaller than the work area height. Do not initialize
13382 static variables to 0.
13384 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13386 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13388 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13389 LFUN_LAYOUT_PARAGRAPHS.
13391 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13392 tabular. It is possible to provide a possible cell, which will
13393 typically be the actcell from the corresponding insettabular
13395 * lyxfunc.C (getStatus): small cleanup; disable
13396 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13399 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13401 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13403 * paragraph.C (startTeXParParams):
13404 (endTeXParParams): new methods. The LaTeX code to
13405 start/end paragraph formatting
13406 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13407 empty (fixes bug #200)
13409 * vspace.C (inPixels): adapt to the change below
13410 (inPixels): [later] more cleanups (remove unused variables)
13412 * lyxlength.C (inPixels): change to use a width and a height as
13415 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13417 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13418 Replaced with \paperwidth
13420 * DepTable.C (insert): add std:: qualifier
13422 2002-01-18 Allan Rae <rae@lyx.org>
13424 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13427 * text.C (drawInset): Turned out I didn't know enough about how
13428 rebreaking worked. This fixes most of the redraw problems. I see
13429 an occasional cursor trail when a line is broken now and the cursor
13430 placement can seem out by a few pixels also after a rebreak.
13432 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13434 * buffer.C (parseSingleLyXformat2Token): update because minipage
13435 width is now a LyXLength
13437 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13439 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13442 2002-01-17 Juergen Vigna <jug@sad.it>
13444 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13446 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13447 is set correctly and the inset is updated correctly.
13449 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13451 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13452 the beginning of the loop.
13454 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13456 * lyxrc.C: improve help for use_scalable_fonts
13458 2002-01-17 Allan Rae <rae@lyx.org>
13460 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13462 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13464 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13465 make sure to set their inset_owner to the right value (bug #171)
13467 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13470 * DepTable.C: Implement mtime checking to reduce time spent doing
13473 2002-01-16 Juergen Vigna <jug@sad.it>
13475 * tabular.C (GetAdditionalHeight): one of error fixed.
13477 * lyxrc.C (output): small fix in writing use_pspell.
13479 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13481 * sp_base.h: #include LString.h
13483 2002-01-16 Allan Rae <rae@lyx.org>
13485 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13486 Can someone check this please?
13488 * text.C (drawInset): It was possible that p.row would be removed by
13489 breakAgainOneRow upsetting a few other settings. There may be another
13490 small tweak possible by setting need_break_row = 0 when p.row has been
13491 removed but I don't know enough about the logic here.
13493 2002-01-15 Allan Rae <rae@lyx.org>
13495 * text.C (insertChar): removed conditional truism.
13497 * BufferView2.C (removeAutoInsets): More tweaks.
13498 cur_par_prev could be a stray pointer. Check for trailing empty line
13499 in case last line was cur_par and only had an error inset on it.
13501 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13503 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13506 * vc-backend.C (most methods):
13507 * exporter.C (Export):
13508 * converter.C (convert):
13510 * LyXSendto.C (SendtoApplyCB):
13511 * lyxfunc.C (dispatch):
13515 * lyx_cb.C (AutoSave):
13517 * BufferView_pimpl.C (MenuInsertLyXFile):
13518 * buffer.C (runChktex): use Buffer::filePath().
13520 * buffer.h: rename filename to filename_; rename filepath to
13521 filepath_ and make it private
13522 (filePath): new method
13524 * buffer.C (writeFile): use fileName()
13527 * lyx_main.C (init): fix starting of LyX when the binary is a
13528 link from so,ewhere else.
13530 * minibuffer.C: include <cctype> for isprint
13532 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13534 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13535 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13536 name clash with InsetCollapsable's width function.
13538 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13540 * lastfiles.C: include <iterator>
13542 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13544 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13547 * buffer.C (makeLaTeXFile): ditto.
13548 Also make loop operation more transparent.
13550 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13552 * ToolbarDefaults.C: remove trailing comma closing namespace.
13554 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13556 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13559 * trans.C (Load): comment out unused variable, allowed.
13561 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13563 * minibuffer.[Ch] (append_char): new method to recieve input from the
13564 drop-down completion browser. If a key was pressed, then recieve this
13565 char and append it to the existing string.
13566 (peek_event): modify the positioning data passed to the completion
13567 browser so that it can be placed above the minibuffer rather than below.
13568 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13570 * LyXAction.C (init): alloe error-next for readonly documents.
13572 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13575 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13577 * bufferlist.C (readFile): create the buffer _after_ checking that
13580 * lyxfunc.C (verboseDispatch): fix handling of arguments
13582 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13584 * lyxrc.C: use string::erase() instead of initializing to "".
13587 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13589 * BufferView_pimpl.h:
13590 * BufferView_pimpl.C:
13593 * text2.C: tell X when we have made a selection for copying
13595 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13597 * BufferView_pimpl.C (MenuInsertLyXFile):
13598 * lyxfunc.C (menuNew):
13600 (doImport): add shortcuts to directory buttons
13602 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13605 * lyxfunc.C (setStatusMessage):
13606 (getStatusMessage): new methods
13607 (getStatus):use setStatusMessage instead of setErrorMessage
13608 (dispatch): when function is disabled, set error message here
13609 [instead of in getStatus previously]
13611 * BufferView_pimpl.C (workAreaButtonRelease): update
13612 toolbar/menubar here too.
13614 2002-01-13 Allan Rae <rae@lyx.org>
13616 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13617 Now seems indestructible. Remaining task is to audit all other
13618 code affected by deleteEmptyParagraphMechanism. One small quirk
13619 left is that an empty document with an error in the preamble can
13620 be made to report an error but no error box appears. I don't know
13622 (removeAutoInsets): Improved comments.
13624 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13627 * Thesaurus.C: update for Aiksaurus 0.14
13629 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13631 * text2.C (firstParagraph): removed member function, all uses
13632 replaces with ownerParagraph
13633 (redoParagraphs): here
13634 (updateInset): here
13635 (toggleAppendix): here
13636 * BufferView2.C (insertErrors): here
13637 (setCursorFromRow): here
13639 2002-01-13 Allan Rae <rae@lyx.org>
13641 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13642 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13643 There is still a way to segfault this although you may have to do this
13644 multiple times: Have an InsetERT with an unknown command in it.
13645 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13646 <down-arrow>, <Enter> again, View->DVI, BANG!
13648 * text2.C (setCursor):
13649 (deleteEmptyParagraphMechanism):
13650 * lyxtext.h (setCursor):
13651 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13652 Making use of the return value may help fix other bugs.
13654 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13656 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13658 * LyXView.C (updateMenubar): call MenuBar::update here
13659 (updateToolbar): but not here
13660 (showState): do not update toolbar/menubar
13662 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13663 should need to care about that.
13665 * lyxfunc.C (verboseDispatch): simplify a bit
13666 (getStatus): have a version which takes a pseudoaction, and
13667 another which requires a (kb_action,string).
13669 * LyXAction.C (retrieveActionArg): make it work also when action
13670 is not a pseudo-action.
13671 (getActionName): simplify a bit
13674 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13676 * lyxfunc.C (verboseDispatch): new families of methods with
13677 several ways to specify a command and a bool to indicate whether
13678 the command name and shortcut should be displayed in minibuffer
13679 (eventually, we could extend that to a finer bitmask like
13680 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13681 (dispatch): the pristine dispatch command which just, well,
13682 dispatchs! Note it still sets its result to minibuffer; I'm not
13685 * lyxfunc.h: remove setHintMessage
13687 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13689 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13691 * BufferView_pimpl.C (specialChar): delete new inset if we have
13692 not been able to insert it.
13694 * kbmap.C: revert to using int instead of kb_action, since all we
13695 are dealing with is pseudo-actions.
13697 * LyXAction.C (searchActionArg): change to return int instead of
13698 kb_action, since the result is a pseudoaction.
13700 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13702 * buffer.C (insertErtContents): Fix (partially) the font bug.
13704 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13706 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13707 as the other one is broken on my machine!
13709 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13712 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13714 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13716 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13717 reflect their actual use. Provide compatibility code for older lyxrc
13720 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13722 change names of popup font variables in line with the changes to lyxrc.C
13724 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13726 * buffer.C (asciiParagraph): avoid outputing a word twice after
13729 * lyxrc.C (getDescription): document that document_path and
13730 template_path can be empty.
13732 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13734 * LaTeXFeatures.C (getMacros):
13735 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13737 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13739 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13741 (getPackages): rename feature "floats" to "float". Use an array to
13742 iterate over 'simple' features (i.e. just a \usepackage). Add
13743 handling of "amsmath" (renamed from "amsstyle").
13745 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13747 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13750 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13752 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13753 FuncStaus::FuncStatus & FuncStaus::some_method().
13755 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13757 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13758 of the func_satus stuff. Edited and massaged in various ways by
13761 * lyxfunc.C (getStatus): use FuncStatus
13763 2002-01-08 Juergen Vigna <jug@sad.it>
13765 * text.C (nextBreakPoint): use function Inset::isChar().
13767 * paragraph.C (TeXOnePar): use function
13768 Inset::forceDefaultParagraphs.
13770 * buffer.C (latexParagraphs): use function
13771 Inset::forceDefaultParagraphs.
13773 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13775 * lyx_gui.C (init): set the style of the menu popups to
13776 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13778 2002-01-07 Juergen Vigna <jug@sad.it>
13780 * text.C (setHeightOfRow): small fix
13781 (prepareToPrint): don't look at alignment if we don't have the place
13784 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13786 * box.C: New file. Move the Box methods and functions out of box.h,
13787 following Lars' suggestion.
13789 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13791 * box.h: #include "support/LOstream.h", needed for inlined function.
13794 * lyxtextclasslist.C: added some using std declarations.
13796 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13798 * box.h: make signed dimensions to allow insets wider than
13799 the screen (bug #162)
13801 * BufferView_pimpl.C: add some insetHit debug
13803 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13805 * vc-backend.C: add FIXME
13807 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13809 * lyxfunc.C (getStatus): enable code for showing math font status
13812 2002-01-07 Juergen Vigna <jug@sad.it>
13814 * text.C (nextBreakPoint): removed debug output not needed anymore.
13816 2002-01-06 Juergen Vigna <jug@sad.it>
13818 * text.C (nextBreakPoint): fixed up this function we had this bug
13819 since ever but now hopefully we break row better.
13820 (insertChar): we have to check if an inset is the next char as it
13821 could now happen that a large inset is causing a break.
13823 2002-01-05 Juergen Vigna <jug@sad.it>
13825 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13826 if it doesn't like to be drawed.
13828 2002-01-04 Juergen Vigna <jug@sad.it>
13830 * BufferView2.C (lockInset): forgot to set a cursor.
13832 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13834 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13836 * FormMathsPanel.C:
13839 * form_maths_panel.C:
13840 * form_maths_panel.h:
13841 * form_maths_panel.fd: implemented sub- and super- buttons in math
13844 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13845 (or ^ space) to be used as in TeX (req'd by André).
13847 * lyxfunc.C: Allow ^ and _ again to be used both as
13848 super/subscript (mathed) and as themselves (in text).
13850 2002-01-03 Allan Rae <rae@lyx.org>
13852 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13853 "LyX" or the filename of the current buffer if it has one. This is a
13854 modified form of John Levon's patch.
13856 * XFormsView.C (setWindowTitle): also set icon title.
13858 * LyXView.h (setWindowTitle): signature changed.
13859 * XFormsView.h (setWindowTitle): ditto.
13861 2002-01-02 Juergen Vigna <jug@sad.it>
13863 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13865 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13867 * screen.C (topCursorVisible): introduce a temp var for
13868 text->cursor.row(), handle the case where this row is null. (kindo
13871 * text2.C (setCursor): add a couple of asserts.
13873 * paragraph.h (inset_iterator): add -> operator
13875 * paragraph.[Ch] (autoDeleteInsets): remove member function
13877 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13878 cursor pos correctly and handle inset deletion by itself.
13879 (insertErrors): move iterator declaration out of for expression
13881 * lyxtextclass.C: add <algorithm>
13883 * Makefile.am: added the new files to sources, removed layout.C
13885 * layout.C: removed file
13887 * layout.h: remove LYX_DUMMY_LAYOUT
13889 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13893 * lyxtextclass.[Ch]:
13894 * lyxtextclasslist.[Ch]: new files
13896 * include order changes to a lot of files, also changes because of
13899 2001-12-27 Juergen Vigna <jug@sad.it>
13901 * buffer.C (asciiParagraph): more fixes.
13903 * tabular.C (ascii): make ascii export support export of only the
13904 data separated by a column-delimiter.
13905 (ascii): better support for ascii export.
13907 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13909 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13911 * tabular_funcs.C: use a "using std::getline" instead of the
13912 previous fix from Angus (necessary for cxx + lyxstring)
13914 2001-12-24 Juergen Vigna <jug@sad.it>
13916 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13918 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13919 problems. First check a minipage also if we have some ert-contents
13920 (not only on par->size(), second set the right depth of the paragraph
13921 on the relink to the root-paragraph-list!
13923 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13924 which then did not anymore update the main paragraphs on undo/redo!
13926 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13928 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13929 code. Support all font-changing funcs (even those which are not in
13930 menu currently). Support for reporting font settings in
13931 mathed (disabled until Andre provides a function on mathed's side).
13933 * func_status.h (toggle): small helper function to set toggle
13936 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13938 * tabular_funcs.C: getline -> std::getline
13940 2001-12-21 Juergen Vigna <jug@sad.it>
13942 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13943 accessed and could be 0 (I couldn't generate this but it seems
13946 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13948 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13949 * tabular_funcs.h: here and include iosfwd
13951 2001-12-20 Juergen Vigna <jug@sad.it>
13953 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13954 inside inset but undo_par was.
13956 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13958 * Thesaurus.C: always include <config.h> in sources.
13962 * box.h: do not include <config.h> in header files
13964 * text.C (paintLastRow): remove unused variable
13966 * text.C (transformChar):
13968 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13970 * Painter.C (text):
13971 * font.C (width): rewrite to use uppercase() instead of
13974 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13976 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13978 * lyxfind.C: clean up of find failure position change
13980 2001-12-20 Juergen Vigna <jug@sad.it>
13982 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13984 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13985 (TeXRow): added to LaTeX a single tabular row.
13986 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13987 (Latex): simplified and finally good LT-h/f support.
13988 (various_functions): just small adaptions for LT-h/f support.
13990 * tabular_funcs.[hC]: added and moved here all not classfunctions
13993 2001-12-19 Juergen Vigna <jug@sad.it>
13995 * tabular.[Ch]: better support for longtabular options (not finished
13998 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14000 * text.C (paintLastRow): use the label font instead of the font of
14001 the last character to compute the size of *_BOX. This makes more
14002 sense and avoids a crash with empty paragraphs.
14003 Use Painter::rectangle to draw EMPTY_BOX.
14005 2001-12-19 Juergen Vigna <jug@sad.it>
14007 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14008 the paragraphs if the replaced paragraph is not the first one!
14009 Tried to delete not used paragraphs but does not work yet so for
14010 now it's inside #ifdef's and by default off!
14012 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14014 * MenuBackend.C: include "lyx_main.h" instead of declaring
14015 lastfiles (actually was declared as LastFiles* instead of a
14018 2001-12-17 Juergen Vigna <jug@sad.it>
14020 * tabular.C (AppendColumn): applied John's fix
14022 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14026 * BufferView_pimpl.h:
14027 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14030 * box.h: new start of class for above
14032 * lyxfunc.C: ignore space-only minibuffer dispatches.
14033 Show the command name when it doesn't exist
14035 * minibuffer.C: don't add empty lines to the history
14037 * minibuffer.C: add a space on dropdown completion
14039 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14041 * text.C: fix line above/below drawing in insets
14043 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14045 * lyxlength.C (LyXLength): Initialize private variables.
14047 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14049 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14050 when inserting error insets.
14052 2001-12-13 Juergen Vigna <jug@sad.it>
14054 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14055 actually sometimes the before-paragraph.
14056 (setUndo): don't clear the redostack if we're not actually undoing!
14058 2001-12-06 Juergen Vigna <jug@sad.it>
14060 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14061 and fixed redoing of main paragraph, so we can use it now ;)
14063 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14065 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14067 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14070 2001-12-13 André Pönitz <poenitz@gmx.net>
14073 * undo_func.C: minor cleanup
14075 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14077 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14078 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14079 font in urw-fonts package which is marked as -urw-fontspecific and
14080 does not work (incidentally, changing the encoding in the
14081 fonts.dir of this package to -adobe-fontspecific fixes the
14084 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14085 is a crash when undoing first paragraph (Juergen, please take a
14086 look). THis does not mean the undo fix is wrong, just that it
14089 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14090 the (Paragraph*) version when needed instead of duplicating the
14093 * text.C (workWidth): use Inset::parOwner to find out where the
14094 inset has been inserted. This is a huge performance gain for large
14095 documents with lots of insets. If Inset::parOwner is not set, fall
14096 back on the brute force method
14098 * paragraph_pimpl.C (insertInset):
14099 * paragraph.C (Paragraph):
14100 (cutIntoMinibuffer): set parOwner of insets when
14101 inserting/removing them
14103 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14105 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14111 * mathed/formulabase.C:
14112 * mathed/math_cursor.[Ch]:
14113 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14116 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14118 * lyxlength.[Ch] (operator!=): new function
14120 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14122 * text.C (workWidth): use Inset::parOwner to find out where the
14123 inset has been inserted. This is a huge performance gain for large
14124 documents with lots of insets. If Inset::parOwner is not set, fall
14125 back on the brute force method
14127 * paragraph_pimpl.C (insertInset):
14128 * paragraph.C (Paragraph):
14129 (cutIntoMinibuffer): set parOwner of insets when
14130 inserting/removing them
14132 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14134 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14136 * tabular-old.C (getTokenValue):
14137 * tabular.C (getTokenValue):
14138 (write_attribute): new versions for LyXLength
14139 (everywhere): adjust the use of widths
14141 * tabular.h: change the type of widths from string to LyXLength
14143 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14145 * paragraph.C: fixed missing line number count when exporting
14146 Environments to LaTeX file
14148 * buffer.C: added informational message for checking line numbers.
14150 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14152 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14153 paragraph, do the 'double space' part, but not the 'empty
14156 * text.C (workWidth): small optimization
14157 (getLengthMarkerHeight): use minimal size for negative lengths.
14159 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14161 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14163 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14165 2001-12-11 André Pönitz <poenitz@gmx.net>
14168 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14170 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14172 * text2.C: keep selection on a setFont()
14174 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14176 * lyx_cb.C: another bv->text misuse, from insert label
14178 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14181 * kbsequence.C: re-instate nmodifier mask
14183 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14185 * lyx_main.h: make lyxGUI private.
14187 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14189 * lyxfind.C: place the cursor correctly on failed search
14191 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14193 * text.C (getLengthMarkerHeight): for small heights, the arrows
14194 are not always on top/bottom of the text
14195 (drawLengthMarker): smaller arrows; take the left margin in
14196 account; draw also vfills.
14198 (paintLastRow): remove special code for vfill and standard spaces,
14199 since everything is handled in drawLengthMarker now.
14201 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14203 * buffer.C (insertErtContents): try to handle font and language
14204 interaction a bit better.g
14206 * ColorHandler.C (updateColor): change the hash to cover the whole
14207 LColor enum, ws cleanup
14208 (getGCLinepars): ditto
14209 (getGCLinepars): only lookup in the linecache once.
14211 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14213 * iterators.C (operator++): Make the iterator more robust
14215 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14217 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14219 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14222 * text.C: better added space drawing
14224 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14227 * BufferView2.C: fix layout combo update on inset unlock
14229 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14231 * Makefile.am: don't compile unused files
14233 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14237 * LyXAction.C: remove old LFUN_LAYOUTNO
14239 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14241 * paragraph_pimpl.h:
14242 * paragraph_pimpl.C: isTextAt() doesn't need font param
14244 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14247 * lyxlex.C: little cleanup
14249 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14251 * BufferView_pimpl.C: fix insertAscii for insets
14253 2001-12-05 Juergen Vigna <jug@sad.it>
14255 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14256 set the right font on the "multi" paragraph paste!
14258 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14264 * lyxlength.C: remove out-commented code.
14266 * BufferView_pimpl:
14280 * vc-backend.C: change "while(" to "while ("
14282 * lyxlength.[Ch]: add zero function to check if length is zero or
14284 * lyxgluelength.C: use it
14286 2001-12-05 Allan Rae <rae@lyx.org>
14288 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14289 Works for 2.95.3, from what I understand of Garst's reports this should
14290 work for other g++ versions. We're screwed if the abs(int) definition
14291 changed between bugfix releases of gcc.
14293 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14295 * text.C: fix chapter label offset !
14297 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14300 * text.C: fix hfill at end of line, clean up
14302 2001-12-04 Juergen Vigna <jug@sad.it>
14304 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14305 that we force an update of the inset and it's owners if neccessary.
14307 2001-12-03 Juergen Vigna <jug@sad.it>
14309 * text.C (rowLast): simplified code
14311 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14313 * lyxfunc.C: fix show options on timeout
14315 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14317 * screen.C (topCursorVisible): scroll half a page when the cursor
14318 reached top of bottom of screen
14320 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14322 * minibuffer.C: deactivate on loss of focus
14324 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14326 * vspace.[Ch] (operator!=): add operator.
14328 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14330 * BufferView_pimpl.C: refuse to open an inset when
14331 there's a selection.
14333 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14335 * BufferView_pimpl.C: allow to click on RHS of full row insets
14337 2001-11-30 Juergen Vigna <jug@sad.it>
14339 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14340 insets for undo reasons.
14342 2001-11-28 André Pönitz <poenitz@gmx.net>
14344 * vspace.[Ch]: cosmetical changes
14346 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14356 * kbsequence.C: part re-write of old kb code
14359 * WorkArea.C: remove Lgb_bug_find_hack
14361 2001-11-30 José Matos <jamatos@fep.up.pt>
14363 * buffer.C (makeDocBookFile): add a comment to point a hack.
14364 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14365 Fixed a double write of labels.
14367 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14370 * LaTeX.h Fixed bug in LaTeX class where it would not
14371 re-run latex if no depfiles were changed, but the .dvi was removed.
14373 2001-11-28 André Pönitz <poenitz@gmx.net>
14375 * all the files from the change on 2001/11/26:
14376 use lyx::layout_type instead of LyXTextClass::size_type
14377 use lyx::textclass_type instead of LyXTextClassList::size_type
14379 2001-11-29 Juergen Vigna <jug@sad.it>
14381 * text.C: added support for paragraph::isFreeSpacing()
14383 * buffer.C: same as above
14385 * paragraph.h: inserted isFreeSpacing() function to enable
14386 FreeSpacing inside InsetERT.
14388 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14389 of the paragraph's in the cut/copy buffer to 0!
14391 * text2.C (removeRow): remove the assert as it can!
14393 * lyxtext.h: added helper function firstRow returning firstrow and
14394 made firstrow private again.
14396 * BufferView2.C (lockInset): don't relock if we're already locked!
14398 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14399 the only paragraph.
14400 (removeRow): added Assert::(firstrow)
14402 * debug.C: forgot to add INSETTEXT here.
14404 2001-11-28 Juergen Vigna <jug@sad.it>
14406 * sp_spell.C (initialize): changed error text to more general
14407 spellchecker command use (not only ispell!)
14409 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14411 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14413 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14415 * vspace.C: initialise lyxgluelength on failure
14417 2001-11-28 Allan Rae <rae@lyx.org>
14419 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14420 declaration & definition that looks like a function declaration.
14422 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14424 * BufferView2.C (copy):
14425 (copyEnvironment): do not clear the selection when doing a copy.
14427 * text.C (paintFirstRow): compilation fix
14429 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14431 * tabular.C (Latex): correct line count when writing latex.
14433 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14435 * paragraph_pimpl.h:
14436 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14439 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14443 * LColor.C: change vfillline->added_space
14445 * text.C: add markers and text for added space
14447 * vspace.C: fix comment
14449 2001-11-28 André Pönitz <poenitz@gmx.net>
14451 * paragraph.C: whitespace changes
14452 * all the other files from the change on 2001/11/26:
14453 change *::pos_type into lyx::pos_type
14455 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14457 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14458 language of the document when inserting error insets.
14460 2001-11-26 André Pönitz <poenitz@gmx.net>
14462 * BufferView_pimpl.[Ch]:
14470 * paragraph_pimpl.[Ch]:
14473 * text2.C: reduce header dependencies, introduce type for positions
14475 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14477 * <various>: change to use Alert.h
14479 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14481 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14482 when encountering an unknown token.
14483 (readLyXformat2): Show an error message if there were unknown tokens.
14485 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14488 * BufferView_pimpl.C:
14492 * text2.C: use par->isInset()
14494 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14496 * paragraph_pimpl.h:
14497 * paragraph_pimpl.C: cleanup
14499 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14501 * text2.C (removeRow):
14502 * text.C (setHeightOfRow): remove useless (and costly) call to
14505 2001-11-20 Allan Rae <rae@lyx.org>
14507 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14508 Now need Inset*::checkInsertChar() to return true for appropriate
14509 cases so that the characters in the minibuffer will actually be
14512 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14514 * text.C: change the order of the includes.
14515 (workWidth): initialize it at once.
14516 (workWidth): make maxw unsigned
14517 (setHeightOfRow): remove unused variable (inset)
14518 (selectSelectedWord): remove unused variable (inset)
14519 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14521 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14523 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14524 server is not running.
14526 (closeConnection): add debug info when server is disabled.
14528 * ColorHandler.C (getGCForeground): send debug message to GUI
14531 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14533 * kbmap.C (bind): modify because return conventions of
14534 kb_sequence::parse have changed.
14536 * kbsequence.C (parse): only ignore spaces and not any stupid
14537 control character. This avoids tests like s[i] <= ' ', which are
14538 guaranteed to fail with 8bit characters and signed chars.
14539 Change return code to string::npos when there have been no error
14540 (0 was a bad idea when error is at first character)
14542 2001-11-14 José Matos <jamatos@fep.up.pt>
14545 * buffer.C (simpleDocBookOnePar): removed unused argument.
14547 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14549 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14550 insets which are part of a word. Paragraph::isLetter takes care of
14551 that now. Use Paragraph::isInset to identify insets.
14552 (selectSelectedWord): do not test for hyphenation break.
14554 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14555 that protected spaces are considered as spaces.
14557 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14560 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14563 * lyxserver.C: fix it. and small cleanup.
14565 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14567 * BufferView_pimpl.C: use inline helpers
14570 * LaTeXFeatures.C: fix typos
14573 * Spacing.C: move spacing_string into class
14575 * ToolbarDefaults.C: move stuff into namespace anon
14577 * layout.h: update enum
14579 * lyxfunc.C: use better debug
14581 * minibuffer.h: fix typo
14585 * WorkArea.C: add and use Debug::WORKAREA
14589 * text2.C: code re-organisation, inline helpers
14591 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14593 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14594 std::vector.empty().
14596 2001-11-09 Allan Rae <rae@lyx.org>
14598 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14599 '\n's after tables. Tabular and ERT inset work now makes this no
14602 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14605 * minibuffer.C: fix crash, improve drop-down completion
14607 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14610 * lyxserver.C: invalidate fd's when doing endPipe()
14612 2001-11-08 José Matos <jamatos@fep.up.pt>
14614 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14615 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14618 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14620 2001-11-07 José Matos <jamatos@fep.up.pt>
14623 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14626 * buffer.C (sgmlOpenTag):
14627 * buffer.C (sgmlCloseTag): removed debug info.
14629 * buffer.h (sgmlOpenTag):
14630 * buffer.h (sgmlCloseTag): made public.
14632 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14634 * buffer.C (saveParamsAsDefaults):
14635 * lyx_cb.C (MenuLayoutSave): remove
14637 * LyXAction.C (init):
14639 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14641 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14643 * buffer.C (setPaperStuff): removed from here...
14645 * bufferparams.C (setPaperStuff): ... and moved there.
14647 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14651 * XFormsView.C: add support for drop-down completion
14653 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14655 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14658 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14660 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14663 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14665 * lyx_main.C: change ref to known bugs
14667 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14669 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14670 to work around older babel problems.
14672 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14674 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14676 2001-10-24 Juergen Vigna <jug@sad.it>
14678 * tabular-old.C (ReadOld): below variable changes reflected.
14680 * tabular.[Ch]: added ltType struct for longtable header/footer
14681 defines and changed all instances where they are used. Added
14682 future support for double top/bottom rows.
14684 2001-10-24 José Matos <jamatos@fep.up.pt>
14686 * buffer.h (docbookHandleCaption):
14687 * buffer.C (docbookHandleCaption): removed unused function.
14688 (makeDocBookFile): moved docbook supported version to v4.1.
14690 2001-10-24 José Matos <jamatos@fep.up.pt>
14693 * tabular.C (docbookRow): new function to export docbook code of a row.
14694 (DocBook): now honors the longtable flags.
14696 2001-10-23 José Matos <jamatos@fep.up.pt>
14699 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14700 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14702 * buffer.C (makeLinuxDocFile):
14703 (makeDocBookFile): reworked the preamble, more clean, and with
14704 support for lyx defined entities. Changed the document declaration
14705 to be more XML friendly.
14707 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14708 if we need to output XML that should be done with a filter.
14710 2001-10-22 Juergen Vigna <jug@sad.it>
14712 * sp_pspell.h (class PSpell): add alive function needed in the
14713 controller to see if the spellchecker could be started.
14715 2001-10-22 Juergen Vigna <jug@sad.it>
14717 * buffer.C (insertStringAsLines): modify the font for inserting
14718 chars in certain conditions by calling checkInsertChar(font).
14720 2001-10-19 Juergen Vigna <jug@sad.it>
14722 * text.C (workWidth): use getRow instead of wrong algorithm.
14723 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14725 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14730 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14732 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14734 * text.C (workWidth): do not search for the exact row when
14735 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14736 optimization for big documents.
14738 2001-10-18 Juergen Vigna <jug@sad.it>
14740 * text.C (workWidth): new function with added Inset * parameter.
14742 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14744 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14746 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14747 change return type of getColumnNearX.
14750 * text.C (changeRegionCase): use uppercase/lowercase instead of
14753 (rightMargin): simplify code by factoring out the uses of
14758 (appendParagraph): use Paragraph::size_type
14760 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14762 * vspace.C (asLatexString): add a missing break
14764 2001-10-15 Herbert Voss <voss@perce.de>
14766 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14768 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14770 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14773 2001-10-10 André Pönitz <poenitz@gmx.net>
14775 * lyxfunc.C: removed greek_kb_flag.
14777 2001-10-10 Herbert Voss <voss@perce.de>
14779 * lyx_main.C: delete global string help_lyxdir.
14781 2001-10-09 Herbert Voss <voss@perce.de>
14783 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14785 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14787 * lyx_main.C: added global string help_lyxdir.
14789 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14791 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14793 * lyxrc.C (set_font_norm_type): support iso8859-4
14795 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14797 * LaTeX.C (deplog): add another regex for MikTeX
14799 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14801 * lyxrc.C (set_font_norm_type): support iso8859-3
14803 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14805 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14807 * LaTeXFeatures.C: remove special case of french and index
14809 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14810 before \begin{document}). This solves several incompatibilities.
14812 2001-10-03 Garst Reese <reese@isn.net>
14814 * lyx_cb.C: change CheckTex error msg.
14816 2001-10-03 José Matos <jamatos@fep.up.pt>
14818 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14820 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14822 * .cvsignore: update
14824 * lyx_main.C (commandLineVersionInfo): use new style version info.
14826 * buffer.C (writeFile):
14828 (makeLinuxDocFile):
14829 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14831 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14833 * version.h: update to use stuff in version.C
14835 * version.C.in: new file. Contains version information determined
14836 at compile time. This is a merging of version.h and
14839 2001-10-03 Juergen Vigna <jug@sad.it>
14841 * BufferView_pimpl.C (update): don't change "dirty" status in
14844 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14846 * WorkArea.C (c-tor): re-position version string slightly.
14848 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14850 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14851 revert to previous code.
14853 WorkArea.[Ch]: (show, destroySplash): methods removed.
14855 WorkArea.C: rework code so that it's an amalgam of the codes before and
14856 after the splash screen was moved to WorkArea.
14858 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14861 * vspace.C (inPixels):
14864 * buffer.C (insertStringAsLines):
14865 (asciiParagraph): fix types to be large enough
14867 * lyxlex_pimpl.h: change member status from short to int
14869 * layout.h: fix type of endlabeltype
14872 * kbsequence.C (parse): change return type to string::size_type
14874 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14877 * Bullet.C (bulletSize):
14878 (bulletEntry): do not use short ints as parameters
14880 * BufferView2.C (insertLyXFile): change a char to an int.
14882 * WorkArea.C (WorkArea): remove unneeded floats in computation
14884 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14886 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14888 * paragraph.C (asString): Do not ignore newline/hfill chars when
14889 copying to the clipboard.
14891 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14893 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14894 after a multi-line inset.
14896 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14898 * paragraph.C (validate): Set NeedLyXFootnoteCode
14900 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14902 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14903 and decrease-error to decrease.
14905 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14907 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14908 it more readable (should be equivalent)
14910 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14912 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14914 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14916 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14917 of a cursor (row, etc.) after a character has been deleted
14918 (deleteEmptyParagraphMechanism): call the method above on _all_
14919 cursors held by the LyXText when a double space has been
14922 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14924 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14926 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14928 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14929 background. Use greyOut() and the new show() methods to toggle between
14930 the foreground and background. Add code to remove the splash after
14931 its initial showing.
14933 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14934 (create_forms): no longer call Dialogs::showSplash.
14936 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14938 * .cvsignore: add version_info.h
14940 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14942 * version_info.h.in: new file
14944 * Makefile.am: add version_info.h.in
14946 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14947 version_info.h instead of VERSION_INFO
14949 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14951 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14952 The ERT inset now returns string().
14954 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14956 * lyxtext.h, text.C (selectNextWord): renamed as
14957 selectNextWordToSpellcheck.
14959 * text.C (selectNextWordToSpellcheck): Modified to not select
14960 words inside an ERT inset.
14962 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14964 * lyx_cb.C (MenuLayoutSave): change a bit the question
14966 * sp_base.h: include <sys/types.h>
14968 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14970 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14972 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14974 * several files: fix typos in user-visible strings
14976 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14978 * text2.C (pasteSelection): do not set the selection, since it
14979 will be cleared later. Actually, the intent was to fix the way the
14980 selection was set, but I figured rmoving the code was just as good.
14982 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14984 * FontLoader.C (available): Check if font is available without
14987 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14989 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14991 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14993 * lyxrc.[Ch]: added display_graphics variable and associated code.
14995 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14997 * bufferparams.C (hasClassDefaults): new method. Returns true if
14998 the buffer parameters correspond to known class defaults
15000 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15002 * XFormsView.C (show): set minimum size to the main window.
15004 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15006 * text2.C (copySelection):
15008 * lyxfind.C (LyXReplace):
15009 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15010 LyXText::selectionAsString.
15012 * paragraph.C (asString): add "label" argument to the second form
15014 * text2.C (selectionAsString): add "label" argument and pass it to
15015 Paragraph::asString.
15017 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15019 * lyx_main.C (commandLineHelp): remove version information
15021 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15023 * lyx_main.C: add -version commandline option
15025 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15027 * paragraph.h: make the optional constructor arg required instead.
15028 some modifications to other files because of this.
15030 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15032 * lyxserver.C (C_LyXComm_callback): make it static
15034 * lyx_main.C (error_handler): make it static
15036 * lyx_gui.C (LyX_XErrHandler): make it static
15038 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15040 * WorkArea.C: make the extern "C" methods static.
15042 * Makefile.am (lyx_LDADD): simplify
15044 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15046 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15047 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15049 * LyXAction.C (init):
15050 * lyxfunc.C (dispatch): associated code removal.
15052 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15054 * lyxfont.h (isSymbolFont): shut off warning
15056 * text.C (setHeightOfRow):
15057 (getVisibleRow): fix crash with empty paragraphs which have a
15060 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15062 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15065 2001-09-04 José Matos <jamatos@fep.up.pt>
15068 * tabular.C (docbook): rename docBook method to docbook.
15070 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15072 * Makefile.am: add dependencies to main.o.
15074 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15076 * FontLoader.C (available): Return false if !lyxrc.use_gui
15078 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15080 * FontInfo.C (query):
15081 * converter.C (view):
15082 * importer.C (Import):
15083 * exporter.C (Export): Can not -> cannot.
15085 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15087 * BufferView_pimpl.C: allow to create index inset even if
15090 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15092 * buffer.C (getLists): replace boost::tie code with an explicit pair
15093 as boost::tie can break some compilers.
15095 * iterators.h: Added a std:: declaration to the return type of
15098 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15100 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15103 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15105 * iterators.[Ch]: New files. Provide paragraph iterators.
15107 * buffer.C (changeLanguage): Use paragraph iterators.
15108 (isMultiLingual): ditto
15110 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15112 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15114 * FontLoader.C: Support for cmr font.
15116 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15118 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15119 (available): New method.
15121 * FontInfo.C (getFontname): Use scalable fonts even when
15122 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15125 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15127 * converter.C (Formats::view): reverted! Incorrect fix.
15129 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15131 * converter.C (Formats::view): only output the -paper option
15132 if the dvi viewer is xdvi, thereby fixing bug #233429.
15134 2001-08-23 Herbert Voss <voss@perce>
15136 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15138 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15140 * Spacing.h (Spacing): Set space to Default on in the default
15143 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15145 * vc-backend.h (RCS::versionString): add RCS to version
15146 (CVS::versionString): add CVS to version
15148 * vc-backend.C (scanMaster): do not add CVS to version.
15149 (scanMaster): do not add RCS to version
15151 * lyxvc.C (versionString): new method
15153 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15155 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15157 * Spacing.C (set): initialize fval
15159 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15161 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15164 2001-08-16 Juergen Vigna <jug@sad.it>
15166 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15168 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15170 * BufferView_pimpl.C:
15173 * text2.C: setParagraph takes linespacing now
15175 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15177 * LyxAction.C: add internal LFUN_CITATION_INSERT
15179 * LyXView.C: actually apply fix
15181 * bufferlist.C: fix open non-existent file
15183 * lyxfind.C: fix indentation
15185 * lyxfunc.C: remove unneeded assert, fix typo
15187 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15189 * MenuBackend.C: use "Floatname List"
15191 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15193 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15194 when converting LaTeX layout to insetERT.
15195 Generate a non-collapsed float when reading old float
15197 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15199 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15202 2001-08-13 Juergen Vigna <jug@sad.it>
15204 * text.C (fill): return 0 instead of 20 as this seems to be the more
15207 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15209 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15212 2001-08-13 Juergen Vigna <jug@sad.it>
15214 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15216 (SearchBackward): comment out the unlocking of the inset_owner this
15217 should not be needed!
15219 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15221 * Many files: Remove inherit_language, and add latex_language
15223 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15224 collapsible insets.
15226 2001-08-10 Juergen Vigna <jug@sad.it>
15228 * text.C (prepareToPrint): fixed hfill-width in draw!
15230 * BufferView2.C (selectLastWord): save the selection cursor as this
15231 now is cleared in the function LyXText::clearSelection!
15233 2001-08-08 Juergen Vigna <jug@sad.it>
15235 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15236 BACKSPACE type functions.
15238 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15239 is only cutted from the document but not put in the cut-buffer, where
15240 still the old stuff should be.
15242 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15244 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15246 * tabular.C (SetWidthOfCell): fixed special case where the width
15248 (LeftLine): handle '|' in align_special.
15250 (LeftAlreadyDrawed): ditto
15251 (SetWidthOfCell): ditto
15253 2001-08-07 Juergen Vigna <jug@sad.it>
15255 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15257 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15259 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15260 * lyxlex.[hC]: ditto
15262 2001-08-06 Juergen Vigna <jug@sad.it>
15264 * text.C (getVisibleRow): fix up row clearing a bit.
15266 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15268 * minibuffer.C: make sure the X server sees the changes in the input.
15270 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15272 * paragraph.C (getFont): split into...
15273 (getLabelFont): this
15274 (getLayoutFont): and this
15275 * paragraph_pimpl.C (realizeFont): calling this
15277 * text2.C (getFont): split into...
15278 (getLayoutFont): this
15279 (getLabelFont): and this
15280 (realizeFont): all three calling this
15282 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15285 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15287 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15289 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15291 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15292 layouts from the Quote inset insertion.
15294 2001-08-03 Juergen Vigna <jug@sad.it>
15296 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15298 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15299 only if status not is already CHANGED_IN_DRAW (second level).
15301 * text.C (draw): don't set the need_break_row when inside an
15304 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15306 * buffer.C (parseSingleLyXformat2Token): handle more latex
15309 * bufferview_funcs.[hC]: change function names to
15310 begin with small char, adjust other files.
15312 2001-08-02 André Pönitz <poenitz@gmx.net>
15315 BufferView_pimpl.C: remove broken special code for math-greek
15317 2001-08-02 Juergen Vigna <jug@sad.it>
15319 * BufferView_pimpl.C (update): redone this function so that we
15320 update the text again if there was a CHANGE_IN_DRAW.
15322 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15323 (drawFromTo): added a new internal bool which is used by draw() and
15325 (general): some cursor drawing problems fixed.
15327 2001-08-01 Juergen Vigna <jug@sad.it>
15329 * lyxfind.C (LyXFind): fixed
15330 (SearchForward): ditto
15331 (SearchBackward): ditto
15333 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15334 spurius drawing of the cursor in the main area.
15336 * text2.C (status): small fix which could lead to a segfault!
15337 (clearSelection): remove unneeded BufferView param.
15339 2001-08-01 André Pönitz <poenitz@gmx.net>
15341 * lyxfunc.C: small change due to changed mathed interface
15343 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15345 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15347 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15349 * lyxfunc.c: fail gracefully if file doesn't exist
15354 * BufferView_pimpl.C: IsDirWriteable() proto changed
15356 * LyXView.C: fix updateWindowTitle() to store the last title
15358 2001-07-31 Juergen Vigna <jug@sad.it>
15360 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15361 the font (wrong since using of Paragraph::highestFontInRange).
15363 * paragraph.C (highestFontInRange): added a default_size parameter.
15365 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15366 (setHeightOfRow): reformat
15368 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15370 * converter.[hC] + affected files: move to (inital-char)lowercase
15373 * ParagraphParameters.C (ParagraphParameters): remove commented code
15375 * PainterBase.[Ch]: remove commented code
15377 * LaTeXFeatures.h: add "bool floats" for float.sty
15379 * LaTeXFeatures.C (LaTeXFeatures): init floats
15380 (require): handle float
15381 (getPackages): do it with floats
15383 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15385 * BufferView_pimpl.C (Dispatch): improve handling of
15386 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15388 * commandtags.h: #include lyxfont.h here temporarily to avoid
15391 * bufferlist.h: include LString.h here.
15393 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15395 * text2.C (getStringToIndex): new method.
15397 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15399 * *: Reduced header file dependencies all over.
15401 2001-07-30 Baruch Even <baruch@lyx.org>
15403 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15405 2001-07-29 Baruch Even <baruch@lyx.org>
15407 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15409 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15411 * ParameterStruct.h (endif): add a default constructor to make
15412 sure that all variables is initialized.
15414 * ParagraphParameters.C (ParagraphParameters): adjust
15416 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15418 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15419 index; also, check that there is something to index, and that it
15420 does not span over several paragraphs.
15421 (doubleClick): use WHOLE_WORD_STRICT for double click.
15423 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15425 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15428 2001-07-26 Baruch Even <baruch@lyx.org>
15430 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15431 an InsetFig figure, backwards compatible reading of old figure code.
15433 2001-07-27 Juergen Vigna <jug@sad.it>
15435 * text2.C: font.realize function adaption.
15437 * text.C (draw): add a warnings lyxerr text if needed.
15439 * layout.C: font.realize function adaption.
15441 * language.C: add inherit_language and implement it's handlings
15443 * bufferview_funcs.C (StyleReset): remove language parameter from
15444 font creation (should be language_inherit now).
15446 * bufferparams.C (writeFile): handle ignore_language.
15448 * paragraph.C (getFontSettings): the language has to be resolved
15449 otherwise we have problems in LyXFont!
15451 * lyxfont.C (lyxWriteChanges): added document_language parameter
15452 (update): removed unneeded language parameter
15454 * paragraph.C (validate): fixed wrong output of color-package when
15455 using interface colors for certain fonts in certain environments,
15456 which should not seen as that on the final output.
15458 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15460 * BufferView_pimpl.C:
15465 * LyXAction.C: add thesaurus support
15468 * lyxfind.C: add "once" parameter, for thesaurus, to not
15469 move to the next match
15471 2001-07-26 Juergen Vigna <jug@sad.it>
15473 * lyxfont.C (realize): honor ignore_language too!
15476 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15478 * text.C (draw): one place more for ignore_language to not draw
15481 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15483 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15485 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15487 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15488 the minipage conversion problem.
15490 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15492 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15495 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15497 * BufferView.h: don't forward declare WorkArea
15499 * BufferView.C: don't include WorkArea.h
15501 2001-07-25 André Pönitz <poenitz@gmx.net>
15505 * lyxfunc.C: new LFUN 'math-space'
15507 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15509 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15511 * text2.C (toggleInset): call open/close
15513 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15515 * lyxfunc.C (dispatch): add debug for the disabled case
15517 * font.C (buttonText): make similar to rectText
15519 * buffer.C (readInset): comment out parsing of insetlist and
15522 * PainterBase.C (rectText): small correction
15524 * BufferView_pimpl.C: comment out insettheorem and insetlist
15525 * LyXAction.C: ditto
15526 * commandtags.h: ditto
15528 2001-07-24 Juergen Vigna <jug@sad.it>
15530 * text.C (draw): honor the ignore_language.
15532 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15534 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15536 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15539 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15541 * lyxtext.h: remove unused (and unimplemented) methods
15543 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15545 * text.C (getVisibleRow): honor background color
15548 * Painter.h: remove default color argument for fillRectangle
15550 * text.C (backgroundColor): new method
15552 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15554 * text.C (getVisibleRow): adjust
15556 * font.[Ch] (rectText): new method, metrics
15557 (buttonText): new method, metrics
15559 * PainterBase.[hC]: make rectText and buttonText always draw and take
15562 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15564 * ToolbarDefaults.C (read):
15565 * MenuBackend.C (read): allow escaping in all strings
15567 * BufferView_pimpl.C (insertAndEditInset): new method.
15568 (Dispatch): use insertAndEditInset whenever appropriate.
15570 * BufferView_pimpl.C (insertNote): removed
15572 * BufferView_pimpl.C (smartQuote): new method, moved from
15573 BufferView; if an insetquote cannot be inserted, insert a '"'
15576 * BufferView2.C: remove insertCorrectQuote();
15578 * lyxfunc.C (getStatus): Add support for all remaingin
15579 inset-insert lfuns.
15581 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15583 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15584 command (necessary to pass " as parameter of self-insert.
15586 * text.C (selectWordWhenUnderCursor):
15587 (selectWord): add word_location parameter
15588 (selectWordWhenUnderCursor): same + remove special code for word
15590 (selectNextWord): use kind() to guess type of insetspecialchar,
15593 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15594 (insertErtContents): create ert insets as collapsed.
15595 (readInset): better compatibility code for Info inset.
15597 2001-07-20 Juergen Vigna <jug@sad.it>
15599 * lyxfunc.C (dispatch): use always LyXFind now!
15601 * text2.C (init): add a reinit flag so that the LyXText can be
15602 reinited instead of deleted and reallocated (used in InsetText).
15604 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15610 2001-07-18 Juergen Vigna <jug@sad.it>
15612 * text.C (selectNextWord): handle insets inside inset by calling
15613 always the bv->text functions so that we can go up the_locking_inset!
15615 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15616 in strange locations when inside an inset!
15618 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15619 handling to include insets.
15621 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15623 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15625 * LyXAction.C (init):
15627 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15628 LIGATURE_BREAK, since the name is so stupid.
15630 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15632 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15635 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15637 * sp_form.[Ch]: remove.
15639 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15641 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15644 * src/buffer.C (readInset): ditto.
15646 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15648 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15649 menuSeparator(), endOfSentenceDot(), ldots() and
15650 hyphenationPoint(), which are therefore removed.
15651 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15653 * LyXAction.C (init):
15654 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15656 * paragraph.C (getWord): removed.
15658 * BufferView_pimpl.C (Dispatch): use last word or selection for
15659 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15661 * lyx_main.C (queryUserLyXDir): do not ask before creating
15662 user_dir, except if it has been named explicitely.
15664 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15666 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15667 a document of zero size.
15669 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15671 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15672 approriately in the c-tor and in require().
15673 (getPackages): output the appropriate LaTeX for natbib support.
15675 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15676 variables "use_natbib" and "use_numerical_citations" when reading the
15678 (readInset): read the various natbib cite commands.
15679 (validate): white-space change.
15681 * bufferparams.[Ch]: new variables "bool use_natbib" and
15682 "bool use_numerical_citations".
15683 (writeFile): output them in the LyX file.
15685 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15687 * lyxfunc.C (getStatus): add support for all the inset insertion
15690 * text2.C (insertInset):
15691 * paragraph.C (insetAllowed):
15692 * BufferView_pimpl.C (insertInset): update to take in account the
15693 renaming of insertInsetAllowed
15695 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15697 * text2.C (getInset): new method. returns inset at cursor position.
15699 * BufferView_pimpl.C (Dispatch): changes because of this.
15701 * LyXAction.C (init): rename open-stuff to inset-toggle.
15703 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15705 * text2.C (toggleInset): renamed from openStuff; use
15708 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15710 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15712 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15714 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15716 * buffer.C (readLyXformat2): Add filename to the error dialog
15718 2001-07-18 Juergen Vigna <jug@sad.it>
15720 * tabular.C (GetCellNumber): put an assert here instead of the check!
15722 2001-07-17 Juergen Vigna <jug@sad.it>
15724 * BufferView_pimpl.C (toggleSelection): adapted too.
15726 * text.C (selectNextWord): adapted for use with insets.
15727 (selectSelectedWord): ditto
15729 2001-07-17 Juergen Vigna <jug@sad.it>
15731 * sp_spell.C (PSpell): fix initialitation order.
15733 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15735 * paragraph.C: spacing
15737 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15739 * sp_spell.C: repair language selection for pspell
15741 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15743 * lyxfunc.h: change more methods to begin with lower char.
15745 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15747 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15748 for unknown layouts.
15750 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15752 * buffer.C (readLyXformat2): Generate an error dialog if there are
15755 2001-07-16 Juergen Vigna <jug@sad.it>
15757 * sp_spell.C: always compile ISpell part.
15759 * lyxrc.C: added use_pspell entry and it's handling.
15761 2001-07-13 Juergen Vigna <jug@sad.it>
15763 * sp_spell.C: removed double includes.
15765 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15767 Consistent use of Lsstream.h:
15768 * Lsstream.h: added using std::stringstream for consistencies sake.
15770 * buffer.C: removed using std::stringstream
15772 * lyxfont.C (stateText):
15773 * paragraph.C (asString):
15774 * text.C (selectNextWord, selectSelectedWord):
15775 * text2.C (setCounter):
15776 * vspace.C (asString, asLatexString):
15777 std::ostringstream -> ostringstream.
15779 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15781 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15782 * commandtags.h: add LFUN_HELP_ABOUTLYX
15783 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15785 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15787 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15789 * lyx_gui_misc.C: remove spellchecker
15790 * lyxfunc.C: showSpellchecker
15792 * sp_ispell.h: added
15793 * sp_pspell.h: added
15794 * sp_spell.C: added
15795 * sp_form.[Ch]: removed
15796 * spellchecker.[Ch]: removed
15798 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15800 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15802 (simpleTeXSpecialChars): Simply print the input character without
15803 any special translation if pass_thru is set.
15805 * layout.h: Added bool pass_thru to layout class for being able to
15806 implement pass through of a paragraph for Literate Programming.
15808 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15809 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15810 * layout.C (Read): add "passthru" to list of layout tags and add
15811 code to set the pass_thru boolean when it is read.
15813 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15815 * trans_decl.h: remove allowed from KmodInfo
15817 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15818 remove allowed code
15821 * paragraph_pimpl.C (erase): use boost::prior
15823 * Painter.C (text): use data() instead of c_str() when length is
15825 * WorkArea.C (putClipboard): ditto
15826 * font.h (width): ditto
15828 * BufferView2.C: use it-> instead of (*it). for iterators
15830 * paragraph_pimpl.C: ditto
15831 * paragraph.C: ditto
15832 * minibuffer.C: ditto
15833 * language.C: ditto
15835 * encoding.C: ditto
15836 * counters.C: ditto
15837 * converter.C: ditto
15839 * Variables.C: ditto
15840 * TextCache.C: ditto
15841 * MenuBackend.C: ditto
15842 * LyXAction.C: ditto
15844 * FloatList.C: ditto
15845 * DepTable.C: ditto
15846 * ColorHandler.C (LyXColorHandler): ditto
15848 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15850 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15852 * text2.C (openStuff): reintroduce this method (which had been
15853 nuked in NEW_INSETS frenzy).
15855 * lyxfunc.C (Dispatch): when an action has not been handled, use
15856 its name in the error message, not its number.
15858 * paragraph.C (inInset): change method name to begin with lowercase.
15861 * text2.C: updates because of this.
15863 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15865 * ToolbarDefaults.C (add): add spaces in error message
15867 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15869 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15870 (readLyXformat2): rename return_par to first_par, use lyxlex's
15871 pushToken and remove the manual push handling.
15872 (parseSingleLyXformat2Token): add another ert comp. variable:
15873 in_tabular, rename return_par to first_par. handle newlines better
15875 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15877 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15879 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15881 * text2.C (getParFromID): removed
15883 * buffer.C (getParFromID): new method moved form lyxtext.
15884 * BufferView2.C (insertErrors): adjust
15885 (setCursorFromRow): adjust
15886 * BufferView_pimpl.C (restorePosition): adjust
15887 * lyxfunc.C (Dispatch): adjust
15888 * undo_funcs.C (textUndo): adjust
15890 (textHandleUndo): adjust
15891 (textHandleUndo): adjust
15893 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15895 * buffer.C: up' the LYX_FORMAT
15897 * lyxfont.h: turn NO_LATEX on as default
15899 * buffer.C (insertErtContents): new methods of tex style compability.
15900 (parseSingleLyXformat2Token): use it several places.
15901 * tabular.C (OldFormatRead): and here
15903 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15905 * text2.C: remove some commented code.
15908 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15909 * trans.C: changes because of the above.
15911 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15913 * text2.C (setCounter): Fix counters bug with bibliography layout.
15915 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15917 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15918 own member functions
15919 (simpleTeXSpecialChars): ditto
15921 2001-07-06 Juergen Vigna <jug@sad.it>
15923 * a lot of files: changed the access to LyXText::status and the
15924 call of undo-functions.
15926 * undo.[Ch]: added a inset_id to the undo informations.
15928 * undo_funcs.[Ch]: added and moved here all undo functions.
15930 * lyxtext.h: give the status enum a weight, made status_ a private
15931 variable and made accessor functions for it, removed the whole bunch
15932 of undo-functions as they are now in their own file, make some
15933 functions publically available. Added function ownerParagraph with
15936 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15937 made InInset() a const function, added getParFromID() function.
15939 * buffer.[Ch]: added const version for inset_iterator functions,
15940 added getInsetFromID() function.
15942 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15943 changed undo functions for new version.
15945 2001-07-05 Juergen Vigna <jug@sad.it>
15947 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15948 unknow mechanism does not call the proper constructor but only this
15949 one also if I request the other!?
15951 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15953 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15955 * text2.C (LyXText): use initialization lists.
15957 * lyxtext.h (Selection): initialize set_ and mark_
15958 (init): remove method
15960 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15962 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15964 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15966 * screen.[Ch]: change method names to begin with lowercase
15968 * BufferView_pimpl.C (updateScrollbar): simplify further and
15969 hopefully make it a bit faster.
15971 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15973 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15974 calling directly xforms functions.
15976 * Painter.C (Painter):
15977 * lyx_cb.C (MenuWrite):
15978 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15981 * lyx_gui.C: remove bogus guiruntime extern declaration.
15983 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15985 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15987 (redoDrawingOfParagraph): ditto
15988 (redoParagraphs): ditto
15989 (cutSelection): don't create a object for CutAndPaste use the
15990 static method directly
15991 (pasteSelection): ditto
15993 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15996 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15998 * modifications to some other files because of this.
16000 * Makefile.am (lyx_SOURCES): add XFormsView
16002 * XFormsView.[Ch]: new files
16004 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16005 the main window. Move the gui dependent stuff to XFormsView
16007 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16009 * tabular.C (GetCellInset): update cur_cell also in the row/col
16010 version of this function.
16012 * lyxfunc.C: no need to include figure_form.h here.
16018 * lyxvc.C: no need to include forms.h here.
16020 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16022 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16024 * lyxfunc.C (Dispatch):
16026 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16027 constructor argument.
16029 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16031 * paragraph.C (Paragraph): dont't clear, and just set layout.
16032 (makeSameLayout): use params's copy contructor.
16034 * ParagraphParameters.[Ch] (makeSame): delete method
16036 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16038 * Variables.[Ch]: fix indentation, rename set to isSet
16040 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16042 * lyxfunc.C (Dispatch): fix typo
16044 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16046 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16049 * bufferlist.C: include assert.h for emergencyWrite().
16051 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16053 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16054 give up at last (bug #425202) !
16056 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16062 * spellchecker.C: strip spellchecker options and bring up
16063 preferences tab instead
16065 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16067 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16068 the istringstream constructor
16070 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16072 * paragraph.C (getLayout): fix return value
16074 * paragraph.h: do not declare getLayout as inline.
16076 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16078 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16080 * lyxcursor.h (operator<): new func
16081 (operator>): new func
16082 (operator>=): new func
16083 (operator<=): new func
16085 * text.C (changeCase): use selection.start and selection.end
16086 (changeRegionCase): require from to be <= to. Require par to be a
16089 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16091 2001-06-27 Juergen Vigna <jug@sad.it>
16093 * text.C (cursorLeftOneWord): changed to return the cursor and added
16094 overlay with BufferView * parameter which calls this one.
16096 (selectWord): use new getWord function.
16097 (changeCase): renamed from changeWordCase as and extended to work
16098 also on selections.
16100 * lyxtext.h: added enum word_location
16102 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16103 changeCase as this operates now also on selections.
16105 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16107 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16109 * many files: send debug output to Debug::INFO instead of
16112 * converter.C (View):
16114 (Move): send debug output to Debug::FILES instead of console.
16116 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16118 * lyxfunc.C (getStatus): use func_status
16120 * func_status.h: new header, describing the results of
16121 LyXFunc::getStatus;
16123 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16126 2001-06-25 The LyX Project <jug@sad.it>
16128 * buffer.C (sgmlOpenTag):
16130 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16132 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16134 * text2.C: remove some dead code
16136 * tabular.C (GetCellInset): store the last cell checked (gotten)
16138 * tabular.h: add the helper for the speedup
16140 * lyxtext.h: remove some dead code
16142 2001-06-26 The LyX Project <Asger>
16144 * paragraph.C: Change export to LaTeX of alignment to
16145 \begin{center} and family for better roundtrip work with reLyX.
16147 * Tune the math drawing a bit.
16149 2001-06-25 The LyX Project <Asger>
16151 * LColor.C (LColor): New color for math background. New color
16154 2001-06-25 The LyX Project <jug@sad.it>
16156 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16158 * lyxfunc.C (Open):
16159 * bufferlist.C (newFile): do not restrict to files ending with
16162 * BufferView_pimpl.C (MenuInsertLyXFile):
16164 2001-06-24 The LyX Project <jug@sad.it>
16166 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16169 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16171 * lyxtext.h: rename most methods to begin with a small char.
16172 Lots of changes because of this.
16174 * paragraph.C (Paragraph): do not call fitToSize
16175 (erase): call Pimpl::erase
16176 (insertChar): call Pimpl::insertChar
16177 (insertInset): call Pipl::insertInset
16178 (breakParagraph): do not call fitToSize
16179 (breakParagraphConservative): do not call fitToSize
16180 (fitToSize): remove method
16182 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16184 2001-06-24 The LyX Project <Asger>
16186 * Fix Qt compilation^2
16188 2001-06-24 The LyX Project <jug@sad.it>
16190 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16191 depthHook(getDepth()-1).
16194 * ParagraphParameters.h:
16195 * ParameterStruct.h: change type of depth to unsigned int ==
16196 depth_type. Many adaptations to other files before of that.
16198 2001-06-24 The LyX Project <Asger>
16200 * Fix Qt compilation.
16202 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16204 * paragraph.h: renamed several methods to begin with small letter.
16205 several changes to many parts of the code because of this.
16207 2001-06-23 The LyX Project <jug@sad.it>
16209 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16210 rewritten to discard all double spaces when KeepEmpty is off
16211 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16212 to only handle newlines but not fiddle with spaces and friends.
16214 * lyxfunc.C (MenuNew): when doing 'new from template', use
16215 template_path as default directory
16217 2001-06-23 The LyX Project <Asger>
16219 * Clean-up of header file includes all over
16220 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16222 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16224 * paragraph.h: renamed from lyxparagraph.h
16226 2001-06-23 Asger <lyx@violet.home.sad.it>
16228 * Buffer.h: Removed Buffer::resize
16229 * BufferList.h: Removed BufferList::resize
16230 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16231 the document lazily when we change the width, or the font settings.
16233 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16235 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16237 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16239 * buffer.h: remove out of date comment
16241 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16244 * screen.C: fix "theoretical" GC leak
16246 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16248 * LaTeX.C (scanAuxFile):
16249 (deplog): remove trailing \r when reading stream (useful under
16252 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16254 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16255 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16256 and BufferView::theLockingInset(Inset*), so should use them and not
16257 access bv_->text->the_locking_inset directly.
16259 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16261 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16264 * tex-defs.h: remove old unused file
16266 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16268 * BufferView_pimpl.C: fix typo, remove minibuffer message
16269 when buffer has loaded
16271 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16273 * lyxfunc.C (Dispatch): use stringstream
16274 (MenuNew): use stringstream
16275 (Open): use stringstream
16277 * importer.C (Import): use stringstream
16279 * bufferview_funcs.C (CurrentState): use stringstream
16281 * LaTeX.C (run): use stringstream
16283 * BufferView_pimpl.C (savePosition): use stringstream
16284 (restorePosition): use stringstream
16285 (MenuInsertLyXFile): use stringstream
16287 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16300 * vspace.C: removed // -*- C++ -*- as first line.
16303 * version.h: added // -*- C++ -*- as first line.
16305 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16307 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16309 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16312 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16314 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16317 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16319 * gettext.C: include LString.h even when --disable-nls is on.
16321 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16323 * converter.h (Get): changed argument type from int to
16324 FormatList::size_type to avoid unnecessary conversion.
16326 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16329 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16331 * gettext.h: include LString.h even when --disable-nls is on.
16333 2001-06-07 Juergen Vigna <jug@sad.it>
16335 * text.C (BreakAgain): subst spaces with tabs.
16337 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16338 (resizeInsetsLyXText): set force on resizeLyXText.
16340 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16342 * gettext.h (gettext_init):
16343 (locale_init): use a real definition instead of a macro
16345 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16347 * Bufferview_pimpl.C:
16349 * LColor.C: further lcolor tidies
16351 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16353 * BufferView_pimpl.C (updateScrollbar): simplify.
16355 * BufferView2.C: don't include insets/insetinfo.h, change
16356 prototype for insertInset and call the Pimpl version. let
16357 updateInset call Pimpl version.
16359 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16360 gotoInset to BufferView::Pimpl
16362 2001-06-01 Juergen Vigna <jug@sad.it>
16364 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16365 inside a LockingInset (is the update needed at all?).
16367 2001-05-31 Juergen Vigna <jug@sad.it>
16369 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16370 here not the old one otherwise how should we compare it afterwards
16373 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16378 * FontInfo.C: bring C functions into global namespace when
16381 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16383 * LString.h: make sure config.h has been loaded before LString.h.
16385 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16386 (one for each char read by EatLine!).
16388 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16391 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16393 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16394 to the same as the par we break from
16396 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16398 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16400 * MenuBackend.C (expand): also create menu entries for wide
16401 versions of the floats.
16403 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16405 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16407 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16408 frontends/Makefile.am
16414 * tabular.C (getTokenValue): add std::
16416 * tabular-old.C (getTokenValue): add std::
16417 (getTokenValue): ditto
16418 (getTokenValue): ditto
16420 * screen.C (ToggleSelection): adjust
16422 * lyxtext.h: put selection cursors inside a Selection struct.
16424 * lyxfunc.C (moveCursorUpdate): adjust
16426 * lyxfont.C (latexWriteStartChanges): add std::
16428 * lyxfind.C: adjust
16430 * font.h: delete with(char const *, LyXFont const &)
16432 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16434 * FontInfo.C (getFontname): add std::
16436 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16437 (workAreaButtonPress): adjust
16438 (tripleClick): adjust
16440 (moveCursorUpdate): adjust
16443 * BufferView2.C (gotoInset): adjust
16445 2001-05-30 Juergen Vigna <jug@sad.it>
16447 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16448 to check pspell I add this as default as I now have new pspell
16449 libraries and they seem to use this.
16451 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16453 * text2.C (CutSelection): make the cursor valid before the call to
16456 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16458 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16459 relied on 0 terminated strings and other horrors. Bug found due to
16460 the new assert in lyxstring!
16462 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16465 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16467 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16470 * lyxfunc.C (processKeySym): change method of getting to the
16473 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16474 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16475 * BufferView_pimpl.[Ch]: here as private methods.
16477 2001-05-28 Juergen Vigna <jug@sad.it>
16479 * text.C (SetHeightOfRow): added the update() call again as it is
16480 needed to initialize inset dimensions!
16482 2001-05-16 Juergen Vigna <jug@sad.it>
16484 * text2.C (SetCharFont): Add new function with BufferView * and
16485 bool toggleall parameters for setting insets internal fonts.
16486 (SetFont): Freeze the undo as we may change fonts in Insets and
16487 all this change should be inside only one Undo!
16489 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16490 setting font's in insets as for them we have the SetFont function!
16492 2001-05-15 Juergen Vigna <jug@sad.it>
16494 * text2.C (ClearSelection): to be sure we REALLY don't have any
16497 * tabular.C (TeXCellPreamble): fixed the left border problem for
16500 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16502 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16505 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16507 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16508 LFUN_BREAKPARAGRAPH.
16510 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16511 help test to "internal only", similar for LFUN_INSERT_URL
16513 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16514 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16515 auto_region_delete and deadkeys.
16517 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16520 * LColor.C: remove some dead entries, tidy a little
16522 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16524 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16526 (Dispatch): implement LFUN_ESCAPE
16528 * commandtags.h: add LFUN_ESCAPE
16530 * LyXAction.C (init): add entry for LFUN_ESCAPE
16532 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16533 Remove commented code.
16534 (insertNote): moved here
16535 (open_new_inset): moved here
16537 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16540 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16542 * kbmap.C (findbinding): clean it up and make it work correctly.
16544 * lyx_main.C (init): do not pass argc and argv as parameters
16546 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16548 * buffer.C: fix path for OS/2 & Win32
16552 * lyx_main.C: Added os:: class.
16554 * os2_defines.h: update
16556 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16558 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16559 better by trying again with reduced state.
16561 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16563 * lyxrc.C (read): print error about invalid key sequence only when
16564 debugging (because not all latinX keysyms are known to some X
16567 * kbsequence.C (getiso): add a few std:: qualifiers
16568 (getiso): comment out extra return statement.
16570 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16572 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16574 (Dispatch): enhance the accent inset a bit. (not perfect)
16576 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16578 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16580 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16582 * bufferlist.C (emergencyWrite): fix assert() call
16584 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16586 * text.C (InsertChar): Added trivial patch to only send the "you
16587 can not do multiple spaces this way" message once during a
16590 2001-05-08 Baruch Even <baruch@lyx.org>
16592 * Makefile.am: Changed order of libraries to get LyX to link properly
16593 with the gnome frontend.
16595 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16597 * LaTeXFeatures.h: add a std:: qualifier
16599 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16601 * paragraph.C (String): use stringstream
16603 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16605 * paragraph.C (writeFile): remove footflag arg
16607 * buffer.C (makeLaTeXFile): use stringstream
16608 (latexParagraphs): remove footnot gurba
16610 * LaTeXFeatures.C (getPackages): use stringstream
16611 (getMacros): likewise
16612 (getTClassPreamble): likewise
16613 (getFloatDefinitions): new method
16615 * paragraph.C (writeFile): reindent
16618 * WorkArea.h: revert the xpos + etc changes.
16620 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16622 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16624 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16625 (pasteSelection): likewise
16626 * text2.C (CreateUndo): likewise
16628 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16630 * minibuffer.C (peek_event): temporarily reduce the functionality
16631 of the minibuffer (to allow args on lfuns)
16633 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16634 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16636 * buffer.C (readInset): add compability reading of old float
16637 lists, add reading of new style float list.
16638 (readInset): avoid reevaluation of inscmd.getCmdName()
16639 (getLists): reindent
16641 * MenuBackend.C (MenuItem): implement parsing of
16642 md_floatlistinsert and md_floatinsert.
16643 (expand::LastFiles): move initalizaton of iterators out of loop,
16644 avoid reevaluation.
16645 (expand::Documents): introduce typdedef vector<string> Strings,
16647 (expand::ExportFormats): introduce typedef vector<Format const *>
16648 Formats, and use it.
16649 (expand): implement FloatListInsert and FloatInsert.
16651 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16652 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16653 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16655 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16657 (Dispatch::LFUN_FLOAT_LIST): implement
16659 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16661 * LaTeX.C (run): Fix problem with --export code.
16663 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16665 * BufferView.[Ch] (workarea): removed.
16666 (getClipboard) new method; wrapper for workarea()->getClipboard()
16668 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16671 * WorkArea.h (width, height, xpos, ypos): These methods all
16672 returned the dimensions of the work_area sub-area of WorkArea,
16673 resulting in a position error if the WorkArea were resized. Now
16674 return the dimensions of the entire WorkArea.
16676 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16678 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16680 * LaTeX.C (deplog): correct the syntax of regex reg1
16682 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16684 * undo.C: remove !NEW_INSETS cruft
16686 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16688 * text2.C: remove !NEW_INSETS cruft
16690 * text.C: remove !NEW_INSETS cruft
16692 * tabular.C: remove !NEW_INSETS cruft
16694 * spellchecker.C: remove !NEW_INSETS cruft
16696 * lyxtext.h: remove !NEW_INSETS cruft
16698 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16700 * lyxfunc.C: remove !NEW_INSETS cruft
16702 * lyxfind.C: remove !NEW_INSETS cruft
16704 * lyx_cb.C: remove !NEW_INSETS cruft
16706 * figureForm.C: remove !NEW_INSETS cruft
16708 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16710 * buffer.[Ch]: remove !NEW_INSETS cruft
16712 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16714 * CutAndPaste.C: remove !NEW_INSETS cruft
16716 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16718 * BufferView2.C: remove !NEW_INSETS cruft
16720 * BufferView.h: remove !NEW_INSETS cruft
16722 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16724 * Lsstream.h: include LString.h before the sstream headers to
16725 fix problem with gcc 2.95.3 and lyxstring
16727 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16729 * lyx_main.C: add using directives when needed for C functions
16730 declared in std:: namespace.
16732 2001-04-27 Juergen Vigna <jug@sad.it>
16734 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16735 (SetHeightOfRow): comment out the update call should not be needed!
16737 2001-04-13 Juergen Vigna <jug@sad.it>
16739 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16740 (LyXTabular): tried to minimize operator= operations (and realized
16741 hopfully Lars wish).
16743 2001-04-27 Juergen Vigna <jug@sad.it>
16745 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16747 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16749 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16751 * buffer.C (readInset): hack to make listof algorithm work
16753 * BufferView_pimpl.C: hack to make listof algorithm work
16755 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16757 * LyXAction.C: removed all !NEW_INSETS cruft
16758 (init): moved lfun_item in method
16760 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16762 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16764 * BufferView2.C (theLockingInset): white space.
16766 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16768 * minibuffer.C: include <iostream>
16770 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16772 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16774 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16776 * text.[Ch] (TransposeChars): new method
16778 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16780 * call message directly through LyXView instead of through LyXFunc
16781 * BufferView2.C: adjust
16782 * BufferView_pimpl.C: adjust
16783 * FontLoader.C: adjust
16785 * bufferview_funcs.C: adjust
16786 * converter.C: adjust
16787 * figureForm.C: adjust
16788 * importer.C: adjust
16790 * lyx_gui_misc.C: adjust
16791 * lyxfunc.C: adjust
16794 + more files in subdirs
16796 * lyxparagraph.h (size): move up int file
16799 * adjust all uses of Assert to lyx::Assert.
16801 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16802 lyxfunctional in namespace lyx
16803 * layout.C (hasLayout): ditto
16806 (delete_layout): ditto
16807 (NumberOfClass): ditto
16808 * converter.C (GetFormat): ditto
16813 * bufferlist.C (getFileNames): ditto
16814 (emergencyWriteAll): ditto
16817 * MenuBackend.C (hasSubmenu): ditto
16820 * BufferView_pimpl.C (getInsetByCode): ditto
16822 2001-04-18 Juergen Vigna <jug@sad.it>
16824 * vspace.C (asLatexString): fixed the 100% problem.
16826 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16828 * lyxfunc.C (Dispatch):
16830 * minibuffer.h: add a few std:: qualifiers
16832 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16834 * minibuffer.[Ch]: reimplement so that commands is initiated and
16835 run from lyxfunc, simplified som handling, and made the completion
16836 and history code for complete. wip.
16838 * lyxfunc.C (processKeySym): call message
16839 (miniDispatch): new temporary method
16840 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16841 (LFUN_MESSAGE): implement
16842 (LFUN_MESSAGE_PUSH): implement
16843 (LFUN_MESSAGE_POP): implement
16844 (initMiniBuffer): the initial/defualt minibuffer message.
16846 * lyxfont.[Ch]: inline some more getters
16848 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16850 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16852 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16853 (AutoSave): use LFUN_MESSAGE
16854 (Reconfigure): ditto
16856 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16858 * figureForm.C: use LFUN_MESSAGE
16860 * converter.C (runLaTeX): use LFUN_MESSAGE
16862 * bufferview_funcs.C: use LFUN_MESSAGE
16864 (changeDepth): ditto
16866 * bufferparams.h: use boost::
16868 * bufferlist.h: inherit privately from noncopyable
16870 * bufferlist.C (loadLyXFile): remove some commented code.
16872 * buffer.C (runChktex): use LFUN_MESSAGE
16874 * ShareContainer.h: inherit privately from noncopyable
16876 * ParagraphParameters.[hC] (depth): inline it.
16878 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16880 (message): new method
16881 (messagePush): ditto
16882 (messagePop): ditto
16883 (show): init minibuffer
16884 (showState): direct call
16886 * LaTeX.[Ch]: inherit privately from noncopyable
16887 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16888 instead of WriteStatus.
16890 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16892 * BufferView_pimpl.C (buffer): don't init minibuffer
16893 (workAreaButtonPress): use LFUN_MESSAGE
16894 (workAreaButtonRelease): ditto
16895 (savePosition): ditto
16896 (restorePosition): ditto
16897 (MenuInsertLyXFile): ditto
16898 (workAreaExpose): don't init minibuffer
16899 (update): remove commented code, simplify
16901 * BufferView2.C (openStuff): use LFUN_MESSAGE
16902 (toggleFloat): ditto
16905 (copyEnvironment): ditto
16906 (pasteEnvironment): ditto
16911 (updateInset): remove some commented code
16913 * lastfiles.h: inherit privately from noncopyable
16916 * lyx_main.h: ditto
16918 * lyxlex_pimpl.h: ditto
16920 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16921 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16922 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16924 * LyXAction.h: inherit privately from noncopyable, add methods
16925 func_begin, func_end, returning iterators to the func map.
16927 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16928 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16929 (func_begin): new method
16930 (func_end): new method
16932 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16934 (copySelection): ditto
16935 (pasteSelection): ditto
16937 * BufferView.C: whitespace change
16938 * BufferView.h: inherit privately from noncopyable
16940 2001-04-16 Allan Rae <rae@lyx.org>
16942 * tabular-old.C (l_getline):
16943 * spellchecker.C (sc_check_word):
16944 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16945 an unrecognised preprocessor directive. So ensure they're wrapped.
16947 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16949 * src/exporter.C (Export): Give an error message when path to file
16952 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16954 * LaTeX.C (deplog): Always check that foundfile exists.
16956 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16959 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16961 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16963 * tabular.[Ch] (getLabelList): implement new method
16965 * minibuffer.h: comment ouf setTiimer
16967 * minibuffer.C (ExecutingCB): constify res
16968 (peek_event): constify s
16969 (Set): constify ntext
16970 (Init): constify nicename
16972 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16974 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16975 (savePosition): use two params to Minibuffer::Set
16976 (restorePosition): ditto
16978 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16980 * lyx_main.C: include language.h
16982 * Makefile.am (lyx_main.o): add language.h
16984 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16990 * CutAndPaste.C: include gettext.h
16992 * lyxfont.h: remove old hack with ON and OFF.
16995 * lyxfont.h: do not include language.h...
17000 * bufferview_funcs.C:
17006 * paragraph.C: ... but do it here instead
17008 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17010 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17012 * tabular.C: small reformat
17014 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17017 (BreakParagraph): ditto
17018 (SetOnlyLayout): ditto
17021 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17024 * lastfiles.C: removed most using decl, add std:: where needed
17026 * buffer.C: ws changes
17028 * MenuBackend.C (class compare_format): put into anon namespace
17029 (expand): constify label, names, action, action2
17032 * text.C (SingleWidth): constify font
17033 (IsBoundary): constify rtl2
17034 (GetVisibleRow): constify ww
17036 * LaTeX.C (deplog): constify logfile
17038 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17040 (workAreaExpose): constify widthChange, heightChange
17042 * lyxrow.C (par): moved
17045 * lyxrow.h: as inlines here
17047 * lyxfont.h (shape): moved from lyxfont.C
17048 (emph): moved from lyxfont.C
17050 * lyxfont.C (LyXFont): use initialization list for all
17052 (shape): move to lyxfont.h as inline
17053 (emph): move to lyxfont.h as inline
17056 2001-04-04 Juergen Vigna <jug@sad.it>
17058 * vspace.C: had to include stdio.h for use of sscanf
17060 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17063 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17064 independent of xforms.
17066 2001-04-02 Juergen Vigna <jug@sad.it>
17068 * spellchecker.C: fixed namespace placing!
17070 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17072 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17073 the LyXParagraph * is 0.
17075 2001-03-29 Juergen Vigna <jug@sad.it>
17077 * vspace.C: added support for %, c%, p%, l%.
17078 (stringFromUnit): added helper function.
17079 (asLatexString): changed to give right results for the %-values.
17081 * buffer.C: convert the widthp in a width%.
17083 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17085 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17088 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17089 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17091 * lyx_cb.[Ch]: see above.
17093 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17097 * lyx.[Ch]: replaced by figure_form.[Ch].
17101 * lyxfunc.C: changed headers associated with above changes.
17103 2001-03-27 Juergen Vigna <jug@sad.it>
17105 * BufferView_pimpl.C: set the temporary cursor right!
17107 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17109 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17111 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17113 * LString.h: removed "using std::getline"!
17115 * BufferView_pimpl.C (Dispatch): changes due to changes in
17116 InsetInclude::Params.
17118 * buffer.C (tag_name): removed redundant break statements as they were
17119 producing lots of warnings with my compiler.
17121 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17123 * LString.h: add "using std::getline" when using the real <string>.
17125 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
17127 * buffer.C: removed bitset usage.
17128 PAR_TAG moved to an anonymous name space.
17129 (tag_name): new funtion, also in the anonymous namespace.
17130 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17131 (makeDocBookFile): clean code. Completed transition from string arrays
17133 (SimpleDocBookOnePar): code clean.
17135 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17137 * tabular.C: add some comments.
17139 2001-03-22 Juergen Vigna <jug@sad.it>
17141 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17142 compatibility read a bit and fixed bug with minipage in different
17145 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
17147 * buffer.C (pop_tag): removed.
17148 (push_tag): removed.
17149 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17150 array replaced with vector. Added support for CDATA sections.
17151 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17153 (makeDocBookFile): XML conformant declaration of CDATA section,
17154 fixed bug related to <emphasis> in the first paragraph char.
17155 (sgmlOpenTag): exclude empty tags.
17156 (sgmlCloseTag): ditto.
17158 * buffer.h (pop_tag): removed.
17159 (push_tag): removed.
17161 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17163 * language.h (Languages): added size_type and size().
17165 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17167 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17168 response on compability reading of minipages. One probliem is that
17169 the old usage of minipages was «flertydig»
17171 * several files here and in subdirs: don't use static at file
17172 scope use anon namespaces instead.
17174 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17176 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17177 LaTeX output. This is necessary for Literate document
17180 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17182 * buffer.C: insert hfill when needed.
17184 * tabular.C (l_getline): use string::erase, small whitespace change.
17186 * BufferView_pimpl.C: try the anon namespace.
17187 * WorkArea.C: ditto
17189 2001-03-16 Juergen Vigna <jug@sad.it>
17191 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17192 otherwise it won't open options-dialogs.
17194 * buffer.C: honor pextraWidth(p) on converting minipages.
17196 * tabular.C (l_getline): changed the functions to strip trailing \r.
17198 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17200 * BufferView_pimpl.C:
17201 * minibuffer..C: added "using SigC::slot" declaration.
17203 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17205 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17211 * paragraph.C: ditto
17213 * lyxtext.h: NO_PEXTRA
17215 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17217 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17218 * ParameterStruct.h: ditto
17219 * ParagraphParameters.h: ditto
17220 * lyxparagraph.h: ditto
17222 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17224 * buffer.C: add compability for minipage alignment.
17225 (latexParagraphs): remove unwanted pextra check.
17227 * several files: remove CXX_WORKING_NAMESPACES
17229 * buffer.C (pop_tag): tie is in namespace boost
17231 * BufferView.h: noncopyable is in namespace boost
17233 * lyx_main.h: ditto
17236 * lastfiles.h: ditto
17237 * bufferlist.h: ditto
17238 * ShareContainer.h: ditto
17240 * LyXAction.h: ditto
17243 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17245 * Merging changes from BRANCH_MVC back into HEAD.
17247 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17249 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17251 * BufferView_pimpl.C: change from intl.C
17255 * Makefile.am: move combox.*
17261 * intl.C: remove dialog (covered by prefs)
17263 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17265 * lyxfunc.C (Dispatch): removed redundant break statement.
17267 2001-03-14 Juergen Vigna <jug@sad.it>
17269 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17271 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17273 * buffer.C: add hack to fix compability reading of minipages.
17275 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17277 * buffer.C (getLists): Cleanup.
17279 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17281 * lyxfont.C (update): don't honor toggleall on font size.
17283 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17287 * Makefile.am: moved to frontends/xforms/
17291 * BufferView_pimpl.C: changes for moved mathpanel
17293 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17295 * gettext.h: fix gettext_init() in --disable-nls
17297 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17299 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17301 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17304 * lyx.h: strip external form
17306 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17308 * BufferView_pimpl.C: add comment, destroySplash()
17310 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17312 * BufferView_pimpl.C:
17316 * lyxfunc.C: use re-worked insetinclude
17318 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17320 * buffer.C: add using std::stringstream.
17322 * lyx_cb.C: readd using std::ios.
17324 * buffer.C: add using std::map.
17326 * BufferView_pimpl.C: add using std::vector.
17328 * ShareContainer.h: add std:: to swap.
17330 * buffer.h: add some typedefs
17331 * buffer.C (getLists): use them
17332 (getLists): renamed from getTocList.
17333 add a counter for the different float types and use it in the
17335 (getLists): use the same counter for the NEW_INSETS and the "non"
17338 * lyx_cb.h: remove unused items, includes, using etc.
17340 * ShareContainer.h: remove some commented code, add more comments
17341 and "documentation".
17343 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17345 * buffer.C (getTocList): make the list also when NEW_INSETS is
17348 * buffer.h: remove TocType
17350 * buffer.C (getTocList): change to return a map<string,
17351 vector<TocItem> >, implement for dynamic number of list.
17353 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17354 * text2.C (PasteSelection): adjust
17355 * CutAndPaste.C (pasteSelection): adjust
17357 * FloatList.C (FloatList): update from the new_insets branch.
17358 * Floating.[Ch]: ditto
17359 * LaTeXFeatures.C: ditto
17361 * lyxlex_pimpl.C: ditto
17363 * paragraph.C (Last): remove when NEW_INSETS is defined.
17365 * other file: changes because of the above.
17367 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17369 * lyxparagraph.h: rename next to next_, previous to previous_,
17370 make them private for NEW_INSETS. Rename Next() to next(),
17371 Previous() to previous().
17373 * other files: changes because of the above.
17375 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17378 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17381 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17383 * main.C (main): pass lyx_localedir to gettext_init().
17385 * gettext.h: remove locale_init and gettext_init macros
17387 * gettext.C (locale_init): new function
17388 (gettext_init): new function
17390 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17393 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17395 * Moved credits to frontends:
17396 * credits.[Ch]: removed
17397 * credits_form.[Ch]: removed
17398 * lyx_gui_misc.C: remove credits stuff
17401 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17403 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17405 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17406 unneeded destructor.
17408 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17409 a standalone pointer again.
17411 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17413 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17419 * ToolbarDefaults.C:
17428 * BufferView_pimpl.C: use new file dialog in GUII
17431 * lyx_cb.C: remove LayoutsCB to Toolbar
17433 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17435 * ShareContainer.h (get): add std:: qualifier
17437 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17439 * ShareContainer.h: define a proper ShareContainer::value_type
17440 type (and use typename to please compaq cxx)
17442 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17444 * lyxparagraph.h: move serveral local vars to
17445 ParameterStruct/ParagraphParameters., use ShareContainer in
17446 FontTable., make vars in FontTable private and add getter and
17449 * paragraph.C: changes because of the above.
17451 * lyxfont.h: remove copy constructor and copy assignment. (the
17452 default ones is ok), move number inside FontBits. move inlines to
17455 * lyxfont.C: add number to initializaton of statics, move several
17456 inlines here. constify several local vars. some whitespace
17457 cleanup. Dont hide outerscope variables.
17459 * Spacing.h: add two new constructors to match the set methods.
17461 * ShareContainer.h: new file, will perhaps be moved to support
17463 * ParameterStruct.h: new file
17465 * ParagraphParameters.h: new file
17467 * ParagraphParameters.C: new file
17469 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17470 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17472 * BufferView_pimpl.C: ParagraphParameter changes.
17473 * buffer.C: Likewise.
17474 * bufferview_funcs.C: Likewise.
17475 * text.C: Likewise.
17476 * text2.C: Likewise.
17478 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17480 * lyxfind.C (LyXReplace): do not redefine default argument in
17482 (IsStringInText): ditto
17483 (SearchForward): ditto
17484 (SearchBackward): ditto
17486 2001-03-06 Juergen Vigna <jug@sad.it>
17488 * lyxfind.C (IsStringInText): put parentes around expressions.
17490 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17492 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17494 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17496 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17498 * stl_string_fwd.h: add comment
17500 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17503 * tabular.C: remove unused DocBook methods
17509 killed DO_USE_DEFAULT_LANGUAGE
17511 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17513 * lyx_gui.C: do not include language.h.
17515 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17516 arguments in function implementation.
17518 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17520 * BufferView_pimpl.C: add <ctime>
17522 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17524 * BufferView_pimpl.C: add using std::find_if
17526 2001-02-27 José Matos <jamatos@fep.up.pt>
17528 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17531 2001-02-11 José Matos <jamatos@fep.up.pt>
17533 * buffer.C (makeDocBookFile): command styles now have a parameter as
17534 "title" by default.
17536 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17538 * layout_forms.[Ch]: removed
17539 * lyx_cb.[Ch]: out character
17540 * lyx_gui.C: out character
17541 * lyx_gui_misc.C: out character
17542 * bufferview_funcs.C: : out character,
17543 added toggleall as parameter in ToggleAndShow
17545 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17547 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17549 * text2.C (SetCurrentFont): Disable number property at boundary.
17551 2001-02-26 Juergen Vigna <jug@sad.it>
17553 * lyxfunc.C (getStatus): added a string argument override function so
17554 that this is correctly called from LyXFunc::Dispatch if it contains a
17555 do_not_use_argument which is used!
17556 (Dispatch): added check for "custom" export and call appropriate func.
17558 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17560 * lyxrc.C: Add language_command_local, language_use_babel and
17561 language_global_options.
17563 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17565 * buffer.C (makeLaTeXFile): Use language_use_babel and
17566 language_global_options.
17568 2001-02-23 Juergen Vigna <jug@sad.it>
17570 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17571 which works with LyXText and putted it inside BufferView. Here now we
17572 only call for that part the BufferView::Dispatch() function.
17574 * BufferView.C (Dispatch): added.
17576 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17577 functions which needs to use a LyXText over from LyXFunc.
17578 (MenuInsertLyXFile): added
17579 (getInsetByCode): added
17580 (moveCursorUpdate): added
17581 (static TEXT): added
17583 2001-02-22 Juergen Vigna <jug@sad.it>
17585 * BufferView_pimpl.C (update): call a status update to see if LyXText
17588 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17590 * vc-backend.C (revert): implement for CVS
17591 (getLog): implement for CVS
17593 2001-02-20 Juergen Vigna <jug@sad.it>
17595 * text2.C (ClearSelection): added BufferView param for inset_owner call
17597 * lyxfunc.C (TEXT): added this function and use it instead of
17598 directly owner->view()-text of getLyXText().
17600 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17602 * src/layout_forms.C: out preamble
17603 * src/layout_forms.h: out preamble
17604 * src/lyx_cb.C: out preamble
17605 * src/lyx_cb.h: out preamble
17606 * src/lyx_gui.C: out preamble
17607 * src/lyx_gui_misc.C: out preamble
17608 * src/lyxfunc.C: connect with guii preamble
17610 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17612 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17614 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17616 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17617 whether to run bibtex.
17619 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17621 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17623 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17625 * Makefile.am (lyx_SOURCES): removed bibforms.h
17627 * vspace.h: doxygen
17629 * text.C (GetVisibleRow): make several local vars const
17631 * tabular.C: small cleanup.
17633 * lyxserver.C (callback): use compare instead of strncmp
17635 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17636 inlines to after class or to paragraph.C
17638 * lyxfont.h: remove friend operator!=
17640 * converter.h: move friend bool operator< to non friend and after
17643 * combox.h: small cleanup
17645 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17646 to inlines after class def.
17648 * buffer.C (pop_tag): use string operations instead of strcmp
17650 * bmtable.c: doxygen, small cleanup
17652 * LaTeX.h: remove friend operator==
17654 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17666 * BufferView_pimpl.C:
17667 * BufferView.[Ch]: remove cruft
17669 2001-02-14 Juergen Vigna <jug@sad.it>
17671 * lyxfunc.C: removed #if 0 unused code
17673 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17675 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17677 * text2.C (SetSelection): added a BufferView * parameter
17679 2001-02-13 Juergen Vigna <jug@sad.it>
17681 * lyxfunc.C (Dispatch): fixed protected blank problem.
17682 * BufferView2.C (protectedBlank): added LyxText * parameter.
17684 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17685 (AppendColumn): same as above for column_info.
17687 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17688 (moveCursorUpdate): use a LyXText param for support of InsetText.
17690 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17691 (tripleClick): ditto
17693 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17695 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17697 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17699 * text2.C (SetSelection): set correct update status if inset_owner
17700 (ToggleFree): ditto
17702 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17704 * tabular.C: remove some commented code.
17706 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17708 * BufferView_pimpl.C: call hideSplash()
17710 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17713 * bibforms.h: remove
17716 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17717 add LFUN_CHILD_CREATE
17719 * counters.h: fix tiny typo
17724 * lyx.C: move splash to frontends/xforms/
17726 * lyx_gui_misc.C: move Include and Bibform to frontends
17728 * lyxvc.h: clarify comment
17730 * vspace.C: tiny housekeeping
17732 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17734 * text.C (PrepareToPrint): RTL Fix.
17736 * paragraph.C (GetUChar): New method.
17737 (String): Use GetUChar.
17739 * buffer.C (asciiParagraph): Use GetUChar.
17741 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17743 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17745 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17748 * buffer.C: rename to getLogName(), handle
17749 build log / latex log nicely
17751 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17754 * MenuBackend.h: remove support for reference menuitem type.
17756 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17758 * BufferView_pimpl.C: housekeeping
17759 * BufferView_pimpl.h:
17764 * minibuffer.h: move Timeout GUI-I
17766 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17768 * lyxrc.C (read): Update converters data-structures.
17770 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17772 * LaTeX.h (operator!=): add operator != for Aux_Info
17774 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17776 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17778 * LaTeXLog.C: deleted, useful code moved to Buffer
17781 * buffer.C: new function getLatexLogName()
17787 * lyxfunc.C: use frontends for LaTeX and VC logs
17789 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17791 * LaTeX.h: yet another std:: that Allan forgot.
17793 * Variables.C (set): renamed from isset(), because this clashes
17794 with some HP-UX macros (grr).
17796 2001-02-06 Allan Rae <rae@lyx.org>
17798 * LaTeX.h: Another bug fix. Missing std:: this time.
17800 2001-02-04 Allan Rae <rae@lyx.org>
17802 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17803 floats problem. I've left it commented out because it's not quite
17804 correct. It should also test that the current object is a table or
17805 figure inset. But I haven't gotten around to figuring out how to do
17806 that. I *think* it'll be something like: "table" == inset.type()
17808 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17811 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17813 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17814 all the citation/databases/styles in the auxilary file.
17815 (run): Rerun latex if there was a babel language error.
17817 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17819 * text.C (Backspace): Preserve the font when changing newline char
17821 (BreakParagraph): If the cursor is before a space, delete the space.
17823 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17825 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17827 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17828 new argument (code).
17829 (ChangeCitationsIfUnique): New method.
17831 * paragraph.C (GetPositionOfInset): Handle bibkey.
17833 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17835 * BufferView_pimpl.h: change type of Position::par_pos to
17836 LyXParagraph::size_type.
17838 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17840 * BufferView_pimpl.C (savePosition, restorePosition): Write
17841 messages to minibuffer.
17843 2001-01-28 José Matos <jamatos@fep.up.pt>
17845 * buffer.C (makeDocBookFile): adds support for document language.
17846 A silly restriction on the name of LatexCommand types where removed.
17847 Added support for CDATA sections, allows to chars unescaped, used
17848 among others in code, to avoid escape < and >.
17850 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17852 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17853 saved positions instrad of a stack. Furthermore, a position is
17854 stored using paragraph id/paragraph position.
17856 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17857 Remove LFUN_REF_BACK.
17859 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17861 * converter.C (dvipdfm_options): New method.
17863 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17865 * vspace.C (isValidLength): Fix for empty input string.
17867 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17869 * LyXAction.C (init): change description of LFUN_FIGURE to
17872 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17874 * LaTeX.C: add using directive
17876 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17878 * MenuBackend.C (expand): Fix the sorting of the formats.
17880 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17882 * lyx_main.C: tiny error message fix
17884 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17886 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17887 calling fl_initialize(). This fixes the problem with ',' as
17888 decimal separator in text files.
17890 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17892 * trans.C (process): Fix the keymap bug.
17894 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17896 * LaTeX.C (scanAuxFiles): New method. Provides support for
17897 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17898 (scanLogFile) Scan for "run BibTeX" messages.
17900 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17901 OT1 font encoding. Also, load the aecompl package if the ae
17904 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17906 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17908 * texrow.C (increasePos): turn two error messages into debug
17911 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17913 * LaTeX.C (scanAux): Handle the \@input macro.
17914 (runBibTeX): Use scanAux().
17916 * language.C (latex_options_): New field.
17918 * LaTeXFeatures.C (getMacros): Add language macros.
17920 * buffer.C (makeLaTeXFile): Small fix.
17922 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17924 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17926 * text2.C: add a using directive.
17928 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17933 * lyxfunc.C: kill LyXBell.
17935 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17937 * text.C (IsBoundary): Remove the error message
17939 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17941 * lyxrc.C (setDefaults): Correct initialization value for
17944 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17946 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17949 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17950 and GotoNextNote().
17952 * src/LyXAction.C: Added reference-next.
17954 * text.C (InsertChar): Use contains instead of strchr.
17956 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17958 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17960 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17961 alignment commands (when needed).
17963 * text.C (InsertChar): Add ':' to number separator chars.