1 2005-07-16 Juergen Vigna <jug@lyx.org>
3 * text2.C (getColumnNearX): handle special case Newline Inset
5 * text.C (singleWidth): Just remove bogus check
7 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
9 * funcrequest.C (split): avoid reading uninitialized char c
11 2005-07-16 José Matos <jamatos@fc.up.pt>
17 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
18 single papersize variable.
20 2005-07-16 Juergen Vigna <jug@lyx.org>
22 * text3.C (dispatch): honor boundary when checking if a cursor
23 movement has been done
25 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
26 (setCursor, setCursorIntern): fix cursor movement with boundary
28 2005-07-16 Juergen Vigna <jug@lyx.org>
30 * text.C (currentState): output the actual Boundary
32 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
34 * factory.C (createInset): fix bad logic for tabular creation
36 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
38 * lyx_main.C (init): change some reLyX reference to tex2lyx
40 2005-07-16 Juergen Vigna <jug@lyx.org>
42 * dociterator.C (DocIterator): initialize boundary
44 2005-07-16 Juergen Vigna <jug@lyx.org>
46 * text2.C (getColumnNearX): Consider rows without trailing blank.
48 2005-07-16 André Pönitz <poenitz@gmx.net>
50 * lyxfont.h: Change order of declarations to give the compiler
51 a better chance to inline things
53 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
54 questions on unsaved docs for better scritability
56 2005-07-16 André Pönitz <poenitz@gmx.net>
58 * paragraph.h (getChar): remove asserts as the same kind of security
59 can be achieved by using a suitable standard library implementation
60 and the function was in the critical path (25.9% in profiler)
62 2005-07-16 Juergen Vigna <jug@lyx.org>
64 * cursor.C (bruteFind2):
65 * bufferview_funcs.C (coordOffset):
66 * text.C (cursorX,cursorY): Handle cursor position after last char
67 in row before a inset which uses a whole row.
69 2005-07-15 José Matos <jamatos@lyx.org>
71 * output_plaintext.[Ch] (writeFileAscii): control reference title
73 (asciiParagraph): noparbreak was already deal and was incorrectly
76 2005-07-15 Juergen Vigna <jug@lyx.org>
78 * lyxfunc.C (dispatch): save and restore the cursor after a
81 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
83 * text.C (backspace): bug 806 for empty keepempty paragraphs we
84 change the layout to default before letting DEPM do its thing.
86 * paragraph_funcs.C (breakParagraph): dont reset the layout on
89 * text.C (setCursorFromCoordinates): add a debug statement
91 * text2.C (getColumnNearX): bug 1825 make sure that we don't
92 return a pos that is not on the row
94 * output_latex.C (TeXDeeper): get rid of potential dereferencing
95 of past the end iterator
97 2005-07-14 André Pönitz <poenitz@gmx.net>
99 * undo.C (recordUndoFullBuffer): implement undo for
102 2005-07-14 André Pönitz <poenitz@gmx.net>
104 * cursor.C (setSelection): open insets when selection is set there
105 to avoid crashs with cold coord cache
107 2005-07-14 André Pönitz <poenitz@gmx.net>
109 * trans_mgr.C (insert): move cursor to the right after inserting
112 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
114 * BufferView_pimpl.C (update): dampen some of the debug blabbering
115 * factory.C (readInset): ditto
116 * text.C, text2.C: ditto
118 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
120 * buffer.C: format incremented to 242. There is no file format per
121 se, but the "frenchb" language has been removed from lib/language
122 and has to be translated to "french" by lyx2lyx.
124 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
126 * cursor_slice.h, dociterator.h: add some documentation
127 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
129 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
131 * text.C (leftMargin): do not add identation to display() style
132 insets, because they are always centered (bug 1293).
134 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
136 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
137 formatted_time methods in support/lyxtime.
139 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
141 * toc.[Ch]: new method getGuiName, which is used by the frontends
142 to set the toc combo (fixes bug 1870). Make TOC string translatable.
144 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
146 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
147 StableDocIterator const &)
148 * undo.C (recordUndo): use the above instead of cell.size() comparison
149 (fixes bug 1808; instructed by André).
151 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
154 * dociterator.h: Fix the assert when copying rows/cols in math
156 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
158 * BufferView_pimpl.C:
160 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
162 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
163 (findInset): new functions, refactored from goto Inset that return
164 the position of a certain inset without setting the buffer's cursor
166 (gotoInset): rewrite to call findInset and then set the cursor
169 2005-06-16 Angus Leeming <leeming@lyx.org>
171 * lyxrc.C (output, read): wrap all input and output of paths with
172 calls to os::internal_path and os::external_path, respectively.
173 (output): wrap bind_file inside quotes.
175 * format.C (view): enable the viewer to use the '$$s' placeholder.
177 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
179 * LColor.[Ch] (getFromLaTeXName): new
181 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
183 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
185 2005-06-14 Angus Leeming <leeming@lyx.org>
187 * lyx_main.C (init): ensure that the LyX binary dir is the first
188 element in the PATH on non-POSIX builds.
190 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
192 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
194 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
196 * rowpainter.C (paintInset, paintHebrewComposeChar)
197 (paintArabicComposeChar, paintChars): add a LyXFont argument.
198 (paintChars): use getFontSpan to reduce calls to getFont to a
199 minimum; use Paragraph::lookupChange instead of isXXXText.
200 (paintForeignMark): rename LyXFont argument.
201 (paintFromPos): pass a LyXFont object to the various paintXXX
204 * FontIterator.C (FontIterator, operator++): use
205 Paragraph::getFontSpan
207 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
208 version that returns the font span as a pair.
210 2005-06-09 Angus Leeming <leeming@lyx.org>
212 * converter.C (convert): Don't forget "outfile = real_outfile" as
213 the final step in a conversion where the input and output file names
214 are the same. Otherwise, future conversion steps won't work...
216 2005-06-09 Angus Leeming <leeming@lyx.org>
218 * lyxsocket.C: remove stub code as it isn't needed by
219 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
221 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
223 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
224 effectively disabled -x
226 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
228 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
229 when it actually makes sense.
231 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
233 * BufferView_pimpl.C: revert to showCursor in connection with
234 Lars's front-end stack
236 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
238 * text.C (redoParagraph): move cursor right after a bibitem
241 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
243 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
245 * buffer_funcs.C (bufferErrors): fix computation of the end of an
248 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
250 * BufferView.[Ch] (update):
251 * BufferView_pimpl.[Ch] (update, metrics):
252 * dimension.h (operator==):
253 * lyxfunc.C (dispatch):
254 * metricsinfo.h (ViewMetricsInfo):
255 * rowpainter.C (paintText):
257 * text.C (redoParagraph):
258 * text3.C (dispatch): Make LyX only repaint current paragraph in
259 case of character insert --> speedup. Also fix cursor draw
262 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
264 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
265 avoid a crash (bug 1891)
267 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
271 * text2.C (getStringToIndex): constify cur argument.
273 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
274 argument has been given
275 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
276 try to invoke LFUN_INSET_APPLY).
278 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
279 if no inset was created by doInsertInset
280 (doInsertInset): return true if an inset has been inserted.
282 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
284 * vspace.C (asGUIName): new method. A version of the space
285 suitable for showing on screen.
287 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
290 * lyxrc.C: rename "ASCII" to "Plain Text"
292 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
294 * buffer_funcs.C (expandLabel): take a Buffer as argument;
295 translate the labelstring.
296 (setCounter): translate labelstring as needed.
298 * output_docbook.C (makeCommand): fix expandLabel invokation
300 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
302 * BufferView.C: fix dialog title
304 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
306 * lyx_main.C (priv_exec): fix logic error with help from Angus
307 * lyx_main.C (parse_execute): set is_gui = false and remove now
308 obsolete comment about a segfault
310 2005-05-18 Angus Leeming <leeming@lyx.org>
312 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
314 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
316 * tabular.[hC]: added setCellInset to fix tabular paste.
318 2005-05-11 Lars Gullik Bjonnes <larsbj@gullik.net>
320 * buffer.C (save): check if destination is writable before trying
323 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
325 * BufferView_pimpl.C (update): fix processEvents -caused update
328 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
330 * buffer_funcs.C (setCounter): fix test for numbering of
333 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
334 depth correctly; use optional argument when it exists
336 * lyxtextclass.C: remove unused MaxCounterTags enum
337 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
338 (max_toclevel, min_toclevel): new methods.
340 * MenuBackend.C (expandToc2): fix case where depth is smaller than
341 the smallest depth in toc.
343 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
344 layouts that should not appear in a table of contents.
346 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
348 * cursor.h (undispatched, noUpdate): add comments from André
350 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
354 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
356 2005-05-07 André Pönitz <poenitz@gmx.net>
358 * cursor.[Ch] (leaveInset): new function
360 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
362 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
364 2005-05-04 Angus Leeming <leeming@lyx.org>
366 * lyxfunc.C (getStatus): disable the spell checker dialog if
367 none of USE_[AIP]SPELL are defined.
369 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
371 * tabular.C (setWidthOfCell): remove obsolete comment
373 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
375 * paragraph.C (bibitem):
376 * buffer_funcs.C (setCounter):
377 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
379 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
381 * text3.C (getStatus): immediately return after setOnOff
383 * rowpainter.C: fix drawing of appendix start
385 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
387 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
388 SwitchBetweenClasses and remove the unused return value.
389 Handle character styles, too
391 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
393 * factory.C (createInset): handle undefined character styles
395 2005-05-02 Angus Leeming <leeming@lyx.org>
397 * buffer.C: protect the #include of utime.h with a preprocessor
400 2005-05-02 Angus Leeming <leeming@lyx.org>
402 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
403 function so that auto-saving works, albeit in a blocking manner.
405 * Makefile.am: make compilation of the client sub directory, of
406 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
407 on conditionals set at configure time.
409 * SpellBase.[Ch]: no longer an abstract base class. Instead,
410 it can be compiled in its own right but has no-op functionality.
412 * aspell.C, pspell.C: remove preprocessor guards. The files should
413 be compiled only if the necessary functionality exists.
415 * lyxserver.C, lyxsocket.C: disable on Windows.
417 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
419 * text.C (leftMargin): Fix the parindent use bug (1764)
422 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
424 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
427 2005-04-25 Angus Leeming <leeming@lyx.org>
435 include <config.h> in .C files, not .h ones.
437 protect headers inside preprocessor guards.
439 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
441 * FuncStatus.h (StatusCodes): document
443 2005-04-21 André Pönitz <poenitz@gmx.net>
445 * FuncStatus.h (enabled, onoff): document
447 2005-04-19 Angus Leeming <leeming@lyx.org>
449 * BufferView_pimpl.C (cursorToggle): no longer test whether
450 any child processes have been reaped before calling
451 handleCompletedProcesses().
453 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
455 * text3.C (dispatch): fix, finally fix, the language problem in
456 new lyxtexts, without disabling on-the-fly font changes (Helge's
459 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
461 * text3.C (dispatch): set cursor on double/triple click events
464 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
466 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
467 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
469 * rowpainter.C (paintFirst): simplify the code a little bit. In
470 particular, remove the test for secnumdepth.
471 * text.C (setHeightOfRow): only allocate space for chapter number
472 when updateCounters provided an actual label, instead of looking
473 at secnumdepth directly.
475 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
477 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
478 paragraphs when secnumdepth is large enough or, for environments,
479 when they are not the first in a sequence.
481 2005-04-17 Angus Leeming <leeming@lyx.org>
483 * buffer.C (makeLaTeXFile): replace code to manipulate a path
484 containing space and '~' characters with a call to latex_path().
486 2005-04-17 Angus Leeming <leeming@lyx.org>
488 * converter.C (convert): protect all args of convertDefault.sh
491 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
493 * text3.C (dispatch): change the layout to "Caption" after inserting
496 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
498 * text3.C (dispatch): fix language problem in newly created
499 textinsets (and main text) in non-english docs
501 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
503 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
504 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
505 * text3.C (getStatus): disable LFUN_INSET_MODIFY
507 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
512 * rowpainter.C (getFont): Fix metrics bug introduced by inset
515 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
517 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
518 output of \item arguments without trailing text.
520 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
522 * FontIterator.C (operator*): avoid a copy of the font.
524 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
526 * rowpainter.C (getFont): fix language bug from previous fix
528 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
530 * rowpainter.C (RowPainter, getFont): fix font inside inset
533 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
535 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
536 preventing inserted font, deco, delim insets jumping to start of
539 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
541 * lyxfunc.C (dispatch): translate message before sending it to the
544 2005-03-29 Angus Leeming <leeming@lyx.org>
546 * lyx_main.C (priv_exec): call os::internal_path on each file passed
547 to LyX on the command line.
549 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
551 * vc-backend.C: use QuoteName to protect file names wherever
554 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
557 * BranchList.h: fix bugs 1844,1845: document settings don't
560 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
562 * lyxrc.C (setDefaults, read, output, getDescription): add support
563 for tex_allows_spaces.
565 * exporter.C (Export): allows files in directory containing spaces
566 if tex_allows_spaces is true.
568 * buffer.C (makeLaTeXFile): if the document path contains spaces,
569 output it in double quotes.
571 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
573 * rowpainter.C: use default text height for drawing change tracker
576 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
578 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
580 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
582 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
583 directory is missing.
585 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
587 * text2.C: fixed the fix, extended to other case.
589 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
591 * text2.C: fix for cursor up/down stuck in math [bug 1792]
593 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
595 * text2.C (cursorUp): get rid of a crash
596 * text.C (x2pos): add an assert
598 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
600 * lyxfunc.C (getStatus): fix warning when assertions are disabled
604 * dociterator.C: include <boost/current_function.hpp>, which is
605 needed when assertions are disabled.
607 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
609 * text2.C: fix for stuck cursor when traversing two
610 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
612 2005-02-25 Andreas Vox <avox@arcor.de>
614 * output_docbook.C (makeParagraph): suppress trailing newline
615 after a run of paragraphs
617 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
619 * paragraph.C: fix for confused change tracker when pasting
620 text that begins with a lineseparator. [bug 1827]
621 (setChange(0, Change::INSERTED);)
623 * paragraph_funcs.C: fix for lost changes on triple-paste
624 in change tracking mode [bug 1827] (par.setChange()).
626 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
628 * text2.C (updateCounters, setCounter, expandLabel): move to
631 * buffer_funcs.C (updateCounters): turn into a free standing
632 function and add a buffer parameter. Remove dead code for tracking
634 (setCounter): change into a free-standing function which gets a
635 dociterator as argument. Use this iterator to fix captions in a
636 simple way. When no float is found above the caption, use the
637 labelstring of the caption layout as default.
639 * text.C (breakParagraph, backspace):
640 * text2.C (init, setLayout, changeDepth):
641 * text3.C (dispatch):
642 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
645 * dociterator.C (forwardPar): make it much faster by calling
646 forwardPos() only when really necessary.
648 * output_docbook.C (makeCommand): adapt to expandLabel move.
650 * cursor.C: remove unused variable
652 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
654 * paragraph_funcs.C: fix crash when pasting insets in change
655 tracking mode [bug 1277] (honour change type in moveItem).
657 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
659 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
661 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
663 * BufferView.C (setCursor): change to use a DocIterator.
664 (gotoLabel): use BufferView::setCursor (other part of bug 781).
665 (putSelectionAt): adapt to BufferView::setCursor change.
667 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
668 moved here from LyXText and rewritten to use proper cursor
669 methods. Fixes bug 1787, 616 and 835.
671 * BufferView_pimpl.C (restorePosition): set the cursor correctly
672 when inside an inset (part of bug 781).
673 (dispatch): adapt to change of BufferView::setCursor.
674 (getStatus, dispatch): handle LFUN_GOTOERROR,
675 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
677 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
678 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
679 * text3.C (gotoNextInset, gotoInset): removed.
681 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
683 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
685 2005-02-15 Angus Leeming <leeming@lyx.org>
687 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
688 can be used meaningfully in a comparison.
690 2005-02-13 André Pönitz <poenitz@gmx.net>
692 * bufferview_funcs.C (coordOffset): improve cursor drawing
694 2005-02-13 André Pönitz <poenitz@gmx.net>
696 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
697 * Cursor.C (dispatch): use fixIfBroken
698 * lyxfunc.C (getStatus): use fixIfBroken
700 2005-02-15 Angus Leeming <leeming@lyx.org>
702 * lyx_main.C (error_handler):
704 * lyxrc.C (setDefaults):
706 #include "environment.h".
708 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
710 2005-02-15 Angus Leeming <leeming@lyx.org>
712 * lyxserver.C (startPipe): squash MSVC warning "local variable
713 'fd' used without having been initialized".
715 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
717 * BufferView_pimpl.C: revert accidental commit.
719 2005-02-14 André Pönitz <poenitz@gmx.net>
721 * dociterator.[Ch]: new member forwardPosNoDescent(),
722 which doesn't enter nested insets.
723 * text2.C (setFont): use forwardPosNoDescent() instead
724 of ForwardPos() (fixes crash on font change).
726 2005-02-13 Angus Leeming <leeming@lyx.org>
728 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
729 only if lyxrc.path_prefix is not empty.
731 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
733 * bufferparams.C (readGraphicsDriver): prevent crash
735 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
737 * text2.C (setCounter): check for inInset() == 0
739 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
741 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
742 but use update() to get correct screen display; use convert
743 instead of istringstream.
744 (getStatus): handle LFUN_GOTO_PARAGRAPH
746 * lyxfunc.C (dispatch, getStatus): do not handle
747 LFUN_GOTO_PARAGRAPH here.
749 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
751 * text3.C (dispatch): size() -> depth()
753 * text2.C: remove some debug output
755 * paragraph.C: ws changes only
757 * lyxfunc.C (getStatus): size() -> depth()
759 * dociterator.h (clear, push_back, pop_back, internalData,
760 operator[], resize, empty): new functions
761 Make StableDocIterator and operator== be friends. Don't inherit
762 from std::vector use a privat class variable slices_ instead.
765 * dociterator.C: update because of not inheriting from std::vector
766 anymore. Call explictly to slices_ instead. Use depth() instead of
767 size() and top() instead of back()
769 * cursor.C: chagne size() -> depth and back() -> top(). Also
770 remove some direct operator[](i) calls in favour of foo[i]
771 (getFont): remove some dead code
773 * bufferview_funcs.C (coordOffset): size() -> depth()
775 * buffer.C: ws changes only
777 * CutAndPaste.C (eraseSelection): back() -> top()
779 * BufferView_pimpl.C (selectionRequested): back() -> top()
781 * BufferView.C (setCursor): size() -> depth()
783 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
785 * text3.C (cursorPrevious): return true if depm changed something
787 (dispatch): rename sl to oldTopSlice, remove moving use the new
788 NoUpdate func attrib instead. Make sure that needsUpdate is set
789 for function that have NoUpdate, but where depm might have changed
792 * text2.C (cursorLeft): make us return true if depm changed
795 (cursorUpParagraph): ditto
796 (curosrDownParagraph): ditto
797 (cursorUp, cursorDown): ditto, make sure to read comments in code
798 (deleteEmptyParagraphMechanism): remove an assert, also return
799 true if just a single char was deleted.
801 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
802 cursor that we modify, to avoid modifying an active cursor before
803 we call setCursor. This allows depm to run. Also return true if
804 depm deleted something.
806 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
807 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
808 cursorDownParagraph, cursorPrevious and cursorNext, return true if
809 something was changed in the buffer because of them (ie. depm run)
811 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
812 debug messages. Make update by default be false. Make sure that
813 the result of update is retained throught several calls down to
816 * LyXAction.h: add a new func_attrib: NoUpdate
818 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
819 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
820 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
822 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
824 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
826 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
827 bv_->owner(), bv_->buffer() by direct references to the private
829 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
830 (getStatus): isSavedPosition() is in BufferView::Pimpl.
831 (fitCursor): center() is in BufferView::Pimpl.
832 (getStatus, trackChanges, dispatch): no need for a temporary buf
834 (fitCursor, workAreaDispatch): use workarea().workheight()
836 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
838 * CutAndPaste.C (pasteSelectionHelper): fix a crash
840 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
842 * buffer.C: format up to 241.
843 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
844 break if pasting into ERT
845 * lyxfunc.C (getStatus): suppress mathpanel and
846 LFUN_DIALOG_SHOW_NEW_INSET in ERT
848 2005-02-01 Angus Leeming <leeming@lyx.org>
850 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
852 2005-02-01 Angus Leeming <leeming@lyx.org>
854 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
855 calling fs::is_directory().
857 2005-01-31 Angus Leeming <leeming@lyx.org>
859 * lyx_main.C (priv_exec): specify explicitly the relative location
860 of the top level build directory when run in-place.
862 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
864 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
865 LyXText containing the cursor, not the top-level one.
867 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
869 (insertStringAsLines): rename par to pit; use temporary variable
870 par to hold a Paragraph; do not store par.layout() in a variable,
871 since the pointer may die when breaking paragraphs; pass pars to
872 breakParagraph() instead of Buffer::paragraphs().
874 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
876 * lyxlex_pimpl.h: #include <fstream>.
878 * BufferView.[Ch] (getLyXText): add a const version.
880 * BufferView_pimpl.C: add debug aids.
885 * paragraph_funcs.h: add commentary explaining what the class does.
888 * coordcache.[Ch]: add lots of commentary.
889 (startUpdating, doneUpdating): debug aids.
890 (arrays, insets, parPos, getParPos): accessors to private data.
892 * cursor_slice.[Ch] (text): add a const version.
893 * dociterator.[Ch] (text, innerText): add const versions.
895 * lyxtext.h (breakParagraph): change the keep_layout arg to a
898 * paragraph.C (getRow, pos2ros): add asserts.
900 * paragraph.h: add commentary. Lots of.
902 * paragraph.[Ch] (metrucs, draw): removed.
905 * rowpainter.[Ch]: const-correct changes.
907 * text.C: various obvious clean-ups. Removal of ancient cruft.
910 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
912 * vc-backend.C (find_file): rewrite to use boost.filesystem
915 * main.C (main): set default name check for boost.filesystem to
918 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
921 (actOnUpdatedPrefs): ditto
923 * lyx_main.C (init): rewrite to use boost.filesystem
924 (queryUserLyXDir): ditto
926 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
927 (getContentsOfAsciiFile): ditto
929 * lastfiles.C (readFile): rewrite to use boost.filesystem
931 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
933 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
936 * buffer.C (Buffer): adjust for destroydir
937 (getLogName): rewrite to use boost.filesystem
939 (save): use fs::copy_file (from fs_extras)
941 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
943 * LaTeX.C (run): rewrite to use boost.filesystem
944 (scanAuxFiles): ditto
945 (handleFoundFile): ditto
947 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
949 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
951 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
953 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
955 * lyxlayout.[Ch]: change some vars from float to double
957 * buffer.C (readFile): make a local var const
959 * Several files: use convert<> instead of atoi,strToXXX and friends
961 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
963 * LaTeXFeatures.[Ch]: Add a static list packages_ that
964 holds the contents of packages.lst. New functions getAvailable
965 and isAvailable to parse and check that list, resp.
969 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
971 * bufferparams.[Ch]: new param output_changes.
973 * Buffer.C: increase file format to 240.
974 Use output_changes and isVailable.
978 * paragraph_pimpl.C: Use output_changes and isVailable.
980 2005-01-23 Angus Leeming <leeming@lyx.org>
982 * output_latex.C: #include "insetbibitem.h", rather than
983 forward declare function bibitemWidest.
985 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
987 * lyx_main.C (init): make it compile on the Mac.
989 2005-01-20 Angus Leeming <leeming@lyx.org>
991 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
992 (setLyXMisc): (char string literal) != (char string literal) is
993 performing a comparison on the addresses. Convert one operand
994 explicitly to string to guarantee expected behaviour.
997 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1000 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1002 * output_plaintext.C: remove unneeded #include gzstream.h.
1004 2005-01-20 Angus Leeming <leeming@lyx.org>
1006 * SpellBase.h: rename some of the elements of the Result enum.
1013 * pspell.C (check): ditto
1015 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1017 * buffer.C: add #include <fstream>.
1019 * lyx_main.C (init): Compile fix.
1021 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1023 2005-01-20 Angus Leeming <leeming@lyx.org>
1025 * mover.h: change commentary to reflect the changed meaning of
1026 the $$s placeholder.
1028 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1030 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1032 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1034 2005-01-20 Angus Leeming <leeming@lyx.org>
1036 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1037 printing diagnostic data by not dereferecing an iterator past the
1040 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1042 * buffer.C (readHeader): use "&&" rather than "and".
1044 * lyxserver.h (inPipeName, outPipeName): make these const.
1046 2005-01-19 Angus Leeming <leeming@lyx.org>
1048 * lyx_main.C (error_handler, init): protect SIGHUP with
1049 #ifdef SIGHUP guards.
1051 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1053 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1055 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1057 * text.C (setHeightOfRow): add a margin at the top and bottom of
1058 the document (bug 1761)
1060 2005-01-17 Angus Leeming <leeming@lyx.org>
1062 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1063 with "python ". Workaround for a brain-dead Windows.
1065 2005-01-16 Angus Leeming <leeming@lyx.org>
1067 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1068 for MacOSX and Windows to use prependEnvPath.
1069 Strip out the hard-coded block to add elements to the PATH for
1070 MacOSX and replace it with a call to prependEnvPath using the
1071 contents of LyXRC::path_prefix.
1072 (queryUserLyXDir): strip out the code to run reconfigure, instead
1073 returning a boolean indicating the necessity to do so.
1074 (reconfigureUserLyXDir): contains the code to reconfigure the
1075 user support directory. Is now called after the various LyXRC data
1076 files have been read.
1078 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1080 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1082 * converter.[Ch] (convert): take a new parameter try_default. Use
1083 a default converter (imagemagick) if try_default is true.
1085 2005-01-13 Angus Leeming <leeming@lyx.org>
1087 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1088 os::cygwin_path_fix.
1089 (write): output LyXRC::cygwin_path_fix as necessary.
1091 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1094 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1096 2005-01-12 Angus Leeming <leeming@lyx.org>
1098 * lyx_main.C (init): set the PATH variable to include the
1099 directory containing the LyX binary when running on Mac or Windows.
1101 2005-01-12 Angus Leeming <leeming@lyx.org>
1103 * lyx_main.C (init): remove cruft that purports to set the locale
1104 dir. It doesn't and is not needed anyway.
1106 2005-01-10 Angus Leeming <leeming@lyx.org>
1108 * Makefile.am: remove the lyx_main.C special casing.
1110 * BufferView_pimpl.C:
1116 * messages.C: use support/package.h to provide the paths to the
1117 various directories used by LyX.
1119 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1121 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1122 layout if pasting into an empty paragraph)
1124 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1126 * tex-accent.C: add <string>
1128 2005-01-06 José Matos <jamatos@lyx.org>
1130 * ParagraphParameters.C (write): put every parameter in its own line.
1131 * paragraph.C (write): reduce number of consecutive empty lines exported.
1132 * buffer.C (LYX_FORMAT): increase file format to 239.
1134 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1136 * everywhere: change support/tostr.h -> support/convert.h
1138 * tabular.C: make all write_attributes templates, tostr -> convert
1140 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1141 (emptyTag): and -> &&, and fix type for ret from getChar
1142 (getFirstWord): fix type for ret from getChar
1143 (onlyText): and -> &&
1144 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1147 * toc.C (goTo, action):
1148 * text3.C (dispatch):
1149 * text.C (currentState):
1150 * tex-accent.C (DoAccent):
1153 * lyxfunc.C (menuNew):
1154 * lyxfinc.C (replace):
1155 * counters.C (laberItem):
1156 * bufferview_funcs.C (font2string):
1157 * bufferparams.C (writeFile):
1158 * buffer.C (readFile):
1160 * MenuBackend.C: tostr -> convert
1162 * LaTeX.C (runMessage): fix format
1163 (scanAuxFiles): tostr -> convert
1165 * BufferView_pimpl.C (savePosition): fix format
1166 (restorePosition): ditto
1169 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1171 * Spacing.[Ch]: New method getValueAsString().
1175 * ParagraphParameters.C:
1178 * text3.C: store/read spacing value as string.
1180 * rowpainter.C: change float value (spacing_val) to double.
1182 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1183 broken custom document spacing).
1185 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1187 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1188 namespace, also more use of temp references and const
1190 * cursor.[Ch] (getStatus): move to lyxfunc.C
1192 * bufferparams.C: reformat slightly
1194 * bufferview_funcs.C (font2string): constify arg
1200 * buffer_funcs.C: (many funcs): constify arg on function
1201 definitions, also make more local vars const, also add ASSERTS on
1204 * buffer.C (LYX_FORMAT): put const in correct place
1205 (many funcs): constify arg on function definitions, also make
1206 more local vars const
1208 * aspell_local.h: remove "struct" from typdef setup
1210 * aspell.C (check): make word_ok const
1211 (nextMiss): simplify slightly
1214 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1216 * lyxrc.[Ch]: store all float values as strings.
1217 use int (not float) for lyxrc.dpi.
1219 2005-01-04 Angus Leeming <leeming@lyx.org>
1221 * lyx_cb.C (Reconfigure):
1222 * lyx_main.C (queryUserLyXDir):
1223 to run the <system_lyxdir>/configure correctly on Windows, prefix
1224 the path to the script with "sh " when generating the string that
1225 is passed to system().
1227 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1229 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1231 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1233 * lyxlength.C (asLatexString): get rid of setprecision
1235 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1237 * text2.C (setLayout): remove unused variable endpit.
1238 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1240 * paragraph.C (onlyText): remove unused variable style.
1242 * cursor.C (bruteFind): remove unused variables beg and end.
1244 * Makefile.am (dist_noinset_DATA): not needed anymore
1246 * cheaders/*: remove.
1248 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1250 * text3.C: fix LFUN_MATH_MODE.
1252 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1254 * buffer_funcs.C (countWords): new function. Counts words between
1257 * BufferView_pimpl.C (getStatus, dispatch): handle
1260 * LyXAction.C (init):
1261 * lfuns.h: add LFUN_WORDS_COUNT.
1263 2004-12-19 Angus Leeming <leeming@lyx.org>
1265 * buffer.C (save): s/slashify_path/internal_path/.
1267 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1269 * lyxfind.C (findChange): do not search for end of pars, because
1270 the change tracker cannot handle this (fixes bug 1719).
1272 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1274 * paragraph.[Ch] (autoBreakRows): remove
1276 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1278 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1279 avoid using the paragraph one
1281 * text2.C (LyXText, insertStringAsLines): adjust
1283 2004-12-16 Angus Leeming <leeming@lyx.org>
1287 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1289 2004-12-14 Angus Leeming <leeming@lyx.org>
1291 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1293 * bufferlist.C (emergencyWrite):
1294 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1297 2004-12-14 Angus Leeming <leeming@lyx.org>
1299 * main.C: (main): no longer pass pointers to os::init.
1301 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1303 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1304 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1306 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1309 * text3.C: remove selection_possible global flag
1311 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1313 * text2.C (getSelectionSpan): remove
1314 (changeDepth, changeDepthAllowed): adjust
1316 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1318 * Makefile.am (BOOST_LIBS): use boost variables
1320 2004-12-03 José Matos <jamatos@lyx.org>
1322 * buffer.C: format up to 238.
1324 2004-12-03 José Matos <jamatos@lyx.org>
1326 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1328 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
1330 * cursor.C (goUpDown): remove call to idxUpDown2
1332 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1334 * tabular.[Ch]: use size_t-like types for cell, row and column
1337 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1339 * lyxfunc.C (getStatus): do not lose previous information when
1340 calling BufferView::getStatus; do not set a default "Command
1341 disabled" message at the beginning, but just before returning.
1343 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1345 * cursor.h (getStatus): add better comment from src/cursor.C
1347 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1349 * text3.C (getStatus): return false when the lfun is not handled
1351 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1353 * broken_headers.h: remove
1355 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1357 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1359 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1360 offset_ref accessors
1362 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1363 top_y_, merge fitcursor with update
1364 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1366 (metrics): introduce
1367 (workAreaDispatch): adapt to new coord scheme
1368 (redoCurrentBuffer): remove
1370 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1372 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1375 * coordcache.[Ch]: add paragraph cache and helpers
1377 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1380 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1381 (targetX, setTargetX): introduce
1383 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1384 baseline -> ascent, as the rest of lyx
1386 * lyxtext.h: remove redoParagraphs, updateParPositions,
1387 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1388 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1389 have ascent/descent (ascent is ascent of first par)
1391 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1394 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1396 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1398 * pariterator.C: fix infinite loop introduced in par->pit renaming
1400 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1401 in insets and LyXText, draw two off-screen paragraphs using
1402 NullPainter, and adapt to new coord scheme
1406 * text3.C: adapt lfun handlers to the new coord scheme, which
1407 means: there's only guaranteed coord information for onscreen pars
1408 plus one above and one below. This implies that one can do search
1409 from y coordinates in the range [-1,workHeight]
1411 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1413 * rename a lot of InsetOld to InsetBase
1415 2004-11-25 Angus Leeming <leeming@lyx.org>
1417 * BufferView_pimpl.C:
1419 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1421 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1423 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1424 call BufferView::getStatus if LCursor::getStatus did nothing
1425 (setStatusMessage, getStatusMessage): removed.
1427 * FuncStatus.C (message): new methods. Used to provide an error
1428 message indicating why a command is disabled.
1429 (clear, |=, FuncStatus): update for message.
1431 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1433 * lyxfunc.C (dispatch): always call sendDispatchMessage
1435 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1438 * BufferView_pimpl.C:
1443 * cursor_slice.[Ch]:
1446 * paragraph_funcs.C:
1452 * undo.C: par->pit renaming
1454 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1456 * tabular.C (cellstruct): use initialization, store a shared_ptr
1457 to insettext instead of the insettext directly, adjust to fit.
1458 (operator=): new function
1459 (swap): new function
1460 (rowstruct): use initialization
1461 (columnstruct): use initialization
1462 (ltType): use initialization
1465 * lyxlength.h (swap): new function
1467 * LColor.[Ch] (operator=): use the common semantics
1469 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1471 * lyxfind.C (findNextChange): update the bufferview after setting
1474 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1476 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1477 number of InsetOptArgs has already been inserted.
1479 * output_latex.C (latexOptArgInsets): new method. This outputs all
1480 the optarg insets, up to the limit defined in the layout file.
1481 (optArgInset): removed
1482 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1484 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1486 * paragraph.C (isLetter): remove special spellchecker-related
1487 code; return true also for digits
1488 (isWord, isKomma): remove
1490 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1491 * lyxfind.C (MatchString()): use isLetter instead of isWord
1493 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1495 * pariterator.h (operatir=): comment out un-implemented member
1498 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1501 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1503 * lyxfont.h: include LColor.h to satisfy concept checks.
1505 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1507 * pariterator.h: add typdefs for value_type, difference_type,
1508 pointer and reference to satisfy concept checks. Also add default
1509 constructor for same reason.
1511 * pariterator.C (operator++): add post-increment operator to
1512 satisfy concept checks.
1514 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1517 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1519 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1520 checks. Also rename base_type to BaseType to follow naming
1523 * FloatList.h: include Floating.h to satisfy concept checks.
1525 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1527 * lyxfunc.C (getStatus): when the origin of the request is menu or
1528 toolbar, and the LyXView does not have focus, do as if there was
1529 no buffer (bug 1720)
1531 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1532 FuncRequest to individual entries of LFUN_SEQUENCE
1534 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1536 * output_latex.C (TeXOnePar): override runparams.moving_arg
1537 according to the needprotect value of the current paragraph (bug
1540 * paragraph.C (simpleTeXOnePar): no need to override
1541 runparams.moving_args here
1543 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1545 * vspace.C: fix off-by-one-error, related to fix #1682
1547 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1549 * lengthcommon.C: a more general fix for bug 1682
1551 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1553 * text.C (backspace): fix crash
1555 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1557 * format.[Ch] (getFormatFromFile): new method
1558 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1560 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1562 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1564 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1566 * lyxfunc.C (dispatch): remove the verbose argument
1567 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1570 * kbmap.C (defkey): set the origin of func to KEYBOARD
1572 * MenuBackend.C (MenuItem):
1573 * ToolbarBackend.C (add): set the origin of func to UI
1575 * funcrequest.[Ch]: add origin member, which indicates which part
1576 of LyX requests an action
1578 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1580 * converter.C (move): don't lie in the error message
1581 * converter.h (isReachable, move): document
1583 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1585 * buffer.C: remove unused using lyx::support::atoi
1586 * paragraph_funcs.C: ditto
1588 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1590 * bufferlist.C (exists): use bind and equal_to instead of
1593 * lyxtextclasslist.C (NumberOfClass): ditto
1595 * cursor.C (insert): use for_each instead of explicit for loop
1597 * bufferlist.C (getFileNames): use std::transform and
1598 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1600 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1603 * buffer.C (changeLanguage): use for_each instead of explicit for
1605 (hasParWithID): implement using getParFromID
1607 * LaTeXFeatures.C: ws change only
1609 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1612 * BufferView_pimpl.C (trackChanges): use for_each instead of
1615 2004-11-04 André Pönitz <poenitz@gmx.net>
1618 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1620 * dociterator.C (asDocIterator): use hard assert again.
1622 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1624 * lyxlength.C (asLatexString): rewrite so that it does not use
1627 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1629 * text3.C (specialChar, dispatch): make sure cursor moves to the
1630 right after inserting an inset
1632 2004-11-02 José Matos <jamatos@lyx.org>
1634 * output_docbook.C (docbook):
1635 * paragraph.C (getID):
1636 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1637 garantee that the output is always legal.
1639 * tabular.C (docbook):
1640 * outputprams.[Ch]: remove mixed contents.
1642 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1644 * text2.C (setCounter): prevent endless loop
1646 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1648 * exporter.C (copyFile): use the mover instead of support::copy()
1649 * exporter.C (Export): pass format and latex name to copyFile()
1650 * exporter.h (addExternalFile): document
1651 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1653 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1655 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1657 2004-10-30 José Matos <jamatos@lyx.org>
1659 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1660 text and no inset or font change. This allows to use CDATA
1661 sections just for the whole paragraph.
1663 2004-10-30 José Matos <jamatos@lyx.org>
1665 * paragraph.C (getFirstWord): remove unused variable.
1667 2004-10-30 José Matos <jamatos@lyx.org>
1669 * paragraph.C (getFirstWord): the content should always be escaped
1671 (simpleDocBookOnePar):
1672 * output_docbook.C (makeEnvironment): replace reference to CDATA
1675 2004-10-30 José Matos <jamatos@lyx.org>
1677 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1679 2004-10-30 José Matos <jamatos@lyx.org>
1681 * output_docbook.C (makeParagraphs):
1682 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1683 standard paragraph has only a given type of content drop the wrapper.
1685 2004-10-29 José Matos <jamatos@lyx.org>
1687 * output_docbook.C (makeEnvironment):
1689 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1691 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1693 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1694 (cleanID): sanitize any id.
1696 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1698 * buffer.C, lyxlex_pimpl.C:
1699 * lyxlex_pimpl.C (setFile):
1700 s/getExtFromContents/getFormatFromContents/
1702 2004-10-28 José Matos <jamatos@lyx.org>
1704 * output_docbook.C (makeEnvironment): move id to broadest possible
1707 * sgml.C (openTag): apply substitution of <> for all attributes.
1709 2004-10-28 José Matos <jamatos@lyx.org>
1711 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1712 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1713 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1715 * sgml.[Ch]: new version for open and closeTag for paragraph and
1716 for strings. Now they handle the ids of paragraphs.
1718 2004-10-26 Angus Leeming <leeming@lyx.org>
1720 * Makefile.am: add mover.[Ch].
1722 * converter.C (convert, move): use the new Movers to move external
1723 files to the temp directory.
1725 * lyx_main.C (init): ensure that the global system_movers data
1728 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1731 * mover.[Ch]: new files, defining a Mover as a utility to move an
1732 external file between directories and, if necessary, manipulate this
1733 file using a helper script.
1735 2004-10-25 José Matos <jamatos@lyx.org>
1737 * output_docbook.C (makeCommand): merge two if's that tested the
1740 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1742 * sgml.C (escapeString): fix warning in a better way
1744 2004-10-25 José Matos <jamatos@lyx.org>
1746 * sgml.C (escapeString): import the require boosts header file for
1747 tie, and avoid a signed unsigned comparison.
1749 2004-10-25 José Matos <jamatos@lyx.org>
1751 * sgml.h: add #include <string>
1753 2004-10-25 José Matos <jamatos@lyx.org>
1755 * sgml.[Ch] (escapeString): new function to escape all the string.
1757 2004-10-24 José Matos <jamatos@lyx.org>
1759 * paragraph.[Ch] (getFirstWord): new function to get the first
1760 word. Useful for description.
1761 (simpleDocBookOnePar): remove depth argument, add another that
1762 says where to start the paragraph.
1764 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1765 use the new functions to fix cleanly the support for descriptions.
1767 2004-10-24 José Matos <jamatos@lyx.org>
1769 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1770 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1771 * output_linuxdoc.C (linuxdocParagraphs):
1772 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1773 add buffer as argument.
1775 2004-10-24 José Matos <jamatos@lyx.org>
1777 * output_docbook.C (makeEnvironment, searchEnvironment): place
1778 CDATA inside paragraphs and fix scope for listitems.
1780 2004-10-24 José Matos <jamatos@lyx.org>
1782 * output_docbook.C: remove using statement for stack.
1784 2004-10-23 José Matos <jamatos@lyx.org>
1786 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1787 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1788 docbook. The new scheme is recursive and makes use of iterators, the
1789 same as latex export works.
1790 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1791 directly with the paragraph contents. This code was moved up to
1792 output_docbook.C (docbookParagraphs).
1793 * sgml.C (openTag, closeTag): removed unneeded newlines.
1794 (closeEnvTags) removed.
1796 2004-10-23 André Pönitz <poenitz@gmx.net>
1798 * undo.C (textUndoOrRedo):
1799 * dociterator.C (asDocIterator): work around crash
1801 * cursor.C (getStatus): replace ASSERT by more verbose error message
1802 and manual correction of the problem. Should increase stability
1803 while providing more sensible information.
1805 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1807 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1809 * bufferlist.C (previous, next): new methods
1812 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1814 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1816 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1817 entities to preamble.
1819 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1821 * messages.C (Pimpl): strip off translation context information
1823 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1825 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1826 the cursor is correct (bug 1694)
1828 2004-10-13 José Matos <jamatos@lyx.org>
1830 * output_docbook.C (docbookParagraphs): fix closing tags in the
1831 end of the document.
1833 2004-10-09 José Matos <jamatos@lyx.org>
1835 * buffer.C: format up to 237.
1836 * bufferparams.C (write): use tostr to convert booleans to strings.
1838 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1840 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1842 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1844 * LaTeX.C: implement use of babel language in xindy.
1846 2004-10-05 José Matos <jamatos@lyx.org>
1848 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1849 Add new translators to help reading and writing the lyx file.
1851 2004-10-05 José Matos <jamatos@lyx.org>
1853 * ParagraphParameters.C (read):
1854 * text.C (readParToken): replace nexToken by more appropriate lex
1857 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1859 * LaTeX.C (runMakeIndex):
1860 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1861 (usually 'makeindex') configurable.
1863 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1864 with a variable rather than with a number.
1866 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1868 * output_latex.C (TeXOnePar): make sure font setting is the first
1869 thing that gets output (and the last at the end). Should fix bug
1872 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1874 * pch.h: use proper signal include
1876 * LaTeX.h: Use preferred calling of Boost.Signal
1879 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1881 * pch.h: dont include <boost/function/function0.hpp>
1883 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1885 * paragraph_pimpl.h: remove usage of ShareContainer
1887 * paragraph_pimpl.C: remove initialization of ShareContainer.
1889 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1893 * BufferView.C (putSelectionAt): change the semantics when
1894 backwards == true: now, this just swaps cursor and anchor wrt the
1897 * BufferView.h (putSelectionAt): add some documentation
1899 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1900 make sure backwardChar is done at least once (to avoid getting
1902 (findNextChange): use putSelectionAt in the forward direction
1903 (operator()): use Paragraph::isWord
1905 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1907 * Spacing.C (set): c_str fix
1909 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1911 * lyx_cb.C (Reconfigure): quote the name of configure script in
1912 case it contains spaces
1914 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1918 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1919 (BOOST_LIBS): use top_buildir when looking for the file
1921 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1923 * pch.h: do not use include boost/format.hpp, multiple symbols
1924 will result (gcc bug)
1927 2004-08-23 José Matos <jamatos@lyx.org>
1929 * bufferparams.C (readToken): fix reading of the author field.
1931 2004-08-20 José Matos <jamatos@lyx.org>
1933 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1935 2004-08-20 José Matos <jamatos@lyx.org>
1937 * lyxlex.[Ch] (findToken): remove function.
1939 * ParagraphParameters.C (findToken):
1940 * bufferparams.C (findToken): replace call for previous function
1941 with local copy. This local function has one more argument, the
1942 read string argument.
1944 2004-08-16 José Matos <jamatos@lyx.org>
1946 * ParagraphParameters.C (write):
1947 * Spacing.C (writeFile):
1948 * bufferparams.C (writeLaTeX):
1949 * lyx_cb.C (Reconfigure):
1950 * paragraph.C (write):
1951 * tabular.C (write): remove unnecessary space at end of line.
1954 2004-08-16 José Matos <jamatos@lyx.org>
1956 * text.C (readParagraph): remove debug message.
1958 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1960 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1963 * output_plaintext.C (asciiParagraph): set depth correctly
1965 * outputparams.h: add member depth
1967 * paragraph_funcs.C (ownerPar): remove.
1969 * text2.C (setCounter): remove first_pit; comment out some
1970 non-working code that uses ownerPar
1972 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1975 2004-08-16 José Matos <jamatos@lyx.org>
1977 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1978 For the same level of importance use the same chanel to report problems.
1979 (read): add code to deal with \begin_body and \end_body.
1982 2004-08-15 José Matos <jamatos@lyx.org>
1984 * lyxlex.C (getString): fix comment, buffer::readBody is now
1985 buffer:readDocument.
1987 * tex-strings.C (string_papersize): Default -> default,
1988 Custom -> custom, for consistency with other options.
1990 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1994 * Makefile.am: support pch
1996 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1998 * text.C (readParToken): remove the static LyXFont variable and
1999 pass it as a parameter instead. This fixes a nasty bug where an
2000 inset will be inserted with a bad font in some situations
2001 (readParagraph): adapt
2003 * text2.C (setCounter): reduce number of calls to pars_[pit]
2005 * text.C (singleWidth): add an assert, fix a test
2007 * rowpainter.C (paintText): reduce number of calls to singleWidth
2009 * paragraph.C (isHfill):
2010 (isNewline): ws only
2012 2004-08-14 André Pönitz <poenitz@gmx.net>
2017 * lyxtext.h (several functions): use a Paragraph & argument
2020 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2022 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2024 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2026 * text.C (singleWidth): remove useless test
2028 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2030 * tabular.h: remove bogus comments
2032 * tabular.C (getDescentOfRow):
2033 (isPartOfMultiColumn): add assertions
2035 * lyxlength.C (inPixels): remove #warning
2037 2004-08-14 André Pönitz <poenitz@gmx.net>
2039 * paragraph.h: inline getChar()
2041 * BufferView.h: remove unused declarations
2043 2004-08-14 José Matos <jamatos@lyx.org>
2045 * Buffer.[Ch] (readDocument): new name for old readBody.
2046 * Buffer.C: new file format, new keywords: \begin_document,
2047 \begin_header, \begin_body, \end_body.
2049 * bufferparams.C (readToken): replace all calls to lex.nextToken
2050 by lex.next(). Do the same to eatLine except where really needed.
2052 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2053 line when writing to the lyx file.
2055 * output_plaintext.C (asciiParagraph): fix Bibliography style
2058 * text.C (read): fix end of file handling.
2060 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2062 * MenuBackend.C (Menu::operator[]): new method to access
2063 individual menu items
2064 (Menu::hasFunc): new method. search for an item that corresponds
2066 (MenuBackend::specialMenu): new method
2067 (MenuBackend::expand): if a special menu has been set, skip
2068 entries whose func() appears in this menu
2070 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
2072 * text3.C: use Debug::DEBUG a bit more
2074 * text.C (leftMargin): try to simplify a tiny bit change var x to
2075 l_margin. Dont output the wide margins always.
2076 (rightMargin): no margin in inner texts
2078 * rowpainter.h (nestMargin): new func
2079 (changebarMargin): new func
2080 (rightMargin): new func
2082 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2086 * factory.C (createInset): modify setDrawFrame
2088 * cursor.C: use Debug::DEBUG a bit more
2090 2004-08-14 André Pönitz <poenitz@gmx.net>
2093 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2094 cache for all insets in (at least partially) visible (top-level)
2097 * BufferView_pimpl.C: reset external coord cache before every update.
2098 This means the coord cache only contains valid entries.
2100 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
2103 * BufferView_pimpl.C (getInsetByCode): move function out of class
2104 and change in to a template in anon namespace. Also fix to do what
2107 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
2110 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2112 (breakParagraph): rename par to par_offset and use a local
2113 reference. Add code to keep the language over a rebreak.
2114 (breakParagraphConservative): rename par to par_offset, use a
2116 (mergeParagraph): ditto
2118 (isFirstInSequence): ditto
2119 (outerFont): rename pit to par_offset
2121 * paragraph.C: ws change
2122 * paragraph.h: ditto
2126 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2128 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2131 * paragraph.C (simpleTeXOnePar): when we have a \item with
2132 optional argument, enclose the argument with curly brackets (in
2133 case it contains a closing square bracket)
2137 * text3.C (checkInsetHit): constify
2139 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2141 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2142 documents (bug 1629)
2144 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2146 Fix toggling of collapsable insets with the mouse (bug 1558)
2148 * lyxfunc.C (dispatch): adapt to LCursor changes
2150 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2151 make sure that dispatch is not invoked twice
2153 * cursor.C (needsUpdate): new method
2154 (dispatch): return void
2155 (result): new method, to access the DispatchResult of the cursor.
2157 2004-08-13 José Matos <jamatos@lyx.org>
2159 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2161 2004-08-13 André Pönitz <poenitz@gmx.net>
2163 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2165 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2168 2004-08-12 André Pönitz <poenitz@gmx.net>
2170 * text3.C: take out the 'cursor right' form insertInset and only
2171 do it in those places when it is really needed. Fixes crash on
2174 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2176 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2178 * BufferView_pimpl.C (setBuffer): initialize the current font of
2179 the underlying LyXText
2181 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2183 * kbsequence.C (print): use UI native formatting for menu
2186 * text.C (insertChar): call Paragraph::insertChar with a font
2189 * paragraph.C (insertInset, insertChar): the version that takes a
2190 LyXFont argument is now a wrapper around the other one (the
2191 opposite used to be true).
2193 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2194 argument. Font setting is done in Paragraph now.
2196 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2198 * outputparams.h: add new members intitle and lang.
2200 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2201 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2203 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2205 * text3.C (dispatch): remove special handling of button 4 and 5,
2206 it is now taken care of in the frontend code.
2208 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2210 * Spacing.h: add <string> (STLPort compile fix)
2212 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2214 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2216 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
2218 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2221 * converter.C (showMessage): inherit from unary_function, make
2224 * buffer.C (writeFile): initialize retval
2226 * InsetList.h: rename private variable list to list_
2227 * InsetList.[Ch]: adjust accordingly.
2229 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
2231 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2232 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2233 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2234 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2235 * ParagraphParameters.C, LaTeXFeatures.C: replace
2236 "support/std_sstream.h" with <sstream>
2238 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
2240 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2241 * lyxsocket.C (LyXServerSocket): ditto
2242 (serverCallback): ditto
2244 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2246 * LaTeXFeatures.C: check release date when loading jurabib.
2248 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2250 * lyxserver.C (startPipe): call register_socket_callback
2251 (endPipe): call unregister_socket_callback
2253 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
2255 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2256 (LyXServerSocket): register the callback
2257 (LyXServerSocket): unregister the callback
2258 (fd): delete function
2259 (serverCallback): improve error checking and setup the callbacks.
2260 (dataCallback): change arg to fd.
2261 (writeln): new func (copied fro the client socket) used for server
2263 (LyXDataSocket): simplify
2264 (~LyXDataSocket): close ann unregiser callback
2265 (server): delete function
2266 (fd): delete function
2267 (readln): small changes, improve some std::string usage
2268 (writeln): constify a bit
2270 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2272 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2275 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2277 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2278 after it has been populated
2280 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2282 * text2.C (insertInset): move cursor when inserting inset.
2284 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2286 * kbmap.C (findbindings): a couple of new methods. returns a
2287 container of kb_sequence objects. The real work is done by the
2288 private recursive version
2289 (printbindings): uses findbindings to print out a bracketed list
2290 of bindings (renamed from findbinding).
2292 * MenuBackend.C (binding): use kb_keymap::findbindings
2294 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2296 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2298 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2300 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2302 * paragraph.C (isWord): return true on insets that report
2305 * text.C (getWord): use Paragraph::isWord to decide what is in a
2306 word and what is not; fix bug 1609.
2308 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2310 * tex-strings.C: add "none" to string_paperpackages[], fixes
2311 off-by-one-error in the paperpackage selection.
2314 * tex-strings.[Ch]: char const * string[n]
2315 -> char const * const string[]
2317 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2319 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2320 command, return early.
2322 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
2324 * debug.h: add DEBUG to enum and fix size of ANY.
2326 * debug.C: add support for Debug::DEBUG
2327 (showTags): cast errorTags.level to unsigned int
2329 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2330 (redoCurrentBuffer): ditto
2331 (updateScrollbar): ditto
2332 * cursor.C (dispatch): ditto
2333 * text2.C (setLayout): ditto
2335 (updateCounters): ditto
2337 (deleteEmptyParagraphMechanism): ditto
2339 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
2341 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2342 annotations to cleanup the Makefile slightly.
2344 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2346 * lyxrc.C: do not set user_email to a default value but use empty
2347 instead. The entry used to be translated, which does not work
2348 since at the point where lyxrc is constructed there is no
2349 translation service available
2351 * messages.C (getLocaleDir): remove and use directly
2352 lyx_localedir() instead
2354 2004-06-02 Angus Leeming <leeming@lyx.org>
2356 Fix crash caused by dereferencing null pointer 'exportdata' in
2357 OutputParams by creating a new ExportData variable on the heap,
2358 storing it in a boost::shared_ptr.
2359 The crash was triggered when generating an Instant Preview
2360 of an external inset.
2362 * Makefile.am: add outputparams.C
2364 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2365 (c-tor): allocate memory to it.
2367 * exporter.C (c-tor): associated changes.
2369 2004-06-01 Angus Leeming <leeming@lyx.org>
2371 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2372 contains data before calling isInset(0). (Bug 1513.)
2374 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2376 * exporter.C (checkOverwrite): new method
2377 * exporter.C (copyFile): new method
2378 * exporter.C (Export): copy referenced files to the document dir
2379 * exporter.[Ch]: new class ExportedFile
2380 * exporter.[Ch]: new class ExportData. Contains currently the
2381 names of referenced external files
2382 * outputparams.h: add exportdata member.
2384 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2386 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2389 2004-05-19 Angus Leeming <leeming@lyx.org>
2394 * lyxfunc.C: small changes due to the introduction of namespace
2395 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2397 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2399 * text3.C (dispatch): supress update when only moving the cursor
2400 * cursor.C (selHandle): remove commented code
2402 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2404 * paragraph.C (startTeXParParams): correct column count
2405 * CutAndPaste.C (pasteSelection): remove const_cast
2406 * output_docbook.C (docbookParagraphs): remove const_cast
2407 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2408 const_cast and return ParagraphList::const_iterator
2409 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2410 * output_plaintext.C (writeFileAscii): remove const_cast
2411 * paragraph.[Ch] (simpleTeXOnePar): make const
2412 * paragraph_funcs.C (outerPar): use const iterators
2413 * paragraph_pimpl.C (validate): use const iterators
2414 * text.C (setHeightOfRow): use const iterators
2416 2004-05-17 Angus Leeming <leeming@lyx.org>
2419 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2421 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2422 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2423 if the citation engine has changed.
2425 2004-05-14 José Matos <jamatos@lyx.org>
2427 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2428 if the textclass does not provide it. Have it different for sgml and
2430 support the language of document.
2431 * output_docbook.C (docbookParagraphs):
2432 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2433 first anchor as the id of the paragraph, remove special case code.
2434 * sgml.C (escapeChar): escape only < & >.
2436 2004-05-14 Angus Leeming <leeming@lyx.org>
2438 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2439 dependencies on src/frontends/controllers/biblio.h. Define a
2440 CiteEngine_enum wrapper class to enable the enum to be forward
2443 2004-05-12 Angus Leeming <leeming@lyx.org>
2445 * buffer.C: up LYX_FORMAT to 234.
2446 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2447 use_numerical_citations with a single biblio::CiteEngine cite_engine
2449 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2451 2004-05-13 José Matos <jamatos@lyx.org>
2454 * converter.C (Converter, readFlags): add xml member.
2455 * outputparams.h: add XML flavor.
2456 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2458 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2460 * lyxfunc.C (dispatch):
2461 (getStatus): fix handling of LFUN_SEQUENCE
2463 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2465 * debug.C (showLevel): do not forget the end-of-line marker
2467 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2469 * kbmap.C (read): do not stop parsing a bind file when an error
2472 2004-04-29 Angus Leeming <leeming@lyx.org>
2477 * text2.C: wrap a bunch of #warning statements
2478 inside #ifdef WITH_WARNINGS blocks.
2480 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2482 * buffer.C: increment format to 233.
2484 2004-04-28 Angus Leeming <leeming@lyx.org>
2486 * BufferView_pimpl.C:
2489 s/updateToolbar()/updateToolbars()/
2490 s/Toolbar.h/Toolbars.h/
2492 2004-04-28 Angus Leeming <leeming@lyx.org>
2494 * BufferView.[Ch] (c-tor):
2495 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2496 No longer passes these data to the WorkArea generator.
2498 2004-04-28 Angus Leeming <leeming@lyx.org>
2500 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2502 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2504 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2506 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2508 * output_latex.C (TeXEnvironment): make sure that there is a line
2509 break before \end{foo} for the last paragraph of a document
2510 (TeXOnePar): if the paragraph is at the end of the document (or
2511 inset) and the language has to be reset, then make sure that the
2512 line break is _before_ the language command, not after (fixes bug
2513 1225); also make sure that the language reset command is the first
2514 thing after the paragraph (to ensure proper nesting of
2515 environments and thus fix bug 1404)
2517 2004-04-21 John Levon <levon@movementarian.org>
2520 * ToolbarBackend.C: make "name" be a programmatic name
2521 and a gui_name field.
2523 * lyxfunc.C: display the minibuffer on M-x
2525 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2527 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2530 2004-04-19 Angus Leeming <leeming@lyx.org>
2532 * BufferView_pimpl.C (setBuffer): changed preview interface.
2534 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2537 2004-04-19 John Levon <levon@movementarian.org>
2539 * BufferView_pimpl.C:
2540 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2542 2004-04-05 Angus Leeming <leeming@lyx.org>
2544 * text.C (redoParagraphs): add call to updateCounters(), thereby
2545 fixing the missing "Figure #:" label from the caption of a
2548 2004-04-13 Angus Leeming <leeming@lyx.org>
2550 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2551 cursor is clicked out of an inset.
2553 2004-04-13 Angus Leeming <leeming@lyx.org>
2555 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2556 than an InsetOld one.
2558 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2560 * format.[Ch]: add editor to Format
2561 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2562 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2564 2004-04-08 André Pönitz <poenitz@gmx.net>
2566 * metricsinfo.h: remove PainterInfo::width member
2568 2004-04-08 Angus Leeming <leeming@lyx.org>
2570 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2571 "\providecommand" rather than "\newcommand", thereby preventing
2572 clashes with packages that define "\boldsymbol" themselves.
2575 2004-04-08 Angus Leeming <leeming@lyx.org>
2577 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2578 thereby squashing an unnecessary warning.
2580 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2582 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2585 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2587 * BufferView.C (setCursor): call redoParagraph (some insets could
2589 (putSelectionAt): remove the 'double update' trick
2591 * BufferView_pimpl.C (fitCursor): call refreshPar
2592 (workAreaDispatch): remove an uneeded update call
2593 (dispatch): remove some manual update calls
2595 * cursor.[Ch]: remove cached_y_, updatePos
2596 (selHandle): set noUpdate when appropriate
2598 * lyxfunc.C (dispatch): track if we need an update
2600 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2602 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2603 (paintSelection): cheap optimization, do not call cursorX when not
2605 (paintPars): change signature
2608 (paintTextInset): adjust
2612 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2614 * lengthcommon.C: compilation fix: remove explicit array size from
2615 unit_name[] and friends
2617 2004-04-05 Angus Leeming <leeming@lyx.org>
2619 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2621 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2622 present only for the preferences dialog.
2623 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2625 2004-04-05 Angus Leeming <leeming@lyx.org>
2627 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2628 to enable the frontends to export changes to lyxrc correctly.
2630 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2632 2004-04-07 André Pönitz <poenitz@gmx.net>
2634 * cursor.[Ch] (selClear, adjust): remove math
2636 * cursor_slice.C: more agressive assert
2639 * BufferView_pimpl.C: rework mouse event dispatch
2646 2004-04-05 André Pönitz <poenitz@gmx.net>
2648 * cursor.[Ch] (valign, halign...): remove unneeded functions
2650 2004-04-05 Angus Leeming <leeming@lyx.org>
2652 * lyxlength.[Ch] (unit_name et al.): const-correct.
2654 2004-04-05 Angus Leeming <leeming@lyx.org>
2656 * BufferView_pimpl.C:
2665 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2667 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2669 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2671 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2673 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2674 * BufferView_pimpl.[Ch] (getStatus)
2675 * BufferView.[Ch] (getStatus): add
2676 * lyxfunc.C (getStatus): move lfuns handled in
2677 BufferView::dispatch to te function above
2678 * Cursor.C (setSelection): set selection() = true
2680 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2682 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2684 2004-03-31 Angus Leeming <leeming@lyx.org>
2686 * lyxfunc.C (dispatch): Fall through to the generic
2687 Dialogs::show("preamble").
2689 2004-03-31 Angus Leeming <leeming@lyx.org>
2691 * lyxfunc.C (dispatch): Fall through to the generic
2692 Dialogs::show("spellchecker").
2694 2004-03-31 Angus Leeming <leeming@lyx.org>
2696 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2699 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2704 * insetiterator.[Ch]:
2709 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2711 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2713 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2714 insets where we are putting the cursor.
2716 2004-03-31 Angus Leeming <leeming@lyx.org>
2719 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2721 * lyxrc.[Ch] (read, write): overloaded member functions taking
2722 a std::[io]stream arguments.
2724 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2726 2004-03-31 Angus Leeming <leeming@lyx.org>
2728 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2729 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2731 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2732 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2734 2004-03-31 Angus Leeming <leeming@lyx.org>
2736 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2737 the LFUN_ALL_INSETS_TOGGLE code.
2739 2004-03-30 Angus Leeming <leeming@lyx.org>
2741 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2742 has died. Fall through to the generic Dialogs::show("document").
2744 2004-03-30 Angus Leeming <leeming@lyx.org>
2747 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2748 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2750 * lyxfunc.C (getStatus, dispatch): define the actions for these
2751 lfuns. Little more than a cut and pste job from ControlDocument.C
2753 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2755 2004-03-30 Angus Leeming <leeming@lyx.org>
2758 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2759 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2761 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2762 open/closed state of ollapsable insets. Usage:
2764 all-inset-toggle <state> <name>, where
2765 <state> == "open" || "closed" || "toggle" and
2766 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2768 * lyxtext.h, text2.C (toggleInset): removed.
2770 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2771 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2772 now passes LFUN_INSET_TOGGLE to the found inset.
2774 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2775 is now invoked as "all-insets-toggle toggle branch".
2777 2004-03-30 Angus Leeming <leeming@lyx.org>
2781 * pariterator.[Ch]: added/corrected header blurb.
2783 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2785 * dociterator.[Ch]: add an inset_ member
2786 (backwardPos): implemented
2787 (backwardPos, forwardPos): use inset_ when the stack is empty.
2788 (doc_iterator_begin, doc_iterator_end): implemented
2789 * pariterator.[Ch]: adjust, add begin, end
2790 * insetiterator.[Ch]: adjust, add begin, end
2794 * BufferView_pimpl.C:
2795 * CutAndPaste.C: adjust
2797 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2799 * buffer.C: increment file format to 232.
2800 * LaTeXFeatures.C: add bibtopic package.
2801 * bufferparams.[Ch]: param \use_bibtopic.
2803 * lyxrc.[Ch]: add lyxrc bibtex_command
2804 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2806 * buffer.C: increment file format to 231.
2808 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2810 * dociterator.C: implement forwardPar
2811 * iterators.[Ch]: remove, replaced by
2812 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2814 * BufferView_pimpl.C:
2817 * bufferview_funcs.C:
2823 * Makefile.am: adjust
2825 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2827 * CutAndPaste.C (pasteSelection): fix 2 crashes
2828 (eraseSelection): fix a crash
2829 * paragraph_funcs.C: remove a warning
2831 2004-03-28 Angus Leeming <leeming@lyx.org>
2834 * LyXAction.C (init): new LFUN_PRINT.
2836 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2838 2004-03-27 Angus Leeming <leeming@lyx.org>
2841 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2843 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2845 2004-03-27 Angus Leeming <leeming@lyx.org>
2847 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2848 insetlist always contains non-null pointers to insets.
2850 2004-03-26 Angus Leeming <leeming@lyx.org>
2852 * src/BufferView_pimpl.C:
2853 * src/CutAndPaste.C:
2856 * src/output_plaintext.C:
2857 * src/outputparams.h:
2858 * src/paragraph_funcs.C:
2862 * src/frontends/controllers/ControlErrorList.C:
2863 * src/frontends/gtk/FileDialogPrivate.C:
2864 * src/frontends/gtk/GPainter.C:
2865 * src/frontends/gtk/GToolbar.C:
2866 * src/frontends/qt2/QRef.C:
2867 * src/mathed/math_scriptinset.C: squash compiler warnings.
2869 2004-03-26 Angus Leeming <leeming@lyx.org>
2871 * ispell.C (LaunchIspell::start):
2872 * lyx_cb.C (AutoSaveBuffer::start):
2873 invoke run(DontWait) rather than runNonBlocking().
2875 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2877 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2879 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2881 * kbsequence.C (print): adjust
2883 * kbmap.C (printKeySym): rename and change signature
2884 (printKey): use LyXKeySym::print()
2886 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2888 * undo.C: add using std::advance to compile for stlport
2890 2004-03-24 Angus Leeming <leeming@lyx.org>
2892 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2893 it leads to a crash when no buffer is present.
2895 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2896 Martin Vermeer <martin.vermeer@hut.fi>
2898 * lyxfunc.C (dispatch):
2899 * bufferparams.C (readToken): use the new LColor::setColor
2901 * LColor.[Ch] (setColor): new version that takes two strings as
2902 argument and creates a new color entry if necessary
2904 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2906 * buffer.C (makeLaTeXFile): if the main latex file that is
2907 processed is usually a subdocument of some master, then pretend
2908 for a while that it is actually the master
2910 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2912 * buffer.C (getLabelList):
2913 (getBibkeyList): use getMasterBuffer()
2914 (getMasterBuffer): new method. Returns the main document in the
2915 case where one is using included documents.
2917 2004-03-25 André Pönitz <poenitz@gmx.net>
2921 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2923 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2925 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2926 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2928 * ParameterStruct.h: merge with ParagraphParameters
2930 * lyxtext.h: remove LyXText::parOffset() and getPar()
2932 * text3.C: Remove all 'manual' update calls. We do now one per user
2933 interaction which is completely sufficient.
2937 * BufferView_pimpl.C:
2938 * FontIterator.[Ch]:
2940 * ParagraphParameters.[Ch]:
2945 * cursor_slice.[Ch]:
2952 * output_docbook.[Ch]:
2953 * output_latex.[Ch]:
2954 * output_linuxdoc.[Ch]:
2955 * output_plaintext.[Ch]:
2957 * paragraph_funcs.[Ch]:
2958 * paragraph_pimpl.[Ch]:
2966 * frontends/controllers/ControlDocument.C:
2967 * frontends/controllers/ControlErrorList.C:
2968 * frontends/controllers/ControlSpellchecker.C:
2971 * insets/insetbase.h:
2972 * insets/insetbibitem.C:
2973 * insets/insetbox.C:
2974 * insets/insetbranch.C:
2975 * insets/insetcaption.C:
2976 * insets/insetcharstyle.C:
2977 * insets/insetcharstyle.h:
2978 * insets/insetcollapsable.C:
2979 * insets/insetcollapsable.h:
2980 * insets/insetert.C:
2981 * insets/insetfloat.C:
2982 * insets/insetfoot.C:
2983 * insets/insetmarginal.C:
2984 * insets/insetnote.C:
2985 * insets/insetoptarg.C:
2986 * insets/insettabular.C:
2987 * insets/insettext.C:
2988 * insets/insettext.h:
2989 * insets/insetwrap.C:
2990 * mathed/math_mboxinset.C:
2991 * mathed/math_nestinset.C:
2992 * mathed/math_scriptinset.C:
2993 * mathed/math_scriptinset.h:
2996 2004-03-24 Angus Leeming <leeming@lyx.org>
2998 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2999 deal with any child processes that have finished but are waiting to
3000 communicate this fact to the rest of LyX.
3002 2004-03-24 Angus Leeming <leeming@lyx.org>
3004 64-bit compile fixes.
3006 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3007 (c-tor): pass lyx::pos_types rather than ints.
3009 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3012 * text.C (Delete): compile fix.
3013 (getPar): ensure that function declaration is the same as that in
3016 2004-03-23 Angus Leeming <leeming@lyx.org>
3018 * ispell.C (LaunchIspell):
3019 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3020 a boost::shred_ptr rather than a std::auto_ptr.
3022 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3024 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3025 handle LFUN_FILE_INSERT_*
3027 * lyxrc.C (setDefaults, getDescription, output, read):
3028 * lyxrc.h: remove ps_command
3030 2004-03-22 Angus Leeming <leeming@lyx.org>
3032 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3033 Ensure that error_handler is processed once only and that all data
3034 is saved before attempting to output any warning messages.
3036 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3038 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3040 * tabular.C (TeXRow): crash fix (from Kayvan and André)
3042 2004-03-19 André Pönitz <poenitz@gmx.net>
3044 * cursor.[Ch] (reset): take main text inset as argument
3046 * BufferView: adjust
3047 * BufferView_pimpl.C: adjust
3049 * paragraph.[Ch]: fix completely broken operator=()
3051 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3053 * LColor.C (getFromLyXName): make sure that the color name is used
3056 2004-03-17 Angus Leeming <leeming@lyx.org>
3059 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3061 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3062 dialog and to kill a forked process.
3064 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3066 * text2.C (setCursorFromCoordinates): fix font problem
3068 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3070 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3071 bogus "rebuild cursor" code
3073 2004-03-11 André Pönitz <poenitz@gmx.net>
3075 * buffer.[Ch]: use InsetText instead of LyXText as container for
3078 * dociterator.[Ch]: drop the BufferView * member which is not needed
3079 anymore after the change to buffer.C
3081 * paragraph_funcs.C:
3085 * BufferView_pimpl.[Ch]:
3087 * cursor_slice.[Ch]: adjust
3089 * text3.C: fix bug in mathDispatch
3091 2004-03-08 André Pönitz <poenitz@gmx.net>
3093 * undo.[Ch]: use 'StableDocumentIterator' as base for
3096 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3099 * bufferparams.[Ch]: add jurabib support and param.
3101 * LaTeX.C: add FIXME/comment.
3103 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3105 * buffer.C: increment file format to 230.
3107 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3109 * cursor.C (dispatch): avoid infinite loops
3111 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3113 * rowpainter.C (paintSelection): fix x coordinates
3115 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3117 * text.C (rowBreakPoint): fix breaking before displayed insets
3119 2004-03-01 André Pönitz <poenitz@gmx.net>
3121 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3123 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3127 * BufferView_pimpl.C:
3135 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3141 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3142 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3144 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3146 * Bidi.[Ch] (computeTables): const correctness
3147 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3148 fill_hfill, fill_label_hfill and x from Row
3149 * lyxtext.h: prepareToPrint returns a RowMetrics
3150 * rowPainter.C: adjust
3151 * text.C (prepareToPrint): use width, not textWidth. adjust
3152 (redoParagraphInternal, cursorX): adjust
3153 * text2.C (getColumnNearX): adjust
3154 (init): put a default value to the top LyXText::width
3156 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3158 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3160 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3162 * lyxtext.h: add FontIterator class
3164 * text.C (FontIterator, operator*, operator->, operator++): add
3165 (rowBreakPoint, setRowWidth): adjust (fixing a
3168 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3170 * BufferView_pimpl.C (workAreaDispatch): allow also
3171 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3173 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3175 * text.C (rowBreakPoint): fix a bug showing with very large insets
3177 2004-02-25 André Pönitz <poenitz@gmx.net>
3180 * cursor.[Ch]: move some mathed specific code to mathed
3182 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3184 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3185 use_tempdir in preferences
3186 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3188 * lyx_main.C: ensure that tempdir is valid
3189 * lyxlex.h: correct typo
3190 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3191 * paragraph.[Ch] (isMultiLingual): make const
3192 * cursor.[Ch] (openable): make const
3194 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3196 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3198 2004-02-20 André Pönitz <poenitz@gmx.net>
3200 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3202 * cursor.[Ch]: prepare for localized getStatus()
3208 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3210 2004-02-20 André Pönitz <poenitz@gmx.net>
3212 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3214 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3216 * text2.C (setCursorFromCoordinates): switch to absolute coords
3218 (cursorDown): adjust
3219 * text3.C (dispatch): adjust
3221 2004-02-16 André Pönitz <poenitz@gmx.net>
3223 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3226 * cursor_slice.[Ch]: remove unneeded acessor function
3228 * lyxtext.h: rename rtl() to isRTL()
3236 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3238 * rowpainter.C (paintSelection): coord fix
3240 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3242 * Spacing.C: compile fix
3244 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3246 * cursor.C (dispatch): restore current_ before returning
3248 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3250 * text2.C (cursorUp, cursorDown): fix coords
3253 2004-02-12 André Pönitz <poenitz@gmx.net>
3258 * text3.C: add LCursor & parameter to most cursor movement functions
3259 remove usage of LyXText::cursorRow() and cursorPar()
3261 * cursor.[Ch]: add textRow() needed members
3264 * BufferView_pimpl.C:
3267 * BufferView_pimpl.C: adjust
3269 2004-02-11 André Pönitz <poenitz@gmx.net>
3273 * BufferView_pimpl.C: shift undo/redo handling
3275 * cursor.[Ch]: fix mathed crash
3278 * lyxtext.h: move selectionAsText to LCursor
3286 * rowpainter.C: fix excessive drawing
3288 2004-02-06 André Pönitz <poenitz@gmx.net>
3291 * BufferView_pimpl.[Ch]:
3292 * text3.C: move some text specific LFUN handling
3294 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3296 * text3.C (checkInsetHit): adjust coords
3297 * text2.C (getColumnNearX): adjust coords
3298 (edit): adjust coords
3299 * text.C (getRowNearY): add two asserts
3301 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3304 * format.C: add using std::distance to compile on gcc 2.95/stlport
3306 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3308 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3310 2004-02-04 André Pönitz <poenitz@gmx.net>
3312 * BufferView.[Ch] (insertInset):
3313 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3318 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3320 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3321 on the default clause of the switch
3322 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3323 wasn't catched by LCursor::dispatch
3325 2004-02-03 André Pönitz <poenitz@gmx.net>
3328 * cursor.[Ch]: some additional asserts
3330 * undo.[Ch]: remove LyXText dependency in interface
3334 * lyxtext.h (firstPar, lastPar): remove dead functions
3339 * paragraph.[Ch]: adjust
3341 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3343 * lyxfind.C (find): fix argument order in call to ::find
3345 2004-02-02 André Pönitz <poenitz@gmx.net>
3347 * cursor.[Ch]: remove direct access to anchor
3349 * text.C: remove findText() hack
3351 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3353 * iterators.[Ch] (lockPath): remove in favour of...
3354 * BufferView.[Ch] (setCursor): this addition
3355 * BufferView.C (putSelectionAt): adjust
3356 * undo.C (performUndoOrRedo): adjust
3357 * lyxfunc.C (dispatch): adjust
3359 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3361 * iterators.C (lockPath): add a missing slice
3362 * undo.C (performUndoOrRedo): remove redundant positioning code
3364 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
3366 * vc-backend.C (scanMaster): ";" -> ';'
3368 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
3370 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3371 std::binary_function
3373 * lyxtextclass.C (compare_name): rename to...
3374 (LayoutNamesEqual): ...this
3376 * lyxlex_pimpl.C (compare_tags): inherit from
3377 std::binary_function, put back into anon namespace
3379 * lyxfind.C (MatchString): inherig from std::binary_function
3380 (findChange): use empty() istead of !size()
3382 * format.C (FormatNamesEqual): new functor
3389 * converter.C (compare_Converter): rename to...
3390 (ConverterEqual): ...this, and fixup a bit.
3391 (getConverter): use it, and make function const
3392 (getNumber): use it, and make function const
3396 * bufferlist.C: add using boost::bind
3398 * MenuBackend.C (MenuNamesEqual): new functor
3399 (hasMenu): use it, and make function const
3400 (hasSubmenu): use nested bind to get rid of compare_memfun.
3402 2004-01-30 André Pönitz <poenitz@gmx.net>
3404 * BufferView_pimpl.C:
3407 * cursor_slice.[Ch]:
3410 * paragraph_funcs.C:
3411 * paragraph_funcs.h:
3415 * text3.C: move some of the edit(x,y) handling to the insets
3416 some coordinate changes.
3418 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
3420 * text.C: add using statements for std::advance and std::distance
3422 * paragraph.C: add using statement for std::distance
3424 * lyxfind.C: add using statement for std::advance
3426 * cursor.C (region): remove std:: from swap
3427 (openable): use nucleus in stead of operator->
3429 * BufferView.C: add using statements for std::distance and std::swap
3431 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
3433 * iterators.C: Remove the pimple, move the needed structures to
3434 the header file. Create accessor for the positions stack.
3435 (asPosIterator): remove function
3437 * PosIterator.C (PosIterator): move constructors to top of file
3438 (PosIterator): reimplement the constructor taking a ParIterator in
3440 (setFrom): new function
3441 (operator!=): inline it
3443 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
3445 * lyxfind.C (replaceAll): use std::advance
3447 * iterators.h: inherit from std::iterator.
3449 * PosIterator.C (advance, distance): remove
3450 * PosIterator.h: interit from std::iterator.
3452 2004-01-26 André Pönitz <poenitz@gmx.net>
3455 * BufferView_pimpl.[Ch]:
3459 * bufferview_funcs.C:
3469 * output_linuxdoc.C:
3470 * output_plaintext.C:
3472 * paragraph_funcs.[Ch]:
3473 * paragraph_pimpl.[Ch]:
3479 * text3.C: more IU: dumps most of the rest of the mathcursor
3480 implementation into cursor.[Ch]; "globalize" a bit of it.
3482 2004-01-25 Angus Leeming <leeming@lyx.org>
3484 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3486 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3488 * LaTeXFeatures.h: add nice_ and nice() const
3489 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3491 2004-01-20 André Pönitz <poenitz@gmx.net>
3494 * BufferView_pimpl.C:
3496 * bufferview_funcs.C:
3498 * cursor_slice.[Ch]:
3509 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3510 LCursor and mathcursor parts to LCursor and InsetBase.
3512 2004-01-15 André Pönitz <poenitz@gmx.net>
3514 * cursor_slice.[Ch]: add a few covienience functions
3516 * funcrequest.[Ch]: remove BufferView * member
3518 * BufferView_pimpl.C:
3525 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3527 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3529 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3530 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3532 2004-01-13 André Pönitz <poenitz@gmx.net>
3535 * lyxtext.h: hide cursor and selection anchor behind accessor function
3538 * BufferView_pimpl.[Ch]:
3540 * bufferview_funcs.C:
3550 * cursor_slice.[Ch]: some integer type changes for inset unification
3552 * lyxcursor.[hC]: remove, it's CursorSlice now.
3555 * BufferView_pimpl.[Ch]:
3556 * bufferview_funcs.C:
3562 * textcursor.[Ch]: adjust
3564 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3566 * text2.C (undoSpan): add and use
3567 * text.C (breakParagraph): use undoSpan (fix bug 578)
3570 2004-01-08 Angus Leeming <leeming@lyx.org>
3572 * BufferView_pimpl.C (MenuInsertLyXFile):
3573 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3574 * lyxfunc.C (menuNew, open, doImport):
3575 FileFilterList change to the FileDialog open and save functions.
3577 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
3579 * ShareContainer.h: make isEqual and isUnique adaptable
3581 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3583 2004-01-07 Angus Leeming <leeming@lyx.org>
3586 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3588 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3590 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3591 functions replacing find, replace and replaceAll.
3593 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3594 LFUN_WORDFIND(FORWARD|BACKWARD).
3596 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3598 * text.C (breakParagraph): remove an outdated #warning
3600 2004-01-07 André Pönitz <poenitz@gmx.net>
3602 * lyxfind.C: somewhat clearer logic
3604 * text.C: prevent crash in cursorX on unitialized row cache
3606 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3608 * lyxcursor.[Ch] (operator>): add
3609 * textcursor.C (selStart, selEnd): use std::min and std::max
3611 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3613 * Chktex.C: include boost/format.hpp
3615 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3617 * InsetList.C: replace functor MathcIt with adaptable functor
3619 (insetIterator): modify accordingly
3621 * BranchList.h: move the BranchNamesEqual functor here from...
3622 * BranchList.C: ... to here
3624 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3626 (add): replace a finding loop with std::find_if.
3628 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3630 * output_docbook.C: moving LatexParam functionality into
3633 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3635 * buffer.C: increment format to 229.
3637 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3640 * lyx_sty.[Ch]: remove minipageindent_def
3646 * text3.C: remove LFUN_INSET_MINIPAGE
3648 2003-12-28 Angus Leeming <leeming@lyx.org>
3650 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3652 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3654 * text2.C (setParagraph): fix off-by-one crash
3656 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3658 * output_docbook.C: header stuff for AGU
3660 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3662 * text2.C (redoCursor): remove
3665 * BufferView_pimpl.C: remove calls to redoCursor and
3666 setCursor(cursor.par(), cursor.pos()) all around
3668 2003-12-15 Angus Leeming <leeming@lyx.org>
3670 * buffer.C: up the format to 228.
3672 2003-12-15 André Pönitz <poenitz@gmx.net>
3674 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3679 * BufferView_pimpl.C:
3688 2003-12-15 Angus Leeming <leeming@lyx.org>
3690 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3691 than getFromGUIName to manipulate the color.
3693 2003-12-14 Angus Leeming <leeming@lyx.org>
3695 * BranchList.[Ch]: minimize the API.
3696 (Branch::getBranch, getColor): now return a 'const &'.
3697 (Branch::setSelected) now returns a bool set to true if the
3698 selection status changes.
3699 (BranchList::clear, size, getColor, setColor, setSelected,
3700 allBranches, allSelected, separator): removed.
3701 (BranchList::find): new functions, returning the Branch with
3703 (BranchList::add, remove): return a bool indicating that
3704 the operation was successful.
3706 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3707 new InsetBranch::isBranchSlected member function.
3709 * LColor.[Ch]: mimimize the API.
3710 (fill): renamed as addColor and made private.
3711 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3712 versions of these functions taking a string arg have been removed.
3714 * bufferparams.C (readToken):
3715 * lyxfunc.C (dispatch):
3716 * lyxrc.C (read): changes due to the altered BranchList and
3719 * factory.C (createInset, readInset): changes due to altered
3722 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3725 * lyxfunc.C: remove insetminipage. "minipage-insert"
3726 now produces a frameless minipage box inset.
3728 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3730 * textcursor.[Ch] (selStart,selEnd): add new methods
3731 remove selection::start, end, use LyXCursor::operator<
3732 * lyxcursor.[Ch] (operator<): add
3733 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3734 * BufferView.[Ch] (unsetXSel): add
3735 * text2.C (clearSelection): use unsetXSel,adjust
3738 * rowpainter.C: adjust
3739 * bufferview_funcs.C (put_selection_at): adjust
3741 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3743 * BufferView_pimpl.C: small coord. correction
3745 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3747 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3748 dragging over the splash screen.
3750 2003-12-11 Angus Leeming <leeming@lyx.org>
3752 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3753 as it is now handled in LyXText::dispatch.
3755 * text3.C (doInsertInset): remove a level of nesting.
3757 2003-12-11 Angus Leeming <leeming@lyx.org>
3759 * factory.C (createInset): changes due to the changed interface to
3760 InsetCommandMailer::string2params.
3762 2003-12-10 Angus Leeming <leeming@lyx.org>
3764 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3765 'dialog-show-new-inset <inset name>'
3767 2003-12-10 Angus Leeming <leeming@lyx.org>
3769 * buffer.C: up the format to 227.
3771 * factory.C: the box inset is now identified simply by 'Box'.
3773 2003-12-10 Angus Leeming <leeming@lyx.org>
3775 * buffer.C: up the format to 226.
3777 * factory.C: the note inset is now identified simply by 'Note'.
3779 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3781 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3782 when a pit is enough. Standarize a couple of loops.
3784 2003-12-05 Angus Leeming <leeming@lyx.org>
3786 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3787 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3788 data to the re-worked "log" dialog.
3790 2003-12-03 André Pönitz <poenitz@gmx.net>
3796 * paragraph_funcs.C:
3798 * text2.C: use Inset::getText instead of Inset::getParagraph
3800 2003-12-03 André Pönitz <poenitz@gmx.net>
3804 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3805 InsetText::read() as LyXText::read()
3807 2003-12-02 Angus Leeming <leeming@lyx.org>
3809 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3810 type. Add a comment in the implementation that the function uses
3811 the stream's bad() function rather than fail() as the std::streams
3814 2003-12-02 André Pönitz <poenitz@gmx.net>
3816 * lyxlex.[Ch]: make interface more similar to std::stream
3818 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3820 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3822 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3824 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3826 * vspace.[Ch]: remove VSpace::NONE
3828 2003-12-01 André Pönitz <poenitz@gmx.net>
3831 * lyxtext.h: move ParagraphList member to LyXText
3832 rename LyXText::ownerParagraphs to LyXText::paragraph
3835 * bufferview_funcs.C:
3845 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3847 * undo.C: fix cursor positioning
3849 2003-12-01 John Levon <levon@movementarian.org>
3851 * BufferView_pimpl.C: fix a crash on exit with
3854 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3856 * BranchList.C: fix setSelected() method.
3858 2003-11-28 André Pönitz <poenitz@gmx.net>
3860 * ParagraphParameters.[Ch]:
3861 * ParameterStruct.h: remove space above/below from Paragraph to
3864 * BufferView_pimpl.C:
3870 * paragraph_funcs.C:
3876 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3878 * factory.C: Syntax change for CharStyles
3880 2003-11-28 André Pönitz <poenitz@gmx.net>
3885 * buffer.[Ch]: move LyXText member
3887 2003-11-28 André Pönitz <poenitz@gmx.net>
3889 * BufferView.[Ch]: make LyXText * text a private member
3891 * BufferView_pimpl.C:
3902 * output_plaintext.C: cleanup
3904 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3907 * lyxtextclass.[Ch]: parametrize SGML document header
3909 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3912 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3915 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3917 * text2.C (setFont): rework using PosIterator (no more recursive)
3918 (setCharFont): no more needed
3919 (setLayout): no more selection cursors fiddling (done by redoCursor)
3920 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3921 destroy remaining ones)
3923 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3925 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3927 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3930 * text3.C: adjust + re-allow multi par depth changes
3931 * textcursor.C: simplify a bit
3933 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3939 * src/output_docbook.C:
3940 * src/output_latex.C:
3945 * src/text2.C: Introducing a number of tags parametrizing various
3946 XML formats that we may want to support
3948 2003-11-25 André Pönitz <poenitz@gmx.net>
3950 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3952 * lyxtext.h (leftMargin/rightMargin): simplify interface
3959 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3961 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3962 master file to any child files. Fixes bug 546.
3964 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3966 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3968 2003-11-24 André Pönitz <poenitz@gmx.net>
3970 * rowpainter.C: simplification
3972 * text2.C (updateCounters): remove call to redoParagraph on
3973 changed labels as this is far too expensive.
3975 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3977 * converter.C (convert): fix a crash: this function gets
3978 called with buffer == 0 from importer code.
3980 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3982 * text3.C (cursorPrevious): make sure that we do not compare
3983 iterators form different containers.
3986 * rowpainter.C (paintSelection): make sure that we do not compare
3987 iterators from different containers.
3989 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3990 iterators from different ParagraphList containers.
3993 * text2.C (LyXText): change order of initialization slightly
3994 (operator=): new function. copy all variables except cache_par_
3995 (moveUp): make sure that we do not compare iterators from
3996 different ParagraphList constainers.
3999 * text.C (firstPar): new function
4000 (lastPar): new function
4001 (endPar): new function
4003 * lyxtext.h: move things around and group public functions, public
4004 variables, private functions, private variables
4006 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4008 * factory.C: change call to InsetERT constructor to avoid
4009 additional invocation of method status
4010 * text2.C (toggleInset): remove redundant update() call
4011 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4012 instead of a Bufferview pointer
4014 2003-11-21 André Pönitz <poenitz@gmx.net>
4016 * rowpainter.C: simplification
4018 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4020 * text3.C (dispatch): make possible to extend a word/row selection
4023 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4025 * lyxtext.h: x0_,y0_ -> xo_,yo_
4026 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4027 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4028 * rowpainter.C (paintRows): paint full paragraphs
4030 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4032 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4035 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4037 * lyxtext.h: add x0_, y0_
4038 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4039 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4041 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4043 * text2.C (setCursorIntern): move the x_target update here *
4044 * text3.C: change some bv() to true/false in calls to
4045 cursorUp/Down/Right/Left
4046 * cursor.C: use helper function.
4048 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4050 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4051 * paragraph_funcs.[Ch]: correct comment
4052 * rowpainter.C: do not paint selections away from bv->cursor()
4053 Fix a long standing selection painting bug.
4054 * text3.C: generalize mouse-selection code to LyXTexts other that
4056 * textcursor.C: do not use y coords if we can use par offsets
4058 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4060 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4061 cursor position after e.g. inset insert)
4063 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4065 * lyxfind.C (replace): adjust to locking removal + some
4068 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4070 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4073 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4076 * output_docbook.C: XML sanitation: new layout
4077 parameters InnerTag and CommandDepth
4079 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4081 * BufferView_pimpl.C:
4083 * text3.C: Fix the insertion and modification of button-style
4086 2003-11-13 André Pönitz <poenitz@gmx.net>
4088 * InsetList.[Ch]: remove deleteLyXText
4090 * paragraph.[Ch]: cache beginOfBody position
4095 * text3.C: remove superfluous update() calls
4099 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4101 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4102 * BufferView.C (fitLockedInsetCursor): remove
4103 * cursor.[Ch] (getDim): add
4104 * text.C (getRowNearY): add faster version
4105 * text3.C: remove some update calls
4107 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4119 * text3.C: The Character Style /XML short element patch.
4121 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4124 * factory.C: Small step to solving 'unable to insert some insets'
4127 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4129 * cursor.[Ch] (updatePos): new function for updating the y
4130 position of the tip inset
4131 * bufferview_funcs.C (put_selection_at):
4132 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4134 2003-11-11 André Pönitz <poenitz@gmx.net>
4136 * text.C: remove big comment on invalid Paragraph pointers as it is
4139 2003-11-11 André Pönitz <poenitz@gmx.net>
4141 * text_funcs.[Ch]: merge with ...
4149 * Makefile.am: remove text_funcs.[Ch]
4151 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4153 * cursor.C (getPos): return absolute cached y coord
4155 * BufferView_pimpl.C (fitCursor): new simplistic code
4156 (workAreaDispatch): add a fitCursor call
4158 2003-11-10 André Pönitz <poenitz@gmx.net>
4161 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4163 2003-11-10 André Pönitz <poenitz@gmx.net>
4165 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4166 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4167 indicate that the cursor needs to leave an inset
4169 * lyxtext.h: remove inset locking
4171 * cursor.[Ch]: re-implement functionality provided by inset locking
4174 * BufferView_pimpl.[Ch]:
4176 * bufferview_funcs.[Ch]:
4188 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4190 * PosIterator.[Ch]: replace the stack with a vector, add inset
4192 * iterators.[C]: adjust
4194 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4196 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4198 * paragraph_funcs.C (readParToken): put the correct id in the
4199 error item, not the id of the top paragraph
4201 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4203 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4204 * bufferview_funcs.C (put_selection_at): use the above
4206 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4208 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4210 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4212 * output_linuxdoc.h:
4213 * output_plaintext.h:
4215 * output_docbook.h: add #include statements
4217 2003-11-05 José Matos <jamatos@lyx.org>
4219 * output_docbook.[Ch]:
4220 * output_latex.[Ch]:
4221 * output_linuxdoc.[Ch]:
4222 * output_plaintext.[Ch]: New files for output formats.
4223 * output.[Ch]: New file for helper functions.
4226 * paragraph_funcs.[Ch]: output functions moved to new files.
4228 * outputparams.h: rename of latexrunparams.h
4236 * paragraph_funcs.[Ch]:
4237 * paragraph_pimpl.[Ch]:
4238 * tabular.[Ch]: rename ascii to plaintext
4239 and LatexRunParams to OutputParams.
4241 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4243 * iterators.[Ch] (text): require bv argument
4244 * undo.C (recordUndo):
4245 * lyxfunc.C (dispatch):
4246 * bufferview_funcs.C (put_selection_at): adjust
4248 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
4250 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4252 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4254 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4257 2003-11-04 André Pönitz <poenitz@gmx.net>
4259 * cursor.[Ch]: restructure
4262 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4264 * iterators.[Ch] (asCursor): remove
4266 * lfuns.h: remove LFUN_INSET_EDIT
4272 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4274 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4276 * lyxfind.[Ch]: complete overhaul
4277 * BufferView_pimpl.C:
4279 * paragraph.[Ch] (insert): add
4281 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4285 * text.C: remove dead spellcheck code
4287 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4289 * dispatchresult.h: add a val setter
4291 * cursor.C (dispatch): use a tempvar for data_[i]
4293 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4295 * PosIterator.[Ch]: compile fix
4297 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4299 * text.C (cursorPar): deactivate the cursor cache
4301 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4303 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4305 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4307 * text3.C (dispatch): adjust for new DisptchResult semantics.
4309 * lyxfunc.C (dispatch): handle update when return from
4310 Cursor::dispatch, adjust for new DispatchResult semantics.
4312 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4313 DispatchResult(true) mean to not update. Add class functions for
4314 setting dispatched and update, as well as reading.
4316 * cursor.C (dispatch): don't handle update here
4318 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4320 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4321 * trans_mgr.C: adjust
4323 * paragraph_funcs.C (readParToken): exception safety
4325 * lyxvc.h: store the vcs pointer in a scoped_ptr
4328 * lyxsocket.C (serverCallback): exception safety
4330 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4332 * ispell.C (clone): make it return a auto_ptr
4334 * factory.C (createInset): exception safety
4335 (readInset): exception safety
4337 * bufferlist.C (newBuffer): exception safety
4339 * Thesaurus.C (Thesaurus): use initialization for aik_
4341 * MenuBackend.C (expandToc): exception safety.
4343 2003-11-03 André Pönitz <poenitz@gmx.net>
4347 * bufferview_funcs.C: remove getInsetFromId()
4350 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4356 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4358 * PosIterator.C (distance, advance): new
4359 * bufferview_funcs.[Ch] (put_selection_at): new
4360 * iterators.[Ch] (lockPath): new
4362 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4364 * iterators.[Ch] (asPosIterator): added
4365 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4366 * PosIterator.[Ch]: added
4368 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4372 * cursor.C (dispatch):
4373 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4375 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4376 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4377 contructor, add a class function dispatched. Remove operator>=
4379 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4381 * debug.C: only use the default constructor for debugstream
4384 * main.C (main): include debug.h and setup the lyxerr streambuf
4387 2003-10-31 José Matos <jamatos@lyx.org>
4389 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4391 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4392 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4393 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4394 * paragraph_pimpl.C (simpleTeXSpecialC):
4395 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4396 add LatexRunParams argument.
4398 * exporter.C (Export): change call accordingly.
4400 * latexrunparams.h: add new member to take care of the other backends.
4401 2003-10-30 José Matos <jamatos@lyx.org>
4403 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4404 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4405 factorise code for paragraph output.
4407 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4410 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4412 * text3.C (dispatch):
4413 * lyxfunc.C (dispatch):
4414 * cursor.C (dispatch):
4415 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4417 * dispatchresult.h: make the dispatch_result_t ctor explicit
4419 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4422 * buffer.C: small refactoring of docbook stuff
4424 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4426 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4429 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4431 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4432 operator dispatch_result_t, and operators for == != and >=
4434 * cursor.C (dispatch): adjust for operator dispatch_result_t
4435 removal. comment out call to update
4437 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4439 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4447 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4450 * dispatchresult.h: new file, DispatchResult broken out of
4453 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4455 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4457 * text.C (rowBreakPoint): put a hack inside #if 0
4459 2003-10-28 André Pönitz <poenitz@gmx.net>
4463 * paragraph_funcs.C:
4466 * text2.C: general cleanup (lots of small stuff)
4468 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4470 * text2.C (cursorEnd): simple fix to the "end key goes to one
4471 before the end on last row" bug
4473 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4475 * text.C (backspace): fix the "zombie characters"
4477 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4479 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4481 2003-10-27 André Pönitz <poenitz@gmx.net>
4483 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4485 * factory.C: handle new InsetPagebreak, InsetLine
4487 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4488 and move handling into new InsetPagebreak, InsetLine
4490 * BufferView_pimpl.C:
4492 * ParagraphParameters.C:
4493 * ParameterStruct.h:
4498 * paragraph_funcs.C:
4499 * paragraph_pimpl.C:
4505 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4508 * lyxrow_funcs.[Ch]:
4514 * text3.C: remove lastPos uses in favour of Row::endpos
4516 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4518 * undo.C (performUndoOrRedo): fix two crashes by setting a
4519 cursor by hand and reordering some calls. Use bv->lockInset instead
4520 of inset->edit because the latter loses cursor information
4522 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4524 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4526 (rowBreakPoint): fix width. change point to point + 1.
4527 Add a missing check.
4529 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4532 * lyxfunc.C: fix (at least partly) the problems
4533 with the Nav menu and headers inside branch insets
4536 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4538 * paragraph.C (getChar): add strong asserts
4540 * lyxrow_funcs.C (lastPos): remove hideous hack
4542 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4543 (fill): adjust to that (avoid an infinite loop)
4545 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4547 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4549 2003-10-23 André Pönitz <poenitz@gmx.net>
4551 * RowList_fwd.h: change list<> to vector<> to gain speed
4552 after suggestion from Alfredo
4554 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4556 * lyxtext.h: move the bidi stuff from here...
4559 * Bidi.[Ch]: ... to here
4561 2003-10-23 André Pönitz <poenitz@gmx.net>
4564 * text.C (isLastRow, isFirstRow): new functions
4566 * paragraph.h: new width cache member
4568 * rowpainter.C: replace RowList::iterator with Row & where possible
4570 * lyxfunc.C: replace several view()->text with a single call
4572 * toc.C: fix 'unused' warning
4574 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4576 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4577 when woring with stream::pos_type
4578 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4580 2003-10-22 André Pönitz <poenitz@gmx.net>
4583 * text.C: use Row & instead of RowList::iterator
4585 * lyxrow.h: rename end() to endpos()
4591 2003-10-22 Angus Leeming <leeming@lyx.org>
4593 * buffer.[Ch] (fully_loaded): new member function, returning true
4594 only when the file has been loaded fully.
4595 Used to prevent the premature generation of previews and by the
4596 citation inset to prevent computation of the natbib-style label.
4598 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4599 templates are all set up.
4601 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4603 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4605 * text.C: fixed an "oops" in the "is a bit silly"
4608 2003-10-21 André Pönitz <poenitz@gmx.net>
4610 * FuncStatus.[Ch]: small stuff, whitespace
4612 * lyxfont.[Ch]: operator<<() for debug reasons
4616 * lyxtext.h: whitespace, spelling
4618 * paragraph.C: naming of variables
4621 * text2.C: small stuff
4624 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4626 * text.C: (1) finish off the inset display() work;
4627 (2) fix the "is a bit silly" bug (accessing char
4630 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4632 * text.C: re-introduce display() for insets, fixing the
4633 various bugs (stretch of line above, math inset
4636 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4638 * text.C (rightMargin): remove spurious semicolon
4640 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4643 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4645 * text3.C: fix one crash due to wrong cursor def
4647 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4649 * vc-backend.C (scanMaster): make the regex static
4651 * LaTeX.C (scanAuxFile): make the regexs static
4653 * text3.C (doInsertInset, dispatch, dispatch):
4654 * text2.C (cursorUp, cursorDown):
4655 * text.C (selectNextWordToSpellcheck):
4656 * BufferView_pimpl.C (dispatch):
4657 * lyxfunc.C (dispatch): localDispatch -> dispatch
4659 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4661 * lyxsocket.C: include <cerrno>
4663 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4665 * lyxfunc.C (dispatch): remove textcache stuff
4667 * bufferlist.C (release): remove textcache stuff
4670 * TextCache.C: delete file
4671 * TextCache.h: delete file
4673 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4675 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4676 delete of the bv_->text.
4677 (resizeCurrentBuffer): remove texcache stuff
4678 (workAreaResize): ditto
4680 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4682 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4685 2003-10-16 André Pönitz <poenitz@gmx.net>
4692 * text3.C: speed up by storing y positions per paragraph plus per-row
4693 offset instead of having a 'full' y position in the row.
4695 2003-10-15 André Pönitz <poenitz@gmx.net>
4699 * undo.[Ch]: make undo aware of inner insets
4701 2003-10-14 Angus Leeming <leeming@lyx.org>
4703 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4704 static member functions LyX::ref() and LyX::cref.
4705 (lastfiles): new accessor functions for the new lastfiles_ member var.
4706 (addLyXView, views_): add a new LyXView to the list of views_.
4707 (updateInset): loop over all LyXViews to call their own updateInset
4708 member function, returning a pointer to the Buffer owning the inset.
4710 * BufferView_pimpl.C (loadLyXFile):
4711 * MenuBackend.C (expandLastfiles):
4712 * bufferlist.C (MenuWrite, QuitLyX):
4713 lastfiles is no longer a global variable.
4714 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4716 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4717 static function. Access through LyX::cref().emergencyCleanup().
4719 2003-10-14 André Pönitz <poenitz@gmx.net>
4721 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4723 * undo.[Ch]: restoring part of 'undo in insets'
4726 * undo_funcs.[Ch]: merge with undo.[Ch]
4728 * tabular.C: small cleansing stuff
4730 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4732 * paragraph_funcs.C (readParToken): report unknown insets as error
4733 boxes. Use the outer paragraph as location (also for unknown
4736 * factory.C (readInset): do not abort on reading an unknown inset.
4737 Eat it and return 0.
4739 2003-10-13 Angus Leeming <leeming@lyx.org>
4741 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4743 * lyxrc.C: displayTranslator is now a function,
4744 declared in GraphicsTypes.h.
4746 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4748 * format.C: new placeholder $$a to pass the socket address.
4750 * bufferlist.[Ch]: new function getBufferFromTmp.
4752 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4753 files in the temporary dir.
4755 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4757 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4759 * Makefile.am: add lyxsocket.[Ch].
4761 * lyx_main.C (error_handler): handle SIGPIPE.
4763 2003-10-13 André Pönitz <poenitz@gmx.net>
4765 * BufferView_pimpl.C:
4770 * undo_funcs.[Ch]: use paroffset_type instead of
4771 ParagraphList::iterators to prevent multiple conversion
4772 (and get a more robust interface)
4774 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4776 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4778 * text3.C (dispatch): ditto
4780 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4782 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4783 move the onlyfile, use onlyfile instead of foundfile in a couple
4786 * DepTable.C (update): flush the error stream a bit more
4788 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4790 * lyxserver.C (callback): adjust
4792 * lyxfunc.C (getStatus): add a missing brace in commented code
4793 (ensureBufferClean): reindent
4794 (dispatch): delete version taking a string
4796 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4798 * LaTeX.C (deplog): move found file handlig from here...
4799 (handleFoundFile): .. to new function here.
4800 (deplog): make sure to discover several files mentioned on the
4803 2003-10-10 André Pönitz <poenitz@gmx.net>
4810 * text3.C: fix some of the tabular crashes
4812 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4814 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4816 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4818 2003-10-09 André Pönitz <poenitz@gmx.net>
4820 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4823 * BufferView_pimpl.C:
4824 * bufferview_funcs.C:
4835 * undo_funcs.C: adjust
4837 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4839 * text2.C (incrementItemDepth): new function, use a backtracking
4840 algorithm to discover the correct item depth.
4841 (resetEnumCounterIfNeeded): new function, use a backtracking
4842 algorithm to discover if counter reset is needed.
4843 (setCounter): use them. Simplify a bit. Add different labels for
4844 different item depths for itemize.
4846 * paragraph.C (Paragraph): remove initialization of enumdepth
4849 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4850 enumerate and itemize. Change the type of itemdepth to signed char.
4852 2003-10-08 André Pönitz <poenitz@gmx.net>
4854 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4859 * tabular.[Ch]: fix crash after 'row-insert'
4861 2003-10-08 Angus Leeming <leeming@lyx.org>
4863 Fix doxygen warnings.
4865 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4866 Remove CutAndPaste:: prefix from header file declaration.
4868 * LColor.h (fill): remove LColor:: prefix from declaration.
4870 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4871 use lyx::depth_type rather than Paragraph::depth_type so that
4872 header file and .C file match.
4874 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4876 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4877 * aspell.C: \file aspell_local.C -> \file aspell.C
4878 * gettext.C: \file gettext.C -> \file src/gettext.C
4879 * gettext.h: \file gettext.h -> \file src/gettext.h
4880 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4881 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4882 * text.C: \file text.C -> \file src/text.C
4884 * toc.C: move comment so that doxygen is not confused.
4886 2003-10-07 Angus Leeming <leeming@lyx.org>
4888 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4890 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4893 * aspell_local.h: add forgotten std::string's.
4895 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4902 * text3.C: The Box patch. Fancybox support, minipage, parbox
4904 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4910 * ParagraphParameters.h:
4920 * lyxtextclasslist.h:
4923 * paragraph_pimpl.C:
4924 * textcursor.h: add <string> and other small fixes to make Lars'
4925 std::string patch compile with STLport.
4927 2003-10-06 Angus Leeming <leeming@lyx.org>
4929 * LColor.h: Add missing #include <string>.
4931 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4933 * All most all file in all subdirs: Make <string> be the prefered
4934 way of getting to std::string, add using declarations.
4936 2003-10-06 André Pönitz <poenitz@gmx.net>
4938 * metricsinfo.C: initialize LyXFont before changing attribute.
4939 (fixes the 'math in \emph is upright' bug)
4941 2003-10-06 André Pönitz <poenitz@gmx.net>
4943 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4945 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4948 * paragraph_pimpl.C: Small fixes to build using STLport
4950 2003-10-02 André Pönitz <poenitz@gmx.net>
4953 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4955 2003-10-01 André Pönitz <poenitz@gmx.net>
4957 * factory.C: assert early
4959 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4961 * lyx_main.C: remove the global debug object
4963 * debug.h: adjust for new debugstream
4965 * debug.C: adjust for new debugstream and keep the global debug
4968 2003-09-22 Angus Leeming <leeming@lyx.org>
4970 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4971 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4972 an incomplete class LyXFont.
4974 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4976 * factory.C: bug fix in branches
4978 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4980 * lyxfunc.C (processKeySym): adjust
4982 (dispatch): change arg name from ev to func, adjust
4983 (sendDispatchMessage): ditto
4985 * lyx_main.C (defaultKeyBindings): adjust keybindings
4986 (deadKeyBindings): ditto
4988 * kbsequence.C (addkey): return a FuncRequest
4990 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4992 * kbmap.C (bind): take a FuncRequest as arg, adjust
4995 (defkey): change to take a FuncRequest as arg, adjust
4996 (findbinding): take a FuncRequest as arg, adjust.
4998 * funcrequest.h (operator=): added
5000 * funcrequest.C (FuncRequest): default kb_action changed from
5001 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5003 * buffer.C (dispatch): simplify
5004 (dispatch): adjust to take a FuncRequest as arg, adjust
5006 * boost.C (assertion_failed): change assertion message slightly
5008 * ToolbarBackend.C (read): simplify
5010 * MenuBackend.C (binding): adjust call to findbinding, add a
5011 message if no binding is found.
5013 (expandToc): correct by adding a empty FuncRequest
5015 * LyXAction.C: include <boost/assert.hpp>
5016 (isPseudoAction): delete function
5017 (LookupFunc): change name to...
5018 (lookupFunc): this. change return type to FuncRequest.
5019 (getActionName): take kb_action as arg, simplify
5020 (funcHasFlag): add an assert, simplify.
5022 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5024 * toc.C (action): return a FuncRequest, simplify
5026 * lyxfunc.C (processKeySym): adjust
5027 (getStatus): delete version that takes an int.
5029 (dispatch): delete version that takes action as int
5031 (sendDispatchMessage): simplify and adjust
5033 * funcrequest.C (getArg): take unsigned int as arg
5035 * ToolbarBackend.C (read): adjust
5036 (add): delete version that takes func as a string.
5037 (getIton): take a FuncRequest as arg
5039 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5042 * MenuBackend.C (MenuItem): add a new construct that only takes a
5043 Kind, simplify the constructor use for submenus.
5045 (expandLastfiles): adjust
5046 (expandDocuments): adjust
5047 (expandFormats): adjust
5048 (expandFloatListInsert): adjust
5049 (expandFloatInsert): adjust
5050 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5052 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5053 Remove class variables lyx_pseudo_map and lyx_arg_map
5055 * LyXAction.C (searchActionArg): delete function
5056 (getPseudoAction): delete function
5057 (retrieveActionArg): delete function
5058 (LookupFunc): make it return kb_action, simplify.
5059 (getActionName): simplify
5061 * factory.C (createInset): fix new bug
5063 2003-09-19 Angus Leeming <leeming@lyx.org>
5065 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5066 masterFilename_ parameter in the include inset.
5068 * factory.C (createInset): changes due to the changes to InsetInclude.
5070 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5072 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5074 2003-09-18 Angus Leeming <leeming@lyx.org>
5077 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5078 Inset::fillWithBibKeys.
5079 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5081 2003-09-18 Angus Leeming <leeming@lyx.org>
5083 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5085 (ctor): pass and store a 'Buffer const &'
5086 (buffer): new member function.
5088 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5089 '*this' to the LaTeXFeatures ctor.
5091 2003-09-18 Angus Leeming <leeming@lyx.org>
5097 * text.C: rename EnumLColor as LColor_color.
5099 2003-09-18 Angus Leeming <leeming@lyx.org>
5101 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5102 remove #include "insets/insetbase.h" from cursor.h.
5104 2003-09-18 Angus Leeming <leeming@lyx.org>
5106 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5107 InsetOld_code to remove #include "inset.h".
5109 * iterators.C: add #include "insets/inset.h"
5111 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5113 * BufferView.C: remove more locking stuff that apparently doesn't
5114 do anything sensible.
5116 2003-09-16 André Pönitz <poenitz@gmx.net>
5119 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5122 2003-09-16 Angus Leeming <leeming@lyx.org>
5124 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5126 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5129 * paragraph.h: remove #include "lyxfont.h". Forward declare
5132 2003-09-16 Angus Leeming <leeming@lyx.org>
5134 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5135 of support/textutils.h.
5136 (isWord): move the contents of support/textutils.h's IsWordChar here.
5142 * text2.C: add #include "paragraph.h".
5145 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5147 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5153 * LaTeX.C: use namespace alias for lyx::support::os
5155 2003-09-16 Angus Leeming <leeming@lyx.org>
5158 * bufferview_funcs.C:
5161 * paragraph_pimpl.C:
5163 * text.C: add #include "LColor.h".
5165 2003-09-16 Angus Leeming <leeming@lyx.org>
5167 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5168 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5170 Store the FontBits::color variable as an int rather than as an
5171 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5174 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5175 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5176 string calls together.
5178 * lyxrc.C: add #include "LColor.h".
5180 2003-09-15 Angus Leeming <leeming@lyx.org>
5182 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5185 2003-09-15 Angus Leeming <leeming@lyx.org>
5187 * LColor.h: add an EnumLColor wrapper for LColor::color.
5189 * lyxfont.[Ch] (color, setColor, realColor):
5190 * lyxtext.h, text.C (backgroundColor):
5191 pass EnumLColor args to/from the functions, rather than LColor::color
5195 * lyxtext.h: forward declare EnumLColor.
5197 * lyx_main.C: add #include "LColor.h".
5199 2003-09-15 Angus Leeming <leeming@lyx.org>
5201 * .cvsignore: add lyx-gtk.
5203 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5208 * ParagraphParameters.C
5212 * bufferview_funcs.C
5222 * vc-backend.C: remove usage of STRCONV
5224 2003-09-15 Angus Leeming <leeming@lyx.org>
5226 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5227 explicitly define the color passed to the painter.
5229 2003-09-15 Angus Leeming <leeming@lyx.org>
5231 * bufferparams.C (BufferParams): reorder member initializers to avoid
5234 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5236 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5237 * text.C (updateRowPositions): remove an unusual nop
5239 2003-09-12 André Pönitz <poenitz@gmx.net>
5241 * BufferView_pimpl.C:
5250 * Counters.[Ch]: finish the 'automatic counters' job
5252 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5254 * aspell.C: include <boost/assert.cpp> (compile fix)
5256 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5258 * boost.C (assertion_failed): use lyx::support::abort instead of
5261 2003-09-10 Angus Leeming <leeming@lyx.org>
5263 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5264 with their _fwd progeny.
5266 2003-09-09 Angus Leeming <leeming@lyx.org>
5268 134 files throughtout the source tree: replace 'using namespace abc;'
5269 directives with the appropriate 'using abc::xyz;' declarations.
5271 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5273 * boost.C (emergencyCleanup): moved here from LAssert.c
5274 (assertion_failed): new function, called by BOOST_ASSERT
5276 * several files: change Assert to BOOST_ASSERT
5278 2003-09-09 Angus Leeming <leeming@lyx.org>
5280 * buffer.[Ch]: Add an Impl class and move Buffer's member
5281 variables into it. As a result move several header files out of
5284 Add header files to lots of .C files all over the tree as a result.
5286 2003-09-09 Angus Leeming <leeming@lyx.org>
5288 * buffer.[Ch]: make Buffer's member variables private. Add
5291 Lots of changes all over the tree as a result.
5293 2003-09-08 Angus Leeming <leeming@lyx.org>
5295 * graph.C: #include <config.h>.
5297 2003-09-08 Angus Leeming <leeming@lyx.org>
5301 * BufferView_pimpl.C:
5330 * toc.C: remove redundant using directives.
5332 2003-09-07 Angus Leeming <leeming@lyx.org>
5334 * LaTeXFeatures.h: remove #include "support/types.h".
5335 * ToolbarBackend.h: remove #include <algorithm>.
5336 * changes.h: remove #include <ctime>.
5337 * debug.h: remove #include <iosfwd>.
5338 * graph.h: remove #include "support/std_string.h".
5339 * lyx_main.h: remove #include <csignal>.
5340 * lyxlex_pimpl.h: remove #include <fstream>.
5341 * sgml.h: remove #include <algorithm>, <utility>.
5342 * toc.h: remove #include "support/std_ostream.h".
5343 Add #include <iosfwd>.
5345 2003-09-07 Angus Leeming <leeming@lyx.org>
5347 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5349 * converter.h: forward declare LatexRunParams.
5350 * encoding.h: remove #include "lyxrc.h".
5351 * lyxtext.h: remove #include "LColor.h".
5352 * lyxtextclass.h: remove #include "support/types.h".
5353 * trans.h: remove #include "tex-accent.h".
5354 * trans_mgr.h: remove #include "tex-accent.h".
5355 * insets/inset.h: remove #include "support/types.h", <vector>.
5356 * insets/insetcollapsable.h: remove #include "LColor.h".
5357 * insets/insetinclude.h: remove #include "dimension.h".
5358 * insets/insetlatexaccent.h: remove #include "dimension.h".
5359 * insets/insetoptarg.h:: remove #include "insettext.h".
5360 * insets/insettext.h: remove #include "dimension.h",
5361 <boost/shared_ptr.hpp>
5363 * insets/renderers.h: add #include "dimension.h".
5364 * insets/updatableinset.h: add #include "support/types.h".
5366 * many .C files: Associated changes.
5368 2003-09-06 Angus Leeming <leeming@lyx.org>
5370 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5371 one, inside testInvariant.
5373 * PrinterParams.C: new file.
5374 * PrinterParams.[Ch]: move the function bodies out of line.
5376 2003-09-06 Angus Leeming <leeming@lyx.org>
5378 * ParagraphParameters.h: forward declare ParameterStruct rather than
5379 including its header file.
5380 (depth): moved out-of-line.
5382 2003-09-06 Angus Leeming <leeming@lyx.org>
5384 * BufferView_pimpl.h:
5387 * lyxfunc.h: forward declare LyXKeySym rather than
5388 #include "frontends/LyXKeySym.h".
5390 * BufferView_pimpl.C:
5393 * lyxfunc.C: associated changes.
5395 2003-09-06 Angus Leeming <leeming@lyx.org>
5397 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5398 As a result, can remove the #include "insets/inset.h" from BufferView.h
5400 2003-09-06 Angus Leeming <leeming@lyx.org>
5402 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5403 As a result, can remove the #include "insets/inset.h" from BufferView.h
5405 2003-09-06 Angus Leeming <leeming@lyx.org>
5411 * bufferview_funcs.C:
5412 * BufferView_pimpl.C:
5417 * ParagraphParameters.C:
5422 * frontends/controllers/ControlDocument.C:
5423 * insets/insetcaption.C: rearrange the #includes into some sort of
5426 * buffer.h: remove #includes ErrorList.h, undo.h
5428 2003-09-06 Angus Leeming <leeming@lyx.org>
5430 * support/types.h: add a 'depth_type' typedef, used to store the
5431 nesting depth of a paragraph.
5434 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5435 defining explicitly.
5438 * paragraph_funcs.h:
5439 * ParagraphParameters.h:
5440 * sgml.h: use lyx::depth_type rather than Paragraph or
5441 ParameterStruct's depth_type.
5444 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5447 * BufferView_pimpl.C:
5449 * ParagraphParameters.C:
5452 * bufferview_funcs.C:
5459 * frontends/LyXView.C:
5460 * frontends/controllers/ControlDocument.C:
5461 * frontends/controllers/ControlErrorList.C:
5462 * insets/insetbibitem.C:
5463 * insets/insetbranch.C:
5464 * insets/insetcaption.C:
5465 * insets/insetcollapsable.C:
5466 * insets/insetenv.C:
5467 * insets/insetert.C:
5468 * insets/insetfloat.C:
5469 * insets/insetfoot.C:
5470 * insets/insetfootlike.C:
5471 * insets/insetnewline.C:
5472 * insets/insetquotes.C:
5473 * insets/insettabular.C:
5474 * insets/insettext.C:
5475 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5477 * frontends/controllers/ControlChanges.C: #include "changes.h".
5479 2003-09-06 Angus Leeming <leeming@lyx.org>
5481 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5482 than #including paragraph.h.
5485 * RowList.h: deleted. Superfluous.
5495 * insets/insettext.h: use ParagraphList_fwd.h rather than
5498 * paragraph.h: don't forward declare ParagraphList.
5501 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5502 rather than ParagraphList.h. paragraph.h is still needed for the
5503 Paragraph::depth_type parameters.
5505 * textcursor.h: enable it to compile stand-alone in light of the
5508 * bufferview_funcs.C:
5520 * frontends/controllers/ControlParagraph.C:
5521 * frontends/controllers/ControlTabular.C:
5522 * insets/insetmarginal.C:
5523 * insets/insetminipage.C:
5524 * insets/insetnote.C:
5525 * insets/insetoptarg.C: add header files needed to compile again.
5527 2003-09-06 Angus Leeming <leeming@lyx.org>
5529 * RowList_fwd.h: new file, forward-declaring Row rather than
5530 #including lyxrow.h.
5535 * insets/insettext.h: use it instead of RowList.h
5537 * bufferview_funcs.C:
5544 * text3.C: #include "RowList.h".
5546 2003-09-05 Angus Leeming <leeming@lyx.org>
5548 * factory.C (createInset):
5549 * vspace.C (c-tor): replace sscanf call with an istringstream.
5550 * ispell.C: re-add missing HP/UX headers.
5551 * lyxserver.C: re-add missing os2 headers.
5553 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5562 * text3.C: re-add missing system headers, needed for 2.95.2.
5564 2003-09-05 Angus Leeming <leeming@lyx.org>
5566 Changes most place everywhere due to the removal of using directives
5567 from support/std_sstream.h.
5569 2003-09-05 Angus Leeming <leeming@lyx.org>
5571 Replace LString.h with support/std_string.h,
5572 Lsstream.h with support/std_sstream.h,
5573 support/LIstream.h with support/std_istream.h,
5574 support/LOstream.h with support/std_ostream.h.
5576 Changes resulting throughout the tree.
5578 2003-09-05 Angus Leeming <leeming@lyx.org>
5580 * sgml.h: ensure that the header file can be compiled stand-alone.
5581 * *.C: strip out redundant #includes. (320 in total.)
5583 2003-09-04 Angus Leeming <leeming@lyx.org>
5585 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5586 here (from getPackages).
5588 * debug.[Ch]: add a new EXTERNAL tag.
5590 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5592 * text2.C (cursorEnd): simplify
5594 (getColumnNearX): adjust
5596 * text.C (computeBidiTables): adjust
5599 * rowpainter.C (paintChars): adjust
5600 (paintSelection): adjust
5601 (paintChangeBar): adjust
5604 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5606 (numberOfSeparators): adjust
5608 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5614 * text3.C: Restricts the mouse click functionality
5615 of insets like bibtex, include, toc and floatlist to the visible
5616 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5617 up the dialogs. Cursor has to be in front of the inset (i.e.
5618 start of row) for this to function.
5620 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5622 * bufferview_funcs.C (currentState): output row information
5624 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5626 * bufferview_funcs.C (currentState): output paragraph position
5628 2003-09-04 Angus Leeming <leeming@lyx.org>
5630 * FloatList.h: move out #include "Floating.h".
5631 * LaTeX.h: move out #include "DepTable.h".
5632 * LyXAction.h: move out #include "funcrequest.h".
5633 * buffer.h: move out #include "author.h", "iterators.h".
5634 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5635 * lyx_main.h: move out #include "errorlist.h".
5636 * lyxfunc.h: move out #include "FuncStatus.h".
5637 * lyxtext: move out #include "lyxcursor.h".
5638 * paragraph_pimpl.h: move out #include "counters.h".
5640 2003-09-03 Angus Leeming <leeming@lyx.org>
5642 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5643 preamble_snippets list, enabling us to add snippets to the preamble
5644 only if the snippet was not there already.
5646 2003-09-04 Angus Leeming <leeming@lyx.org>
5648 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5650 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5652 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5655 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5657 * BranchList.C: point fix, earlier forgotten
5659 2003-09-02 Angus Leeming <leeming@lyx.org>
5661 * box.C (contains): renamed from 'contained' after a fantastic
5664 2003-09-02 John Levon <levon@movementarian.org>
5670 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5672 2003-09-02 John Levon <levon@movementarian.org>
5674 * text2.C: simplification of cursorEnd(), including partial
5677 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5679 * buffer.C (readFile): add a space
5681 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5683 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5685 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5687 * buffer.C (readFile): new function, take a filename and a
5688 ParagraphList::iterator
5690 (readFile): adjust, make it private. don't use setStream, make
5691 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5692 always contain the filename.
5694 * BufferView.C (insertLyXFile): simplify and make it work for
5697 2003-08-30 John Levon <levon@movementarian.org>
5699 * Makefile.am: fix dist (from Kayvan)
5701 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5703 * most files: change to use const Buffer refs
5705 2003-08-27 André Pönitz <poenitz@gmx.net>
5707 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5708 on top of ownerPar().
5710 2003-08-27 John Levon <levon@movementarian.org>
5712 * funcrequest.C: properly initialise POD members
5714 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5716 * lyxtext.h (top_y): move top_y from here
5721 * BufferView_pimpl.[Ch]: to here
5722 * frontends/screen.C:
5723 * insets/insettabular.C:
5724 * insets/insettext.C: adjust
5725 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5727 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5730 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5732 2003-08-26 André Pönitz <poenitz@gmx.net>
5734 * paragraph_func.[Ch] (outerPar): new function
5737 * paragraph_funcs.C:
5738 * paragraph_funcs.h:
5739 * paragraph_pimpl.C:
5740 * text2.C: remove Inset::par_owner
5742 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5747 * text2.C: eliminates the needFullRow/display() stuff
5748 altogether, putting the logic in metrics/draw in the insets.
5750 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5752 * text2.C (redoParagraphInternal, redoParagraphs):
5753 * text.C (redoParagraph): add a call to updateRowPositions at the
5754 end of each 'metrics-like' call. Remove all others.
5755 (getRow): remove the 'y-computing' version.
5756 (getRowNearY): do not compute nor return the real y. Solve the
5757 'y < 0' problem and simplify.
5759 2003-08-22 Angus Leeming <leeming@lyx.org>
5761 * *.[Ch]: clean-up of licence and author blurbs.
5762 Also move config.h out of a few .h files and into a few .C files.
5764 2003-08-22 André Pönitz <poenitz@gmx.net>
5766 * lyxrow.[Ch]: add x_ and *fill_ members
5771 * text2.C: adjust/remove prepareToPrint() calls
5773 2003-08-22 André Pönitz <poenitz@gmx.net>
5775 * lyxrow.[Ch]: add end_ member
5777 * lyxrow_funcs.C: use LyXRow::end_
5779 * lyxtext.h (singleWidth): add LyXFont parameter
5782 * text2.C: adjust LyXText::singleWidth() calls
5784 * text.C (redoParagraph): simplify row breaking logic
5787 2003-08-19 André Pönitz <poenitz@gmx.net>
5789 * funcrequest.C: initialize button_ member
5792 * rowpainter.[Ch]: interface consolidation
5794 2003-08-18 André Pönitz <poenitz@gmx.net>
5797 * BufferView_pimpl.C:
5799 * paragraph_funcs.C:
5801 * text3.C: remove LyXScreen::draw() and fitCursor calls
5803 * BranchList.h: remove spurious semicolons
5805 * MenuBackend.C: fix branchlist related crash
5807 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5815 * bufferparams.[Ch]:
5819 * text3.C: implements the 'branch inset'
5820 idea. This allows the output of various versions of a document
5821 from a single source version, selectively outputing or suppressing
5822 output of parts of the text.
5823 This implementation contains a 'branch list editor' in a separate
5824 tab of the document settings dialog. Branches are user definable
5825 and have a "display colour" to distinguish them on-screen.
5827 ColorHandler was somewhat cleaned up.
5828 (1) make possible a dynamically growing LColor list by allowing
5829 the graphic context cache to grow along (vector);
5830 (2) eliminate an IMHO unnecessary step in colour allocation.
5832 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5834 * BufferView_pimpl.C: compile fix
5836 2003-08-15 André Pönitz <poenitz@gmx.net>
5838 * rowpainter.C: remove extra metrics calls
5840 * lyxtext.h: merge the two constructors into a single one,
5841 pass reference to owner's par list
5843 * BufferView_pimpl.C:
5847 2003-08-15 André Pönitz <poenitz@gmx.net>
5849 * lyxrow_funcs.[Ch]:
5852 * paragraph_funcs.C:
5857 * text_funcs.C: split LyXText::rowlist_ into individual
5858 Paragraph::rows_ chunks
5861 * BufferView_pimpl.[Ch]:
5864 * text3.C: remove toggleSelection()
5866 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5868 * bufferlist.C: beautify two alerts (shorter text of buttons)
5869 * buffer.C: Remove redundant ' ' from message
5871 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5872 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5873 rename VALIGN_CENTER to VALIGN_MIDDLE
5875 2003-08-11 André Pönitz <poenitz@gmx.net>
5877 * lyxtext.h (getPar):
5878 * text.C: new function
5880 2003-08-11 André Pönitz <poenitz@gmx.net>
5883 * tracer.[Ch]: remove unneeded files
5885 * InsetList.[Ch]: remove resizeInsetsLyXText()
5890 * text3.C: merge insertParagraphs() and appendParagraph()
5891 remove breakAgain(), update()
5893 * BufferView_pimpl.[Ch]:
5894 * bufferview_funcs.[Ch]:
5898 * tabular.C: adjust after text & InsetList changes.
5900 2003-08-08 André Pönitz <poenitz@gmx.net>
5902 * text.C (insertChar, backspace): replace rowlist fiddling
5903 with rebreak of full par
5906 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5907 checkParagraph, updateInset): removed
5909 2003-08-07 André Pönitz <poenitz@gmx.net>
5912 * text3.C: merge some LFUN handlers, remove dead code
5914 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5916 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5918 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5920 * text2.C (DEPM): fix part of bug 1255 and 1256
5922 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5924 * BufferView_pimpl.C (workAreaDispatch): change to use
5925 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5926 that are no mouse related.
5928 2003-08-05 André Pönitz <poenitz@gmx.net>
5931 * BufferView_pimpl.[Ch]:
5932 * bufferview_funcs.C:
5934 * text3.C: rip out "deep update"
5936 * textcursor.[Ch] (last_sel_cursor): remove unused member
5938 2003-08-04 André Pönitz <poenitz@gmx.net>
5941 * BufferView_pimpl.[Ch]:
5942 * ParagraphParameters.C:
5943 * bufferview_funcs.C:
5949 * text3.C: replace "complicated" BufferView::update(...) calls with
5952 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5954 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5956 * Makefile.am (lyx_SOURCES): add paper.h
5958 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5960 * Makefile.am: move things around so that both lyx-qt and
5961 lyx-xforms can be built (according to --with-frontend). Then lyx
5962 is a symbolic link to lyx-[firstfrontend]
5964 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5966 * Always use std::endl with lyxerr
5968 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5970 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5972 2003-08-01 André Pönitz <poenitz@gmx.net>
5975 * BufferView_pimpl.[Ch]:
5977 * text3.C: merge BufferView::repaint() and BufferView::update()
5979 2003-08-01 José Matos <jamatos@lyx.org>
5981 * buffer.[Ch]: file_format is no longer a buffer data element.
5983 2003-08-01 André Pönitz <poenitz@gmx.net>
5988 * text2.C: make redoParagraph more independent of current cursor
5990 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5992 * text2.C: remove unneeded members
5994 2003-07-30 André Pönitz <poenitz@gmx.net>
5996 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5998 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5999 create a single function...
6001 * paragraph_funcs.C (moveItem): ... here.
6004 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6006 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6008 * LColor.[Ch]: Add comment and greyedout logical colors.
6010 2003-07-30 André Pönitz <poenitz@gmx.net>
6012 * tabular.C: don't use Assert too heavily. This crashes where it
6015 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6017 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6018 is disabled (bug 1232)
6020 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6022 * factory.C: limited 'arg' scope
6024 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6026 * factory.C: fixed Note submenu issues
6028 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6030 * factory.C: submenu for Note/Comment/Greyedout
6032 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6035 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6037 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6040 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6041 greyedout. Patch provided by Jürgen Spitzmüller.
6043 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6045 * kbmap.C (read): fix error message when reading bind files
6047 2003-07-29 Angus Leeming <leeming@lyx.org>
6049 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6050 certainly does not do what it purports to do. I am doing it, and
6051 us, a favour by killing it.
6053 2003-07-28 José Matos <jamatos@lyx.org>
6055 * buffer.C (readBody, do_writeFile):
6056 * paragraph.C(readParagraph): \end_document replaces \the_end.
6058 2003-07-29 André Pönitz <poenitz@gmx.net>
6061 * BufferView_pimpl.[Ch]:
6065 * textcursor.[Ch]: remove toggleToggle & Co
6067 2003-07-28 José Matos <jamatos@fep.up.pt>
6069 * buffer.C (readParagraph):
6070 * params_func (readParToken, readParagraph):
6071 * paragraph.C (write): \layout -> \begin_layout.
6073 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6075 * lyxlex_pimpl.C (setFile): clean up slightly.
6077 * bufferparams.h: add compressed var
6079 * buffer_funcs.C (readFile): adjust for LyXLex change
6080 (newFile): ditto + simplify
6082 * buffer.C (writeFile): handle writing of compressed files
6084 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6085 Check if the file is compressed and set a bufferparm if so.
6087 * Makefile.am (lyx_LDADD): remove explicit -lz
6089 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6091 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6092 makeDocBookFile): put the real LyX version in the first line of
6096 * version.C.in: remove lyx_docversion
6098 * tabular.C (write_attribute): add a template-based version to
6099 write enums properly
6101 2003-07-28 André Pönitz <poenitz@gmx.net>
6106 * text3.C: use doubles again for x-coordinates. They are needed.
6108 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6110 * messages.C (getLocaleDir): use lyx_localedir()
6112 * lyxlex_pimpl.C (setFile): compress stuff
6114 * buffer.C (writeFile): add some compression stuff
6115 (do_writeFile): new func, dont call expliti close... will this
6118 * Makefile.am (lyx_LDADD): add -lz
6120 2003-07-28 José Matos <jamatos@fep.up.pt>
6122 * buffer.C: increment file format.
6123 * paragraph_funcs (readParagraph, readParToken):
6124 * paragraph.C (readParagraph): add \end_layout.
6126 2003-07-27 Angus Leeming <leeming@lyx.org>
6128 * Makefile.am: remove special casing for configure-time setting of
6129 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6131 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6132 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6134 2003-07-26 André Pönitz <poenitz@gmx.net>
6136 * paragraph_func.[Ch]:
6137 * paragraph.C (realizeFont): inline it whereever it is used
6142 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6145 2003-07-26 André Pönitz <poenitz@gmx.net>
6149 * text2.C: get rid of LyXText::need_break_row
6151 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6153 * toc.[Ch]: put namespace toc inside namespace lyx
6155 * MenuBackend.C (expandToc2): adjust for lyx::toc
6158 * lyxfunc.C (dispatch): adjust for lyx::find
6160 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6161 lyx::find instead. Reorganize a bit.
6162 (LyXReplace): rename to replace
6163 (LyXFind): rename to find
6165 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6168 2003-07-26 André Pönitz <poenitz@gmx.net>
6170 * text.C (setHeightOfRow): restrict scope of temporary variable
6172 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6173 code (never has been used?)
6175 2003-07-27 Asger Alstrup <alstrup@local>
6177 * text.C (fill): Optimise algorithm to exploit that we can reuse
6178 the LyXFont for many characters.
6179 (setHeightOfRow): Same thing.
6180 (rowBreakPoint): Same thing.
6182 2003-07-26 Asger Alstrup <alstrup@local>
6184 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6186 * text.C (singleWidth): Spurious font copying in hot-spot
6187 singleWidth avoided. Reorder tests for arabic for efficiency.
6189 * text.C (fill): handle empty paragraphs better.
6191 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6194 * encoding.h: add includes
6196 * lyxrc.C: remove reading of bind files
6198 * lyx_main.C (init): setup bindings and menus only if we have a
6201 * kbmap.C (read): new method. Do the actual reading of bind
6204 * converter.C (dvipdfm_options):
6207 (output): adapt PAPER_* enums.
6209 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6211 * bufferparams.h: remove paper-related enums from there
6213 * paper.h: New file. A trivial header file to hold paper-related
6214 enums. It should later expand to contain many paper-related
6217 * lyxrc.C: declare extern displayTranslator
6219 2003-07-27 José Matos <jamatos@fep.up.pt>
6221 * tabular.[Ch] (linuxdoc): add support for tables and figures
6224 2003-07-27 José Matos <jamatos@fep.up.pt>
6226 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6227 consistency in both functions.
6228 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6230 2003-07-26 Asger Alstrup <alstrup@local>
6232 * rowpainter.C (paintRows): Change algorithm to work directly on
6233 the insets rather than asking every character in the document
6234 whether its an inset.
6236 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6238 * buffer.C (openFileWrite): factorize some code
6240 2003-07-26 Angus Leeming <leeming@lyx.org>
6243 * lyx_main.[Ch]: replace occurances of system_tempdir with
6246 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6248 * rename Inset to InsetOld
6250 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6252 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6253 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6254 which I think is a bit clearer. EDIT is gone, since it was
6255 premature optimisation, and broken for mathed anyway.
6256 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6257 with cursor positioning in insets as well (math insets still do not
6258 work, but that's a different story anyway.) It mysteriously
6259 crashes sometimes with undo in the first paragraph, but I'm fairly
6260 confident that this is a compiler bug.
6262 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6264 * paragraph.C (Paragraph): adjust for new clone return type
6266 (copyIntoMinibuffer): ditto
6268 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6270 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6271 by not having a special case, and always doing a full rebreak of
6272 the document after undo.
6274 2003-07-23 Angus Leeming <leeming@lyx.org>
6276 * factory.C (createInset): InsetExternal::setParams now takes a
6279 2003-07-23 Angus Leeming <leeming@lyx.org>
6281 * factory.C (createInset): changed interface to the external and
6282 graphics mailers' string2params functions.
6284 2003-07-23 Angus Leeming <leeming@lyx.org>
6286 * factory.C (createInset): pass a
6287 Buffer const * parameter to InsetExternalMailer's string2params.
6289 2003-07-22 John Levon <levon@movementarian.org>
6291 * Thesaurus.h: include the right aiksaurus header
6293 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6295 * MenuBackend.C (expand): check menu shortcuts unconditionally
6297 2003-07-21 Angus Leeming <leeming@lyx.org>
6299 * factory.C (createInset): pass a
6300 buffer_path parameter to InsetGraphicsMailer's string2params.
6302 2003-07-21 Angus Leeming <leeming@lyx.org>
6304 * BufferView_pimpl.C (buffer):
6307 * lyxfunc.C (dispatch):
6308 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6309 rather than the grfx shortcut.
6311 2003-07-21 André Pönitz <poenitz@gmx.net>
6313 * rowpainter.C: remove unused variables
6316 * tabular_funcs.h: move to tabular.C
6317 * Makefile.am: adjust
6319 * tabular.[Ch]: basic optical cleaning
6321 * author.h: pass references, not values
6323 2003-07-18 André Pönitz <poenitz@gmx.net>
6331 * text3.C: two-phase drawing for InsetText and InsetTabular
6332 some float -> int changes.
6334 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6336 * lyx_main.C: fix the fix
6338 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6340 * lyx_main.C: fix a crash in batch mode if no files specified
6343 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6345 * format.[Ch] (papersize): moved to BufferParams
6346 * converter.[Ch] (dvips_options): moved to BufferParams
6347 (dvipdfm_options): moved to anon namespace
6348 * bufferparams.[Ch]: added above functions.
6350 2003-07-17 André Pönitz <poenitz@gmx.net>
6354 * text2.C: don't call inset->update() anymore
6356 * metricsinfo.[Ch]: add convenience constructor
6358 2003-07-16 André Pönitz <poenitz@gmx.net>
6363 * text2.C: replace the LyXCursor::irow_ member with
6364 on-demand computation of the value
6366 2003-07-16 John Levon <levon@movementarian.org>
6368 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6370 2003-07-15 André Pönitz <poenitz@gmx.net>
6373 * text2.C: remove no more needed refresh_row
6375 2003-07-15 André Pönitz <poenitz@gmx.net>
6380 * text3.C: refresh_status tristate -> need_update bool
6382 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6384 * lyxtext.h (init): remove reinit argument (act as if always true)
6385 * text2.C: adjust to that
6387 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6389 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6390 * text3.C: use it to delete selections in some cases
6391 (bugs 441, 673, 702, 954).
6393 2003-07-14 André Pönitz <poenitz@gmx.net>
6395 * rowpainter.[Ch]: reduce interface
6397 2003-07-14 André Pönitz <poenitz@gmx.net>
6399 * BufferView_pimpl.C:
6400 * text2.C: adjust after removing unused BufferView * argument
6402 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6404 * text2.C (init): fix a crash fired on resize
6406 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6408 * buffer.[Ch]: added new closing signal
6409 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6410 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6411 BufferView::Pimpl via the closing the signal
6413 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6415 * buffer.[Ch]: take out all bv-related from buffer
6417 * BufferView_pimpl.[Ch]: connect to new signals
6418 * CutAndPaste.C: removed useless asserts
6419 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6422 * lyxfunc.C: moved view-related funciontality from vc here
6423 * paragraph.C: removed outdated comments
6426 2003-07-10 André Pönitz <poenitz@gmx.net>
6428 * BufferView_pimpl.C:
6432 * text2.C: remove InsetText::InnerCache, clean up consequences
6434 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6436 * ispell.C: fix two typos in error messages
6438 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6440 * Extend Note inset to other forms of annotation like Comment
6441 and Greyedout. Right button click gives dialog.
6443 Files modified or added (+):
6447 * ControlNote.[Ch] +
6449 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6450 frontends/controllers
6454 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6456 * aspell.C: add missing namespace lyx::support
6458 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6460 * BufferView.[Ch] (newFile): Add
6461 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6462 * LaTeX.[Ch] (message): added this signal and use it
6463 * buffer.[Ch] (busy, message): added these signals and use them
6464 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6468 * importer.C: use buffer signals instead of direct bv calling
6469 * lyx_cb.[Ch] (ShowMessage): removed
6472 * paragraph_funcs.C:
6473 * text2.C: use buffer signals
6475 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6477 * introduce namespace lyx::graphics
6479 2003-07-02 André Pönitz <poenitz@gmx.net>
6481 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6483 2003-07-01 André Pönitz <poenitz@gmx.net>
6490 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6491 text*.C to text_func.C
6493 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6495 * introduce namespace lyx::support
6497 2003-06-30 André Pönitz <poenitz@gmx.net>
6502 * text.C: re-enable --with-included-string
6504 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6506 * textcursor.C: add <config.h>
6508 * text.C (getWord): remove const from word_location arg
6510 * lyxvc.C (getLogFile): fix const type order
6512 * lyxtext.h: remove const from word_location arg, add arg name
6514 * lyxlayout.h: currect type on labeltype.
6516 * importer.C: correct \file
6518 * converter.C (intToFormat): use std:: on ret val, ws changes
6520 * bufferlist.h: correct \file
6522 * buffer.C (makeLinuxDocFile): fix const type order
6523 (makeDocBookFile): ditto
6524 (fillWithBibKeys): use std:: on stdlib args.
6526 * CutAndPaste.C: fix authors.
6527 (availableSelections): use std:: on return vector
6529 2003-06-27 André Pönitz <poenitz@gmx.net>
6531 * BufferView_pimpl.C:
6532 * bufferview_funcs.C:
6540 * text3.C: remove LyXCursor::row_ member
6543 * text.C: rename fullRebreak() to partialRebreak() and implement
6544 a fullRebreak() that really bereks fully
6546 * textcursor.h: new struct for cursor-related data
6548 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6550 * lyx_main.C (LyX): get full path of document loaded on the
6553 2003-06-26 André Pönitz <poenitz@gmx.net>
6555 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6556 remove unused/broken operator>,<,>=.
6558 * text.C: remove only use of broken operator<= in an Assert().
6560 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6562 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6563 moved errorlist_.clear to showErrorList
6565 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6567 * converter.C (scanLog, runLaTeX):
6568 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6569 move the bv->showErrorList call to the callers
6570 * lyxfunc.C: i.e. here...
6572 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6573 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6574 namespace, the second to...
6575 * buffer_funcs (BufferFormat, parseErrors): added
6576 * errorlist.C (ErrorList(TeXErrors const &)): removed
6578 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6580 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6582 2003-06-24 "Garst R. Reese" <reese@isn.net>
6586 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6588 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6590 * version.C.in: change docversion to 1.4
6592 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6594 * buffer.C: fix a bug just introduced
6596 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6598 * buffer.[Ch]: added the parseError signal and use it, removed
6600 * BufferView.[Ch] (addError): moved to ...
6601 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6602 to the Buffer::parseError signal to catch (guess what) parse errors
6603 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6605 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6607 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6608 ability to create a buffer and to return an existing one from
6609 the list. Moved these functions to...
6610 * buffer_funcs.[Ch]: added
6611 * BufferView.[Ch] (loadLyXFile): added
6612 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6613 job removed from bufferlist::loadLyXFile.
6614 * buffer.C (setReadOnly): make it work without view
6615 (i.e added an if (users))
6617 2003-06-19 Angus Leeming <leeming@lyx.org>
6620 * LyXAction.C (init):
6621 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6622 with LFUN_DIALOG_SHOW <name> <data>.
6624 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6626 * CutAndPaste.C (availableSelections): small compilation fix for
6627 ancient (gcc 2.9x) compilers
6629 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6631 * text3.C (cursorNext): add tmp var
6633 * text2.C (updateCounters): for function calling out of for clause
6634 (replaceSelectionWithString): ditto
6635 (insertStringAsParagraphs): ditto
6636 (getColumnNearX): add tmp var
6637 (setCursorFromCoordinates): add tmp var
6638 (cursorDownParagraph): add tmp var
6639 (deleteEmptyParagraphMechanism): add tmp var
6641 * text.C (insertChar): add tmp var
6643 * rowpainter.C (paintDepthBar): add tmp var
6645 * CutAndPaste.C (availableSelections): potentially check all
6646 paragraphs in a cut to fill the shown strings.
6648 2003-06-18 André Pönitz <poenitz@gmx.net>
6650 * kbmap.[Ch]: use vector<> instead of list<>
6652 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6654 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6655 pasteSelection with index
6657 * text2.C (pasteSelection): modify, call pasteSelection with index
6659 * paragraph.C (asString): reimplement version with no interval to
6660 call the one with interval.
6662 * lyxtext.h: add index arg to pasteSelection
6664 * MenuBackend.C (MenuItem): handle PasteRecent
6665 (Menu::read::Menutags): add md_pasterecent
6667 (expandPasteRecent): new function
6670 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6672 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6674 (availableSelections): new function
6676 2003-06-17 Angus Leeming <leeming@lyx.org>
6678 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6680 2003-06-17 Angus Leeming <leeming@lyx.org>
6683 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6685 * lyxfunc.C (dispatch): invoke it.
6687 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6689 * iterators.C (operator++, ParPosition): reintroduce some
6690 const_cast for the benefit of older compilers.
6692 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6694 * text3.C (dispatch): do not modify clipboard when doing
6695 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6696 LFUN_DELETE_SKIP on a selection selection
6698 2003-06-16 André Pönitz <poenitz@gmx.net>
6704 * tabular.[Ch]: IU of clone() and getLabelList();
6706 2003-06-13 André Pönitz <poenitz@gmx.net>
6708 * tabular.h: compactification
6710 2003-06-12 André Pönitz <poenitz@gmx.net>
6714 * tabular_funcs.h: some renaming plus whitespace
6716 2003-06-12 André Pönitz <poenitz@gmx.net>
6719 * BufferView_pimpl.C:
6725 * toc.C: Return a Paragraph & for ParIterator::operator*()
6727 2003-06-11 John Levon <levon@movementarian.org>
6731 * ToolbarBackend.C: add "Toolbars" section and
6734 2003-06-10 Angus Leeming <leeming@lyx.org>
6737 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6739 * lyxfunc.C (dispatch): invoke it.
6741 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6743 * main.C: protect <ios> with HAVE_IOS
6744 (main): protect sync_with_stdio with HAVE_IOS
6746 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6748 * text2.C (cutSelection): adjust
6749 (pasteSelection): adjust
6751 * messages.C: handle get of empty string
6753 * main.C (main): use sync_with_stdio(false)
6755 * lyxfunc.C (dispatch): adjust
6757 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6758 (WriteAs): remove unneeded BufferView arg.
6760 * bufferparams.h: use correct types on papersize, papersize2 and
6763 * bufferparams.C (readToken): adjust for type
6764 (writeLaTeX): add missing cases to switch.
6766 * bufferlist.C (quitWriteBuffer): adjust
6769 * buffer.C (asciiParagraph): remove some commented code.
6771 * CutAndPaste.C: remove current_view extern variable.
6772 (cutSelection): add BufferParams arg.
6773 (eraseSelection): add BufferParams arg.
6774 (pasteSelection): add Buffer const & arg
6776 2003-06-07 John Levon <levon@movementarian.org>
6779 * paragraph_funcs.C:
6780 * paragraph_pimpl.C:
6784 * paragraph.C: allow InsetERT to freely space lines,
6785 and some consolidation of code
6787 2003-06-06 José Matos <jamatos@fep.up.pt>
6789 * buffer.C (makeDocBookFile): fix bug #821
6791 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6793 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6795 2003-06-04 Angus Leeming <leeming@lyx.org>
6797 * buffer.C: bump format to 224.
6799 2003-06-05 André Pönitz <poenitz@gmx.net>
6801 * text2.C (redoParagraphs): remove two const_cast<>
6803 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6805 * ParagraphList.h: remove last remnants of NO_STD_LIST
6807 2003-06-03 Angus Leeming <leeming@lyx.org>
6809 * factory.C (createInset): small change to the way InsetExternal's params
6812 2003-06-04 André Pönitz <poenitz@gmx.net>
6814 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6816 * paragraph_pimpl.h:
6817 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6819 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6821 * undo_funcs.C: make some simple cases of undo work again
6823 2003-06-03 John Levon <levon@movementarian.org>
6825 * ispell.C: HPUX doesn't have sys/select.h
6828 2003-06-03 John Levon <levon@movementarian.org>
6830 * CutAndPaste.C: update tabular and include inset
6835 * paragraph.C: remove owningBuffer(), don't pass Buffer
6838 * factory.C: insetGraphicsParams changed
6840 2003-06-02 John Levon <levon@movementarian.org>
6846 * text3.C: remove insetparent
6848 2003-06-02 John Levon <levon@movementarian.org>
6851 * buffer.C: fix inset_iterator.end(), move out of line
6854 2003-06-01 John Levon <levon@movementarian.org>
6856 * text3.C: use a proper cut/paste when doing inset
6857 insert (from Jürgen Spitzmüller)
6859 2003-06-01 John Levon <levon@movementarian.org>
6861 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6863 2003-05-30 André Pönitz <poenitz@gmx.net>
6865 * rowpainter.C: unify second drawing phase
6867 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6869 * trans_mgr.C: remove one case of current_view
6871 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6873 * paragraph_funcs.h: remove paragraph.h include
6875 * paragraph.h: delete NO_STD_LIST stuff
6877 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6879 * buffer.h: remove paragraph.h include
6881 * ParagraphList.C: delete file
6883 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6885 * toc.C (getTocList): adjust
6887 * paragraph_pimpl.C (validate): adjust
6889 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6891 * paragraph.C (Paragraph): adjust
6892 (getPositionOfInset): use const_iterator, adjust
6893 (bibitem): use const_iterator, adjust
6894 (setInsetOwner): adjust
6896 * iterators.C (operator++): adjust
6898 * InsetList.[Ch]: Replace selfmade iterator with standard
6899 vector::iterator also introduce const_iterator. Remove getPos,
6900 getInset and setInset from InsetTable. Adjust accordingly.
6902 * BufferView.C (lockInset): adjust
6903 (ChangeInsets): adjust
6905 * tabular.[Ch]: delete commented same_id functions
6907 2003-05-28 John Levon <levon@movementarian.org>
6909 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6911 2003-05-28 André Pönitz <poenitz@gmx.net>
6913 * metricsinfo.[Ch]: remove 'fullredraw' member
6915 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6917 * lyxtextclass.C (operator): remove caching.
6919 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6923 * text2.C (cursorBottom): adjust
6924 (setCounter): use ParagraphList::find, adjust
6926 * text.C (workWidth): use ParagraphList::find, adjust
6928 * lyxcursor.C (LyXCursor): adjust
6930 * buffer.C (inset_iterator): adjust
6932 * ParagraphList.h: make iterator(value_type) private, make
6933 ParagraphList a friend of iterator.
6935 * ParagraphList.C (find): new function
6937 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6939 2003-05-27 André Pönitz <poenitz@gmx.net>
6941 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6943 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6945 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6947 2003-05-26 John Levon <levon@movementarian.org>
6949 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6951 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6953 * remove same_id from function signatures, adjust.
6955 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6957 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6959 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6961 * paragraph.C (Paragraph): get rid of same_ids parameter
6963 * ParagraphList.C (insert): adjust
6966 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6968 * paragraph_funcs.C (breakParagraph): adjust
6969 (breakParagraphConservative): adjust
6971 * buffer.C (readParagraph): adjust
6973 * ParagraphList.C (insert): take a reference instead of a pointer
6976 * paragraph.[Ch] (id): new function
6978 * bufferlist.C (newFile): adjust
6980 * ParagraphList.C (ParagraphList): adjust
6982 (push_back): take a reference instead of a pointer.
6984 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6986 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6989 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6990 set else use old code.
6992 * ParagraphList.C: remove all NO_NEXT code and only compile this
6993 code of NO_STD_LIST is set.
6995 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6997 * BufferView_pimpl.C:
7007 * graphics/GraphicsConverter.C:
7008 * graphics/PreviewLoader.C: header adjustment
7010 2003-05-23 Angus Leeming <leeming@lyx.org>
7012 * LaTeXFeatures.[Ch] (useBabel): new method.
7013 * bufferparams.C (writeLaTeX): use it.
7015 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7017 * ParagraphList.h (set): remove unused function.
7019 2003-05-23 André Pönitz <poenitz@gmx.net>
7022 * BufferView_pimpl.C:
7026 * undo_funcs.C: setUndo reworked
7028 * iterators.[Ch]: add access to topmost ParagraphList
7030 * lyxtext.[Ch] (workWidth): add a const
7032 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7034 * texrow.[Ch] (increasePos): remove function
7035 * exporter.C (export): removed unused var and outdated comment
7037 2003-05-23 Angus Leeming <leeming@lyx.org>
7039 * latexrunparams.h: rename fragile as moving_arg.
7040 * paragraph.C (simpleTeXOnePar): ditto.
7041 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7043 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7045 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7047 (textUndoOrRedo): comment out a currently unused var.
7049 * paragraph.h (NO_NEXT): enable NO_NEXT
7051 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7053 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7055 * exporter.C (Export): adjust for removeAutoInsets removal.
7057 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7059 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7061 * BufferView.[Ch] (removeAutoInsets): delete function
7063 2003-05-22 Angus Leeming <leeming@lyx.org>
7065 * latexrunparams.h: add a free_spacing variable.
7067 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7068 to pass moving_arg, as the data is stored in runparams.fragile.
7070 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7071 to Inset::latexOptional or to simpleTeXOnePar.
7073 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7074 free_spacing arg to Inset::latexOptional.
7076 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7079 2003-05-22 Angus Leeming <leeming@lyx.org>
7081 * latexrunparams.h: add fragile and use_babel variables.
7083 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7084 * buffer.C (makeLaTeXFile): store this returned value in
7085 runparams.use_babel, thus passing it to the inset::latex methods.
7087 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7088 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7090 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7091 longer has a fragile arg, as it is stored in runparams.fragile.
7093 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7094 moving_arg parameter as the data is stored in runparams.fragile.
7096 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7097 a fragile parameter as the data is stored in runparams.fragile.
7099 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7101 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7103 2003-05-22 Angus Leeming <leeming@lyx.org>
7105 * latexrunparams.h: add a 'bool nice' which defaults to false.
7107 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7108 now encapsulated within runparams.
7110 * bufferlist.C (updateIncludedTeXfiles):
7111 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7113 2003-05-22 Angus Leeming <leeming@lyx.org>
7115 * latexrunparams.h: new file containing struct LatexRunParams.
7116 * Makefile.am: add new file.
7118 * LaTeX.[Ch] (c-tor, run):
7119 * buffer.[Ch] (makeLaTeXFile):
7120 * bufferlist.[Ch] (updateIncludedTeXfiles):
7121 * converter.C (convert, scanLog):
7122 * converter.[Ch] (runLaTeX):
7123 * exporter.C (Export):
7124 * paragraph.[Ch] (simpleTeXOnePar):
7125 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7126 * paragraph_funcs.[Ch] (latexParagraphs):
7127 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7128 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7129 pass around a LatexRunParams parameter.
7131 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7133 * paragraph.[Ch]: remove unused constructor
7135 * ParagraphList.C (erase): new function, taking two iterators
7137 2003-05-22 André Pönitz <poenitz@gmx.net>
7139 * undo_funcs.C: remove duplicated code
7141 * iterator.[Ch]: operator=
7143 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7145 * tabular.C (SetMultiColumn): ws changes
7147 * rowpainter.C (paintFirst): get rid of a ->previous
7149 * lyx_cb.C (getPossibleLabel): parlist simplification
7151 * BufferView.C (ChangeInsets): simplify slightly.
7153 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7155 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7156 * lfuns.h: new LFUN_SPACE
7157 * lyxfunc.C: protected space has a new lfun
7158 * paragraph_funcs.C: read new space insets
7160 * factory.C: handle new space insets
7162 2003-05-22 André Pönitz <poenitz@gmx.net>
7165 * BufferView_pimpl.C:
7168 * undo_funcs.C: return a ParIterator from getParFromID.
7170 * iterators.[Ch]: add two const's
7172 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7174 * toc.C (getTocList): adjust
7176 * iterators.[Ch]: rework for parlist
7178 * buffer.C (par_iterator_begin): adjust
7179 (par_iterator_end): adjust
7181 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7183 * BufferView.C (removeAutoInsets): adjust
7184 (ChangeInsets): adjust
7186 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7188 * text.C (top_y): fix bug 1110
7190 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7192 * errorlist.[Ch]: added
7195 * BufferView_pimpl.C:
7196 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7199 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7201 * Makefile.am: ensure that lyx is relinked upon changes to the
7202 various "convenience" libs.
7204 2003-05-20 Angus Leeming <leeming@lyx.org>
7206 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7207 files are compiled in alphabetical order again.
7209 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7211 2003-05-19 Angus Leeming <leeming@lyx.org>
7213 * gettext.[Ch]: remove "char const * _(char const *)".
7215 2003-05-19 André Pönitz <poenitz@gmx.net>
7217 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7226 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7228 2003-05-19 André Pönitz <poenitz@gmx.net>
7232 * lyxtextclass.[Ch]:
7234 * paragraph_funcs.[Ch]:
7236 * text3.C: more insetenv work
7238 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7240 * ParagraphParameters.C (params2string): small bug fixed
7242 2003-05-16 André Pönitz <poenitz@gmx.net>
7245 * bufferview_funcs.C: patch from Kornel Benko to prevent
7246 crash when _(...) is called twice in a statement
7248 2003-05-16 André Pönitz <poenitz@gmx.net>
7255 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7257 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7259 * lyx_main.C (init): remove spurious static_cast
7261 2003-05-14 André Pönitz <poenitz@gmx.net>
7263 * BufferView.C: fix format string
7265 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7267 * BufferView.[Ch] (insertErrors): removed
7268 * BufferView.[Ch] (showErrorList): added
7269 * buffer.C (runChkTeX):
7270 * converter.C (scanLog): call showErrorList instead of inserterrors
7272 2003-05-13 André Pönitz <poenitz@gmx.net>
7274 * BufferView_pimpl.C:
7276 * bufferview_func.C:
7283 * tabular_funcs.h: tostr() from its own header
7285 * ParagraphParameters.C:
7290 * text3.C: STRCONV()
7292 2003-05-12 André Pönitz <poenitz@gmx.net>
7295 * BufferView_pimpl.C:
7299 * ParagraphParameters.C:
7303 * bufferview_funcs.C:
7316 * paragraph_funcs.C:
7320 * text3.C: boost::format -> bformat all over the place
7323 2003-05-09 André Pönitz <poenitz@gmx.net>
7325 * LColor.[Ch]: Pimpl the #include <map> away
7327 2003-05-09 John Levon <levon@movementarian.org>
7329 * bufferlist.C: never remove emergency saves
7331 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7333 * Makefile.am: better lib building
7335 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7337 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7339 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7340 (simpleTeXSpecialChars): adjust
7341 (simpleTeXSpecialChars): adjust
7342 * paragraph.C (simpleTeXOnePar): adjust
7343 * buffer.C (makeLaTeXFile): adjust
7345 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7347 * text2.C (changeDepth): parlist cleanup
7348 (getColumnNearX): ditto
7350 * rowpainter.C (getLabelFont): parlist cleanup
7352 * bufferlist.C (newFile): parlist cleanup
7354 * CutAndPaste.C (eraseSelection): parlist cleanup
7356 * BufferView_pimpl.C (trackChanges): parlist cleanup
7359 * BufferView.C (lockInset): parlist cleanup.
7360 (ChangeInsets): ditto
7362 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7364 * CutAndPaste.h: Update file header.
7366 * CutAndPaste.C: Update file header.
7367 Store the parts cut out of the Document in a limited_stack.
7368 (copySelection): adjust
7369 (pasteSelection): new function, takes the index in the limited stack.
7370 (nrOfParagraphs): adjust
7371 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7372 simplify error inset insertion.
7373 (checkPastePossible): adjust
7375 2003-05-06 John Levon <levon@movementarian.org>
7377 * text2.C: don't cast wrap inset to float
7379 2003-05-05 André Pönitz <poenitz@gmx.net>
7382 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7384 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7385 few naked Paragraph *.
7387 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7389 * bufferparams.C: Output warning if a document with missing
7390 TeX document class is loaded
7391 * exporter.C: Disable TeX exports if the document class is missing
7394 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7395 isTeXClassAvailable()
7397 2003-05-03 John Levon <levon@movementarian.org>
7400 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7401 explicit cursor show/hide
7403 * BufferView_pimpl.h:
7404 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7405 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7407 * lyxfunc.C: hide cursor before dispatching.
7412 * text3.C: remove explicit cursor hides
7414 2003-05-02 André Pönitz <poenitz@gmx.net>
7416 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7419 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7422 * text2.C: tiny whitespace
7424 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7426 * undo_funcs.C: almost only ws changes.
7428 * ParagraphList.C (splice): just return if pl is empty.
7430 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7432 * ParagraphList.C (splice): new function.
7434 * CutAndPaste.C (pasteSelection): use it
7436 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7438 * CutAndPaste.C (pasteSelection): remove the last next and
7439 previous from this file.
7441 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7443 * CutAndPaste.C (pasteSelection): more clean up, user proper
7444 ParagraphList functions for pasteing.
7446 * ParagraphList.C (insert): new function, three arg insert
7448 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7450 * ParagraphList.C (insert): new function, three arg insert
7452 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7455 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7457 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7459 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7461 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7463 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7465 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7466 (copySelection): clean up a bit.
7467 (pasteSelection): use make_pair
7469 * ParagraphList.C (ParagraphList): implement copy constructor
7470 (operator=): implement, base on copy constructor.
7473 * paragraph.C (erase): return a bool
7475 * paragraph_pimpl.C (erasePos): remove function, move contents...
7476 (erase): ... here. Return a bool.
7477 (erase): call erase instead of erasePos.
7479 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7481 * ParagraphList.h: define PitPosPair
7482 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7483 ParagraphList, fix a bug on pasting multiple pars
7484 * text2.C: change interface to C&P
7486 2003-04-30 André Pönitz <poenitz@gmx.net>
7488 * undo_func.C: revert part of yesterday's patch 2
7490 2003-04-30 John Levon <levon@movementarian.org>
7492 * LColor.C: s/tabular/table/
7494 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7496 * text3.C (dispatch): do not convert iterator -> pointer
7497 * undo_funcs.C (setCursorParUndo): ditto
7498 * text_funcs.C (transposeChars): ditto
7500 * text2.C (setLayout): ws changes only
7502 * text.C (breakParagraph): do not convert iterator -> pointer
7504 (acceptChange): ditto
7505 (rejectChange): ditto
7510 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7513 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7515 * text3.C (gotoInset): YABG (yet another bad getChar)
7517 2003-04-29 André Pönitz <poenitz@gmx.net>
7519 * paragraph.h: make operator= private unimplemented as long as
7522 * ParagraphList.C: whitespace
7525 * paragraph_pimpl.[Ch]:
7526 * paragraph_funcs.C:
7528 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7531 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7533 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7535 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7536 * paragraph.[Ch] (erase):
7537 * paragraph_pimpl.[Ch] (erase): change return type and value
7538 * text2.C (cutSelection): some rework
7540 2003-04-28 John Levon <levon@movementarian.org>
7542 * bufferlist.C: changes for unsaved changes dialog
7544 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7546 * bufferlist.C (newFile): set language (messages_) for new
7549 * buffer.C (readFile): ws changes only.
7551 2003-04-28 André Pönitz <poenitz@gmx.net>
7556 * BufferView_pimpl.C:
7557 * BufferView.C: getParFromID related ParagraphList::iterator changes
7559 2003-04-28 André Pönitz <poenitz@gmx.net>
7561 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7564 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7566 * messages.C: remove one more localedir class variable.
7568 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7570 * messages.C (getLocaleDir): singleton generation function
7572 (Messages): add a default constructor.
7574 * main.C (main): do not setup localedir here, do not call
7577 * gettext.C (_): use it.
7578 (gettext_init): delete funciton
7580 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7582 * gettext.C (getLyXMessages): new singleton generating function.
7584 * buffer.C (updateDocLang): adjust
7586 * Makefile.am (messages.o): add target
7587 (main.o): remove target
7589 2003-04-27 John Levon <levon@movementarian.org>
7594 * lyxvc.C: specify cancel button in Alert::prompt
7596 2003-04-26 John Levon <levon@movementarian.org>
7601 * LyXAction.C: add LFUN_INSET_SETTINGS
7603 * lyxfunc.C: don't enable tabular-feature when there's
7604 just any locking inset
7606 2003-04-26 John Levon <levon@movementarian.org>
7608 * bufferlist.C: re-add Cancel to buffer close question
7610 * lyxfunc.C: fix import UI a bit
7612 2003-04-25 John Levon <levon@movementarian.org>
7614 * gettext.C: remove the broken asserts for now
7616 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7618 * messages.C: make case where setlocale cannot comply work better.
7620 * buffer.C (updateDocLang): new function
7621 (changeLanguage): use it
7624 * text2.C (setCounter): use B_ a bit.
7626 * lyxlayout.C (Read): be sure to trim the label strings.
7628 * messages.C (Messages): fix typo in comment
7630 * buffer.C (readFile): set message_ after file is loaded.
7631 (makeDocBookFile): remove double return
7632 (changeLanguage): reset message_ upon language change.
7633 (B_): new func, use this to get translated buffer strings.
7635 * main.C: add myself and Jean Marc as authors.
7637 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7639 * messages.[hC]: pimplify Messages, and three different pimpls to be
7640 used in different circumstances.
7642 * gettext.[Ch]: change for use with new message code.
7644 2003-04-24 André Pönitz <poenitz@gmx.net>
7646 * factory.C: support for eqref
7648 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7650 * messages.[Ch]: add missing char
7652 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7654 * messages.[Ch]: New files
7656 2003-04-18 John Levon <levon@movementarian.org>
7660 * BufferView_pimpl.C:
7664 * text2.C: remove layout-copy/paste (bug 778)
7666 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7668 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7670 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7672 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7673 if they succeed. Act accordingly.
7675 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7677 * text2.C (setCharFont): adjust
7678 (setCounter): adjust
7679 (insertStringAsLines): adjust
7681 * text.C (leftMargin): adjust
7682 (setHeightOfRow): adjust
7684 * rowpainter.C (paintFirst): adjust
7687 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7689 (isFirstInSequence): ditto
7690 (getEndLabel): ditto
7693 * paragraph.C (getParLanguage): comment out some hard stuff.
7695 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7697 (simpleDocBookOnePar): ditto
7698 (makeDocBookFile): use ParagraphList::iterator
7700 * CutAndPaste.C (pasteSelection): adjust
7702 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7704 * text2.C (getFont): adjust
7705 (getLayoutFont): adjust
7706 (getLabelFont): adjust
7708 * paragraph_funcs.C (TeXOnePar): adjust
7710 * buffer.C (simpleLinuxDocOnePar): adjust
7711 (simpleDocBookOnePar): adjust
7713 * CutAndPaste.C (pasteSelection): adjust
7715 * BufferView.C (getEncoding): adjust
7717 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7719 2003-04-16 John Levon <levon@movementarian.org>
7721 * lyxfind.C: use parlist stuff for search/changes
7723 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7725 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7727 * text2.C (deleteEmptyParagraphMechanism): adjust
7729 * text2.[Ch] (ownerParagraph): delete func (both of them
7731 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7733 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7735 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7737 * ParagraphList.C: prepare for NO_NEXT
7739 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7741 * text2.C (getFont): adjust
7742 (getLayoutFont): adjust
7743 (getLabelFont): adjust
7745 * paragraph.C (getFont): adjust
7746 (getLabelFont): adjust
7747 (getLayoutFont): adjust
7749 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7751 2003-04-15 John Levon <levon@movementarian.org>
7755 * lyx_main.C: handle Include in .ui files
7757 2003-04-15 John Levon <levon@movementarian.org>
7759 * MenuBackend.C: make the doc files length shorter
7762 * ToolbarBackend.C: handle toolbar placement flags,
7765 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7767 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7770 * paragraph_funcs.C (TeXOnePar): adjust
7772 * paragraph.C (getLabelFont): add outerfont arg, adjust
7773 (getLayoutFont): ditto
7774 (simpleTeXOnePar): adjust
7776 * paragraph_pimpl.C (realizeFont): delete func
7778 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7780 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7781 row argument, constify cur argument.
7783 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7785 * text2.C (getFont): adjust
7786 (getLayoutFont): adjust
7787 (getLabelFont): adjust
7789 * paragraph_funcs.C (TeXOnePar): adjust
7790 (outerFont): new func...
7791 (realizeFont): ...moved out from here, changed this to facilitate
7794 * paragraph.C (getFont): take outerfont as arg, adjust
7795 (simpleTeXOnePar): add outerfont arg, adjust
7797 * buffer.C (simpleLinuxDocOnePar): adjust
7798 (simpleDocBookOnePar): adjust
7800 * CutAndPaste.C (pasteSelection): adjust
7802 * BufferView.C (getEncoding): adjust
7804 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7806 * text2.C (setCharFont): adjust
7807 (setCounter): adjust
7809 * text.C (leftMargin): adjust
7810 (setHeightOfRow): adjust
7812 * rowpainter.C (paintFirst): adjust
7815 * paragraph_pimpl.C (realizeFont): adjust
7817 * paragraph.C (isFirstInSequence): move from here...
7818 * paragraph_funcs.C (isFirstInSequence): ...to here
7820 * paragraph.C (outerHook): move from here...
7821 * paragraph_funcs.C (outerHook): ...to here
7823 * paragraph.C (depthHook): move from here...
7824 * paragraph_funcs.C (depthHook): ...to here
7826 * paragraph.C (getEndLabel): move from here...
7827 * paragraph_funcs.C (getEndLabel): ...to here
7829 * text2.C (realizeFont): move from here...
7830 * paragraph_funcs.C (realizeFont): ...to here
7832 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7834 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7836 2003-04-14 Angus Leeming <leeming@lyx.org>
7838 * LColor.[Ch]: scrap LColor mathcursor.
7840 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7842 * lyxlex.[Ch] (text): delete function
7843 * trans.C (Load): adjust
7844 * paragraph_funcs.C (readParToken): adjust
7846 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7848 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7849 vector<char> instead of a char[].
7851 * lyxlex_pimpl.C (getString): adjust
7853 (lex): use getString
7857 * lyxlex.C (text): use pimpl_->getString()
7861 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7863 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7864 (makeFontEntriesLayoutSpecific): temp var for par.size()
7865 (setLayout): temp var for ownerParagraphs().end()
7866 (fullRebreak): temp var for rows().end()
7867 (selectionAsString): temp var for boost::next(startpit), realize
7868 that the while really is a regular for loop.
7869 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7870 setCursor in one place.
7871 (setParagraph): temp vr for ownerParagraphs().end()
7872 (updateCounters): make the while loop a for loop
7873 (cutSelection): temp var for ownerParagraphs().end()
7874 (updateInset): make the do {} while() a regular for loop
7875 (getCursorX): use temp vars
7876 (setCurrentFont): use temp vars
7877 (getColumnNearX): use temp vars
7879 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7881 * text.C (transformChar): use temp var for getChar
7882 (computeBidiTables): use temp var for row->par()
7883 (fill): move temp vars for row->par() and pit->layout() earlier in
7885 (labelFill): use temp var for row->par()
7886 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7887 asc and desc, realize that pit never changes and that firstpit is
7888 just a duplicate and not needed. Exchange rit->par() with pit in a
7890 (breakAgain): use a temp var for boost::next(rit)
7891 (breakAgainOneRow): ditto
7892 (breakParagraph): use a temp var for rows().begin()
7893 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7894 (cursorRightOneWord): use temp var for cursor.par() and
7895 cursor.pos(), remove usage of tmpcursor.
7896 (cursorLeftOneWord): use temp var for cursor.par() and
7897 cursor.pos() only set cur at end of function.
7899 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7901 * text.C, text2.C: exchange all usage of Paragraph::next with
7902 boost::next(ParagraphList::iterator)
7904 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7906 * text2.C (cursorTop): simplify implementation
7907 (cursorBottom): ditto
7908 (setParagraph): use ParagraphList::iterator
7909 (setCurrentFont): adjust
7910 (getColumnNearX): adjust
7911 (cursorRight): adjust
7912 (cursorLeft): remove usage of Paragraph::previous
7913 (cursorUpParagraph): ditto
7914 (deleteEmptyParagraphMechanism): slight cleanup
7916 * text.C (isBoundary): take a Paragraph const & instead of a
7918 (addressBreakPoint): ditto
7919 (leftMargin): remove usage of Paragraph::previous.
7920 (setHeightOfRow): ditto
7921 (cursorLeftOneWord): ditto
7922 (selectNextWordToSpellcheck): ditto
7925 (breakParagraph): remove one usage of Paragraph::next
7926 (redoParagraph): ditto
7927 (acceptChange): ditto
7928 (insertChar): adjust
7929 (rowBreakPoint): adjust
7931 * bufferview_funcs.C (toggleAndShow): adjust
7933 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7935 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7936 methods to access it.
7938 * text.C: Added updateRowPositions to compute all row positions.
7939 Make top_y and getRowNearY() to use the cached y position
7941 2003-04-11 John Levon <levon@movementarian.org>
7943 * text.C (rowBreakPoint): reintroduce the labelEnd
7944 checks, code copied from the row fill stuff. Deep voodoo.
7946 * text.C (fill): add a comment and debugging for the
7949 2003-04-11 John Levon <levon@movementarian.org>
7951 * text.C: make sure fullrow insets get wrapped to the next line,
7952 even when they're in a manual label
7954 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7956 * text2.C (insertParagraph): make it take ParagraphList::iterator
7958 (setLayout): make it return ParagraphList::iterator
7959 (redoParagraphs): ditto
7961 (checkParagraph): ditto
7963 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7965 * text2.C: adjust several funcs.
7966 (realizeFont): take a ParagraphList::iterator as arg.
7967 (getLayoutFont): ditto
7968 (getLabelFont): ditto
7969 (setCharFont): ditto
7971 * text.C: adjust several funcs.
7973 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7975 * text.C (selectNextWordToSpellcheck): don't accidentally
7978 2003-04-10 John Levon <levon@movementarian.org>
7980 * ToolbarBackend.C (getIcon): special handling for
7983 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7985 * text2.C (cursorRight): a getChar assert fixed
7987 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7989 * text2.C (getFont): change to take a ParagraphList::iterator
7990 instead of Paragraph*
7991 Adjust several functions.
7993 * text.C (transformChar): change to take a ParagraphList::iterator
7994 instead of Paragraph*
7995 (singleWidth): ditto
7996 Adjust several functions.
7998 * rowpainter.C: adjust several functions
7999 * rowpainter.h:store a ParagraphList::iterator and not a
8003 2003-04-09 John Levon <levon@movementarian.org>
8008 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8009 and the "help" bits as well
8011 2003-04-09 John Levon <levon@movementarian.org>
8014 * ToolbarBackend.C: allow multiple toolbars
8016 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8018 * undo_funcs.C (setCursorParUndo): adjust
8020 * text_funcs.C (transposeChars): adjust
8022 * text3.C (gotoNextInset): adjust
8025 * text2.C (setLayout): adjust
8026 (changeDepth): adjust
8028 (redoParagraphs): adjust
8029 (selectionAsString): adjust
8030 (setParagraph): adjust
8031 (insertInset): adjust
8032 (cutSelection): adjust
8033 (copySelection): adjust
8034 (pasteSelection): adjust
8035 (insertStringAsLines): adjust
8036 (updateInset): adjust
8037 (setCursor): change to take a ParagraphList::iterator parameter
8038 (setCursorIntern): change to take a ParagraphList::iterator parameter
8039 (setCurrentFont): adjust
8040 (cursorLeft): adjust
8041 (cursorRight): adjust
8042 (deleteEmptyParagraphMechanism): adjust
8044 * text.C (breakParagraph): adjust
8045 (insertChar): adjust
8046 (acceptChange): adjust
8047 (rejectChange): adjust
8048 (selectNextWordToSpellcheck): adjust
8049 (changeCase): adjust
8053 * lyxfind.C (SearchForward): adjust
8054 (SearchBackward): adjust
8055 (nextChange): adjust
8057 * lyxcursor.C (par): adjust
8059 * lyxcursor.h: store a ParagraphList::iterator instead of a
8062 * lyx_cb.C (getPossibleLabel): adjust
8064 * bufferview_funcs.C (toggleAndShow): adjust
8066 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8069 * BufferView.C (removeAutoInsets): adjust
8070 (lockedInsetStoreUndo): adjust
8072 2003-04-09 John Levon <levon@movementarian.org>
8074 * ToolbarBackend.C: try icon without argument
8075 if with argument fails
8077 2003-04-08 John Levon <levon@movementarian.org>
8080 * ToolbarBackend.C: add getIcon(), handle tooltip,
8081 and change from "Icon" to "Item".
8083 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8085 * BufferView.C (lockInset): another bad getchar crunched
8087 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8089 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8092 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8094 * lyxfind.C (searchForward, searchBackwards): bug 782
8096 2003-04-07 John Levon <levon@movementarian.org>
8098 * paragraph.C: remove dead comment
8100 * text.C: remove troublesome depth-fiddling code
8101 in leftMargin() and rightMargin() (bug 1017)
8103 * text.C: fix breaking of rows in nested lists
8106 * text2.C (updateCounters): fix up depth values
8109 2003-04-07 John Levon <levon@movementarian.org>
8111 * BufferView_pimpl.C: clear message when doc finishes resizing,
8112 and after a mouse event
8114 * lyxfunc.C: clear message after exiting inset
8116 2003-04-07 John Levon <levon@movementarian.org>
8118 * bufferview_funcs.C: show math status not outside
8119 status in the statusbar
8121 2003-04-07 John Levon <levon@movementarian.org>
8123 * lyxfunc.C: note status changed after a depth change
8125 2003-04-04 Angus Leeming <leeming@lyx.org>
8127 * LaTeX.h: move AuxInfo operator==, != out of line.
8128 Remove LaTeX virtual destructor; nothing derives from it.
8129 Move operator()() out of public area and rename it startscript().
8130 Change protected for private.
8132 2003-04-04 Angus Leeming <leeming@lyx.org>
8135 * text2.C: remove unneeded #includes.
8137 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8139 * text2.C (dEPM): fix the heigth of the next row
8141 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8143 * text.C: squashed an invalid getChar requester + some ws changes
8145 2003-04-03 John Levon <levon@movementarian.org>
8147 * bufferview_funcs.h:
8148 * bufferview_funcs.C:
8151 * text2.C: make getStatus work for the env depth lfuns
8153 2003-04-03 John Levon <levon@movementarian.org>
8155 * bufferview_funcs.h:
8156 * bufferview_funcs.C:
8159 * text2.C: parlistize decDepth(), by merging it with incDepth()
8161 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8163 * lyxrow.h: store a ParagraphList::iterator instead of a
8164 Paragraph* and adjust other class functions to suit.
8166 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8169 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8171 * text2.C (setCursor): do not anchor to cursor row for the time being
8173 2003-04-02 John Levon <levon@movementarian.org>
8180 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8182 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8184 * paragraph.h: make ParagraphList and ParagraphList::iterator
8185 friends of Paragraph.
8187 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8189 * ParagraphList.C: Use the private next_ and previous_ from
8192 2003-04-01 John Levon <levon@movementarian.org>
8196 * Makefile.am: rename, remove defaults gunk
8199 * MenuBackend.C: remove defaults gunk
8202 * Languages.C: remove defaults gunk
8205 * lyx_main.C: error out if files couldn't be found.
8207 2003-04-02 John Levon <levon@movementarian.org>
8209 * text2.C: make incDepth() use parlist
8211 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8213 * undo_funcs.C (firstUndoParagraph): adjust
8215 * text3.C (gotoInset): adjust
8216 (dispatch): adjust, and rewrite loop.
8218 * text2.C (init): adjust, and rewrite loop.
8219 (redoParagraphs): adjust
8220 (updateInset): adjust, and rewrite loop.
8221 (deleteEmptyParagraphMechanism): adjust
8223 * tabular.C (LyXTabular): adjust
8224 (SetMultiColumn): adjust
8227 * lyxtext.[Ch] (ownerParagraph): delete function
8228 (ownerParagraphs): new function returns a ParagraphList.
8230 * BufferView.C (removeAutoInsets): adjust
8231 (insertErrors): adjust
8232 (setCursorFromRow): adjust
8234 2003-04-01 Angus Leeming <leeming@lyx.org>
8236 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8239 2003-04-02 John Levon <levon@movementarian.org>
8245 * text_funcs.C: make transposeChars a free function
8247 * lyxrow_funcs.C: remove wrong comment
8249 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8252 * rowpainter.C: adjust
8257 * lyxrow_funcs. [Ch]: new files
8259 * lyxrow.[Ch]: remove next and previous pointers
8260 (next,previous): remove accessor functions
8261 (isParEnd): move to lyxrow_funcs
8262 (lastPos): move to lyxrow_funcs
8263 (nextRowIsAllInset): move to lyxrow_funcs
8264 (lastPrintablePos): move to lyxrow_funcs
8265 (numberOfSeparators): move to lyxrow_funcs
8266 (numberOfHfills): move to lyxrow_funcs
8267 (numberOfLabelHfills): move to lyxrow_funcs
8268 (hfillExpansion): move to lyxrow_funcs
8272 * bufferview_funcs.C (toggleAndShow): adjust
8274 * RowList.h: Remove class RowList from file leave just a
8277 * RowList.C: delete file
8279 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8282 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8284 * text3.C (cursorPrevious): adjust
8285 (cursorNext): adjust
8288 * text2.C (redoHeightOfParagraph): adjust
8289 (redoDrawingOfParagraph): adjust
8292 * text.C (breakParagraph): adjust
8293 (insertChar): adjust
8296 * rowpainter.C (RowPainter): adjust
8297 (leftMargin): simplify and adjust
8298 (most rowpainter functions): adjust.
8300 * rowpainter.h: store the row as RowList::iterator not as Row*
8302 * lyxcursor.C (row): taka RowList::iterator as arg
8305 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8308 2003-04-01 Angus Leeming <leeming@lyx.org>
8310 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8311 stuff like bool Bool.
8313 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8315 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8318 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8320 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8323 * lyxtext.h (rows): drop one version and leve a const variant that
8324 returns a RowList::iterator.
8326 2003-03-31 Angus Leeming <leeming@lyx.org>
8328 * text.C (fill): ensure that the signature is the same as that in the
8331 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8333 * text2.C (redoParagraphs): adjust
8334 (updateCounters): adjust
8335 (checkParagraph): adjust
8336 (getColumnNearX): adjust and reformat a bit.
8338 * text.C (top_y): adjust
8340 (leftMargin): adjust
8341 (prepareToPrint): adjust
8343 (getRowNearY): adjust
8345 * lyxtext.h: make rowlist_ mutable.
8347 * RowList.h: add const_iterator
8348 * RowList.C: adjust for RowList::const_iterator.
8350 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8353 2003-03-31 John Levon <levon@movementarian.org>
8356 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8358 * lyx_main.C: set default fonts from using lyx_gui funcs
8360 * exporter.C: pdf_mode moved from lyxrc
8363 * lyxfunc.C: changes from above
8365 2003-03-31 John Levon <levon@movementarian.org>
8367 * lyx_main.C: fix to the last fix
8369 2003-03-31 John Levon <levon@movementarian.org>
8371 * bufferlist.C: "Load original" -> "Load Original"
8377 * format.C: more Alert cleanups
8379 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8381 * text2.C (removeParagraph): make it take a RowList::iterator as
8383 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8384 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8386 * text.C (anchor_row): make it take a RowList::iterator as arg,
8388 (computeBidiTables): make it take a const reference to Row instead
8389 of Row pointer, adjust.
8390 (leftMargin): make it take a RowList::iterator as arg, adjust.
8391 (rowBreakPoint): adjust
8392 (breakAgainOneRow): make it take a RowList::iterator as arg,
8394 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8396 * bufferview_funcs.C (toggleAndShow): adjust
8398 2003-03-30 John Levon <levon@movementarian.org>
8402 * boost-inst.C: moved to support
8404 * several files: changes as a result
8406 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8408 * text2.C (LyXText): adjust.
8410 (removeRow): make it take a RowList::iterator as arg, adjust.
8411 (fullRebreak): adjust
8412 (deleteEmptyParagraphMechanism): adjust
8413 (clearPaint): adjust
8416 * text.C (top_y): adjust
8417 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8418 (breakAgain): make it take a RowList::iterator as arg, adjust.
8419 (breakParagraph): adjust
8420 (insertChar): adjust
8423 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8424 need_break_row, and refresh_row.
8426 * text3.C (dispatch): adjust
8428 * text2.C (checkParagraph): adjust
8430 (setCursorFromCoordinates): adjust
8432 * text.C (top_y): adjust
8434 (getRow): make it return a RowList::iterator, adjust
8435 (getRowNearY): make it return a RowList::iterator, adjust
8437 * text2.C (init): adjust
8438 (insertRow): remove function
8439 (insertParagraph): adjust
8440 (redoParagraphs): adjust
8441 (fullRebreak): adjust
8442 (updateCounters): adjust
8444 * text.C (top_y): rewrite to use RowList iterators.
8446 (setHeightOfRow): rewrite to sue RowList iterators.
8447 (appendParagraph): adjust
8448 (breakAgain): adjust
8449 (breakAgainOneRow): adjust
8450 (breakParagraph): adjust
8452 (getRowNearY): adjust, and remove commented code.
8454 * lyxtext.h (firstRow): delete function
8455 (lastRow): delete function
8456 (rows): new function (const and non-const versions.)
8457 (insertRow): delete function
8459 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8461 2003-03-29 John Levon <levon@movementarian.org>
8463 * BufferView_pimpl.C: always update scrollbar top
8464 because pasting text when we're anchored could mean we
8465 miss an update altogether
8467 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8469 * text2.C (init): use rowlist_.end() and not 0.
8470 (insertRow): change to take a RowList::iterator as arg, adjust
8472 (insertParagraph): change to take a RowList::iterator as arg,
8474 (redoParagraphs): remove some debug msgs.
8476 * text.C (appendParagraph): change to take a RowList::iterator
8477 arg, adjust for this.
8478 (breakAgain): add an assert
8479 (breakAgainOneRow): ditto
8481 2003-03-29 John Levon <levon@movementarian.org>
8483 * text2.C: do not clear selection after inc/decDepth
8486 2003-03-29 John Levon <levon@movementarian.org>
8489 * buffer.C: fix broken strerrors according to Lars
8491 2003-03-29 John Levon <levon@movementarian.org>
8493 * converters.C: more Alert cleanups
8495 2003-03-29 John Levon <levon@movementarian.org>
8497 * bufferview_funcs.C: remove pointless Alert
8499 * buffer.C: fix confusing error message when
8500 a template is chmoded 000
8502 2003-03-29 John Levon <levon@movementarian.org>
8506 * BufferView_pimpl.C: Alert fixes
8510 * tabular-old.C: remove unused table compat reading
8512 2003-03-29 John Levon <levon@movementarian.org>
8517 * lyx_cb.C: more Alert cleanups
8519 * lyxfunc.C: don't allow chktex if not latex document
8521 2003-03-29 John Levon <levon@movementarian.org>
8525 * buffer.C: warnings pushed down from support/,
8528 2003-03-29 John Levon <levon@movementarian.org>
8530 * lyxfunc.C: safety check for C-r (revert)
8532 2003-03-29 John Levon <levon@movementarian.org>
8535 * bufferlist.C: several UI fixes using Alert::prompt.
8536 Fix the pointless looping quit code. Fix stupid revert
8541 * lyx_cb.C: use Alert::prompt
8543 * lyx_main.C: remove a silly question
8545 * lyxfunc.C: remove a couple of silly questions,
8548 2003-03-28 John Levon <levon@movementarian.org>
8550 * text2.C: fix bug 974 (End on empty par)
8552 2003-03-28 John Levon <levon@movementarian.org>
8554 * BufferView_pimpl.C:
8556 * lfuns.h: remove do-nothing math greek lfuns
8558 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8560 * lyxgluelength.h (isValidGlueLength): add default arg on
8561 parameter 2. Remove default arg from friend in class.
8563 * lyxlength.h (isValidLength): add default arg on parameter 2.
8564 Remove default arg from friend in class.
8566 * text2.C (LyXText): adjust, initialize refresh_row.
8570 (insertParagraph): adjst
8571 (redoParagraphs): adjust
8572 (fullRebreak): adjust
8573 (updateCounters): adjust
8574 (deleteEmptyParagraphMechanism): first attempt at fixing a
8577 * text.C (top_y): adjust
8578 (setHeightOfRow): adjust
8580 (getRowNearY): adjust
8582 * lyxtext.h: include RowList.h
8583 (~LyXText): not needed anymore, deleted.
8584 (firstRow): modify for RowList
8585 (lastRow): new function
8586 Delete firstrow and lastrow class variables, add a Rowlist
8587 rowlist_ class variable.
8589 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8592 * RowList.C (insert): fix case where it == begin().
8594 2003-03-26 Angus Leeming <leeming@lyx.org>
8596 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8597 the thesaurus dialog.
8599 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8601 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8603 * RowList.[Ch]: new files
8605 * ParagraphList.C (erase): handle the case where it == begin
8608 2003-03-25 John Levon <levon@movementarian.org>
8612 * aspell.C: add new aspell support
8615 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8618 2003-03-25 Angus Leeming <leeming@lyx.org>
8621 * LyXAction.C (init): new LFUN_INSET_INSERT.
8623 * BufferView_pimpl.C (dispatch): split out part of the
8624 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8626 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8629 2003-03-25 Angus Leeming <leeming@lyx.org>
8631 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8633 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8636 * text3.C: remove useless row->height(0)
8638 2003-03-25 John Levon <levon@movementarian.org>
8642 * text3.C: rename the refreshing stuff to better names
8644 2003-03-24 John Levon <levon@movementarian.org>
8646 * BufferView_pimpl.h:
8647 * BufferView_pimpl.C: update layout choice on a mouse
8650 2003-03-23 John Levon <levon@movementarian.org>
8652 * Makefile.am: fix commandtags.h reference
8654 2003-03-22 John Levon <levon@movementarian.org>
8656 * BufferView_pimpl.C:
8661 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8663 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8666 * text.C: take the rtl methods out of line
8668 2003-03-21 André Pönitz <poenitz@gmx.net>
8670 * metricsinfo.[Ch]: new files containing structures to be passed around
8671 during the two-phase-drawing...
8673 2003-03-21 André Pönitz <poenitz@gmx.net>
8675 * lyxtextclass.C: read 'environment' tag.
8677 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8679 * text2.C (removeRow): fix bug 964
8681 2003-03-20 John Levon <levon@movementarian.org>
8685 * text2.C: paint cleanups. Inset::update() dropped font
8688 2003-03-19 John Levon <levon@movementarian.org>
8690 * lyxfunc.C: only fitcursor/markDirty if available()
8692 2003-03-19 John Levon <levon@movementarian.org>
8694 * commandtags.h: rename to ...
8696 * lfuns.h: ... this, and renumber / cleanup
8698 2003-03-19 John Levon <levon@movementarian.org>
8700 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8701 fit the cursor after an lfun
8705 * BufferView_pimpl.h:
8706 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8708 * LyXAction.C: layout-character should have ReadOnly
8710 * ParagraphParameters.C:
8712 * bufferview_funcs.C:
8719 * undo_funcs.C: changes from above
8721 2003-03-18 John Levon <levon@movementarian.org>
8723 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8724 remove it from update()
8726 * lyxfunc.C: update layout choice after an lfun
8728 * text3.C: remove extra updateLayoutChoice()s
8730 2003-03-18 John Levon <levon@movementarian.org>
8732 * text.C: top_y change means full repaint, fix
8733 a drawing bug with cursor movement
8735 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8739 * text2.C: anchor row on setCursor
8741 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8743 * lyxtext.h: remove almost all mutable keywords
8746 * text3.C: remove const keywords accordingly
8748 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8750 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8752 (TeXEnvironment): ditto
8755 2003-03-17 John Levon <levon@movementarian.org>
8757 * text.C (rowBreakPoint): remove attempt to fix displayed
8758 math insets inside a manual label
8760 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8762 * lyxtext.h: remove BufferView* as first arg from almost all class
8764 * other files: adjust.
8766 2003-03-17 John Levon <levon@movementarian.org>
8770 * text2.C: more paint cleanups
8772 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8775 * rowpainter.C: remove "smart" background painting code
8777 2003-03-16 John Levon <levon@movementarian.org>
8782 * text3.C: add helper functions for setting refresh_row/y
8784 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8786 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8787 newline inset which *can* get inserted in the pass_thru layouts.
8788 This is primarily for literate documents.
8790 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8792 * buffer.C: increment LYX_FORMAT to 223
8794 2003-03-14 André Pönitz <poenitz@gmx.net>
8796 * textclass.h: prepare for environment handling, ws changes
8797 * lyxlayout.C: read latexheader and latexfooter tags
8799 2003-03-14 John Levon <levon@movementarian.org>
8801 * text2.C: rewrite ::status() a bit
8803 2003-03-13 John Levon <levon@movementarian.org>
8805 * lyxtext.h: add some docs
8807 2003-03-13 John Levon <levon@movementarian.org>
8812 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8814 2003-03-13 John Levon <levon@movementarian.org>
8816 * text3.C: fix appendix redrawing
8818 2003-03-13 John Levon <levon@movementarian.org>
8820 * text.C (setHeightOfRow):
8822 * rowpainter.C: make appendix mark have the text
8823 "Appendix" so the user knows what it is
8826 * LColor.C: s/appendixline/appendix/ from above
8828 2003-03-13 John Levon <levon@movementarian.org>
8830 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8832 * text.C: fix a getChar(pos) bug properly
8834 2003-03-13 Angus Leeming <leeming@lyx.org>
8837 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8838 Probably only temporary. Let's see how things pan out.
8840 * BufferView.C (unlockInset):
8841 * BufferView_pimpl.C (fitCursor):
8842 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8844 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8845 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8847 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8848 new functions that convert ParagraphParameters to and from a string.
8850 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8851 BufferView::Pimpl's dispatch.
8852 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8854 2003-03-13 André Pönitz <poenitz@gmx.net>
8858 * factory.C: make it aware of InsetEnv
8860 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8862 * text2.C (setCursor): never ask for one past last
8863 (setCursor): add some debugging messages.
8865 * text.C (singleWidth): never ask for one past last
8866 (singleWidth): ditto
8868 (rightMargin): ditto
8869 (rowBreakPoint): ditto
8870 (setHeightOfRow): ditto
8871 (prepareToPrint): ditto
8873 * rowpainter.C (paintBackground): never ask for one past last
8874 (paintText): never ask for one past last
8876 * paragraph_pimpl.C (getChar): make the assert stricter, never
8877 allow the one past last pos to be taken
8879 * paragraph.C (getChar): ws changes only
8881 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8882 (numberOfSeparators): ditto
8883 (numberOfHfills): ditto
8885 2003-03-12 John Levon <levon@movementarian.org>
8891 * paragraph_funcs.C: fix per-buffer authorlists
8893 2003-03-12 John Levon <levon@movementarian.org>
8895 * text.C: fix newline in right address
8897 2003-03-12 Angus Leeming <leeming@lyx.org>
8899 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8900 duplicate those in LyXFunc::dispatch.
8904 * ToolbarDefaults.C:
8905 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8906 Add LFUN_FONTFREE_UPDATE.
8908 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8909 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8911 * bufferview_func.[Ch]: several new functions to facilliate
8912 transfer of data to and from the character dialog.
8914 2003-03-12 John Levon <levon@movementarian.org>
8919 * paragraph_funcs.C:
8920 * paragraph_pimpl.C:
8924 * text3.C: remove META_NEWLINE in favour of an inset
8927 * rowpainter.C: remove paintNewline (done by inset)
8929 2003-03-12 John Levon <levon@movementarian.org>
8931 * paragraph_pimpl.C: complain about bad getChar()s
8932 for a while at least
8934 2003-03-12 John Levon <levon@movementarian.org>
8937 * buffer.C: move paragraph read into a separate function,
8938 a little renaming to reflect that.
8941 * bufferparams.C: remove the author_ids map, not necessary now
8944 * factory.C: moved Buffer::readInset to here
8946 * paragraph_funcs.h:
8947 * paragraph_funcs.C: readParagraph free function moved from
8950 * tabular.C: name change
8952 2003-03-12 John Levon <levon@movementarian.org>
8955 * ParagraphParameters.C: move par params input to
8958 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8959 behave like a normal read from the stream wrt reading
8960 a line vs. a \\token
8962 2003-03-12 John Levon <levon@movementarian.org>
8965 * ParagraphParameters.h:
8966 * ParagraphParameters.C: move output code to a
8969 2003-03-12 John Levon <levon@movementarian.org>
8971 * BufferView.C (insertLyXFile):
8974 * tabular.C: use a parlist iterator for creating the
8977 2003-03-12 John Levon <levon@movementarian.org>
8979 * buffer.C: make current_change static local not
8982 2003-03-12 John Levon <levon@movementarian.org>
8984 * buffer.C: fix insertStringAsLines for change tracking
8986 2003-03-12 John Levon <levon@movementarian.org>
8993 * bufferparams.C: move author list into params. Rename some
8994 functions. Move the header reading into a separate token
8995 loop. Move the header token reading into BufferParams.
8997 2003-03-12 John Levon <levon@movementarian.org>
8999 * changes.C: put debug inside lyxerr.debugging() checks
9001 2003-03-11 André Pönitz <poenitz@gmx.net>
9003 * factory.C: make it aware of InsetHFill
9005 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9007 * buffer.C (latexParagraphs): move function from here...
9008 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9011 2003-03-10 Angus Leeming <leeming@lyx.org>
9013 * LyXAction.C (init): fix bug in poplating array with multiple entries
9014 with the same LFUN (spotted by JMarc).
9016 2003-03-10 John Levon <levon@movementarian.org>
9019 * text2.C: move getColumnNearX() near its
9022 2003-03-10 John Levon <levon@movementarian.org>
9024 * text.C: fix break before a minipage
9026 2003-03-10 John Levon <levon@movementarian.org>
9028 * text.C: fix the last commit
9030 2003-03-09 John Levon <levon@movementarian.org>
9034 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9035 bug 365 (don't break before insets unless needed). Don't
9036 return a value > last under any circumstances.
9038 2003-03-09 Angus Leeming <leeming@lyx.org>
9040 * BufferView_pimpl.C (trackChanges, dispatch): call
9041 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9043 2003-03-09 Angus Leeming <leeming@lyx.org>
9045 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9046 than Dialogs::showAboutlyx().
9048 2003-03-09 Angus Leeming <leeming@lyx.org>
9050 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9051 than Dialogs::showTabularCreate().
9053 2003-03-09 John Levon <levon@movementarian.org>
9057 * text2.C: 3rd arg to nextBreakPoint was always the same.
9060 2003-03-08 John Levon <levon@movementarian.org>
9067 * text2.C: Remove the "main" bit from the "main body"
9070 2003-03-08 John Levon <levon@movementarian.org>
9072 * text.C (leftMargin): The left margin of an empty
9073 manual label paragraph should not include the label width
9076 * text.C (prepareToPrint): don't attempt to measure hfills
9077 for empty manual label paragraphs - the answer should be 0
9079 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9081 * CutAndPaste.C: remove commented code and reindent.
9083 2003-03-08 John Levon <levon@movementarian.org>
9086 * lyxfunc.C: move reloadBuffer()
9089 * BufferView.C: to here
9091 * lyxvc.C: add comment
9094 * vc-backend.C: call bv->reload() to avoid
9095 getStatus() check on MENURELOAD
9097 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9099 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9100 to an old format .dep file.
9102 2003-03-07 Angus Leeming <leeming@lyx.org>
9104 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9105 when the LFUN_MOUSE_RELEASE should have been handled by
9106 inset->localDispatch.
9108 2003-03-07 Angus Leeming <leeming@lyx.org>
9110 * BufferView_pimpl.C (dispatch):
9111 * LyXAction.C (init):
9112 * ToolbarDefaults.C (init):
9114 * lyxfunc.C (getStatus):
9115 remove LFUN_INSET_GRAPHICS.
9117 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9119 2003-03-07 Angus Leeming <leeming@lyx.org>
9122 * LyXAction.C (init):
9123 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9125 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9128 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9130 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9131 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9133 2003-03-07 Angus Leeming <leeming@lyx.org>
9135 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9138 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9140 * ParagraphList.C (front): new function
9143 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9145 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9146 and top_row_offset_. removed var first_y.
9148 * text2.C (LyXText, removeRow):
9150 * BufferView_pimpl.C:
9151 use these methods instead of using first_y
9153 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9155 * text2.C (pasteSelection): adjust for checkPastePossible
9157 * CutAndPaste.C: remove Paragraph * buf and replace with
9158 ParagraphList paragraphs.
9159 (DeleteBuffer): delete
9160 (cutSelection): change the tc type to textclass_type
9161 (copySelection): change the tc type to textclass_type
9162 (copySelection): adjust for ParagraphList
9163 (pasteSelection): change the tc type to textclass_type
9164 (pasteSelection): adjust for Paragraphlist
9165 (nrOfParagraphs): simplify for ParagraphList
9166 (checkPastePossible): simplify for ParagraphList
9167 (checkPastePossible): remove unused arg
9169 * ParagraphList.C (insert): handle the case where there are no
9172 * CutAndPaste.h: make CutAndPaste a namespace.
9174 * text3.C (dispatch): adjust
9176 * text.C (breakParagraph): add a ParagraphList as arg
9178 * paragraph_funcs.C (breakParagraph): change to take a
9179 BufferParams and a ParagraphList as args.
9180 (breakParagraphConservative): ditto
9181 (mergeParagraph): ditto
9182 (TeXDeeper): add a ParagraphList arg
9183 (TeXEnvironment): ditto
9186 * buffer.C (readLyXformat2): adjust
9187 (insertStringAsLines): adjust
9188 (latexParagraphs): adjust
9190 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9191 (cutSelection): adjust
9192 (pasteSelection): adjust
9194 * BufferView_pimpl.C (insertInset): adjust
9196 2003-03-05 Angus Leeming <leeming@lyx.org>
9199 * LyXAction.C (init):
9200 * BufferView_pimpl.C (dispatch):
9201 * lyxfunc.C (getStatus):
9202 remove LFUN_CHILD_INSERT.
9204 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9206 2003-03-05 Angus Leeming <leeming@lyx.org>
9209 * LyXAction.C (init):
9210 * src/factory.C (createInset):
9211 * lyxfunc.C (getStatus):
9212 * text3.C (dispatch):
9213 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9215 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9217 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9219 * ParagraphList.C (insert): handle insert right before end()
9220 (erase): fix cases where it can be first or last paragraph.
9222 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9224 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9225 Paragraph::next and Paragraph::previous
9228 * text.C (breakParagraph): adjust
9230 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9231 BufferParams& as arg.
9232 (breakParagraph): use ParagraphList::insert
9233 (breakParagraphConservative): take a Buffer* instead of a
9234 BufferParams& as arg.
9235 (breakParagraphConservative): use ParagraphList::insert.
9237 * buffer.C (insertStringAsLines): un-const it
9238 (insertStringAsLines): adjust
9240 * ParagraphList.C (insert): new function
9242 * CutAndPaste.C (pasteSelection): adjust
9244 * text.C (backspace): adjust
9246 * tabular.C (SetMultiColumn): adjust
9248 * CutAndPaste.C (cutSelection): adjust
9249 (pasteSelection): adjust
9251 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9252 Buffer const * as arg
9254 * ParagraphList.C (erase): new function
9255 * paragraph_funcs.C (mergeParagraph): use it
9256 (mergeParagraph): make it take a Buffer* instead of a
9257 BufferParams* as arg
9259 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9261 (breakParagraphConservative): ditto
9263 * paragraph.h: remove the breakParagraph friend
9265 * paragraph.C (eraseIntern): new function
9266 (setChange): new function
9268 * paragraph_funcs.C (mergeParagraph): make it take a
9269 ParagraphList::iterator instead of a Paragraph *, adjust
9272 * paragraph.h: move an #endif so that the change tracking stuff
9273 also works in the NO_NEXT case.
9275 2003-03-04 Angus Leeming <leeming@lyx.org>
9278 * LyXAction.C: new LFUN_INSET_MODIFY.
9280 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9281 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9283 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9285 * several files: ws changes only
9287 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9288 (TeXEnvironment): ditto
9291 * buffer.C (makeLaTeXFile): adjust
9292 (latexParagraphs): make it take ParagraphList::iterator as args
9294 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9296 * buffer.C (latexParagraphs): adjust
9298 * paragraph.C (TeXOnePar): move function...
9299 (optArgInset): move function...
9300 (TeXEnvironment): move function...
9301 * paragraph_pimpl.C (TeXDeeper): move function...
9302 * paragraph_funcs.C: ...here
9304 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9306 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9308 * buffer.C (readInset): remove compability code for old Figure and
9311 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9313 * buffer.C: ws changes
9316 * BufferView_pimpl.C: ditto
9319 * bufferlist.h: ditto
9323 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9325 * converter.[Ch]: split into itself +
9328 * Makefile.am: += graph.[Ch] + format.[Ch]
9335 * lyxrc.C: added #include "format.h"
9337 2003-02-27 Angus Leeming <leeming@lyx.org>
9339 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9342 * factory.C (createInset): add "label" to the factory.
9344 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9345 string and do no more.
9347 2003-02-27 Angus Leeming <leeming@lyx.org>
9350 * LyXAction.C (init):
9351 * factory.C (createInset):
9352 * BufferView_pimpl.C (dispatch):
9353 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9355 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9357 * lyxfunc.C (dispatch):
9358 * text3.C (dispatch): pass name to params2string.
9360 2003-02-26 Angus Leeming <leeming@lyx.org>
9362 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9364 Rearrange the ~includes. Strip out the unnecessary ones.
9366 * factory.C (createInset): reformat.
9367 create new insets for the various LFUN_XYZ_APPLY lfuns.
9369 2003-02-26 John Levon <levon@movementarian.org>
9372 * lyxrow.C: add isParStart,isParEnd helpers
9374 * paragraph.h: make isInserted/DeletedText take refs
9376 * paragraph_funcs.h:
9377 * paragraph_funcs.C: remove #if 0'd code
9382 * text.C: use lyxrow helpers above.
9383 Move draw and paint routines to RowPainter.
9384 Make several methods use refs not pointers.
9385 Make backgroundColor() const.
9386 Add markChangeInDraw(), isInInset().
9387 Merge changeRegionCase into changeCase.
9388 Make workWidth() shouldn't-happen code into an Assert.
9391 * rowpainter.C: new class for painting a row.
9394 * vspace.C: make inPixels take a ref
9396 2003-02-26 Angus Leeming <leeming@lyx.org>
9398 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9401 2003-02-25 John Levon <levon@movementarian.org>
9403 * ispell.C: give the forked command a more accurate name
9405 2003-02-22 John Levon <levon@movementarian.org>
9408 * toc.C: make TocItem store an id not a Paragraph *
9411 2003-02-21 Angus Leeming <leeming@lyx.org>
9413 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9414 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9415 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9416 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9417 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9418 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9420 * BufferView_pimpl.C (dispatch):
9421 * LyXAction.C (init):
9422 * factory.C (createInset):
9423 * lyxfunc.C (getStatus, dispatch):
9424 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9426 2003-02-21 Angus Leeming <leeming@lyx.org>
9428 * BufferView_pimpl.C (MenuInsertLyXFile):
9429 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9430 * lyxfunc.C (menuNew, open, doImport):
9431 no longer pass a LyXView & to fileDlg.
9433 2003-02-21 Angus Leeming <leeming@lyx.org>
9435 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9436 * LyXAction.C: change, BIBKEY to BIBITEM.
9437 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9438 Change InsetBibKey to InsetBibitem.
9439 Change BIBKEY_CODE to BIBITEM_CODE.
9440 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9441 * factory.C: replace insetbib.h with insetbibitem.h.
9442 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9443 * paragraph.C: replace insetbib.h with insetbibitem.h.
9444 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9445 Change bibkey() to bibitem().
9446 * text.C: remove insetbib.h.
9447 * text2.C: replace insetbib.h with insetbibitem.h.
9448 change bibkey() to bibitem().
9449 * text3.C: remove insetbib.h.
9450 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9452 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9454 * lyxrc.C (output): enclose user email in quotes (in case there are
9457 2003-02-18 John Levon <levon@movementarian.org>
9459 * buffer.h: add std::
9461 2003-02-17 John Levon <levon@movementarian.org>
9467 * pspell.C: reworking. Especially in ispell, a large
9468 number of clean ups and bug fixes.
9470 * lyxfunc.C: fix revert to behave sensibly
9472 2003-02-17 André Pönitz <poenitz@gmx.net>
9475 * commandtags.h: new LFUN_INSERT_BIBKEY
9485 * paragraph_func.C: remove special bibkey handling
9487 2003-02-17 John Levon <levon@movementarian.org>
9489 * text.C (Delete): fix case where delete at the end of
9490 the very first paragraph would not merge the pars
9492 2003-02-17 John Levon <levon@movementarian.org>
9494 * lyxrow.C: fix lastPrintablePos()
9496 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9498 * bufferparams.C (writeLaTeX): add a std:here
9500 * buffer.C: and remove a using directive there
9502 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9504 * buffer.C (makeLaTeXFile): move the code that generates the
9507 * bufferparams.C (writeLaTeX): ... in this new method
9509 * LaTeXFeatures.C (getEncodingSet): make const
9510 (getLanguages): make const
9512 * MenuBackend.C (binding): returns the binding associated to this
9514 (add): sets the status of each item by calling getStatus. Adds
9516 (read): add support for OptSubMenu
9517 (expand): remove extra separator at the end of expanded menu
9519 2003-02-15 John Levon <levon@movementarian.org>
9522 * BufferView_pimpl.C:
9524 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9525 inset code that had no actual effect. Remove unneeded status
9528 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9530 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9533 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9535 * text.C (drawLengthMarker): also draw an arrow marker for
9536 symbolic lengths (medskip...)
9538 2003-02-14 John Levon <levon@movementarian.org>
9541 * tabular.C: better method names
9543 2003-02-14 John Levon <levon@movementarian.org>
9545 * BufferView_pimpl.C:
9550 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9551 it's a more accurate name. Remove some pointless uses.
9553 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9555 * text2.C (LyXText): change order of initilizers to shut off
9558 2003-02-14 John Levon <levon@movementarian.org>
9560 * buffer.C: use ParIterator for getParFromID()
9564 * paragraph_pimpl.h:
9565 * paragraph_pimpl.C: remove unused getParFromID()
9567 2003-02-14 John Levon <levon@movementarian.org>
9569 * buffer.C: remove some very old #if 0'd parse code
9571 2003-02-13 John Levon <levon@movementarian.org>
9575 * text2.C: move hfillExpansion(), numberOfSeparators(),
9576 rowLast(), rowLastPrintable(), numberofHfills(),
9577 numberOfLabelHfills() ...
9580 * lyxrow.C: ... to member functions here.
9585 * text.C: remove LyXText::beginningOfMainBody(), and call
9586 p->beginningOfMainBody() directly. Move the check for
9587 LABEL_MANUAL into the latter.
9594 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9600 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9601 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9603 2003-02-13 John Levon <levon@movementarian.org>
9605 * CutAndPaste.C: remove debug
9607 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9609 * paragraph.C (asString): remove two unused variables
9611 * lyxtextclass.C (readTitleType):
9613 (LyXTextClass): handle new members titletype_ and titlename_
9615 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9617 2003-02-09 John Levon <levon@movementarian.org>
9620 * buffer.C: replace hand-coded list with a map for the dep clean
9622 2003-02-08 John Levon <levon@movementarian.org>
9624 * LaTeX.C: consolidate code into showRunMessage() helper
9626 2003-02-08 John Levon <levon@movementarian.org>
9631 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9632 and pass the size in explicitly
9634 * BufferView_pimpl.h:
9635 * BufferView_pimpl.C:
9637 * BufferView.C: add getCurrentChange()
9639 * BufferView_pimpl.h:
9640 * BufferView_pimpl.C: handle change lfuns
9642 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9643 for changes. Mark pasted paragraphs as new.
9645 * support/lyxtime.h:
9646 * support/lyxtime.C:
9647 * DepTable.C: abstract time_t as lyx::time_type
9650 * LColor.C: add colours for new text, deleted text, changebars
9652 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9653 package use "usenames" option.
9657 * LyXAction.C: add change lfuns
9661 * author.C: author handling
9664 * buffer.C: add a per-buffer author list, with first entry as
9665 current author. Handle new .lyx tokens for change tracking. Output
9666 author list to .lyx file. Output dvipost stuff to .tex preamble.
9667 Bump lyx format to 222.
9670 * bufferlist.C: add setCurrentAuthor() to reset current author details
9674 * bufferparams.C: add param for tracking
9676 * bufferview_funcs.C: output change info in minibuffer
9680 * changes.C: add change-tracking structure
9683 * debug.C: add CHANGES debug flag
9686 * lyxfind.C: add code for finding the next change piece
9689 * lyxrc.C: add user_name and user_email
9692 * lyxrow.C: add a metric for the top of the text line
9695 * text.C: implement accept/rejectChange()
9698 * text.C: paint changebars. Paint new/deleted text in the chosen
9699 colours. Strike through deleted text.
9703 * paragraph_pimpl.h:
9704 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9705 in the current change to the insert functions. Rework erase to
9706 mark text as deleted, adding an eraseIntern() and a range-based
9707 erase(). Implement per-paragraph change lookup and
9710 * paragraph_funcs.C: Fixup paste for change tracking.
9712 * tabular.C: mark added row/columns as new.
9714 * text.C: fix rowLast() to never return -1. Don't allow
9715 spellchecking of deleted text. Track transpose changes. Don't
9716 allow paragraph break or merge where appropriate.
9718 * text2.C: leave cursor at end of selection after a cut.
9720 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9722 * text.C (getLengthMarkerHeight):
9723 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9724 visible on screen too.
9726 2003-02-07 John Levon <levon@movementarian.org>
9728 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9730 2003-02-05 Angus Leeming <leeming@lyx.org>
9732 * lyxserver.C (read_ready): revert my patch of 11 September last year
9733 as it sends PC cpu through the roof. Presumably this means that
9734 the lyxserver will no longer run on an Alpha...
9736 2003-01-30 Angus Leeming <leeming@lyx.org>
9738 * factory.C (createInset): create an InsetCommandParam of type "index"
9739 and use it to 'do the right thing'.
9741 * text2.C (getStringToIndex): ensure that cursor position is always
9742 reset to the reset_cursor position.
9744 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9746 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9749 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9753 * lyxfunc.C: Output messages with identical spelling, punctuation,
9756 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9758 * MenuBackend.C (expandFormats): List only viewable export formats
9761 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9764 * lyxfunc.C (getStatus): Make sure that formats other than
9765 "fax" can also be disabled
9767 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9769 * text3.C (dispatch): put the lfuns that insert insets in 3
9770 groups, and call doInsertInset with appropriate arguments.
9771 (doInsertInset): new function, that creates an inset and inserts
9772 it according to some boolean parameters.
9774 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9776 * buffer.C (readFile): remember to pass on 'par' when calling
9777 readFile recursively.
9779 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9781 * MenuBackend.C (expandFormats): add "..." to import formats.
9783 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9785 * paragraph.C (asString): Remove XForms RTL hacks.
9787 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9788 * buffer.C: fix typo
9790 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9792 * Makefile.am (LIBS): delete var
9793 (lyx_LDADD): add @LIBS@ here instead.
9795 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9797 * Clarify the meaning of "wheel mouse jump"
9799 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9801 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9804 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9806 * importer.C (Loaders): do not preallocate 3 elements in the
9807 vector, since one ends up with 6 elements otherwise
9809 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9811 * DepTable.C (write): write the file name as last element of the
9812 .dep file (because it may contain spaces)
9813 (read): read info in the right order
9815 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9817 * paragraph_pimpl.C (simpleTeXBlanks):
9818 (simpleTeXSpecialChars):
9819 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9821 * tabular.C (latex): add some missing case statements. Reindent.
9823 * MenuBackend.C (expandToc): remove unused variable.
9825 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9834 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9837 2003-01-05 John Levon <levon@movementarian.org>
9840 * BufferView.C: add getEncoding()
9843 * kbsequence.C: do not store last keypress
9846 * lyxfunc.C: store last keypress here instead. Pass encoding
9849 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9851 * lyx_main.C (init): remove annoying error message when following
9852 symbolic links (bug #780)
9854 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9856 * text.C (insertChar):
9857 * lyxrc.C (getDescription): remove extra spaces
9859 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9861 * lyxrc.C (getDescription): remove extra spaces
9863 2002-12-20 John Levon <levon@movementarian.org>
9865 * text3.C: hack fix for page up/down across tall rows
9867 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9869 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9872 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9874 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9875 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9876 thesaurus is not compiled in
9878 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9880 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9882 2002-12-16 Angus Leeming <leeming@lyx.org>
9885 * lyx_main.C (init): remove override_x_deadkeys stuff.
9887 2002-12-12 John Levon <levon@movementarian.org>
9889 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9890 insert. Only remove shift modifier under strict
9893 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9895 * MenuBackend.C (expandToc): fix crash.
9897 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9899 * MenuBackend.C (expandToc): gettext on float names.
9901 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9903 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9904 implement bool empty() [bug 490]
9906 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9908 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9910 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9912 * several files: ws changes
9914 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9916 * text2.C (setCounter): clean up a bit, use boost.format.
9917 (updateCounters): initialize par upon declaration.
9919 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9920 if the layout exists. We do not just store the layout any more.
9921 (SwitchLayoutsBetweenClasses): use boost.format
9923 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9925 * converter.C (convert): if from and to files are the same, use a
9926 temporary files as intermediary
9928 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9931 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9933 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9935 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9937 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9939 * tabular.C (asciiPrintCell): use string(size, char) instead of
9942 * sgml.C (openTag): fix order of arguments to string constructor
9945 * lyxfunc.C (dispatch): use boost.format
9947 * lots of files: change "c" -> 'c'
9949 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9951 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9953 2002-11-25 Angus Leeming <leeming@lyx.org>
9955 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9957 * lyx_main.C (init): compile fix.
9959 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9961 * lyx_cb.C (start): boost.formatify
9962 do not include <iostream>
9964 * lengthcommon.C: ws only
9966 * boost-inst.C,BoostFormat.h: add more explict instantations
9968 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9970 * lots of files: handle USE_BOOST_FORMAT
9972 2002-11-21 John Levon <levon@movementarian.org>
9974 * pspell.C: fix compile
9976 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9978 * lyxfunc.C (dispatch): use boost::format
9982 * lyxfont.C (stateText): use boost::format
9984 * lyx_main.C (LyX): use boost::format
9986 (queryUserLyXDir): ditto
9989 (typedef boost::function): use the recommened syntax.
9991 * importer.C (Import): use boost::format
9993 * debug.C (showLevel): use boost::format
9995 * converter.C (view): use boost::format
10000 * bufferview_funcs.C (currentState): use boost::format
10002 * bufferlist.C (emergencyWrite): use boost::format
10004 * buffer.C (readLyXformat2): use boost::format
10005 (parseSingleLyXformat2Token): ditto
10007 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10009 * LaTeX.C (run): use boost::format
10011 * Chktex.C (scanLogFile): use boost::format
10013 * BufferView_pimpl.C (savePosition): use boost::format
10014 (restorePosition): ditto
10015 (MenuInsertLyXFile): ditto
10017 * BoostFormat.h: help file for explicit instation.
10019 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10021 * tabular.C (latex): Support for block alignment in fixed width
10024 2002-11-17 John Levon <levon@movementarian.org>
10026 * BufferView_pimpl.C:
10028 * lyxfunc.C: split filedialog into open/save
10030 2002-11-08 Juergen Vigna <jug@sad.it>
10032 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10033 by my last patch (hopefully).
10035 2002-11-08 John Levon <levon@movementarian.org>
10044 * toc.C: ParConstIterator, and use it (from Lars)
10046 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10048 * lyxtextclass.[Ch]: revise and add doxygen comments
10050 2002-11-07 John Levon <levon@movementarian.org>
10052 * text.C: fix progress value for spellchecker
10054 * toc.C: fix navigate menu for insetwrap inside minipage
10056 * paragraph_funcs.C: added FIXME for suspect code
10058 2002-11-07 John Levon <levon@movementarian.org>
10060 * BufferView_pimpl.C: fix redrawing of insets
10063 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10065 * text2.C (updateCounters): fix bug 668
10067 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10069 * text3.C (dispatch): Do not make the buffer dirty when moving the
10072 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10074 * vc-backend.C: STRCONV
10075 (scanMaster): ditto
10077 * text2.C (setCounter): STRCONV
10079 * paragraph.C (asString): STRCONV
10081 * lyxlength.C (asString): STRCONV
10082 (asLatexString): ditto
10084 * lyxgluelength.C (asString): STRCONV
10085 (asLatexString): ditto
10087 * lyxfunc.C (dispatch): STRCONV
10090 * lyxfont.C (stateText): STRCONV
10092 * importer.C (Import): STRCONV
10094 * counters.C (labelItem): STRCONV
10095 (numberLabel): ditto
10096 (numberLabel): remove unused ostringstream o
10101 * bufferview_funcs.C (currentState): STRCONV
10103 * buffer.C (readFile): STRCONV
10104 (asciiParagraph): ditto
10105 (makeLaTeXFile): ditto
10107 * Spacing.C (writeEnvirBegin): STRCONV
10109 * LaTeXFeatures.C (getLanguages): STRCONV
10110 (getPackages): ditto
10112 (getBabelOptions): ditto
10113 (getTClassPreamble): ditto
10114 (getLyXSGMLEntities): ditto
10115 (getIncludedFiles): ditto
10119 (scanAuxFile): ditto
10122 * LString.h: add the STRCONV macros
10124 * BufferView_pimpl.C (savePosition): STRCONV
10125 (restorePosition): ditto
10126 (MenuInsertLyXFile): ditto
10128 * vc-backend.C (scanMaster): change from submatch[...] to
10131 * funcrequest.C: include config.h
10133 * factory.C: include config.h
10135 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10137 * box.C: include config.h
10139 * LaTeX.C (scanAuxFile): change from submatch[...] to
10143 2002-10-25 Angus Leeming <leeming@lyx.org>
10145 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10147 * ispell.[Ch] (setError): new method.
10148 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10149 Use setError() insetead of goto END.
10151 * lyx_cb.C (AutoSave): move out child process into new class
10154 2002-10-30 John Levon <levon@movementarian.org>
10156 * text3.C: make start appendix undoable
10158 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10160 * lyxlength.C (inPixels): Fix returned value.
10162 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10165 2002-10-24 Angus Leeming <leeming@lyx.org>
10167 * lyxgluelength.h: no need to forward declare BufferParams
10168 or BufferView, so don't.
10170 2002-10-21 John Levon <levon@movementarian.org>
10172 * BufferView.C: menuUndo ->undo, redo
10174 * BufferView.h: document, remove dead, make some methods private
10176 * paragraph_funcs.h:
10177 * paragraph_funcs.C:
10178 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10183 * sgml.C: move sgml open/close tag into sgml.C
10185 * bufferview_funcs.h: unused prototype
10188 * lyxfunc.C: remove unused
10191 * text.C: remove unused
10193 2002-10-21 John Levon <levon@movementarian.org>
10197 * BufferView_pimpl.h:
10198 * BufferView_pimpl.C: fix mouse wheel handling based on
10199 patch from Darren Freeman
10201 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10203 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10205 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10207 * lyxlength.C (inPixels): Fix hanfling of negative length.
10208 Fix LyXLength::MU case.
10210 2002-10-16 John Levon <levon@movementarian.org>
10212 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10214 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10216 * converter.C (view): add support for $$i (file name) and $$p
10217 (file path) for the viewer command. If $$i is not specified, then
10218 it is appended to the command (for compatibility with old syntax)
10220 2002-10-14 Juergen Vigna <jug@sad.it>
10222 * undo_funcs.C (textHandleUndo): alter the order in which the
10223 new undopar is added to the LyXText, as we have to set first
10224 the right prev/next and then add it as otherwise the rebuild of
10225 LyXText is not correct. Also reset the cursor to the right paragraph,
10226 with this IMO we could remove the hack in "redoParagraphs()".
10228 2002-10-09 Angus Leeming <leeming@lyx.org>
10230 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10231 to turn off an optimisation if a new inset is to be inserted.
10233 2002-10-11 André Pönitz <poenitz@gmx.net>
10235 * lyxtext.h: make some functions public to allow access
10236 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10238 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10240 * text3.C (dispatch): when changing layout, avoid an infinite loop
10243 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10245 * lyxrc.C (read): treat a viewer or converter command of "none" as
10248 * MenuBackend.C (expandFormats): for an update, also allow the
10249 formats that are not viewable
10251 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10252 script if it is newer than the lyxrc.defaults in user directory
10254 2002-10-07 André Pönitz <poenitz@gmx.net>
10256 * text.C: Vitaly Lipatov's small i18n fix
10258 2002-09-25 Angus Leeming <leeming@lyx.org>
10260 * ispell.h: doxygen fix.
10262 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10264 * buffer.h (readFile): Add a new argument to the method, to allow
10265 reading of old-format templates.
10267 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10269 * toc.C (getTocList): Get TOC from InsetWrap.
10271 2002-09-16 John Levon <levon@movementarian.org>
10273 * lyxfunc.C: check tabular for cut/copy too
10275 2002-09-12 John Levon <levon@movementarian.org>
10277 * LyXAction.C: tidy
10280 * factory.C: add header
10282 * paragraph_funcs.h:
10283 * paragraph_funcs.C: cleanup
10285 2002-09-11 John Levon <levon@movementarian.org>
10287 * PrinterParams.h: odd/even default to true
10289 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10291 * PrinterParams.h: update printer parameters for new xforms dialog
10293 2002-09-11 Angus Leeming <leeming@lyx.org>
10295 * lyxserver.C (read_ready): re-write to make it more transparent
10296 and to make it work in coherent fashion under Tru64 Unix.
10298 2002-09-11 André Pönitz <poenitz@gmx.net>
10302 * text3.C: implement LFUN_WORDSEL
10304 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10306 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10307 make floatlist_ a boost::shared_ptr<FloatList>
10309 * lyxtextclass.C: include FloatList.h
10310 (LyXTextClass): initialize floatlist_
10311 (TextClassTags): add TC_NOFLOAT
10312 (Read): match "nofloat" to TC_NOFLOAT and use it.
10313 (readFloat): modify call to floatlist_
10317 * FloatList.[Ch] (FloatList): remove commented out float
10319 (erase): new function
10321 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10323 * MenuBackend.C (expandToc): fix crash when there is no document
10326 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10328 * many files: Add insetwrap.
10330 2002-09-09 John Levon <levon@movementarian.org>
10332 * text2.C: remove confusing and awkward depth wraparound
10334 2002-09-09 John Levon <levon@movementarian.org>
10336 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10339 * buffer.C: remove getIncludeonlyList()
10342 * lyxfunc.C: remove headers
10344 2002-09-09 Juergen Vigna <jug@sad.it>
10346 * text.C (getColumnNearX): fix form Michael this is most
10347 probably a cut&paste bug.
10349 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10351 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10353 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10354 references, ws changes.
10356 * text2.C (init): update counters after init
10357 (insertParagraph): no need to set counter on idividual paragraphs.
10358 (setCounter): access the counters object in the textclass object
10359 on in the buffer object.
10360 (updateCounters): ditto
10362 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10363 shared_ptr<Counters> to avoid loading counters.h in all
10365 (LyXTextClass): initialize ctrs_
10366 (TextClassTags): add TC_COUNTER, and ...
10367 (Read): use it here.
10368 (CounterTags): new tags
10369 (readCounter): new function
10370 (counters): new funtion
10371 (defaultLayoutName): return a const reference
10373 * counters.C (Counters): remove contructor
10374 (newCounter): remove a couple of unneeded statements.
10375 (newCounter): simplify a bit.
10376 (numberLabel): some small formatting changes.
10378 * buffer.[Ch]: remove all traces of counters, move the Counters
10379 object to the LyXTextClass.
10381 2002-09-06 Alain Castera <castera@in2p3.fr>
10383 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10384 package to set the horizontal alignment on fixed width columns.
10387 * lyx_sty.h: added tabularnewline macro def.
10389 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10391 2002-09-06 John Levon <levon@movementarian.org>
10393 * LyXAction.C: tooltips for sub/superscript
10395 * MenuBackend.C: a bit more verbose
10397 * lyxfunc.C: tiny clean
10399 * undo_funcs.C: document undo_frozen
10401 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10403 * counters.C (Counters): add missing algorithm counter.
10405 * text2.C (setCounter): lookup the counter with layouts latexname
10406 instead of by section number.
10407 (setCounter): use a hackish way to lookup the correct enum
10409 a float name->type change
10410 reset enum couners with counter name directly instead of depth value.
10412 * counters.C (Counters): remove the push_backs, change to use the
10413 float type not the float name.
10414 (labelItem): remove unused string, float name->type change
10416 * counters.h: don't include vector, loose the enums and sects vectors
10418 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10420 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10421 (Read): add float->TC_FLOAT to textclassTags
10422 (Read): and handle it in the switch
10423 (readFloat): new function
10425 * FloatList.C (FloatList): comment out the hardcoded float
10428 * lyxlayout.h: ws change.
10430 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10432 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10434 2002-09-03 Angus Leeming <leeming@lyx.org>
10436 * BufferView_pimpl.h: qualified name is not allowed in member
10437 declaration: WorkArea & Pimpl::workarea() const;
10439 * factory.C: added using std::endl directive.
10441 * text3.C: added using std::find and std::vector directives.
10443 2002-08-29 André Pönitz <poenitz@gmx.net>
10446 * text2.C: remove unused member number_of_rows
10449 * BufferView2.C: remove file, move contents to...
10450 * BufferView.C: ... here
10452 * BufferView_pimpl.C:
10453 * factory.C: move more inset creation to factory
10455 * vspace.C: avoid direct usage of LyXText, ws changes
10458 don't provide direct access to WorkArea, use two simple
10459 acessors haveSelction() and workHeight() instead
10462 2002-08-29 John Levon <levon@movementarian.org>
10464 * BufferView_pimpl.C (dispatch): do not continue when
10467 2002-08-28 André Pönitz <poenitz@gmx.net>
10469 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10472 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10474 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10476 * buffer.C: increment LYX_FORMAT to 221
10478 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10479 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10481 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10483 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10485 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10487 * factory.C (createInset): use LyXTextClass::floats
10489 * MenuBackend.C (expandFloatListInsert):
10490 (expandFloatInsert):
10493 * text2.C (setCounter):
10495 * LaTeXFeatures.C (useFloat):
10496 (getFloatDefinitions):
10498 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10500 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10501 floatlist_, with accessor floats().
10503 * FloatList.h: remove global FloatList
10505 2002-08-26 André Pönitz <poenitz@gmx.net>
10507 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10511 * BufferView_pimpl.C:
10512 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10514 2002-08-25 John Levon <levon@movementarian.org>
10516 * LyXAction.C: fix margin note description
10518 2002-08-24 John Levon <levon@movementarian.org>
10522 * bufferview_funcs.C:
10524 * undo_funcs.C: cleanups
10526 * lyxfunc.C: disable CUT/COPY when no selection
10528 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10530 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10531 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10533 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10534 Add backward compatibility to "mono", "gray" and "no".
10536 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10538 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10539 (and file_format >= 200).
10541 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10543 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10545 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10547 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10549 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10551 * BufferView_pimpl.C:
10558 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10559 inset and code to make it work with the paragraph code. The inset
10560 can be anywhere in the paragraph, but will only do the expected
10561 thing in LaTeX if the layout file contains the parameter line
10563 (or more generally, a nonzero value) for that layout.
10565 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10567 * paragraph.h: remove the declaration of undefined counters class
10570 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10572 * text2.C (setCounter): fixed enumeration mis-count as reported by
10573 Dr. Richard Hawkins.
10575 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10577 * paragraph_funcs.h: remove some unneeded includes
10579 * text.C (backspace): pasteParagraph now in global scipe
10581 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10582 (pasteSelection): ditto
10584 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10585 * paragraph_funcs.C (pasteParagraph): ... here
10587 2002-08-20 André Pönitz <poenitz@gmx.net>
10589 * commandtags.h: new LFUNs for swapping/copying table row/colums
10592 * lyxfunc.C: support for new lfuns
10594 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10597 * buffer.[Ch]: remove NO_COMPABILITY stuff
10599 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10601 * boost.C (throw_exception): new file, with helper function for
10602 boost compiled without exceptions.
10607 * ParameterStruct.h:
10608 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10610 * bufferlist.C (emergencyWriteAll): use boost bind
10612 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10614 * text.C: include paragraph_funcs.h
10615 (breakParagraph): breakParagraph is now in global scope
10617 * paragraph_funcs.[Ch]: new files
10619 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10622 * buffer.C: include paragraph_funcs.h
10623 (insertStringAsLines): breakParagraph is now in global scope
10625 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10628 * CutAndPaste.C: include paragraph_funcs.h
10629 (cutSelection): breakParagraphConservative is now in global scope
10630 (pasteSelection): ditto
10632 * buffer.h: declare oprator== and operator!= for
10633 Buffer::inset_iterator
10635 * bufferlist.C (emergencyWrite): don't use fmt(...)
10637 * text3.C: add using std::endl
10639 * BufferView.C (moveCursorUpdate): remove default arg
10641 2002-08-20 André Pönitz <poenitz@gmx.net>
10643 * buffer.[Ch]: move inline functions to .C
10646 * BufferView_pimpl.C:
10648 * buffer.[Ch]: use improved inset_iterator
10651 * paragraph.[Ch]: write one paragraph at a time
10653 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10655 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10656 style if style is not specified.
10658 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10660 * text2.C (setCounter): when searching for right label for a
10661 caption, make sure to recurse to parent insets (so that a caption
10662 in a minipage in a figure float works) (bug #568)
10664 2002-08-20 André Pönitz <poenitz@gmx.net>
10666 * text3.C: new file for LyXText::dispatch() and helpers
10668 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10670 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10672 2002-08-19 André Pönitz <poenitz@gmx.net>
10675 * text.C: new LyXText::dispatch()
10677 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10679 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10681 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10683 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10686 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10688 * Makefile.am: use $(variables) instead of @substitutions@
10690 2002-08-15 André Pönitz <poenitz@gmx.net>
10693 * BufferView_pimpl.C: streamlining mathed <-> outer world
10697 * LyXAction.C: remove unused LFUN_MATH
10699 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10701 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10703 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10705 * paragraph.C (Paragraph): reformat a bit
10706 (cutIntoMinibuffer): use builtin InsetList function instad of
10710 * buffer.C: include boost/bind.hpp, add using std::for_each
10711 (writeFileAscii): use ParagraphList iterators
10712 (validate): use for_each for validate traversal of paragraphs
10713 (getBibkeyList): use ParagraphList iterators
10714 (resizeInsets): use for_each to resizeInsetsLyXText for all
10716 (getParFromID): use ParagraphList iterators
10718 * BufferView2.C (lockInset): use paragraph list and iterators
10720 2002-08-14 John Levon <levon@movementarian.org>
10722 * lyxserver.C: remove spurious xforms include
10724 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10726 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10728 2002-08-13 André Pönitz <poenitz@gmx.net>
10731 * lyxfunc.C: further cleaning
10733 2002-08-13 André Pönitz <poenitz@gmx.net>
10735 * funcrequest.h: new constructor
10737 * funcrequest.C: move stuff here from .h
10740 * BufferView_pimpl.C:
10743 * lyxfunc.C: subsequent changes
10745 * lyxfunc.h: new view() member function
10747 * lyxfunc.C: subsequent changes
10749 2002-08-13 Angus Leeming <leeming@lyx.org>
10752 * BufferView_pimpl.C:
10760 changes due to the changed LyXView interface that now returns references
10761 to member variables not pointers.
10763 2002-08-13 Angus Leeming <leeming@lyx.org>
10765 * WordLangTuple (word, lang_code): return references to strings,
10770 * lyxtext.h: forward-declare WordLangTuple.
10775 * text.C: #include "WordLangTuple.h".
10778 * text.C: (selectNextWordToSpellcheck): constify return type.
10780 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10786 * paragraph_pimpl.h:
10789 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10790 suggested by Angus.
10791 Made updateCounter always count from start of buffer, and removed
10792 second argument (par).
10793 Reverted floats number display to '#'. Perhaps I'll try again when the
10794 code base is sanitized a bit.
10796 2002-08-12 Angus Leeming <leeming@lyx.org>
10798 * buffer.[Ch] (getLabelList): constify.
10800 2002-08-07 André Pönitz <poenitz@gmx.net>
10802 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10804 * funcrequest.h: extension to keep mouse (x,y) position
10806 2002-08-12 Juergen Vigna <jug@sad.it>
10808 * BufferView2.C (insertErrors): forbid undo when inserting error
10811 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10813 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10815 * ParagraphList.[Ch]: new files
10817 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10819 * BufferView2.C (lockInset): ParagraphList changes
10822 * bufferlist.C: ditto
10826 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10828 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10829 unused class variable counter_,
10831 * paragraph.[Ch] (getFirstCounter): delete unused function
10833 * counters.C: include LAssert.h
10834 (reset): add a new function with no arg, change other version to
10835 not have def. arg and to not allow empty arg.
10837 * text2.C (setCounter): remove empty arg from call to Counters::reset
10839 2002-08-11 John Levon <levon@movementarian.org>
10841 * Makefile.am: add WordLangTuple.h
10843 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10845 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10846 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10848 * insets/insettext.C: InsetList changes
10850 * graphics/GraphicsSupport.C (operator()): InsetList changes
10852 * toc.C (getTocList): InsetList changes
10854 * paragraph_pimpl.[Ch]: InsetList changes
10856 * paragraph.[Ch]: InsetList changes
10858 * buffer.C (inset_iterator): InsetList changes
10859 (setParagraph): ditto
10860 * buffer.h (inset_iterator): ditto
10861 * iterators.C (operator++): ditto
10862 * iterators.h: ditto
10864 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10866 * InsetList.[Ch]: new files, most InsetList handling moved out of
10869 * BufferView2.C (removeAutoInsets): InsetList changes
10871 (ChangeInsets): ditto
10873 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10875 * paragraph_pimpl.h (empty): new function
10877 * paragraph.[Ch] (empty): new function
10879 * other files: use the new Paragraph::empty function
10881 2002-08-09 John Levon <levon@movementarian.org>
10883 * lyxtext.h: remove unused refresh_height
10885 2002-08-09 John Levon <levon@movementarian.org>
10892 * paragraph.C: move sgml char escaping out of paragraph
10895 * paragraph.C: remove id setter
10899 * paragraph_pimpl.C: remove dead tex_code_break_column
10901 * bufferview_funcs.C: small cleanup
10903 * lyxfunc.C: remove dead proto
10905 * lyxtext.h: make some stuff private. Remove some dead stuff.
10907 * lyxgluelength.C: make as[LyX]String() readable
10909 2002-08-08 John Levon <levon@movementarian.org>
10914 * ToolbarDefaults.C:
10917 * toc.C: lyxaction cleanup
10919 2002-08-08 John Levon <levon@movementarian.org>
10921 * BufferView2.C: small cleanup
10924 * lyxfind.C: move unnecessary header into the .C
10926 2002-08-08 John Levon <levon@movementarian.org>
10928 * funcrequest.h: just tedious nonsense
10931 * lyx_main.C: cleanups
10934 * vspace.C: remove dead header lyx_main.h
10936 2002-08-07 Angus Leeming <leeming@lyx.org>
10939 * paragraph_pimpl.h:
10940 Forward declare class Counters in paragraph.h by moving the ctrs member
10941 variable into Paragraph::Pimpl.
10942 (counters): new method, returning a reference to pimpl_->ctrs.
10944 * text2.C: ensuing changes.
10946 2002-08-07 John Levon <levon@movementarian.org>
10948 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10950 * BufferView_pimpl.C: announce X selection on double/triple
10953 * lyx_main.C: use correct bool in batch dispatch
10955 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10957 2002-08-07 André Pönitz <poenitz@gmx.net>
10959 * funcrequest.h: new class to wrap a kb_action and its argument
10962 * BufferView_pimpl[Ch]:
10966 * lyxrc.C: subsequent changes
10969 2002-08-07 John Levon <levon@movementarian.org>
10971 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10972 document options change.
10974 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10979 * makefile.am: move counters functionality over from
10980 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10982 2002-08-06 John Levon <levon@movementarian.org>
10984 * WordLangTuple.h: new file for word + language code tuple
10995 * BufferView2.C: use WordLangTuple
10998 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11000 2002-08-06 John Levon <levon@movementarian.org>
11002 * lyx_main.C: fix cmdline batch handling
11004 2002-08-06 André Pönitz <poenitz@gmx.net>
11006 * lyxrc.C: set default for show_banner to true
11008 2002-08-06 John Levon <levon@movementarian.org>
11010 * pspell.C: fix a crash, and allow new aspell to work
11012 2002-08-06 John Levon <levon@movementarian.org>
11015 * kbmap.C: small cleanup
11018 * vspace.C: add const
11020 2002-08-05 John Levon <levon@movementarian.org>
11022 * LyXAction.C: back to tabular-insert
11024 2002-08-04 John Levon <levon@movementarian.org>
11027 * BufferView.C: cosmetic change
11029 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11039 * BufferView2.C: purge all "Lyx" not "LyX" strings
11042 * lyxcursor.C: attempt to add some documentation
11047 * ToolbarDefaults.C:
11048 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11049 merge with LFUN_TABULAR_INSERT
11056 * pspell.C: split up i/pspell implementations into separate
11057 files, many cleanups
11059 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11061 * text2.C: some cleanup
11063 * lyxfunc.C: don't check for isp_command == "none" any more, it
11064 didn't make any sense
11066 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11071 * makefile.am: move counters functionality over
11072 from text2.C/paragraph.[Ch] to counters.[Ch], and
11074 2002-08-02 John Levon <levon@movementarian.org>
11076 * buffer.C: s/lyxconvert/lyx2lyx/
11078 2002-08-02 Angus Leeming <leeming@lyx.org>
11080 * lyxlex.C: revert John's change as it breaks reading of the user
11083 2002-08-02 Angus Leeming <leeming@lyx.org>
11085 * importer.C (Import):
11086 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11087 changes due to LyXView::view() now returning a boost::shared_ptr.
11089 2002-08-02 John Levon <levon@movementarian.org>
11091 * lyxlex.C: small cleanup
11093 2002-08-02 John Levon <levon@movementarian.org>
11095 * text2.C (status): small cleanup, no logic change
11097 2002-08-01 John Levon <levon@movementarian.org>
11100 * buffer.C (writeFile): don't output alerts, caller
11104 * lyx_cb.C: from above
11106 * lyxfunc.C: allow to open non-existent files
11108 2002-07-31 John Levon <levon@movementarian.org>
11110 * lyxserver.C: don't let incidental errors get
11113 2002-07-30 John Levon <levon@movementarian.org>
11115 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11117 2002-07-30 John Levon <levon@movementarian.org>
11120 * lyxserver.C: remove I/O callback too
11122 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11124 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11127 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11129 * many files: strip,frontStrip -> trim,ltrim,rtrim
11131 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11133 * PrinterParams.h: remove extern containsOnly, and include
11134 support/lstrings.h instead.
11136 * LaTeX.C (scanAuxFile): modify because of strip changes
11138 * buffer.C (makeLaTeXFile): ditto
11139 * bufferparams.C (writeFile): ditt
11140 * lyxfont.C (stateText): ditto
11141 * lyxserver.C (read_ready): ditto
11142 * vc-backend.C (scanMaster): ditto
11144 * BufferView_pimpl.h: ws changes
11146 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11148 2002-07-26 André Pönitz <poenitz@gmx.net>
11150 * kb_sequence.C: remove unnedred usings
11152 2002-07-26 Juergen Vigna <jug@sad.it>
11154 * lyxfind.C (LyXReplace): we have to check better if the returned
11155 text is not of theLockingInset()->getLockingInset().
11157 2002-07-25 Juergen Vigna <jug@sad.it>
11159 * lyxfind.C (LyXReplace): don't replace if we don't get the
11162 * undo_funcs.C (createUndo): remove debugging code.
11164 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11166 * buffer.C (parseSingleLyXformat2Token): Use default placement
11167 when reading old floats.
11169 * FloatList.C (FloatList): Change the default placement of figure
11170 and tables to "tbp".
11172 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11174 * MenuBackend.C: using std::max
11176 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11178 * MenuBackend.C (expandToc):
11179 (expandToc2): code moved from xforms menu frontend. It is now
11180 generic and TOCs are transparent to menu frontends.
11182 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11184 * toc.C (getTocList): protect against buf=0
11186 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11187 Menu as first parameter. Now, this calls itself recursively to
11188 expand a whole tree (this will be useful for TOC handling)
11189 (expandFloatInsert): remove 'wide' version of floats
11191 * MenuBackend.h (submenuname): returns the name of the submenu.
11192 (submenu): returns the submenu itself, provided it has been
11193 created by MenuBackend::expand
11195 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11197 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11198 insets which have noFontChange == true. (bug #172)
11200 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11202 * BufferView_pimpl.C: add connection objects and use them...
11205 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11207 * MenuBackend.C (expandLastfiles):
11210 (expandFloatListInsert):
11211 (expandFloatInsert):
11212 (expand): split expand in parts
11214 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11216 * lyx_gui.C: use lyx_gui::exit()
11218 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11220 * LyXAction.C: show the failing pseudo action
11222 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11224 * buffer.C (readFile): Run the lyxconvert script in order to read
11227 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11231 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11233 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11237 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11239 2002-07-22 Herbert Voss <voss@lyx.org>
11242 * lyxlength.[Ch]: add support for the vertical lengths
11244 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11246 * toc.[Ch]: std:: fixes
11248 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11250 * lyxrc.C: do not include lyx_main.h
11252 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11258 * BufferView2.C: include "lyxlex.h"
11261 * bufferparams.h: do not #include "lyxlex.h"
11263 * lyxtextclasslist.C (Add): remove method
11264 (classlist): renamed to classlist_
11266 * paragraph_pimpl.C:
11270 * bufferview_funcs.C:
11275 * toc.C (getTocList): use BufferParams::getLyXTextClass
11277 * toc.C (getTocList): use InsetFloat::addToToc
11279 * toc.[Ch]: new files, containing helper functions to handle table
11282 * lyxfunc.C (dispatch): no need to remove spaces around command
11284 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11285 first command of the sequence; it is not very clever, but I do not
11286 have a better idea, actually
11288 * LyXAction.C (LookupFunc): make sure to remove space at the
11289 beginning and end of the command
11291 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11293 * MenuBackend.C (getMenubar): new method: return the menubar of
11295 (read): treat differently reading of menu and menubar (in
11296 particular, the menubar has no name now)
11297 (Menu::menubar): remove
11299 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11302 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11304 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11305 a bibitem inset in a RTL paragraph.
11307 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11309 * paragraph_pimpl.C: constify
11311 * BufferView_pimpl.C:
11313 * lyxfunc.C: fix dispatch in a nicer way
11315 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11317 * lyxfunc.C (dispatch):
11318 * BufferView_pimpl.C:
11319 * BufferView_pimpl.h:
11321 * BufferView.h: rename Dispatch() to dispatch()
11323 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11325 * lyxlayout.C (Read): honor DependsOn tag
11327 * lyxlayout.[Ch] (depends_on): new method
11329 * version.C.in: update lyx_docversion
11331 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11333 * paragraph.C (validate): remove from here...
11334 * paragraph_pimpl.C (validate): ... and move here
11335 (isTextAt): make it const
11337 * buffer.C (getLists): ws cleanup
11339 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11341 * language.C (read): Use iso8859-1 encoding in latex_lang
11342 (this prevents LyX from crashing when using iso10646-1 encoding).
11344 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11346 * text2.C (toggleInset): if cursor is inside an inset, close the
11347 inset and leave cursor _after_ it
11349 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11351 * lyxfunc.C: move minibuffer completion handling out of here
11353 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11355 * BufferView_pimpl.C:
11356 * LaTeX.C: fix dispatch calls
11358 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11360 * text.C (drawChars): Fix Arabic text rendering.
11362 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11366 * lyxfunc.C: remove message-push/pop
11370 * lyxfunc.C: rationalise some code by removing verboseDispatch
11371 in favour of a bool argument to dispatch()
11373 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11375 * lyx_main.C (init): make sure to read symlinks as absolute paths
11377 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11380 * lyxfunc.C: no need for commandshortcut to be a member
11382 2002-07-15 André Pönitz <poenitz@gmx.net>
11384 * converter.C: add support for $$s (scripts from lib/scripts dir)
11385 * lyx_main.C: white space
11387 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11391 * lyxrc.C: remove second exit confirmation
11393 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11398 * BufferView_pimpl.h:
11399 * BufferView_pimpl.C:
11400 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11402 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11404 * MenuBackend.C (expand): add numeric shortcuts to document menu
11406 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11408 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11410 * lyxfont.C (setLyXFamily):
11417 * buffer.C (asciiParagraph): use ascii_lowercase
11419 2002-07-15 Mike Fabian <mfabian@suse.de>
11421 * lyxlex_pimpl.C (search_kw):
11422 * lyxlex.C (getLongString):
11423 * converter.h (operator<):
11424 * converter.C (operator<):
11425 * buffer.C (parseSingleLyXformat2Token):
11427 * ToolbarDefaults.C (read):
11428 * MenuBackend.C (checkShortcuts):
11430 * LColor.C (getFromGUIName):
11431 (getFromLyXName): use the compare_ascii_no_case instead of
11432 compare_no_case, because in turkish, 'i' is not the lowercase
11433 version of 'I', and thus turkish locale breaks parsing of tags.
11435 2002-07-16 Angus Leeming <leeming@lyx.org>
11437 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11438 now takes a Buffer const & argument.
11440 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11442 * BufferView.C (resize): check there's a buffer to resize
11444 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11446 * lyxfunc.C: remove dead code
11449 * lyxserver.C: use lyx_guii::set_read_callback
11451 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11453 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11454 an inset in a RTL paragraph.
11456 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11458 * lyxfunc.C: repaint after a font size update
11460 2002-07-15 André Pönitz <poenitz@gmx.net>
11462 * lyxlength.C: inBP should be able to return negative values
11464 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11466 * lyxfunc.C: use lyx_gui::update_fonts()
11468 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11470 * lyxfunc.C: use lyx_gui::update_color()
11472 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11478 * lyxrc.C: remove file->new asks for name option, and let
11479 buffer-new take an argument
11481 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11483 * BufferView_pimpl.C: remove unneeded extra repaint()
11485 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11487 * LyXAction.C: allow command-sequence with NoBuffer
11489 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11491 2002-07-10 Angus Leeming <leeming@lyx.org>
11493 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11495 2002-07-09 Angus Leeming <leeming@lyx.org>
11497 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11499 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11501 * lengthcommon.h: whitespace
11503 * lyxfunc.C: update scrollbar after goto paragraph
11505 * lyxtext.h: factor out page break drawing, and fix it so
11506 page break/added space paints as selected nicely
11508 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11510 * BufferView_pimpl.C: add FIXMEs, clean up a little
11512 2002-07-09 André Pönitz <poenitz@gmx.net>
11514 * lyxfont.[Ch]: support for wasy symbols
11516 2002-07-08 André Pönitz <poenitz@gmx.net>
11518 * BufferView_pimpl.C: apply John's patch for #93.
11520 2002-07-05 Angus Leeming <leeming@lyx.org>
11522 * BufferView_pimpl.C (buffer): generate previews if desired.
11524 * LColor.h: add "preview" to the color enum.
11526 * LColor.C (LColor): add a corresponding entry to the items array.
11528 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11531 2002-07-05 Angus Leeming <leeming@lyx.org>
11533 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11534 The body of the code is now in the method that is passed an ostream &
11535 rather than a file name.
11536 Pass an additional only_preamble parameter, useful for the forthcoming
11539 2002-07-03 André Pönitz <poenitz@gmx.net>
11541 * lyxfunc.C: simplify getStatus() a bit for math stuff
11543 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11545 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11547 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11549 * text.C (changeRegionCase): do not change case of all the
11550 document when region ends at paragraph end (bug #461)
11552 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11554 * paragraph.C (startTeXParParams):
11555 (endTeXParParams): add \protect when necessary
11557 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11559 * BufferView_pimpl.C (workAreaExpose): remove warning
11561 2002-06-27 Angus Leeming <leeming@lyx.org>
11563 * Makefile.am: add lyxlayout_ptr_fwd.h.
11565 2002-06-26 André Pönitz <poenitz@gmx.net>
11567 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11569 2002-06-25 Angus Leeming <leeming@lyx.org>
11571 * lyxfunc.C (dispatch): Comment out the call to
11572 grfx::GCache::changeDisplay. The method no longer exists now that the
11573 pixmap generation part of the graphics loader has been moved into
11576 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11578 * text2.C: layout as layout
11580 * text.C: layout as layout
11582 * tabular.C (OldFormatRead): layout as layout
11584 * paragraph_pimpl.C (TeXDeeper): layout as layout
11585 (realizeFont): layout as layout
11587 * paragraph.C (writeFile): layout as layout
11588 (validate): layout as layout
11589 (getFont): layout as layout
11590 (getLabelFont): layout as layout
11591 (getLayoutFont): layout as layout
11592 (breakParagraph): layout as layout
11593 (stripLeadingSpaces): layout as layout
11594 (getEndLabel): layout as layout
11595 (getMaxDepthAfter): layout as layout
11596 (applyLayout): layout as layout
11597 (TeXOnePar): layout as layout
11598 (simpleTeXOnePar): layout as layout
11599 (TeXEnvironment): layout as layout
11600 (layout): layout as layout
11601 (layout): layout as layout
11603 * lyxtextclass.C (compare_name): new functor to work with
11604 shared_ptr, layout as layout
11605 (Read): layout as layout
11606 (hasLayout): layout as layout
11607 (operator): layout as layout
11608 (delete_layout): layout as layout
11609 (defaultLayout): layout as layout
11611 * lyxlayout_ptr_fwd.h: new file
11613 * lyxlayout.C (Read): layout as layout
11615 * lyx_cb.C (MenuInsertLabel): layout as layout
11617 * bufferlist.C (newFile): layout as layout
11619 * buffer.C (readLyXformat2): layout as layout
11620 (parseSingleLyXformat2Token): layout as layout
11621 (insertStringAsLines): layout as layout
11622 (asciiParagraph): layout as layout
11623 (latexParagraphs): layout as layout
11624 (makeLinuxDocFile): layout as layout
11625 (simpleLinuxDocOnePar): layout as layout
11626 (makeDocBookFile): layout as layout
11627 (simpleDocBookOnePar): layout as layout
11628 (getLists): layout as layout
11630 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11632 * CutAndPaste.C (cutSelection): layout as layout
11633 (pasteSelection): layout as layout
11634 (SwitchLayoutsBetweenClasses): layout as layout
11636 * BufferView_pimpl.C (Dispatch): layout as layout
11637 (smartQuote): layout as layout
11639 * BufferView2.C (unlockInset): layout as layout
11641 2002-06-24 André Pönitz <poenitz@gmx.net>
11643 * lyxfunc.C: fix #487
11645 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11649 * lyxfunc.C: remove display_shortcuts, show_banner
11651 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11653 * Buffer_pimpl.C: oops, update on resize
11655 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11662 * BufferView.C: use repaint()
11664 * BufferView_pimpl.h:
11665 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11666 as it's a clearer description. Remove superfluous
11669 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11671 * text.C: fix bug 488. Not ideal, but getting
11672 getWord() to work properly for the insets that
11673 matter is more difficult ...
11675 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11677 * BufferView_pimpl.C:
11680 * lyxfunc.C: remove the six million index lyxfuncs to just
11681 one, and DTRT (bug 458)
11683 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11687 * BufferView_pimpl.h:
11688 * BufferView_pimpl.C: clean up resize() stuff,
11689 and unnecessary updateScreen()s
11691 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11695 * BufferView_pimpl.h:
11696 * BufferView_pimpl.C:
11699 * minibuffer.C: remove focus management of workarea,
11700 not needed. Use screen's greyOut()
11702 2002-06-17 Herbert Voss <voss@lyx.org>
11704 * converter.C: (convert) do not post a message, when converting
11705 fails, let the calling function decide what to do in this case
11707 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11709 * lyxfunc.C: tidy up a little
11711 2002-06-16 <alstrup@diku.dk>
11713 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11714 Got rid of FORMS_H_LOCATION include. Now we are
11717 2002-06-15 LyX Development team <lyx@rilke>
11719 * buffer.[Ch] (sgmlOpenTag):
11720 (sgmlCloseTag): Added support for avoiding pernicious mixed
11721 content. Return number of lines written.
11723 (makeLinuxDocFile):
11724 (makeDocBookFile): Fixed calls to sgml*Tag.
11725 Simple white space clean.
11727 (simpleDocBookOnePar): Simple white space clean.
11729 * tabular.[Ch] (docBook): Renamed to docbook and got another
11730 argument to related with the pernicious mixed content.
11732 (docbookRow): Fixed calls for docbook inset method.
11734 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11736 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11737 so it's X11 independent.
11741 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11743 2002-06-15 Lyx Development team <lyx@electronia>
11745 * intl.h: Renamed getTrans to getTransManager.
11747 2002-06-14 Angus Leeming <leeming@lyx.org>
11749 * Makefile.am: nuke forgotten stl_string_fwd.h.
11751 2002-06-12 Angus Leeming <leeming@lyx.org>
11753 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11755 2002-06-13 Angus Leeming <leeming@lyx.org>
11758 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11760 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11762 * kbmap.C (getiso): add support for cyrillic and greek
11764 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11768 * BufferView_pimpl.h:
11769 * BufferView_pimpl.C: move bogus scrolling logic
11772 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11775 * BufferView_pimpl.C: view->resize() change
11777 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11779 * BufferView_pimpl.C: topCursorVisible
11782 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11786 * lyx_gui.C: move to frontends/
11790 * lyx_main.C: changes from above
11792 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11799 * lyx_main.C: minor tidy
11801 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11803 * BufferView_pimpl.h:
11804 * BufferView_pimpl.C:
11806 * BufferView.C: make painter() const,
11809 * BufferView2.C: use screen() accessor
11812 * lyx_main.C: some minor cleanup
11814 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11816 * BufferView_pimpl.h:
11817 * BufferView_pimpl.C: remove enter/leaveView,
11820 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11825 * BufferView_pimpl.h:
11826 * BufferView_pimpl.C: only construct screen once,
11829 * lyxrc.C: remove pointless comment
11831 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11834 * BufferView.C: remove active() and belowMouse()
11836 * BufferView_pimpl.h:
11837 * BufferView_pimpl.C: use workarea() not workarea_,
11838 and make it use a scoped_ptr instead
11840 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11842 * lyx_gui.C: add debug message on BadWindow
11844 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11846 * sp_spell.C: fdopen is not part of the C++ standard.
11848 * paragraph.C (InsetIterator): use >= instead of ==
11850 2002-06-07 Angus Leeming <leeming@lyx.org>
11852 Fixes needed to compile with Compaq cxx 6.5.
11853 * BufferView_pimpl.C:
11860 * lyxtextclasslist.C:
11865 all c-library variables have been moved into namespace std. Wrap
11866 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11871 Add a using std::abs declaration.
11873 * kbmap.h (modifier_pair):
11874 * paragraph.h (InsetTable, InsetList):
11875 * lyxfont.h (FontBits):
11876 type definition made public.
11878 * bufferlist.C (emergencyWriteAll): the compiler complains that
11879 there is more than one possible lyx::class_fun template to choose from.
11880 I re-named the void specialisation as lyx::void_class_fun.
11882 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11884 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11885 the compiler is is unable to find tostr in write_attribute.
11887 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11889 * buffer.C (sgmlError): hide #warning
11891 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11893 * xtl/*: get rid of xtl, which is not in use anyway
11895 * LyXAction.C (init):
11896 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11897 were unimplemented xtl experimentation
11899 2002-06-04 André Pönitz <poenitz@gmx.net>
11901 * lyxfunc.C: disable array operation on simple formulae
11903 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11905 * converter.C: constify a bit
11907 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11909 * lyx_gui.C: check xforms version correctly
11911 2002-04-30 Herbert Voss <voss@lyx.org>
11913 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11916 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11918 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11919 attempt to register it with a VCS)
11921 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11923 * lyx_main.C (init): honor variables LYX_DIR_13x and
11926 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11930 * lyx_main.C: fix a crash on bad command line,
11931 and give a useful exit status on error
11933 * lyxfunc.C (doImport): allow -i lyx to work
11935 2002-03-30 André Pönitz <poenitz@gmx.net>
11937 * lyxfunc.C: mathed font changes
11939 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11954 * trans_mgr.h: srcdocs, and some minor cleanups
11956 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11958 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11959 call getFont all the time)
11961 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11963 * switch from SigC signals to boost::signals
11965 2002-05-29 André Pönitz <poenitz@gmx.net>
11967 * paragraph_pimpl.C (getChar): don't call size() too often...
11969 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11971 * paragraph_pimpl.C (insertChar): do not try to update tables when
11972 appending (pos == size())
11974 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11975 in order to reduce drastically the number of comparisons needed to
11976 parse a large document
11978 2002-05-29 André Pönitz <poenitz@gmx.net>
11984 * textclasslist.[Ch]:
11985 * sp_ispell.h: whitespace change
11987 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11989 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11990 lyxaction directly now.
11992 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11996 * lyxvc.C: remove unused headers
11998 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12005 * undo_funcs.C: some cleanups. Use shared_ptr
12006 and a template for the undo stacks.
12008 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12010 * BufferView_pimpl.h:
12011 * BufferView_pimpl.C:
12018 * text2.C: use key_state/mouse_state
12020 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12022 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12025 * chset.C: change include order
12026 (loadFile): use boost regex and get rid of LRegex and LSubstring
12028 * Makefile.am (BOOST_LIBS): new variable
12029 (lyx_LDADD): use it
12031 * LaTeX.C: change include order.
12032 (scanAuxFile): use boost regex and get rid of LRegex and
12036 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12041 * FontInfo.C: moved to frontends/xforms/
12044 * FontLoader.C: moved into frontends for GUIIzation
12049 * lyxfunc.C: changes from above
12051 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12053 * LColor.C: remove spurious X include
12055 * BufferView_pimpl.C:
12060 * text2.C: move font metrics to frontends/
12062 2002-05-24 Juergen Vigna <jug@sad.it>
12064 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12065 setting the undo_cursor.
12067 * ParagraphParameters.h: include local includes first.
12069 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12071 * BufferView_pimpl.C:
12072 * BufferView_pimpl.h:
12076 * screen.C: move WorkArea into frontends/
12082 * BufferView2.C: move LyXScreen into frontends/
12086 * lyx_gui.C: move lyxlookup into frontends/xforms/
12088 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12091 * BufferView_pimpl.C:
12101 * bufferview_funcs.C:
12114 * vc-backend.C: move LyX/XFormsView into frontends/
12116 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12128 * text2.C: move Painter to frontends/
12130 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12132 * buffer.C: comment out some some code that depend upon lyx_format
12135 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12136 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12138 * buffer.h (NO_COMPABILITY): turn off compability
12140 * ColorHandler.C: include scoped_array.hpp
12142 * font.C: Use more specific smart_ptr header.
12145 * ShareContainer.h: ditto
12146 * lyx_main.h: ditto
12148 * FontInfo.h: ditto
12149 * BufferView_pimpl.h: ditto
12150 * ColorHandler.h: ditto
12152 * kbmap.C (defkey): change call to shared_ptr::reset
12154 2002-05-21 Juergen Vigna <jug@sad.it>
12156 * buffer.C (insertErtContents): fix to insert ert asis if it is
12157 non empty. Skip it completely if it contains only whitespaces.
12159 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12161 * BufferView_pimpl.C:
12162 * BufferView2.C: clear selection on paste (bug 393)
12164 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12166 * DepTable.C: include ctime
12168 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12170 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12172 2002-05-14 Juergen Vigna <jug@sad.it>
12174 * text.C (breakParagraph): fixed function to honor the keepempty
12175 layout in the right maner and also to permit the right breaking
12176 algorithm on empty or non empyt keepempty paragraphs.
12178 * paragraph.C (breakParagraph): we have to check also if the par
12179 is really empty (!size()) for isempty otherwise we do the wrong
12182 2002-05-10 Juergen Vigna <jug@sad.it>
12184 * buffer.[Ch] : The following are only changes to the ert
12185 compatibility read reading old LaTeX layout and font stuff and
12186 convert it to ERTInsets.
12188 * buffer.h: added isErtInset().
12190 * buffer.C (struct ErtComp): add a fromlayout bool to check
12191 if we're inside a LaTeX layout.
12192 (isErtInset): new helper function.
12193 (insertErtContents): look for other ert insets before this one
12194 and insert the contents there, so that we don't have subsequent
12195 ERT insets with nothing between them. This way we create only one
12196 inset with multiple paragraphs. Also check if we don't insert only
12197 spaces ' ' as they are ignored anyway afterwards in the .tex file
12198 so if we have only spaces we will ignore this latex part in the
12200 (parseSingleLyXformat2Token \\layout): better compatibility when
12201 reading layout-latex stuff.
12202 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12204 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12205 stuff after reading the inset only get the information back from
12208 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12210 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12212 * LaTeXFeatures.C (getBabelOptions): New method.
12214 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12216 * BufferView_pimpl.C (Dispatch): work around missing argument for
12219 2002-05-08 Juergen Vigna <jug@sad.it>
12221 * text.C (leftMargin): handle paragraph leftindent.
12223 * paragraph.C (writeFile): write the new \\leftindent tag.
12224 (validate): handle leftindent code.
12225 (TeXEnvironment): handle paragraphleftindent code again.
12227 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12229 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12230 for paragrap_extra indent code and new token \\leftindent.
12231 (latexParagraphs): handle the leftindent as environment.
12233 * ParameterStruct.h: added leftindent support.
12235 * ParagraphParameters.C (leftIndent): added support functions for
12236 the paragraph left indent.
12238 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12241 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12243 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12246 * text.C (computeBidiTables): No bidi in insetERT.
12248 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12251 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12253 * version.C.in: pre 5
12255 2002-05-02 José Matos <jamatos@fep.up.pt>
12256 * buffer.C (makeDocBookFile): white space changes, add newline to
12258 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12260 * tabular.C (docBook): fix typo.
12262 2002-05-03 Juergen Vigna <jug@sad.it>
12264 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12265 change in LyXText as we can not be sure it was not freed.
12266 (drawOneRow): remove unused code.
12268 * text.C (drawInset): redo the calculation of the need_break_row as
12269 it could have a row which was already freed.
12270 (draw): look at the return value of drawInset and return false if
12271 it also returned false.
12272 (paintRowText): look at the return value of draw and return false if
12273 it also returned false.
12275 * lyxtext.h: added bool return type to drawInset() and draw() so that
12276 if we have a change in the row so that the rowbreak has to be redone
12277 we abort drawing as it will be called again.
12279 2002-05-02 Juergen Vigna <jug@sad.it>
12281 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12282 a change in the maintext also if we're inside an inset.
12283 (Dispatch): set the cursor again after a break line and after the
12284 screen has been updated as it could be we're in a different row.
12286 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12287 to set the cursor behind the pargraph with > size().
12288 (setCursor): check also for the same paragraph when checking where
12289 to put the cursor if we have a NFR inset.
12291 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12292 parts of layout read further up as it still was in the wrong
12295 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12297 * screen.C (drawFromTo): change sine fullRebreak always return
12300 * buffer.C (parseSingleLyXformat2Token): reindent some
12302 * BufferView_pimpl.C (update): change since fullRebreak always
12304 (Dispatch): git rid of the last hardcoded "Standard"s.
12306 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12308 * text2.[Ch] (fullRebreak): make it return void now that we always
12311 2002-04-30 Juergen Vigna <jug@sad.it>
12313 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12314 ert compatibility check for "latex" layout.
12316 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12318 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12319 minipages: use col% instead of p%, and also use the current font.
12320 (makeLaTeXFile): Fix use babel condition.
12321 (parseSingleLyXformat2Token): Correct font when reading old floats.
12323 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12325 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12326 inserting list of floats.
12328 2002-04-25 Herbert Voss <voss@lyx.org>
12330 * MenuBackend.C (expand): don't add the graphics extensions to the
12333 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12335 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12336 non-existing layout, do not complain if it was the default layout
12337 of the original class (bug #342)
12339 2002-04-24 Juergen Vigna <jug@sad.it>
12341 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12342 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12344 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12346 * buffer.C (getBibkeyList): If using \bibliography, return the
12347 option field with the reference itself. Enables us to provide natbib
12348 support when using \bibliography.
12350 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12352 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12354 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12355 natbib is provided by the LaTeX class.
12357 2002-04-23 Juergen Vigna <jug@sad.it>
12359 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12362 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12364 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12366 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12368 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12369 ensuremath around textordmasculine, textordfeminine and
12372 2002-04-19 Juergen Vigna <jug@sad.it>
12374 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12375 reinitializing the buffer otherwise row-dimensions may be wrong.
12376 (update): reset also the selection cursors if they do exits otherwise
12377 their x/y positions may be wrong.
12379 * text2.C (cursorDown): don't enter the inset if we came from a row
12380 above and are one row over the inset.
12382 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12383 really leaving an inset.
12385 2002-04-18 Juergen Vigna <jug@sad.it>
12387 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12388 of the selected paragraph does not have the selected layout also if
12391 * text2.C (setLayout): fixed bug which did not change last selected
12394 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12395 changed the read and substituted \\end_float with \\end_inset!
12397 * BufferView_pimpl.C (cursorPrevious):
12398 (cursorNext): fixed to make it work with rows heigher than the work
12399 area without moving the cursor only the draw of the row.
12400 (workAreaMotionNotify): fix jumping over high rows.
12402 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12404 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12407 2002-04-16 Juergen Vigna <jug@sad.it>
12409 * text2.C (setCursor): set also the irow().
12410 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12412 (cursorDown): support for locking an inset if the x_fix value goes
12413 inside it. That way I can transverse insets too with cursor up/down.
12415 * lyxrow.h: added irow helper function same as other (i) functions.
12417 * BufferView_pimpl.C (cursorPrevious):
12418 (cursorNext): fixed for insets!
12420 2002-04-15 Juergen Vigna <jug@sad.it>
12422 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12423 position otherwise it is wrong in some cases.
12425 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12426 inside the inset before the call.
12428 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12430 * buffer.[Ch] (getBibkeyList): make it const.
12432 2002-04-12 Juergen Vigna <jug@sad.it>
12434 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12436 * text2.C (getCursorX): new helper function
12437 (setCursor): compute also ix_
12438 (setCursorFromCoordinates): set also ix.
12440 * lyxcursor.h: added ix_ and helper functions.
12442 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12444 * buffer.C (insertStringAsLines): dont break paragraph if the this
12445 paragraph is inside an inset which does not permit it!
12447 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12448 also with no chars on this paragraph.
12449 (paintRowText): only paint stuff if it's inside the workarea!
12451 * paragraph.C (breakParagraph): honor keepempty flag and break the
12452 paragraph always below not above.
12454 * BufferView2.C (unlockInset): update the paragraph layout on inset
12455 unlock as we changed paragraph in such a case.
12457 * lyxfind.C (LyXFind): clear the former selection if not found!
12459 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12460 again called in insertChar().
12462 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12463 an inset which uses the whole row!
12464 (rightMargin): ditto.
12465 (insertChar): force a rebreak if we inserted an inset!
12467 2002-03-28 Herbert Voss <voss@lyx.org>
12469 * lyxlength.[Ch]: add inBP() to get the right PS-point
12470 units (BigPoint). With inPixels we have rounding errors
12472 2002-04-11 Juergen Vigna <jug@sad.it>
12474 * text2.C (setCursorFromCoordinates): set iy to the right value.
12475 (setCursor): add check if row->previous exists!
12477 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12478 an old float_type as this was the case in the old code!
12480 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12482 * BufferView2.C (showLockedInsetCursor): use iy
12483 (fitLockedInsetCursor): ditto
12485 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12486 locked insets as there we have the right value now.
12488 * lyxcursor.C: added iy_ variable and iy functions to set to the
12489 baseline of cursor-y of the locked inset.
12491 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12492 (setCursor): fixed for insets which need a full row.
12494 * text.C (rowLastPrintable): don't ignore the last space when before
12495 an inset which needs a full row.
12496 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12497 as last character of a row when before a inset which needs a full row.
12499 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12501 * version.C.in: update date
12503 * text2.C (fullRebreak): try to always return true and see what
12506 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12508 * MenuBackend.C (expand): use Floating::listName
12510 * FloatList.C (FloatList): add listName argument to the built-in
12513 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12514 text associated with the float.
12516 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12518 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12520 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12522 * ShareContainer.h: add a couple of missing typenames.
12524 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12526 * lyxrc.C (getDescription): use _() correctly rather than N_().
12528 2002-03-28 Herbert Voss <voss@lyx.org>
12530 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12531 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12533 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12535 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12536 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12538 2002-03-29 Juergen Vigna <jug@sad.it>
12540 * lyxfunc.C (dispatch): add a missing fitCursor call.
12542 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12543 it was scrolled by a cursor move, so return the bool status.
12545 * BufferView.C (fitCursor): return the bool flag also to the outside
12546 world as this is needed.
12548 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12550 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12551 call the edit() as it is not needed (and wrong) IMO.
12552 (workAreaButtonPress): set the screen_first variable before evt.
12553 unlock the inset as this may change screen_first and then we have
12554 a wrong y position for the click!
12556 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12558 * MenuBackend.C (expand): another translation that I missed
12560 2002-03-28 Juergen Vigna <jug@sad.it>
12562 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12564 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12566 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12568 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12570 * MenuBackend.C (expand): fix export/view/update when there is no
12573 2002-03-27 Herbert Voss <voss@lyx.org>
12575 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12578 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12580 * bufferview_funcs.C (currentState): only show paragraph number
12581 for is DEVEL_VERSION is set.
12583 * lyxfunc.C (dispatch): put warning in INFO channel
12585 * MenuBackend.C (expand): translate the name of floats
12587 * FloatList.C (FloatList): mark the float names for translation
12589 * converter.C (convert): use LibScriptSearch
12591 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12593 * MenuBackend.C (defaults): fix default menu (we might as well get
12596 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12598 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12601 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12603 * lyxvc.C: reorder includes.
12605 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12607 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12610 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12612 * CutAndPaste.C: change layouts earlier on paste
12613 to avoid crashing when calling getFont()
12615 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12617 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12620 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12622 * WorkArea.C: remove 'Pending' debug message.
12624 * most files: ws cleanup
12626 * buffer.[Ch]: ws changes
12628 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12630 2002-03-21 Juergen Vigna <jug@sad.it>
12632 * tabular.C (SetMultiColumn): collapse also the contents of the
12633 cells and set the last border right. Added a Buffer const * param.
12635 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12637 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12640 2002-03-19 Juergen Vigna <jug@sad.it>
12642 * text2.C (clearSelection): reset also xsel_cache.
12644 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12645 where it needs to be called (John tells us to do so too :)
12646 (selectionLost): reset sel_cache.
12648 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12650 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12652 * text2.C (setCursorIntern): put debuging code in INSETS channel
12654 2002-03-19 André Pönitz <poenitz@gmx.net>
12656 * lyxfunc.C: tiny whitespace change
12658 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12660 * ToolbarDefaults.C (init):
12661 * LyXAction.C (init):
12663 * BufferView_pimpl.C (Dispatch):
12664 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12666 2002-03-19 Allan Rae <rae@lyx.org>
12668 * exporter.C (Export): removeAutoInsets before doing anything else.
12669 While I've just introduced a dependency on BufferView this really is
12670 the best place to clean the buffer otherwise you need to cleanup in
12671 a dozen places before calling export or cleanup in a dozen functions
12674 * converter.C (runLaTeX):
12675 (scanLog): Better handling of removeAutoInsets and screen updates.
12677 * lyxfunc.C (dispatch): small whitespace changes
12679 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12681 * WorkArea.C (C_WorkAreaEvent): return a value.
12682 (event_cb): return 1 if we handled the event, 0 otherwise.
12684 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12686 2002-03-18 Juergen Vigna <jug@sad.it>
12688 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12689 (GetAdditionalWidth): ditto.
12690 (RightLine): ditto.
12693 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12694 inset if we're there actually (probably not used right now but this
12695 is the direction to go for unifying code).
12696 (paste): disable code to clear the selection.
12698 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12699 inside an InsetText and move the check further up as it is in the
12702 * text2.C (pasteSelection): set a selection over the pasted text.
12704 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12706 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12707 and libgraphics to build on Cygwin.
12709 2002-03-15 Juergen Vigna <jug@sad.it>
12711 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12712 inserting an Inset into the paragraph. I know this is not the best
12713 fix but we already use current_view in CutAndPaste so we will remove
12714 all of it's using at the same time.
12716 * buffer.C (sgmlError): deactivated function till it is rewritten in
12717 the right mode, now it can create problems.
12719 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12720 before accessing it.
12722 2002-03-14 Juergen Vigna <jug@sad.it>
12724 * undo_funcs.C (textHandleUndo): do the right thing when updating
12725 the inset after the undo/redo.
12727 * text2.C (setCursor): just some testcode for #44 not ready yet.
12729 * undo_funcs.C (textHandleUndo): set the next() and previous()
12730 pointers of the paragraph to 0 before deleting otherwise we have
12731 problems with the Paragraph::[destructor].
12733 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12734 on a paragraph insertion.
12736 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12738 * buffer.C (asciiParagraph): use += operator for char append to
12741 * paragraph.C (getFontSettings): compare >= not just >
12742 (highestFontInRange): ditto
12745 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12747 * paragraph.C: change several algorithm to be more appripriate for
12748 the problem domain. This is lookip in FontList and in the InsetList.
12750 2002-03-13 André Pönitz <poenitz@gmx.net>
12753 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12755 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12760 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12762 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12764 * Painter.C (display): anon helper function, adjust code for this
12766 (pixmap): remove function.
12768 * Painter.h: remove private display variable.
12770 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12772 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12774 * WorkArea.[Ch]: remove figinset_canvas cruft.
12776 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12778 * lyxtextclass.C (operator): add one item cache optimization.
12780 * bufferlist.h: doxy changes
12782 * bufferlist.C: ws changes
12784 * DepTable.[Ch] (ext_exist): place const in the right spot.
12786 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12788 (workAreaExpose): call resizeInsets when the with BufferView changes.
12789 (Dispatch): adjust for protectedBlank removal
12790 (specialChar): call updateInset if the insert went ok.
12792 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12793 specialChar instead.
12795 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12797 * BufferView.h: doxy change
12799 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12801 * lyxtextclass.C (operator[]): remove non-const version
12802 (defaultLayout): remove non-const version
12804 2002-03-12 Juergen Vigna <jug@sad.it>
12806 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12807 did resize the LyXText too.
12809 * buffer.C (readLyXformat2): set layout information on newly allocated
12812 * tabular.C (OldFormatRead): set layout information on the paragraph.
12814 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12816 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12818 2002-03-11 Juergen Vigna <jug@sad.it>
12820 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12822 (resizeCurrentBuffer): force also the insets to resize themselfes.
12823 (moveCursorUpdate): fixed up for InsetText.
12825 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12828 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12829 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12830 value of Dialogs::tooltipsEnabled().
12831 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12833 2002-03-08 Juergen Vigna <jug@sad.it>
12835 * BufferView_pimpl.C (updateInset): update inset inside inset also
12836 if it isn't inside theLockingInset().
12838 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12840 * buffer.C (asciiParagraph): redo some of the word and line length
12842 (getLists): look for Caption instead of caption.
12844 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12846 * buffer.C (Buffer): initialize niceFile to true
12848 (makeLinuxDocFile):
12849 (makeDocBookFile): make sure niceFile is true on exit
12851 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12853 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12855 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12857 * LyXSendto.C: remove.
12858 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12859 * lyx_gui.C: remove now-redundant comment.
12860 * ColorHandler.h: remove forward declaration of class WorkArea.
12861 * lyxfunc.C: remove #include "WorkArea.h".
12863 2002-03-07 Juergen Vigna <jug@sad.it>
12865 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12866 got moved away with the DEPM and also set the inset_owner always
12867 right which before could have been omitted.
12869 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12871 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12872 wanted layout is not found.
12874 2002-03-07 Juergen Vigna <jug@sad.it>
12876 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12878 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12880 * paragraph.C (breakParagraph): use default layout not layout of
12882 (Paragraph): clear ParagraphParameters.
12884 2002-03-06 Juergen Vigna <jug@sad.it>
12886 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12887 otherwise it would not be a valid lenght. Fixed a special case in
12888 the minipage compatibility read where we end the document with a
12891 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12892 was set as it could be 0 for InsetTexts first entry.
12894 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12896 * paragraph.C (writeFile): if layout is empty write out
12897 defaultLayoutName().
12899 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12900 file without named layout we set layout to defaultLayoutName().
12902 2002-03-06 Juergen Vigna <jug@sad.it>
12904 * CutAndPaste.C (copySelection): set layout for new paragraph.
12906 * text.C (prepareToPrint): leave ERT inset left aligned
12907 (leftMargin): don't indent paragraphs inside ERT insets
12909 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12911 * paragraph.C (breakParagraph): dont call clear do the work manually
12913 * paragraph.[Ch] (clear): remove function
12915 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12917 * paragraph.C (Paragraph): dont call clear, the work has already
12920 * lyxtextclass.C (operator): assert if n is empty
12922 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12923 work manually instead.
12925 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12927 * BufferView_pimpl.C: protect selectionLost against text == 0
12929 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12931 * text.C (breakParagraph): fix a setting layout to '0' problem.
12933 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12935 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12936 final location of file, for the included files, and graphics.
12938 2002-03-05 Juergen Vigna <jug@sad.it>
12940 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12942 2002-03-04 Juergen Vigna <jug@sad.it>
12944 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12946 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12947 last column of multicolumn cells.
12948 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12950 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12952 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12953 file if it doesn't go to a temporary file.
12955 * buffer.C (sgmlOpenTag):
12956 (sgmlCloseTag): remove extra newline insertion.
12958 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12960 * text.C (getRowNearY): comment out debug msg
12962 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12964 * text2.C: first -> first_y
12966 * text.C (getRowNearY): add some attemts at a possible
12967 optimization, not working.
12969 * tabular.[Ch]: add BufferParams to several function so that newly
12970 created paragraph can be initialized to he default layotu for the
12973 * tabular-old.C (ReadOld): add buf->params to call of Init
12975 * screen.C: rename text->first to text->first_y
12977 * paragraph.C (breakParagraph): always set layout in the broken
12980 * lyxtextclass.C (Read): remove lowercase
12983 (delete_layout): ditto
12985 * lyxtext.h: rename first -> first_y
12987 * lyxlayout.C (Read): remove lowercase
12990 (obsoleted_by): ditto
12992 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12994 * buffer.C (insertErtContents): add params are to InsetERT
12995 (parseSingleLyXformat2Token): add code to check if a paragraphs
12996 layout really exist.
12997 (parseSingleLyXformat2Token): add params to several inset
12999 (asciiParagraph): remove lowercase, do the layout comparisons with
13002 * BufferView_pimpl.C (cursorNext): first -> first_y
13003 (resizeCurrentBuffer): first -> first_y
13004 (updateScrollbar): first -> first_y
13005 (scrollCB): first -> first_y
13006 (workAreaMotionNotify): first -> first_y
13007 (workAreaButtonPress): first -> first_y
13008 (checkInsetHit): first -> first_y
13009 (cursorPrevious): first -> first_y
13010 (cursorNext): first -> first_y
13011 (Dispatch): add buffer_->params to severl inset contructors
13013 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13015 * lyxlayout.C (Read): remove some debug info that I forgot.
13017 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13018 clean up the code slightly.
13019 (makeLinuxDocFile): ditto
13020 (makeDocBookFile): ditto
13022 * text2.C: layout as string
13024 * text.C: layout as string
13026 * paragraph_pimpl.C: layout as string
13028 * paragraph.[Ch]: layout as string
13030 * lyxtextclasslist.[Ch]: layout as string
13032 * lyxtextclass.[Ch]: layout as string
13034 * lyxtext.h: layout as string
13036 * lyxlayout.[Ch]: layout as string
13038 * lyx_cb.C: layout as string
13040 * bufferview_funcs.C: layout as string
13042 * bufferparams.C: layout as string
13044 * buffer.C: layout as string
13046 * LyXView.[Ch]: layout as string
13048 * LaTeXFeatures.[Ch]: layout as string
13050 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13052 * BufferView_pimpl.C: change current_layout to string, remove
13057 (workAreaButtonRelease): layout as string
13059 * BufferView2.C (unlockInset): adjust
13061 * vspace.C (asLatexCommand): use an explict temp variable.
13063 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13065 * Makefile.am: use FRONTEND_*
13067 2002-03-01 Juergen Vigna <jug@sad.it>
13069 * tabular.C (SetWidthOfMulticolCell): changed to something better
13070 I hope but still work in progress.
13071 (recalculateMulticolumnsOfColumn): renamed function from
13072 recalculateMulticolCells as it is more appropriate now.
13073 (SetWidthOfCell): calculate multicols better.
13075 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13077 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13079 * lyxfunc.C (processKeySym): print sequence also if it is
13080 `deleted' (complete)
13082 * kbsequence.C (print): print sequence even if it is deleted
13083 (complete would be a better word, actually).
13085 * lyxfunc.C (dispatch): print complete options after a prefix key
13087 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13089 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13091 * text2.C (setCharFont): eliminate setCharFont code duplication.
13093 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13095 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13096 LFUN_TABULAR_FEATURE (bug #177)
13098 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13100 * Makefile.am: remove figure.h
13102 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13104 * Bufferview_pimpl.C:
13116 * text2.C: remove #include "lyx_gui_misc.h".
13118 * LaTeX.C: added #include <cstdio>
13120 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13122 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13123 that the paragraph following this one can have.
13125 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13127 * vspace.C (asLatexCommand): fix bogus gcc warning
13129 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13131 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13133 * text2.C (setLayout): get rid of redundant code
13135 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13137 * text2.C (incDepth): make sure depth cannot be increased beyond
13140 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13142 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13143 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13145 * PainterBase.h (image):
13146 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13147 a LyXImage const *.
13149 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13153 * BufferView_pimpl.C:
13154 * BufferView_pimpl.h:
13174 * sp_spell.C: remove fig inset, and the crap house of
13175 cards that follows it
13177 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13182 * os2_errortable.h:
13183 * nt_defines.h: move .h into support/
13185 * vms_defines.h: remove
13187 * WorkArea.C: add space in debug output
13191 * buffer.C: add WITH_WARNINGS
13195 * bufferlist.C: s/retrive/retrieve/, add docs
13204 * chset.C: add docs
13206 * lyxgui.C: add ID to X error handler
13208 * lyxtestclass.c: fix typo
13210 2002-02-26 Juergen Vigna <jug@sad.it>
13212 * tabular_funcs.C (write_attribute): changed so that some default
13213 attributes are not written at all.
13214 (getTokenValue): set default values before trying to read the
13215 value so we have the return value always set as default if we don't
13216 find the token we search for.
13218 * tabular.C (Write): write bools as bools not as strings!
13220 2002-02-22 Juergen Vigna <jug@sad.it>
13222 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13223 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13225 * text.C (leftMargin): don't add an indent for paragraphs inside
13226 tabular cells (fix #208).
13228 2002-02-21 José Matos <jamatos@fep.up.pt>
13230 * tabular.C (docBook): fixed support for long tables.
13232 2002-02-20 Juergen Vigna <jug@sad.it>
13234 * text2.C (getFont): get the drawing font of the Inset if this
13235 paragraph is inside an inset (only important for InsetERT for now).
13237 * buffer.C (insertErtContents): use new lanugage params in ERT
13240 * CutAndPaste.C: commenting out seemingly uneeded code.
13242 2002-02-19 Allan Rae <rae@lyx.org>
13244 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13245 Iterators might be simple to use but they also get invalidated.
13246 (removeAutoInsets): renamed saved cursor tracking variables and added
13247 some comments to clarify what everything does.
13249 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13256 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13257 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13260 * vc-backend.h: remove #include "support/syscall.h"
13264 * converter.C: rearrange #includes in Lars' approved fashion.
13266 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13267 forward declare class Timeout in the header file.
13269 * XFormsView.C: changes due to the above.
13271 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13272 similar to LyXView.
13274 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13275 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13277 2002-02-18 José Matos <jamatos@fep.up.pt>
13279 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13282 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13284 * a lot of small ws changes
13285 * add a lot of using std::XXX
13286 * use std construcs some places where approp.
13287 * use some exisint stuff from lyxfunctional where approp.
13288 * Make file changes to use partial linking (lets test this now...)
13290 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13294 remove #include "support/syscontr.h" as it's redundant. Always has been.
13302 change Systemcalls::System to Systemcalls::Wait and
13303 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13304 No change of functionality, just reflects the stripped down Systemcalls
13307 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13309 * debug.[Ch]: add a GRAPHICS type to the enum.
13311 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13313 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13315 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13318 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13320 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13321 match the changes below.
13323 * text2.C (toggleInset): if there is not editable inset at cursor
13324 position, try to see if cursor is _inside_ a collapsable inset
13327 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13329 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13330 document menu has a nice checkbox
13332 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13334 * lyxlength.C (asLatexString): change PW to output as percent of
13337 * lengthcommon.C: change '%' to 't%'
13339 * lyxfunc.C (dispatch): a few comments from Martin
13341 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13345 * BufferView_pimpl.h:
13346 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13349 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13351 * vspace.C (inPixels): fix compiler warning
13353 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13355 * lyxfunc.C (getStatus): fix status message for disabled commands.
13357 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13359 * BufferView_pimpl.C: fix crash on close buffer
13360 during selection (#227)
13362 2002-01-27 Herbert Voss <voss@lyx.org>
13364 * buffer.C: link old Figure to new graphic inset
13366 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13368 * FontLoader.C (getFontinfo): Change the latex font names in order
13369 to match the names of type1inst.
13371 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13373 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13375 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13376 (extchanged): ditto
13378 (remove_files_with_extension): ditto
13379 (remove_file): ditto
13382 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13383 document is smaller than the work area height. Do not initialize
13384 static variables to 0.
13386 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13388 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13390 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13391 LFUN_LAYOUT_PARAGRAPHS.
13393 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13394 tabular. It is possible to provide a possible cell, which will
13395 typically be the actcell from the corresponding insettabular
13397 * lyxfunc.C (getStatus): small cleanup; disable
13398 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13401 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13403 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13405 * paragraph.C (startTeXParParams):
13406 (endTeXParParams): new methods. The LaTeX code to
13407 start/end paragraph formatting
13408 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13409 empty (fixes bug #200)
13411 * vspace.C (inPixels): adapt to the change below
13412 (inPixels): [later] more cleanups (remove unused variables)
13414 * lyxlength.C (inPixels): change to use a width and a height as
13417 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13419 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13420 Replaced with \paperwidth
13422 * DepTable.C (insert): add std:: qualifier
13424 2002-01-18 Allan Rae <rae@lyx.org>
13426 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13429 * text.C (drawInset): Turned out I didn't know enough about how
13430 rebreaking worked. This fixes most of the redraw problems. I see
13431 an occasional cursor trail when a line is broken now and the cursor
13432 placement can seem out by a few pixels also after a rebreak.
13434 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13436 * buffer.C (parseSingleLyXformat2Token): update because minipage
13437 width is now a LyXLength
13439 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13441 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13444 2002-01-17 Juergen Vigna <jug@sad.it>
13446 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13448 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13449 is set correctly and the inset is updated correctly.
13451 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13453 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13454 the beginning of the loop.
13456 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13458 * lyxrc.C: improve help for use_scalable_fonts
13460 2002-01-17 Allan Rae <rae@lyx.org>
13462 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13464 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13466 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13467 make sure to set their inset_owner to the right value (bug #171)
13469 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13472 * DepTable.C: Implement mtime checking to reduce time spent doing
13475 2002-01-16 Juergen Vigna <jug@sad.it>
13477 * tabular.C (GetAdditionalHeight): one of error fixed.
13479 * lyxrc.C (output): small fix in writing use_pspell.
13481 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13483 * sp_base.h: #include LString.h
13485 2002-01-16 Allan Rae <rae@lyx.org>
13487 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13488 Can someone check this please?
13490 * text.C (drawInset): It was possible that p.row would be removed by
13491 breakAgainOneRow upsetting a few other settings. There may be another
13492 small tweak possible by setting need_break_row = 0 when p.row has been
13493 removed but I don't know enough about the logic here.
13495 2002-01-15 Allan Rae <rae@lyx.org>
13497 * text.C (insertChar): removed conditional truism.
13499 * BufferView2.C (removeAutoInsets): More tweaks.
13500 cur_par_prev could be a stray pointer. Check for trailing empty line
13501 in case last line was cur_par and only had an error inset on it.
13503 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13505 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13508 * vc-backend.C (most methods):
13509 * exporter.C (Export):
13510 * converter.C (convert):
13512 * LyXSendto.C (SendtoApplyCB):
13513 * lyxfunc.C (dispatch):
13517 * lyx_cb.C (AutoSave):
13519 * BufferView_pimpl.C (MenuInsertLyXFile):
13520 * buffer.C (runChktex): use Buffer::filePath().
13522 * buffer.h: rename filename to filename_; rename filepath to
13523 filepath_ and make it private
13524 (filePath): new method
13526 * buffer.C (writeFile): use fileName()
13529 * lyx_main.C (init): fix starting of LyX when the binary is a
13530 link from so,ewhere else.
13532 * minibuffer.C: include <cctype> for isprint
13534 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13536 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13537 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13538 name clash with InsetCollapsable's width function.
13540 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13542 * lastfiles.C: include <iterator>
13544 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13546 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13549 * buffer.C (makeLaTeXFile): ditto.
13550 Also make loop operation more transparent.
13552 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13554 * ToolbarDefaults.C: remove trailing comma closing namespace.
13556 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13558 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13561 * trans.C (Load): comment out unused variable, allowed.
13563 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13565 * minibuffer.[Ch] (append_char): new method to recieve input from the
13566 drop-down completion browser. If a key was pressed, then recieve this
13567 char and append it to the existing string.
13568 (peek_event): modify the positioning data passed to the completion
13569 browser so that it can be placed above the minibuffer rather than below.
13570 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13572 * LyXAction.C (init): alloe error-next for readonly documents.
13574 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13577 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13579 * bufferlist.C (readFile): create the buffer _after_ checking that
13582 * lyxfunc.C (verboseDispatch): fix handling of arguments
13584 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13586 * lyxrc.C: use string::erase() instead of initializing to "".
13589 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13591 * BufferView_pimpl.h:
13592 * BufferView_pimpl.C:
13595 * text2.C: tell X when we have made a selection for copying
13597 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13599 * BufferView_pimpl.C (MenuInsertLyXFile):
13600 * lyxfunc.C (menuNew):
13602 (doImport): add shortcuts to directory buttons
13604 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13607 * lyxfunc.C (setStatusMessage):
13608 (getStatusMessage): new methods
13609 (getStatus):use setStatusMessage instead of setErrorMessage
13610 (dispatch): when function is disabled, set error message here
13611 [instead of in getStatus previously]
13613 * BufferView_pimpl.C (workAreaButtonRelease): update
13614 toolbar/menubar here too.
13616 2002-01-13 Allan Rae <rae@lyx.org>
13618 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13619 Now seems indestructible. Remaining task is to audit all other
13620 code affected by deleteEmptyParagraphMechanism. One small quirk
13621 left is that an empty document with an error in the preamble can
13622 be made to report an error but no error box appears. I don't know
13624 (removeAutoInsets): Improved comments.
13626 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13629 * Thesaurus.C: update for Aiksaurus 0.14
13631 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13633 * text2.C (firstParagraph): removed member function, all uses
13634 replaces with ownerParagraph
13635 (redoParagraphs): here
13636 (updateInset): here
13637 (toggleAppendix): here
13638 * BufferView2.C (insertErrors): here
13639 (setCursorFromRow): here
13641 2002-01-13 Allan Rae <rae@lyx.org>
13643 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13644 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13645 There is still a way to segfault this although you may have to do this
13646 multiple times: Have an InsetERT with an unknown command in it.
13647 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13648 <down-arrow>, <Enter> again, View->DVI, BANG!
13650 * text2.C (setCursor):
13651 (deleteEmptyParagraphMechanism):
13652 * lyxtext.h (setCursor):
13653 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13654 Making use of the return value may help fix other bugs.
13656 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13658 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13660 * LyXView.C (updateMenubar): call MenuBar::update here
13661 (updateToolbar): but not here
13662 (showState): do not update toolbar/menubar
13664 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13665 should need to care about that.
13667 * lyxfunc.C (verboseDispatch): simplify a bit
13668 (getStatus): have a version which takes a pseudoaction, and
13669 another which requires a (kb_action,string).
13671 * LyXAction.C (retrieveActionArg): make it work also when action
13672 is not a pseudo-action.
13673 (getActionName): simplify a bit
13676 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13678 * lyxfunc.C (verboseDispatch): new families of methods with
13679 several ways to specify a command and a bool to indicate whether
13680 the command name and shortcut should be displayed in minibuffer
13681 (eventually, we could extend that to a finer bitmask like
13682 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13683 (dispatch): the pristine dispatch command which just, well,
13684 dispatchs! Note it still sets its result to minibuffer; I'm not
13687 * lyxfunc.h: remove setHintMessage
13689 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13691 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13693 * BufferView_pimpl.C (specialChar): delete new inset if we have
13694 not been able to insert it.
13696 * kbmap.C: revert to using int instead of kb_action, since all we
13697 are dealing with is pseudo-actions.
13699 * LyXAction.C (searchActionArg): change to return int instead of
13700 kb_action, since the result is a pseudoaction.
13702 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13704 * buffer.C (insertErtContents): Fix (partially) the font bug.
13706 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13708 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13709 as the other one is broken on my machine!
13711 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13714 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13716 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13718 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13719 reflect their actual use. Provide compatibility code for older lyxrc
13722 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13724 change names of popup font variables in line with the changes to lyxrc.C
13726 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13728 * buffer.C (asciiParagraph): avoid outputing a word twice after
13731 * lyxrc.C (getDescription): document that document_path and
13732 template_path can be empty.
13734 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13736 * LaTeXFeatures.C (getMacros):
13737 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13739 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13741 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13743 (getPackages): rename feature "floats" to "float". Use an array to
13744 iterate over 'simple' features (i.e. just a \usepackage). Add
13745 handling of "amsmath" (renamed from "amsstyle").
13747 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13749 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13752 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13754 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13755 FuncStaus::FuncStatus & FuncStaus::some_method().
13757 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13759 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13760 of the func_satus stuff. Edited and massaged in various ways by
13763 * lyxfunc.C (getStatus): use FuncStatus
13765 2002-01-08 Juergen Vigna <jug@sad.it>
13767 * text.C (nextBreakPoint): use function Inset::isChar().
13769 * paragraph.C (TeXOnePar): use function
13770 Inset::forceDefaultParagraphs.
13772 * buffer.C (latexParagraphs): use function
13773 Inset::forceDefaultParagraphs.
13775 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13777 * lyx_gui.C (init): set the style of the menu popups to
13778 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13780 2002-01-07 Juergen Vigna <jug@sad.it>
13782 * text.C (setHeightOfRow): small fix
13783 (prepareToPrint): don't look at alignment if we don't have the place
13786 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13788 * box.C: New file. Move the Box methods and functions out of box.h,
13789 following Lars' suggestion.
13791 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13793 * box.h: #include "support/LOstream.h", needed for inlined function.
13796 * lyxtextclasslist.C: added some using std declarations.
13798 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13800 * box.h: make signed dimensions to allow insets wider than
13801 the screen (bug #162)
13803 * BufferView_pimpl.C: add some insetHit debug
13805 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13807 * vc-backend.C: add FIXME
13809 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13811 * lyxfunc.C (getStatus): enable code for showing math font status
13814 2002-01-07 Juergen Vigna <jug@sad.it>
13816 * text.C (nextBreakPoint): removed debug output not needed anymore.
13818 2002-01-06 Juergen Vigna <jug@sad.it>
13820 * text.C (nextBreakPoint): fixed up this function we had this bug
13821 since ever but now hopefully we break row better.
13822 (insertChar): we have to check if an inset is the next char as it
13823 could now happen that a large inset is causing a break.
13825 2002-01-05 Juergen Vigna <jug@sad.it>
13827 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13828 if it doesn't like to be drawed.
13830 2002-01-04 Juergen Vigna <jug@sad.it>
13832 * BufferView2.C (lockInset): forgot to set a cursor.
13834 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13836 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13838 * FormMathsPanel.C:
13841 * form_maths_panel.C:
13842 * form_maths_panel.h:
13843 * form_maths_panel.fd: implemented sub- and super- buttons in math
13846 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13847 (or ^ space) to be used as in TeX (req'd by André).
13849 * lyxfunc.C: Allow ^ and _ again to be used both as
13850 super/subscript (mathed) and as themselves (in text).
13852 2002-01-03 Allan Rae <rae@lyx.org>
13854 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13855 "LyX" or the filename of the current buffer if it has one. This is a
13856 modified form of John Levon's patch.
13858 * XFormsView.C (setWindowTitle): also set icon title.
13860 * LyXView.h (setWindowTitle): signature changed.
13861 * XFormsView.h (setWindowTitle): ditto.
13863 2002-01-02 Juergen Vigna <jug@sad.it>
13865 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13867 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13869 * screen.C (topCursorVisible): introduce a temp var for
13870 text->cursor.row(), handle the case where this row is null. (kindo
13873 * text2.C (setCursor): add a couple of asserts.
13875 * paragraph.h (inset_iterator): add -> operator
13877 * paragraph.[Ch] (autoDeleteInsets): remove member function
13879 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13880 cursor pos correctly and handle inset deletion by itself.
13881 (insertErrors): move iterator declaration out of for expression
13883 * lyxtextclass.C: add <algorithm>
13885 * Makefile.am: added the new files to sources, removed layout.C
13887 * layout.C: removed file
13889 * layout.h: remove LYX_DUMMY_LAYOUT
13891 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13895 * lyxtextclass.[Ch]:
13896 * lyxtextclasslist.[Ch]: new files
13898 * include order changes to a lot of files, also changes because of
13901 2001-12-27 Juergen Vigna <jug@sad.it>
13903 * buffer.C (asciiParagraph): more fixes.
13905 * tabular.C (ascii): make ascii export support export of only the
13906 data separated by a column-delimiter.
13907 (ascii): better support for ascii export.
13909 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13911 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13913 * tabular_funcs.C: use a "using std::getline" instead of the
13914 previous fix from Angus (necessary for cxx + lyxstring)
13916 2001-12-24 Juergen Vigna <jug@sad.it>
13918 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13920 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13921 problems. First check a minipage also if we have some ert-contents
13922 (not only on par->size(), second set the right depth of the paragraph
13923 on the relink to the root-paragraph-list!
13925 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13926 which then did not anymore update the main paragraphs on undo/redo!
13928 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13930 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13931 code. Support all font-changing funcs (even those which are not in
13932 menu currently). Support for reporting font settings in
13933 mathed (disabled until Andre provides a function on mathed's side).
13935 * func_status.h (toggle): small helper function to set toggle
13938 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13940 * tabular_funcs.C: getline -> std::getline
13942 2001-12-21 Juergen Vigna <jug@sad.it>
13944 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13945 accessed and could be 0 (I couldn't generate this but it seems
13948 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13950 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13951 * tabular_funcs.h: here and include iosfwd
13953 2001-12-20 Juergen Vigna <jug@sad.it>
13955 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13956 inside inset but undo_par was.
13958 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13960 * Thesaurus.C: always include <config.h> in sources.
13964 * box.h: do not include <config.h> in header files
13966 * text.C (paintLastRow): remove unused variable
13968 * text.C (transformChar):
13970 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13972 * Painter.C (text):
13973 * font.C (width): rewrite to use uppercase() instead of
13976 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13978 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13980 * lyxfind.C: clean up of find failure position change
13982 2001-12-20 Juergen Vigna <jug@sad.it>
13984 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13986 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13987 (TeXRow): added to LaTeX a single tabular row.
13988 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13989 (Latex): simplified and finally good LT-h/f support.
13990 (various_functions): just small adaptions for LT-h/f support.
13992 * tabular_funcs.[hC]: added and moved here all not classfunctions
13995 2001-12-19 Juergen Vigna <jug@sad.it>
13997 * tabular.[Ch]: better support for longtabular options (not finished
14000 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14002 * text.C (paintLastRow): use the label font instead of the font of
14003 the last character to compute the size of *_BOX. This makes more
14004 sense and avoids a crash with empty paragraphs.
14005 Use Painter::rectangle to draw EMPTY_BOX.
14007 2001-12-19 Juergen Vigna <jug@sad.it>
14009 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14010 the paragraphs if the replaced paragraph is not the first one!
14011 Tried to delete not used paragraphs but does not work yet so for
14012 now it's inside #ifdef's and by default off!
14014 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14016 * MenuBackend.C: include "lyx_main.h" instead of declaring
14017 lastfiles (actually was declared as LastFiles* instead of a
14020 2001-12-17 Juergen Vigna <jug@sad.it>
14022 * tabular.C (AppendColumn): applied John's fix
14024 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14028 * BufferView_pimpl.h:
14029 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14032 * box.h: new start of class for above
14034 * lyxfunc.C: ignore space-only minibuffer dispatches.
14035 Show the command name when it doesn't exist
14037 * minibuffer.C: don't add empty lines to the history
14039 * minibuffer.C: add a space on dropdown completion
14041 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14043 * text.C: fix line above/below drawing in insets
14045 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14047 * lyxlength.C (LyXLength): Initialize private variables.
14049 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14051 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14052 when inserting error insets.
14054 2001-12-13 Juergen Vigna <jug@sad.it>
14056 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14057 actually sometimes the before-paragraph.
14058 (setUndo): don't clear the redostack if we're not actually undoing!
14060 2001-12-06 Juergen Vigna <jug@sad.it>
14062 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14063 and fixed redoing of main paragraph, so we can use it now ;)
14065 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14067 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14069 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14072 2001-12-13 André Pönitz <poenitz@gmx.net>
14075 * undo_func.C: minor cleanup
14077 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14079 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14080 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14081 font in urw-fonts package which is marked as -urw-fontspecific and
14082 does not work (incidentally, changing the encoding in the
14083 fonts.dir of this package to -adobe-fontspecific fixes the
14086 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14087 is a crash when undoing first paragraph (Juergen, please take a
14088 look). THis does not mean the undo fix is wrong, just that it
14091 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14092 the (Paragraph*) version when needed instead of duplicating the
14095 * text.C (workWidth): use Inset::parOwner to find out where the
14096 inset has been inserted. This is a huge performance gain for large
14097 documents with lots of insets. If Inset::parOwner is not set, fall
14098 back on the brute force method
14100 * paragraph_pimpl.C (insertInset):
14101 * paragraph.C (Paragraph):
14102 (cutIntoMinibuffer): set parOwner of insets when
14103 inserting/removing them
14105 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14107 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14113 * mathed/formulabase.C:
14114 * mathed/math_cursor.[Ch]:
14115 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14118 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14120 * lyxlength.[Ch] (operator!=): new function
14122 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14124 * text.C (workWidth): use Inset::parOwner to find out where the
14125 inset has been inserted. This is a huge performance gain for large
14126 documents with lots of insets. If Inset::parOwner is not set, fall
14127 back on the brute force method
14129 * paragraph_pimpl.C (insertInset):
14130 * paragraph.C (Paragraph):
14131 (cutIntoMinibuffer): set parOwner of insets when
14132 inserting/removing them
14134 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14136 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14138 * tabular-old.C (getTokenValue):
14139 * tabular.C (getTokenValue):
14140 (write_attribute): new versions for LyXLength
14141 (everywhere): adjust the use of widths
14143 * tabular.h: change the type of widths from string to LyXLength
14145 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14147 * paragraph.C: fixed missing line number count when exporting
14148 Environments to LaTeX file
14150 * buffer.C: added informational message for checking line numbers.
14152 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14154 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14155 paragraph, do the 'double space' part, but not the 'empty
14158 * text.C (workWidth): small optimization
14159 (getLengthMarkerHeight): use minimal size for negative lengths.
14161 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14163 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14165 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14167 2001-12-11 André Pönitz <poenitz@gmx.net>
14170 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14172 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14174 * text2.C: keep selection on a setFont()
14176 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14178 * lyx_cb.C: another bv->text misuse, from insert label
14180 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14183 * kbsequence.C: re-instate nmodifier mask
14185 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14187 * lyx_main.h: make lyxGUI private.
14189 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14191 * lyxfind.C: place the cursor correctly on failed search
14193 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14195 * text.C (getLengthMarkerHeight): for small heights, the arrows
14196 are not always on top/bottom of the text
14197 (drawLengthMarker): smaller arrows; take the left margin in
14198 account; draw also vfills.
14200 (paintLastRow): remove special code for vfill and standard spaces,
14201 since everything is handled in drawLengthMarker now.
14203 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14205 * buffer.C (insertErtContents): try to handle font and language
14206 interaction a bit better.g
14208 * ColorHandler.C (updateColor): change the hash to cover the whole
14209 LColor enum, ws cleanup
14210 (getGCLinepars): ditto
14211 (getGCLinepars): only lookup in the linecache once.
14213 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14215 * iterators.C (operator++): Make the iterator more robust
14217 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14219 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14221 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14224 * text.C: better added space drawing
14226 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14229 * BufferView2.C: fix layout combo update on inset unlock
14231 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14233 * Makefile.am: don't compile unused files
14235 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14239 * LyXAction.C: remove old LFUN_LAYOUTNO
14241 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14243 * paragraph_pimpl.h:
14244 * paragraph_pimpl.C: isTextAt() doesn't need font param
14246 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14249 * lyxlex.C: little cleanup
14251 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14253 * BufferView_pimpl.C: fix insertAscii for insets
14255 2001-12-05 Juergen Vigna <jug@sad.it>
14257 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14258 set the right font on the "multi" paragraph paste!
14260 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14266 * lyxlength.C: remove out-commented code.
14268 * BufferView_pimpl:
14282 * vc-backend.C: change "while(" to "while ("
14284 * lyxlength.[Ch]: add zero function to check if length is zero or
14286 * lyxgluelength.C: use it
14288 2001-12-05 Allan Rae <rae@lyx.org>
14290 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14291 Works for 2.95.3, from what I understand of Garst's reports this should
14292 work for other g++ versions. We're screwed if the abs(int) definition
14293 changed between bugfix releases of gcc.
14295 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14297 * text.C: fix chapter label offset !
14299 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14302 * text.C: fix hfill at end of line, clean up
14304 2001-12-04 Juergen Vigna <jug@sad.it>
14306 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14307 that we force an update of the inset and it's owners if neccessary.
14309 2001-12-03 Juergen Vigna <jug@sad.it>
14311 * text.C (rowLast): simplified code
14313 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14315 * lyxfunc.C: fix show options on timeout
14317 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14319 * screen.C (topCursorVisible): scroll half a page when the cursor
14320 reached top of bottom of screen
14322 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14324 * minibuffer.C: deactivate on loss of focus
14326 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14328 * vspace.[Ch] (operator!=): add operator.
14330 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14332 * BufferView_pimpl.C: refuse to open an inset when
14333 there's a selection.
14335 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14337 * BufferView_pimpl.C: allow to click on RHS of full row insets
14339 2001-11-30 Juergen Vigna <jug@sad.it>
14341 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14342 insets for undo reasons.
14344 2001-11-28 André Pönitz <poenitz@gmx.net>
14346 * vspace.[Ch]: cosmetical changes
14348 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14358 * kbsequence.C: part re-write of old kb code
14361 * WorkArea.C: remove Lgb_bug_find_hack
14363 2001-11-30 José Matos <jamatos@fep.up.pt>
14365 * buffer.C (makeDocBookFile): add a comment to point a hack.
14366 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14367 Fixed a double write of labels.
14369 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14372 * LaTeX.h Fixed bug in LaTeX class where it would not
14373 re-run latex if no depfiles were changed, but the .dvi was removed.
14375 2001-11-28 André Pönitz <poenitz@gmx.net>
14377 * all the files from the change on 2001/11/26:
14378 use lyx::layout_type instead of LyXTextClass::size_type
14379 use lyx::textclass_type instead of LyXTextClassList::size_type
14381 2001-11-29 Juergen Vigna <jug@sad.it>
14383 * text.C: added support for paragraph::isFreeSpacing()
14385 * buffer.C: same as above
14387 * paragraph.h: inserted isFreeSpacing() function to enable
14388 FreeSpacing inside InsetERT.
14390 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14391 of the paragraph's in the cut/copy buffer to 0!
14393 * text2.C (removeRow): remove the assert as it can!
14395 * lyxtext.h: added helper function firstRow returning firstrow and
14396 made firstrow private again.
14398 * BufferView2.C (lockInset): don't relock if we're already locked!
14400 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14401 the only paragraph.
14402 (removeRow): added Assert::(firstrow)
14404 * debug.C: forgot to add INSETTEXT here.
14406 2001-11-28 Juergen Vigna <jug@sad.it>
14408 * sp_spell.C (initialize): changed error text to more general
14409 spellchecker command use (not only ispell!)
14411 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14413 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14415 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14417 * vspace.C: initialise lyxgluelength on failure
14419 2001-11-28 Allan Rae <rae@lyx.org>
14421 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14422 declaration & definition that looks like a function declaration.
14424 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14426 * BufferView2.C (copy):
14427 (copyEnvironment): do not clear the selection when doing a copy.
14429 * text.C (paintFirstRow): compilation fix
14431 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14433 * tabular.C (Latex): correct line count when writing latex.
14435 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14437 * paragraph_pimpl.h:
14438 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14441 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14445 * LColor.C: change vfillline->added_space
14447 * text.C: add markers and text for added space
14449 * vspace.C: fix comment
14451 2001-11-28 André Pönitz <poenitz@gmx.net>
14453 * paragraph.C: whitespace changes
14454 * all the other files from the change on 2001/11/26:
14455 change *::pos_type into lyx::pos_type
14457 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14459 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14460 language of the document when inserting error insets.
14462 2001-11-26 André Pönitz <poenitz@gmx.net>
14464 * BufferView_pimpl.[Ch]:
14472 * paragraph_pimpl.[Ch]:
14475 * text2.C: reduce header dependencies, introduce type for positions
14477 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14479 * <various>: change to use Alert.h
14481 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14483 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14484 when encountering an unknown token.
14485 (readLyXformat2): Show an error message if there were unknown tokens.
14487 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14490 * BufferView_pimpl.C:
14494 * text2.C: use par->isInset()
14496 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14498 * paragraph_pimpl.h:
14499 * paragraph_pimpl.C: cleanup
14501 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14503 * text2.C (removeRow):
14504 * text.C (setHeightOfRow): remove useless (and costly) call to
14507 2001-11-20 Allan Rae <rae@lyx.org>
14509 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14510 Now need Inset*::checkInsertChar() to return true for appropriate
14511 cases so that the characters in the minibuffer will actually be
14514 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14516 * text.C: change the order of the includes.
14517 (workWidth): initialize it at once.
14518 (workWidth): make maxw unsigned
14519 (setHeightOfRow): remove unused variable (inset)
14520 (selectSelectedWord): remove unused variable (inset)
14521 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14523 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14525 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14526 server is not running.
14528 (closeConnection): add debug info when server is disabled.
14530 * ColorHandler.C (getGCForeground): send debug message to GUI
14533 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14535 * kbmap.C (bind): modify because return conventions of
14536 kb_sequence::parse have changed.
14538 * kbsequence.C (parse): only ignore spaces and not any stupid
14539 control character. This avoids tests like s[i] <= ' ', which are
14540 guaranteed to fail with 8bit characters and signed chars.
14541 Change return code to string::npos when there have been no error
14542 (0 was a bad idea when error is at first character)
14544 2001-11-14 José Matos <jamatos@fep.up.pt>
14547 * buffer.C (simpleDocBookOnePar): removed unused argument.
14549 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14551 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14552 insets which are part of a word. Paragraph::isLetter takes care of
14553 that now. Use Paragraph::isInset to identify insets.
14554 (selectSelectedWord): do not test for hyphenation break.
14556 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14557 that protected spaces are considered as spaces.
14559 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14562 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14565 * lyxserver.C: fix it. and small cleanup.
14567 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14569 * BufferView_pimpl.C: use inline helpers
14572 * LaTeXFeatures.C: fix typos
14575 * Spacing.C: move spacing_string into class
14577 * ToolbarDefaults.C: move stuff into namespace anon
14579 * layout.h: update enum
14581 * lyxfunc.C: use better debug
14583 * minibuffer.h: fix typo
14587 * WorkArea.C: add and use Debug::WORKAREA
14591 * text2.C: code re-organisation, inline helpers
14593 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14595 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14596 std::vector.empty().
14598 2001-11-09 Allan Rae <rae@lyx.org>
14600 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14601 '\n's after tables. Tabular and ERT inset work now makes this no
14604 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14607 * minibuffer.C: fix crash, improve drop-down completion
14609 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14612 * lyxserver.C: invalidate fd's when doing endPipe()
14614 2001-11-08 José Matos <jamatos@fep.up.pt>
14616 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14617 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14620 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14622 2001-11-07 José Matos <jamatos@fep.up.pt>
14625 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14628 * buffer.C (sgmlOpenTag):
14629 * buffer.C (sgmlCloseTag): removed debug info.
14631 * buffer.h (sgmlOpenTag):
14632 * buffer.h (sgmlCloseTag): made public.
14634 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14636 * buffer.C (saveParamsAsDefaults):
14637 * lyx_cb.C (MenuLayoutSave): remove
14639 * LyXAction.C (init):
14641 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14643 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14645 * buffer.C (setPaperStuff): removed from here...
14647 * bufferparams.C (setPaperStuff): ... and moved there.
14649 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14653 * XFormsView.C: add support for drop-down completion
14655 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14657 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14660 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14662 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14665 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14667 * lyx_main.C: change ref to known bugs
14669 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14671 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14672 to work around older babel problems.
14674 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14676 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14678 2001-10-24 Juergen Vigna <jug@sad.it>
14680 * tabular-old.C (ReadOld): below variable changes reflected.
14682 * tabular.[Ch]: added ltType struct for longtable header/footer
14683 defines and changed all instances where they are used. Added
14684 future support for double top/bottom rows.
14686 2001-10-24 José Matos <jamatos@fep.up.pt>
14688 * buffer.h (docbookHandleCaption):
14689 * buffer.C (docbookHandleCaption): removed unused function.
14690 (makeDocBookFile): moved docbook supported version to v4.1.
14692 2001-10-24 José Matos <jamatos@fep.up.pt>
14695 * tabular.C (docbookRow): new function to export docbook code of a row.
14696 (DocBook): now honors the longtable flags.
14698 2001-10-23 José Matos <jamatos@fep.up.pt>
14701 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14702 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14704 * buffer.C (makeLinuxDocFile):
14705 (makeDocBookFile): reworked the preamble, more clean, and with
14706 support for lyx defined entities. Changed the document declaration
14707 to be more XML friendly.
14709 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14710 if we need to output XML that should be done with a filter.
14712 2001-10-22 Juergen Vigna <jug@sad.it>
14714 * sp_pspell.h (class PSpell): add alive function needed in the
14715 controller to see if the spellchecker could be started.
14717 2001-10-22 Juergen Vigna <jug@sad.it>
14719 * buffer.C (insertStringAsLines): modify the font for inserting
14720 chars in certain conditions by calling checkInsertChar(font).
14722 2001-10-19 Juergen Vigna <jug@sad.it>
14724 * text.C (workWidth): use getRow instead of wrong algorithm.
14725 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14727 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14732 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14734 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14736 * text.C (workWidth): do not search for the exact row when
14737 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14738 optimization for big documents.
14740 2001-10-18 Juergen Vigna <jug@sad.it>
14742 * text.C (workWidth): new function with added Inset * parameter.
14744 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14746 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14748 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14749 change return type of getColumnNearX.
14752 * text.C (changeRegionCase): use uppercase/lowercase instead of
14755 (rightMargin): simplify code by factoring out the uses of
14760 (appendParagraph): use Paragraph::size_type
14762 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14764 * vspace.C (asLatexString): add a missing break
14766 2001-10-15 Herbert Voss <voss@perce.de>
14768 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14770 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14772 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14775 2001-10-10 André Pönitz <poenitz@gmx.net>
14777 * lyxfunc.C: removed greek_kb_flag.
14779 2001-10-10 Herbert Voss <voss@perce.de>
14781 * lyx_main.C: delete global string help_lyxdir.
14783 2001-10-09 Herbert Voss <voss@perce.de>
14785 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14787 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14789 * lyx_main.C: added global string help_lyxdir.
14791 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14793 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14795 * lyxrc.C (set_font_norm_type): support iso8859-4
14797 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14799 * LaTeX.C (deplog): add another regex for MikTeX
14801 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14803 * lyxrc.C (set_font_norm_type): support iso8859-3
14805 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14807 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14809 * LaTeXFeatures.C: remove special case of french and index
14811 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14812 before \begin{document}). This solves several incompatibilities.
14814 2001-10-03 Garst Reese <reese@isn.net>
14816 * lyx_cb.C: change CheckTex error msg.
14818 2001-10-03 José Matos <jamatos@fep.up.pt>
14820 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14822 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14824 * .cvsignore: update
14826 * lyx_main.C (commandLineVersionInfo): use new style version info.
14828 * buffer.C (writeFile):
14830 (makeLinuxDocFile):
14831 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14833 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14835 * version.h: update to use stuff in version.C
14837 * version.C.in: new file. Contains version information determined
14838 at compile time. This is a merging of version.h and
14841 2001-10-03 Juergen Vigna <jug@sad.it>
14843 * BufferView_pimpl.C (update): don't change "dirty" status in
14846 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14848 * WorkArea.C (c-tor): re-position version string slightly.
14850 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14852 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14853 revert to previous code.
14855 WorkArea.[Ch]: (show, destroySplash): methods removed.
14857 WorkArea.C: rework code so that it's an amalgam of the codes before and
14858 after the splash screen was moved to WorkArea.
14860 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14863 * vspace.C (inPixels):
14866 * buffer.C (insertStringAsLines):
14867 (asciiParagraph): fix types to be large enough
14869 * lyxlex_pimpl.h: change member status from short to int
14871 * layout.h: fix type of endlabeltype
14874 * kbsequence.C (parse): change return type to string::size_type
14876 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14879 * Bullet.C (bulletSize):
14880 (bulletEntry): do not use short ints as parameters
14882 * BufferView2.C (insertLyXFile): change a char to an int.
14884 * WorkArea.C (WorkArea): remove unneeded floats in computation
14886 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14888 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14890 * paragraph.C (asString): Do not ignore newline/hfill chars when
14891 copying to the clipboard.
14893 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14895 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14896 after a multi-line inset.
14898 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14900 * paragraph.C (validate): Set NeedLyXFootnoteCode
14902 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14904 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14905 and decrease-error to decrease.
14907 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14909 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14910 it more readable (should be equivalent)
14912 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14914 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14916 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14918 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14919 of a cursor (row, etc.) after a character has been deleted
14920 (deleteEmptyParagraphMechanism): call the method above on _all_
14921 cursors held by the LyXText when a double space has been
14924 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14926 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14928 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14930 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14931 background. Use greyOut() and the new show() methods to toggle between
14932 the foreground and background. Add code to remove the splash after
14933 its initial showing.
14935 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14936 (create_forms): no longer call Dialogs::showSplash.
14938 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14940 * .cvsignore: add version_info.h
14942 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14944 * version_info.h.in: new file
14946 * Makefile.am: add version_info.h.in
14948 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14949 version_info.h instead of VERSION_INFO
14951 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14953 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14954 The ERT inset now returns string().
14956 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14958 * lyxtext.h, text.C (selectNextWord): renamed as
14959 selectNextWordToSpellcheck.
14961 * text.C (selectNextWordToSpellcheck): Modified to not select
14962 words inside an ERT inset.
14964 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14966 * lyx_cb.C (MenuLayoutSave): change a bit the question
14968 * sp_base.h: include <sys/types.h>
14970 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14972 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14974 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14976 * several files: fix typos in user-visible strings
14978 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14980 * text2.C (pasteSelection): do not set the selection, since it
14981 will be cleared later. Actually, the intent was to fix the way the
14982 selection was set, but I figured rmoving the code was just as good.
14984 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14986 * FontLoader.C (available): Check if font is available without
14989 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14991 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14993 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14995 * lyxrc.[Ch]: added display_graphics variable and associated code.
14997 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14999 * bufferparams.C (hasClassDefaults): new method. Returns true if
15000 the buffer parameters correspond to known class defaults
15002 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15004 * XFormsView.C (show): set minimum size to the main window.
15006 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15008 * text2.C (copySelection):
15010 * lyxfind.C (LyXReplace):
15011 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15012 LyXText::selectionAsString.
15014 * paragraph.C (asString): add "label" argument to the second form
15016 * text2.C (selectionAsString): add "label" argument and pass it to
15017 Paragraph::asString.
15019 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15021 * lyx_main.C (commandLineHelp): remove version information
15023 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15025 * lyx_main.C: add -version commandline option
15027 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15029 * paragraph.h: make the optional constructor arg required instead.
15030 some modifications to other files because of this.
15032 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15034 * lyxserver.C (C_LyXComm_callback): make it static
15036 * lyx_main.C (error_handler): make it static
15038 * lyx_gui.C (LyX_XErrHandler): make it static
15040 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15042 * WorkArea.C: make the extern "C" methods static.
15044 * Makefile.am (lyx_LDADD): simplify
15046 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15048 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15049 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15051 * LyXAction.C (init):
15052 * lyxfunc.C (dispatch): associated code removal.
15054 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15056 * lyxfont.h (isSymbolFont): shut off warning
15058 * text.C (setHeightOfRow):
15059 (getVisibleRow): fix crash with empty paragraphs which have a
15062 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15064 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15067 2001-09-04 José Matos <jamatos@fep.up.pt>
15070 * tabular.C (docbook): rename docBook method to docbook.
15072 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15074 * Makefile.am: add dependencies to main.o.
15076 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15078 * FontLoader.C (available): Return false if !lyxrc.use_gui
15080 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15082 * FontInfo.C (query):
15083 * converter.C (view):
15084 * importer.C (Import):
15085 * exporter.C (Export): Can not -> cannot.
15087 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15089 * BufferView_pimpl.C: allow to create index inset even if
15092 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15094 * buffer.C (getLists): replace boost::tie code with an explicit pair
15095 as boost::tie can break some compilers.
15097 * iterators.h: Added a std:: declaration to the return type of
15100 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15102 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15105 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15107 * iterators.[Ch]: New files. Provide paragraph iterators.
15109 * buffer.C (changeLanguage): Use paragraph iterators.
15110 (isMultiLingual): ditto
15112 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15114 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15116 * FontLoader.C: Support for cmr font.
15118 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15120 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15121 (available): New method.
15123 * FontInfo.C (getFontname): Use scalable fonts even when
15124 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15127 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15129 * converter.C (Formats::view): reverted! Incorrect fix.
15131 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15133 * converter.C (Formats::view): only output the -paper option
15134 if the dvi viewer is xdvi, thereby fixing bug #233429.
15136 2001-08-23 Herbert Voss <voss@perce>
15138 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15140 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15142 * Spacing.h (Spacing): Set space to Default on in the default
15145 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15147 * vc-backend.h (RCS::versionString): add RCS to version
15148 (CVS::versionString): add CVS to version
15150 * vc-backend.C (scanMaster): do not add CVS to version.
15151 (scanMaster): do not add RCS to version
15153 * lyxvc.C (versionString): new method
15155 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15157 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15159 * Spacing.C (set): initialize fval
15161 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15163 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15166 2001-08-16 Juergen Vigna <jug@sad.it>
15168 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15170 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15172 * BufferView_pimpl.C:
15175 * text2.C: setParagraph takes linespacing now
15177 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15179 * LyxAction.C: add internal LFUN_CITATION_INSERT
15181 * LyXView.C: actually apply fix
15183 * bufferlist.C: fix open non-existent file
15185 * lyxfind.C: fix indentation
15187 * lyxfunc.C: remove unneeded assert, fix typo
15189 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15191 * MenuBackend.C: use "Floatname List"
15193 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15195 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15196 when converting LaTeX layout to insetERT.
15197 Generate a non-collapsed float when reading old float
15199 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15201 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15204 2001-08-13 Juergen Vigna <jug@sad.it>
15206 * text.C (fill): return 0 instead of 20 as this seems to be the more
15209 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15211 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15214 2001-08-13 Juergen Vigna <jug@sad.it>
15216 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15218 (SearchBackward): comment out the unlocking of the inset_owner this
15219 should not be needed!
15221 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15223 * Many files: Remove inherit_language, and add latex_language
15225 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15226 collapsible insets.
15228 2001-08-10 Juergen Vigna <jug@sad.it>
15230 * text.C (prepareToPrint): fixed hfill-width in draw!
15232 * BufferView2.C (selectLastWord): save the selection cursor as this
15233 now is cleared in the function LyXText::clearSelection!
15235 2001-08-08 Juergen Vigna <jug@sad.it>
15237 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15238 BACKSPACE type functions.
15240 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15241 is only cutted from the document but not put in the cut-buffer, where
15242 still the old stuff should be.
15244 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15246 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15248 * tabular.C (SetWidthOfCell): fixed special case where the width
15250 (LeftLine): handle '|' in align_special.
15252 (LeftAlreadyDrawed): ditto
15253 (SetWidthOfCell): ditto
15255 2001-08-07 Juergen Vigna <jug@sad.it>
15257 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15259 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15261 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15262 * lyxlex.[hC]: ditto
15264 2001-08-06 Juergen Vigna <jug@sad.it>
15266 * text.C (getVisibleRow): fix up row clearing a bit.
15268 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15270 * minibuffer.C: make sure the X server sees the changes in the input.
15272 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15274 * paragraph.C (getFont): split into...
15275 (getLabelFont): this
15276 (getLayoutFont): and this
15277 * paragraph_pimpl.C (realizeFont): calling this
15279 * text2.C (getFont): split into...
15280 (getLayoutFont): this
15281 (getLabelFont): and this
15282 (realizeFont): all three calling this
15284 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15287 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15289 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15291 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15293 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15294 layouts from the Quote inset insertion.
15296 2001-08-03 Juergen Vigna <jug@sad.it>
15298 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15300 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15301 only if status not is already CHANGED_IN_DRAW (second level).
15303 * text.C (draw): don't set the need_break_row when inside an
15306 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15308 * buffer.C (parseSingleLyXformat2Token): handle more latex
15311 * bufferview_funcs.[hC]: change function names to
15312 begin with small char, adjust other files.
15314 2001-08-02 André Pönitz <poenitz@gmx.net>
15317 BufferView_pimpl.C: remove broken special code for math-greek
15319 2001-08-02 Juergen Vigna <jug@sad.it>
15321 * BufferView_pimpl.C (update): redone this function so that we
15322 update the text again if there was a CHANGE_IN_DRAW.
15324 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15325 (drawFromTo): added a new internal bool which is used by draw() and
15327 (general): some cursor drawing problems fixed.
15329 2001-08-01 Juergen Vigna <jug@sad.it>
15331 * lyxfind.C (LyXFind): fixed
15332 (SearchForward): ditto
15333 (SearchBackward): ditto
15335 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15336 spurius drawing of the cursor in the main area.
15338 * text2.C (status): small fix which could lead to a segfault!
15339 (clearSelection): remove unneeded BufferView param.
15341 2001-08-01 André Pönitz <poenitz@gmx.net>
15343 * lyxfunc.C: small change due to changed mathed interface
15345 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15347 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15349 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15351 * lyxfunc.c: fail gracefully if file doesn't exist
15356 * BufferView_pimpl.C: IsDirWriteable() proto changed
15358 * LyXView.C: fix updateWindowTitle() to store the last title
15360 2001-07-31 Juergen Vigna <jug@sad.it>
15362 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15363 the font (wrong since using of Paragraph::highestFontInRange).
15365 * paragraph.C (highestFontInRange): added a default_size parameter.
15367 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15368 (setHeightOfRow): reformat
15370 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15372 * converter.[hC] + affected files: move to (inital-char)lowercase
15375 * ParagraphParameters.C (ParagraphParameters): remove commented code
15377 * PainterBase.[Ch]: remove commented code
15379 * LaTeXFeatures.h: add "bool floats" for float.sty
15381 * LaTeXFeatures.C (LaTeXFeatures): init floats
15382 (require): handle float
15383 (getPackages): do it with floats
15385 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15387 * BufferView_pimpl.C (Dispatch): improve handling of
15388 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15390 * commandtags.h: #include lyxfont.h here temporarily to avoid
15393 * bufferlist.h: include LString.h here.
15395 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15397 * text2.C (getStringToIndex): new method.
15399 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15401 * *: Reduced header file dependencies all over.
15403 2001-07-30 Baruch Even <baruch@lyx.org>
15405 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15407 2001-07-29 Baruch Even <baruch@lyx.org>
15409 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15411 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15413 * ParameterStruct.h (endif): add a default constructor to make
15414 sure that all variables is initialized.
15416 * ParagraphParameters.C (ParagraphParameters): adjust
15418 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15420 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15421 index; also, check that there is something to index, and that it
15422 does not span over several paragraphs.
15423 (doubleClick): use WHOLE_WORD_STRICT for double click.
15425 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15427 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15430 2001-07-26 Baruch Even <baruch@lyx.org>
15432 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15433 an InsetFig figure, backwards compatible reading of old figure code.
15435 2001-07-27 Juergen Vigna <jug@sad.it>
15437 * text2.C: font.realize function adaption.
15439 * text.C (draw): add a warnings lyxerr text if needed.
15441 * layout.C: font.realize function adaption.
15443 * language.C: add inherit_language and implement it's handlings
15445 * bufferview_funcs.C (StyleReset): remove language parameter from
15446 font creation (should be language_inherit now).
15448 * bufferparams.C (writeFile): handle ignore_language.
15450 * paragraph.C (getFontSettings): the language has to be resolved
15451 otherwise we have problems in LyXFont!
15453 * lyxfont.C (lyxWriteChanges): added document_language parameter
15454 (update): removed unneeded language parameter
15456 * paragraph.C (validate): fixed wrong output of color-package when
15457 using interface colors for certain fonts in certain environments,
15458 which should not seen as that on the final output.
15460 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15462 * BufferView_pimpl.C:
15467 * LyXAction.C: add thesaurus support
15470 * lyxfind.C: add "once" parameter, for thesaurus, to not
15471 move to the next match
15473 2001-07-26 Juergen Vigna <jug@sad.it>
15475 * lyxfont.C (realize): honor ignore_language too!
15478 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15480 * text.C (draw): one place more for ignore_language to not draw
15483 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15485 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15487 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15489 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15490 the minipage conversion problem.
15492 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15494 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15497 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15499 * BufferView.h: don't forward declare WorkArea
15501 * BufferView.C: don't include WorkArea.h
15503 2001-07-25 André Pönitz <poenitz@gmx.net>
15507 * lyxfunc.C: new LFUN 'math-space'
15509 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15511 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15513 * text2.C (toggleInset): call open/close
15515 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15517 * lyxfunc.C (dispatch): add debug for the disabled case
15519 * font.C (buttonText): make similar to rectText
15521 * buffer.C (readInset): comment out parsing of insetlist and
15524 * PainterBase.C (rectText): small correction
15526 * BufferView_pimpl.C: comment out insettheorem and insetlist
15527 * LyXAction.C: ditto
15528 * commandtags.h: ditto
15530 2001-07-24 Juergen Vigna <jug@sad.it>
15532 * text.C (draw): honor the ignore_language.
15534 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15536 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15538 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15541 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15543 * lyxtext.h: remove unused (and unimplemented) methods
15545 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15547 * text.C (getVisibleRow): honor background color
15550 * Painter.h: remove default color argument for fillRectangle
15552 * text.C (backgroundColor): new method
15554 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15556 * text.C (getVisibleRow): adjust
15558 * font.[Ch] (rectText): new method, metrics
15559 (buttonText): new method, metrics
15561 * PainterBase.[hC]: make rectText and buttonText always draw and take
15564 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15566 * ToolbarDefaults.C (read):
15567 * MenuBackend.C (read): allow escaping in all strings
15569 * BufferView_pimpl.C (insertAndEditInset): new method.
15570 (Dispatch): use insertAndEditInset whenever appropriate.
15572 * BufferView_pimpl.C (insertNote): removed
15574 * BufferView_pimpl.C (smartQuote): new method, moved from
15575 BufferView; if an insetquote cannot be inserted, insert a '"'
15578 * BufferView2.C: remove insertCorrectQuote();
15580 * lyxfunc.C (getStatus): Add support for all remaingin
15581 inset-insert lfuns.
15583 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15585 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15586 command (necessary to pass " as parameter of self-insert.
15588 * text.C (selectWordWhenUnderCursor):
15589 (selectWord): add word_location parameter
15590 (selectWordWhenUnderCursor): same + remove special code for word
15592 (selectNextWord): use kind() to guess type of insetspecialchar,
15595 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15596 (insertErtContents): create ert insets as collapsed.
15597 (readInset): better compatibility code for Info inset.
15599 2001-07-20 Juergen Vigna <jug@sad.it>
15601 * lyxfunc.C (dispatch): use always LyXFind now!
15603 * text2.C (init): add a reinit flag so that the LyXText can be
15604 reinited instead of deleted and reallocated (used in InsetText).
15606 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15612 2001-07-18 Juergen Vigna <jug@sad.it>
15614 * text.C (selectNextWord): handle insets inside inset by calling
15615 always the bv->text functions so that we can go up the_locking_inset!
15617 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15618 in strange locations when inside an inset!
15620 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15621 handling to include insets.
15623 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15625 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15627 * LyXAction.C (init):
15629 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15630 LIGATURE_BREAK, since the name is so stupid.
15632 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15634 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15637 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15639 * sp_form.[Ch]: remove.
15641 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15643 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15646 * src/buffer.C (readInset): ditto.
15648 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15650 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15651 menuSeparator(), endOfSentenceDot(), ldots() and
15652 hyphenationPoint(), which are therefore removed.
15653 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15655 * LyXAction.C (init):
15656 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15658 * paragraph.C (getWord): removed.
15660 * BufferView_pimpl.C (Dispatch): use last word or selection for
15661 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15663 * lyx_main.C (queryUserLyXDir): do not ask before creating
15664 user_dir, except if it has been named explicitely.
15666 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15668 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15669 a document of zero size.
15671 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15673 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15674 approriately in the c-tor and in require().
15675 (getPackages): output the appropriate LaTeX for natbib support.
15677 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15678 variables "use_natbib" and "use_numerical_citations" when reading the
15680 (readInset): read the various natbib cite commands.
15681 (validate): white-space change.
15683 * bufferparams.[Ch]: new variables "bool use_natbib" and
15684 "bool use_numerical_citations".
15685 (writeFile): output them in the LyX file.
15687 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15689 * lyxfunc.C (getStatus): add support for all the inset insertion
15692 * text2.C (insertInset):
15693 * paragraph.C (insetAllowed):
15694 * BufferView_pimpl.C (insertInset): update to take in account the
15695 renaming of insertInsetAllowed
15697 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15699 * text2.C (getInset): new method. returns inset at cursor position.
15701 * BufferView_pimpl.C (Dispatch): changes because of this.
15703 * LyXAction.C (init): rename open-stuff to inset-toggle.
15705 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15707 * text2.C (toggleInset): renamed from openStuff; use
15710 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15712 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15714 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15716 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15718 * buffer.C (readLyXformat2): Add filename to the error dialog
15720 2001-07-18 Juergen Vigna <jug@sad.it>
15722 * tabular.C (GetCellNumber): put an assert here instead of the check!
15724 2001-07-17 Juergen Vigna <jug@sad.it>
15726 * BufferView_pimpl.C (toggleSelection): adapted too.
15728 * text.C (selectNextWord): adapted for use with insets.
15729 (selectSelectedWord): ditto
15731 2001-07-17 Juergen Vigna <jug@sad.it>
15733 * sp_spell.C (PSpell): fix initialitation order.
15735 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15737 * paragraph.C: spacing
15739 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15741 * sp_spell.C: repair language selection for pspell
15743 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15745 * lyxfunc.h: change more methods to begin with lower char.
15747 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15749 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15750 for unknown layouts.
15752 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15754 * buffer.C (readLyXformat2): Generate an error dialog if there are
15757 2001-07-16 Juergen Vigna <jug@sad.it>
15759 * sp_spell.C: always compile ISpell part.
15761 * lyxrc.C: added use_pspell entry and it's handling.
15763 2001-07-13 Juergen Vigna <jug@sad.it>
15765 * sp_spell.C: removed double includes.
15767 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15769 Consistent use of Lsstream.h:
15770 * Lsstream.h: added using std::stringstream for consistencies sake.
15772 * buffer.C: removed using std::stringstream
15774 * lyxfont.C (stateText):
15775 * paragraph.C (asString):
15776 * text.C (selectNextWord, selectSelectedWord):
15777 * text2.C (setCounter):
15778 * vspace.C (asString, asLatexString):
15779 std::ostringstream -> ostringstream.
15781 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15783 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15784 * commandtags.h: add LFUN_HELP_ABOUTLYX
15785 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15787 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15789 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15791 * lyx_gui_misc.C: remove spellchecker
15792 * lyxfunc.C: showSpellchecker
15794 * sp_ispell.h: added
15795 * sp_pspell.h: added
15796 * sp_spell.C: added
15797 * sp_form.[Ch]: removed
15798 * spellchecker.[Ch]: removed
15800 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15802 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15804 (simpleTeXSpecialChars): Simply print the input character without
15805 any special translation if pass_thru is set.
15807 * layout.h: Added bool pass_thru to layout class for being able to
15808 implement pass through of a paragraph for Literate Programming.
15810 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15811 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15812 * layout.C (Read): add "passthru" to list of layout tags and add
15813 code to set the pass_thru boolean when it is read.
15815 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15817 * trans_decl.h: remove allowed from KmodInfo
15819 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15820 remove allowed code
15823 * paragraph_pimpl.C (erase): use boost::prior
15825 * Painter.C (text): use data() instead of c_str() when length is
15827 * WorkArea.C (putClipboard): ditto
15828 * font.h (width): ditto
15830 * BufferView2.C: use it-> instead of (*it). for iterators
15832 * paragraph_pimpl.C: ditto
15833 * paragraph.C: ditto
15834 * minibuffer.C: ditto
15835 * language.C: ditto
15837 * encoding.C: ditto
15838 * counters.C: ditto
15839 * converter.C: ditto
15841 * Variables.C: ditto
15842 * TextCache.C: ditto
15843 * MenuBackend.C: ditto
15844 * LyXAction.C: ditto
15846 * FloatList.C: ditto
15847 * DepTable.C: ditto
15848 * ColorHandler.C (LyXColorHandler): ditto
15850 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15852 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15854 * text2.C (openStuff): reintroduce this method (which had been
15855 nuked in NEW_INSETS frenzy).
15857 * lyxfunc.C (Dispatch): when an action has not been handled, use
15858 its name in the error message, not its number.
15860 * paragraph.C (inInset): change method name to begin with lowercase.
15863 * text2.C: updates because of this.
15865 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15867 * ToolbarDefaults.C (add): add spaces in error message
15869 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15871 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15872 (readLyXformat2): rename return_par to first_par, use lyxlex's
15873 pushToken and remove the manual push handling.
15874 (parseSingleLyXformat2Token): add another ert comp. variable:
15875 in_tabular, rename return_par to first_par. handle newlines better
15877 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15879 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15881 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15883 * text2.C (getParFromID): removed
15885 * buffer.C (getParFromID): new method moved form lyxtext.
15886 * BufferView2.C (insertErrors): adjust
15887 (setCursorFromRow): adjust
15888 * BufferView_pimpl.C (restorePosition): adjust
15889 * lyxfunc.C (Dispatch): adjust
15890 * undo_funcs.C (textUndo): adjust
15892 (textHandleUndo): adjust
15893 (textHandleUndo): adjust
15895 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15897 * buffer.C: up' the LYX_FORMAT
15899 * lyxfont.h: turn NO_LATEX on as default
15901 * buffer.C (insertErtContents): new methods of tex style compability.
15902 (parseSingleLyXformat2Token): use it several places.
15903 * tabular.C (OldFormatRead): and here
15905 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15907 * text2.C: remove some commented code.
15910 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15911 * trans.C: changes because of the above.
15913 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15915 * text2.C (setCounter): Fix counters bug with bibliography layout.
15917 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15919 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15920 own member functions
15921 (simpleTeXSpecialChars): ditto
15923 2001-07-06 Juergen Vigna <jug@sad.it>
15925 * a lot of files: changed the access to LyXText::status and the
15926 call of undo-functions.
15928 * undo.[Ch]: added a inset_id to the undo informations.
15930 * undo_funcs.[Ch]: added and moved here all undo functions.
15932 * lyxtext.h: give the status enum a weight, made status_ a private
15933 variable and made accessor functions for it, removed the whole bunch
15934 of undo-functions as they are now in their own file, make some
15935 functions publically available. Added function ownerParagraph with
15938 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15939 made InInset() a const function, added getParFromID() function.
15941 * buffer.[Ch]: added const version for inset_iterator functions,
15942 added getInsetFromID() function.
15944 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15945 changed undo functions for new version.
15947 2001-07-05 Juergen Vigna <jug@sad.it>
15949 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15950 unknow mechanism does not call the proper constructor but only this
15951 one also if I request the other!?
15953 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15955 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15957 * text2.C (LyXText): use initialization lists.
15959 * lyxtext.h (Selection): initialize set_ and mark_
15960 (init): remove method
15962 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15964 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15966 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15968 * screen.[Ch]: change method names to begin with lowercase
15970 * BufferView_pimpl.C (updateScrollbar): simplify further and
15971 hopefully make it a bit faster.
15973 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15975 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15976 calling directly xforms functions.
15978 * Painter.C (Painter):
15979 * lyx_cb.C (MenuWrite):
15980 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15983 * lyx_gui.C: remove bogus guiruntime extern declaration.
15985 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15987 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15989 (redoDrawingOfParagraph): ditto
15990 (redoParagraphs): ditto
15991 (cutSelection): don't create a object for CutAndPaste use the
15992 static method directly
15993 (pasteSelection): ditto
15995 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15998 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16000 * modifications to some other files because of this.
16002 * Makefile.am (lyx_SOURCES): add XFormsView
16004 * XFormsView.[Ch]: new files
16006 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16007 the main window. Move the gui dependent stuff to XFormsView
16009 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16011 * tabular.C (GetCellInset): update cur_cell also in the row/col
16012 version of this function.
16014 * lyxfunc.C: no need to include figure_form.h here.
16020 * lyxvc.C: no need to include forms.h here.
16022 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16024 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16026 * lyxfunc.C (Dispatch):
16028 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16029 constructor argument.
16031 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16033 * paragraph.C (Paragraph): dont't clear, and just set layout.
16034 (makeSameLayout): use params's copy contructor.
16036 * ParagraphParameters.[Ch] (makeSame): delete method
16038 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16040 * Variables.[Ch]: fix indentation, rename set to isSet
16042 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16044 * lyxfunc.C (Dispatch): fix typo
16046 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16048 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16051 * bufferlist.C: include assert.h for emergencyWrite().
16053 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16055 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16056 give up at last (bug #425202) !
16058 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16064 * spellchecker.C: strip spellchecker options and bring up
16065 preferences tab instead
16067 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16069 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16070 the istringstream constructor
16072 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16074 * paragraph.C (getLayout): fix return value
16076 * paragraph.h: do not declare getLayout as inline.
16078 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16080 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16082 * lyxcursor.h (operator<): new func
16083 (operator>): new func
16084 (operator>=): new func
16085 (operator<=): new func
16087 * text.C (changeCase): use selection.start and selection.end
16088 (changeRegionCase): require from to be <= to. Require par to be a
16091 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16093 2001-06-27 Juergen Vigna <jug@sad.it>
16095 * text.C (cursorLeftOneWord): changed to return the cursor and added
16096 overlay with BufferView * parameter which calls this one.
16098 (selectWord): use new getWord function.
16099 (changeCase): renamed from changeWordCase as and extended to work
16100 also on selections.
16102 * lyxtext.h: added enum word_location
16104 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16105 changeCase as this operates now also on selections.
16107 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16109 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16111 * many files: send debug output to Debug::INFO instead of
16114 * converter.C (View):
16116 (Move): send debug output to Debug::FILES instead of console.
16118 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16120 * lyxfunc.C (getStatus): use func_status
16122 * func_status.h: new header, describing the results of
16123 LyXFunc::getStatus;
16125 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16128 2001-06-25 The LyX Project <jug@sad.it>
16130 * buffer.C (sgmlOpenTag):
16132 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16134 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16136 * text2.C: remove some dead code
16138 * tabular.C (GetCellInset): store the last cell checked (gotten)
16140 * tabular.h: add the helper for the speedup
16142 * lyxtext.h: remove some dead code
16144 2001-06-26 The LyX Project <Asger>
16146 * paragraph.C: Change export to LaTeX of alignment to
16147 \begin{center} and family for better roundtrip work with reLyX.
16149 * Tune the math drawing a bit.
16151 2001-06-25 The LyX Project <Asger>
16153 * LColor.C (LColor): New color for math background. New color
16156 2001-06-25 The LyX Project <jug@sad.it>
16158 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16160 * lyxfunc.C (Open):
16161 * bufferlist.C (newFile): do not restrict to files ending with
16164 * BufferView_pimpl.C (MenuInsertLyXFile):
16166 2001-06-24 The LyX Project <jug@sad.it>
16168 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16171 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16173 * lyxtext.h: rename most methods to begin with a small char.
16174 Lots of changes because of this.
16176 * paragraph.C (Paragraph): do not call fitToSize
16177 (erase): call Pimpl::erase
16178 (insertChar): call Pimpl::insertChar
16179 (insertInset): call Pipl::insertInset
16180 (breakParagraph): do not call fitToSize
16181 (breakParagraphConservative): do not call fitToSize
16182 (fitToSize): remove method
16184 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16186 2001-06-24 The LyX Project <Asger>
16188 * Fix Qt compilation^2
16190 2001-06-24 The LyX Project <jug@sad.it>
16192 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16193 depthHook(getDepth()-1).
16196 * ParagraphParameters.h:
16197 * ParameterStruct.h: change type of depth to unsigned int ==
16198 depth_type. Many adaptations to other files before of that.
16200 2001-06-24 The LyX Project <Asger>
16202 * Fix Qt compilation.
16204 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16206 * paragraph.h: renamed several methods to begin with small letter.
16207 several changes to many parts of the code because of this.
16209 2001-06-23 The LyX Project <jug@sad.it>
16211 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16212 rewritten to discard all double spaces when KeepEmpty is off
16213 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16214 to only handle newlines but not fiddle with spaces and friends.
16216 * lyxfunc.C (MenuNew): when doing 'new from template', use
16217 template_path as default directory
16219 2001-06-23 The LyX Project <Asger>
16221 * Clean-up of header file includes all over
16222 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16224 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16226 * paragraph.h: renamed from lyxparagraph.h
16228 2001-06-23 Asger <lyx@violet.home.sad.it>
16230 * Buffer.h: Removed Buffer::resize
16231 * BufferList.h: Removed BufferList::resize
16232 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16233 the document lazily when we change the width, or the font settings.
16235 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16237 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16239 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16241 * buffer.h: remove out of date comment
16243 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16246 * screen.C: fix "theoretical" GC leak
16248 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16250 * LaTeX.C (scanAuxFile):
16251 (deplog): remove trailing \r when reading stream (useful under
16254 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16256 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16257 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16258 and BufferView::theLockingInset(Inset*), so should use them and not
16259 access bv_->text->the_locking_inset directly.
16261 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16263 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16266 * tex-defs.h: remove old unused file
16268 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16270 * BufferView_pimpl.C: fix typo, remove minibuffer message
16271 when buffer has loaded
16273 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16275 * lyxfunc.C (Dispatch): use stringstream
16276 (MenuNew): use stringstream
16277 (Open): use stringstream
16279 * importer.C (Import): use stringstream
16281 * bufferview_funcs.C (CurrentState): use stringstream
16283 * LaTeX.C (run): use stringstream
16285 * BufferView_pimpl.C (savePosition): use stringstream
16286 (restorePosition): use stringstream
16287 (MenuInsertLyXFile): use stringstream
16289 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16302 * vspace.C: removed // -*- C++ -*- as first line.
16305 * version.h: added // -*- C++ -*- as first line.
16307 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16309 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16311 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16314 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16316 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16319 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16321 * gettext.C: include LString.h even when --disable-nls is on.
16323 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16325 * converter.h (Get): changed argument type from int to
16326 FormatList::size_type to avoid unnecessary conversion.
16328 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16331 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16333 * gettext.h: include LString.h even when --disable-nls is on.
16335 2001-06-07 Juergen Vigna <jug@sad.it>
16337 * text.C (BreakAgain): subst spaces with tabs.
16339 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16340 (resizeInsetsLyXText): set force on resizeLyXText.
16342 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16344 * gettext.h (gettext_init):
16345 (locale_init): use a real definition instead of a macro
16347 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16349 * Bufferview_pimpl.C:
16351 * LColor.C: further lcolor tidies
16353 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16355 * BufferView_pimpl.C (updateScrollbar): simplify.
16357 * BufferView2.C: don't include insets/insetinfo.h, change
16358 prototype for insertInset and call the Pimpl version. let
16359 updateInset call Pimpl version.
16361 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16362 gotoInset to BufferView::Pimpl
16364 2001-06-01 Juergen Vigna <jug@sad.it>
16366 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16367 inside a LockingInset (is the update needed at all?).
16369 2001-05-31 Juergen Vigna <jug@sad.it>
16371 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16372 here not the old one otherwise how should we compare it afterwards
16375 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16380 * FontInfo.C: bring C functions into global namespace when
16383 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16385 * LString.h: make sure config.h has been loaded before LString.h.
16387 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16388 (one for each char read by EatLine!).
16390 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16393 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16395 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16396 to the same as the par we break from
16398 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16400 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16402 * MenuBackend.C (expand): also create menu entries for wide
16403 versions of the floats.
16405 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16407 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16409 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16410 frontends/Makefile.am
16416 * tabular.C (getTokenValue): add std::
16418 * tabular-old.C (getTokenValue): add std::
16419 (getTokenValue): ditto
16420 (getTokenValue): ditto
16422 * screen.C (ToggleSelection): adjust
16424 * lyxtext.h: put selection cursors inside a Selection struct.
16426 * lyxfunc.C (moveCursorUpdate): adjust
16428 * lyxfont.C (latexWriteStartChanges): add std::
16430 * lyxfind.C: adjust
16432 * font.h: delete with(char const *, LyXFont const &)
16434 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16436 * FontInfo.C (getFontname): add std::
16438 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16439 (workAreaButtonPress): adjust
16440 (tripleClick): adjust
16442 (moveCursorUpdate): adjust
16445 * BufferView2.C (gotoInset): adjust
16447 2001-05-30 Juergen Vigna <jug@sad.it>
16449 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16450 to check pspell I add this as default as I now have new pspell
16451 libraries and they seem to use this.
16453 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16455 * text2.C (CutSelection): make the cursor valid before the call to
16458 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16460 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16461 relied on 0 terminated strings and other horrors. Bug found due to
16462 the new assert in lyxstring!
16464 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16467 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16469 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16472 * lyxfunc.C (processKeySym): change method of getting to the
16475 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16476 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16477 * BufferView_pimpl.[Ch]: here as private methods.
16479 2001-05-28 Juergen Vigna <jug@sad.it>
16481 * text.C (SetHeightOfRow): added the update() call again as it is
16482 needed to initialize inset dimensions!
16484 2001-05-16 Juergen Vigna <jug@sad.it>
16486 * text2.C (SetCharFont): Add new function with BufferView * and
16487 bool toggleall parameters for setting insets internal fonts.
16488 (SetFont): Freeze the undo as we may change fonts in Insets and
16489 all this change should be inside only one Undo!
16491 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16492 setting font's in insets as for them we have the SetFont function!
16494 2001-05-15 Juergen Vigna <jug@sad.it>
16496 * text2.C (ClearSelection): to be sure we REALLY don't have any
16499 * tabular.C (TeXCellPreamble): fixed the left border problem for
16502 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16504 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16507 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16509 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16510 LFUN_BREAKPARAGRAPH.
16512 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16513 help test to "internal only", similar for LFUN_INSERT_URL
16515 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16516 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16517 auto_region_delete and deadkeys.
16519 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16522 * LColor.C: remove some dead entries, tidy a little
16524 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16526 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16528 (Dispatch): implement LFUN_ESCAPE
16530 * commandtags.h: add LFUN_ESCAPE
16532 * LyXAction.C (init): add entry for LFUN_ESCAPE
16534 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16535 Remove commented code.
16536 (insertNote): moved here
16537 (open_new_inset): moved here
16539 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16542 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16544 * kbmap.C (findbinding): clean it up and make it work correctly.
16546 * lyx_main.C (init): do not pass argc and argv as parameters
16548 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16550 * buffer.C: fix path for OS/2 & Win32
16554 * lyx_main.C: Added os:: class.
16556 * os2_defines.h: update
16558 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16560 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16561 better by trying again with reduced state.
16563 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16565 * lyxrc.C (read): print error about invalid key sequence only when
16566 debugging (because not all latinX keysyms are known to some X
16569 * kbsequence.C (getiso): add a few std:: qualifiers
16570 (getiso): comment out extra return statement.
16572 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16574 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16576 (Dispatch): enhance the accent inset a bit. (not perfect)
16578 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16580 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16582 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16584 * bufferlist.C (emergencyWrite): fix assert() call
16586 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16588 * text.C (InsertChar): Added trivial patch to only send the "you
16589 can not do multiple spaces this way" message once during a
16592 2001-05-08 Baruch Even <baruch@lyx.org>
16594 * Makefile.am: Changed order of libraries to get LyX to link properly
16595 with the gnome frontend.
16597 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16599 * LaTeXFeatures.h: add a std:: qualifier
16601 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16603 * paragraph.C (String): use stringstream
16605 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16607 * paragraph.C (writeFile): remove footflag arg
16609 * buffer.C (makeLaTeXFile): use stringstream
16610 (latexParagraphs): remove footnot gurba
16612 * LaTeXFeatures.C (getPackages): use stringstream
16613 (getMacros): likewise
16614 (getTClassPreamble): likewise
16615 (getFloatDefinitions): new method
16617 * paragraph.C (writeFile): reindent
16620 * WorkArea.h: revert the xpos + etc changes.
16622 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16624 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16626 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16627 (pasteSelection): likewise
16628 * text2.C (CreateUndo): likewise
16630 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16632 * minibuffer.C (peek_event): temporarily reduce the functionality
16633 of the minibuffer (to allow args on lfuns)
16635 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16636 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16638 * buffer.C (readInset): add compability reading of old float
16639 lists, add reading of new style float list.
16640 (readInset): avoid reevaluation of inscmd.getCmdName()
16641 (getLists): reindent
16643 * MenuBackend.C (MenuItem): implement parsing of
16644 md_floatlistinsert and md_floatinsert.
16645 (expand::LastFiles): move initalizaton of iterators out of loop,
16646 avoid reevaluation.
16647 (expand::Documents): introduce typdedef vector<string> Strings,
16649 (expand::ExportFormats): introduce typedef vector<Format const *>
16650 Formats, and use it.
16651 (expand): implement FloatListInsert and FloatInsert.
16653 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16654 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16655 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16657 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16659 (Dispatch::LFUN_FLOAT_LIST): implement
16661 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16663 * LaTeX.C (run): Fix problem with --export code.
16665 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16667 * BufferView.[Ch] (workarea): removed.
16668 (getClipboard) new method; wrapper for workarea()->getClipboard()
16670 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16673 * WorkArea.h (width, height, xpos, ypos): These methods all
16674 returned the dimensions of the work_area sub-area of WorkArea,
16675 resulting in a position error if the WorkArea were resized. Now
16676 return the dimensions of the entire WorkArea.
16678 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16680 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16682 * LaTeX.C (deplog): correct the syntax of regex reg1
16684 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16686 * undo.C: remove !NEW_INSETS cruft
16688 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16690 * text2.C: remove !NEW_INSETS cruft
16692 * text.C: remove !NEW_INSETS cruft
16694 * tabular.C: remove !NEW_INSETS cruft
16696 * spellchecker.C: remove !NEW_INSETS cruft
16698 * lyxtext.h: remove !NEW_INSETS cruft
16700 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16702 * lyxfunc.C: remove !NEW_INSETS cruft
16704 * lyxfind.C: remove !NEW_INSETS cruft
16706 * lyx_cb.C: remove !NEW_INSETS cruft
16708 * figureForm.C: remove !NEW_INSETS cruft
16710 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16712 * buffer.[Ch]: remove !NEW_INSETS cruft
16714 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16716 * CutAndPaste.C: remove !NEW_INSETS cruft
16718 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16720 * BufferView2.C: remove !NEW_INSETS cruft
16722 * BufferView.h: remove !NEW_INSETS cruft
16724 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16726 * Lsstream.h: include LString.h before the sstream headers to
16727 fix problem with gcc 2.95.3 and lyxstring
16729 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16731 * lyx_main.C: add using directives when needed for C functions
16732 declared in std:: namespace.
16734 2001-04-27 Juergen Vigna <jug@sad.it>
16736 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16737 (SetHeightOfRow): comment out the update call should not be needed!
16739 2001-04-13 Juergen Vigna <jug@sad.it>
16741 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16742 (LyXTabular): tried to minimize operator= operations (and realized
16743 hopfully Lars wish).
16745 2001-04-27 Juergen Vigna <jug@sad.it>
16747 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16749 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16751 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16753 * buffer.C (readInset): hack to make listof algorithm work
16755 * BufferView_pimpl.C: hack to make listof algorithm work
16757 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16759 * LyXAction.C: removed all !NEW_INSETS cruft
16760 (init): moved lfun_item in method
16762 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16764 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16766 * BufferView2.C (theLockingInset): white space.
16768 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16770 * minibuffer.C: include <iostream>
16772 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16774 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16776 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16778 * text.[Ch] (TransposeChars): new method
16780 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16782 * call message directly through LyXView instead of through LyXFunc
16783 * BufferView2.C: adjust
16784 * BufferView_pimpl.C: adjust
16785 * FontLoader.C: adjust
16787 * bufferview_funcs.C: adjust
16788 * converter.C: adjust
16789 * figureForm.C: adjust
16790 * importer.C: adjust
16792 * lyx_gui_misc.C: adjust
16793 * lyxfunc.C: adjust
16796 + more files in subdirs
16798 * lyxparagraph.h (size): move up int file
16801 * adjust all uses of Assert to lyx::Assert.
16803 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16804 lyxfunctional in namespace lyx
16805 * layout.C (hasLayout): ditto
16808 (delete_layout): ditto
16809 (NumberOfClass): ditto
16810 * converter.C (GetFormat): ditto
16815 * bufferlist.C (getFileNames): ditto
16816 (emergencyWriteAll): ditto
16819 * MenuBackend.C (hasSubmenu): ditto
16822 * BufferView_pimpl.C (getInsetByCode): ditto
16824 2001-04-18 Juergen Vigna <jug@sad.it>
16826 * vspace.C (asLatexString): fixed the 100% problem.
16828 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16830 * lyxfunc.C (Dispatch):
16832 * minibuffer.h: add a few std:: qualifiers
16834 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16836 * minibuffer.[Ch]: reimplement so that commands is initiated and
16837 run from lyxfunc, simplified som handling, and made the completion
16838 and history code for complete. wip.
16840 * lyxfunc.C (processKeySym): call message
16841 (miniDispatch): new temporary method
16842 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16843 (LFUN_MESSAGE): implement
16844 (LFUN_MESSAGE_PUSH): implement
16845 (LFUN_MESSAGE_POP): implement
16846 (initMiniBuffer): the initial/defualt minibuffer message.
16848 * lyxfont.[Ch]: inline some more getters
16850 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16852 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16854 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16855 (AutoSave): use LFUN_MESSAGE
16856 (Reconfigure): ditto
16858 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16860 * figureForm.C: use LFUN_MESSAGE
16862 * converter.C (runLaTeX): use LFUN_MESSAGE
16864 * bufferview_funcs.C: use LFUN_MESSAGE
16866 (changeDepth): ditto
16868 * bufferparams.h: use boost::
16870 * bufferlist.h: inherit privately from noncopyable
16872 * bufferlist.C (loadLyXFile): remove some commented code.
16874 * buffer.C (runChktex): use LFUN_MESSAGE
16876 * ShareContainer.h: inherit privately from noncopyable
16878 * ParagraphParameters.[hC] (depth): inline it.
16880 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16882 (message): new method
16883 (messagePush): ditto
16884 (messagePop): ditto
16885 (show): init minibuffer
16886 (showState): direct call
16888 * LaTeX.[Ch]: inherit privately from noncopyable
16889 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16890 instead of WriteStatus.
16892 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16894 * BufferView_pimpl.C (buffer): don't init minibuffer
16895 (workAreaButtonPress): use LFUN_MESSAGE
16896 (workAreaButtonRelease): ditto
16897 (savePosition): ditto
16898 (restorePosition): ditto
16899 (MenuInsertLyXFile): ditto
16900 (workAreaExpose): don't init minibuffer
16901 (update): remove commented code, simplify
16903 * BufferView2.C (openStuff): use LFUN_MESSAGE
16904 (toggleFloat): ditto
16907 (copyEnvironment): ditto
16908 (pasteEnvironment): ditto
16913 (updateInset): remove some commented code
16915 * lastfiles.h: inherit privately from noncopyable
16918 * lyx_main.h: ditto
16920 * lyxlex_pimpl.h: ditto
16922 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16923 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16924 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16926 * LyXAction.h: inherit privately from noncopyable, add methods
16927 func_begin, func_end, returning iterators to the func map.
16929 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16930 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16931 (func_begin): new method
16932 (func_end): new method
16934 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16936 (copySelection): ditto
16937 (pasteSelection): ditto
16939 * BufferView.C: whitespace change
16940 * BufferView.h: inherit privately from noncopyable
16942 2001-04-16 Allan Rae <rae@lyx.org>
16944 * tabular-old.C (l_getline):
16945 * spellchecker.C (sc_check_word):
16946 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16947 an unrecognised preprocessor directive. So ensure they're wrapped.
16949 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16951 * src/exporter.C (Export): Give an error message when path to file
16954 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16956 * LaTeX.C (deplog): Always check that foundfile exists.
16958 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16961 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16963 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16965 * tabular.[Ch] (getLabelList): implement new method
16967 * minibuffer.h: comment ouf setTiimer
16969 * minibuffer.C (ExecutingCB): constify res
16970 (peek_event): constify s
16971 (Set): constify ntext
16972 (Init): constify nicename
16974 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16976 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16977 (savePosition): use two params to Minibuffer::Set
16978 (restorePosition): ditto
16980 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16982 * lyx_main.C: include language.h
16984 * Makefile.am (lyx_main.o): add language.h
16986 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16992 * CutAndPaste.C: include gettext.h
16994 * lyxfont.h: remove old hack with ON and OFF.
16997 * lyxfont.h: do not include language.h...
17002 * bufferview_funcs.C:
17008 * paragraph.C: ... but do it here instead
17010 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17012 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17014 * tabular.C: small reformat
17016 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17019 (BreakParagraph): ditto
17020 (SetOnlyLayout): ditto
17023 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17026 * lastfiles.C: removed most using decl, add std:: where needed
17028 * buffer.C: ws changes
17030 * MenuBackend.C (class compare_format): put into anon namespace
17031 (expand): constify label, names, action, action2
17034 * text.C (SingleWidth): constify font
17035 (IsBoundary): constify rtl2
17036 (GetVisibleRow): constify ww
17038 * LaTeX.C (deplog): constify logfile
17040 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17042 (workAreaExpose): constify widthChange, heightChange
17044 * lyxrow.C (par): moved
17047 * lyxrow.h: as inlines here
17049 * lyxfont.h (shape): moved from lyxfont.C
17050 (emph): moved from lyxfont.C
17052 * lyxfont.C (LyXFont): use initialization list for all
17054 (shape): move to lyxfont.h as inline
17055 (emph): move to lyxfont.h as inline
17058 2001-04-04 Juergen Vigna <jug@sad.it>
17060 * vspace.C: had to include stdio.h for use of sscanf
17062 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17065 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17066 independent of xforms.
17068 2001-04-02 Juergen Vigna <jug@sad.it>
17070 * spellchecker.C: fixed namespace placing!
17072 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17074 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17075 the LyXParagraph * is 0.
17077 2001-03-29 Juergen Vigna <jug@sad.it>
17079 * vspace.C: added support for %, c%, p%, l%.
17080 (stringFromUnit): added helper function.
17081 (asLatexString): changed to give right results for the %-values.
17083 * buffer.C: convert the widthp in a width%.
17085 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17087 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17090 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17091 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17093 * lyx_cb.[Ch]: see above.
17095 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17099 * lyx.[Ch]: replaced by figure_form.[Ch].
17103 * lyxfunc.C: changed headers associated with above changes.
17105 2001-03-27 Juergen Vigna <jug@sad.it>
17107 * BufferView_pimpl.C: set the temporary cursor right!
17109 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17111 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17113 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17115 * LString.h: removed "using std::getline"!
17117 * BufferView_pimpl.C (Dispatch): changes due to changes in
17118 InsetInclude::Params.
17120 * buffer.C (tag_name): removed redundant break statements as they were
17121 producing lots of warnings with my compiler.
17123 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17125 * LString.h: add "using std::getline" when using the real <string>.
17127 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
17129 * buffer.C: removed bitset usage.
17130 PAR_TAG moved to an anonymous name space.
17131 (tag_name): new funtion, also in the anonymous namespace.
17132 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17133 (makeDocBookFile): clean code. Completed transition from string arrays
17135 (SimpleDocBookOnePar): code clean.
17137 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17139 * tabular.C: add some comments.
17141 2001-03-22 Juergen Vigna <jug@sad.it>
17143 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17144 compatibility read a bit and fixed bug with minipage in different
17147 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
17149 * buffer.C (pop_tag): removed.
17150 (push_tag): removed.
17151 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17152 array replaced with vector. Added support for CDATA sections.
17153 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17155 (makeDocBookFile): XML conformant declaration of CDATA section,
17156 fixed bug related to <emphasis> in the first paragraph char.
17157 (sgmlOpenTag): exclude empty tags.
17158 (sgmlCloseTag): ditto.
17160 * buffer.h (pop_tag): removed.
17161 (push_tag): removed.
17163 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17165 * language.h (Languages): added size_type and size().
17167 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17169 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17170 response on compability reading of minipages. One probliem is that
17171 the old usage of minipages was «flertydig»
17173 * several files here and in subdirs: don't use static at file
17174 scope use anon namespaces instead.
17176 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17178 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17179 LaTeX output. This is necessary for Literate document
17182 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17184 * buffer.C: insert hfill when needed.
17186 * tabular.C (l_getline): use string::erase, small whitespace change.
17188 * BufferView_pimpl.C: try the anon namespace.
17189 * WorkArea.C: ditto
17191 2001-03-16 Juergen Vigna <jug@sad.it>
17193 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17194 otherwise it won't open options-dialogs.
17196 * buffer.C: honor pextraWidth(p) on converting minipages.
17198 * tabular.C (l_getline): changed the functions to strip trailing \r.
17200 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17202 * BufferView_pimpl.C:
17203 * minibuffer..C: added "using SigC::slot" declaration.
17205 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17207 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17213 * paragraph.C: ditto
17215 * lyxtext.h: NO_PEXTRA
17217 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17219 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17220 * ParameterStruct.h: ditto
17221 * ParagraphParameters.h: ditto
17222 * lyxparagraph.h: ditto
17224 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17226 * buffer.C: add compability for minipage alignment.
17227 (latexParagraphs): remove unwanted pextra check.
17229 * several files: remove CXX_WORKING_NAMESPACES
17231 * buffer.C (pop_tag): tie is in namespace boost
17233 * BufferView.h: noncopyable is in namespace boost
17235 * lyx_main.h: ditto
17238 * lastfiles.h: ditto
17239 * bufferlist.h: ditto
17240 * ShareContainer.h: ditto
17242 * LyXAction.h: ditto
17245 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17247 * Merging changes from BRANCH_MVC back into HEAD.
17249 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17251 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17253 * BufferView_pimpl.C: change from intl.C
17257 * Makefile.am: move combox.*
17263 * intl.C: remove dialog (covered by prefs)
17265 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17267 * lyxfunc.C (Dispatch): removed redundant break statement.
17269 2001-03-14 Juergen Vigna <jug@sad.it>
17271 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17273 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17275 * buffer.C: add hack to fix compability reading of minipages.
17277 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17279 * buffer.C (getLists): Cleanup.
17281 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17283 * lyxfont.C (update): don't honor toggleall on font size.
17285 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17289 * Makefile.am: moved to frontends/xforms/
17293 * BufferView_pimpl.C: changes for moved mathpanel
17295 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17297 * gettext.h: fix gettext_init() in --disable-nls
17299 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17301 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17303 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17306 * lyx.h: strip external form
17308 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17310 * BufferView_pimpl.C: add comment, destroySplash()
17312 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17314 * BufferView_pimpl.C:
17318 * lyxfunc.C: use re-worked insetinclude
17320 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17322 * buffer.C: add using std::stringstream.
17324 * lyx_cb.C: readd using std::ios.
17326 * buffer.C: add using std::map.
17328 * BufferView_pimpl.C: add using std::vector.
17330 * ShareContainer.h: add std:: to swap.
17332 * buffer.h: add some typedefs
17333 * buffer.C (getLists): use them
17334 (getLists): renamed from getTocList.
17335 add a counter for the different float types and use it in the
17337 (getLists): use the same counter for the NEW_INSETS and the "non"
17340 * lyx_cb.h: remove unused items, includes, using etc.
17342 * ShareContainer.h: remove some commented code, add more comments
17343 and "documentation".
17345 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17347 * buffer.C (getTocList): make the list also when NEW_INSETS is
17350 * buffer.h: remove TocType
17352 * buffer.C (getTocList): change to return a map<string,
17353 vector<TocItem> >, implement for dynamic number of list.
17355 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17356 * text2.C (PasteSelection): adjust
17357 * CutAndPaste.C (pasteSelection): adjust
17359 * FloatList.C (FloatList): update from the new_insets branch.
17360 * Floating.[Ch]: ditto
17361 * LaTeXFeatures.C: ditto
17363 * lyxlex_pimpl.C: ditto
17365 * paragraph.C (Last): remove when NEW_INSETS is defined.
17367 * other file: changes because of the above.
17369 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17371 * lyxparagraph.h: rename next to next_, previous to previous_,
17372 make them private for NEW_INSETS. Rename Next() to next(),
17373 Previous() to previous().
17375 * other files: changes because of the above.
17377 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17380 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17383 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17385 * main.C (main): pass lyx_localedir to gettext_init().
17387 * gettext.h: remove locale_init and gettext_init macros
17389 * gettext.C (locale_init): new function
17390 (gettext_init): new function
17392 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17395 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17397 * Moved credits to frontends:
17398 * credits.[Ch]: removed
17399 * credits_form.[Ch]: removed
17400 * lyx_gui_misc.C: remove credits stuff
17403 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17405 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17407 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17408 unneeded destructor.
17410 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17411 a standalone pointer again.
17413 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17415 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17421 * ToolbarDefaults.C:
17430 * BufferView_pimpl.C: use new file dialog in GUII
17433 * lyx_cb.C: remove LayoutsCB to Toolbar
17435 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17437 * ShareContainer.h (get): add std:: qualifier
17439 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17441 * ShareContainer.h: define a proper ShareContainer::value_type
17442 type (and use typename to please compaq cxx)
17444 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17446 * lyxparagraph.h: move serveral local vars to
17447 ParameterStruct/ParagraphParameters., use ShareContainer in
17448 FontTable., make vars in FontTable private and add getter and
17451 * paragraph.C: changes because of the above.
17453 * lyxfont.h: remove copy constructor and copy assignment. (the
17454 default ones is ok), move number inside FontBits. move inlines to
17457 * lyxfont.C: add number to initializaton of statics, move several
17458 inlines here. constify several local vars. some whitespace
17459 cleanup. Dont hide outerscope variables.
17461 * Spacing.h: add two new constructors to match the set methods.
17463 * ShareContainer.h: new file, will perhaps be moved to support
17465 * ParameterStruct.h: new file
17467 * ParagraphParameters.h: new file
17469 * ParagraphParameters.C: new file
17471 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17472 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17474 * BufferView_pimpl.C: ParagraphParameter changes.
17475 * buffer.C: Likewise.
17476 * bufferview_funcs.C: Likewise.
17477 * text.C: Likewise.
17478 * text2.C: Likewise.
17480 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17482 * lyxfind.C (LyXReplace): do not redefine default argument in
17484 (IsStringInText): ditto
17485 (SearchForward): ditto
17486 (SearchBackward): ditto
17488 2001-03-06 Juergen Vigna <jug@sad.it>
17490 * lyxfind.C (IsStringInText): put parentes around expressions.
17492 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17494 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17496 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17498 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17500 * stl_string_fwd.h: add comment
17502 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17505 * tabular.C: remove unused DocBook methods
17511 killed DO_USE_DEFAULT_LANGUAGE
17513 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17515 * lyx_gui.C: do not include language.h.
17517 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17518 arguments in function implementation.
17520 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17522 * BufferView_pimpl.C: add <ctime>
17524 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17526 * BufferView_pimpl.C: add using std::find_if
17528 2001-02-27 José Matos <jamatos@fep.up.pt>
17530 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17533 2001-02-11 José Matos <jamatos@fep.up.pt>
17535 * buffer.C (makeDocBookFile): command styles now have a parameter as
17536 "title" by default.
17538 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17540 * layout_forms.[Ch]: removed
17541 * lyx_cb.[Ch]: out character
17542 * lyx_gui.C: out character
17543 * lyx_gui_misc.C: out character
17544 * bufferview_funcs.C: : out character,
17545 added toggleall as parameter in ToggleAndShow
17547 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17549 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17551 * text2.C (SetCurrentFont): Disable number property at boundary.
17553 2001-02-26 Juergen Vigna <jug@sad.it>
17555 * lyxfunc.C (getStatus): added a string argument override function so
17556 that this is correctly called from LyXFunc::Dispatch if it contains a
17557 do_not_use_argument which is used!
17558 (Dispatch): added check for "custom" export and call appropriate func.
17560 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17562 * lyxrc.C: Add language_command_local, language_use_babel and
17563 language_global_options.
17565 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17567 * buffer.C (makeLaTeXFile): Use language_use_babel and
17568 language_global_options.
17570 2001-02-23 Juergen Vigna <jug@sad.it>
17572 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17573 which works with LyXText and putted it inside BufferView. Here now we
17574 only call for that part the BufferView::Dispatch() function.
17576 * BufferView.C (Dispatch): added.
17578 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17579 functions which needs to use a LyXText over from LyXFunc.
17580 (MenuInsertLyXFile): added
17581 (getInsetByCode): added
17582 (moveCursorUpdate): added
17583 (static TEXT): added
17585 2001-02-22 Juergen Vigna <jug@sad.it>
17587 * BufferView_pimpl.C (update): call a status update to see if LyXText
17590 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17592 * vc-backend.C (revert): implement for CVS
17593 (getLog): implement for CVS
17595 2001-02-20 Juergen Vigna <jug@sad.it>
17597 * text2.C (ClearSelection): added BufferView param for inset_owner call
17599 * lyxfunc.C (TEXT): added this function and use it instead of
17600 directly owner->view()-text of getLyXText().
17602 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17604 * src/layout_forms.C: out preamble
17605 * src/layout_forms.h: out preamble
17606 * src/lyx_cb.C: out preamble
17607 * src/lyx_cb.h: out preamble
17608 * src/lyx_gui.C: out preamble
17609 * src/lyx_gui_misc.C: out preamble
17610 * src/lyxfunc.C: connect with guii preamble
17612 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17614 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17616 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17618 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17619 whether to run bibtex.
17621 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17623 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17625 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17627 * Makefile.am (lyx_SOURCES): removed bibforms.h
17629 * vspace.h: doxygen
17631 * text.C (GetVisibleRow): make several local vars const
17633 * tabular.C: small cleanup.
17635 * lyxserver.C (callback): use compare instead of strncmp
17637 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17638 inlines to after class or to paragraph.C
17640 * lyxfont.h: remove friend operator!=
17642 * converter.h: move friend bool operator< to non friend and after
17645 * combox.h: small cleanup
17647 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17648 to inlines after class def.
17650 * buffer.C (pop_tag): use string operations instead of strcmp
17652 * bmtable.c: doxygen, small cleanup
17654 * LaTeX.h: remove friend operator==
17656 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17668 * BufferView_pimpl.C:
17669 * BufferView.[Ch]: remove cruft
17671 2001-02-14 Juergen Vigna <jug@sad.it>
17673 * lyxfunc.C: removed #if 0 unused code
17675 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17677 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17679 * text2.C (SetSelection): added a BufferView * parameter
17681 2001-02-13 Juergen Vigna <jug@sad.it>
17683 * lyxfunc.C (Dispatch): fixed protected blank problem.
17684 * BufferView2.C (protectedBlank): added LyxText * parameter.
17686 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17687 (AppendColumn): same as above for column_info.
17689 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17690 (moveCursorUpdate): use a LyXText param for support of InsetText.
17692 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17693 (tripleClick): ditto
17695 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17697 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17699 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17701 * text2.C (SetSelection): set correct update status if inset_owner
17702 (ToggleFree): ditto
17704 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17706 * tabular.C: remove some commented code.
17708 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17710 * BufferView_pimpl.C: call hideSplash()
17712 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17715 * bibforms.h: remove
17718 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17719 add LFUN_CHILD_CREATE
17721 * counters.h: fix tiny typo
17726 * lyx.C: move splash to frontends/xforms/
17728 * lyx_gui_misc.C: move Include and Bibform to frontends
17730 * lyxvc.h: clarify comment
17732 * vspace.C: tiny housekeeping
17734 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17736 * text.C (PrepareToPrint): RTL Fix.
17738 * paragraph.C (GetUChar): New method.
17739 (String): Use GetUChar.
17741 * buffer.C (asciiParagraph): Use GetUChar.
17743 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17745 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17747 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17750 * buffer.C: rename to getLogName(), handle
17751 build log / latex log nicely
17753 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17756 * MenuBackend.h: remove support for reference menuitem type.
17758 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17760 * BufferView_pimpl.C: housekeeping
17761 * BufferView_pimpl.h:
17766 * minibuffer.h: move Timeout GUI-I
17768 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17770 * lyxrc.C (read): Update converters data-structures.
17772 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17774 * LaTeX.h (operator!=): add operator != for Aux_Info
17776 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17778 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17780 * LaTeXLog.C: deleted, useful code moved to Buffer
17783 * buffer.C: new function getLatexLogName()
17789 * lyxfunc.C: use frontends for LaTeX and VC logs
17791 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17793 * LaTeX.h: yet another std:: that Allan forgot.
17795 * Variables.C (set): renamed from isset(), because this clashes
17796 with some HP-UX macros (grr).
17798 2001-02-06 Allan Rae <rae@lyx.org>
17800 * LaTeX.h: Another bug fix. Missing std:: this time.
17802 2001-02-04 Allan Rae <rae@lyx.org>
17804 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17805 floats problem. I've left it commented out because it's not quite
17806 correct. It should also test that the current object is a table or
17807 figure inset. But I haven't gotten around to figuring out how to do
17808 that. I *think* it'll be something like: "table" == inset.type()
17810 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17813 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17815 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17816 all the citation/databases/styles in the auxilary file.
17817 (run): Rerun latex if there was a babel language error.
17819 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17821 * text.C (Backspace): Preserve the font when changing newline char
17823 (BreakParagraph): If the cursor is before a space, delete the space.
17825 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17827 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17829 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17830 new argument (code).
17831 (ChangeCitationsIfUnique): New method.
17833 * paragraph.C (GetPositionOfInset): Handle bibkey.
17835 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17837 * BufferView_pimpl.h: change type of Position::par_pos to
17838 LyXParagraph::size_type.
17840 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17842 * BufferView_pimpl.C (savePosition, restorePosition): Write
17843 messages to minibuffer.
17845 2001-01-28 José Matos <jamatos@fep.up.pt>
17847 * buffer.C (makeDocBookFile): adds support for document language.
17848 A silly restriction on the name of LatexCommand types where removed.
17849 Added support for CDATA sections, allows to chars unescaped, used
17850 among others in code, to avoid escape < and >.
17852 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17854 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17855 saved positions instrad of a stack. Furthermore, a position is
17856 stored using paragraph id/paragraph position.
17858 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17859 Remove LFUN_REF_BACK.
17861 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17863 * converter.C (dvipdfm_options): New method.
17865 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17867 * vspace.C (isValidLength): Fix for empty input string.
17869 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17871 * LyXAction.C (init): change description of LFUN_FIGURE to
17874 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17876 * LaTeX.C: add using directive
17878 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17880 * MenuBackend.C (expand): Fix the sorting of the formats.
17882 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17884 * lyx_main.C: tiny error message fix
17886 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17888 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17889 calling fl_initialize(). This fixes the problem with ',' as
17890 decimal separator in text files.
17892 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17894 * trans.C (process): Fix the keymap bug.
17896 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17898 * LaTeX.C (scanAuxFiles): New method. Provides support for
17899 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17900 (scanLogFile) Scan for "run BibTeX" messages.
17902 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17903 OT1 font encoding. Also, load the aecompl package if the ae
17906 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17908 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17910 * texrow.C (increasePos): turn two error messages into debug
17913 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17915 * LaTeX.C (scanAux): Handle the \@input macro.
17916 (runBibTeX): Use scanAux().
17918 * language.C (latex_options_): New field.
17920 * LaTeXFeatures.C (getMacros): Add language macros.
17922 * buffer.C (makeLaTeXFile): Small fix.
17924 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17926 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17928 * text2.C: add a using directive.
17930 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17935 * lyxfunc.C: kill LyXBell.
17937 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17939 * text.C (IsBoundary): Remove the error message
17941 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17943 * lyxrc.C (setDefaults): Correct initialization value for
17946 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17948 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17951 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17952 and GotoNextNote().
17954 * src/LyXAction.C: Added reference-next.
17956 * text.C (InsertChar): Use contains instead of strchr.
17958 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17960 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17962 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17963 alignment commands (when needed).
17965 * text.C (InsertChar): Add ':' to number separator chars.