1 2005-07-17 Juergen Vigna <jug@lyx.org>
3 * BufferView_pimpl.C (setBuffer): save/restore the
4 cursor/selection when switching buffers
7 * buffer.C (saveCursor): add saveDocumentIterators to save the
8 cursor when switching buffer.
11 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
14 * buffer.C: clarify message
16 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
18 * dociterator.C (DocIterator): fix initialization order
20 2005-07-17 Juergen Vigna <jug@lyx.org>
22 * text2.C (cursorHome):
23 * text.C (drawSelection, cursorX):
24 * dociterator.C (textRow): add boundary to getRow() call
26 * paragraph.C (getRow): implementation of below
28 * paragraph.h: add parameter boundary for getRow() function
30 2005-07-18 José Matos <jamatos@fc.up.pt>
34 * tex-strings.[Ch]: new file format, remove support for a4.sty,
35 a4wide.sty and a4widemargins.
37 2005-07-17 Juergen Vigna <jug@lyx.org>
39 * text2.C (cursorLeft): fix one of error
41 2005-07-17 Juergen Vigna <jug@lyx.org>
43 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
45 more fixes for boundary handling
47 * text3.C (dispatch): don't reset cursor if boundary has changed
50 2005-07-16 Juergen Vigna <jug@lyx.org>
52 * text2.C (getColumnNearX): hopefully got it right now,
53 check if we are on column 0 for special case.
55 2005-07-16 Juergen Vigna <jug@lyx.org>
57 * text2.C (getColumnNearX): handle special case Newline Inset
59 * text.C (singleWidth): Just remove bogus check
61 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
63 * funcrequest.C (split): avoid reading uninitialized char c
65 2005-07-16 José Matos <jamatos@fc.up.pt>
71 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
72 single papersize variable.
74 2005-07-16 Juergen Vigna <jug@lyx.org>
76 * text3.C (dispatch): honor boundary when checking if a cursor
77 movement has been done
79 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
80 (setCursor, setCursorIntern): fix cursor movement with boundary
82 2005-07-16 Juergen Vigna <jug@lyx.org>
84 * text.C (currentState): output the actual Boundary
86 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
88 * factory.C (createInset): fix bad logic for tabular creation
90 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
92 * lyx_main.C (init): change some reLyX reference to tex2lyx
94 2005-07-16 Juergen Vigna <jug@lyx.org>
96 * dociterator.C (DocIterator): initialize boundary
98 2005-07-16 Juergen Vigna <jug@lyx.org>
100 * text2.C (getColumnNearX): Consider rows without trailing blank.
102 2005-07-16 André Pönitz <poenitz@gmx.net>
104 * lyxfont.h: Change order of declarations to give the compiler
105 a better chance to inline things
107 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
108 questions on unsaved docs for better scritability
110 2005-07-16 André Pönitz <poenitz@gmx.net>
112 * paragraph.h (getChar): remove asserts as the same kind of security
113 can be achieved by using a suitable standard library implementation
114 and the function was in the critical path (25.9% in profiler)
116 2005-07-16 Juergen Vigna <jug@lyx.org>
118 * cursor.C (bruteFind2):
119 * bufferview_funcs.C (coordOffset):
120 * text.C (cursorX,cursorY): Handle cursor position after last char
121 in row before a inset which uses a whole row.
123 2005-07-15 José Matos <jamatos@lyx.org>
125 * output_plaintext.[Ch] (writeFileAscii): control reference title
127 (asciiParagraph): noparbreak was already deal and was incorrectly
130 2005-07-15 Juergen Vigna <jug@lyx.org>
132 * lyxfunc.C (dispatch): save and restore the cursor after a
135 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
137 * text.C (backspace): bug 806 for empty keepempty paragraphs we
138 change the layout to default before letting DEPM do its thing.
140 * paragraph_funcs.C (breakParagraph): dont reset the layout on
143 * text.C (setCursorFromCoordinates): add a debug statement
145 * text2.C (getColumnNearX): bug 1825 make sure that we don't
146 return a pos that is not on the row
148 * output_latex.C (TeXDeeper): get rid of potential dereferencing
149 of past the end iterator
151 2005-07-14 André Pönitz <poenitz@gmx.net>
153 * undo.C (recordUndoFullBuffer): implement undo for
156 2005-07-14 André Pönitz <poenitz@gmx.net>
158 * cursor.C (setSelection): open insets when selection is set there
159 to avoid crashs with cold coord cache
161 2005-07-14 André Pönitz <poenitz@gmx.net>
163 * trans_mgr.C (insert): move cursor to the right after inserting
166 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
168 * BufferView_pimpl.C (update): dampen some of the debug blabbering
169 * factory.C (readInset): ditto
170 * text.C, text2.C: ditto
172 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
174 * buffer.C: format incremented to 242. There is no file format per
175 se, but the "frenchb" language has been removed from lib/language
176 and has to be translated to "french" by lyx2lyx.
178 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
180 * cursor_slice.h, dociterator.h: add some documentation
181 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
183 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
185 * text.C (leftMargin): do not add identation to display() style
186 insets, because they are always centered (bug 1293).
188 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
190 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
191 formatted_time methods in support/lyxtime.
193 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
195 * toc.[Ch]: new method getGuiName, which is used by the frontends
196 to set the toc combo (fixes bug 1870). Make TOC string translatable.
198 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
200 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
201 StableDocIterator const &)
202 * undo.C (recordUndo): use the above instead of cell.size() comparison
203 (fixes bug 1808; instructed by André).
205 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
208 * dociterator.h: Fix the assert when copying rows/cols in math
210 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
212 * BufferView_pimpl.C:
214 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
216 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
217 (findInset): new functions, refactored from goto Inset that return
218 the position of a certain inset without setting the buffer's cursor
220 (gotoInset): rewrite to call findInset and then set the cursor
223 2005-06-16 Angus Leeming <leeming@lyx.org>
225 * lyxrc.C (output, read): wrap all input and output of paths with
226 calls to os::internal_path and os::external_path, respectively.
227 (output): wrap bind_file inside quotes.
229 * format.C (view): enable the viewer to use the '$$s' placeholder.
231 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
233 * LColor.[Ch] (getFromLaTeXName): new
235 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
237 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
239 2005-06-14 Angus Leeming <leeming@lyx.org>
241 * lyx_main.C (init): ensure that the LyX binary dir is the first
242 element in the PATH on non-POSIX builds.
244 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
246 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
248 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
250 * rowpainter.C (paintInset, paintHebrewComposeChar)
251 (paintArabicComposeChar, paintChars): add a LyXFont argument.
252 (paintChars): use getFontSpan to reduce calls to getFont to a
253 minimum; use Paragraph::lookupChange instead of isXXXText.
254 (paintForeignMark): rename LyXFont argument.
255 (paintFromPos): pass a LyXFont object to the various paintXXX
258 * FontIterator.C (FontIterator, operator++): use
259 Paragraph::getFontSpan
261 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
262 version that returns the font span as a pair.
264 2005-06-09 Angus Leeming <leeming@lyx.org>
266 * converter.C (convert): Don't forget "outfile = real_outfile" as
267 the final step in a conversion where the input and output file names
268 are the same. Otherwise, future conversion steps won't work...
270 2005-06-09 Angus Leeming <leeming@lyx.org>
272 * lyxsocket.C: remove stub code as it isn't needed by
273 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
275 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
277 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
278 effectively disabled -x
280 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
282 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
283 when it actually makes sense.
285 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
287 * BufferView_pimpl.C: revert to showCursor in connection with
288 Lars's front-end stack
290 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
292 * text.C (redoParagraph): move cursor right after a bibitem
295 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
297 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
299 * buffer_funcs.C (bufferErrors): fix computation of the end of an
302 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
304 * BufferView.[Ch] (update):
305 * BufferView_pimpl.[Ch] (update, metrics):
306 * dimension.h (operator==):
307 * lyxfunc.C (dispatch):
308 * metricsinfo.h (ViewMetricsInfo):
309 * rowpainter.C (paintText):
311 * text.C (redoParagraph):
312 * text3.C (dispatch): Make LyX only repaint current paragraph in
313 case of character insert --> speedup. Also fix cursor draw
316 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
318 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
319 avoid a crash (bug 1891)
321 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
325 * text2.C (getStringToIndex): constify cur argument.
327 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
328 argument has been given
329 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
330 try to invoke LFUN_INSET_APPLY).
332 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
333 if no inset was created by doInsertInset
334 (doInsertInset): return true if an inset has been inserted.
336 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
338 * vspace.C (asGUIName): new method. A version of the space
339 suitable for showing on screen.
341 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
344 * lyxrc.C: rename "ASCII" to "Plain Text"
346 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
348 * buffer_funcs.C (expandLabel): take a Buffer as argument;
349 translate the labelstring.
350 (setCounter): translate labelstring as needed.
352 * output_docbook.C (makeCommand): fix expandLabel invokation
354 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
356 * BufferView.C: fix dialog title
358 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
360 * lyx_main.C (priv_exec): fix logic error with help from Angus
361 * lyx_main.C (parse_execute): set is_gui = false and remove now
362 obsolete comment about a segfault
364 2005-05-18 Angus Leeming <leeming@lyx.org>
366 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
368 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
370 * tabular.[hC]: added setCellInset to fix tabular paste.
372 2005-05-11 Lars Gullik Bjonnes <larsbj@gullik.net>
374 * buffer.C (save): check if destination is writable before trying
377 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
379 * BufferView_pimpl.C (update): fix processEvents -caused update
382 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
384 * buffer_funcs.C (setCounter): fix test for numbering of
387 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
388 depth correctly; use optional argument when it exists
390 * lyxtextclass.C: remove unused MaxCounterTags enum
391 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
392 (max_toclevel, min_toclevel): new methods.
394 * MenuBackend.C (expandToc2): fix case where depth is smaller than
395 the smallest depth in toc.
397 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
398 layouts that should not appear in a table of contents.
400 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
402 * cursor.h (undispatched, noUpdate): add comments from André
404 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
408 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
410 2005-05-07 André Pönitz <poenitz@gmx.net>
412 * cursor.[Ch] (leaveInset): new function
414 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
416 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
418 2005-05-04 Angus Leeming <leeming@lyx.org>
420 * lyxfunc.C (getStatus): disable the spell checker dialog if
421 none of USE_[AIP]SPELL are defined.
423 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
425 * tabular.C (setWidthOfCell): remove obsolete comment
427 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
429 * paragraph.C (bibitem):
430 * buffer_funcs.C (setCounter):
431 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
433 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
435 * text3.C (getStatus): immediately return after setOnOff
437 * rowpainter.C: fix drawing of appendix start
439 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
441 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
442 SwitchBetweenClasses and remove the unused return value.
443 Handle character styles, too
445 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
447 * factory.C (createInset): handle undefined character styles
449 2005-05-02 Angus Leeming <leeming@lyx.org>
451 * buffer.C: protect the #include of utime.h with a preprocessor
454 2005-05-02 Angus Leeming <leeming@lyx.org>
456 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
457 function so that auto-saving works, albeit in a blocking manner.
459 * Makefile.am: make compilation of the client sub directory, of
460 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
461 on conditionals set at configure time.
463 * SpellBase.[Ch]: no longer an abstract base class. Instead,
464 it can be compiled in its own right but has no-op functionality.
466 * aspell.C, pspell.C: remove preprocessor guards. The files should
467 be compiled only if the necessary functionality exists.
469 * lyxserver.C, lyxsocket.C: disable on Windows.
471 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
473 * text.C (leftMargin): Fix the parindent use bug (1764)
476 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
478 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
481 2005-04-25 Angus Leeming <leeming@lyx.org>
489 include <config.h> in .C files, not .h ones.
491 protect headers inside preprocessor guards.
493 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
495 * FuncStatus.h (StatusCodes): document
497 2005-04-21 André Pönitz <poenitz@gmx.net>
499 * FuncStatus.h (enabled, onoff): document
501 2005-04-19 Angus Leeming <leeming@lyx.org>
503 * BufferView_pimpl.C (cursorToggle): no longer test whether
504 any child processes have been reaped before calling
505 handleCompletedProcesses().
507 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
509 * text3.C (dispatch): fix, finally fix, the language problem in
510 new lyxtexts, without disabling on-the-fly font changes (Helge's
513 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
515 * text3.C (dispatch): set cursor on double/triple click events
518 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
520 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
521 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
523 * rowpainter.C (paintFirst): simplify the code a little bit. In
524 particular, remove the test for secnumdepth.
525 * text.C (setHeightOfRow): only allocate space for chapter number
526 when updateCounters provided an actual label, instead of looking
527 at secnumdepth directly.
529 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
531 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
532 paragraphs when secnumdepth is large enough or, for environments,
533 when they are not the first in a sequence.
535 2005-04-17 Angus Leeming <leeming@lyx.org>
537 * buffer.C (makeLaTeXFile): replace code to manipulate a path
538 containing space and '~' characters with a call to latex_path().
540 2005-04-17 Angus Leeming <leeming@lyx.org>
542 * converter.C (convert): protect all args of convertDefault.sh
545 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
547 * text3.C (dispatch): change the layout to "Caption" after inserting
550 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
552 * text3.C (dispatch): fix language problem in newly created
553 textinsets (and main text) in non-english docs
555 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
557 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
558 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
559 * text3.C (getStatus): disable LFUN_INSET_MODIFY
561 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
566 * rowpainter.C (getFont): Fix metrics bug introduced by inset
569 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
571 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
572 output of \item arguments without trailing text.
574 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
576 * FontIterator.C (operator*): avoid a copy of the font.
578 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
580 * rowpainter.C (getFont): fix language bug from previous fix
582 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
584 * rowpainter.C (RowPainter, getFont): fix font inside inset
587 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
589 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
590 preventing inserted font, deco, delim insets jumping to start of
593 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
595 * lyxfunc.C (dispatch): translate message before sending it to the
598 2005-03-29 Angus Leeming <leeming@lyx.org>
600 * lyx_main.C (priv_exec): call os::internal_path on each file passed
601 to LyX on the command line.
603 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
605 * vc-backend.C: use QuoteName to protect file names wherever
608 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
611 * BranchList.h: fix bugs 1844,1845: document settings don't
614 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
616 * lyxrc.C (setDefaults, read, output, getDescription): add support
617 for tex_allows_spaces.
619 * exporter.C (Export): allows files in directory containing spaces
620 if tex_allows_spaces is true.
622 * buffer.C (makeLaTeXFile): if the document path contains spaces,
623 output it in double quotes.
625 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
627 * rowpainter.C: use default text height for drawing change tracker
630 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
632 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
634 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
636 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
637 directory is missing.
639 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
641 * text2.C: fixed the fix, extended to other case.
643 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
645 * text2.C: fix for cursor up/down stuck in math [bug 1792]
647 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
649 * text2.C (cursorUp): get rid of a crash
650 * text.C (x2pos): add an assert
652 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
654 * lyxfunc.C (getStatus): fix warning when assertions are disabled
658 * dociterator.C: include <boost/current_function.hpp>, which is
659 needed when assertions are disabled.
661 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
663 * text2.C: fix for stuck cursor when traversing two
664 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
666 2005-02-25 Andreas Vox <avox@arcor.de>
668 * output_docbook.C (makeParagraph): suppress trailing newline
669 after a run of paragraphs
671 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
673 * paragraph.C: fix for confused change tracker when pasting
674 text that begins with a lineseparator. [bug 1827]
675 (setChange(0, Change::INSERTED);)
677 * paragraph_funcs.C: fix for lost changes on triple-paste
678 in change tracking mode [bug 1827] (par.setChange()).
680 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
682 * text2.C (updateCounters, setCounter, expandLabel): move to
685 * buffer_funcs.C (updateCounters): turn into a free standing
686 function and add a buffer parameter. Remove dead code for tracking
688 (setCounter): change into a free-standing function which gets a
689 dociterator as argument. Use this iterator to fix captions in a
690 simple way. When no float is found above the caption, use the
691 labelstring of the caption layout as default.
693 * text.C (breakParagraph, backspace):
694 * text2.C (init, setLayout, changeDepth):
695 * text3.C (dispatch):
696 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
699 * dociterator.C (forwardPar): make it much faster by calling
700 forwardPos() only when really necessary.
702 * output_docbook.C (makeCommand): adapt to expandLabel move.
704 * cursor.C: remove unused variable
706 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
708 * paragraph_funcs.C: fix crash when pasting insets in change
709 tracking mode [bug 1277] (honour change type in moveItem).
711 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
713 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
715 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
717 * BufferView.C (setCursor): change to use a DocIterator.
718 (gotoLabel): use BufferView::setCursor (other part of bug 781).
719 (putSelectionAt): adapt to BufferView::setCursor change.
721 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
722 moved here from LyXText and rewritten to use proper cursor
723 methods. Fixes bug 1787, 616 and 835.
725 * BufferView_pimpl.C (restorePosition): set the cursor correctly
726 when inside an inset (part of bug 781).
727 (dispatch): adapt to change of BufferView::setCursor.
728 (getStatus, dispatch): handle LFUN_GOTOERROR,
729 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
731 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
732 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
733 * text3.C (gotoNextInset, gotoInset): removed.
735 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
737 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
739 2005-02-15 Angus Leeming <leeming@lyx.org>
741 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
742 can be used meaningfully in a comparison.
744 2005-02-13 André Pönitz <poenitz@gmx.net>
746 * bufferview_funcs.C (coordOffset): improve cursor drawing
748 2005-02-13 André Pönitz <poenitz@gmx.net>
750 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
751 * Cursor.C (dispatch): use fixIfBroken
752 * lyxfunc.C (getStatus): use fixIfBroken
754 2005-02-15 Angus Leeming <leeming@lyx.org>
756 * lyx_main.C (error_handler):
758 * lyxrc.C (setDefaults):
760 #include "environment.h".
762 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
764 2005-02-15 Angus Leeming <leeming@lyx.org>
766 * lyxserver.C (startPipe): squash MSVC warning "local variable
767 'fd' used without having been initialized".
769 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
771 * BufferView_pimpl.C: revert accidental commit.
773 2005-02-14 André Pönitz <poenitz@gmx.net>
775 * dociterator.[Ch]: new member forwardPosNoDescent(),
776 which doesn't enter nested insets.
777 * text2.C (setFont): use forwardPosNoDescent() instead
778 of ForwardPos() (fixes crash on font change).
780 2005-02-13 Angus Leeming <leeming@lyx.org>
782 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
783 only if lyxrc.path_prefix is not empty.
785 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
787 * bufferparams.C (readGraphicsDriver): prevent crash
789 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
791 * text2.C (setCounter): check for inInset() == 0
793 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
795 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
796 but use update() to get correct screen display; use convert
797 instead of istringstream.
798 (getStatus): handle LFUN_GOTO_PARAGRAPH
800 * lyxfunc.C (dispatch, getStatus): do not handle
801 LFUN_GOTO_PARAGRAPH here.
803 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
805 * text3.C (dispatch): size() -> depth()
807 * text2.C: remove some debug output
809 * paragraph.C: ws changes only
811 * lyxfunc.C (getStatus): size() -> depth()
813 * dociterator.h (clear, push_back, pop_back, internalData,
814 operator[], resize, empty): new functions
815 Make StableDocIterator and operator== be friends. Don't inherit
816 from std::vector use a privat class variable slices_ instead.
819 * dociterator.C: update because of not inheriting from std::vector
820 anymore. Call explictly to slices_ instead. Use depth() instead of
821 size() and top() instead of back()
823 * cursor.C: chagne size() -> depth and back() -> top(). Also
824 remove some direct operator[](i) calls in favour of foo[i]
825 (getFont): remove some dead code
827 * bufferview_funcs.C (coordOffset): size() -> depth()
829 * buffer.C: ws changes only
831 * CutAndPaste.C (eraseSelection): back() -> top()
833 * BufferView_pimpl.C (selectionRequested): back() -> top()
835 * BufferView.C (setCursor): size() -> depth()
837 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
839 * text3.C (cursorPrevious): return true if depm changed something
841 (dispatch): rename sl to oldTopSlice, remove moving use the new
842 NoUpdate func attrib instead. Make sure that needsUpdate is set
843 for function that have NoUpdate, but where depm might have changed
846 * text2.C (cursorLeft): make us return true if depm changed
849 (cursorUpParagraph): ditto
850 (curosrDownParagraph): ditto
851 (cursorUp, cursorDown): ditto, make sure to read comments in code
852 (deleteEmptyParagraphMechanism): remove an assert, also return
853 true if just a single char was deleted.
855 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
856 cursor that we modify, to avoid modifying an active cursor before
857 we call setCursor. This allows depm to run. Also return true if
858 depm deleted something.
860 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
861 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
862 cursorDownParagraph, cursorPrevious and cursorNext, return true if
863 something was changed in the buffer because of them (ie. depm run)
865 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
866 debug messages. Make update by default be false. Make sure that
867 the result of update is retained throught several calls down to
870 * LyXAction.h: add a new func_attrib: NoUpdate
872 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
873 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
874 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
876 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
878 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
880 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
881 bv_->owner(), bv_->buffer() by direct references to the private
883 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
884 (getStatus): isSavedPosition() is in BufferView::Pimpl.
885 (fitCursor): center() is in BufferView::Pimpl.
886 (getStatus, trackChanges, dispatch): no need for a temporary buf
888 (fitCursor, workAreaDispatch): use workarea().workheight()
890 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
892 * CutAndPaste.C (pasteSelectionHelper): fix a crash
894 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
896 * buffer.C: format up to 241.
897 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
898 break if pasting into ERT
899 * lyxfunc.C (getStatus): suppress mathpanel and
900 LFUN_DIALOG_SHOW_NEW_INSET in ERT
902 2005-02-01 Angus Leeming <leeming@lyx.org>
904 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
906 2005-02-01 Angus Leeming <leeming@lyx.org>
908 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
909 calling fs::is_directory().
911 2005-01-31 Angus Leeming <leeming@lyx.org>
913 * lyx_main.C (priv_exec): specify explicitly the relative location
914 of the top level build directory when run in-place.
916 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
918 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
919 LyXText containing the cursor, not the top-level one.
921 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
923 (insertStringAsLines): rename par to pit; use temporary variable
924 par to hold a Paragraph; do not store par.layout() in a variable,
925 since the pointer may die when breaking paragraphs; pass pars to
926 breakParagraph() instead of Buffer::paragraphs().
928 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
930 * lyxlex_pimpl.h: #include <fstream>.
932 * BufferView.[Ch] (getLyXText): add a const version.
934 * BufferView_pimpl.C: add debug aids.
939 * paragraph_funcs.h: add commentary explaining what the class does.
942 * coordcache.[Ch]: add lots of commentary.
943 (startUpdating, doneUpdating): debug aids.
944 (arrays, insets, parPos, getParPos): accessors to private data.
946 * cursor_slice.[Ch] (text): add a const version.
947 * dociterator.[Ch] (text, innerText): add const versions.
949 * lyxtext.h (breakParagraph): change the keep_layout arg to a
952 * paragraph.C (getRow, pos2ros): add asserts.
954 * paragraph.h: add commentary. Lots of.
956 * paragraph.[Ch] (metrucs, draw): removed.
959 * rowpainter.[Ch]: const-correct changes.
961 * text.C: various obvious clean-ups. Removal of ancient cruft.
964 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
966 * vc-backend.C (find_file): rewrite to use boost.filesystem
969 * main.C (main): set default name check for boost.filesystem to
972 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
975 (actOnUpdatedPrefs): ditto
977 * lyx_main.C (init): rewrite to use boost.filesystem
978 (queryUserLyXDir): ditto
980 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
981 (getContentsOfAsciiFile): ditto
983 * lastfiles.C (readFile): rewrite to use boost.filesystem
985 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
987 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
990 * buffer.C (Buffer): adjust for destroydir
991 (getLogName): rewrite to use boost.filesystem
993 (save): use fs::copy_file (from fs_extras)
995 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
997 * LaTeX.C (run): rewrite to use boost.filesystem
998 (scanAuxFiles): ditto
999 (handleFoundFile): ditto
1001 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1003 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1005 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1007 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1009 * lyxlayout.[Ch]: change some vars from float to double
1011 * buffer.C (readFile): make a local var const
1013 * Several files: use convert<> instead of atoi,strToXXX and friends
1015 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1017 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1018 holds the contents of packages.lst. New functions getAvailable
1019 and isAvailable to parse and check that list, resp.
1023 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1025 * bufferparams.[Ch]: new param output_changes.
1027 * Buffer.C: increase file format to 240.
1028 Use output_changes and isVailable.
1032 * paragraph_pimpl.C: Use output_changes and isVailable.
1034 2005-01-23 Angus Leeming <leeming@lyx.org>
1036 * output_latex.C: #include "insetbibitem.h", rather than
1037 forward declare function bibitemWidest.
1039 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1041 * lyx_main.C (init): make it compile on the Mac.
1043 2005-01-20 Angus Leeming <leeming@lyx.org>
1045 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1046 (setLyXMisc): (char string literal) != (char string literal) is
1047 performing a comparison on the addresses. Convert one operand
1048 explicitly to string to guarantee expected behaviour.
1051 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1054 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1056 * output_plaintext.C: remove unneeded #include gzstream.h.
1058 2005-01-20 Angus Leeming <leeming@lyx.org>
1060 * SpellBase.h: rename some of the elements of the Result enum.
1067 * pspell.C (check): ditto
1069 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1071 * buffer.C: add #include <fstream>.
1073 * lyx_main.C (init): Compile fix.
1075 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1077 2005-01-20 Angus Leeming <leeming@lyx.org>
1079 * mover.h: change commentary to reflect the changed meaning of
1080 the $$s placeholder.
1082 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1084 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1086 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1088 2005-01-20 Angus Leeming <leeming@lyx.org>
1090 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1091 printing diagnostic data by not dereferecing an iterator past the
1094 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1096 * buffer.C (readHeader): use "&&" rather than "and".
1098 * lyxserver.h (inPipeName, outPipeName): make these const.
1100 2005-01-19 Angus Leeming <leeming@lyx.org>
1102 * lyx_main.C (error_handler, init): protect SIGHUP with
1103 #ifdef SIGHUP guards.
1105 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1107 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1109 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1111 * text.C (setHeightOfRow): add a margin at the top and bottom of
1112 the document (bug 1761)
1114 2005-01-17 Angus Leeming <leeming@lyx.org>
1116 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1117 with "python ". Workaround for a brain-dead Windows.
1119 2005-01-16 Angus Leeming <leeming@lyx.org>
1121 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1122 for MacOSX and Windows to use prependEnvPath.
1123 Strip out the hard-coded block to add elements to the PATH for
1124 MacOSX and replace it with a call to prependEnvPath using the
1125 contents of LyXRC::path_prefix.
1126 (queryUserLyXDir): strip out the code to run reconfigure, instead
1127 returning a boolean indicating the necessity to do so.
1128 (reconfigureUserLyXDir): contains the code to reconfigure the
1129 user support directory. Is now called after the various LyXRC data
1130 files have been read.
1132 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1134 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1136 * converter.[Ch] (convert): take a new parameter try_default. Use
1137 a default converter (imagemagick) if try_default is true.
1139 2005-01-13 Angus Leeming <leeming@lyx.org>
1141 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1142 os::cygwin_path_fix.
1143 (write): output LyXRC::cygwin_path_fix as necessary.
1145 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1148 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1150 2005-01-12 Angus Leeming <leeming@lyx.org>
1152 * lyx_main.C (init): set the PATH variable to include the
1153 directory containing the LyX binary when running on Mac or Windows.
1155 2005-01-12 Angus Leeming <leeming@lyx.org>
1157 * lyx_main.C (init): remove cruft that purports to set the locale
1158 dir. It doesn't and is not needed anyway.
1160 2005-01-10 Angus Leeming <leeming@lyx.org>
1162 * Makefile.am: remove the lyx_main.C special casing.
1164 * BufferView_pimpl.C:
1170 * messages.C: use support/package.h to provide the paths to the
1171 various directories used by LyX.
1173 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1175 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1176 layout if pasting into an empty paragraph)
1178 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1180 * tex-accent.C: add <string>
1182 2005-01-06 José Matos <jamatos@lyx.org>
1184 * ParagraphParameters.C (write): put every parameter in its own line.
1185 * paragraph.C (write): reduce number of consecutive empty lines exported.
1186 * buffer.C (LYX_FORMAT): increase file format to 239.
1188 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1190 * everywhere: change support/tostr.h -> support/convert.h
1192 * tabular.C: make all write_attributes templates, tostr -> convert
1194 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1195 (emptyTag): and -> &&, and fix type for ret from getChar
1196 (getFirstWord): fix type for ret from getChar
1197 (onlyText): and -> &&
1198 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1201 * toc.C (goTo, action):
1202 * text3.C (dispatch):
1203 * text.C (currentState):
1204 * tex-accent.C (DoAccent):
1207 * lyxfunc.C (menuNew):
1208 * lyxfinc.C (replace):
1209 * counters.C (laberItem):
1210 * bufferview_funcs.C (font2string):
1211 * bufferparams.C (writeFile):
1212 * buffer.C (readFile):
1214 * MenuBackend.C: tostr -> convert
1216 * LaTeX.C (runMessage): fix format
1217 (scanAuxFiles): tostr -> convert
1219 * BufferView_pimpl.C (savePosition): fix format
1220 (restorePosition): ditto
1223 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1225 * Spacing.[Ch]: New method getValueAsString().
1229 * ParagraphParameters.C:
1232 * text3.C: store/read spacing value as string.
1234 * rowpainter.C: change float value (spacing_val) to double.
1236 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1237 broken custom document spacing).
1239 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1241 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1242 namespace, also more use of temp references and const
1244 * cursor.[Ch] (getStatus): move to lyxfunc.C
1246 * bufferparams.C: reformat slightly
1248 * bufferview_funcs.C (font2string): constify arg
1254 * buffer_funcs.C: (many funcs): constify arg on function
1255 definitions, also make more local vars const, also add ASSERTS on
1258 * buffer.C (LYX_FORMAT): put const in correct place
1259 (many funcs): constify arg on function definitions, also make
1260 more local vars const
1262 * aspell_local.h: remove "struct" from typdef setup
1264 * aspell.C (check): make word_ok const
1265 (nextMiss): simplify slightly
1268 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1270 * lyxrc.[Ch]: store all float values as strings.
1271 use int (not float) for lyxrc.dpi.
1273 2005-01-04 Angus Leeming <leeming@lyx.org>
1275 * lyx_cb.C (Reconfigure):
1276 * lyx_main.C (queryUserLyXDir):
1277 to run the <system_lyxdir>/configure correctly on Windows, prefix
1278 the path to the script with "sh " when generating the string that
1279 is passed to system().
1281 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1283 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1285 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1287 * lyxlength.C (asLatexString): get rid of setprecision
1289 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1291 * text2.C (setLayout): remove unused variable endpit.
1292 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1294 * paragraph.C (onlyText): remove unused variable style.
1296 * cursor.C (bruteFind): remove unused variables beg and end.
1298 * Makefile.am (dist_noinset_DATA): not needed anymore
1300 * cheaders/*: remove.
1302 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1304 * text3.C: fix LFUN_MATH_MODE.
1306 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1308 * buffer_funcs.C (countWords): new function. Counts words between
1311 * BufferView_pimpl.C (getStatus, dispatch): handle
1314 * LyXAction.C (init):
1315 * lfuns.h: add LFUN_WORDS_COUNT.
1317 2004-12-19 Angus Leeming <leeming@lyx.org>
1319 * buffer.C (save): s/slashify_path/internal_path/.
1321 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1323 * lyxfind.C (findChange): do not search for end of pars, because
1324 the change tracker cannot handle this (fixes bug 1719).
1326 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1328 * paragraph.[Ch] (autoBreakRows): remove
1330 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1332 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1333 avoid using the paragraph one
1335 * text2.C (LyXText, insertStringAsLines): adjust
1337 2004-12-16 Angus Leeming <leeming@lyx.org>
1341 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1343 2004-12-14 Angus Leeming <leeming@lyx.org>
1345 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1347 * bufferlist.C (emergencyWrite):
1348 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1351 2004-12-14 Angus Leeming <leeming@lyx.org>
1353 * main.C: (main): no longer pass pointers to os::init.
1355 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1357 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1358 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1360 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1363 * text3.C: remove selection_possible global flag
1365 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1367 * text2.C (getSelectionSpan): remove
1368 (changeDepth, changeDepthAllowed): adjust
1370 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1372 * Makefile.am (BOOST_LIBS): use boost variables
1374 2004-12-03 José Matos <jamatos@lyx.org>
1376 * buffer.C: format up to 238.
1378 2004-12-03 José Matos <jamatos@lyx.org>
1380 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1382 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
1384 * cursor.C (goUpDown): remove call to idxUpDown2
1386 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1388 * tabular.[Ch]: use size_t-like types for cell, row and column
1391 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1393 * lyxfunc.C (getStatus): do not lose previous information when
1394 calling BufferView::getStatus; do not set a default "Command
1395 disabled" message at the beginning, but just before returning.
1397 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1399 * cursor.h (getStatus): add better comment from src/cursor.C
1401 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1403 * text3.C (getStatus): return false when the lfun is not handled
1405 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1407 * broken_headers.h: remove
1409 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1411 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1413 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1414 offset_ref accessors
1416 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1417 top_y_, merge fitcursor with update
1418 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1420 (metrics): introduce
1421 (workAreaDispatch): adapt to new coord scheme
1422 (redoCurrentBuffer): remove
1424 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1426 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1429 * coordcache.[Ch]: add paragraph cache and helpers
1431 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1434 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1435 (targetX, setTargetX): introduce
1437 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1438 baseline -> ascent, as the rest of lyx
1440 * lyxtext.h: remove redoParagraphs, updateParPositions,
1441 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1442 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1443 have ascent/descent (ascent is ascent of first par)
1445 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1448 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1450 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1452 * pariterator.C: fix infinite loop introduced in par->pit renaming
1454 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1455 in insets and LyXText, draw two off-screen paragraphs using
1456 NullPainter, and adapt to new coord scheme
1460 * text3.C: adapt lfun handlers to the new coord scheme, which
1461 means: there's only guaranteed coord information for onscreen pars
1462 plus one above and one below. This implies that one can do search
1463 from y coordinates in the range [-1,workHeight]
1465 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1467 * rename a lot of InsetOld to InsetBase
1469 2004-11-25 Angus Leeming <leeming@lyx.org>
1471 * BufferView_pimpl.C:
1473 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1475 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1477 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1478 call BufferView::getStatus if LCursor::getStatus did nothing
1479 (setStatusMessage, getStatusMessage): removed.
1481 * FuncStatus.C (message): new methods. Used to provide an error
1482 message indicating why a command is disabled.
1483 (clear, |=, FuncStatus): update for message.
1485 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1487 * lyxfunc.C (dispatch): always call sendDispatchMessage
1489 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1492 * BufferView_pimpl.C:
1497 * cursor_slice.[Ch]:
1500 * paragraph_funcs.C:
1506 * undo.C: par->pit renaming
1508 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1510 * tabular.C (cellstruct): use initialization, store a shared_ptr
1511 to insettext instead of the insettext directly, adjust to fit.
1512 (operator=): new function
1513 (swap): new function
1514 (rowstruct): use initialization
1515 (columnstruct): use initialization
1516 (ltType): use initialization
1519 * lyxlength.h (swap): new function
1521 * LColor.[Ch] (operator=): use the common semantics
1523 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1525 * lyxfind.C (findNextChange): update the bufferview after setting
1528 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1530 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1531 number of InsetOptArgs has already been inserted.
1533 * output_latex.C (latexOptArgInsets): new method. This outputs all
1534 the optarg insets, up to the limit defined in the layout file.
1535 (optArgInset): removed
1536 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1538 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1540 * paragraph.C (isLetter): remove special spellchecker-related
1541 code; return true also for digits
1542 (isWord, isKomma): remove
1544 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1545 * lyxfind.C (MatchString()): use isLetter instead of isWord
1547 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1549 * pariterator.h (operatir=): comment out un-implemented member
1552 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1555 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1557 * lyxfont.h: include LColor.h to satisfy concept checks.
1559 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1561 * pariterator.h: add typdefs for value_type, difference_type,
1562 pointer and reference to satisfy concept checks. Also add default
1563 constructor for same reason.
1565 * pariterator.C (operator++): add post-increment operator to
1566 satisfy concept checks.
1568 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1571 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1573 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1574 checks. Also rename base_type to BaseType to follow naming
1577 * FloatList.h: include Floating.h to satisfy concept checks.
1579 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1581 * lyxfunc.C (getStatus): when the origin of the request is menu or
1582 toolbar, and the LyXView does not have focus, do as if there was
1583 no buffer (bug 1720)
1585 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1586 FuncRequest to individual entries of LFUN_SEQUENCE
1588 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1590 * output_latex.C (TeXOnePar): override runparams.moving_arg
1591 according to the needprotect value of the current paragraph (bug
1594 * paragraph.C (simpleTeXOnePar): no need to override
1595 runparams.moving_args here
1597 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1599 * vspace.C: fix off-by-one-error, related to fix #1682
1601 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1603 * lengthcommon.C: a more general fix for bug 1682
1605 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1607 * text.C (backspace): fix crash
1609 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1611 * format.[Ch] (getFormatFromFile): new method
1612 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1614 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1616 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1618 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1620 * lyxfunc.C (dispatch): remove the verbose argument
1621 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1624 * kbmap.C (defkey): set the origin of func to KEYBOARD
1626 * MenuBackend.C (MenuItem):
1627 * ToolbarBackend.C (add): set the origin of func to UI
1629 * funcrequest.[Ch]: add origin member, which indicates which part
1630 of LyX requests an action
1632 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1634 * converter.C (move): don't lie in the error message
1635 * converter.h (isReachable, move): document
1637 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1639 * buffer.C: remove unused using lyx::support::atoi
1640 * paragraph_funcs.C: ditto
1642 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1644 * bufferlist.C (exists): use bind and equal_to instead of
1647 * lyxtextclasslist.C (NumberOfClass): ditto
1649 * cursor.C (insert): use for_each instead of explicit for loop
1651 * bufferlist.C (getFileNames): use std::transform and
1652 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1654 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1657 * buffer.C (changeLanguage): use for_each instead of explicit for
1659 (hasParWithID): implement using getParFromID
1661 * LaTeXFeatures.C: ws change only
1663 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1666 * BufferView_pimpl.C (trackChanges): use for_each instead of
1669 2004-11-04 André Pönitz <poenitz@gmx.net>
1672 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1674 * dociterator.C (asDocIterator): use hard assert again.
1676 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1678 * lyxlength.C (asLatexString): rewrite so that it does not use
1681 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1683 * text3.C (specialChar, dispatch): make sure cursor moves to the
1684 right after inserting an inset
1686 2004-11-02 José Matos <jamatos@lyx.org>
1688 * output_docbook.C (docbook):
1689 * paragraph.C (getID):
1690 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1691 garantee that the output is always legal.
1693 * tabular.C (docbook):
1694 * outputprams.[Ch]: remove mixed contents.
1696 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1698 * text2.C (setCounter): prevent endless loop
1700 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1702 * exporter.C (copyFile): use the mover instead of support::copy()
1703 * exporter.C (Export): pass format and latex name to copyFile()
1704 * exporter.h (addExternalFile): document
1705 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1707 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1709 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1711 2004-10-30 José Matos <jamatos@lyx.org>
1713 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1714 text and no inset or font change. This allows to use CDATA
1715 sections just for the whole paragraph.
1717 2004-10-30 José Matos <jamatos@lyx.org>
1719 * paragraph.C (getFirstWord): remove unused variable.
1721 2004-10-30 José Matos <jamatos@lyx.org>
1723 * paragraph.C (getFirstWord): the content should always be escaped
1725 (simpleDocBookOnePar):
1726 * output_docbook.C (makeEnvironment): replace reference to CDATA
1729 2004-10-30 José Matos <jamatos@lyx.org>
1731 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1733 2004-10-30 José Matos <jamatos@lyx.org>
1735 * output_docbook.C (makeParagraphs):
1736 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1737 standard paragraph has only a given type of content drop the wrapper.
1739 2004-10-29 José Matos <jamatos@lyx.org>
1741 * output_docbook.C (makeEnvironment):
1743 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1745 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1747 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1748 (cleanID): sanitize any id.
1750 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1752 * buffer.C, lyxlex_pimpl.C:
1753 * lyxlex_pimpl.C (setFile):
1754 s/getExtFromContents/getFormatFromContents/
1756 2004-10-28 José Matos <jamatos@lyx.org>
1758 * output_docbook.C (makeEnvironment): move id to broadest possible
1761 * sgml.C (openTag): apply substitution of <> for all attributes.
1763 2004-10-28 José Matos <jamatos@lyx.org>
1765 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1766 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1767 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1769 * sgml.[Ch]: new version for open and closeTag for paragraph and
1770 for strings. Now they handle the ids of paragraphs.
1772 2004-10-26 Angus Leeming <leeming@lyx.org>
1774 * Makefile.am: add mover.[Ch].
1776 * converter.C (convert, move): use the new Movers to move external
1777 files to the temp directory.
1779 * lyx_main.C (init): ensure that the global system_movers data
1782 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1785 * mover.[Ch]: new files, defining a Mover as a utility to move an
1786 external file between directories and, if necessary, manipulate this
1787 file using a helper script.
1789 2004-10-25 José Matos <jamatos@lyx.org>
1791 * output_docbook.C (makeCommand): merge two if's that tested the
1794 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1796 * sgml.C (escapeString): fix warning in a better way
1798 2004-10-25 José Matos <jamatos@lyx.org>
1800 * sgml.C (escapeString): import the require boosts header file for
1801 tie, and avoid a signed unsigned comparison.
1803 2004-10-25 José Matos <jamatos@lyx.org>
1805 * sgml.h: add #include <string>
1807 2004-10-25 José Matos <jamatos@lyx.org>
1809 * sgml.[Ch] (escapeString): new function to escape all the string.
1811 2004-10-24 José Matos <jamatos@lyx.org>
1813 * paragraph.[Ch] (getFirstWord): new function to get the first
1814 word. Useful for description.
1815 (simpleDocBookOnePar): remove depth argument, add another that
1816 says where to start the paragraph.
1818 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1819 use the new functions to fix cleanly the support for descriptions.
1821 2004-10-24 José Matos <jamatos@lyx.org>
1823 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1824 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1825 * output_linuxdoc.C (linuxdocParagraphs):
1826 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1827 add buffer as argument.
1829 2004-10-24 José Matos <jamatos@lyx.org>
1831 * output_docbook.C (makeEnvironment, searchEnvironment): place
1832 CDATA inside paragraphs and fix scope for listitems.
1834 2004-10-24 José Matos <jamatos@lyx.org>
1836 * output_docbook.C: remove using statement for stack.
1838 2004-10-23 José Matos <jamatos@lyx.org>
1840 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1841 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1842 docbook. The new scheme is recursive and makes use of iterators, the
1843 same as latex export works.
1844 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1845 directly with the paragraph contents. This code was moved up to
1846 output_docbook.C (docbookParagraphs).
1847 * sgml.C (openTag, closeTag): removed unneeded newlines.
1848 (closeEnvTags) removed.
1850 2004-10-23 André Pönitz <poenitz@gmx.net>
1852 * undo.C (textUndoOrRedo):
1853 * dociterator.C (asDocIterator): work around crash
1855 * cursor.C (getStatus): replace ASSERT by more verbose error message
1856 and manual correction of the problem. Should increase stability
1857 while providing more sensible information.
1859 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1861 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1863 * bufferlist.C (previous, next): new methods
1866 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1868 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1870 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1871 entities to preamble.
1873 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1875 * messages.C (Pimpl): strip off translation context information
1877 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1879 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1880 the cursor is correct (bug 1694)
1882 2004-10-13 José Matos <jamatos@lyx.org>
1884 * output_docbook.C (docbookParagraphs): fix closing tags in the
1885 end of the document.
1887 2004-10-09 José Matos <jamatos@lyx.org>
1889 * buffer.C: format up to 237.
1890 * bufferparams.C (write): use tostr to convert booleans to strings.
1892 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1894 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1896 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1898 * LaTeX.C: implement use of babel language in xindy.
1900 2004-10-05 José Matos <jamatos@lyx.org>
1902 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1903 Add new translators to help reading and writing the lyx file.
1905 2004-10-05 José Matos <jamatos@lyx.org>
1907 * ParagraphParameters.C (read):
1908 * text.C (readParToken): replace nexToken by more appropriate lex
1911 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1913 * LaTeX.C (runMakeIndex):
1914 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1915 (usually 'makeindex') configurable.
1917 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1918 with a variable rather than with a number.
1920 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1922 * output_latex.C (TeXOnePar): make sure font setting is the first
1923 thing that gets output (and the last at the end). Should fix bug
1926 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1928 * pch.h: use proper signal include
1930 * LaTeX.h: Use preferred calling of Boost.Signal
1933 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1935 * pch.h: dont include <boost/function/function0.hpp>
1937 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1939 * paragraph_pimpl.h: remove usage of ShareContainer
1941 * paragraph_pimpl.C: remove initialization of ShareContainer.
1943 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1947 * BufferView.C (putSelectionAt): change the semantics when
1948 backwards == true: now, this just swaps cursor and anchor wrt the
1951 * BufferView.h (putSelectionAt): add some documentation
1953 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1954 make sure backwardChar is done at least once (to avoid getting
1956 (findNextChange): use putSelectionAt in the forward direction
1957 (operator()): use Paragraph::isWord
1959 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1961 * Spacing.C (set): c_str fix
1963 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1965 * lyx_cb.C (Reconfigure): quote the name of configure script in
1966 case it contains spaces
1968 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1972 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1973 (BOOST_LIBS): use top_buildir when looking for the file
1975 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1977 * pch.h: do not use include boost/format.hpp, multiple symbols
1978 will result (gcc bug)
1981 2004-08-23 José Matos <jamatos@lyx.org>
1983 * bufferparams.C (readToken): fix reading of the author field.
1985 2004-08-20 José Matos <jamatos@lyx.org>
1987 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1989 2004-08-20 José Matos <jamatos@lyx.org>
1991 * lyxlex.[Ch] (findToken): remove function.
1993 * ParagraphParameters.C (findToken):
1994 * bufferparams.C (findToken): replace call for previous function
1995 with local copy. This local function has one more argument, the
1996 read string argument.
1998 2004-08-16 José Matos <jamatos@lyx.org>
2000 * ParagraphParameters.C (write):
2001 * Spacing.C (writeFile):
2002 * bufferparams.C (writeLaTeX):
2003 * lyx_cb.C (Reconfigure):
2004 * paragraph.C (write):
2005 * tabular.C (write): remove unnecessary space at end of line.
2008 2004-08-16 José Matos <jamatos@lyx.org>
2010 * text.C (readParagraph): remove debug message.
2012 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2014 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2017 * output_plaintext.C (asciiParagraph): set depth correctly
2019 * outputparams.h: add member depth
2021 * paragraph_funcs.C (ownerPar): remove.
2023 * text2.C (setCounter): remove first_pit; comment out some
2024 non-working code that uses ownerPar
2026 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2029 2004-08-16 José Matos <jamatos@lyx.org>
2031 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2032 For the same level of importance use the same chanel to report problems.
2033 (read): add code to deal with \begin_body and \end_body.
2036 2004-08-15 José Matos <jamatos@lyx.org>
2038 * lyxlex.C (getString): fix comment, buffer::readBody is now
2039 buffer:readDocument.
2041 * tex-strings.C (string_papersize): Default -> default,
2042 Custom -> custom, for consistency with other options.
2044 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
2048 * Makefile.am: support pch
2050 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2052 * text.C (readParToken): remove the static LyXFont variable and
2053 pass it as a parameter instead. This fixes a nasty bug where an
2054 inset will be inserted with a bad font in some situations
2055 (readParagraph): adapt
2057 * text2.C (setCounter): reduce number of calls to pars_[pit]
2059 * text.C (singleWidth): add an assert, fix a test
2061 * rowpainter.C (paintText): reduce number of calls to singleWidth
2063 * paragraph.C (isHfill):
2064 (isNewline): ws only
2066 2004-08-14 André Pönitz <poenitz@gmx.net>
2071 * lyxtext.h (several functions): use a Paragraph & argument
2074 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2076 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2078 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2080 * text.C (singleWidth): remove useless test
2082 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2084 * tabular.h: remove bogus comments
2086 * tabular.C (getDescentOfRow):
2087 (isPartOfMultiColumn): add assertions
2089 * lyxlength.C (inPixels): remove #warning
2091 2004-08-14 André Pönitz <poenitz@gmx.net>
2093 * paragraph.h: inline getChar()
2095 * BufferView.h: remove unused declarations
2097 2004-08-14 José Matos <jamatos@lyx.org>
2099 * Buffer.[Ch] (readDocument): new name for old readBody.
2100 * Buffer.C: new file format, new keywords: \begin_document,
2101 \begin_header, \begin_body, \end_body.
2103 * bufferparams.C (readToken): replace all calls to lex.nextToken
2104 by lex.next(). Do the same to eatLine except where really needed.
2106 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2107 line when writing to the lyx file.
2109 * output_plaintext.C (asciiParagraph): fix Bibliography style
2112 * text.C (read): fix end of file handling.
2114 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2116 * MenuBackend.C (Menu::operator[]): new method to access
2117 individual menu items
2118 (Menu::hasFunc): new method. search for an item that corresponds
2120 (MenuBackend::specialMenu): new method
2121 (MenuBackend::expand): if a special menu has been set, skip
2122 entries whose func() appears in this menu
2124 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
2126 * text3.C: use Debug::DEBUG a bit more
2128 * text.C (leftMargin): try to simplify a tiny bit change var x to
2129 l_margin. Dont output the wide margins always.
2130 (rightMargin): no margin in inner texts
2132 * rowpainter.h (nestMargin): new func
2133 (changebarMargin): new func
2134 (rightMargin): new func
2136 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2140 * factory.C (createInset): modify setDrawFrame
2142 * cursor.C: use Debug::DEBUG a bit more
2144 2004-08-14 André Pönitz <poenitz@gmx.net>
2147 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2148 cache for all insets in (at least partially) visible (top-level)
2151 * BufferView_pimpl.C: reset external coord cache before every update.
2152 This means the coord cache only contains valid entries.
2154 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
2157 * BufferView_pimpl.C (getInsetByCode): move function out of class
2158 and change in to a template in anon namespace. Also fix to do what
2161 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
2164 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2166 (breakParagraph): rename par to par_offset and use a local
2167 reference. Add code to keep the language over a rebreak.
2168 (breakParagraphConservative): rename par to par_offset, use a
2170 (mergeParagraph): ditto
2172 (isFirstInSequence): ditto
2173 (outerFont): rename pit to par_offset
2175 * paragraph.C: ws change
2176 * paragraph.h: ditto
2180 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2182 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2185 * paragraph.C (simpleTeXOnePar): when we have a \item with
2186 optional argument, enclose the argument with curly brackets (in
2187 case it contains a closing square bracket)
2191 * text3.C (checkInsetHit): constify
2193 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2195 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2196 documents (bug 1629)
2198 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2200 Fix toggling of collapsable insets with the mouse (bug 1558)
2202 * lyxfunc.C (dispatch): adapt to LCursor changes
2204 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2205 make sure that dispatch is not invoked twice
2207 * cursor.C (needsUpdate): new method
2208 (dispatch): return void
2209 (result): new method, to access the DispatchResult of the cursor.
2211 2004-08-13 José Matos <jamatos@lyx.org>
2213 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2215 2004-08-13 André Pönitz <poenitz@gmx.net>
2217 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2219 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2222 2004-08-12 André Pönitz <poenitz@gmx.net>
2224 * text3.C: take out the 'cursor right' form insertInset and only
2225 do it in those places when it is really needed. Fixes crash on
2228 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2230 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2232 * BufferView_pimpl.C (setBuffer): initialize the current font of
2233 the underlying LyXText
2235 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2237 * kbsequence.C (print): use UI native formatting for menu
2240 * text.C (insertChar): call Paragraph::insertChar with a font
2243 * paragraph.C (insertInset, insertChar): the version that takes a
2244 LyXFont argument is now a wrapper around the other one (the
2245 opposite used to be true).
2247 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2248 argument. Font setting is done in Paragraph now.
2250 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2252 * outputparams.h: add new members intitle and lang.
2254 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2255 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2257 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2259 * text3.C (dispatch): remove special handling of button 4 and 5,
2260 it is now taken care of in the frontend code.
2262 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2264 * Spacing.h: add <string> (STLPort compile fix)
2266 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2268 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2270 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
2272 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2275 * converter.C (showMessage): inherit from unary_function, make
2278 * buffer.C (writeFile): initialize retval
2280 * InsetList.h: rename private variable list to list_
2281 * InsetList.[Ch]: adjust accordingly.
2283 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
2285 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2286 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2287 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2288 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2289 * ParagraphParameters.C, LaTeXFeatures.C: replace
2290 "support/std_sstream.h" with <sstream>
2292 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
2294 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2295 * lyxsocket.C (LyXServerSocket): ditto
2296 (serverCallback): ditto
2298 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2300 * LaTeXFeatures.C: check release date when loading jurabib.
2302 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2304 * lyxserver.C (startPipe): call register_socket_callback
2305 (endPipe): call unregister_socket_callback
2307 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
2309 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2310 (LyXServerSocket): register the callback
2311 (LyXServerSocket): unregister the callback
2312 (fd): delete function
2313 (serverCallback): improve error checking and setup the callbacks.
2314 (dataCallback): change arg to fd.
2315 (writeln): new func (copied fro the client socket) used for server
2317 (LyXDataSocket): simplify
2318 (~LyXDataSocket): close ann unregiser callback
2319 (server): delete function
2320 (fd): delete function
2321 (readln): small changes, improve some std::string usage
2322 (writeln): constify a bit
2324 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2326 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2329 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2331 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2332 after it has been populated
2334 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2336 * text2.C (insertInset): move cursor when inserting inset.
2338 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2340 * kbmap.C (findbindings): a couple of new methods. returns a
2341 container of kb_sequence objects. The real work is done by the
2342 private recursive version
2343 (printbindings): uses findbindings to print out a bracketed list
2344 of bindings (renamed from findbinding).
2346 * MenuBackend.C (binding): use kb_keymap::findbindings
2348 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2350 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2352 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2354 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2356 * paragraph.C (isWord): return true on insets that report
2359 * text.C (getWord): use Paragraph::isWord to decide what is in a
2360 word and what is not; fix bug 1609.
2362 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2364 * tex-strings.C: add "none" to string_paperpackages[], fixes
2365 off-by-one-error in the paperpackage selection.
2368 * tex-strings.[Ch]: char const * string[n]
2369 -> char const * const string[]
2371 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2373 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2374 command, return early.
2376 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
2378 * debug.h: add DEBUG to enum and fix size of ANY.
2380 * debug.C: add support for Debug::DEBUG
2381 (showTags): cast errorTags.level to unsigned int
2383 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2384 (redoCurrentBuffer): ditto
2385 (updateScrollbar): ditto
2386 * cursor.C (dispatch): ditto
2387 * text2.C (setLayout): ditto
2389 (updateCounters): ditto
2391 (deleteEmptyParagraphMechanism): ditto
2393 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
2395 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2396 annotations to cleanup the Makefile slightly.
2398 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2400 * lyxrc.C: do not set user_email to a default value but use empty
2401 instead. The entry used to be translated, which does not work
2402 since at the point where lyxrc is constructed there is no
2403 translation service available
2405 * messages.C (getLocaleDir): remove and use directly
2406 lyx_localedir() instead
2408 2004-06-02 Angus Leeming <leeming@lyx.org>
2410 Fix crash caused by dereferencing null pointer 'exportdata' in
2411 OutputParams by creating a new ExportData variable on the heap,
2412 storing it in a boost::shared_ptr.
2413 The crash was triggered when generating an Instant Preview
2414 of an external inset.
2416 * Makefile.am: add outputparams.C
2418 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2419 (c-tor): allocate memory to it.
2421 * exporter.C (c-tor): associated changes.
2423 2004-06-01 Angus Leeming <leeming@lyx.org>
2425 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2426 contains data before calling isInset(0). (Bug 1513.)
2428 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2430 * exporter.C (checkOverwrite): new method
2431 * exporter.C (copyFile): new method
2432 * exporter.C (Export): copy referenced files to the document dir
2433 * exporter.[Ch]: new class ExportedFile
2434 * exporter.[Ch]: new class ExportData. Contains currently the
2435 names of referenced external files
2436 * outputparams.h: add exportdata member.
2438 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2440 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2443 2004-05-19 Angus Leeming <leeming@lyx.org>
2448 * lyxfunc.C: small changes due to the introduction of namespace
2449 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2451 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2453 * text3.C (dispatch): supress update when only moving the cursor
2454 * cursor.C (selHandle): remove commented code
2456 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2458 * paragraph.C (startTeXParParams): correct column count
2459 * CutAndPaste.C (pasteSelection): remove const_cast
2460 * output_docbook.C (docbookParagraphs): remove const_cast
2461 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2462 const_cast and return ParagraphList::const_iterator
2463 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2464 * output_plaintext.C (writeFileAscii): remove const_cast
2465 * paragraph.[Ch] (simpleTeXOnePar): make const
2466 * paragraph_funcs.C (outerPar): use const iterators
2467 * paragraph_pimpl.C (validate): use const iterators
2468 * text.C (setHeightOfRow): use const iterators
2470 2004-05-17 Angus Leeming <leeming@lyx.org>
2473 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2475 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2476 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2477 if the citation engine has changed.
2479 2004-05-14 José Matos <jamatos@lyx.org>
2481 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2482 if the textclass does not provide it. Have it different for sgml and
2484 support the language of document.
2485 * output_docbook.C (docbookParagraphs):
2486 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2487 first anchor as the id of the paragraph, remove special case code.
2488 * sgml.C (escapeChar): escape only < & >.
2490 2004-05-14 Angus Leeming <leeming@lyx.org>
2492 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2493 dependencies on src/frontends/controllers/biblio.h. Define a
2494 CiteEngine_enum wrapper class to enable the enum to be forward
2497 2004-05-12 Angus Leeming <leeming@lyx.org>
2499 * buffer.C: up LYX_FORMAT to 234.
2500 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2501 use_numerical_citations with a single biblio::CiteEngine cite_engine
2503 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2505 2004-05-13 José Matos <jamatos@lyx.org>
2508 * converter.C (Converter, readFlags): add xml member.
2509 * outputparams.h: add XML flavor.
2510 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2512 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2514 * lyxfunc.C (dispatch):
2515 (getStatus): fix handling of LFUN_SEQUENCE
2517 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2519 * debug.C (showLevel): do not forget the end-of-line marker
2521 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2523 * kbmap.C (read): do not stop parsing a bind file when an error
2526 2004-04-29 Angus Leeming <leeming@lyx.org>
2531 * text2.C: wrap a bunch of #warning statements
2532 inside #ifdef WITH_WARNINGS blocks.
2534 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2536 * buffer.C: increment format to 233.
2538 2004-04-28 Angus Leeming <leeming@lyx.org>
2540 * BufferView_pimpl.C:
2543 s/updateToolbar()/updateToolbars()/
2544 s/Toolbar.h/Toolbars.h/
2546 2004-04-28 Angus Leeming <leeming@lyx.org>
2548 * BufferView.[Ch] (c-tor):
2549 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2550 No longer passes these data to the WorkArea generator.
2552 2004-04-28 Angus Leeming <leeming@lyx.org>
2554 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2556 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2558 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2560 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2562 * output_latex.C (TeXEnvironment): make sure that there is a line
2563 break before \end{foo} for the last paragraph of a document
2564 (TeXOnePar): if the paragraph is at the end of the document (or
2565 inset) and the language has to be reset, then make sure that the
2566 line break is _before_ the language command, not after (fixes bug
2567 1225); also make sure that the language reset command is the first
2568 thing after the paragraph (to ensure proper nesting of
2569 environments and thus fix bug 1404)
2571 2004-04-21 John Levon <levon@movementarian.org>
2574 * ToolbarBackend.C: make "name" be a programmatic name
2575 and a gui_name field.
2577 * lyxfunc.C: display the minibuffer on M-x
2579 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2581 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2584 2004-04-19 Angus Leeming <leeming@lyx.org>
2586 * BufferView_pimpl.C (setBuffer): changed preview interface.
2588 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2591 2004-04-19 John Levon <levon@movementarian.org>
2593 * BufferView_pimpl.C:
2594 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2596 2004-04-05 Angus Leeming <leeming@lyx.org>
2598 * text.C (redoParagraphs): add call to updateCounters(), thereby
2599 fixing the missing "Figure #:" label from the caption of a
2602 2004-04-13 Angus Leeming <leeming@lyx.org>
2604 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2605 cursor is clicked out of an inset.
2607 2004-04-13 Angus Leeming <leeming@lyx.org>
2609 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2610 than an InsetOld one.
2612 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2614 * format.[Ch]: add editor to Format
2615 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2616 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2618 2004-04-08 André Pönitz <poenitz@gmx.net>
2620 * metricsinfo.h: remove PainterInfo::width member
2622 2004-04-08 Angus Leeming <leeming@lyx.org>
2624 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2625 "\providecommand" rather than "\newcommand", thereby preventing
2626 clashes with packages that define "\boldsymbol" themselves.
2629 2004-04-08 Angus Leeming <leeming@lyx.org>
2631 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2632 thereby squashing an unnecessary warning.
2634 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2636 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2639 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2641 * BufferView.C (setCursor): call redoParagraph (some insets could
2643 (putSelectionAt): remove the 'double update' trick
2645 * BufferView_pimpl.C (fitCursor): call refreshPar
2646 (workAreaDispatch): remove an uneeded update call
2647 (dispatch): remove some manual update calls
2649 * cursor.[Ch]: remove cached_y_, updatePos
2650 (selHandle): set noUpdate when appropriate
2652 * lyxfunc.C (dispatch): track if we need an update
2654 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2656 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2657 (paintSelection): cheap optimization, do not call cursorX when not
2659 (paintPars): change signature
2662 (paintTextInset): adjust
2666 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2668 * lengthcommon.C: compilation fix: remove explicit array size from
2669 unit_name[] and friends
2671 2004-04-05 Angus Leeming <leeming@lyx.org>
2673 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2675 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2676 present only for the preferences dialog.
2677 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2679 2004-04-05 Angus Leeming <leeming@lyx.org>
2681 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2682 to enable the frontends to export changes to lyxrc correctly.
2684 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2686 2004-04-07 André Pönitz <poenitz@gmx.net>
2688 * cursor.[Ch] (selClear, adjust): remove math
2690 * cursor_slice.C: more agressive assert
2693 * BufferView_pimpl.C: rework mouse event dispatch
2700 2004-04-05 André Pönitz <poenitz@gmx.net>
2702 * cursor.[Ch] (valign, halign...): remove unneeded functions
2704 2004-04-05 Angus Leeming <leeming@lyx.org>
2706 * lyxlength.[Ch] (unit_name et al.): const-correct.
2708 2004-04-05 Angus Leeming <leeming@lyx.org>
2710 * BufferView_pimpl.C:
2719 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2721 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2723 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2725 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2727 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2728 * BufferView_pimpl.[Ch] (getStatus)
2729 * BufferView.[Ch] (getStatus): add
2730 * lyxfunc.C (getStatus): move lfuns handled in
2731 BufferView::dispatch to te function above
2732 * Cursor.C (setSelection): set selection() = true
2734 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2736 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2738 2004-03-31 Angus Leeming <leeming@lyx.org>
2740 * lyxfunc.C (dispatch): Fall through to the generic
2741 Dialogs::show("preamble").
2743 2004-03-31 Angus Leeming <leeming@lyx.org>
2745 * lyxfunc.C (dispatch): Fall through to the generic
2746 Dialogs::show("spellchecker").
2748 2004-03-31 Angus Leeming <leeming@lyx.org>
2750 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2753 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2758 * insetiterator.[Ch]:
2763 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2765 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2767 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2768 insets where we are putting the cursor.
2770 2004-03-31 Angus Leeming <leeming@lyx.org>
2773 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2775 * lyxrc.[Ch] (read, write): overloaded member functions taking
2776 a std::[io]stream arguments.
2778 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2780 2004-03-31 Angus Leeming <leeming@lyx.org>
2782 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2783 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2785 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2786 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2788 2004-03-31 Angus Leeming <leeming@lyx.org>
2790 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2791 the LFUN_ALL_INSETS_TOGGLE code.
2793 2004-03-30 Angus Leeming <leeming@lyx.org>
2795 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2796 has died. Fall through to the generic Dialogs::show("document").
2798 2004-03-30 Angus Leeming <leeming@lyx.org>
2801 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2802 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2804 * lyxfunc.C (getStatus, dispatch): define the actions for these
2805 lfuns. Little more than a cut and pste job from ControlDocument.C
2807 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2809 2004-03-30 Angus Leeming <leeming@lyx.org>
2812 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2813 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2815 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2816 open/closed state of ollapsable insets. Usage:
2818 all-inset-toggle <state> <name>, where
2819 <state> == "open" || "closed" || "toggle" and
2820 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2822 * lyxtext.h, text2.C (toggleInset): removed.
2824 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2825 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2826 now passes LFUN_INSET_TOGGLE to the found inset.
2828 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2829 is now invoked as "all-insets-toggle toggle branch".
2831 2004-03-30 Angus Leeming <leeming@lyx.org>
2835 * pariterator.[Ch]: added/corrected header blurb.
2837 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2839 * dociterator.[Ch]: add an inset_ member
2840 (backwardPos): implemented
2841 (backwardPos, forwardPos): use inset_ when the stack is empty.
2842 (doc_iterator_begin, doc_iterator_end): implemented
2843 * pariterator.[Ch]: adjust, add begin, end
2844 * insetiterator.[Ch]: adjust, add begin, end
2848 * BufferView_pimpl.C:
2849 * CutAndPaste.C: adjust
2851 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2853 * buffer.C: increment file format to 232.
2854 * LaTeXFeatures.C: add bibtopic package.
2855 * bufferparams.[Ch]: param \use_bibtopic.
2857 * lyxrc.[Ch]: add lyxrc bibtex_command
2858 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2860 * buffer.C: increment file format to 231.
2862 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2864 * dociterator.C: implement forwardPar
2865 * iterators.[Ch]: remove, replaced by
2866 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2868 * BufferView_pimpl.C:
2871 * bufferview_funcs.C:
2877 * Makefile.am: adjust
2879 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2881 * CutAndPaste.C (pasteSelection): fix 2 crashes
2882 (eraseSelection): fix a crash
2883 * paragraph_funcs.C: remove a warning
2885 2004-03-28 Angus Leeming <leeming@lyx.org>
2888 * LyXAction.C (init): new LFUN_PRINT.
2890 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2892 2004-03-27 Angus Leeming <leeming@lyx.org>
2895 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2897 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2899 2004-03-27 Angus Leeming <leeming@lyx.org>
2901 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2902 insetlist always contains non-null pointers to insets.
2904 2004-03-26 Angus Leeming <leeming@lyx.org>
2906 * src/BufferView_pimpl.C:
2907 * src/CutAndPaste.C:
2910 * src/output_plaintext.C:
2911 * src/outputparams.h:
2912 * src/paragraph_funcs.C:
2916 * src/frontends/controllers/ControlErrorList.C:
2917 * src/frontends/gtk/FileDialogPrivate.C:
2918 * src/frontends/gtk/GPainter.C:
2919 * src/frontends/gtk/GToolbar.C:
2920 * src/frontends/qt2/QRef.C:
2921 * src/mathed/math_scriptinset.C: squash compiler warnings.
2923 2004-03-26 Angus Leeming <leeming@lyx.org>
2925 * ispell.C (LaunchIspell::start):
2926 * lyx_cb.C (AutoSaveBuffer::start):
2927 invoke run(DontWait) rather than runNonBlocking().
2929 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2931 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2933 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2935 * kbsequence.C (print): adjust
2937 * kbmap.C (printKeySym): rename and change signature
2938 (printKey): use LyXKeySym::print()
2940 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2942 * undo.C: add using std::advance to compile for stlport
2944 2004-03-24 Angus Leeming <leeming@lyx.org>
2946 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2947 it leads to a crash when no buffer is present.
2949 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2950 Martin Vermeer <martin.vermeer@hut.fi>
2952 * lyxfunc.C (dispatch):
2953 * bufferparams.C (readToken): use the new LColor::setColor
2955 * LColor.[Ch] (setColor): new version that takes two strings as
2956 argument and creates a new color entry if necessary
2958 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2960 * buffer.C (makeLaTeXFile): if the main latex file that is
2961 processed is usually a subdocument of some master, then pretend
2962 for a while that it is actually the master
2964 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2966 * buffer.C (getLabelList):
2967 (getBibkeyList): use getMasterBuffer()
2968 (getMasterBuffer): new method. Returns the main document in the
2969 case where one is using included documents.
2971 2004-03-25 André Pönitz <poenitz@gmx.net>
2975 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2977 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2979 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2980 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2982 * ParameterStruct.h: merge with ParagraphParameters
2984 * lyxtext.h: remove LyXText::parOffset() and getPar()
2986 * text3.C: Remove all 'manual' update calls. We do now one per user
2987 interaction which is completely sufficient.
2991 * BufferView_pimpl.C:
2992 * FontIterator.[Ch]:
2994 * ParagraphParameters.[Ch]:
2999 * cursor_slice.[Ch]:
3006 * output_docbook.[Ch]:
3007 * output_latex.[Ch]:
3008 * output_linuxdoc.[Ch]:
3009 * output_plaintext.[Ch]:
3011 * paragraph_funcs.[Ch]:
3012 * paragraph_pimpl.[Ch]:
3020 * frontends/controllers/ControlDocument.C:
3021 * frontends/controllers/ControlErrorList.C:
3022 * frontends/controllers/ControlSpellchecker.C:
3025 * insets/insetbase.h:
3026 * insets/insetbibitem.C:
3027 * insets/insetbox.C:
3028 * insets/insetbranch.C:
3029 * insets/insetcaption.C:
3030 * insets/insetcharstyle.C:
3031 * insets/insetcharstyle.h:
3032 * insets/insetcollapsable.C:
3033 * insets/insetcollapsable.h:
3034 * insets/insetert.C:
3035 * insets/insetfloat.C:
3036 * insets/insetfoot.C:
3037 * insets/insetmarginal.C:
3038 * insets/insetnote.C:
3039 * insets/insetoptarg.C:
3040 * insets/insettabular.C:
3041 * insets/insettext.C:
3042 * insets/insettext.h:
3043 * insets/insetwrap.C:
3044 * mathed/math_mboxinset.C:
3045 * mathed/math_nestinset.C:
3046 * mathed/math_scriptinset.C:
3047 * mathed/math_scriptinset.h:
3050 2004-03-24 Angus Leeming <leeming@lyx.org>
3052 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3053 deal with any child processes that have finished but are waiting to
3054 communicate this fact to the rest of LyX.
3056 2004-03-24 Angus Leeming <leeming@lyx.org>
3058 64-bit compile fixes.
3060 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3061 (c-tor): pass lyx::pos_types rather than ints.
3063 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3066 * text.C (Delete): compile fix.
3067 (getPar): ensure that function declaration is the same as that in
3070 2004-03-23 Angus Leeming <leeming@lyx.org>
3072 * ispell.C (LaunchIspell):
3073 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3074 a boost::shred_ptr rather than a std::auto_ptr.
3076 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3078 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3079 handle LFUN_FILE_INSERT_*
3081 * lyxrc.C (setDefaults, getDescription, output, read):
3082 * lyxrc.h: remove ps_command
3084 2004-03-22 Angus Leeming <leeming@lyx.org>
3086 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3087 Ensure that error_handler is processed once only and that all data
3088 is saved before attempting to output any warning messages.
3090 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3092 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3094 * tabular.C (TeXRow): crash fix (from Kayvan and André)
3096 2004-03-19 André Pönitz <poenitz@gmx.net>
3098 * cursor.[Ch] (reset): take main text inset as argument
3100 * BufferView: adjust
3101 * BufferView_pimpl.C: adjust
3103 * paragraph.[Ch]: fix completely broken operator=()
3105 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3107 * LColor.C (getFromLyXName): make sure that the color name is used
3110 2004-03-17 Angus Leeming <leeming@lyx.org>
3113 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3115 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3116 dialog and to kill a forked process.
3118 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3120 * text2.C (setCursorFromCoordinates): fix font problem
3122 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3124 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3125 bogus "rebuild cursor" code
3127 2004-03-11 André Pönitz <poenitz@gmx.net>
3129 * buffer.[Ch]: use InsetText instead of LyXText as container for
3132 * dociterator.[Ch]: drop the BufferView * member which is not needed
3133 anymore after the change to buffer.C
3135 * paragraph_funcs.C:
3139 * BufferView_pimpl.[Ch]:
3141 * cursor_slice.[Ch]: adjust
3143 * text3.C: fix bug in mathDispatch
3145 2004-03-08 André Pönitz <poenitz@gmx.net>
3147 * undo.[Ch]: use 'StableDocumentIterator' as base for
3150 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3153 * bufferparams.[Ch]: add jurabib support and param.
3155 * LaTeX.C: add FIXME/comment.
3157 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3159 * buffer.C: increment file format to 230.
3161 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3163 * cursor.C (dispatch): avoid infinite loops
3165 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3167 * rowpainter.C (paintSelection): fix x coordinates
3169 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3171 * text.C (rowBreakPoint): fix breaking before displayed insets
3173 2004-03-01 André Pönitz <poenitz@gmx.net>
3175 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3177 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3181 * BufferView_pimpl.C:
3189 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3195 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3196 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3198 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3200 * Bidi.[Ch] (computeTables): const correctness
3201 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3202 fill_hfill, fill_label_hfill and x from Row
3203 * lyxtext.h: prepareToPrint returns a RowMetrics
3204 * rowPainter.C: adjust
3205 * text.C (prepareToPrint): use width, not textWidth. adjust
3206 (redoParagraphInternal, cursorX): adjust
3207 * text2.C (getColumnNearX): adjust
3208 (init): put a default value to the top LyXText::width
3210 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3212 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3214 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3216 * lyxtext.h: add FontIterator class
3218 * text.C (FontIterator, operator*, operator->, operator++): add
3219 (rowBreakPoint, setRowWidth): adjust (fixing a
3222 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3224 * BufferView_pimpl.C (workAreaDispatch): allow also
3225 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3227 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3229 * text.C (rowBreakPoint): fix a bug showing with very large insets
3231 2004-02-25 André Pönitz <poenitz@gmx.net>
3234 * cursor.[Ch]: move some mathed specific code to mathed
3236 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3238 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3239 use_tempdir in preferences
3240 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3242 * lyx_main.C: ensure that tempdir is valid
3243 * lyxlex.h: correct typo
3244 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3245 * paragraph.[Ch] (isMultiLingual): make const
3246 * cursor.[Ch] (openable): make const
3248 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3250 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3252 2004-02-20 André Pönitz <poenitz@gmx.net>
3254 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3256 * cursor.[Ch]: prepare for localized getStatus()
3262 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3264 2004-02-20 André Pönitz <poenitz@gmx.net>
3266 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3268 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3270 * text2.C (setCursorFromCoordinates): switch to absolute coords
3272 (cursorDown): adjust
3273 * text3.C (dispatch): adjust
3275 2004-02-16 André Pönitz <poenitz@gmx.net>
3277 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3280 * cursor_slice.[Ch]: remove unneeded acessor function
3282 * lyxtext.h: rename rtl() to isRTL()
3290 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3292 * rowpainter.C (paintSelection): coord fix
3294 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3296 * Spacing.C: compile fix
3298 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3300 * cursor.C (dispatch): restore current_ before returning
3302 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3304 * text2.C (cursorUp, cursorDown): fix coords
3307 2004-02-12 André Pönitz <poenitz@gmx.net>
3312 * text3.C: add LCursor & parameter to most cursor movement functions
3313 remove usage of LyXText::cursorRow() and cursorPar()
3315 * cursor.[Ch]: add textRow() needed members
3318 * BufferView_pimpl.C:
3321 * BufferView_pimpl.C: adjust
3323 2004-02-11 André Pönitz <poenitz@gmx.net>
3327 * BufferView_pimpl.C: shift undo/redo handling
3329 * cursor.[Ch]: fix mathed crash
3332 * lyxtext.h: move selectionAsText to LCursor
3340 * rowpainter.C: fix excessive drawing
3342 2004-02-06 André Pönitz <poenitz@gmx.net>
3345 * BufferView_pimpl.[Ch]:
3346 * text3.C: move some text specific LFUN handling
3348 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3350 * text3.C (checkInsetHit): adjust coords
3351 * text2.C (getColumnNearX): adjust coords
3352 (edit): adjust coords
3353 * text.C (getRowNearY): add two asserts
3355 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3358 * format.C: add using std::distance to compile on gcc 2.95/stlport
3360 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3362 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3364 2004-02-04 André Pönitz <poenitz@gmx.net>
3366 * BufferView.[Ch] (insertInset):
3367 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3372 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3374 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3375 on the default clause of the switch
3376 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3377 wasn't catched by LCursor::dispatch
3379 2004-02-03 André Pönitz <poenitz@gmx.net>
3382 * cursor.[Ch]: some additional asserts
3384 * undo.[Ch]: remove LyXText dependency in interface
3388 * lyxtext.h (firstPar, lastPar): remove dead functions
3393 * paragraph.[Ch]: adjust
3395 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3397 * lyxfind.C (find): fix argument order in call to ::find
3399 2004-02-02 André Pönitz <poenitz@gmx.net>
3401 * cursor.[Ch]: remove direct access to anchor
3403 * text.C: remove findText() hack
3405 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3407 * iterators.[Ch] (lockPath): remove in favour of...
3408 * BufferView.[Ch] (setCursor): this addition
3409 * BufferView.C (putSelectionAt): adjust
3410 * undo.C (performUndoOrRedo): adjust
3411 * lyxfunc.C (dispatch): adjust
3413 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3415 * iterators.C (lockPath): add a missing slice
3416 * undo.C (performUndoOrRedo): remove redundant positioning code
3418 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
3420 * vc-backend.C (scanMaster): ";" -> ';'
3422 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
3424 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3425 std::binary_function
3427 * lyxtextclass.C (compare_name): rename to...
3428 (LayoutNamesEqual): ...this
3430 * lyxlex_pimpl.C (compare_tags): inherit from
3431 std::binary_function, put back into anon namespace
3433 * lyxfind.C (MatchString): inherig from std::binary_function
3434 (findChange): use empty() istead of !size()
3436 * format.C (FormatNamesEqual): new functor
3443 * converter.C (compare_Converter): rename to...
3444 (ConverterEqual): ...this, and fixup a bit.
3445 (getConverter): use it, and make function const
3446 (getNumber): use it, and make function const
3450 * bufferlist.C: add using boost::bind
3452 * MenuBackend.C (MenuNamesEqual): new functor
3453 (hasMenu): use it, and make function const
3454 (hasSubmenu): use nested bind to get rid of compare_memfun.
3456 2004-01-30 André Pönitz <poenitz@gmx.net>
3458 * BufferView_pimpl.C:
3461 * cursor_slice.[Ch]:
3464 * paragraph_funcs.C:
3465 * paragraph_funcs.h:
3469 * text3.C: move some of the edit(x,y) handling to the insets
3470 some coordinate changes.
3472 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
3474 * text.C: add using statements for std::advance and std::distance
3476 * paragraph.C: add using statement for std::distance
3478 * lyxfind.C: add using statement for std::advance
3480 * cursor.C (region): remove std:: from swap
3481 (openable): use nucleus in stead of operator->
3483 * BufferView.C: add using statements for std::distance and std::swap
3485 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
3487 * iterators.C: Remove the pimple, move the needed structures to
3488 the header file. Create accessor for the positions stack.
3489 (asPosIterator): remove function
3491 * PosIterator.C (PosIterator): move constructors to top of file
3492 (PosIterator): reimplement the constructor taking a ParIterator in
3494 (setFrom): new function
3495 (operator!=): inline it
3497 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
3499 * lyxfind.C (replaceAll): use std::advance
3501 * iterators.h: inherit from std::iterator.
3503 * PosIterator.C (advance, distance): remove
3504 * PosIterator.h: interit from std::iterator.
3506 2004-01-26 André Pönitz <poenitz@gmx.net>
3509 * BufferView_pimpl.[Ch]:
3513 * bufferview_funcs.C:
3523 * output_linuxdoc.C:
3524 * output_plaintext.C:
3526 * paragraph_funcs.[Ch]:
3527 * paragraph_pimpl.[Ch]:
3533 * text3.C: more IU: dumps most of the rest of the mathcursor
3534 implementation into cursor.[Ch]; "globalize" a bit of it.
3536 2004-01-25 Angus Leeming <leeming@lyx.org>
3538 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3540 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3542 * LaTeXFeatures.h: add nice_ and nice() const
3543 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3545 2004-01-20 André Pönitz <poenitz@gmx.net>
3548 * BufferView_pimpl.C:
3550 * bufferview_funcs.C:
3552 * cursor_slice.[Ch]:
3563 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3564 LCursor and mathcursor parts to LCursor and InsetBase.
3566 2004-01-15 André Pönitz <poenitz@gmx.net>
3568 * cursor_slice.[Ch]: add a few covienience functions
3570 * funcrequest.[Ch]: remove BufferView * member
3572 * BufferView_pimpl.C:
3579 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3581 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3583 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3584 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3586 2004-01-13 André Pönitz <poenitz@gmx.net>
3589 * lyxtext.h: hide cursor and selection anchor behind accessor function
3592 * BufferView_pimpl.[Ch]:
3594 * bufferview_funcs.C:
3604 * cursor_slice.[Ch]: some integer type changes for inset unification
3606 * lyxcursor.[hC]: remove, it's CursorSlice now.
3609 * BufferView_pimpl.[Ch]:
3610 * bufferview_funcs.C:
3616 * textcursor.[Ch]: adjust
3618 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3620 * text2.C (undoSpan): add and use
3621 * text.C (breakParagraph): use undoSpan (fix bug 578)
3624 2004-01-08 Angus Leeming <leeming@lyx.org>
3626 * BufferView_pimpl.C (MenuInsertLyXFile):
3627 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3628 * lyxfunc.C (menuNew, open, doImport):
3629 FileFilterList change to the FileDialog open and save functions.
3631 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
3633 * ShareContainer.h: make isEqual and isUnique adaptable
3635 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3637 2004-01-07 Angus Leeming <leeming@lyx.org>
3640 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3642 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3644 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3645 functions replacing find, replace and replaceAll.
3647 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3648 LFUN_WORDFIND(FORWARD|BACKWARD).
3650 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3652 * text.C (breakParagraph): remove an outdated #warning
3654 2004-01-07 André Pönitz <poenitz@gmx.net>
3656 * lyxfind.C: somewhat clearer logic
3658 * text.C: prevent crash in cursorX on unitialized row cache
3660 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3662 * lyxcursor.[Ch] (operator>): add
3663 * textcursor.C (selStart, selEnd): use std::min and std::max
3665 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3667 * Chktex.C: include boost/format.hpp
3669 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3671 * InsetList.C: replace functor MathcIt with adaptable functor
3673 (insetIterator): modify accordingly
3675 * BranchList.h: move the BranchNamesEqual functor here from...
3676 * BranchList.C: ... to here
3678 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3680 (add): replace a finding loop with std::find_if.
3682 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3684 * output_docbook.C: moving LatexParam functionality into
3687 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3689 * buffer.C: increment format to 229.
3691 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3694 * lyx_sty.[Ch]: remove minipageindent_def
3700 * text3.C: remove LFUN_INSET_MINIPAGE
3702 2003-12-28 Angus Leeming <leeming@lyx.org>
3704 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3706 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3708 * text2.C (setParagraph): fix off-by-one crash
3710 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3712 * output_docbook.C: header stuff for AGU
3714 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3716 * text2.C (redoCursor): remove
3719 * BufferView_pimpl.C: remove calls to redoCursor and
3720 setCursor(cursor.par(), cursor.pos()) all around
3722 2003-12-15 Angus Leeming <leeming@lyx.org>
3724 * buffer.C: up the format to 228.
3726 2003-12-15 André Pönitz <poenitz@gmx.net>
3728 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3733 * BufferView_pimpl.C:
3742 2003-12-15 Angus Leeming <leeming@lyx.org>
3744 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3745 than getFromGUIName to manipulate the color.
3747 2003-12-14 Angus Leeming <leeming@lyx.org>
3749 * BranchList.[Ch]: minimize the API.
3750 (Branch::getBranch, getColor): now return a 'const &'.
3751 (Branch::setSelected) now returns a bool set to true if the
3752 selection status changes.
3753 (BranchList::clear, size, getColor, setColor, setSelected,
3754 allBranches, allSelected, separator): removed.
3755 (BranchList::find): new functions, returning the Branch with
3757 (BranchList::add, remove): return a bool indicating that
3758 the operation was successful.
3760 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3761 new InsetBranch::isBranchSlected member function.
3763 * LColor.[Ch]: mimimize the API.
3764 (fill): renamed as addColor and made private.
3765 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3766 versions of these functions taking a string arg have been removed.
3768 * bufferparams.C (readToken):
3769 * lyxfunc.C (dispatch):
3770 * lyxrc.C (read): changes due to the altered BranchList and
3773 * factory.C (createInset, readInset): changes due to altered
3776 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3779 * lyxfunc.C: remove insetminipage. "minipage-insert"
3780 now produces a frameless minipage box inset.
3782 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3784 * textcursor.[Ch] (selStart,selEnd): add new methods
3785 remove selection::start, end, use LyXCursor::operator<
3786 * lyxcursor.[Ch] (operator<): add
3787 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3788 * BufferView.[Ch] (unsetXSel): add
3789 * text2.C (clearSelection): use unsetXSel,adjust
3792 * rowpainter.C: adjust
3793 * bufferview_funcs.C (put_selection_at): adjust
3795 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3797 * BufferView_pimpl.C: small coord. correction
3799 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3801 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3802 dragging over the splash screen.
3804 2003-12-11 Angus Leeming <leeming@lyx.org>
3806 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3807 as it is now handled in LyXText::dispatch.
3809 * text3.C (doInsertInset): remove a level of nesting.
3811 2003-12-11 Angus Leeming <leeming@lyx.org>
3813 * factory.C (createInset): changes due to the changed interface to
3814 InsetCommandMailer::string2params.
3816 2003-12-10 Angus Leeming <leeming@lyx.org>
3818 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3819 'dialog-show-new-inset <inset name>'
3821 2003-12-10 Angus Leeming <leeming@lyx.org>
3823 * buffer.C: up the format to 227.
3825 * factory.C: the box inset is now identified simply by 'Box'.
3827 2003-12-10 Angus Leeming <leeming@lyx.org>
3829 * buffer.C: up the format to 226.
3831 * factory.C: the note inset is now identified simply by 'Note'.
3833 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3835 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3836 when a pit is enough. Standarize a couple of loops.
3838 2003-12-05 Angus Leeming <leeming@lyx.org>
3840 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3841 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3842 data to the re-worked "log" dialog.
3844 2003-12-03 André Pönitz <poenitz@gmx.net>
3850 * paragraph_funcs.C:
3852 * text2.C: use Inset::getText instead of Inset::getParagraph
3854 2003-12-03 André Pönitz <poenitz@gmx.net>
3858 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3859 InsetText::read() as LyXText::read()
3861 2003-12-02 Angus Leeming <leeming@lyx.org>
3863 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3864 type. Add a comment in the implementation that the function uses
3865 the stream's bad() function rather than fail() as the std::streams
3868 2003-12-02 André Pönitz <poenitz@gmx.net>
3870 * lyxlex.[Ch]: make interface more similar to std::stream
3872 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3874 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3876 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3878 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3880 * vspace.[Ch]: remove VSpace::NONE
3882 2003-12-01 André Pönitz <poenitz@gmx.net>
3885 * lyxtext.h: move ParagraphList member to LyXText
3886 rename LyXText::ownerParagraphs to LyXText::paragraph
3889 * bufferview_funcs.C:
3899 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3901 * undo.C: fix cursor positioning
3903 2003-12-01 John Levon <levon@movementarian.org>
3905 * BufferView_pimpl.C: fix a crash on exit with
3908 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3910 * BranchList.C: fix setSelected() method.
3912 2003-11-28 André Pönitz <poenitz@gmx.net>
3914 * ParagraphParameters.[Ch]:
3915 * ParameterStruct.h: remove space above/below from Paragraph to
3918 * BufferView_pimpl.C:
3924 * paragraph_funcs.C:
3930 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3932 * factory.C: Syntax change for CharStyles
3934 2003-11-28 André Pönitz <poenitz@gmx.net>
3939 * buffer.[Ch]: move LyXText member
3941 2003-11-28 André Pönitz <poenitz@gmx.net>
3943 * BufferView.[Ch]: make LyXText * text a private member
3945 * BufferView_pimpl.C:
3956 * output_plaintext.C: cleanup
3958 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3961 * lyxtextclass.[Ch]: parametrize SGML document header
3963 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3966 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3969 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3971 * text2.C (setFont): rework using PosIterator (no more recursive)
3972 (setCharFont): no more needed
3973 (setLayout): no more selection cursors fiddling (done by redoCursor)
3974 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3975 destroy remaining ones)
3977 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3979 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3981 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3984 * text3.C: adjust + re-allow multi par depth changes
3985 * textcursor.C: simplify a bit
3987 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3993 * src/output_docbook.C:
3994 * src/output_latex.C:
3999 * src/text2.C: Introducing a number of tags parametrizing various
4000 XML formats that we may want to support
4002 2003-11-25 André Pönitz <poenitz@gmx.net>
4004 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4006 * lyxtext.h (leftMargin/rightMargin): simplify interface
4013 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4015 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4016 master file to any child files. Fixes bug 546.
4018 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4020 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4022 2003-11-24 André Pönitz <poenitz@gmx.net>
4024 * rowpainter.C: simplification
4026 * text2.C (updateCounters): remove call to redoParagraph on
4027 changed labels as this is far too expensive.
4029 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4031 * converter.C (convert): fix a crash: this function gets
4032 called with buffer == 0 from importer code.
4034 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
4036 * text3.C (cursorPrevious): make sure that we do not compare
4037 iterators form different containers.
4040 * rowpainter.C (paintSelection): make sure that we do not compare
4041 iterators from different containers.
4043 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4044 iterators from different ParagraphList containers.
4047 * text2.C (LyXText): change order of initialization slightly
4048 (operator=): new function. copy all variables except cache_par_
4049 (moveUp): make sure that we do not compare iterators from
4050 different ParagraphList constainers.
4053 * text.C (firstPar): new function
4054 (lastPar): new function
4055 (endPar): new function
4057 * lyxtext.h: move things around and group public functions, public
4058 variables, private functions, private variables
4060 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4062 * factory.C: change call to InsetERT constructor to avoid
4063 additional invocation of method status
4064 * text2.C (toggleInset): remove redundant update() call
4065 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4066 instead of a Bufferview pointer
4068 2003-11-21 André Pönitz <poenitz@gmx.net>
4070 * rowpainter.C: simplification
4072 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4074 * text3.C (dispatch): make possible to extend a word/row selection
4077 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4079 * lyxtext.h: x0_,y0_ -> xo_,yo_
4080 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4081 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4082 * rowpainter.C (paintRows): paint full paragraphs
4084 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4086 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4089 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4091 * lyxtext.h: add x0_, y0_
4092 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4093 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4095 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4097 * text2.C (setCursorIntern): move the x_target update here *
4098 * text3.C: change some bv() to true/false in calls to
4099 cursorUp/Down/Right/Left
4100 * cursor.C: use helper function.
4102 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4104 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4105 * paragraph_funcs.[Ch]: correct comment
4106 * rowpainter.C: do not paint selections away from bv->cursor()
4107 Fix a long standing selection painting bug.
4108 * text3.C: generalize mouse-selection code to LyXTexts other that
4110 * textcursor.C: do not use y coords if we can use par offsets
4112 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4114 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4115 cursor position after e.g. inset insert)
4117 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4119 * lyxfind.C (replace): adjust to locking removal + some
4122 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4124 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4127 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4130 * output_docbook.C: XML sanitation: new layout
4131 parameters InnerTag and CommandDepth
4133 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4135 * BufferView_pimpl.C:
4137 * text3.C: Fix the insertion and modification of button-style
4140 2003-11-13 André Pönitz <poenitz@gmx.net>
4142 * InsetList.[Ch]: remove deleteLyXText
4144 * paragraph.[Ch]: cache beginOfBody position
4149 * text3.C: remove superfluous update() calls
4153 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4155 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4156 * BufferView.C (fitLockedInsetCursor): remove
4157 * cursor.[Ch] (getDim): add
4158 * text.C (getRowNearY): add faster version
4159 * text3.C: remove some update calls
4161 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4173 * text3.C: The Character Style /XML short element patch.
4175 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4178 * factory.C: Small step to solving 'unable to insert some insets'
4181 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4183 * cursor.[Ch] (updatePos): new function for updating the y
4184 position of the tip inset
4185 * bufferview_funcs.C (put_selection_at):
4186 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4188 2003-11-11 André Pönitz <poenitz@gmx.net>
4190 * text.C: remove big comment on invalid Paragraph pointers as it is
4193 2003-11-11 André Pönitz <poenitz@gmx.net>
4195 * text_funcs.[Ch]: merge with ...
4203 * Makefile.am: remove text_funcs.[Ch]
4205 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4207 * cursor.C (getPos): return absolute cached y coord
4209 * BufferView_pimpl.C (fitCursor): new simplistic code
4210 (workAreaDispatch): add a fitCursor call
4212 2003-11-10 André Pönitz <poenitz@gmx.net>
4215 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4217 2003-11-10 André Pönitz <poenitz@gmx.net>
4219 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4220 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4221 indicate that the cursor needs to leave an inset
4223 * lyxtext.h: remove inset locking
4225 * cursor.[Ch]: re-implement functionality provided by inset locking
4228 * BufferView_pimpl.[Ch]:
4230 * bufferview_funcs.[Ch]:
4242 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4244 * PosIterator.[Ch]: replace the stack with a vector, add inset
4246 * iterators.[C]: adjust
4248 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4250 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4252 * paragraph_funcs.C (readParToken): put the correct id in the
4253 error item, not the id of the top paragraph
4255 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4257 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4258 * bufferview_funcs.C (put_selection_at): use the above
4260 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4262 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4264 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4266 * output_linuxdoc.h:
4267 * output_plaintext.h:
4269 * output_docbook.h: add #include statements
4271 2003-11-05 José Matos <jamatos@lyx.org>
4273 * output_docbook.[Ch]:
4274 * output_latex.[Ch]:
4275 * output_linuxdoc.[Ch]:
4276 * output_plaintext.[Ch]: New files for output formats.
4277 * output.[Ch]: New file for helper functions.
4280 * paragraph_funcs.[Ch]: output functions moved to new files.
4282 * outputparams.h: rename of latexrunparams.h
4290 * paragraph_funcs.[Ch]:
4291 * paragraph_pimpl.[Ch]:
4292 * tabular.[Ch]: rename ascii to plaintext
4293 and LatexRunParams to OutputParams.
4295 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4297 * iterators.[Ch] (text): require bv argument
4298 * undo.C (recordUndo):
4299 * lyxfunc.C (dispatch):
4300 * bufferview_funcs.C (put_selection_at): adjust
4302 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
4304 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4306 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4308 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4311 2003-11-04 André Pönitz <poenitz@gmx.net>
4313 * cursor.[Ch]: restructure
4316 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4318 * iterators.[Ch] (asCursor): remove
4320 * lfuns.h: remove LFUN_INSET_EDIT
4326 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4328 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4330 * lyxfind.[Ch]: complete overhaul
4331 * BufferView_pimpl.C:
4333 * paragraph.[Ch] (insert): add
4335 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4339 * text.C: remove dead spellcheck code
4341 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4343 * dispatchresult.h: add a val setter
4345 * cursor.C (dispatch): use a tempvar for data_[i]
4347 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4349 * PosIterator.[Ch]: compile fix
4351 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4353 * text.C (cursorPar): deactivate the cursor cache
4355 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4357 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4359 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4361 * text3.C (dispatch): adjust for new DisptchResult semantics.
4363 * lyxfunc.C (dispatch): handle update when return from
4364 Cursor::dispatch, adjust for new DispatchResult semantics.
4366 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4367 DispatchResult(true) mean to not update. Add class functions for
4368 setting dispatched and update, as well as reading.
4370 * cursor.C (dispatch): don't handle update here
4372 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4374 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4375 * trans_mgr.C: adjust
4377 * paragraph_funcs.C (readParToken): exception safety
4379 * lyxvc.h: store the vcs pointer in a scoped_ptr
4382 * lyxsocket.C (serverCallback): exception safety
4384 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4386 * ispell.C (clone): make it return a auto_ptr
4388 * factory.C (createInset): exception safety
4389 (readInset): exception safety
4391 * bufferlist.C (newBuffer): exception safety
4393 * Thesaurus.C (Thesaurus): use initialization for aik_
4395 * MenuBackend.C (expandToc): exception safety.
4397 2003-11-03 André Pönitz <poenitz@gmx.net>
4401 * bufferview_funcs.C: remove getInsetFromId()
4404 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4410 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4412 * PosIterator.C (distance, advance): new
4413 * bufferview_funcs.[Ch] (put_selection_at): new
4414 * iterators.[Ch] (lockPath): new
4416 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4418 * iterators.[Ch] (asPosIterator): added
4419 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4420 * PosIterator.[Ch]: added
4422 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4426 * cursor.C (dispatch):
4427 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4429 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4430 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4431 contructor, add a class function dispatched. Remove operator>=
4433 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4435 * debug.C: only use the default constructor for debugstream
4438 * main.C (main): include debug.h and setup the lyxerr streambuf
4441 2003-10-31 José Matos <jamatos@lyx.org>
4443 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4445 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4446 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4447 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4448 * paragraph_pimpl.C (simpleTeXSpecialC):
4449 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4450 add LatexRunParams argument.
4452 * exporter.C (Export): change call accordingly.
4454 * latexrunparams.h: add new member to take care of the other backends.
4455 2003-10-30 José Matos <jamatos@lyx.org>
4457 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4458 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4459 factorise code for paragraph output.
4461 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4464 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4466 * text3.C (dispatch):
4467 * lyxfunc.C (dispatch):
4468 * cursor.C (dispatch):
4469 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4471 * dispatchresult.h: make the dispatch_result_t ctor explicit
4473 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4476 * buffer.C: small refactoring of docbook stuff
4478 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4480 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4483 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4485 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4486 operator dispatch_result_t, and operators for == != and >=
4488 * cursor.C (dispatch): adjust for operator dispatch_result_t
4489 removal. comment out call to update
4491 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4493 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4501 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4504 * dispatchresult.h: new file, DispatchResult broken out of
4507 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4509 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4511 * text.C (rowBreakPoint): put a hack inside #if 0
4513 2003-10-28 André Pönitz <poenitz@gmx.net>
4517 * paragraph_funcs.C:
4520 * text2.C: general cleanup (lots of small stuff)
4522 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4524 * text2.C (cursorEnd): simple fix to the "end key goes to one
4525 before the end on last row" bug
4527 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4529 * text.C (backspace): fix the "zombie characters"
4531 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4533 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4535 2003-10-27 André Pönitz <poenitz@gmx.net>
4537 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4539 * factory.C: handle new InsetPagebreak, InsetLine
4541 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4542 and move handling into new InsetPagebreak, InsetLine
4544 * BufferView_pimpl.C:
4546 * ParagraphParameters.C:
4547 * ParameterStruct.h:
4552 * paragraph_funcs.C:
4553 * paragraph_pimpl.C:
4559 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4562 * lyxrow_funcs.[Ch]:
4568 * text3.C: remove lastPos uses in favour of Row::endpos
4570 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4572 * undo.C (performUndoOrRedo): fix two crashes by setting a
4573 cursor by hand and reordering some calls. Use bv->lockInset instead
4574 of inset->edit because the latter loses cursor information
4576 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4578 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4580 (rowBreakPoint): fix width. change point to point + 1.
4581 Add a missing check.
4583 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4586 * lyxfunc.C: fix (at least partly) the problems
4587 with the Nav menu and headers inside branch insets
4590 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4592 * paragraph.C (getChar): add strong asserts
4594 * lyxrow_funcs.C (lastPos): remove hideous hack
4596 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4597 (fill): adjust to that (avoid an infinite loop)
4599 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4601 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4603 2003-10-23 André Pönitz <poenitz@gmx.net>
4605 * RowList_fwd.h: change list<> to vector<> to gain speed
4606 after suggestion from Alfredo
4608 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4610 * lyxtext.h: move the bidi stuff from here...
4613 * Bidi.[Ch]: ... to here
4615 2003-10-23 André Pönitz <poenitz@gmx.net>
4618 * text.C (isLastRow, isFirstRow): new functions
4620 * paragraph.h: new width cache member
4622 * rowpainter.C: replace RowList::iterator with Row & where possible
4624 * lyxfunc.C: replace several view()->text with a single call
4626 * toc.C: fix 'unused' warning
4628 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4630 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4631 when woring with stream::pos_type
4632 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4634 2003-10-22 André Pönitz <poenitz@gmx.net>
4637 * text.C: use Row & instead of RowList::iterator
4639 * lyxrow.h: rename end() to endpos()
4645 2003-10-22 Angus Leeming <leeming@lyx.org>
4647 * buffer.[Ch] (fully_loaded): new member function, returning true
4648 only when the file has been loaded fully.
4649 Used to prevent the premature generation of previews and by the
4650 citation inset to prevent computation of the natbib-style label.
4652 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4653 templates are all set up.
4655 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4657 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4659 * text.C: fixed an "oops" in the "is a bit silly"
4662 2003-10-21 André Pönitz <poenitz@gmx.net>
4664 * FuncStatus.[Ch]: small stuff, whitespace
4666 * lyxfont.[Ch]: operator<<() for debug reasons
4670 * lyxtext.h: whitespace, spelling
4672 * paragraph.C: naming of variables
4675 * text2.C: small stuff
4678 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4680 * text.C: (1) finish off the inset display() work;
4681 (2) fix the "is a bit silly" bug (accessing char
4684 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4686 * text.C: re-introduce display() for insets, fixing the
4687 various bugs (stretch of line above, math inset
4690 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4692 * text.C (rightMargin): remove spurious semicolon
4694 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4697 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4699 * text3.C: fix one crash due to wrong cursor def
4701 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4703 * vc-backend.C (scanMaster): make the regex static
4705 * LaTeX.C (scanAuxFile): make the regexs static
4707 * text3.C (doInsertInset, dispatch, dispatch):
4708 * text2.C (cursorUp, cursorDown):
4709 * text.C (selectNextWordToSpellcheck):
4710 * BufferView_pimpl.C (dispatch):
4711 * lyxfunc.C (dispatch): localDispatch -> dispatch
4713 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4715 * lyxsocket.C: include <cerrno>
4717 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4719 * lyxfunc.C (dispatch): remove textcache stuff
4721 * bufferlist.C (release): remove textcache stuff
4724 * TextCache.C: delete file
4725 * TextCache.h: delete file
4727 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4729 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4730 delete of the bv_->text.
4731 (resizeCurrentBuffer): remove texcache stuff
4732 (workAreaResize): ditto
4734 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4736 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4739 2003-10-16 André Pönitz <poenitz@gmx.net>
4746 * text3.C: speed up by storing y positions per paragraph plus per-row
4747 offset instead of having a 'full' y position in the row.
4749 2003-10-15 André Pönitz <poenitz@gmx.net>
4753 * undo.[Ch]: make undo aware of inner insets
4755 2003-10-14 Angus Leeming <leeming@lyx.org>
4757 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4758 static member functions LyX::ref() and LyX::cref.
4759 (lastfiles): new accessor functions for the new lastfiles_ member var.
4760 (addLyXView, views_): add a new LyXView to the list of views_.
4761 (updateInset): loop over all LyXViews to call their own updateInset
4762 member function, returning a pointer to the Buffer owning the inset.
4764 * BufferView_pimpl.C (loadLyXFile):
4765 * MenuBackend.C (expandLastfiles):
4766 * bufferlist.C (MenuWrite, QuitLyX):
4767 lastfiles is no longer a global variable.
4768 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4770 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4771 static function. Access through LyX::cref().emergencyCleanup().
4773 2003-10-14 André Pönitz <poenitz@gmx.net>
4775 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4777 * undo.[Ch]: restoring part of 'undo in insets'
4780 * undo_funcs.[Ch]: merge with undo.[Ch]
4782 * tabular.C: small cleansing stuff
4784 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4786 * paragraph_funcs.C (readParToken): report unknown insets as error
4787 boxes. Use the outer paragraph as location (also for unknown
4790 * factory.C (readInset): do not abort on reading an unknown inset.
4791 Eat it and return 0.
4793 2003-10-13 Angus Leeming <leeming@lyx.org>
4795 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4797 * lyxrc.C: displayTranslator is now a function,
4798 declared in GraphicsTypes.h.
4800 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4802 * format.C: new placeholder $$a to pass the socket address.
4804 * bufferlist.[Ch]: new function getBufferFromTmp.
4806 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4807 files in the temporary dir.
4809 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4811 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4813 * Makefile.am: add lyxsocket.[Ch].
4815 * lyx_main.C (error_handler): handle SIGPIPE.
4817 2003-10-13 André Pönitz <poenitz@gmx.net>
4819 * BufferView_pimpl.C:
4824 * undo_funcs.[Ch]: use paroffset_type instead of
4825 ParagraphList::iterators to prevent multiple conversion
4826 (and get a more robust interface)
4828 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4830 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4832 * text3.C (dispatch): ditto
4834 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4836 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4837 move the onlyfile, use onlyfile instead of foundfile in a couple
4840 * DepTable.C (update): flush the error stream a bit more
4842 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4844 * lyxserver.C (callback): adjust
4846 * lyxfunc.C (getStatus): add a missing brace in commented code
4847 (ensureBufferClean): reindent
4848 (dispatch): delete version taking a string
4850 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4852 * LaTeX.C (deplog): move found file handlig from here...
4853 (handleFoundFile): .. to new function here.
4854 (deplog): make sure to discover several files mentioned on the
4857 2003-10-10 André Pönitz <poenitz@gmx.net>
4864 * text3.C: fix some of the tabular crashes
4866 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4868 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4870 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4872 2003-10-09 André Pönitz <poenitz@gmx.net>
4874 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4877 * BufferView_pimpl.C:
4878 * bufferview_funcs.C:
4889 * undo_funcs.C: adjust
4891 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4893 * text2.C (incrementItemDepth): new function, use a backtracking
4894 algorithm to discover the correct item depth.
4895 (resetEnumCounterIfNeeded): new function, use a backtracking
4896 algorithm to discover if counter reset is needed.
4897 (setCounter): use them. Simplify a bit. Add different labels for
4898 different item depths for itemize.
4900 * paragraph.C (Paragraph): remove initialization of enumdepth
4903 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4904 enumerate and itemize. Change the type of itemdepth to signed char.
4906 2003-10-08 André Pönitz <poenitz@gmx.net>
4908 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4913 * tabular.[Ch]: fix crash after 'row-insert'
4915 2003-10-08 Angus Leeming <leeming@lyx.org>
4917 Fix doxygen warnings.
4919 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4920 Remove CutAndPaste:: prefix from header file declaration.
4922 * LColor.h (fill): remove LColor:: prefix from declaration.
4924 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4925 use lyx::depth_type rather than Paragraph::depth_type so that
4926 header file and .C file match.
4928 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4930 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4931 * aspell.C: \file aspell_local.C -> \file aspell.C
4932 * gettext.C: \file gettext.C -> \file src/gettext.C
4933 * gettext.h: \file gettext.h -> \file src/gettext.h
4934 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4935 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4936 * text.C: \file text.C -> \file src/text.C
4938 * toc.C: move comment so that doxygen is not confused.
4940 2003-10-07 Angus Leeming <leeming@lyx.org>
4942 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4944 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4947 * aspell_local.h: add forgotten std::string's.
4949 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4956 * text3.C: The Box patch. Fancybox support, minipage, parbox
4958 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4964 * ParagraphParameters.h:
4974 * lyxtextclasslist.h:
4977 * paragraph_pimpl.C:
4978 * textcursor.h: add <string> and other small fixes to make Lars'
4979 std::string patch compile with STLport.
4981 2003-10-06 Angus Leeming <leeming@lyx.org>
4983 * LColor.h: Add missing #include <string>.
4985 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4987 * All most all file in all subdirs: Make <string> be the prefered
4988 way of getting to std::string, add using declarations.
4990 2003-10-06 André Pönitz <poenitz@gmx.net>
4992 * metricsinfo.C: initialize LyXFont before changing attribute.
4993 (fixes the 'math in \emph is upright' bug)
4995 2003-10-06 André Pönitz <poenitz@gmx.net>
4997 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4999 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5002 * paragraph_pimpl.C: Small fixes to build using STLport
5004 2003-10-02 André Pönitz <poenitz@gmx.net>
5007 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5009 2003-10-01 André Pönitz <poenitz@gmx.net>
5011 * factory.C: assert early
5013 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5015 * lyx_main.C: remove the global debug object
5017 * debug.h: adjust for new debugstream
5019 * debug.C: adjust for new debugstream and keep the global debug
5022 2003-09-22 Angus Leeming <leeming@lyx.org>
5024 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5025 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5026 an incomplete class LyXFont.
5028 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5030 * factory.C: bug fix in branches
5032 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5034 * lyxfunc.C (processKeySym): adjust
5036 (dispatch): change arg name from ev to func, adjust
5037 (sendDispatchMessage): ditto
5039 * lyx_main.C (defaultKeyBindings): adjust keybindings
5040 (deadKeyBindings): ditto
5042 * kbsequence.C (addkey): return a FuncRequest
5044 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5046 * kbmap.C (bind): take a FuncRequest as arg, adjust
5049 (defkey): change to take a FuncRequest as arg, adjust
5050 (findbinding): take a FuncRequest as arg, adjust.
5052 * funcrequest.h (operator=): added
5054 * funcrequest.C (FuncRequest): default kb_action changed from
5055 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5057 * buffer.C (dispatch): simplify
5058 (dispatch): adjust to take a FuncRequest as arg, adjust
5060 * boost.C (assertion_failed): change assertion message slightly
5062 * ToolbarBackend.C (read): simplify
5064 * MenuBackend.C (binding): adjust call to findbinding, add a
5065 message if no binding is found.
5067 (expandToc): correct by adding a empty FuncRequest
5069 * LyXAction.C: include <boost/assert.hpp>
5070 (isPseudoAction): delete function
5071 (LookupFunc): change name to...
5072 (lookupFunc): this. change return type to FuncRequest.
5073 (getActionName): take kb_action as arg, simplify
5074 (funcHasFlag): add an assert, simplify.
5076 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5078 * toc.C (action): return a FuncRequest, simplify
5080 * lyxfunc.C (processKeySym): adjust
5081 (getStatus): delete version that takes an int.
5083 (dispatch): delete version that takes action as int
5085 (sendDispatchMessage): simplify and adjust
5087 * funcrequest.C (getArg): take unsigned int as arg
5089 * ToolbarBackend.C (read): adjust
5090 (add): delete version that takes func as a string.
5091 (getIton): take a FuncRequest as arg
5093 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5096 * MenuBackend.C (MenuItem): add a new construct that only takes a
5097 Kind, simplify the constructor use for submenus.
5099 (expandLastfiles): adjust
5100 (expandDocuments): adjust
5101 (expandFormats): adjust
5102 (expandFloatListInsert): adjust
5103 (expandFloatInsert): adjust
5104 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5106 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5107 Remove class variables lyx_pseudo_map and lyx_arg_map
5109 * LyXAction.C (searchActionArg): delete function
5110 (getPseudoAction): delete function
5111 (retrieveActionArg): delete function
5112 (LookupFunc): make it return kb_action, simplify.
5113 (getActionName): simplify
5115 * factory.C (createInset): fix new bug
5117 2003-09-19 Angus Leeming <leeming@lyx.org>
5119 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5120 masterFilename_ parameter in the include inset.
5122 * factory.C (createInset): changes due to the changes to InsetInclude.
5124 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5126 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5128 2003-09-18 Angus Leeming <leeming@lyx.org>
5131 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5132 Inset::fillWithBibKeys.
5133 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5135 2003-09-18 Angus Leeming <leeming@lyx.org>
5137 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5139 (ctor): pass and store a 'Buffer const &'
5140 (buffer): new member function.
5142 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5143 '*this' to the LaTeXFeatures ctor.
5145 2003-09-18 Angus Leeming <leeming@lyx.org>
5151 * text.C: rename EnumLColor as LColor_color.
5153 2003-09-18 Angus Leeming <leeming@lyx.org>
5155 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5156 remove #include "insets/insetbase.h" from cursor.h.
5158 2003-09-18 Angus Leeming <leeming@lyx.org>
5160 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5161 InsetOld_code to remove #include "inset.h".
5163 * iterators.C: add #include "insets/inset.h"
5165 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5167 * BufferView.C: remove more locking stuff that apparently doesn't
5168 do anything sensible.
5170 2003-09-16 André Pönitz <poenitz@gmx.net>
5173 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5176 2003-09-16 Angus Leeming <leeming@lyx.org>
5178 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5180 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5183 * paragraph.h: remove #include "lyxfont.h". Forward declare
5186 2003-09-16 Angus Leeming <leeming@lyx.org>
5188 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5189 of support/textutils.h.
5190 (isWord): move the contents of support/textutils.h's IsWordChar here.
5196 * text2.C: add #include "paragraph.h".
5199 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5201 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5207 * LaTeX.C: use namespace alias for lyx::support::os
5209 2003-09-16 Angus Leeming <leeming@lyx.org>
5212 * bufferview_funcs.C:
5215 * paragraph_pimpl.C:
5217 * text.C: add #include "LColor.h".
5219 2003-09-16 Angus Leeming <leeming@lyx.org>
5221 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5222 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5224 Store the FontBits::color variable as an int rather than as an
5225 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5228 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5229 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5230 string calls together.
5232 * lyxrc.C: add #include "LColor.h".
5234 2003-09-15 Angus Leeming <leeming@lyx.org>
5236 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5239 2003-09-15 Angus Leeming <leeming@lyx.org>
5241 * LColor.h: add an EnumLColor wrapper for LColor::color.
5243 * lyxfont.[Ch] (color, setColor, realColor):
5244 * lyxtext.h, text.C (backgroundColor):
5245 pass EnumLColor args to/from the functions, rather than LColor::color
5249 * lyxtext.h: forward declare EnumLColor.
5251 * lyx_main.C: add #include "LColor.h".
5253 2003-09-15 Angus Leeming <leeming@lyx.org>
5255 * .cvsignore: add lyx-gtk.
5257 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5262 * ParagraphParameters.C
5266 * bufferview_funcs.C
5276 * vc-backend.C: remove usage of STRCONV
5278 2003-09-15 Angus Leeming <leeming@lyx.org>
5280 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5281 explicitly define the color passed to the painter.
5283 2003-09-15 Angus Leeming <leeming@lyx.org>
5285 * bufferparams.C (BufferParams): reorder member initializers to avoid
5288 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5290 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5291 * text.C (updateRowPositions): remove an unusual nop
5293 2003-09-12 André Pönitz <poenitz@gmx.net>
5295 * BufferView_pimpl.C:
5304 * Counters.[Ch]: finish the 'automatic counters' job
5306 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5308 * aspell.C: include <boost/assert.cpp> (compile fix)
5310 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5312 * boost.C (assertion_failed): use lyx::support::abort instead of
5315 2003-09-10 Angus Leeming <leeming@lyx.org>
5317 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5318 with their _fwd progeny.
5320 2003-09-09 Angus Leeming <leeming@lyx.org>
5322 134 files throughtout the source tree: replace 'using namespace abc;'
5323 directives with the appropriate 'using abc::xyz;' declarations.
5325 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5327 * boost.C (emergencyCleanup): moved here from LAssert.c
5328 (assertion_failed): new function, called by BOOST_ASSERT
5330 * several files: change Assert to BOOST_ASSERT
5332 2003-09-09 Angus Leeming <leeming@lyx.org>
5334 * buffer.[Ch]: Add an Impl class and move Buffer's member
5335 variables into it. As a result move several header files out of
5338 Add header files to lots of .C files all over the tree as a result.
5340 2003-09-09 Angus Leeming <leeming@lyx.org>
5342 * buffer.[Ch]: make Buffer's member variables private. Add
5345 Lots of changes all over the tree as a result.
5347 2003-09-08 Angus Leeming <leeming@lyx.org>
5349 * graph.C: #include <config.h>.
5351 2003-09-08 Angus Leeming <leeming@lyx.org>
5355 * BufferView_pimpl.C:
5384 * toc.C: remove redundant using directives.
5386 2003-09-07 Angus Leeming <leeming@lyx.org>
5388 * LaTeXFeatures.h: remove #include "support/types.h".
5389 * ToolbarBackend.h: remove #include <algorithm>.
5390 * changes.h: remove #include <ctime>.
5391 * debug.h: remove #include <iosfwd>.
5392 * graph.h: remove #include "support/std_string.h".
5393 * lyx_main.h: remove #include <csignal>.
5394 * lyxlex_pimpl.h: remove #include <fstream>.
5395 * sgml.h: remove #include <algorithm>, <utility>.
5396 * toc.h: remove #include "support/std_ostream.h".
5397 Add #include <iosfwd>.
5399 2003-09-07 Angus Leeming <leeming@lyx.org>
5401 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5403 * converter.h: forward declare LatexRunParams.
5404 * encoding.h: remove #include "lyxrc.h".
5405 * lyxtext.h: remove #include "LColor.h".
5406 * lyxtextclass.h: remove #include "support/types.h".
5407 * trans.h: remove #include "tex-accent.h".
5408 * trans_mgr.h: remove #include "tex-accent.h".
5409 * insets/inset.h: remove #include "support/types.h", <vector>.
5410 * insets/insetcollapsable.h: remove #include "LColor.h".
5411 * insets/insetinclude.h: remove #include "dimension.h".
5412 * insets/insetlatexaccent.h: remove #include "dimension.h".
5413 * insets/insetoptarg.h:: remove #include "insettext.h".
5414 * insets/insettext.h: remove #include "dimension.h",
5415 <boost/shared_ptr.hpp>
5417 * insets/renderers.h: add #include "dimension.h".
5418 * insets/updatableinset.h: add #include "support/types.h".
5420 * many .C files: Associated changes.
5422 2003-09-06 Angus Leeming <leeming@lyx.org>
5424 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5425 one, inside testInvariant.
5427 * PrinterParams.C: new file.
5428 * PrinterParams.[Ch]: move the function bodies out of line.
5430 2003-09-06 Angus Leeming <leeming@lyx.org>
5432 * ParagraphParameters.h: forward declare ParameterStruct rather than
5433 including its header file.
5434 (depth): moved out-of-line.
5436 2003-09-06 Angus Leeming <leeming@lyx.org>
5438 * BufferView_pimpl.h:
5441 * lyxfunc.h: forward declare LyXKeySym rather than
5442 #include "frontends/LyXKeySym.h".
5444 * BufferView_pimpl.C:
5447 * lyxfunc.C: associated changes.
5449 2003-09-06 Angus Leeming <leeming@lyx.org>
5451 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5452 As a result, can remove the #include "insets/inset.h" from BufferView.h
5454 2003-09-06 Angus Leeming <leeming@lyx.org>
5456 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5457 As a result, can remove the #include "insets/inset.h" from BufferView.h
5459 2003-09-06 Angus Leeming <leeming@lyx.org>
5465 * bufferview_funcs.C:
5466 * BufferView_pimpl.C:
5471 * ParagraphParameters.C:
5476 * frontends/controllers/ControlDocument.C:
5477 * insets/insetcaption.C: rearrange the #includes into some sort of
5480 * buffer.h: remove #includes ErrorList.h, undo.h
5482 2003-09-06 Angus Leeming <leeming@lyx.org>
5484 * support/types.h: add a 'depth_type' typedef, used to store the
5485 nesting depth of a paragraph.
5488 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5489 defining explicitly.
5492 * paragraph_funcs.h:
5493 * ParagraphParameters.h:
5494 * sgml.h: use lyx::depth_type rather than Paragraph or
5495 ParameterStruct's depth_type.
5498 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5501 * BufferView_pimpl.C:
5503 * ParagraphParameters.C:
5506 * bufferview_funcs.C:
5513 * frontends/LyXView.C:
5514 * frontends/controllers/ControlDocument.C:
5515 * frontends/controllers/ControlErrorList.C:
5516 * insets/insetbibitem.C:
5517 * insets/insetbranch.C:
5518 * insets/insetcaption.C:
5519 * insets/insetcollapsable.C:
5520 * insets/insetenv.C:
5521 * insets/insetert.C:
5522 * insets/insetfloat.C:
5523 * insets/insetfoot.C:
5524 * insets/insetfootlike.C:
5525 * insets/insetnewline.C:
5526 * insets/insetquotes.C:
5527 * insets/insettabular.C:
5528 * insets/insettext.C:
5529 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5531 * frontends/controllers/ControlChanges.C: #include "changes.h".
5533 2003-09-06 Angus Leeming <leeming@lyx.org>
5535 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5536 than #including paragraph.h.
5539 * RowList.h: deleted. Superfluous.
5549 * insets/insettext.h: use ParagraphList_fwd.h rather than
5552 * paragraph.h: don't forward declare ParagraphList.
5555 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5556 rather than ParagraphList.h. paragraph.h is still needed for the
5557 Paragraph::depth_type parameters.
5559 * textcursor.h: enable it to compile stand-alone in light of the
5562 * bufferview_funcs.C:
5574 * frontends/controllers/ControlParagraph.C:
5575 * frontends/controllers/ControlTabular.C:
5576 * insets/insetmarginal.C:
5577 * insets/insetminipage.C:
5578 * insets/insetnote.C:
5579 * insets/insetoptarg.C: add header files needed to compile again.
5581 2003-09-06 Angus Leeming <leeming@lyx.org>
5583 * RowList_fwd.h: new file, forward-declaring Row rather than
5584 #including lyxrow.h.
5589 * insets/insettext.h: use it instead of RowList.h
5591 * bufferview_funcs.C:
5598 * text3.C: #include "RowList.h".
5600 2003-09-05 Angus Leeming <leeming@lyx.org>
5602 * factory.C (createInset):
5603 * vspace.C (c-tor): replace sscanf call with an istringstream.
5604 * ispell.C: re-add missing HP/UX headers.
5605 * lyxserver.C: re-add missing os2 headers.
5607 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5616 * text3.C: re-add missing system headers, needed for 2.95.2.
5618 2003-09-05 Angus Leeming <leeming@lyx.org>
5620 Changes most place everywhere due to the removal of using directives
5621 from support/std_sstream.h.
5623 2003-09-05 Angus Leeming <leeming@lyx.org>
5625 Replace LString.h with support/std_string.h,
5626 Lsstream.h with support/std_sstream.h,
5627 support/LIstream.h with support/std_istream.h,
5628 support/LOstream.h with support/std_ostream.h.
5630 Changes resulting throughout the tree.
5632 2003-09-05 Angus Leeming <leeming@lyx.org>
5634 * sgml.h: ensure that the header file can be compiled stand-alone.
5635 * *.C: strip out redundant #includes. (320 in total.)
5637 2003-09-04 Angus Leeming <leeming@lyx.org>
5639 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5640 here (from getPackages).
5642 * debug.[Ch]: add a new EXTERNAL tag.
5644 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5646 * text2.C (cursorEnd): simplify
5648 (getColumnNearX): adjust
5650 * text.C (computeBidiTables): adjust
5653 * rowpainter.C (paintChars): adjust
5654 (paintSelection): adjust
5655 (paintChangeBar): adjust
5658 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5660 (numberOfSeparators): adjust
5662 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5668 * text3.C: Restricts the mouse click functionality
5669 of insets like bibtex, include, toc and floatlist to the visible
5670 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5671 up the dialogs. Cursor has to be in front of the inset (i.e.
5672 start of row) for this to function.
5674 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5676 * bufferview_funcs.C (currentState): output row information
5678 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5680 * bufferview_funcs.C (currentState): output paragraph position
5682 2003-09-04 Angus Leeming <leeming@lyx.org>
5684 * FloatList.h: move out #include "Floating.h".
5685 * LaTeX.h: move out #include "DepTable.h".
5686 * LyXAction.h: move out #include "funcrequest.h".
5687 * buffer.h: move out #include "author.h", "iterators.h".
5688 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5689 * lyx_main.h: move out #include "errorlist.h".
5690 * lyxfunc.h: move out #include "FuncStatus.h".
5691 * lyxtext: move out #include "lyxcursor.h".
5692 * paragraph_pimpl.h: move out #include "counters.h".
5694 2003-09-03 Angus Leeming <leeming@lyx.org>
5696 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5697 preamble_snippets list, enabling us to add snippets to the preamble
5698 only if the snippet was not there already.
5700 2003-09-04 Angus Leeming <leeming@lyx.org>
5702 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5704 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5706 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5709 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5711 * BranchList.C: point fix, earlier forgotten
5713 2003-09-02 Angus Leeming <leeming@lyx.org>
5715 * box.C (contains): renamed from 'contained' after a fantastic
5718 2003-09-02 John Levon <levon@movementarian.org>
5724 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5726 2003-09-02 John Levon <levon@movementarian.org>
5728 * text2.C: simplification of cursorEnd(), including partial
5731 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5733 * buffer.C (readFile): add a space
5735 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5737 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5739 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5741 * buffer.C (readFile): new function, take a filename and a
5742 ParagraphList::iterator
5744 (readFile): adjust, make it private. don't use setStream, make
5745 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5746 always contain the filename.
5748 * BufferView.C (insertLyXFile): simplify and make it work for
5751 2003-08-30 John Levon <levon@movementarian.org>
5753 * Makefile.am: fix dist (from Kayvan)
5755 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5757 * most files: change to use const Buffer refs
5759 2003-08-27 André Pönitz <poenitz@gmx.net>
5761 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5762 on top of ownerPar().
5764 2003-08-27 John Levon <levon@movementarian.org>
5766 * funcrequest.C: properly initialise POD members
5768 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5770 * lyxtext.h (top_y): move top_y from here
5775 * BufferView_pimpl.[Ch]: to here
5776 * frontends/screen.C:
5777 * insets/insettabular.C:
5778 * insets/insettext.C: adjust
5779 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5781 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5784 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5786 2003-08-26 André Pönitz <poenitz@gmx.net>
5788 * paragraph_func.[Ch] (outerPar): new function
5791 * paragraph_funcs.C:
5792 * paragraph_funcs.h:
5793 * paragraph_pimpl.C:
5794 * text2.C: remove Inset::par_owner
5796 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5801 * text2.C: eliminates the needFullRow/display() stuff
5802 altogether, putting the logic in metrics/draw in the insets.
5804 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5806 * text2.C (redoParagraphInternal, redoParagraphs):
5807 * text.C (redoParagraph): add a call to updateRowPositions at the
5808 end of each 'metrics-like' call. Remove all others.
5809 (getRow): remove the 'y-computing' version.
5810 (getRowNearY): do not compute nor return the real y. Solve the
5811 'y < 0' problem and simplify.
5813 2003-08-22 Angus Leeming <leeming@lyx.org>
5815 * *.[Ch]: clean-up of licence and author blurbs.
5816 Also move config.h out of a few .h files and into a few .C files.
5818 2003-08-22 André Pönitz <poenitz@gmx.net>
5820 * lyxrow.[Ch]: add x_ and *fill_ members
5825 * text2.C: adjust/remove prepareToPrint() calls
5827 2003-08-22 André Pönitz <poenitz@gmx.net>
5829 * lyxrow.[Ch]: add end_ member
5831 * lyxrow_funcs.C: use LyXRow::end_
5833 * lyxtext.h (singleWidth): add LyXFont parameter
5836 * text2.C: adjust LyXText::singleWidth() calls
5838 * text.C (redoParagraph): simplify row breaking logic
5841 2003-08-19 André Pönitz <poenitz@gmx.net>
5843 * funcrequest.C: initialize button_ member
5846 * rowpainter.[Ch]: interface consolidation
5848 2003-08-18 André Pönitz <poenitz@gmx.net>
5851 * BufferView_pimpl.C:
5853 * paragraph_funcs.C:
5855 * text3.C: remove LyXScreen::draw() and fitCursor calls
5857 * BranchList.h: remove spurious semicolons
5859 * MenuBackend.C: fix branchlist related crash
5861 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5869 * bufferparams.[Ch]:
5873 * text3.C: implements the 'branch inset'
5874 idea. This allows the output of various versions of a document
5875 from a single source version, selectively outputing or suppressing
5876 output of parts of the text.
5877 This implementation contains a 'branch list editor' in a separate
5878 tab of the document settings dialog. Branches are user definable
5879 and have a "display colour" to distinguish them on-screen.
5881 ColorHandler was somewhat cleaned up.
5882 (1) make possible a dynamically growing LColor list by allowing
5883 the graphic context cache to grow along (vector);
5884 (2) eliminate an IMHO unnecessary step in colour allocation.
5886 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5888 * BufferView_pimpl.C: compile fix
5890 2003-08-15 André Pönitz <poenitz@gmx.net>
5892 * rowpainter.C: remove extra metrics calls
5894 * lyxtext.h: merge the two constructors into a single one,
5895 pass reference to owner's par list
5897 * BufferView_pimpl.C:
5901 2003-08-15 André Pönitz <poenitz@gmx.net>
5903 * lyxrow_funcs.[Ch]:
5906 * paragraph_funcs.C:
5911 * text_funcs.C: split LyXText::rowlist_ into individual
5912 Paragraph::rows_ chunks
5915 * BufferView_pimpl.[Ch]:
5918 * text3.C: remove toggleSelection()
5920 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5922 * bufferlist.C: beautify two alerts (shorter text of buttons)
5923 * buffer.C: Remove redundant ' ' from message
5925 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5926 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5927 rename VALIGN_CENTER to VALIGN_MIDDLE
5929 2003-08-11 André Pönitz <poenitz@gmx.net>
5931 * lyxtext.h (getPar):
5932 * text.C: new function
5934 2003-08-11 André Pönitz <poenitz@gmx.net>
5937 * tracer.[Ch]: remove unneeded files
5939 * InsetList.[Ch]: remove resizeInsetsLyXText()
5944 * text3.C: merge insertParagraphs() and appendParagraph()
5945 remove breakAgain(), update()
5947 * BufferView_pimpl.[Ch]:
5948 * bufferview_funcs.[Ch]:
5952 * tabular.C: adjust after text & InsetList changes.
5954 2003-08-08 André Pönitz <poenitz@gmx.net>
5956 * text.C (insertChar, backspace): replace rowlist fiddling
5957 with rebreak of full par
5960 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5961 checkParagraph, updateInset): removed
5963 2003-08-07 André Pönitz <poenitz@gmx.net>
5966 * text3.C: merge some LFUN handlers, remove dead code
5968 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5970 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5972 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5974 * text2.C (DEPM): fix part of bug 1255 and 1256
5976 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5978 * BufferView_pimpl.C (workAreaDispatch): change to use
5979 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5980 that are no mouse related.
5982 2003-08-05 André Pönitz <poenitz@gmx.net>
5985 * BufferView_pimpl.[Ch]:
5986 * bufferview_funcs.C:
5988 * text3.C: rip out "deep update"
5990 * textcursor.[Ch] (last_sel_cursor): remove unused member
5992 2003-08-04 André Pönitz <poenitz@gmx.net>
5995 * BufferView_pimpl.[Ch]:
5996 * ParagraphParameters.C:
5997 * bufferview_funcs.C:
6003 * text3.C: replace "complicated" BufferView::update(...) calls with
6006 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6008 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6010 * Makefile.am (lyx_SOURCES): add paper.h
6012 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6014 * Makefile.am: move things around so that both lyx-qt and
6015 lyx-xforms can be built (according to --with-frontend). Then lyx
6016 is a symbolic link to lyx-[firstfrontend]
6018 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6020 * Always use std::endl with lyxerr
6022 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6024 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6026 2003-08-01 André Pönitz <poenitz@gmx.net>
6029 * BufferView_pimpl.[Ch]:
6031 * text3.C: merge BufferView::repaint() and BufferView::update()
6033 2003-08-01 José Matos <jamatos@lyx.org>
6035 * buffer.[Ch]: file_format is no longer a buffer data element.
6037 2003-08-01 André Pönitz <poenitz@gmx.net>
6042 * text2.C: make redoParagraph more independent of current cursor
6044 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6046 * text2.C: remove unneeded members
6048 2003-07-30 André Pönitz <poenitz@gmx.net>
6050 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6052 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6053 create a single function...
6055 * paragraph_funcs.C (moveItem): ... here.
6058 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6060 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6062 * LColor.[Ch]: Add comment and greyedout logical colors.
6064 2003-07-30 André Pönitz <poenitz@gmx.net>
6066 * tabular.C: don't use Assert too heavily. This crashes where it
6069 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6071 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6072 is disabled (bug 1232)
6074 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6076 * factory.C: limited 'arg' scope
6078 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6080 * factory.C: fixed Note submenu issues
6082 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6084 * factory.C: submenu for Note/Comment/Greyedout
6086 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6089 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6091 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6094 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6095 greyedout. Patch provided by Jürgen Spitzmüller.
6097 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6099 * kbmap.C (read): fix error message when reading bind files
6101 2003-07-29 Angus Leeming <leeming@lyx.org>
6103 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6104 certainly does not do what it purports to do. I am doing it, and
6105 us, a favour by killing it.
6107 2003-07-28 José Matos <jamatos@lyx.org>
6109 * buffer.C (readBody, do_writeFile):
6110 * paragraph.C(readParagraph): \end_document replaces \the_end.
6112 2003-07-29 André Pönitz <poenitz@gmx.net>
6115 * BufferView_pimpl.[Ch]:
6119 * textcursor.[Ch]: remove toggleToggle & Co
6121 2003-07-28 José Matos <jamatos@fep.up.pt>
6123 * buffer.C (readParagraph):
6124 * params_func (readParToken, readParagraph):
6125 * paragraph.C (write): \layout -> \begin_layout.
6127 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6129 * lyxlex_pimpl.C (setFile): clean up slightly.
6131 * bufferparams.h: add compressed var
6133 * buffer_funcs.C (readFile): adjust for LyXLex change
6134 (newFile): ditto + simplify
6136 * buffer.C (writeFile): handle writing of compressed files
6138 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6139 Check if the file is compressed and set a bufferparm if so.
6141 * Makefile.am (lyx_LDADD): remove explicit -lz
6143 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6145 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6146 makeDocBookFile): put the real LyX version in the first line of
6150 * version.C.in: remove lyx_docversion
6152 * tabular.C (write_attribute): add a template-based version to
6153 write enums properly
6155 2003-07-28 André Pönitz <poenitz@gmx.net>
6160 * text3.C: use doubles again for x-coordinates. They are needed.
6162 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6164 * messages.C (getLocaleDir): use lyx_localedir()
6166 * lyxlex_pimpl.C (setFile): compress stuff
6168 * buffer.C (writeFile): add some compression stuff
6169 (do_writeFile): new func, dont call expliti close... will this
6172 * Makefile.am (lyx_LDADD): add -lz
6174 2003-07-28 José Matos <jamatos@fep.up.pt>
6176 * buffer.C: increment file format.
6177 * paragraph_funcs (readParagraph, readParToken):
6178 * paragraph.C (readParagraph): add \end_layout.
6180 2003-07-27 Angus Leeming <leeming@lyx.org>
6182 * Makefile.am: remove special casing for configure-time setting of
6183 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6185 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6186 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6188 2003-07-26 André Pönitz <poenitz@gmx.net>
6190 * paragraph_func.[Ch]:
6191 * paragraph.C (realizeFont): inline it whereever it is used
6196 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6199 2003-07-26 André Pönitz <poenitz@gmx.net>
6203 * text2.C: get rid of LyXText::need_break_row
6205 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6207 * toc.[Ch]: put namespace toc inside namespace lyx
6209 * MenuBackend.C (expandToc2): adjust for lyx::toc
6212 * lyxfunc.C (dispatch): adjust for lyx::find
6214 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6215 lyx::find instead. Reorganize a bit.
6216 (LyXReplace): rename to replace
6217 (LyXFind): rename to find
6219 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6222 2003-07-26 André Pönitz <poenitz@gmx.net>
6224 * text.C (setHeightOfRow): restrict scope of temporary variable
6226 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6227 code (never has been used?)
6229 2003-07-27 Asger Alstrup <alstrup@local>
6231 * text.C (fill): Optimise algorithm to exploit that we can reuse
6232 the LyXFont for many characters.
6233 (setHeightOfRow): Same thing.
6234 (rowBreakPoint): Same thing.
6236 2003-07-26 Asger Alstrup <alstrup@local>
6238 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6240 * text.C (singleWidth): Spurious font copying in hot-spot
6241 singleWidth avoided. Reorder tests for arabic for efficiency.
6243 * text.C (fill): handle empty paragraphs better.
6245 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6248 * encoding.h: add includes
6250 * lyxrc.C: remove reading of bind files
6252 * lyx_main.C (init): setup bindings and menus only if we have a
6255 * kbmap.C (read): new method. Do the actual reading of bind
6258 * converter.C (dvipdfm_options):
6261 (output): adapt PAPER_* enums.
6263 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6265 * bufferparams.h: remove paper-related enums from there
6267 * paper.h: New file. A trivial header file to hold paper-related
6268 enums. It should later expand to contain many paper-related
6271 * lyxrc.C: declare extern displayTranslator
6273 2003-07-27 José Matos <jamatos@fep.up.pt>
6275 * tabular.[Ch] (linuxdoc): add support for tables and figures
6278 2003-07-27 José Matos <jamatos@fep.up.pt>
6280 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6281 consistency in both functions.
6282 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6284 2003-07-26 Asger Alstrup <alstrup@local>
6286 * rowpainter.C (paintRows): Change algorithm to work directly on
6287 the insets rather than asking every character in the document
6288 whether its an inset.
6290 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6292 * buffer.C (openFileWrite): factorize some code
6294 2003-07-26 Angus Leeming <leeming@lyx.org>
6297 * lyx_main.[Ch]: replace occurances of system_tempdir with
6300 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6302 * rename Inset to InsetOld
6304 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6306 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6307 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6308 which I think is a bit clearer. EDIT is gone, since it was
6309 premature optimisation, and broken for mathed anyway.
6310 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6311 with cursor positioning in insets as well (math insets still do not
6312 work, but that's a different story anyway.) It mysteriously
6313 crashes sometimes with undo in the first paragraph, but I'm fairly
6314 confident that this is a compiler bug.
6316 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6318 * paragraph.C (Paragraph): adjust for new clone return type
6320 (copyIntoMinibuffer): ditto
6322 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6324 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6325 by not having a special case, and always doing a full rebreak of
6326 the document after undo.
6328 2003-07-23 Angus Leeming <leeming@lyx.org>
6330 * factory.C (createInset): InsetExternal::setParams now takes a
6333 2003-07-23 Angus Leeming <leeming@lyx.org>
6335 * factory.C (createInset): changed interface to the external and
6336 graphics mailers' string2params functions.
6338 2003-07-23 Angus Leeming <leeming@lyx.org>
6340 * factory.C (createInset): pass a
6341 Buffer const * parameter to InsetExternalMailer's string2params.
6343 2003-07-22 John Levon <levon@movementarian.org>
6345 * Thesaurus.h: include the right aiksaurus header
6347 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6349 * MenuBackend.C (expand): check menu shortcuts unconditionally
6351 2003-07-21 Angus Leeming <leeming@lyx.org>
6353 * factory.C (createInset): pass a
6354 buffer_path parameter to InsetGraphicsMailer's string2params.
6356 2003-07-21 Angus Leeming <leeming@lyx.org>
6358 * BufferView_pimpl.C (buffer):
6361 * lyxfunc.C (dispatch):
6362 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6363 rather than the grfx shortcut.
6365 2003-07-21 André Pönitz <poenitz@gmx.net>
6367 * rowpainter.C: remove unused variables
6370 * tabular_funcs.h: move to tabular.C
6371 * Makefile.am: adjust
6373 * tabular.[Ch]: basic optical cleaning
6375 * author.h: pass references, not values
6377 2003-07-18 André Pönitz <poenitz@gmx.net>
6385 * text3.C: two-phase drawing for InsetText and InsetTabular
6386 some float -> int changes.
6388 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6390 * lyx_main.C: fix the fix
6392 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6394 * lyx_main.C: fix a crash in batch mode if no files specified
6397 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6399 * format.[Ch] (papersize): moved to BufferParams
6400 * converter.[Ch] (dvips_options): moved to BufferParams
6401 (dvipdfm_options): moved to anon namespace
6402 * bufferparams.[Ch]: added above functions.
6404 2003-07-17 André Pönitz <poenitz@gmx.net>
6408 * text2.C: don't call inset->update() anymore
6410 * metricsinfo.[Ch]: add convenience constructor
6412 2003-07-16 André Pönitz <poenitz@gmx.net>
6417 * text2.C: replace the LyXCursor::irow_ member with
6418 on-demand computation of the value
6420 2003-07-16 John Levon <levon@movementarian.org>
6422 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6424 2003-07-15 André Pönitz <poenitz@gmx.net>
6427 * text2.C: remove no more needed refresh_row
6429 2003-07-15 André Pönitz <poenitz@gmx.net>
6434 * text3.C: refresh_status tristate -> need_update bool
6436 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6438 * lyxtext.h (init): remove reinit argument (act as if always true)
6439 * text2.C: adjust to that
6441 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6443 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6444 * text3.C: use it to delete selections in some cases
6445 (bugs 441, 673, 702, 954).
6447 2003-07-14 André Pönitz <poenitz@gmx.net>
6449 * rowpainter.[Ch]: reduce interface
6451 2003-07-14 André Pönitz <poenitz@gmx.net>
6453 * BufferView_pimpl.C:
6454 * text2.C: adjust after removing unused BufferView * argument
6456 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6458 * text2.C (init): fix a crash fired on resize
6460 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6462 * buffer.[Ch]: added new closing signal
6463 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6464 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6465 BufferView::Pimpl via the closing the signal
6467 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6469 * buffer.[Ch]: take out all bv-related from buffer
6471 * BufferView_pimpl.[Ch]: connect to new signals
6472 * CutAndPaste.C: removed useless asserts
6473 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6476 * lyxfunc.C: moved view-related funciontality from vc here
6477 * paragraph.C: removed outdated comments
6480 2003-07-10 André Pönitz <poenitz@gmx.net>
6482 * BufferView_pimpl.C:
6486 * text2.C: remove InsetText::InnerCache, clean up consequences
6488 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6490 * ispell.C: fix two typos in error messages
6492 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6494 * Extend Note inset to other forms of annotation like Comment
6495 and Greyedout. Right button click gives dialog.
6497 Files modified or added (+):
6501 * ControlNote.[Ch] +
6503 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6504 frontends/controllers
6508 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6510 * aspell.C: add missing namespace lyx::support
6512 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6514 * BufferView.[Ch] (newFile): Add
6515 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6516 * LaTeX.[Ch] (message): added this signal and use it
6517 * buffer.[Ch] (busy, message): added these signals and use them
6518 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6522 * importer.C: use buffer signals instead of direct bv calling
6523 * lyx_cb.[Ch] (ShowMessage): removed
6526 * paragraph_funcs.C:
6527 * text2.C: use buffer signals
6529 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6531 * introduce namespace lyx::graphics
6533 2003-07-02 André Pönitz <poenitz@gmx.net>
6535 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6537 2003-07-01 André Pönitz <poenitz@gmx.net>
6544 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6545 text*.C to text_func.C
6547 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6549 * introduce namespace lyx::support
6551 2003-06-30 André Pönitz <poenitz@gmx.net>
6556 * text.C: re-enable --with-included-string
6558 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6560 * textcursor.C: add <config.h>
6562 * text.C (getWord): remove const from word_location arg
6564 * lyxvc.C (getLogFile): fix const type order
6566 * lyxtext.h: remove const from word_location arg, add arg name
6568 * lyxlayout.h: currect type on labeltype.
6570 * importer.C: correct \file
6572 * converter.C (intToFormat): use std:: on ret val, ws changes
6574 * bufferlist.h: correct \file
6576 * buffer.C (makeLinuxDocFile): fix const type order
6577 (makeDocBookFile): ditto
6578 (fillWithBibKeys): use std:: on stdlib args.
6580 * CutAndPaste.C: fix authors.
6581 (availableSelections): use std:: on return vector
6583 2003-06-27 André Pönitz <poenitz@gmx.net>
6585 * BufferView_pimpl.C:
6586 * bufferview_funcs.C:
6594 * text3.C: remove LyXCursor::row_ member
6597 * text.C: rename fullRebreak() to partialRebreak() and implement
6598 a fullRebreak() that really bereks fully
6600 * textcursor.h: new struct for cursor-related data
6602 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6604 * lyx_main.C (LyX): get full path of document loaded on the
6607 2003-06-26 André Pönitz <poenitz@gmx.net>
6609 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6610 remove unused/broken operator>,<,>=.
6612 * text.C: remove only use of broken operator<= in an Assert().
6614 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6616 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6617 moved errorlist_.clear to showErrorList
6619 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6621 * converter.C (scanLog, runLaTeX):
6622 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6623 move the bv->showErrorList call to the callers
6624 * lyxfunc.C: i.e. here...
6626 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6627 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6628 namespace, the second to...
6629 * buffer_funcs (BufferFormat, parseErrors): added
6630 * errorlist.C (ErrorList(TeXErrors const &)): removed
6632 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6634 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6636 2003-06-24 "Garst R. Reese" <reese@isn.net>
6640 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6642 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6644 * version.C.in: change docversion to 1.4
6646 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6648 * buffer.C: fix a bug just introduced
6650 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6652 * buffer.[Ch]: added the parseError signal and use it, removed
6654 * BufferView.[Ch] (addError): moved to ...
6655 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6656 to the Buffer::parseError signal to catch (guess what) parse errors
6657 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6659 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6661 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6662 ability to create a buffer and to return an existing one from
6663 the list. Moved these functions to...
6664 * buffer_funcs.[Ch]: added
6665 * BufferView.[Ch] (loadLyXFile): added
6666 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6667 job removed from bufferlist::loadLyXFile.
6668 * buffer.C (setReadOnly): make it work without view
6669 (i.e added an if (users))
6671 2003-06-19 Angus Leeming <leeming@lyx.org>
6674 * LyXAction.C (init):
6675 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6676 with LFUN_DIALOG_SHOW <name> <data>.
6678 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6680 * CutAndPaste.C (availableSelections): small compilation fix for
6681 ancient (gcc 2.9x) compilers
6683 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6685 * text3.C (cursorNext): add tmp var
6687 * text2.C (updateCounters): for function calling out of for clause
6688 (replaceSelectionWithString): ditto
6689 (insertStringAsParagraphs): ditto
6690 (getColumnNearX): add tmp var
6691 (setCursorFromCoordinates): add tmp var
6692 (cursorDownParagraph): add tmp var
6693 (deleteEmptyParagraphMechanism): add tmp var
6695 * text.C (insertChar): add tmp var
6697 * rowpainter.C (paintDepthBar): add tmp var
6699 * CutAndPaste.C (availableSelections): potentially check all
6700 paragraphs in a cut to fill the shown strings.
6702 2003-06-18 André Pönitz <poenitz@gmx.net>
6704 * kbmap.[Ch]: use vector<> instead of list<>
6706 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6708 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6709 pasteSelection with index
6711 * text2.C (pasteSelection): modify, call pasteSelection with index
6713 * paragraph.C (asString): reimplement version with no interval to
6714 call the one with interval.
6716 * lyxtext.h: add index arg to pasteSelection
6718 * MenuBackend.C (MenuItem): handle PasteRecent
6719 (Menu::read::Menutags): add md_pasterecent
6721 (expandPasteRecent): new function
6724 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6726 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6728 (availableSelections): new function
6730 2003-06-17 Angus Leeming <leeming@lyx.org>
6732 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6734 2003-06-17 Angus Leeming <leeming@lyx.org>
6737 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6739 * lyxfunc.C (dispatch): invoke it.
6741 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6743 * iterators.C (operator++, ParPosition): reintroduce some
6744 const_cast for the benefit of older compilers.
6746 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6748 * text3.C (dispatch): do not modify clipboard when doing
6749 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6750 LFUN_DELETE_SKIP on a selection selection
6752 2003-06-16 André Pönitz <poenitz@gmx.net>
6758 * tabular.[Ch]: IU of clone() and getLabelList();
6760 2003-06-13 André Pönitz <poenitz@gmx.net>
6762 * tabular.h: compactification
6764 2003-06-12 André Pönitz <poenitz@gmx.net>
6768 * tabular_funcs.h: some renaming plus whitespace
6770 2003-06-12 André Pönitz <poenitz@gmx.net>
6773 * BufferView_pimpl.C:
6779 * toc.C: Return a Paragraph & for ParIterator::operator*()
6781 2003-06-11 John Levon <levon@movementarian.org>
6785 * ToolbarBackend.C: add "Toolbars" section and
6788 2003-06-10 Angus Leeming <leeming@lyx.org>
6791 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6793 * lyxfunc.C (dispatch): invoke it.
6795 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6797 * main.C: protect <ios> with HAVE_IOS
6798 (main): protect sync_with_stdio with HAVE_IOS
6800 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6802 * text2.C (cutSelection): adjust
6803 (pasteSelection): adjust
6805 * messages.C: handle get of empty string
6807 * main.C (main): use sync_with_stdio(false)
6809 * lyxfunc.C (dispatch): adjust
6811 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6812 (WriteAs): remove unneeded BufferView arg.
6814 * bufferparams.h: use correct types on papersize, papersize2 and
6817 * bufferparams.C (readToken): adjust for type
6818 (writeLaTeX): add missing cases to switch.
6820 * bufferlist.C (quitWriteBuffer): adjust
6823 * buffer.C (asciiParagraph): remove some commented code.
6825 * CutAndPaste.C: remove current_view extern variable.
6826 (cutSelection): add BufferParams arg.
6827 (eraseSelection): add BufferParams arg.
6828 (pasteSelection): add Buffer const & arg
6830 2003-06-07 John Levon <levon@movementarian.org>
6833 * paragraph_funcs.C:
6834 * paragraph_pimpl.C:
6838 * paragraph.C: allow InsetERT to freely space lines,
6839 and some consolidation of code
6841 2003-06-06 José Matos <jamatos@fep.up.pt>
6843 * buffer.C (makeDocBookFile): fix bug #821
6845 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6847 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6849 2003-06-04 Angus Leeming <leeming@lyx.org>
6851 * buffer.C: bump format to 224.
6853 2003-06-05 André Pönitz <poenitz@gmx.net>
6855 * text2.C (redoParagraphs): remove two const_cast<>
6857 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6859 * ParagraphList.h: remove last remnants of NO_STD_LIST
6861 2003-06-03 Angus Leeming <leeming@lyx.org>
6863 * factory.C (createInset): small change to the way InsetExternal's params
6866 2003-06-04 André Pönitz <poenitz@gmx.net>
6868 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6870 * paragraph_pimpl.h:
6871 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6873 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6875 * undo_funcs.C: make some simple cases of undo work again
6877 2003-06-03 John Levon <levon@movementarian.org>
6879 * ispell.C: HPUX doesn't have sys/select.h
6882 2003-06-03 John Levon <levon@movementarian.org>
6884 * CutAndPaste.C: update tabular and include inset
6889 * paragraph.C: remove owningBuffer(), don't pass Buffer
6892 * factory.C: insetGraphicsParams changed
6894 2003-06-02 John Levon <levon@movementarian.org>
6900 * text3.C: remove insetparent
6902 2003-06-02 John Levon <levon@movementarian.org>
6905 * buffer.C: fix inset_iterator.end(), move out of line
6908 2003-06-01 John Levon <levon@movementarian.org>
6910 * text3.C: use a proper cut/paste when doing inset
6911 insert (from Jürgen Spitzmüller)
6913 2003-06-01 John Levon <levon@movementarian.org>
6915 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6917 2003-05-30 André Pönitz <poenitz@gmx.net>
6919 * rowpainter.C: unify second drawing phase
6921 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6923 * trans_mgr.C: remove one case of current_view
6925 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6927 * paragraph_funcs.h: remove paragraph.h include
6929 * paragraph.h: delete NO_STD_LIST stuff
6931 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6933 * buffer.h: remove paragraph.h include
6935 * ParagraphList.C: delete file
6937 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6939 * toc.C (getTocList): adjust
6941 * paragraph_pimpl.C (validate): adjust
6943 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6945 * paragraph.C (Paragraph): adjust
6946 (getPositionOfInset): use const_iterator, adjust
6947 (bibitem): use const_iterator, adjust
6948 (setInsetOwner): adjust
6950 * iterators.C (operator++): adjust
6952 * InsetList.[Ch]: Replace selfmade iterator with standard
6953 vector::iterator also introduce const_iterator. Remove getPos,
6954 getInset and setInset from InsetTable. Adjust accordingly.
6956 * BufferView.C (lockInset): adjust
6957 (ChangeInsets): adjust
6959 * tabular.[Ch]: delete commented same_id functions
6961 2003-05-28 John Levon <levon@movementarian.org>
6963 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6965 2003-05-28 André Pönitz <poenitz@gmx.net>
6967 * metricsinfo.[Ch]: remove 'fullredraw' member
6969 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6971 * lyxtextclass.C (operator): remove caching.
6973 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6977 * text2.C (cursorBottom): adjust
6978 (setCounter): use ParagraphList::find, adjust
6980 * text.C (workWidth): use ParagraphList::find, adjust
6982 * lyxcursor.C (LyXCursor): adjust
6984 * buffer.C (inset_iterator): adjust
6986 * ParagraphList.h: make iterator(value_type) private, make
6987 ParagraphList a friend of iterator.
6989 * ParagraphList.C (find): new function
6991 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6993 2003-05-27 André Pönitz <poenitz@gmx.net>
6995 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6997 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6999 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7001 2003-05-26 John Levon <levon@movementarian.org>
7003 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7005 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7007 * remove same_id from function signatures, adjust.
7009 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7011 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7013 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7015 * paragraph.C (Paragraph): get rid of same_ids parameter
7017 * ParagraphList.C (insert): adjust
7020 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7022 * paragraph_funcs.C (breakParagraph): adjust
7023 (breakParagraphConservative): adjust
7025 * buffer.C (readParagraph): adjust
7027 * ParagraphList.C (insert): take a reference instead of a pointer
7030 * paragraph.[Ch] (id): new function
7032 * bufferlist.C (newFile): adjust
7034 * ParagraphList.C (ParagraphList): adjust
7036 (push_back): take a reference instead of a pointer.
7038 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7040 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7043 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7044 set else use old code.
7046 * ParagraphList.C: remove all NO_NEXT code and only compile this
7047 code of NO_STD_LIST is set.
7049 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7051 * BufferView_pimpl.C:
7061 * graphics/GraphicsConverter.C:
7062 * graphics/PreviewLoader.C: header adjustment
7064 2003-05-23 Angus Leeming <leeming@lyx.org>
7066 * LaTeXFeatures.[Ch] (useBabel): new method.
7067 * bufferparams.C (writeLaTeX): use it.
7069 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7071 * ParagraphList.h (set): remove unused function.
7073 2003-05-23 André Pönitz <poenitz@gmx.net>
7076 * BufferView_pimpl.C:
7080 * undo_funcs.C: setUndo reworked
7082 * iterators.[Ch]: add access to topmost ParagraphList
7084 * lyxtext.[Ch] (workWidth): add a const
7086 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7088 * texrow.[Ch] (increasePos): remove function
7089 * exporter.C (export): removed unused var and outdated comment
7091 2003-05-23 Angus Leeming <leeming@lyx.org>
7093 * latexrunparams.h: rename fragile as moving_arg.
7094 * paragraph.C (simpleTeXOnePar): ditto.
7095 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7097 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7099 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7101 (textUndoOrRedo): comment out a currently unused var.
7103 * paragraph.h (NO_NEXT): enable NO_NEXT
7105 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7107 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7109 * exporter.C (Export): adjust for removeAutoInsets removal.
7111 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7113 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7115 * BufferView.[Ch] (removeAutoInsets): delete function
7117 2003-05-22 Angus Leeming <leeming@lyx.org>
7119 * latexrunparams.h: add a free_spacing variable.
7121 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7122 to pass moving_arg, as the data is stored in runparams.fragile.
7124 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7125 to Inset::latexOptional or to simpleTeXOnePar.
7127 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7128 free_spacing arg to Inset::latexOptional.
7130 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7133 2003-05-22 Angus Leeming <leeming@lyx.org>
7135 * latexrunparams.h: add fragile and use_babel variables.
7137 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7138 * buffer.C (makeLaTeXFile): store this returned value in
7139 runparams.use_babel, thus passing it to the inset::latex methods.
7141 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7142 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7144 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7145 longer has a fragile arg, as it is stored in runparams.fragile.
7147 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7148 moving_arg parameter as the data is stored in runparams.fragile.
7150 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7151 a fragile parameter as the data is stored in runparams.fragile.
7153 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7155 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7157 2003-05-22 Angus Leeming <leeming@lyx.org>
7159 * latexrunparams.h: add a 'bool nice' which defaults to false.
7161 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7162 now encapsulated within runparams.
7164 * bufferlist.C (updateIncludedTeXfiles):
7165 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7167 2003-05-22 Angus Leeming <leeming@lyx.org>
7169 * latexrunparams.h: new file containing struct LatexRunParams.
7170 * Makefile.am: add new file.
7172 * LaTeX.[Ch] (c-tor, run):
7173 * buffer.[Ch] (makeLaTeXFile):
7174 * bufferlist.[Ch] (updateIncludedTeXfiles):
7175 * converter.C (convert, scanLog):
7176 * converter.[Ch] (runLaTeX):
7177 * exporter.C (Export):
7178 * paragraph.[Ch] (simpleTeXOnePar):
7179 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7180 * paragraph_funcs.[Ch] (latexParagraphs):
7181 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7182 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7183 pass around a LatexRunParams parameter.
7185 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7187 * paragraph.[Ch]: remove unused constructor
7189 * ParagraphList.C (erase): new function, taking two iterators
7191 2003-05-22 André Pönitz <poenitz@gmx.net>
7193 * undo_funcs.C: remove duplicated code
7195 * iterator.[Ch]: operator=
7197 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7199 * tabular.C (SetMultiColumn): ws changes
7201 * rowpainter.C (paintFirst): get rid of a ->previous
7203 * lyx_cb.C (getPossibleLabel): parlist simplification
7205 * BufferView.C (ChangeInsets): simplify slightly.
7207 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7209 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7210 * lfuns.h: new LFUN_SPACE
7211 * lyxfunc.C: protected space has a new lfun
7212 * paragraph_funcs.C: read new space insets
7214 * factory.C: handle new space insets
7216 2003-05-22 André Pönitz <poenitz@gmx.net>
7219 * BufferView_pimpl.C:
7222 * undo_funcs.C: return a ParIterator from getParFromID.
7224 * iterators.[Ch]: add two const's
7226 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7228 * toc.C (getTocList): adjust
7230 * iterators.[Ch]: rework for parlist
7232 * buffer.C (par_iterator_begin): adjust
7233 (par_iterator_end): adjust
7235 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7237 * BufferView.C (removeAutoInsets): adjust
7238 (ChangeInsets): adjust
7240 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7242 * text.C (top_y): fix bug 1110
7244 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7246 * errorlist.[Ch]: added
7249 * BufferView_pimpl.C:
7250 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7253 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7255 * Makefile.am: ensure that lyx is relinked upon changes to the
7256 various "convenience" libs.
7258 2003-05-20 Angus Leeming <leeming@lyx.org>
7260 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7261 files are compiled in alphabetical order again.
7263 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7265 2003-05-19 Angus Leeming <leeming@lyx.org>
7267 * gettext.[Ch]: remove "char const * _(char const *)".
7269 2003-05-19 André Pönitz <poenitz@gmx.net>
7271 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7280 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7282 2003-05-19 André Pönitz <poenitz@gmx.net>
7286 * lyxtextclass.[Ch]:
7288 * paragraph_funcs.[Ch]:
7290 * text3.C: more insetenv work
7292 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7294 * ParagraphParameters.C (params2string): small bug fixed
7296 2003-05-16 André Pönitz <poenitz@gmx.net>
7299 * bufferview_funcs.C: patch from Kornel Benko to prevent
7300 crash when _(...) is called twice in a statement
7302 2003-05-16 André Pönitz <poenitz@gmx.net>
7309 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7311 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7313 * lyx_main.C (init): remove spurious static_cast
7315 2003-05-14 André Pönitz <poenitz@gmx.net>
7317 * BufferView.C: fix format string
7319 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7321 * BufferView.[Ch] (insertErrors): removed
7322 * BufferView.[Ch] (showErrorList): added
7323 * buffer.C (runChkTeX):
7324 * converter.C (scanLog): call showErrorList instead of inserterrors
7326 2003-05-13 André Pönitz <poenitz@gmx.net>
7328 * BufferView_pimpl.C:
7330 * bufferview_func.C:
7337 * tabular_funcs.h: tostr() from its own header
7339 * ParagraphParameters.C:
7344 * text3.C: STRCONV()
7346 2003-05-12 André Pönitz <poenitz@gmx.net>
7349 * BufferView_pimpl.C:
7353 * ParagraphParameters.C:
7357 * bufferview_funcs.C:
7370 * paragraph_funcs.C:
7374 * text3.C: boost::format -> bformat all over the place
7377 2003-05-09 André Pönitz <poenitz@gmx.net>
7379 * LColor.[Ch]: Pimpl the #include <map> away
7381 2003-05-09 John Levon <levon@movementarian.org>
7383 * bufferlist.C: never remove emergency saves
7385 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7387 * Makefile.am: better lib building
7389 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7391 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7393 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7394 (simpleTeXSpecialChars): adjust
7395 (simpleTeXSpecialChars): adjust
7396 * paragraph.C (simpleTeXOnePar): adjust
7397 * buffer.C (makeLaTeXFile): adjust
7399 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7401 * text2.C (changeDepth): parlist cleanup
7402 (getColumnNearX): ditto
7404 * rowpainter.C (getLabelFont): parlist cleanup
7406 * bufferlist.C (newFile): parlist cleanup
7408 * CutAndPaste.C (eraseSelection): parlist cleanup
7410 * BufferView_pimpl.C (trackChanges): parlist cleanup
7413 * BufferView.C (lockInset): parlist cleanup.
7414 (ChangeInsets): ditto
7416 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7418 * CutAndPaste.h: Update file header.
7420 * CutAndPaste.C: Update file header.
7421 Store the parts cut out of the Document in a limited_stack.
7422 (copySelection): adjust
7423 (pasteSelection): new function, takes the index in the limited stack.
7424 (nrOfParagraphs): adjust
7425 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7426 simplify error inset insertion.
7427 (checkPastePossible): adjust
7429 2003-05-06 John Levon <levon@movementarian.org>
7431 * text2.C: don't cast wrap inset to float
7433 2003-05-05 André Pönitz <poenitz@gmx.net>
7436 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7438 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7439 few naked Paragraph *.
7441 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7443 * bufferparams.C: Output warning if a document with missing
7444 TeX document class is loaded
7445 * exporter.C: Disable TeX exports if the document class is missing
7448 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7449 isTeXClassAvailable()
7451 2003-05-03 John Levon <levon@movementarian.org>
7454 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7455 explicit cursor show/hide
7457 * BufferView_pimpl.h:
7458 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7459 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7461 * lyxfunc.C: hide cursor before dispatching.
7466 * text3.C: remove explicit cursor hides
7468 2003-05-02 André Pönitz <poenitz@gmx.net>
7470 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7473 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7476 * text2.C: tiny whitespace
7478 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7480 * undo_funcs.C: almost only ws changes.
7482 * ParagraphList.C (splice): just return if pl is empty.
7484 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7486 * ParagraphList.C (splice): new function.
7488 * CutAndPaste.C (pasteSelection): use it
7490 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7492 * CutAndPaste.C (pasteSelection): remove the last next and
7493 previous from this file.
7495 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7497 * CutAndPaste.C (pasteSelection): more clean up, user proper
7498 ParagraphList functions for pasteing.
7500 * ParagraphList.C (insert): new function, three arg insert
7502 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7504 * ParagraphList.C (insert): new function, three arg insert
7506 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7509 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7511 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7513 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7515 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7517 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7519 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7520 (copySelection): clean up a bit.
7521 (pasteSelection): use make_pair
7523 * ParagraphList.C (ParagraphList): implement copy constructor
7524 (operator=): implement, base on copy constructor.
7527 * paragraph.C (erase): return a bool
7529 * paragraph_pimpl.C (erasePos): remove function, move contents...
7530 (erase): ... here. Return a bool.
7531 (erase): call erase instead of erasePos.
7533 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7535 * ParagraphList.h: define PitPosPair
7536 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7537 ParagraphList, fix a bug on pasting multiple pars
7538 * text2.C: change interface to C&P
7540 2003-04-30 André Pönitz <poenitz@gmx.net>
7542 * undo_func.C: revert part of yesterday's patch 2
7544 2003-04-30 John Levon <levon@movementarian.org>
7546 * LColor.C: s/tabular/table/
7548 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7550 * text3.C (dispatch): do not convert iterator -> pointer
7551 * undo_funcs.C (setCursorParUndo): ditto
7552 * text_funcs.C (transposeChars): ditto
7554 * text2.C (setLayout): ws changes only
7556 * text.C (breakParagraph): do not convert iterator -> pointer
7558 (acceptChange): ditto
7559 (rejectChange): ditto
7564 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7567 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7569 * text3.C (gotoInset): YABG (yet another bad getChar)
7571 2003-04-29 André Pönitz <poenitz@gmx.net>
7573 * paragraph.h: make operator= private unimplemented as long as
7576 * ParagraphList.C: whitespace
7579 * paragraph_pimpl.[Ch]:
7580 * paragraph_funcs.C:
7582 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7585 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7587 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7589 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7590 * paragraph.[Ch] (erase):
7591 * paragraph_pimpl.[Ch] (erase): change return type and value
7592 * text2.C (cutSelection): some rework
7594 2003-04-28 John Levon <levon@movementarian.org>
7596 * bufferlist.C: changes for unsaved changes dialog
7598 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7600 * bufferlist.C (newFile): set language (messages_) for new
7603 * buffer.C (readFile): ws changes only.
7605 2003-04-28 André Pönitz <poenitz@gmx.net>
7610 * BufferView_pimpl.C:
7611 * BufferView.C: getParFromID related ParagraphList::iterator changes
7613 2003-04-28 André Pönitz <poenitz@gmx.net>
7615 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7618 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7620 * messages.C: remove one more localedir class variable.
7622 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7624 * messages.C (getLocaleDir): singleton generation function
7626 (Messages): add a default constructor.
7628 * main.C (main): do not setup localedir here, do not call
7631 * gettext.C (_): use it.
7632 (gettext_init): delete funciton
7634 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7636 * gettext.C (getLyXMessages): new singleton generating function.
7638 * buffer.C (updateDocLang): adjust
7640 * Makefile.am (messages.o): add target
7641 (main.o): remove target
7643 2003-04-27 John Levon <levon@movementarian.org>
7648 * lyxvc.C: specify cancel button in Alert::prompt
7650 2003-04-26 John Levon <levon@movementarian.org>
7655 * LyXAction.C: add LFUN_INSET_SETTINGS
7657 * lyxfunc.C: don't enable tabular-feature when there's
7658 just any locking inset
7660 2003-04-26 John Levon <levon@movementarian.org>
7662 * bufferlist.C: re-add Cancel to buffer close question
7664 * lyxfunc.C: fix import UI a bit
7666 2003-04-25 John Levon <levon@movementarian.org>
7668 * gettext.C: remove the broken asserts for now
7670 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7672 * messages.C: make case where setlocale cannot comply work better.
7674 * buffer.C (updateDocLang): new function
7675 (changeLanguage): use it
7678 * text2.C (setCounter): use B_ a bit.
7680 * lyxlayout.C (Read): be sure to trim the label strings.
7682 * messages.C (Messages): fix typo in comment
7684 * buffer.C (readFile): set message_ after file is loaded.
7685 (makeDocBookFile): remove double return
7686 (changeLanguage): reset message_ upon language change.
7687 (B_): new func, use this to get translated buffer strings.
7689 * main.C: add myself and Jean Marc as authors.
7691 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7693 * messages.[hC]: pimplify Messages, and three different pimpls to be
7694 used in different circumstances.
7696 * gettext.[Ch]: change for use with new message code.
7698 2003-04-24 André Pönitz <poenitz@gmx.net>
7700 * factory.C: support for eqref
7702 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7704 * messages.[Ch]: add missing char
7706 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7708 * messages.[Ch]: New files
7710 2003-04-18 John Levon <levon@movementarian.org>
7714 * BufferView_pimpl.C:
7718 * text2.C: remove layout-copy/paste (bug 778)
7720 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7722 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7724 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7726 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7727 if they succeed. Act accordingly.
7729 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7731 * text2.C (setCharFont): adjust
7732 (setCounter): adjust
7733 (insertStringAsLines): adjust
7735 * text.C (leftMargin): adjust
7736 (setHeightOfRow): adjust
7738 * rowpainter.C (paintFirst): adjust
7741 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7743 (isFirstInSequence): ditto
7744 (getEndLabel): ditto
7747 * paragraph.C (getParLanguage): comment out some hard stuff.
7749 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7751 (simpleDocBookOnePar): ditto
7752 (makeDocBookFile): use ParagraphList::iterator
7754 * CutAndPaste.C (pasteSelection): adjust
7756 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7758 * text2.C (getFont): adjust
7759 (getLayoutFont): adjust
7760 (getLabelFont): adjust
7762 * paragraph_funcs.C (TeXOnePar): adjust
7764 * buffer.C (simpleLinuxDocOnePar): adjust
7765 (simpleDocBookOnePar): adjust
7767 * CutAndPaste.C (pasteSelection): adjust
7769 * BufferView.C (getEncoding): adjust
7771 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7773 2003-04-16 John Levon <levon@movementarian.org>
7775 * lyxfind.C: use parlist stuff for search/changes
7777 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7779 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7781 * text2.C (deleteEmptyParagraphMechanism): adjust
7783 * text2.[Ch] (ownerParagraph): delete func (both of them
7785 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7787 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7789 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7791 * ParagraphList.C: prepare for NO_NEXT
7793 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7795 * text2.C (getFont): adjust
7796 (getLayoutFont): adjust
7797 (getLabelFont): adjust
7799 * paragraph.C (getFont): adjust
7800 (getLabelFont): adjust
7801 (getLayoutFont): adjust
7803 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7805 2003-04-15 John Levon <levon@movementarian.org>
7809 * lyx_main.C: handle Include in .ui files
7811 2003-04-15 John Levon <levon@movementarian.org>
7813 * MenuBackend.C: make the doc files length shorter
7816 * ToolbarBackend.C: handle toolbar placement flags,
7819 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7821 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7824 * paragraph_funcs.C (TeXOnePar): adjust
7826 * paragraph.C (getLabelFont): add outerfont arg, adjust
7827 (getLayoutFont): ditto
7828 (simpleTeXOnePar): adjust
7830 * paragraph_pimpl.C (realizeFont): delete func
7832 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7834 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7835 row argument, constify cur argument.
7837 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7839 * text2.C (getFont): adjust
7840 (getLayoutFont): adjust
7841 (getLabelFont): adjust
7843 * paragraph_funcs.C (TeXOnePar): adjust
7844 (outerFont): new func...
7845 (realizeFont): ...moved out from here, changed this to facilitate
7848 * paragraph.C (getFont): take outerfont as arg, adjust
7849 (simpleTeXOnePar): add outerfont arg, adjust
7851 * buffer.C (simpleLinuxDocOnePar): adjust
7852 (simpleDocBookOnePar): adjust
7854 * CutAndPaste.C (pasteSelection): adjust
7856 * BufferView.C (getEncoding): adjust
7858 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7860 * text2.C (setCharFont): adjust
7861 (setCounter): adjust
7863 * text.C (leftMargin): adjust
7864 (setHeightOfRow): adjust
7866 * rowpainter.C (paintFirst): adjust
7869 * paragraph_pimpl.C (realizeFont): adjust
7871 * paragraph.C (isFirstInSequence): move from here...
7872 * paragraph_funcs.C (isFirstInSequence): ...to here
7874 * paragraph.C (outerHook): move from here...
7875 * paragraph_funcs.C (outerHook): ...to here
7877 * paragraph.C (depthHook): move from here...
7878 * paragraph_funcs.C (depthHook): ...to here
7880 * paragraph.C (getEndLabel): move from here...
7881 * paragraph_funcs.C (getEndLabel): ...to here
7883 * text2.C (realizeFont): move from here...
7884 * paragraph_funcs.C (realizeFont): ...to here
7886 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7888 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7890 2003-04-14 Angus Leeming <leeming@lyx.org>
7892 * LColor.[Ch]: scrap LColor mathcursor.
7894 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7896 * lyxlex.[Ch] (text): delete function
7897 * trans.C (Load): adjust
7898 * paragraph_funcs.C (readParToken): adjust
7900 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7902 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7903 vector<char> instead of a char[].
7905 * lyxlex_pimpl.C (getString): adjust
7907 (lex): use getString
7911 * lyxlex.C (text): use pimpl_->getString()
7915 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7917 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7918 (makeFontEntriesLayoutSpecific): temp var for par.size()
7919 (setLayout): temp var for ownerParagraphs().end()
7920 (fullRebreak): temp var for rows().end()
7921 (selectionAsString): temp var for boost::next(startpit), realize
7922 that the while really is a regular for loop.
7923 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7924 setCursor in one place.
7925 (setParagraph): temp vr for ownerParagraphs().end()
7926 (updateCounters): make the while loop a for loop
7927 (cutSelection): temp var for ownerParagraphs().end()
7928 (updateInset): make the do {} while() a regular for loop
7929 (getCursorX): use temp vars
7930 (setCurrentFont): use temp vars
7931 (getColumnNearX): use temp vars
7933 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7935 * text.C (transformChar): use temp var for getChar
7936 (computeBidiTables): use temp var for row->par()
7937 (fill): move temp vars for row->par() and pit->layout() earlier in
7939 (labelFill): use temp var for row->par()
7940 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7941 asc and desc, realize that pit never changes and that firstpit is
7942 just a duplicate and not needed. Exchange rit->par() with pit in a
7944 (breakAgain): use a temp var for boost::next(rit)
7945 (breakAgainOneRow): ditto
7946 (breakParagraph): use a temp var for rows().begin()
7947 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7948 (cursorRightOneWord): use temp var for cursor.par() and
7949 cursor.pos(), remove usage of tmpcursor.
7950 (cursorLeftOneWord): use temp var for cursor.par() and
7951 cursor.pos() only set cur at end of function.
7953 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7955 * text.C, text2.C: exchange all usage of Paragraph::next with
7956 boost::next(ParagraphList::iterator)
7958 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7960 * text2.C (cursorTop): simplify implementation
7961 (cursorBottom): ditto
7962 (setParagraph): use ParagraphList::iterator
7963 (setCurrentFont): adjust
7964 (getColumnNearX): adjust
7965 (cursorRight): adjust
7966 (cursorLeft): remove usage of Paragraph::previous
7967 (cursorUpParagraph): ditto
7968 (deleteEmptyParagraphMechanism): slight cleanup
7970 * text.C (isBoundary): take a Paragraph const & instead of a
7972 (addressBreakPoint): ditto
7973 (leftMargin): remove usage of Paragraph::previous.
7974 (setHeightOfRow): ditto
7975 (cursorLeftOneWord): ditto
7976 (selectNextWordToSpellcheck): ditto
7979 (breakParagraph): remove one usage of Paragraph::next
7980 (redoParagraph): ditto
7981 (acceptChange): ditto
7982 (insertChar): adjust
7983 (rowBreakPoint): adjust
7985 * bufferview_funcs.C (toggleAndShow): adjust
7987 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7989 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7990 methods to access it.
7992 * text.C: Added updateRowPositions to compute all row positions.
7993 Make top_y and getRowNearY() to use the cached y position
7995 2003-04-11 John Levon <levon@movementarian.org>
7997 * text.C (rowBreakPoint): reintroduce the labelEnd
7998 checks, code copied from the row fill stuff. Deep voodoo.
8000 * text.C (fill): add a comment and debugging for the
8003 2003-04-11 John Levon <levon@movementarian.org>
8005 * text.C: make sure fullrow insets get wrapped to the next line,
8006 even when they're in a manual label
8008 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8010 * text2.C (insertParagraph): make it take ParagraphList::iterator
8012 (setLayout): make it return ParagraphList::iterator
8013 (redoParagraphs): ditto
8015 (checkParagraph): ditto
8017 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8019 * text2.C: adjust several funcs.
8020 (realizeFont): take a ParagraphList::iterator as arg.
8021 (getLayoutFont): ditto
8022 (getLabelFont): ditto
8023 (setCharFont): ditto
8025 * text.C: adjust several funcs.
8027 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8029 * text.C (selectNextWordToSpellcheck): don't accidentally
8032 2003-04-10 John Levon <levon@movementarian.org>
8034 * ToolbarBackend.C (getIcon): special handling for
8037 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8039 * text2.C (cursorRight): a getChar assert fixed
8041 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8043 * text2.C (getFont): change to take a ParagraphList::iterator
8044 instead of Paragraph*
8045 Adjust several functions.
8047 * text.C (transformChar): change to take a ParagraphList::iterator
8048 instead of Paragraph*
8049 (singleWidth): ditto
8050 Adjust several functions.
8052 * rowpainter.C: adjust several functions
8053 * rowpainter.h:store a ParagraphList::iterator and not a
8057 2003-04-09 John Levon <levon@movementarian.org>
8062 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8063 and the "help" bits as well
8065 2003-04-09 John Levon <levon@movementarian.org>
8068 * ToolbarBackend.C: allow multiple toolbars
8070 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8072 * undo_funcs.C (setCursorParUndo): adjust
8074 * text_funcs.C (transposeChars): adjust
8076 * text3.C (gotoNextInset): adjust
8079 * text2.C (setLayout): adjust
8080 (changeDepth): adjust
8082 (redoParagraphs): adjust
8083 (selectionAsString): adjust
8084 (setParagraph): adjust
8085 (insertInset): adjust
8086 (cutSelection): adjust
8087 (copySelection): adjust
8088 (pasteSelection): adjust
8089 (insertStringAsLines): adjust
8090 (updateInset): adjust
8091 (setCursor): change to take a ParagraphList::iterator parameter
8092 (setCursorIntern): change to take a ParagraphList::iterator parameter
8093 (setCurrentFont): adjust
8094 (cursorLeft): adjust
8095 (cursorRight): adjust
8096 (deleteEmptyParagraphMechanism): adjust
8098 * text.C (breakParagraph): adjust
8099 (insertChar): adjust
8100 (acceptChange): adjust
8101 (rejectChange): adjust
8102 (selectNextWordToSpellcheck): adjust
8103 (changeCase): adjust
8107 * lyxfind.C (SearchForward): adjust
8108 (SearchBackward): adjust
8109 (nextChange): adjust
8111 * lyxcursor.C (par): adjust
8113 * lyxcursor.h: store a ParagraphList::iterator instead of a
8116 * lyx_cb.C (getPossibleLabel): adjust
8118 * bufferview_funcs.C (toggleAndShow): adjust
8120 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8123 * BufferView.C (removeAutoInsets): adjust
8124 (lockedInsetStoreUndo): adjust
8126 2003-04-09 John Levon <levon@movementarian.org>
8128 * ToolbarBackend.C: try icon without argument
8129 if with argument fails
8131 2003-04-08 John Levon <levon@movementarian.org>
8134 * ToolbarBackend.C: add getIcon(), handle tooltip,
8135 and change from "Icon" to "Item".
8137 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8139 * BufferView.C (lockInset): another bad getchar crunched
8141 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8143 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8146 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8148 * lyxfind.C (searchForward, searchBackwards): bug 782
8150 2003-04-07 John Levon <levon@movementarian.org>
8152 * paragraph.C: remove dead comment
8154 * text.C: remove troublesome depth-fiddling code
8155 in leftMargin() and rightMargin() (bug 1017)
8157 * text.C: fix breaking of rows in nested lists
8160 * text2.C (updateCounters): fix up depth values
8163 2003-04-07 John Levon <levon@movementarian.org>
8165 * BufferView_pimpl.C: clear message when doc finishes resizing,
8166 and after a mouse event
8168 * lyxfunc.C: clear message after exiting inset
8170 2003-04-07 John Levon <levon@movementarian.org>
8172 * bufferview_funcs.C: show math status not outside
8173 status in the statusbar
8175 2003-04-07 John Levon <levon@movementarian.org>
8177 * lyxfunc.C: note status changed after a depth change
8179 2003-04-04 Angus Leeming <leeming@lyx.org>
8181 * LaTeX.h: move AuxInfo operator==, != out of line.
8182 Remove LaTeX virtual destructor; nothing derives from it.
8183 Move operator()() out of public area and rename it startscript().
8184 Change protected for private.
8186 2003-04-04 Angus Leeming <leeming@lyx.org>
8189 * text2.C: remove unneeded #includes.
8191 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8193 * text2.C (dEPM): fix the heigth of the next row
8195 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8197 * text.C: squashed an invalid getChar requester + some ws changes
8199 2003-04-03 John Levon <levon@movementarian.org>
8201 * bufferview_funcs.h:
8202 * bufferview_funcs.C:
8205 * text2.C: make getStatus work for the env depth lfuns
8207 2003-04-03 John Levon <levon@movementarian.org>
8209 * bufferview_funcs.h:
8210 * bufferview_funcs.C:
8213 * text2.C: parlistize decDepth(), by merging it with incDepth()
8215 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8217 * lyxrow.h: store a ParagraphList::iterator instead of a
8218 Paragraph* and adjust other class functions to suit.
8220 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8223 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8225 * text2.C (setCursor): do not anchor to cursor row for the time being
8227 2003-04-02 John Levon <levon@movementarian.org>
8234 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8236 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8238 * paragraph.h: make ParagraphList and ParagraphList::iterator
8239 friends of Paragraph.
8241 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8243 * ParagraphList.C: Use the private next_ and previous_ from
8246 2003-04-01 John Levon <levon@movementarian.org>
8250 * Makefile.am: rename, remove defaults gunk
8253 * MenuBackend.C: remove defaults gunk
8256 * Languages.C: remove defaults gunk
8259 * lyx_main.C: error out if files couldn't be found.
8261 2003-04-02 John Levon <levon@movementarian.org>
8263 * text2.C: make incDepth() use parlist
8265 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8267 * undo_funcs.C (firstUndoParagraph): adjust
8269 * text3.C (gotoInset): adjust
8270 (dispatch): adjust, and rewrite loop.
8272 * text2.C (init): adjust, and rewrite loop.
8273 (redoParagraphs): adjust
8274 (updateInset): adjust, and rewrite loop.
8275 (deleteEmptyParagraphMechanism): adjust
8277 * tabular.C (LyXTabular): adjust
8278 (SetMultiColumn): adjust
8281 * lyxtext.[Ch] (ownerParagraph): delete function
8282 (ownerParagraphs): new function returns a ParagraphList.
8284 * BufferView.C (removeAutoInsets): adjust
8285 (insertErrors): adjust
8286 (setCursorFromRow): adjust
8288 2003-04-01 Angus Leeming <leeming@lyx.org>
8290 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8293 2003-04-02 John Levon <levon@movementarian.org>
8299 * text_funcs.C: make transposeChars a free function
8301 * lyxrow_funcs.C: remove wrong comment
8303 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8306 * rowpainter.C: adjust
8311 * lyxrow_funcs. [Ch]: new files
8313 * lyxrow.[Ch]: remove next and previous pointers
8314 (next,previous): remove accessor functions
8315 (isParEnd): move to lyxrow_funcs
8316 (lastPos): move to lyxrow_funcs
8317 (nextRowIsAllInset): move to lyxrow_funcs
8318 (lastPrintablePos): move to lyxrow_funcs
8319 (numberOfSeparators): move to lyxrow_funcs
8320 (numberOfHfills): move to lyxrow_funcs
8321 (numberOfLabelHfills): move to lyxrow_funcs
8322 (hfillExpansion): move to lyxrow_funcs
8326 * bufferview_funcs.C (toggleAndShow): adjust
8328 * RowList.h: Remove class RowList from file leave just a
8331 * RowList.C: delete file
8333 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8336 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8338 * text3.C (cursorPrevious): adjust
8339 (cursorNext): adjust
8342 * text2.C (redoHeightOfParagraph): adjust
8343 (redoDrawingOfParagraph): adjust
8346 * text.C (breakParagraph): adjust
8347 (insertChar): adjust
8350 * rowpainter.C (RowPainter): adjust
8351 (leftMargin): simplify and adjust
8352 (most rowpainter functions): adjust.
8354 * rowpainter.h: store the row as RowList::iterator not as Row*
8356 * lyxcursor.C (row): taka RowList::iterator as arg
8359 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8362 2003-04-01 Angus Leeming <leeming@lyx.org>
8364 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8365 stuff like bool Bool.
8367 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8369 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8372 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8374 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8377 * lyxtext.h (rows): drop one version and leve a const variant that
8378 returns a RowList::iterator.
8380 2003-03-31 Angus Leeming <leeming@lyx.org>
8382 * text.C (fill): ensure that the signature is the same as that in the
8385 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8387 * text2.C (redoParagraphs): adjust
8388 (updateCounters): adjust
8389 (checkParagraph): adjust
8390 (getColumnNearX): adjust and reformat a bit.
8392 * text.C (top_y): adjust
8394 (leftMargin): adjust
8395 (prepareToPrint): adjust
8397 (getRowNearY): adjust
8399 * lyxtext.h: make rowlist_ mutable.
8401 * RowList.h: add const_iterator
8402 * RowList.C: adjust for RowList::const_iterator.
8404 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8407 2003-03-31 John Levon <levon@movementarian.org>
8410 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8412 * lyx_main.C: set default fonts from using lyx_gui funcs
8414 * exporter.C: pdf_mode moved from lyxrc
8417 * lyxfunc.C: changes from above
8419 2003-03-31 John Levon <levon@movementarian.org>
8421 * lyx_main.C: fix to the last fix
8423 2003-03-31 John Levon <levon@movementarian.org>
8425 * bufferlist.C: "Load original" -> "Load Original"
8431 * format.C: more Alert cleanups
8433 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8435 * text2.C (removeParagraph): make it take a RowList::iterator as
8437 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8438 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8440 * text.C (anchor_row): make it take a RowList::iterator as arg,
8442 (computeBidiTables): make it take a const reference to Row instead
8443 of Row pointer, adjust.
8444 (leftMargin): make it take a RowList::iterator as arg, adjust.
8445 (rowBreakPoint): adjust
8446 (breakAgainOneRow): make it take a RowList::iterator as arg,
8448 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8450 * bufferview_funcs.C (toggleAndShow): adjust
8452 2003-03-30 John Levon <levon@movementarian.org>
8456 * boost-inst.C: moved to support
8458 * several files: changes as a result
8460 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8462 * text2.C (LyXText): adjust.
8464 (removeRow): make it take a RowList::iterator as arg, adjust.
8465 (fullRebreak): adjust
8466 (deleteEmptyParagraphMechanism): adjust
8467 (clearPaint): adjust
8470 * text.C (top_y): adjust
8471 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8472 (breakAgain): make it take a RowList::iterator as arg, adjust.
8473 (breakParagraph): adjust
8474 (insertChar): adjust
8477 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8478 need_break_row, and refresh_row.
8480 * text3.C (dispatch): adjust
8482 * text2.C (checkParagraph): adjust
8484 (setCursorFromCoordinates): adjust
8486 * text.C (top_y): adjust
8488 (getRow): make it return a RowList::iterator, adjust
8489 (getRowNearY): make it return a RowList::iterator, adjust
8491 * text2.C (init): adjust
8492 (insertRow): remove function
8493 (insertParagraph): adjust
8494 (redoParagraphs): adjust
8495 (fullRebreak): adjust
8496 (updateCounters): adjust
8498 * text.C (top_y): rewrite to use RowList iterators.
8500 (setHeightOfRow): rewrite to sue RowList iterators.
8501 (appendParagraph): adjust
8502 (breakAgain): adjust
8503 (breakAgainOneRow): adjust
8504 (breakParagraph): adjust
8506 (getRowNearY): adjust, and remove commented code.
8508 * lyxtext.h (firstRow): delete function
8509 (lastRow): delete function
8510 (rows): new function (const and non-const versions.)
8511 (insertRow): delete function
8513 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8515 2003-03-29 John Levon <levon@movementarian.org>
8517 * BufferView_pimpl.C: always update scrollbar top
8518 because pasting text when we're anchored could mean we
8519 miss an update altogether
8521 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8523 * text2.C (init): use rowlist_.end() and not 0.
8524 (insertRow): change to take a RowList::iterator as arg, adjust
8526 (insertParagraph): change to take a RowList::iterator as arg,
8528 (redoParagraphs): remove some debug msgs.
8530 * text.C (appendParagraph): change to take a RowList::iterator
8531 arg, adjust for this.
8532 (breakAgain): add an assert
8533 (breakAgainOneRow): ditto
8535 2003-03-29 John Levon <levon@movementarian.org>
8537 * text2.C: do not clear selection after inc/decDepth
8540 2003-03-29 John Levon <levon@movementarian.org>
8543 * buffer.C: fix broken strerrors according to Lars
8545 2003-03-29 John Levon <levon@movementarian.org>
8547 * converters.C: more Alert cleanups
8549 2003-03-29 John Levon <levon@movementarian.org>
8551 * bufferview_funcs.C: remove pointless Alert
8553 * buffer.C: fix confusing error message when
8554 a template is chmoded 000
8556 2003-03-29 John Levon <levon@movementarian.org>
8560 * BufferView_pimpl.C: Alert fixes
8564 * tabular-old.C: remove unused table compat reading
8566 2003-03-29 John Levon <levon@movementarian.org>
8571 * lyx_cb.C: more Alert cleanups
8573 * lyxfunc.C: don't allow chktex if not latex document
8575 2003-03-29 John Levon <levon@movementarian.org>
8579 * buffer.C: warnings pushed down from support/,
8582 2003-03-29 John Levon <levon@movementarian.org>
8584 * lyxfunc.C: safety check for C-r (revert)
8586 2003-03-29 John Levon <levon@movementarian.org>
8589 * bufferlist.C: several UI fixes using Alert::prompt.
8590 Fix the pointless looping quit code. Fix stupid revert
8595 * lyx_cb.C: use Alert::prompt
8597 * lyx_main.C: remove a silly question
8599 * lyxfunc.C: remove a couple of silly questions,
8602 2003-03-28 John Levon <levon@movementarian.org>
8604 * text2.C: fix bug 974 (End on empty par)
8606 2003-03-28 John Levon <levon@movementarian.org>
8608 * BufferView_pimpl.C:
8610 * lfuns.h: remove do-nothing math greek lfuns
8612 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8614 * lyxgluelength.h (isValidGlueLength): add default arg on
8615 parameter 2. Remove default arg from friend in class.
8617 * lyxlength.h (isValidLength): add default arg on parameter 2.
8618 Remove default arg from friend in class.
8620 * text2.C (LyXText): adjust, initialize refresh_row.
8624 (insertParagraph): adjst
8625 (redoParagraphs): adjust
8626 (fullRebreak): adjust
8627 (updateCounters): adjust
8628 (deleteEmptyParagraphMechanism): first attempt at fixing a
8631 * text.C (top_y): adjust
8632 (setHeightOfRow): adjust
8634 (getRowNearY): adjust
8636 * lyxtext.h: include RowList.h
8637 (~LyXText): not needed anymore, deleted.
8638 (firstRow): modify for RowList
8639 (lastRow): new function
8640 Delete firstrow and lastrow class variables, add a Rowlist
8641 rowlist_ class variable.
8643 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8646 * RowList.C (insert): fix case where it == begin().
8648 2003-03-26 Angus Leeming <leeming@lyx.org>
8650 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8651 the thesaurus dialog.
8653 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8655 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8657 * RowList.[Ch]: new files
8659 * ParagraphList.C (erase): handle the case where it == begin
8662 2003-03-25 John Levon <levon@movementarian.org>
8666 * aspell.C: add new aspell support
8669 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8672 2003-03-25 Angus Leeming <leeming@lyx.org>
8675 * LyXAction.C (init): new LFUN_INSET_INSERT.
8677 * BufferView_pimpl.C (dispatch): split out part of the
8678 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8680 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8683 2003-03-25 Angus Leeming <leeming@lyx.org>
8685 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8687 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8690 * text3.C: remove useless row->height(0)
8692 2003-03-25 John Levon <levon@movementarian.org>
8696 * text3.C: rename the refreshing stuff to better names
8698 2003-03-24 John Levon <levon@movementarian.org>
8700 * BufferView_pimpl.h:
8701 * BufferView_pimpl.C: update layout choice on a mouse
8704 2003-03-23 John Levon <levon@movementarian.org>
8706 * Makefile.am: fix commandtags.h reference
8708 2003-03-22 John Levon <levon@movementarian.org>
8710 * BufferView_pimpl.C:
8715 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8717 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8720 * text.C: take the rtl methods out of line
8722 2003-03-21 André Pönitz <poenitz@gmx.net>
8724 * metricsinfo.[Ch]: new files containing structures to be passed around
8725 during the two-phase-drawing...
8727 2003-03-21 André Pönitz <poenitz@gmx.net>
8729 * lyxtextclass.C: read 'environment' tag.
8731 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8733 * text2.C (removeRow): fix bug 964
8735 2003-03-20 John Levon <levon@movementarian.org>
8739 * text2.C: paint cleanups. Inset::update() dropped font
8742 2003-03-19 John Levon <levon@movementarian.org>
8744 * lyxfunc.C: only fitcursor/markDirty if available()
8746 2003-03-19 John Levon <levon@movementarian.org>
8748 * commandtags.h: rename to ...
8750 * lfuns.h: ... this, and renumber / cleanup
8752 2003-03-19 John Levon <levon@movementarian.org>
8754 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8755 fit the cursor after an lfun
8759 * BufferView_pimpl.h:
8760 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8762 * LyXAction.C: layout-character should have ReadOnly
8764 * ParagraphParameters.C:
8766 * bufferview_funcs.C:
8773 * undo_funcs.C: changes from above
8775 2003-03-18 John Levon <levon@movementarian.org>
8777 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8778 remove it from update()
8780 * lyxfunc.C: update layout choice after an lfun
8782 * text3.C: remove extra updateLayoutChoice()s
8784 2003-03-18 John Levon <levon@movementarian.org>
8786 * text.C: top_y change means full repaint, fix
8787 a drawing bug with cursor movement
8789 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8793 * text2.C: anchor row on setCursor
8795 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8797 * lyxtext.h: remove almost all mutable keywords
8800 * text3.C: remove const keywords accordingly
8802 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8804 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8806 (TeXEnvironment): ditto
8809 2003-03-17 John Levon <levon@movementarian.org>
8811 * text.C (rowBreakPoint): remove attempt to fix displayed
8812 math insets inside a manual label
8814 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8816 * lyxtext.h: remove BufferView* as first arg from almost all class
8818 * other files: adjust.
8820 2003-03-17 John Levon <levon@movementarian.org>
8824 * text2.C: more paint cleanups
8826 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8829 * rowpainter.C: remove "smart" background painting code
8831 2003-03-16 John Levon <levon@movementarian.org>
8836 * text3.C: add helper functions for setting refresh_row/y
8838 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8840 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8841 newline inset which *can* get inserted in the pass_thru layouts.
8842 This is primarily for literate documents.
8844 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8846 * buffer.C: increment LYX_FORMAT to 223
8848 2003-03-14 André Pönitz <poenitz@gmx.net>
8850 * textclass.h: prepare for environment handling, ws changes
8851 * lyxlayout.C: read latexheader and latexfooter tags
8853 2003-03-14 John Levon <levon@movementarian.org>
8855 * text2.C: rewrite ::status() a bit
8857 2003-03-13 John Levon <levon@movementarian.org>
8859 * lyxtext.h: add some docs
8861 2003-03-13 John Levon <levon@movementarian.org>
8866 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8868 2003-03-13 John Levon <levon@movementarian.org>
8870 * text3.C: fix appendix redrawing
8872 2003-03-13 John Levon <levon@movementarian.org>
8874 * text.C (setHeightOfRow):
8876 * rowpainter.C: make appendix mark have the text
8877 "Appendix" so the user knows what it is
8880 * LColor.C: s/appendixline/appendix/ from above
8882 2003-03-13 John Levon <levon@movementarian.org>
8884 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8886 * text.C: fix a getChar(pos) bug properly
8888 2003-03-13 Angus Leeming <leeming@lyx.org>
8891 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8892 Probably only temporary. Let's see how things pan out.
8894 * BufferView.C (unlockInset):
8895 * BufferView_pimpl.C (fitCursor):
8896 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8898 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8899 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8901 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8902 new functions that convert ParagraphParameters to and from a string.
8904 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8905 BufferView::Pimpl's dispatch.
8906 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8908 2003-03-13 André Pönitz <poenitz@gmx.net>
8912 * factory.C: make it aware of InsetEnv
8914 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8916 * text2.C (setCursor): never ask for one past last
8917 (setCursor): add some debugging messages.
8919 * text.C (singleWidth): never ask for one past last
8920 (singleWidth): ditto
8922 (rightMargin): ditto
8923 (rowBreakPoint): ditto
8924 (setHeightOfRow): ditto
8925 (prepareToPrint): ditto
8927 * rowpainter.C (paintBackground): never ask for one past last
8928 (paintText): never ask for one past last
8930 * paragraph_pimpl.C (getChar): make the assert stricter, never
8931 allow the one past last pos to be taken
8933 * paragraph.C (getChar): ws changes only
8935 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8936 (numberOfSeparators): ditto
8937 (numberOfHfills): ditto
8939 2003-03-12 John Levon <levon@movementarian.org>
8945 * paragraph_funcs.C: fix per-buffer authorlists
8947 2003-03-12 John Levon <levon@movementarian.org>
8949 * text.C: fix newline in right address
8951 2003-03-12 Angus Leeming <leeming@lyx.org>
8953 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8954 duplicate those in LyXFunc::dispatch.
8958 * ToolbarDefaults.C:
8959 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8960 Add LFUN_FONTFREE_UPDATE.
8962 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8963 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8965 * bufferview_func.[Ch]: several new functions to facilliate
8966 transfer of data to and from the character dialog.
8968 2003-03-12 John Levon <levon@movementarian.org>
8973 * paragraph_funcs.C:
8974 * paragraph_pimpl.C:
8978 * text3.C: remove META_NEWLINE in favour of an inset
8981 * rowpainter.C: remove paintNewline (done by inset)
8983 2003-03-12 John Levon <levon@movementarian.org>
8985 * paragraph_pimpl.C: complain about bad getChar()s
8986 for a while at least
8988 2003-03-12 John Levon <levon@movementarian.org>
8991 * buffer.C: move paragraph read into a separate function,
8992 a little renaming to reflect that.
8995 * bufferparams.C: remove the author_ids map, not necessary now
8998 * factory.C: moved Buffer::readInset to here
9000 * paragraph_funcs.h:
9001 * paragraph_funcs.C: readParagraph free function moved from
9004 * tabular.C: name change
9006 2003-03-12 John Levon <levon@movementarian.org>
9009 * ParagraphParameters.C: move par params input to
9012 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9013 behave like a normal read from the stream wrt reading
9014 a line vs. a \\token
9016 2003-03-12 John Levon <levon@movementarian.org>
9019 * ParagraphParameters.h:
9020 * ParagraphParameters.C: move output code to a
9023 2003-03-12 John Levon <levon@movementarian.org>
9025 * BufferView.C (insertLyXFile):
9028 * tabular.C: use a parlist iterator for creating the
9031 2003-03-12 John Levon <levon@movementarian.org>
9033 * buffer.C: make current_change static local not
9036 2003-03-12 John Levon <levon@movementarian.org>
9038 * buffer.C: fix insertStringAsLines for change tracking
9040 2003-03-12 John Levon <levon@movementarian.org>
9047 * bufferparams.C: move author list into params. Rename some
9048 functions. Move the header reading into a separate token
9049 loop. Move the header token reading into BufferParams.
9051 2003-03-12 John Levon <levon@movementarian.org>
9053 * changes.C: put debug inside lyxerr.debugging() checks
9055 2003-03-11 André Pönitz <poenitz@gmx.net>
9057 * factory.C: make it aware of InsetHFill
9059 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9061 * buffer.C (latexParagraphs): move function from here...
9062 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9065 2003-03-10 Angus Leeming <leeming@lyx.org>
9067 * LyXAction.C (init): fix bug in poplating array with multiple entries
9068 with the same LFUN (spotted by JMarc).
9070 2003-03-10 John Levon <levon@movementarian.org>
9073 * text2.C: move getColumnNearX() near its
9076 2003-03-10 John Levon <levon@movementarian.org>
9078 * text.C: fix break before a minipage
9080 2003-03-10 John Levon <levon@movementarian.org>
9082 * text.C: fix the last commit
9084 2003-03-09 John Levon <levon@movementarian.org>
9088 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9089 bug 365 (don't break before insets unless needed). Don't
9090 return a value > last under any circumstances.
9092 2003-03-09 Angus Leeming <leeming@lyx.org>
9094 * BufferView_pimpl.C (trackChanges, dispatch): call
9095 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9097 2003-03-09 Angus Leeming <leeming@lyx.org>
9099 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9100 than Dialogs::showAboutlyx().
9102 2003-03-09 Angus Leeming <leeming@lyx.org>
9104 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9105 than Dialogs::showTabularCreate().
9107 2003-03-09 John Levon <levon@movementarian.org>
9111 * text2.C: 3rd arg to nextBreakPoint was always the same.
9114 2003-03-08 John Levon <levon@movementarian.org>
9121 * text2.C: Remove the "main" bit from the "main body"
9124 2003-03-08 John Levon <levon@movementarian.org>
9126 * text.C (leftMargin): The left margin of an empty
9127 manual label paragraph should not include the label width
9130 * text.C (prepareToPrint): don't attempt to measure hfills
9131 for empty manual label paragraphs - the answer should be 0
9133 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9135 * CutAndPaste.C: remove commented code and reindent.
9137 2003-03-08 John Levon <levon@movementarian.org>
9140 * lyxfunc.C: move reloadBuffer()
9143 * BufferView.C: to here
9145 * lyxvc.C: add comment
9148 * vc-backend.C: call bv->reload() to avoid
9149 getStatus() check on MENURELOAD
9151 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9153 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9154 to an old format .dep file.
9156 2003-03-07 Angus Leeming <leeming@lyx.org>
9158 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9159 when the LFUN_MOUSE_RELEASE should have been handled by
9160 inset->localDispatch.
9162 2003-03-07 Angus Leeming <leeming@lyx.org>
9164 * BufferView_pimpl.C (dispatch):
9165 * LyXAction.C (init):
9166 * ToolbarDefaults.C (init):
9168 * lyxfunc.C (getStatus):
9169 remove LFUN_INSET_GRAPHICS.
9171 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9173 2003-03-07 Angus Leeming <leeming@lyx.org>
9176 * LyXAction.C (init):
9177 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9179 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9182 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9184 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9185 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9187 2003-03-07 Angus Leeming <leeming@lyx.org>
9189 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9192 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9194 * ParagraphList.C (front): new function
9197 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9199 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9200 and top_row_offset_. removed var first_y.
9202 * text2.C (LyXText, removeRow):
9204 * BufferView_pimpl.C:
9205 use these methods instead of using first_y
9207 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9209 * text2.C (pasteSelection): adjust for checkPastePossible
9211 * CutAndPaste.C: remove Paragraph * buf and replace with
9212 ParagraphList paragraphs.
9213 (DeleteBuffer): delete
9214 (cutSelection): change the tc type to textclass_type
9215 (copySelection): change the tc type to textclass_type
9216 (copySelection): adjust for ParagraphList
9217 (pasteSelection): change the tc type to textclass_type
9218 (pasteSelection): adjust for Paragraphlist
9219 (nrOfParagraphs): simplify for ParagraphList
9220 (checkPastePossible): simplify for ParagraphList
9221 (checkPastePossible): remove unused arg
9223 * ParagraphList.C (insert): handle the case where there are no
9226 * CutAndPaste.h: make CutAndPaste a namespace.
9228 * text3.C (dispatch): adjust
9230 * text.C (breakParagraph): add a ParagraphList as arg
9232 * paragraph_funcs.C (breakParagraph): change to take a
9233 BufferParams and a ParagraphList as args.
9234 (breakParagraphConservative): ditto
9235 (mergeParagraph): ditto
9236 (TeXDeeper): add a ParagraphList arg
9237 (TeXEnvironment): ditto
9240 * buffer.C (readLyXformat2): adjust
9241 (insertStringAsLines): adjust
9242 (latexParagraphs): adjust
9244 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9245 (cutSelection): adjust
9246 (pasteSelection): adjust
9248 * BufferView_pimpl.C (insertInset): adjust
9250 2003-03-05 Angus Leeming <leeming@lyx.org>
9253 * LyXAction.C (init):
9254 * BufferView_pimpl.C (dispatch):
9255 * lyxfunc.C (getStatus):
9256 remove LFUN_CHILD_INSERT.
9258 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9260 2003-03-05 Angus Leeming <leeming@lyx.org>
9263 * LyXAction.C (init):
9264 * src/factory.C (createInset):
9265 * lyxfunc.C (getStatus):
9266 * text3.C (dispatch):
9267 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9269 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9271 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9273 * ParagraphList.C (insert): handle insert right before end()
9274 (erase): fix cases where it can be first or last paragraph.
9276 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9278 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9279 Paragraph::next and Paragraph::previous
9282 * text.C (breakParagraph): adjust
9284 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9285 BufferParams& as arg.
9286 (breakParagraph): use ParagraphList::insert
9287 (breakParagraphConservative): take a Buffer* instead of a
9288 BufferParams& as arg.
9289 (breakParagraphConservative): use ParagraphList::insert.
9291 * buffer.C (insertStringAsLines): un-const it
9292 (insertStringAsLines): adjust
9294 * ParagraphList.C (insert): new function
9296 * CutAndPaste.C (pasteSelection): adjust
9298 * text.C (backspace): adjust
9300 * tabular.C (SetMultiColumn): adjust
9302 * CutAndPaste.C (cutSelection): adjust
9303 (pasteSelection): adjust
9305 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9306 Buffer const * as arg
9308 * ParagraphList.C (erase): new function
9309 * paragraph_funcs.C (mergeParagraph): use it
9310 (mergeParagraph): make it take a Buffer* instead of a
9311 BufferParams* as arg
9313 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9315 (breakParagraphConservative): ditto
9317 * paragraph.h: remove the breakParagraph friend
9319 * paragraph.C (eraseIntern): new function
9320 (setChange): new function
9322 * paragraph_funcs.C (mergeParagraph): make it take a
9323 ParagraphList::iterator instead of a Paragraph *, adjust
9326 * paragraph.h: move an #endif so that the change tracking stuff
9327 also works in the NO_NEXT case.
9329 2003-03-04 Angus Leeming <leeming@lyx.org>
9332 * LyXAction.C: new LFUN_INSET_MODIFY.
9334 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9335 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9337 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9339 * several files: ws changes only
9341 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9342 (TeXEnvironment): ditto
9345 * buffer.C (makeLaTeXFile): adjust
9346 (latexParagraphs): make it take ParagraphList::iterator as args
9348 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9350 * buffer.C (latexParagraphs): adjust
9352 * paragraph.C (TeXOnePar): move function...
9353 (optArgInset): move function...
9354 (TeXEnvironment): move function...
9355 * paragraph_pimpl.C (TeXDeeper): move function...
9356 * paragraph_funcs.C: ...here
9358 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9360 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9362 * buffer.C (readInset): remove compability code for old Figure and
9365 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9367 * buffer.C: ws changes
9370 * BufferView_pimpl.C: ditto
9373 * bufferlist.h: ditto
9377 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9379 * converter.[Ch]: split into itself +
9382 * Makefile.am: += graph.[Ch] + format.[Ch]
9389 * lyxrc.C: added #include "format.h"
9391 2003-02-27 Angus Leeming <leeming@lyx.org>
9393 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9396 * factory.C (createInset): add "label" to the factory.
9398 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9399 string and do no more.
9401 2003-02-27 Angus Leeming <leeming@lyx.org>
9404 * LyXAction.C (init):
9405 * factory.C (createInset):
9406 * BufferView_pimpl.C (dispatch):
9407 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9409 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9411 * lyxfunc.C (dispatch):
9412 * text3.C (dispatch): pass name to params2string.
9414 2003-02-26 Angus Leeming <leeming@lyx.org>
9416 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9418 Rearrange the ~includes. Strip out the unnecessary ones.
9420 * factory.C (createInset): reformat.
9421 create new insets for the various LFUN_XYZ_APPLY lfuns.
9423 2003-02-26 John Levon <levon@movementarian.org>
9426 * lyxrow.C: add isParStart,isParEnd helpers
9428 * paragraph.h: make isInserted/DeletedText take refs
9430 * paragraph_funcs.h:
9431 * paragraph_funcs.C: remove #if 0'd code
9436 * text.C: use lyxrow helpers above.
9437 Move draw and paint routines to RowPainter.
9438 Make several methods use refs not pointers.
9439 Make backgroundColor() const.
9440 Add markChangeInDraw(), isInInset().
9441 Merge changeRegionCase into changeCase.
9442 Make workWidth() shouldn't-happen code into an Assert.
9445 * rowpainter.C: new class for painting a row.
9448 * vspace.C: make inPixels take a ref
9450 2003-02-26 Angus Leeming <leeming@lyx.org>
9452 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9455 2003-02-25 John Levon <levon@movementarian.org>
9457 * ispell.C: give the forked command a more accurate name
9459 2003-02-22 John Levon <levon@movementarian.org>
9462 * toc.C: make TocItem store an id not a Paragraph *
9465 2003-02-21 Angus Leeming <leeming@lyx.org>
9467 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9468 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9469 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9470 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9471 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9472 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9474 * BufferView_pimpl.C (dispatch):
9475 * LyXAction.C (init):
9476 * factory.C (createInset):
9477 * lyxfunc.C (getStatus, dispatch):
9478 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9480 2003-02-21 Angus Leeming <leeming@lyx.org>
9482 * BufferView_pimpl.C (MenuInsertLyXFile):
9483 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9484 * lyxfunc.C (menuNew, open, doImport):
9485 no longer pass a LyXView & to fileDlg.
9487 2003-02-21 Angus Leeming <leeming@lyx.org>
9489 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9490 * LyXAction.C: change, BIBKEY to BIBITEM.
9491 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9492 Change InsetBibKey to InsetBibitem.
9493 Change BIBKEY_CODE to BIBITEM_CODE.
9494 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9495 * factory.C: replace insetbib.h with insetbibitem.h.
9496 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9497 * paragraph.C: replace insetbib.h with insetbibitem.h.
9498 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9499 Change bibkey() to bibitem().
9500 * text.C: remove insetbib.h.
9501 * text2.C: replace insetbib.h with insetbibitem.h.
9502 change bibkey() to bibitem().
9503 * text3.C: remove insetbib.h.
9504 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9506 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9508 * lyxrc.C (output): enclose user email in quotes (in case there are
9511 2003-02-18 John Levon <levon@movementarian.org>
9513 * buffer.h: add std::
9515 2003-02-17 John Levon <levon@movementarian.org>
9521 * pspell.C: reworking. Especially in ispell, a large
9522 number of clean ups and bug fixes.
9524 * lyxfunc.C: fix revert to behave sensibly
9526 2003-02-17 André Pönitz <poenitz@gmx.net>
9529 * commandtags.h: new LFUN_INSERT_BIBKEY
9539 * paragraph_func.C: remove special bibkey handling
9541 2003-02-17 John Levon <levon@movementarian.org>
9543 * text.C (Delete): fix case where delete at the end of
9544 the very first paragraph would not merge the pars
9546 2003-02-17 John Levon <levon@movementarian.org>
9548 * lyxrow.C: fix lastPrintablePos()
9550 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9552 * bufferparams.C (writeLaTeX): add a std:here
9554 * buffer.C: and remove a using directive there
9556 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9558 * buffer.C (makeLaTeXFile): move the code that generates the
9561 * bufferparams.C (writeLaTeX): ... in this new method
9563 * LaTeXFeatures.C (getEncodingSet): make const
9564 (getLanguages): make const
9566 * MenuBackend.C (binding): returns the binding associated to this
9568 (add): sets the status of each item by calling getStatus. Adds
9570 (read): add support for OptSubMenu
9571 (expand): remove extra separator at the end of expanded menu
9573 2003-02-15 John Levon <levon@movementarian.org>
9576 * BufferView_pimpl.C:
9578 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9579 inset code that had no actual effect. Remove unneeded status
9582 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9584 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9587 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9589 * text.C (drawLengthMarker): also draw an arrow marker for
9590 symbolic lengths (medskip...)
9592 2003-02-14 John Levon <levon@movementarian.org>
9595 * tabular.C: better method names
9597 2003-02-14 John Levon <levon@movementarian.org>
9599 * BufferView_pimpl.C:
9604 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9605 it's a more accurate name. Remove some pointless uses.
9607 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9609 * text2.C (LyXText): change order of initilizers to shut off
9612 2003-02-14 John Levon <levon@movementarian.org>
9614 * buffer.C: use ParIterator for getParFromID()
9618 * paragraph_pimpl.h:
9619 * paragraph_pimpl.C: remove unused getParFromID()
9621 2003-02-14 John Levon <levon@movementarian.org>
9623 * buffer.C: remove some very old #if 0'd parse code
9625 2003-02-13 John Levon <levon@movementarian.org>
9629 * text2.C: move hfillExpansion(), numberOfSeparators(),
9630 rowLast(), rowLastPrintable(), numberofHfills(),
9631 numberOfLabelHfills() ...
9634 * lyxrow.C: ... to member functions here.
9639 * text.C: remove LyXText::beginningOfMainBody(), and call
9640 p->beginningOfMainBody() directly. Move the check for
9641 LABEL_MANUAL into the latter.
9648 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9654 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9655 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9657 2003-02-13 John Levon <levon@movementarian.org>
9659 * CutAndPaste.C: remove debug
9661 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9663 * paragraph.C (asString): remove two unused variables
9665 * lyxtextclass.C (readTitleType):
9667 (LyXTextClass): handle new members titletype_ and titlename_
9669 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9671 2003-02-09 John Levon <levon@movementarian.org>
9674 * buffer.C: replace hand-coded list with a map for the dep clean
9676 2003-02-08 John Levon <levon@movementarian.org>
9678 * LaTeX.C: consolidate code into showRunMessage() helper
9680 2003-02-08 John Levon <levon@movementarian.org>
9685 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9686 and pass the size in explicitly
9688 * BufferView_pimpl.h:
9689 * BufferView_pimpl.C:
9691 * BufferView.C: add getCurrentChange()
9693 * BufferView_pimpl.h:
9694 * BufferView_pimpl.C: handle change lfuns
9696 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9697 for changes. Mark pasted paragraphs as new.
9699 * support/lyxtime.h:
9700 * support/lyxtime.C:
9701 * DepTable.C: abstract time_t as lyx::time_type
9704 * LColor.C: add colours for new text, deleted text, changebars
9706 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9707 package use "usenames" option.
9711 * LyXAction.C: add change lfuns
9715 * author.C: author handling
9718 * buffer.C: add a per-buffer author list, with first entry as
9719 current author. Handle new .lyx tokens for change tracking. Output
9720 author list to .lyx file. Output dvipost stuff to .tex preamble.
9721 Bump lyx format to 222.
9724 * bufferlist.C: add setCurrentAuthor() to reset current author details
9728 * bufferparams.C: add param for tracking
9730 * bufferview_funcs.C: output change info in minibuffer
9734 * changes.C: add change-tracking structure
9737 * debug.C: add CHANGES debug flag
9740 * lyxfind.C: add code for finding the next change piece
9743 * lyxrc.C: add user_name and user_email
9746 * lyxrow.C: add a metric for the top of the text line
9749 * text.C: implement accept/rejectChange()
9752 * text.C: paint changebars. Paint new/deleted text in the chosen
9753 colours. Strike through deleted text.
9757 * paragraph_pimpl.h:
9758 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9759 in the current change to the insert functions. Rework erase to
9760 mark text as deleted, adding an eraseIntern() and a range-based
9761 erase(). Implement per-paragraph change lookup and
9764 * paragraph_funcs.C: Fixup paste for change tracking.
9766 * tabular.C: mark added row/columns as new.
9768 * text.C: fix rowLast() to never return -1. Don't allow
9769 spellchecking of deleted text. Track transpose changes. Don't
9770 allow paragraph break or merge where appropriate.
9772 * text2.C: leave cursor at end of selection after a cut.
9774 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9776 * text.C (getLengthMarkerHeight):
9777 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9778 visible on screen too.
9780 2003-02-07 John Levon <levon@movementarian.org>
9782 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9784 2003-02-05 Angus Leeming <leeming@lyx.org>
9786 * lyxserver.C (read_ready): revert my patch of 11 September last year
9787 as it sends PC cpu through the roof. Presumably this means that
9788 the lyxserver will no longer run on an Alpha...
9790 2003-01-30 Angus Leeming <leeming@lyx.org>
9792 * factory.C (createInset): create an InsetCommandParam of type "index"
9793 and use it to 'do the right thing'.
9795 * text2.C (getStringToIndex): ensure that cursor position is always
9796 reset to the reset_cursor position.
9798 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9800 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9803 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9807 * lyxfunc.C: Output messages with identical spelling, punctuation,
9810 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9812 * MenuBackend.C (expandFormats): List only viewable export formats
9815 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9818 * lyxfunc.C (getStatus): Make sure that formats other than
9819 "fax" can also be disabled
9821 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9823 * text3.C (dispatch): put the lfuns that insert insets in 3
9824 groups, and call doInsertInset with appropriate arguments.
9825 (doInsertInset): new function, that creates an inset and inserts
9826 it according to some boolean parameters.
9828 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9830 * buffer.C (readFile): remember to pass on 'par' when calling
9831 readFile recursively.
9833 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9835 * MenuBackend.C (expandFormats): add "..." to import formats.
9837 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9839 * paragraph.C (asString): Remove XForms RTL hacks.
9841 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9842 * buffer.C: fix typo
9844 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9846 * Makefile.am (LIBS): delete var
9847 (lyx_LDADD): add @LIBS@ here instead.
9849 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9851 * Clarify the meaning of "wheel mouse jump"
9853 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9855 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9858 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9860 * importer.C (Loaders): do not preallocate 3 elements in the
9861 vector, since one ends up with 6 elements otherwise
9863 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9865 * DepTable.C (write): write the file name as last element of the
9866 .dep file (because it may contain spaces)
9867 (read): read info in the right order
9869 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9871 * paragraph_pimpl.C (simpleTeXBlanks):
9872 (simpleTeXSpecialChars):
9873 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9875 * tabular.C (latex): add some missing case statements. Reindent.
9877 * MenuBackend.C (expandToc): remove unused variable.
9879 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9888 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9891 2003-01-05 John Levon <levon@movementarian.org>
9894 * BufferView.C: add getEncoding()
9897 * kbsequence.C: do not store last keypress
9900 * lyxfunc.C: store last keypress here instead. Pass encoding
9903 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9905 * lyx_main.C (init): remove annoying error message when following
9906 symbolic links (bug #780)
9908 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9910 * text.C (insertChar):
9911 * lyxrc.C (getDescription): remove extra spaces
9913 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9915 * lyxrc.C (getDescription): remove extra spaces
9917 2002-12-20 John Levon <levon@movementarian.org>
9919 * text3.C: hack fix for page up/down across tall rows
9921 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9923 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9926 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9928 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9929 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9930 thesaurus is not compiled in
9932 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9934 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9936 2002-12-16 Angus Leeming <leeming@lyx.org>
9939 * lyx_main.C (init): remove override_x_deadkeys stuff.
9941 2002-12-12 John Levon <levon@movementarian.org>
9943 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9944 insert. Only remove shift modifier under strict
9947 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9949 * MenuBackend.C (expandToc): fix crash.
9951 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9953 * MenuBackend.C (expandToc): gettext on float names.
9955 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9957 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9958 implement bool empty() [bug 490]
9960 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9962 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9964 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9966 * several files: ws changes
9968 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9970 * text2.C (setCounter): clean up a bit, use boost.format.
9971 (updateCounters): initialize par upon declaration.
9973 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9974 if the layout exists. We do not just store the layout any more.
9975 (SwitchLayoutsBetweenClasses): use boost.format
9977 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9979 * converter.C (convert): if from and to files are the same, use a
9980 temporary files as intermediary
9982 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9985 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9987 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9989 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9991 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9993 * tabular.C (asciiPrintCell): use string(size, char) instead of
9996 * sgml.C (openTag): fix order of arguments to string constructor
9999 * lyxfunc.C (dispatch): use boost.format
10001 * lots of files: change "c" -> 'c'
10003 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10005 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10007 2002-11-25 Angus Leeming <leeming@lyx.org>
10009 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10011 * lyx_main.C (init): compile fix.
10013 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10015 * lyx_cb.C (start): boost.formatify
10016 do not include <iostream>
10018 * lengthcommon.C: ws only
10020 * boost-inst.C,BoostFormat.h: add more explict instantations
10022 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10024 * lots of files: handle USE_BOOST_FORMAT
10026 2002-11-21 John Levon <levon@movementarian.org>
10028 * pspell.C: fix compile
10030 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10032 * lyxfunc.C (dispatch): use boost::format
10036 * lyxfont.C (stateText): use boost::format
10038 * lyx_main.C (LyX): use boost::format
10040 (queryUserLyXDir): ditto
10041 (readRcFile): ditto
10043 (typedef boost::function): use the recommened syntax.
10045 * importer.C (Import): use boost::format
10047 * debug.C (showLevel): use boost::format
10049 * converter.C (view): use boost::format
10054 * bufferview_funcs.C (currentState): use boost::format
10056 * bufferlist.C (emergencyWrite): use boost::format
10058 * buffer.C (readLyXformat2): use boost::format
10059 (parseSingleLyXformat2Token): ditto
10061 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10063 * LaTeX.C (run): use boost::format
10065 * Chktex.C (scanLogFile): use boost::format
10067 * BufferView_pimpl.C (savePosition): use boost::format
10068 (restorePosition): ditto
10069 (MenuInsertLyXFile): ditto
10071 * BoostFormat.h: help file for explicit instation.
10073 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10075 * tabular.C (latex): Support for block alignment in fixed width
10078 2002-11-17 John Levon <levon@movementarian.org>
10080 * BufferView_pimpl.C:
10082 * lyxfunc.C: split filedialog into open/save
10084 2002-11-08 Juergen Vigna <jug@sad.it>
10086 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10087 by my last patch (hopefully).
10089 2002-11-08 John Levon <levon@movementarian.org>
10098 * toc.C: ParConstIterator, and use it (from Lars)
10100 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10102 * lyxtextclass.[Ch]: revise and add doxygen comments
10104 2002-11-07 John Levon <levon@movementarian.org>
10106 * text.C: fix progress value for spellchecker
10108 * toc.C: fix navigate menu for insetwrap inside minipage
10110 * paragraph_funcs.C: added FIXME for suspect code
10112 2002-11-07 John Levon <levon@movementarian.org>
10114 * BufferView_pimpl.C: fix redrawing of insets
10117 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10119 * text2.C (updateCounters): fix bug 668
10121 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10123 * text3.C (dispatch): Do not make the buffer dirty when moving the
10126 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10128 * vc-backend.C: STRCONV
10129 (scanMaster): ditto
10131 * text2.C (setCounter): STRCONV
10133 * paragraph.C (asString): STRCONV
10135 * lyxlength.C (asString): STRCONV
10136 (asLatexString): ditto
10138 * lyxgluelength.C (asString): STRCONV
10139 (asLatexString): ditto
10141 * lyxfunc.C (dispatch): STRCONV
10144 * lyxfont.C (stateText): STRCONV
10146 * importer.C (Import): STRCONV
10148 * counters.C (labelItem): STRCONV
10149 (numberLabel): ditto
10150 (numberLabel): remove unused ostringstream o
10155 * bufferview_funcs.C (currentState): STRCONV
10157 * buffer.C (readFile): STRCONV
10158 (asciiParagraph): ditto
10159 (makeLaTeXFile): ditto
10161 * Spacing.C (writeEnvirBegin): STRCONV
10163 * LaTeXFeatures.C (getLanguages): STRCONV
10164 (getPackages): ditto
10166 (getBabelOptions): ditto
10167 (getTClassPreamble): ditto
10168 (getLyXSGMLEntities): ditto
10169 (getIncludedFiles): ditto
10173 (scanAuxFile): ditto
10176 * LString.h: add the STRCONV macros
10178 * BufferView_pimpl.C (savePosition): STRCONV
10179 (restorePosition): ditto
10180 (MenuInsertLyXFile): ditto
10182 * vc-backend.C (scanMaster): change from submatch[...] to
10185 * funcrequest.C: include config.h
10187 * factory.C: include config.h
10189 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10191 * box.C: include config.h
10193 * LaTeX.C (scanAuxFile): change from submatch[...] to
10197 2002-10-25 Angus Leeming <leeming@lyx.org>
10199 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10201 * ispell.[Ch] (setError): new method.
10202 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10203 Use setError() insetead of goto END.
10205 * lyx_cb.C (AutoSave): move out child process into new class
10208 2002-10-30 John Levon <levon@movementarian.org>
10210 * text3.C: make start appendix undoable
10212 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10214 * lyxlength.C (inPixels): Fix returned value.
10216 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10219 2002-10-24 Angus Leeming <leeming@lyx.org>
10221 * lyxgluelength.h: no need to forward declare BufferParams
10222 or BufferView, so don't.
10224 2002-10-21 John Levon <levon@movementarian.org>
10226 * BufferView.C: menuUndo ->undo, redo
10228 * BufferView.h: document, remove dead, make some methods private
10230 * paragraph_funcs.h:
10231 * paragraph_funcs.C:
10232 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10237 * sgml.C: move sgml open/close tag into sgml.C
10239 * bufferview_funcs.h: unused prototype
10242 * lyxfunc.C: remove unused
10245 * text.C: remove unused
10247 2002-10-21 John Levon <levon@movementarian.org>
10251 * BufferView_pimpl.h:
10252 * BufferView_pimpl.C: fix mouse wheel handling based on
10253 patch from Darren Freeman
10255 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10257 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10259 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10261 * lyxlength.C (inPixels): Fix hanfling of negative length.
10262 Fix LyXLength::MU case.
10264 2002-10-16 John Levon <levon@movementarian.org>
10266 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10268 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10270 * converter.C (view): add support for $$i (file name) and $$p
10271 (file path) for the viewer command. If $$i is not specified, then
10272 it is appended to the command (for compatibility with old syntax)
10274 2002-10-14 Juergen Vigna <jug@sad.it>
10276 * undo_funcs.C (textHandleUndo): alter the order in which the
10277 new undopar is added to the LyXText, as we have to set first
10278 the right prev/next and then add it as otherwise the rebuild of
10279 LyXText is not correct. Also reset the cursor to the right paragraph,
10280 with this IMO we could remove the hack in "redoParagraphs()".
10282 2002-10-09 Angus Leeming <leeming@lyx.org>
10284 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10285 to turn off an optimisation if a new inset is to be inserted.
10287 2002-10-11 André Pönitz <poenitz@gmx.net>
10289 * lyxtext.h: make some functions public to allow access
10290 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10292 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10294 * text3.C (dispatch): when changing layout, avoid an infinite loop
10297 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10299 * lyxrc.C (read): treat a viewer or converter command of "none" as
10302 * MenuBackend.C (expandFormats): for an update, also allow the
10303 formats that are not viewable
10305 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10306 script if it is newer than the lyxrc.defaults in user directory
10308 2002-10-07 André Pönitz <poenitz@gmx.net>
10310 * text.C: Vitaly Lipatov's small i18n fix
10312 2002-09-25 Angus Leeming <leeming@lyx.org>
10314 * ispell.h: doxygen fix.
10316 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10318 * buffer.h (readFile): Add a new argument to the method, to allow
10319 reading of old-format templates.
10321 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10323 * toc.C (getTocList): Get TOC from InsetWrap.
10325 2002-09-16 John Levon <levon@movementarian.org>
10327 * lyxfunc.C: check tabular for cut/copy too
10329 2002-09-12 John Levon <levon@movementarian.org>
10331 * LyXAction.C: tidy
10334 * factory.C: add header
10336 * paragraph_funcs.h:
10337 * paragraph_funcs.C: cleanup
10339 2002-09-11 John Levon <levon@movementarian.org>
10341 * PrinterParams.h: odd/even default to true
10343 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10345 * PrinterParams.h: update printer parameters for new xforms dialog
10347 2002-09-11 Angus Leeming <leeming@lyx.org>
10349 * lyxserver.C (read_ready): re-write to make it more transparent
10350 and to make it work in coherent fashion under Tru64 Unix.
10352 2002-09-11 André Pönitz <poenitz@gmx.net>
10356 * text3.C: implement LFUN_WORDSEL
10358 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10360 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10361 make floatlist_ a boost::shared_ptr<FloatList>
10363 * lyxtextclass.C: include FloatList.h
10364 (LyXTextClass): initialize floatlist_
10365 (TextClassTags): add TC_NOFLOAT
10366 (Read): match "nofloat" to TC_NOFLOAT and use it.
10367 (readFloat): modify call to floatlist_
10371 * FloatList.[Ch] (FloatList): remove commented out float
10373 (erase): new function
10375 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10377 * MenuBackend.C (expandToc): fix crash when there is no document
10380 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10382 * many files: Add insetwrap.
10384 2002-09-09 John Levon <levon@movementarian.org>
10386 * text2.C: remove confusing and awkward depth wraparound
10388 2002-09-09 John Levon <levon@movementarian.org>
10390 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10393 * buffer.C: remove getIncludeonlyList()
10396 * lyxfunc.C: remove headers
10398 2002-09-09 Juergen Vigna <jug@sad.it>
10400 * text.C (getColumnNearX): fix form Michael this is most
10401 probably a cut&paste bug.
10403 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10405 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10407 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10408 references, ws changes.
10410 * text2.C (init): update counters after init
10411 (insertParagraph): no need to set counter on idividual paragraphs.
10412 (setCounter): access the counters object in the textclass object
10413 on in the buffer object.
10414 (updateCounters): ditto
10416 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10417 shared_ptr<Counters> to avoid loading counters.h in all
10419 (LyXTextClass): initialize ctrs_
10420 (TextClassTags): add TC_COUNTER, and ...
10421 (Read): use it here.
10422 (CounterTags): new tags
10423 (readCounter): new function
10424 (counters): new funtion
10425 (defaultLayoutName): return a const reference
10427 * counters.C (Counters): remove contructor
10428 (newCounter): remove a couple of unneeded statements.
10429 (newCounter): simplify a bit.
10430 (numberLabel): some small formatting changes.
10432 * buffer.[Ch]: remove all traces of counters, move the Counters
10433 object to the LyXTextClass.
10435 2002-09-06 Alain Castera <castera@in2p3.fr>
10437 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10438 package to set the horizontal alignment on fixed width columns.
10441 * lyx_sty.h: added tabularnewline macro def.
10443 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10445 2002-09-06 John Levon <levon@movementarian.org>
10447 * LyXAction.C: tooltips for sub/superscript
10449 * MenuBackend.C: a bit more verbose
10451 * lyxfunc.C: tiny clean
10453 * undo_funcs.C: document undo_frozen
10455 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10457 * counters.C (Counters): add missing algorithm counter.
10459 * text2.C (setCounter): lookup the counter with layouts latexname
10460 instead of by section number.
10461 (setCounter): use a hackish way to lookup the correct enum
10463 a float name->type change
10464 reset enum couners with counter name directly instead of depth value.
10466 * counters.C (Counters): remove the push_backs, change to use the
10467 float type not the float name.
10468 (labelItem): remove unused string, float name->type change
10470 * counters.h: don't include vector, loose the enums and sects vectors
10472 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10474 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10475 (Read): add float->TC_FLOAT to textclassTags
10476 (Read): and handle it in the switch
10477 (readFloat): new function
10479 * FloatList.C (FloatList): comment out the hardcoded float
10482 * lyxlayout.h: ws change.
10484 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10486 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10488 2002-09-03 Angus Leeming <leeming@lyx.org>
10490 * BufferView_pimpl.h: qualified name is not allowed in member
10491 declaration: WorkArea & Pimpl::workarea() const;
10493 * factory.C: added using std::endl directive.
10495 * text3.C: added using std::find and std::vector directives.
10497 2002-08-29 André Pönitz <poenitz@gmx.net>
10500 * text2.C: remove unused member number_of_rows
10503 * BufferView2.C: remove file, move contents to...
10504 * BufferView.C: ... here
10506 * BufferView_pimpl.C:
10507 * factory.C: move more inset creation to factory
10509 * vspace.C: avoid direct usage of LyXText, ws changes
10512 don't provide direct access to WorkArea, use two simple
10513 acessors haveSelction() and workHeight() instead
10516 2002-08-29 John Levon <levon@movementarian.org>
10518 * BufferView_pimpl.C (dispatch): do not continue when
10521 2002-08-28 André Pönitz <poenitz@gmx.net>
10523 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10526 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10528 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10530 * buffer.C: increment LYX_FORMAT to 221
10532 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10533 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10535 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10537 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10539 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10541 * factory.C (createInset): use LyXTextClass::floats
10543 * MenuBackend.C (expandFloatListInsert):
10544 (expandFloatInsert):
10547 * text2.C (setCounter):
10549 * LaTeXFeatures.C (useFloat):
10550 (getFloatDefinitions):
10552 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10554 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10555 floatlist_, with accessor floats().
10557 * FloatList.h: remove global FloatList
10559 2002-08-26 André Pönitz <poenitz@gmx.net>
10561 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10565 * BufferView_pimpl.C:
10566 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10568 2002-08-25 John Levon <levon@movementarian.org>
10570 * LyXAction.C: fix margin note description
10572 2002-08-24 John Levon <levon@movementarian.org>
10576 * bufferview_funcs.C:
10578 * undo_funcs.C: cleanups
10580 * lyxfunc.C: disable CUT/COPY when no selection
10582 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10584 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10585 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10587 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10588 Add backward compatibility to "mono", "gray" and "no".
10590 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10592 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10593 (and file_format >= 200).
10595 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10597 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10599 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10601 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10603 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10605 * BufferView_pimpl.C:
10612 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10613 inset and code to make it work with the paragraph code. The inset
10614 can be anywhere in the paragraph, but will only do the expected
10615 thing in LaTeX if the layout file contains the parameter line
10617 (or more generally, a nonzero value) for that layout.
10619 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10621 * paragraph.h: remove the declaration of undefined counters class
10624 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10626 * text2.C (setCounter): fixed enumeration mis-count as reported by
10627 Dr. Richard Hawkins.
10629 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10631 * paragraph_funcs.h: remove some unneeded includes
10633 * text.C (backspace): pasteParagraph now in global scipe
10635 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10636 (pasteSelection): ditto
10638 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10639 * paragraph_funcs.C (pasteParagraph): ... here
10641 2002-08-20 André Pönitz <poenitz@gmx.net>
10643 * commandtags.h: new LFUNs for swapping/copying table row/colums
10646 * lyxfunc.C: support for new lfuns
10648 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10651 * buffer.[Ch]: remove NO_COMPABILITY stuff
10653 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10655 * boost.C (throw_exception): new file, with helper function for
10656 boost compiled without exceptions.
10661 * ParameterStruct.h:
10662 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10664 * bufferlist.C (emergencyWriteAll): use boost bind
10666 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10668 * text.C: include paragraph_funcs.h
10669 (breakParagraph): breakParagraph is now in global scope
10671 * paragraph_funcs.[Ch]: new files
10673 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10676 * buffer.C: include paragraph_funcs.h
10677 (insertStringAsLines): breakParagraph is now in global scope
10679 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10682 * CutAndPaste.C: include paragraph_funcs.h
10683 (cutSelection): breakParagraphConservative is now in global scope
10684 (pasteSelection): ditto
10686 * buffer.h: declare oprator== and operator!= for
10687 Buffer::inset_iterator
10689 * bufferlist.C (emergencyWrite): don't use fmt(...)
10691 * text3.C: add using std::endl
10693 * BufferView.C (moveCursorUpdate): remove default arg
10695 2002-08-20 André Pönitz <poenitz@gmx.net>
10697 * buffer.[Ch]: move inline functions to .C
10700 * BufferView_pimpl.C:
10702 * buffer.[Ch]: use improved inset_iterator
10705 * paragraph.[Ch]: write one paragraph at a time
10707 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10709 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10710 style if style is not specified.
10712 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10714 * text2.C (setCounter): when searching for right label for a
10715 caption, make sure to recurse to parent insets (so that a caption
10716 in a minipage in a figure float works) (bug #568)
10718 2002-08-20 André Pönitz <poenitz@gmx.net>
10720 * text3.C: new file for LyXText::dispatch() and helpers
10722 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10724 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10726 2002-08-19 André Pönitz <poenitz@gmx.net>
10729 * text.C: new LyXText::dispatch()
10731 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10733 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10735 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10737 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10740 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10742 * Makefile.am: use $(variables) instead of @substitutions@
10744 2002-08-15 André Pönitz <poenitz@gmx.net>
10747 * BufferView_pimpl.C: streamlining mathed <-> outer world
10751 * LyXAction.C: remove unused LFUN_MATH
10753 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10755 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10757 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10759 * paragraph.C (Paragraph): reformat a bit
10760 (cutIntoMinibuffer): use builtin InsetList function instad of
10764 * buffer.C: include boost/bind.hpp, add using std::for_each
10765 (writeFileAscii): use ParagraphList iterators
10766 (validate): use for_each for validate traversal of paragraphs
10767 (getBibkeyList): use ParagraphList iterators
10768 (resizeInsets): use for_each to resizeInsetsLyXText for all
10770 (getParFromID): use ParagraphList iterators
10772 * BufferView2.C (lockInset): use paragraph list and iterators
10774 2002-08-14 John Levon <levon@movementarian.org>
10776 * lyxserver.C: remove spurious xforms include
10778 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10780 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10782 2002-08-13 André Pönitz <poenitz@gmx.net>
10785 * lyxfunc.C: further cleaning
10787 2002-08-13 André Pönitz <poenitz@gmx.net>
10789 * funcrequest.h: new constructor
10791 * funcrequest.C: move stuff here from .h
10794 * BufferView_pimpl.C:
10797 * lyxfunc.C: subsequent changes
10799 * lyxfunc.h: new view() member function
10801 * lyxfunc.C: subsequent changes
10803 2002-08-13 Angus Leeming <leeming@lyx.org>
10806 * BufferView_pimpl.C:
10814 changes due to the changed LyXView interface that now returns references
10815 to member variables not pointers.
10817 2002-08-13 Angus Leeming <leeming@lyx.org>
10819 * WordLangTuple (word, lang_code): return references to strings,
10824 * lyxtext.h: forward-declare WordLangTuple.
10829 * text.C: #include "WordLangTuple.h".
10832 * text.C: (selectNextWordToSpellcheck): constify return type.
10834 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10840 * paragraph_pimpl.h:
10843 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10844 suggested by Angus.
10845 Made updateCounter always count from start of buffer, and removed
10846 second argument (par).
10847 Reverted floats number display to '#'. Perhaps I'll try again when the
10848 code base is sanitized a bit.
10850 2002-08-12 Angus Leeming <leeming@lyx.org>
10852 * buffer.[Ch] (getLabelList): constify.
10854 2002-08-07 André Pönitz <poenitz@gmx.net>
10856 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10858 * funcrequest.h: extension to keep mouse (x,y) position
10860 2002-08-12 Juergen Vigna <jug@sad.it>
10862 * BufferView2.C (insertErrors): forbid undo when inserting error
10865 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10867 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10869 * ParagraphList.[Ch]: new files
10871 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10873 * BufferView2.C (lockInset): ParagraphList changes
10876 * bufferlist.C: ditto
10880 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10882 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10883 unused class variable counter_,
10885 * paragraph.[Ch] (getFirstCounter): delete unused function
10887 * counters.C: include LAssert.h
10888 (reset): add a new function with no arg, change other version to
10889 not have def. arg and to not allow empty arg.
10891 * text2.C (setCounter): remove empty arg from call to Counters::reset
10893 2002-08-11 John Levon <levon@movementarian.org>
10895 * Makefile.am: add WordLangTuple.h
10897 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10899 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10900 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10902 * insets/insettext.C: InsetList changes
10904 * graphics/GraphicsSupport.C (operator()): InsetList changes
10906 * toc.C (getTocList): InsetList changes
10908 * paragraph_pimpl.[Ch]: InsetList changes
10910 * paragraph.[Ch]: InsetList changes
10912 * buffer.C (inset_iterator): InsetList changes
10913 (setParagraph): ditto
10914 * buffer.h (inset_iterator): ditto
10915 * iterators.C (operator++): ditto
10916 * iterators.h: ditto
10918 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10920 * InsetList.[Ch]: new files, most InsetList handling moved out of
10923 * BufferView2.C (removeAutoInsets): InsetList changes
10925 (ChangeInsets): ditto
10927 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10929 * paragraph_pimpl.h (empty): new function
10931 * paragraph.[Ch] (empty): new function
10933 * other files: use the new Paragraph::empty function
10935 2002-08-09 John Levon <levon@movementarian.org>
10937 * lyxtext.h: remove unused refresh_height
10939 2002-08-09 John Levon <levon@movementarian.org>
10946 * paragraph.C: move sgml char escaping out of paragraph
10949 * paragraph.C: remove id setter
10953 * paragraph_pimpl.C: remove dead tex_code_break_column
10955 * bufferview_funcs.C: small cleanup
10957 * lyxfunc.C: remove dead proto
10959 * lyxtext.h: make some stuff private. Remove some dead stuff.
10961 * lyxgluelength.C: make as[LyX]String() readable
10963 2002-08-08 John Levon <levon@movementarian.org>
10968 * ToolbarDefaults.C:
10971 * toc.C: lyxaction cleanup
10973 2002-08-08 John Levon <levon@movementarian.org>
10975 * BufferView2.C: small cleanup
10978 * lyxfind.C: move unnecessary header into the .C
10980 2002-08-08 John Levon <levon@movementarian.org>
10982 * funcrequest.h: just tedious nonsense
10985 * lyx_main.C: cleanups
10988 * vspace.C: remove dead header lyx_main.h
10990 2002-08-07 Angus Leeming <leeming@lyx.org>
10993 * paragraph_pimpl.h:
10994 Forward declare class Counters in paragraph.h by moving the ctrs member
10995 variable into Paragraph::Pimpl.
10996 (counters): new method, returning a reference to pimpl_->ctrs.
10998 * text2.C: ensuing changes.
11000 2002-08-07 John Levon <levon@movementarian.org>
11002 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11004 * BufferView_pimpl.C: announce X selection on double/triple
11007 * lyx_main.C: use correct bool in batch dispatch
11009 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11011 2002-08-07 André Pönitz <poenitz@gmx.net>
11013 * funcrequest.h: new class to wrap a kb_action and its argument
11016 * BufferView_pimpl[Ch]:
11020 * lyxrc.C: subsequent changes
11023 2002-08-07 John Levon <levon@movementarian.org>
11025 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11026 document options change.
11028 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11033 * makefile.am: move counters functionality over from
11034 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11036 2002-08-06 John Levon <levon@movementarian.org>
11038 * WordLangTuple.h: new file for word + language code tuple
11049 * BufferView2.C: use WordLangTuple
11052 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11054 2002-08-06 John Levon <levon@movementarian.org>
11056 * lyx_main.C: fix cmdline batch handling
11058 2002-08-06 André Pönitz <poenitz@gmx.net>
11060 * lyxrc.C: set default for show_banner to true
11062 2002-08-06 John Levon <levon@movementarian.org>
11064 * pspell.C: fix a crash, and allow new aspell to work
11066 2002-08-06 John Levon <levon@movementarian.org>
11069 * kbmap.C: small cleanup
11072 * vspace.C: add const
11074 2002-08-05 John Levon <levon@movementarian.org>
11076 * LyXAction.C: back to tabular-insert
11078 2002-08-04 John Levon <levon@movementarian.org>
11081 * BufferView.C: cosmetic change
11083 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11093 * BufferView2.C: purge all "Lyx" not "LyX" strings
11096 * lyxcursor.C: attempt to add some documentation
11101 * ToolbarDefaults.C:
11102 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11103 merge with LFUN_TABULAR_INSERT
11110 * pspell.C: split up i/pspell implementations into separate
11111 files, many cleanups
11113 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11115 * text2.C: some cleanup
11117 * lyxfunc.C: don't check for isp_command == "none" any more, it
11118 didn't make any sense
11120 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11125 * makefile.am: move counters functionality over
11126 from text2.C/paragraph.[Ch] to counters.[Ch], and
11128 2002-08-02 John Levon <levon@movementarian.org>
11130 * buffer.C: s/lyxconvert/lyx2lyx/
11132 2002-08-02 Angus Leeming <leeming@lyx.org>
11134 * lyxlex.C: revert John's change as it breaks reading of the user
11137 2002-08-02 Angus Leeming <leeming@lyx.org>
11139 * importer.C (Import):
11140 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11141 changes due to LyXView::view() now returning a boost::shared_ptr.
11143 2002-08-02 John Levon <levon@movementarian.org>
11145 * lyxlex.C: small cleanup
11147 2002-08-02 John Levon <levon@movementarian.org>
11149 * text2.C (status): small cleanup, no logic change
11151 2002-08-01 John Levon <levon@movementarian.org>
11154 * buffer.C (writeFile): don't output alerts, caller
11158 * lyx_cb.C: from above
11160 * lyxfunc.C: allow to open non-existent files
11162 2002-07-31 John Levon <levon@movementarian.org>
11164 * lyxserver.C: don't let incidental errors get
11167 2002-07-30 John Levon <levon@movementarian.org>
11169 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11171 2002-07-30 John Levon <levon@movementarian.org>
11174 * lyxserver.C: remove I/O callback too
11176 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11178 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11181 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11183 * many files: strip,frontStrip -> trim,ltrim,rtrim
11185 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11187 * PrinterParams.h: remove extern containsOnly, and include
11188 support/lstrings.h instead.
11190 * LaTeX.C (scanAuxFile): modify because of strip changes
11192 * buffer.C (makeLaTeXFile): ditto
11193 * bufferparams.C (writeFile): ditt
11194 * lyxfont.C (stateText): ditto
11195 * lyxserver.C (read_ready): ditto
11196 * vc-backend.C (scanMaster): ditto
11198 * BufferView_pimpl.h: ws changes
11200 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11202 2002-07-26 André Pönitz <poenitz@gmx.net>
11204 * kb_sequence.C: remove unnedred usings
11206 2002-07-26 Juergen Vigna <jug@sad.it>
11208 * lyxfind.C (LyXReplace): we have to check better if the returned
11209 text is not of theLockingInset()->getLockingInset().
11211 2002-07-25 Juergen Vigna <jug@sad.it>
11213 * lyxfind.C (LyXReplace): don't replace if we don't get the
11216 * undo_funcs.C (createUndo): remove debugging code.
11218 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11220 * buffer.C (parseSingleLyXformat2Token): Use default placement
11221 when reading old floats.
11223 * FloatList.C (FloatList): Change the default placement of figure
11224 and tables to "tbp".
11226 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11228 * MenuBackend.C: using std::max
11230 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11232 * MenuBackend.C (expandToc):
11233 (expandToc2): code moved from xforms menu frontend. It is now
11234 generic and TOCs are transparent to menu frontends.
11236 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11238 * toc.C (getTocList): protect against buf=0
11240 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11241 Menu as first parameter. Now, this calls itself recursively to
11242 expand a whole tree (this will be useful for TOC handling)
11243 (expandFloatInsert): remove 'wide' version of floats
11245 * MenuBackend.h (submenuname): returns the name of the submenu.
11246 (submenu): returns the submenu itself, provided it has been
11247 created by MenuBackend::expand
11249 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11251 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11252 insets which have noFontChange == true. (bug #172)
11254 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11256 * BufferView_pimpl.C: add connection objects and use them...
11259 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11261 * MenuBackend.C (expandLastfiles):
11264 (expandFloatListInsert):
11265 (expandFloatInsert):
11266 (expand): split expand in parts
11268 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11270 * lyx_gui.C: use lyx_gui::exit()
11272 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11274 * LyXAction.C: show the failing pseudo action
11276 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11278 * buffer.C (readFile): Run the lyxconvert script in order to read
11281 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11285 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11287 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11291 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11293 2002-07-22 Herbert Voss <voss@lyx.org>
11296 * lyxlength.[Ch]: add support for the vertical lengths
11298 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11300 * toc.[Ch]: std:: fixes
11302 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11304 * lyxrc.C: do not include lyx_main.h
11306 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11312 * BufferView2.C: include "lyxlex.h"
11315 * bufferparams.h: do not #include "lyxlex.h"
11317 * lyxtextclasslist.C (Add): remove method
11318 (classlist): renamed to classlist_
11320 * paragraph_pimpl.C:
11324 * bufferview_funcs.C:
11329 * toc.C (getTocList): use BufferParams::getLyXTextClass
11331 * toc.C (getTocList): use InsetFloat::addToToc
11333 * toc.[Ch]: new files, containing helper functions to handle table
11336 * lyxfunc.C (dispatch): no need to remove spaces around command
11338 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11339 first command of the sequence; it is not very clever, but I do not
11340 have a better idea, actually
11342 * LyXAction.C (LookupFunc): make sure to remove space at the
11343 beginning and end of the command
11345 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11347 * MenuBackend.C (getMenubar): new method: return the menubar of
11349 (read): treat differently reading of menu and menubar (in
11350 particular, the menubar has no name now)
11351 (Menu::menubar): remove
11353 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11356 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11358 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11359 a bibitem inset in a RTL paragraph.
11361 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11363 * paragraph_pimpl.C: constify
11365 * BufferView_pimpl.C:
11367 * lyxfunc.C: fix dispatch in a nicer way
11369 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11371 * lyxfunc.C (dispatch):
11372 * BufferView_pimpl.C:
11373 * BufferView_pimpl.h:
11375 * BufferView.h: rename Dispatch() to dispatch()
11377 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11379 * lyxlayout.C (Read): honor DependsOn tag
11381 * lyxlayout.[Ch] (depends_on): new method
11383 * version.C.in: update lyx_docversion
11385 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11387 * paragraph.C (validate): remove from here...
11388 * paragraph_pimpl.C (validate): ... and move here
11389 (isTextAt): make it const
11391 * buffer.C (getLists): ws cleanup
11393 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11395 * language.C (read): Use iso8859-1 encoding in latex_lang
11396 (this prevents LyX from crashing when using iso10646-1 encoding).
11398 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11400 * text2.C (toggleInset): if cursor is inside an inset, close the
11401 inset and leave cursor _after_ it
11403 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11405 * lyxfunc.C: move minibuffer completion handling out of here
11407 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11409 * BufferView_pimpl.C:
11410 * LaTeX.C: fix dispatch calls
11412 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11414 * text.C (drawChars): Fix Arabic text rendering.
11416 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11420 * lyxfunc.C: remove message-push/pop
11424 * lyxfunc.C: rationalise some code by removing verboseDispatch
11425 in favour of a bool argument to dispatch()
11427 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11429 * lyx_main.C (init): make sure to read symlinks as absolute paths
11431 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11434 * lyxfunc.C: no need for commandshortcut to be a member
11436 2002-07-15 André Pönitz <poenitz@gmx.net>
11438 * converter.C: add support for $$s (scripts from lib/scripts dir)
11439 * lyx_main.C: white space
11441 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11445 * lyxrc.C: remove second exit confirmation
11447 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11452 * BufferView_pimpl.h:
11453 * BufferView_pimpl.C:
11454 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11456 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11458 * MenuBackend.C (expand): add numeric shortcuts to document menu
11460 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11462 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11464 * lyxfont.C (setLyXFamily):
11471 * buffer.C (asciiParagraph): use ascii_lowercase
11473 2002-07-15 Mike Fabian <mfabian@suse.de>
11475 * lyxlex_pimpl.C (search_kw):
11476 * lyxlex.C (getLongString):
11477 * converter.h (operator<):
11478 * converter.C (operator<):
11479 * buffer.C (parseSingleLyXformat2Token):
11481 * ToolbarDefaults.C (read):
11482 * MenuBackend.C (checkShortcuts):
11484 * LColor.C (getFromGUIName):
11485 (getFromLyXName): use the compare_ascii_no_case instead of
11486 compare_no_case, because in turkish, 'i' is not the lowercase
11487 version of 'I', and thus turkish locale breaks parsing of tags.
11489 2002-07-16 Angus Leeming <leeming@lyx.org>
11491 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11492 now takes a Buffer const & argument.
11494 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11496 * BufferView.C (resize): check there's a buffer to resize
11498 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11500 * lyxfunc.C: remove dead code
11503 * lyxserver.C: use lyx_guii::set_read_callback
11505 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11507 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11508 an inset in a RTL paragraph.
11510 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11512 * lyxfunc.C: repaint after a font size update
11514 2002-07-15 André Pönitz <poenitz@gmx.net>
11516 * lyxlength.C: inBP should be able to return negative values
11518 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11520 * lyxfunc.C: use lyx_gui::update_fonts()
11522 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11524 * lyxfunc.C: use lyx_gui::update_color()
11526 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11532 * lyxrc.C: remove file->new asks for name option, and let
11533 buffer-new take an argument
11535 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11537 * BufferView_pimpl.C: remove unneeded extra repaint()
11539 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11541 * LyXAction.C: allow command-sequence with NoBuffer
11543 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11545 2002-07-10 Angus Leeming <leeming@lyx.org>
11547 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11549 2002-07-09 Angus Leeming <leeming@lyx.org>
11551 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11553 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11555 * lengthcommon.h: whitespace
11557 * lyxfunc.C: update scrollbar after goto paragraph
11559 * lyxtext.h: factor out page break drawing, and fix it so
11560 page break/added space paints as selected nicely
11562 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11564 * BufferView_pimpl.C: add FIXMEs, clean up a little
11566 2002-07-09 André Pönitz <poenitz@gmx.net>
11568 * lyxfont.[Ch]: support for wasy symbols
11570 2002-07-08 André Pönitz <poenitz@gmx.net>
11572 * BufferView_pimpl.C: apply John's patch for #93.
11574 2002-07-05 Angus Leeming <leeming@lyx.org>
11576 * BufferView_pimpl.C (buffer): generate previews if desired.
11578 * LColor.h: add "preview" to the color enum.
11580 * LColor.C (LColor): add a corresponding entry to the items array.
11582 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11585 2002-07-05 Angus Leeming <leeming@lyx.org>
11587 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11588 The body of the code is now in the method that is passed an ostream &
11589 rather than a file name.
11590 Pass an additional only_preamble parameter, useful for the forthcoming
11593 2002-07-03 André Pönitz <poenitz@gmx.net>
11595 * lyxfunc.C: simplify getStatus() a bit for math stuff
11597 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11599 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11601 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11603 * text.C (changeRegionCase): do not change case of all the
11604 document when region ends at paragraph end (bug #461)
11606 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11608 * paragraph.C (startTeXParParams):
11609 (endTeXParParams): add \protect when necessary
11611 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11613 * BufferView_pimpl.C (workAreaExpose): remove warning
11615 2002-06-27 Angus Leeming <leeming@lyx.org>
11617 * Makefile.am: add lyxlayout_ptr_fwd.h.
11619 2002-06-26 André Pönitz <poenitz@gmx.net>
11621 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11623 2002-06-25 Angus Leeming <leeming@lyx.org>
11625 * lyxfunc.C (dispatch): Comment out the call to
11626 grfx::GCache::changeDisplay. The method no longer exists now that the
11627 pixmap generation part of the graphics loader has been moved into
11630 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11632 * text2.C: layout as layout
11634 * text.C: layout as layout
11636 * tabular.C (OldFormatRead): layout as layout
11638 * paragraph_pimpl.C (TeXDeeper): layout as layout
11639 (realizeFont): layout as layout
11641 * paragraph.C (writeFile): layout as layout
11642 (validate): layout as layout
11643 (getFont): layout as layout
11644 (getLabelFont): layout as layout
11645 (getLayoutFont): layout as layout
11646 (breakParagraph): layout as layout
11647 (stripLeadingSpaces): layout as layout
11648 (getEndLabel): layout as layout
11649 (getMaxDepthAfter): layout as layout
11650 (applyLayout): layout as layout
11651 (TeXOnePar): layout as layout
11652 (simpleTeXOnePar): layout as layout
11653 (TeXEnvironment): layout as layout
11654 (layout): layout as layout
11655 (layout): layout as layout
11657 * lyxtextclass.C (compare_name): new functor to work with
11658 shared_ptr, layout as layout
11659 (Read): layout as layout
11660 (hasLayout): layout as layout
11661 (operator): layout as layout
11662 (delete_layout): layout as layout
11663 (defaultLayout): layout as layout
11665 * lyxlayout_ptr_fwd.h: new file
11667 * lyxlayout.C (Read): layout as layout
11669 * lyx_cb.C (MenuInsertLabel): layout as layout
11671 * bufferlist.C (newFile): layout as layout
11673 * buffer.C (readLyXformat2): layout as layout
11674 (parseSingleLyXformat2Token): layout as layout
11675 (insertStringAsLines): layout as layout
11676 (asciiParagraph): layout as layout
11677 (latexParagraphs): layout as layout
11678 (makeLinuxDocFile): layout as layout
11679 (simpleLinuxDocOnePar): layout as layout
11680 (makeDocBookFile): layout as layout
11681 (simpleDocBookOnePar): layout as layout
11682 (getLists): layout as layout
11684 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11686 * CutAndPaste.C (cutSelection): layout as layout
11687 (pasteSelection): layout as layout
11688 (SwitchLayoutsBetweenClasses): layout as layout
11690 * BufferView_pimpl.C (Dispatch): layout as layout
11691 (smartQuote): layout as layout
11693 * BufferView2.C (unlockInset): layout as layout
11695 2002-06-24 André Pönitz <poenitz@gmx.net>
11697 * lyxfunc.C: fix #487
11699 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11703 * lyxfunc.C: remove display_shortcuts, show_banner
11705 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11707 * Buffer_pimpl.C: oops, update on resize
11709 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11716 * BufferView.C: use repaint()
11718 * BufferView_pimpl.h:
11719 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11720 as it's a clearer description. Remove superfluous
11723 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11725 * text.C: fix bug 488. Not ideal, but getting
11726 getWord() to work properly for the insets that
11727 matter is more difficult ...
11729 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11731 * BufferView_pimpl.C:
11734 * lyxfunc.C: remove the six million index lyxfuncs to just
11735 one, and DTRT (bug 458)
11737 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11741 * BufferView_pimpl.h:
11742 * BufferView_pimpl.C: clean up resize() stuff,
11743 and unnecessary updateScreen()s
11745 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11749 * BufferView_pimpl.h:
11750 * BufferView_pimpl.C:
11753 * minibuffer.C: remove focus management of workarea,
11754 not needed. Use screen's greyOut()
11756 2002-06-17 Herbert Voss <voss@lyx.org>
11758 * converter.C: (convert) do not post a message, when converting
11759 fails, let the calling function decide what to do in this case
11761 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11763 * lyxfunc.C: tidy up a little
11765 2002-06-16 <alstrup@diku.dk>
11767 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11768 Got rid of FORMS_H_LOCATION include. Now we are
11771 2002-06-15 LyX Development team <lyx@rilke>
11773 * buffer.[Ch] (sgmlOpenTag):
11774 (sgmlCloseTag): Added support for avoiding pernicious mixed
11775 content. Return number of lines written.
11777 (makeLinuxDocFile):
11778 (makeDocBookFile): Fixed calls to sgml*Tag.
11779 Simple white space clean.
11781 (simpleDocBookOnePar): Simple white space clean.
11783 * tabular.[Ch] (docBook): Renamed to docbook and got another
11784 argument to related with the pernicious mixed content.
11786 (docbookRow): Fixed calls for docbook inset method.
11788 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11790 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11791 so it's X11 independent.
11795 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11797 2002-06-15 Lyx Development team <lyx@electronia>
11799 * intl.h: Renamed getTrans to getTransManager.
11801 2002-06-14 Angus Leeming <leeming@lyx.org>
11803 * Makefile.am: nuke forgotten stl_string_fwd.h.
11805 2002-06-12 Angus Leeming <leeming@lyx.org>
11807 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11809 2002-06-13 Angus Leeming <leeming@lyx.org>
11812 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11814 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11816 * kbmap.C (getiso): add support for cyrillic and greek
11818 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11822 * BufferView_pimpl.h:
11823 * BufferView_pimpl.C: move bogus scrolling logic
11826 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11829 * BufferView_pimpl.C: view->resize() change
11831 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11833 * BufferView_pimpl.C: topCursorVisible
11836 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11840 * lyx_gui.C: move to frontends/
11844 * lyx_main.C: changes from above
11846 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11853 * lyx_main.C: minor tidy
11855 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11857 * BufferView_pimpl.h:
11858 * BufferView_pimpl.C:
11860 * BufferView.C: make painter() const,
11863 * BufferView2.C: use screen() accessor
11866 * lyx_main.C: some minor cleanup
11868 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11870 * BufferView_pimpl.h:
11871 * BufferView_pimpl.C: remove enter/leaveView,
11874 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11879 * BufferView_pimpl.h:
11880 * BufferView_pimpl.C: only construct screen once,
11883 * lyxrc.C: remove pointless comment
11885 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11888 * BufferView.C: remove active() and belowMouse()
11890 * BufferView_pimpl.h:
11891 * BufferView_pimpl.C: use workarea() not workarea_,
11892 and make it use a scoped_ptr instead
11894 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11896 * lyx_gui.C: add debug message on BadWindow
11898 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11900 * sp_spell.C: fdopen is not part of the C++ standard.
11902 * paragraph.C (InsetIterator): use >= instead of ==
11904 2002-06-07 Angus Leeming <leeming@lyx.org>
11906 Fixes needed to compile with Compaq cxx 6.5.
11907 * BufferView_pimpl.C:
11914 * lyxtextclasslist.C:
11919 all c-library variables have been moved into namespace std. Wrap
11920 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11925 Add a using std::abs declaration.
11927 * kbmap.h (modifier_pair):
11928 * paragraph.h (InsetTable, InsetList):
11929 * lyxfont.h (FontBits):
11930 type definition made public.
11932 * bufferlist.C (emergencyWriteAll): the compiler complains that
11933 there is more than one possible lyx::class_fun template to choose from.
11934 I re-named the void specialisation as lyx::void_class_fun.
11936 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11938 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11939 the compiler is is unable to find tostr in write_attribute.
11941 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11943 * buffer.C (sgmlError): hide #warning
11945 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11947 * xtl/*: get rid of xtl, which is not in use anyway
11949 * LyXAction.C (init):
11950 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11951 were unimplemented xtl experimentation
11953 2002-06-04 André Pönitz <poenitz@gmx.net>
11955 * lyxfunc.C: disable array operation on simple formulae
11957 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11959 * converter.C: constify a bit
11961 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11963 * lyx_gui.C: check xforms version correctly
11965 2002-04-30 Herbert Voss <voss@lyx.org>
11967 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11970 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11972 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11973 attempt to register it with a VCS)
11975 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11977 * lyx_main.C (init): honor variables LYX_DIR_13x and
11980 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11984 * lyx_main.C: fix a crash on bad command line,
11985 and give a useful exit status on error
11987 * lyxfunc.C (doImport): allow -i lyx to work
11989 2002-03-30 André Pönitz <poenitz@gmx.net>
11991 * lyxfunc.C: mathed font changes
11993 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12008 * trans_mgr.h: srcdocs, and some minor cleanups
12010 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12012 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12013 call getFont all the time)
12015 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12017 * switch from SigC signals to boost::signals
12019 2002-05-29 André Pönitz <poenitz@gmx.net>
12021 * paragraph_pimpl.C (getChar): don't call size() too often...
12023 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12025 * paragraph_pimpl.C (insertChar): do not try to update tables when
12026 appending (pos == size())
12028 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12029 in order to reduce drastically the number of comparisons needed to
12030 parse a large document
12032 2002-05-29 André Pönitz <poenitz@gmx.net>
12038 * textclasslist.[Ch]:
12039 * sp_ispell.h: whitespace change
12041 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12043 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12044 lyxaction directly now.
12046 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12050 * lyxvc.C: remove unused headers
12052 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12059 * undo_funcs.C: some cleanups. Use shared_ptr
12060 and a template for the undo stacks.
12062 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12064 * BufferView_pimpl.h:
12065 * BufferView_pimpl.C:
12072 * text2.C: use key_state/mouse_state
12074 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12076 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12079 * chset.C: change include order
12080 (loadFile): use boost regex and get rid of LRegex and LSubstring
12082 * Makefile.am (BOOST_LIBS): new variable
12083 (lyx_LDADD): use it
12085 * LaTeX.C: change include order.
12086 (scanAuxFile): use boost regex and get rid of LRegex and
12090 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12095 * FontInfo.C: moved to frontends/xforms/
12098 * FontLoader.C: moved into frontends for GUIIzation
12103 * lyxfunc.C: changes from above
12105 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12107 * LColor.C: remove spurious X include
12109 * BufferView_pimpl.C:
12114 * text2.C: move font metrics to frontends/
12116 2002-05-24 Juergen Vigna <jug@sad.it>
12118 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12119 setting the undo_cursor.
12121 * ParagraphParameters.h: include local includes first.
12123 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12125 * BufferView_pimpl.C:
12126 * BufferView_pimpl.h:
12130 * screen.C: move WorkArea into frontends/
12136 * BufferView2.C: move LyXScreen into frontends/
12140 * lyx_gui.C: move lyxlookup into frontends/xforms/
12142 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12145 * BufferView_pimpl.C:
12155 * bufferview_funcs.C:
12168 * vc-backend.C: move LyX/XFormsView into frontends/
12170 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12182 * text2.C: move Painter to frontends/
12184 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12186 * buffer.C: comment out some some code that depend upon lyx_format
12189 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12190 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12192 * buffer.h (NO_COMPABILITY): turn off compability
12194 * ColorHandler.C: include scoped_array.hpp
12196 * font.C: Use more specific smart_ptr header.
12199 * ShareContainer.h: ditto
12200 * lyx_main.h: ditto
12202 * FontInfo.h: ditto
12203 * BufferView_pimpl.h: ditto
12204 * ColorHandler.h: ditto
12206 * kbmap.C (defkey): change call to shared_ptr::reset
12208 2002-05-21 Juergen Vigna <jug@sad.it>
12210 * buffer.C (insertErtContents): fix to insert ert asis if it is
12211 non empty. Skip it completely if it contains only whitespaces.
12213 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12215 * BufferView_pimpl.C:
12216 * BufferView2.C: clear selection on paste (bug 393)
12218 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12220 * DepTable.C: include ctime
12222 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12224 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12226 2002-05-14 Juergen Vigna <jug@sad.it>
12228 * text.C (breakParagraph): fixed function to honor the keepempty
12229 layout in the right maner and also to permit the right breaking
12230 algorithm on empty or non empyt keepempty paragraphs.
12232 * paragraph.C (breakParagraph): we have to check also if the par
12233 is really empty (!size()) for isempty otherwise we do the wrong
12236 2002-05-10 Juergen Vigna <jug@sad.it>
12238 * buffer.[Ch] : The following are only changes to the ert
12239 compatibility read reading old LaTeX layout and font stuff and
12240 convert it to ERTInsets.
12242 * buffer.h: added isErtInset().
12244 * buffer.C (struct ErtComp): add a fromlayout bool to check
12245 if we're inside a LaTeX layout.
12246 (isErtInset): new helper function.
12247 (insertErtContents): look for other ert insets before this one
12248 and insert the contents there, so that we don't have subsequent
12249 ERT insets with nothing between them. This way we create only one
12250 inset with multiple paragraphs. Also check if we don't insert only
12251 spaces ' ' as they are ignored anyway afterwards in the .tex file
12252 so if we have only spaces we will ignore this latex part in the
12254 (parseSingleLyXformat2Token \\layout): better compatibility when
12255 reading layout-latex stuff.
12256 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12258 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12259 stuff after reading the inset only get the information back from
12262 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12264 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12266 * LaTeXFeatures.C (getBabelOptions): New method.
12268 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12270 * BufferView_pimpl.C (Dispatch): work around missing argument for
12273 2002-05-08 Juergen Vigna <jug@sad.it>
12275 * text.C (leftMargin): handle paragraph leftindent.
12277 * paragraph.C (writeFile): write the new \\leftindent tag.
12278 (validate): handle leftindent code.
12279 (TeXEnvironment): handle paragraphleftindent code again.
12281 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12283 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12284 for paragrap_extra indent code and new token \\leftindent.
12285 (latexParagraphs): handle the leftindent as environment.
12287 * ParameterStruct.h: added leftindent support.
12289 * ParagraphParameters.C (leftIndent): added support functions for
12290 the paragraph left indent.
12292 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12295 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12297 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12300 * text.C (computeBidiTables): No bidi in insetERT.
12302 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12305 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12307 * version.C.in: pre 5
12309 2002-05-02 José Matos <jamatos@fep.up.pt>
12310 * buffer.C (makeDocBookFile): white space changes, add newline to
12312 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12314 * tabular.C (docBook): fix typo.
12316 2002-05-03 Juergen Vigna <jug@sad.it>
12318 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12319 change in LyXText as we can not be sure it was not freed.
12320 (drawOneRow): remove unused code.
12322 * text.C (drawInset): redo the calculation of the need_break_row as
12323 it could have a row which was already freed.
12324 (draw): look at the return value of drawInset and return false if
12325 it also returned false.
12326 (paintRowText): look at the return value of draw and return false if
12327 it also returned false.
12329 * lyxtext.h: added bool return type to drawInset() and draw() so that
12330 if we have a change in the row so that the rowbreak has to be redone
12331 we abort drawing as it will be called again.
12333 2002-05-02 Juergen Vigna <jug@sad.it>
12335 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12336 a change in the maintext also if we're inside an inset.
12337 (Dispatch): set the cursor again after a break line and after the
12338 screen has been updated as it could be we're in a different row.
12340 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12341 to set the cursor behind the pargraph with > size().
12342 (setCursor): check also for the same paragraph when checking where
12343 to put the cursor if we have a NFR inset.
12345 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12346 parts of layout read further up as it still was in the wrong
12349 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12351 * screen.C (drawFromTo): change sine fullRebreak always return
12354 * buffer.C (parseSingleLyXformat2Token): reindent some
12356 * BufferView_pimpl.C (update): change since fullRebreak always
12358 (Dispatch): git rid of the last hardcoded "Standard"s.
12360 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12362 * text2.[Ch] (fullRebreak): make it return void now that we always
12365 2002-04-30 Juergen Vigna <jug@sad.it>
12367 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12368 ert compatibility check for "latex" layout.
12370 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12372 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12373 minipages: use col% instead of p%, and also use the current font.
12374 (makeLaTeXFile): Fix use babel condition.
12375 (parseSingleLyXformat2Token): Correct font when reading old floats.
12377 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12379 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12380 inserting list of floats.
12382 2002-04-25 Herbert Voss <voss@lyx.org>
12384 * MenuBackend.C (expand): don't add the graphics extensions to the
12387 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12389 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12390 non-existing layout, do not complain if it was the default layout
12391 of the original class (bug #342)
12393 2002-04-24 Juergen Vigna <jug@sad.it>
12395 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12396 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12398 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12400 * buffer.C (getBibkeyList): If using \bibliography, return the
12401 option field with the reference itself. Enables us to provide natbib
12402 support when using \bibliography.
12404 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12406 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12408 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12409 natbib is provided by the LaTeX class.
12411 2002-04-23 Juergen Vigna <jug@sad.it>
12413 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12416 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12418 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12420 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12422 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12423 ensuremath around textordmasculine, textordfeminine and
12426 2002-04-19 Juergen Vigna <jug@sad.it>
12428 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12429 reinitializing the buffer otherwise row-dimensions may be wrong.
12430 (update): reset also the selection cursors if they do exits otherwise
12431 their x/y positions may be wrong.
12433 * text2.C (cursorDown): don't enter the inset if we came from a row
12434 above and are one row over the inset.
12436 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12437 really leaving an inset.
12439 2002-04-18 Juergen Vigna <jug@sad.it>
12441 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12442 of the selected paragraph does not have the selected layout also if
12445 * text2.C (setLayout): fixed bug which did not change last selected
12448 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12449 changed the read and substituted \\end_float with \\end_inset!
12451 * BufferView_pimpl.C (cursorPrevious):
12452 (cursorNext): fixed to make it work with rows heigher than the work
12453 area without moving the cursor only the draw of the row.
12454 (workAreaMotionNotify): fix jumping over high rows.
12456 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12458 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12461 2002-04-16 Juergen Vigna <jug@sad.it>
12463 * text2.C (setCursor): set also the irow().
12464 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12466 (cursorDown): support for locking an inset if the x_fix value goes
12467 inside it. That way I can transverse insets too with cursor up/down.
12469 * lyxrow.h: added irow helper function same as other (i) functions.
12471 * BufferView_pimpl.C (cursorPrevious):
12472 (cursorNext): fixed for insets!
12474 2002-04-15 Juergen Vigna <jug@sad.it>
12476 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12477 position otherwise it is wrong in some cases.
12479 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12480 inside the inset before the call.
12482 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12484 * buffer.[Ch] (getBibkeyList): make it const.
12486 2002-04-12 Juergen Vigna <jug@sad.it>
12488 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12490 * text2.C (getCursorX): new helper function
12491 (setCursor): compute also ix_
12492 (setCursorFromCoordinates): set also ix.
12494 * lyxcursor.h: added ix_ and helper functions.
12496 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12498 * buffer.C (insertStringAsLines): dont break paragraph if the this
12499 paragraph is inside an inset which does not permit it!
12501 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12502 also with no chars on this paragraph.
12503 (paintRowText): only paint stuff if it's inside the workarea!
12505 * paragraph.C (breakParagraph): honor keepempty flag and break the
12506 paragraph always below not above.
12508 * BufferView2.C (unlockInset): update the paragraph layout on inset
12509 unlock as we changed paragraph in such a case.
12511 * lyxfind.C (LyXFind): clear the former selection if not found!
12513 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12514 again called in insertChar().
12516 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12517 an inset which uses the whole row!
12518 (rightMargin): ditto.
12519 (insertChar): force a rebreak if we inserted an inset!
12521 2002-03-28 Herbert Voss <voss@lyx.org>
12523 * lyxlength.[Ch]: add inBP() to get the right PS-point
12524 units (BigPoint). With inPixels we have rounding errors
12526 2002-04-11 Juergen Vigna <jug@sad.it>
12528 * text2.C (setCursorFromCoordinates): set iy to the right value.
12529 (setCursor): add check if row->previous exists!
12531 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12532 an old float_type as this was the case in the old code!
12534 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12536 * BufferView2.C (showLockedInsetCursor): use iy
12537 (fitLockedInsetCursor): ditto
12539 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12540 locked insets as there we have the right value now.
12542 * lyxcursor.C: added iy_ variable and iy functions to set to the
12543 baseline of cursor-y of the locked inset.
12545 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12546 (setCursor): fixed for insets which need a full row.
12548 * text.C (rowLastPrintable): don't ignore the last space when before
12549 an inset which needs a full row.
12550 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12551 as last character of a row when before a inset which needs a full row.
12553 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12555 * version.C.in: update date
12557 * text2.C (fullRebreak): try to always return true and see what
12560 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12562 * MenuBackend.C (expand): use Floating::listName
12564 * FloatList.C (FloatList): add listName argument to the built-in
12567 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12568 text associated with the float.
12570 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12572 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12574 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12576 * ShareContainer.h: add a couple of missing typenames.
12578 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12580 * lyxrc.C (getDescription): use _() correctly rather than N_().
12582 2002-03-28 Herbert Voss <voss@lyx.org>
12584 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12585 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12587 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12589 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12590 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12592 2002-03-29 Juergen Vigna <jug@sad.it>
12594 * lyxfunc.C (dispatch): add a missing fitCursor call.
12596 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12597 it was scrolled by a cursor move, so return the bool status.
12599 * BufferView.C (fitCursor): return the bool flag also to the outside
12600 world as this is needed.
12602 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12604 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12605 call the edit() as it is not needed (and wrong) IMO.
12606 (workAreaButtonPress): set the screen_first variable before evt.
12607 unlock the inset as this may change screen_first and then we have
12608 a wrong y position for the click!
12610 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12612 * MenuBackend.C (expand): another translation that I missed
12614 2002-03-28 Juergen Vigna <jug@sad.it>
12616 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12618 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12620 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12622 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12624 * MenuBackend.C (expand): fix export/view/update when there is no
12627 2002-03-27 Herbert Voss <voss@lyx.org>
12629 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12632 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12634 * bufferview_funcs.C (currentState): only show paragraph number
12635 for is DEVEL_VERSION is set.
12637 * lyxfunc.C (dispatch): put warning in INFO channel
12639 * MenuBackend.C (expand): translate the name of floats
12641 * FloatList.C (FloatList): mark the float names for translation
12643 * converter.C (convert): use LibScriptSearch
12645 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12647 * MenuBackend.C (defaults): fix default menu (we might as well get
12650 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12652 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12655 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12657 * lyxvc.C: reorder includes.
12659 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12661 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12664 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12666 * CutAndPaste.C: change layouts earlier on paste
12667 to avoid crashing when calling getFont()
12669 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12671 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12674 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12676 * WorkArea.C: remove 'Pending' debug message.
12678 * most files: ws cleanup
12680 * buffer.[Ch]: ws changes
12682 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12684 2002-03-21 Juergen Vigna <jug@sad.it>
12686 * tabular.C (SetMultiColumn): collapse also the contents of the
12687 cells and set the last border right. Added a Buffer const * param.
12689 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12691 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12694 2002-03-19 Juergen Vigna <jug@sad.it>
12696 * text2.C (clearSelection): reset also xsel_cache.
12698 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12699 where it needs to be called (John tells us to do so too :)
12700 (selectionLost): reset sel_cache.
12702 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12704 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12706 * text2.C (setCursorIntern): put debuging code in INSETS channel
12708 2002-03-19 André Pönitz <poenitz@gmx.net>
12710 * lyxfunc.C: tiny whitespace change
12712 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12714 * ToolbarDefaults.C (init):
12715 * LyXAction.C (init):
12717 * BufferView_pimpl.C (Dispatch):
12718 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12720 2002-03-19 Allan Rae <rae@lyx.org>
12722 * exporter.C (Export): removeAutoInsets before doing anything else.
12723 While I've just introduced a dependency on BufferView this really is
12724 the best place to clean the buffer otherwise you need to cleanup in
12725 a dozen places before calling export or cleanup in a dozen functions
12728 * converter.C (runLaTeX):
12729 (scanLog): Better handling of removeAutoInsets and screen updates.
12731 * lyxfunc.C (dispatch): small whitespace changes
12733 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12735 * WorkArea.C (C_WorkAreaEvent): return a value.
12736 (event_cb): return 1 if we handled the event, 0 otherwise.
12738 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12740 2002-03-18 Juergen Vigna <jug@sad.it>
12742 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12743 (GetAdditionalWidth): ditto.
12744 (RightLine): ditto.
12747 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12748 inset if we're there actually (probably not used right now but this
12749 is the direction to go for unifying code).
12750 (paste): disable code to clear the selection.
12752 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12753 inside an InsetText and move the check further up as it is in the
12756 * text2.C (pasteSelection): set a selection over the pasted text.
12758 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12760 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12761 and libgraphics to build on Cygwin.
12763 2002-03-15 Juergen Vigna <jug@sad.it>
12765 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12766 inserting an Inset into the paragraph. I know this is not the best
12767 fix but we already use current_view in CutAndPaste so we will remove
12768 all of it's using at the same time.
12770 * buffer.C (sgmlError): deactivated function till it is rewritten in
12771 the right mode, now it can create problems.
12773 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12774 before accessing it.
12776 2002-03-14 Juergen Vigna <jug@sad.it>
12778 * undo_funcs.C (textHandleUndo): do the right thing when updating
12779 the inset after the undo/redo.
12781 * text2.C (setCursor): just some testcode for #44 not ready yet.
12783 * undo_funcs.C (textHandleUndo): set the next() and previous()
12784 pointers of the paragraph to 0 before deleting otherwise we have
12785 problems with the Paragraph::[destructor].
12787 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12788 on a paragraph insertion.
12790 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12792 * buffer.C (asciiParagraph): use += operator for char append to
12795 * paragraph.C (getFontSettings): compare >= not just >
12796 (highestFontInRange): ditto
12799 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12801 * paragraph.C: change several algorithm to be more appripriate for
12802 the problem domain. This is lookip in FontList and in the InsetList.
12804 2002-03-13 André Pönitz <poenitz@gmx.net>
12807 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12809 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12814 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12816 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12818 * Painter.C (display): anon helper function, adjust code for this
12820 (pixmap): remove function.
12822 * Painter.h: remove private display variable.
12824 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12826 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12828 * WorkArea.[Ch]: remove figinset_canvas cruft.
12830 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12832 * lyxtextclass.C (operator): add one item cache optimization.
12834 * bufferlist.h: doxy changes
12836 * bufferlist.C: ws changes
12838 * DepTable.[Ch] (ext_exist): place const in the right spot.
12840 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12842 (workAreaExpose): call resizeInsets when the with BufferView changes.
12843 (Dispatch): adjust for protectedBlank removal
12844 (specialChar): call updateInset if the insert went ok.
12846 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12847 specialChar instead.
12849 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12851 * BufferView.h: doxy change
12853 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12855 * lyxtextclass.C (operator[]): remove non-const version
12856 (defaultLayout): remove non-const version
12858 2002-03-12 Juergen Vigna <jug@sad.it>
12860 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12861 did resize the LyXText too.
12863 * buffer.C (readLyXformat2): set layout information on newly allocated
12866 * tabular.C (OldFormatRead): set layout information on the paragraph.
12868 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12870 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12872 2002-03-11 Juergen Vigna <jug@sad.it>
12874 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12876 (resizeCurrentBuffer): force also the insets to resize themselfes.
12877 (moveCursorUpdate): fixed up for InsetText.
12879 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12882 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12883 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12884 value of Dialogs::tooltipsEnabled().
12885 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12887 2002-03-08 Juergen Vigna <jug@sad.it>
12889 * BufferView_pimpl.C (updateInset): update inset inside inset also
12890 if it isn't inside theLockingInset().
12892 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12894 * buffer.C (asciiParagraph): redo some of the word and line length
12896 (getLists): look for Caption instead of caption.
12898 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12900 * buffer.C (Buffer): initialize niceFile to true
12902 (makeLinuxDocFile):
12903 (makeDocBookFile): make sure niceFile is true on exit
12905 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12907 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12909 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12911 * LyXSendto.C: remove.
12912 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12913 * lyx_gui.C: remove now-redundant comment.
12914 * ColorHandler.h: remove forward declaration of class WorkArea.
12915 * lyxfunc.C: remove #include "WorkArea.h".
12917 2002-03-07 Juergen Vigna <jug@sad.it>
12919 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12920 got moved away with the DEPM and also set the inset_owner always
12921 right which before could have been omitted.
12923 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12925 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12926 wanted layout is not found.
12928 2002-03-07 Juergen Vigna <jug@sad.it>
12930 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12932 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12934 * paragraph.C (breakParagraph): use default layout not layout of
12936 (Paragraph): clear ParagraphParameters.
12938 2002-03-06 Juergen Vigna <jug@sad.it>
12940 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12941 otherwise it would not be a valid lenght. Fixed a special case in
12942 the minipage compatibility read where we end the document with a
12945 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12946 was set as it could be 0 for InsetTexts first entry.
12948 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12950 * paragraph.C (writeFile): if layout is empty write out
12951 defaultLayoutName().
12953 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12954 file without named layout we set layout to defaultLayoutName().
12956 2002-03-06 Juergen Vigna <jug@sad.it>
12958 * CutAndPaste.C (copySelection): set layout for new paragraph.
12960 * text.C (prepareToPrint): leave ERT inset left aligned
12961 (leftMargin): don't indent paragraphs inside ERT insets
12963 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12965 * paragraph.C (breakParagraph): dont call clear do the work manually
12967 * paragraph.[Ch] (clear): remove function
12969 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12971 * paragraph.C (Paragraph): dont call clear, the work has already
12974 * lyxtextclass.C (operator): assert if n is empty
12976 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12977 work manually instead.
12979 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12981 * BufferView_pimpl.C: protect selectionLost against text == 0
12983 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12985 * text.C (breakParagraph): fix a setting layout to '0' problem.
12987 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12989 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12990 final location of file, for the included files, and graphics.
12992 2002-03-05 Juergen Vigna <jug@sad.it>
12994 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12996 2002-03-04 Juergen Vigna <jug@sad.it>
12998 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13000 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13001 last column of multicolumn cells.
13002 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13004 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13006 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13007 file if it doesn't go to a temporary file.
13009 * buffer.C (sgmlOpenTag):
13010 (sgmlCloseTag): remove extra newline insertion.
13012 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13014 * text.C (getRowNearY): comment out debug msg
13016 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13018 * text2.C: first -> first_y
13020 * text.C (getRowNearY): add some attemts at a possible
13021 optimization, not working.
13023 * tabular.[Ch]: add BufferParams to several function so that newly
13024 created paragraph can be initialized to he default layotu for the
13027 * tabular-old.C (ReadOld): add buf->params to call of Init
13029 * screen.C: rename text->first to text->first_y
13031 * paragraph.C (breakParagraph): always set layout in the broken
13034 * lyxtextclass.C (Read): remove lowercase
13037 (delete_layout): ditto
13039 * lyxtext.h: rename first -> first_y
13041 * lyxlayout.C (Read): remove lowercase
13044 (obsoleted_by): ditto
13046 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13048 * buffer.C (insertErtContents): add params are to InsetERT
13049 (parseSingleLyXformat2Token): add code to check if a paragraphs
13050 layout really exist.
13051 (parseSingleLyXformat2Token): add params to several inset
13053 (asciiParagraph): remove lowercase, do the layout comparisons with
13056 * BufferView_pimpl.C (cursorNext): first -> first_y
13057 (resizeCurrentBuffer): first -> first_y
13058 (updateScrollbar): first -> first_y
13059 (scrollCB): first -> first_y
13060 (workAreaMotionNotify): first -> first_y
13061 (workAreaButtonPress): first -> first_y
13062 (checkInsetHit): first -> first_y
13063 (cursorPrevious): first -> first_y
13064 (cursorNext): first -> first_y
13065 (Dispatch): add buffer_->params to severl inset contructors
13067 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13069 * lyxlayout.C (Read): remove some debug info that I forgot.
13071 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13072 clean up the code slightly.
13073 (makeLinuxDocFile): ditto
13074 (makeDocBookFile): ditto
13076 * text2.C: layout as string
13078 * text.C: layout as string
13080 * paragraph_pimpl.C: layout as string
13082 * paragraph.[Ch]: layout as string
13084 * lyxtextclasslist.[Ch]: layout as string
13086 * lyxtextclass.[Ch]: layout as string
13088 * lyxtext.h: layout as string
13090 * lyxlayout.[Ch]: layout as string
13092 * lyx_cb.C: layout as string
13094 * bufferview_funcs.C: layout as string
13096 * bufferparams.C: layout as string
13098 * buffer.C: layout as string
13100 * LyXView.[Ch]: layout as string
13102 * LaTeXFeatures.[Ch]: layout as string
13104 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13106 * BufferView_pimpl.C: change current_layout to string, remove
13111 (workAreaButtonRelease): layout as string
13113 * BufferView2.C (unlockInset): adjust
13115 * vspace.C (asLatexCommand): use an explict temp variable.
13117 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13119 * Makefile.am: use FRONTEND_*
13121 2002-03-01 Juergen Vigna <jug@sad.it>
13123 * tabular.C (SetWidthOfMulticolCell): changed to something better
13124 I hope but still work in progress.
13125 (recalculateMulticolumnsOfColumn): renamed function from
13126 recalculateMulticolCells as it is more appropriate now.
13127 (SetWidthOfCell): calculate multicols better.
13129 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13131 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13133 * lyxfunc.C (processKeySym): print sequence also if it is
13134 `deleted' (complete)
13136 * kbsequence.C (print): print sequence even if it is deleted
13137 (complete would be a better word, actually).
13139 * lyxfunc.C (dispatch): print complete options after a prefix key
13141 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13143 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13145 * text2.C (setCharFont): eliminate setCharFont code duplication.
13147 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13149 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13150 LFUN_TABULAR_FEATURE (bug #177)
13152 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13154 * Makefile.am: remove figure.h
13156 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13158 * Bufferview_pimpl.C:
13170 * text2.C: remove #include "lyx_gui_misc.h".
13172 * LaTeX.C: added #include <cstdio>
13174 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13176 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13177 that the paragraph following this one can have.
13179 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13181 * vspace.C (asLatexCommand): fix bogus gcc warning
13183 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13185 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13187 * text2.C (setLayout): get rid of redundant code
13189 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13191 * text2.C (incDepth): make sure depth cannot be increased beyond
13194 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13196 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13197 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13199 * PainterBase.h (image):
13200 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13201 a LyXImage const *.
13203 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13207 * BufferView_pimpl.C:
13208 * BufferView_pimpl.h:
13228 * sp_spell.C: remove fig inset, and the crap house of
13229 cards that follows it
13231 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13236 * os2_errortable.h:
13237 * nt_defines.h: move .h into support/
13239 * vms_defines.h: remove
13241 * WorkArea.C: add space in debug output
13245 * buffer.C: add WITH_WARNINGS
13249 * bufferlist.C: s/retrive/retrieve/, add docs
13258 * chset.C: add docs
13260 * lyxgui.C: add ID to X error handler
13262 * lyxtestclass.c: fix typo
13264 2002-02-26 Juergen Vigna <jug@sad.it>
13266 * tabular_funcs.C (write_attribute): changed so that some default
13267 attributes are not written at all.
13268 (getTokenValue): set default values before trying to read the
13269 value so we have the return value always set as default if we don't
13270 find the token we search for.
13272 * tabular.C (Write): write bools as bools not as strings!
13274 2002-02-22 Juergen Vigna <jug@sad.it>
13276 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13277 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13279 * text.C (leftMargin): don't add an indent for paragraphs inside
13280 tabular cells (fix #208).
13282 2002-02-21 José Matos <jamatos@fep.up.pt>
13284 * tabular.C (docBook): fixed support for long tables.
13286 2002-02-20 Juergen Vigna <jug@sad.it>
13288 * text2.C (getFont): get the drawing font of the Inset if this
13289 paragraph is inside an inset (only important for InsetERT for now).
13291 * buffer.C (insertErtContents): use new lanugage params in ERT
13294 * CutAndPaste.C: commenting out seemingly uneeded code.
13296 2002-02-19 Allan Rae <rae@lyx.org>
13298 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13299 Iterators might be simple to use but they also get invalidated.
13300 (removeAutoInsets): renamed saved cursor tracking variables and added
13301 some comments to clarify what everything does.
13303 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13310 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13311 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13314 * vc-backend.h: remove #include "support/syscall.h"
13318 * converter.C: rearrange #includes in Lars' approved fashion.
13320 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13321 forward declare class Timeout in the header file.
13323 * XFormsView.C: changes due to the above.
13325 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13326 similar to LyXView.
13328 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13329 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13331 2002-02-18 José Matos <jamatos@fep.up.pt>
13333 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13336 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13338 * a lot of small ws changes
13339 * add a lot of using std::XXX
13340 * use std construcs some places where approp.
13341 * use some exisint stuff from lyxfunctional where approp.
13342 * Make file changes to use partial linking (lets test this now...)
13344 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13348 remove #include "support/syscontr.h" as it's redundant. Always has been.
13356 change Systemcalls::System to Systemcalls::Wait and
13357 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13358 No change of functionality, just reflects the stripped down Systemcalls
13361 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13363 * debug.[Ch]: add a GRAPHICS type to the enum.
13365 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13367 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13369 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13372 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13374 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13375 match the changes below.
13377 * text2.C (toggleInset): if there is not editable inset at cursor
13378 position, try to see if cursor is _inside_ a collapsable inset
13381 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13383 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13384 document menu has a nice checkbox
13386 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13388 * lyxlength.C (asLatexString): change PW to output as percent of
13391 * lengthcommon.C: change '%' to 't%'
13393 * lyxfunc.C (dispatch): a few comments from Martin
13395 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13399 * BufferView_pimpl.h:
13400 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13403 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13405 * vspace.C (inPixels): fix compiler warning
13407 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13409 * lyxfunc.C (getStatus): fix status message for disabled commands.
13411 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13413 * BufferView_pimpl.C: fix crash on close buffer
13414 during selection (#227)
13416 2002-01-27 Herbert Voss <voss@lyx.org>
13418 * buffer.C: link old Figure to new graphic inset
13420 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13422 * FontLoader.C (getFontinfo): Change the latex font names in order
13423 to match the names of type1inst.
13425 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13427 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13429 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13430 (extchanged): ditto
13432 (remove_files_with_extension): ditto
13433 (remove_file): ditto
13436 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13437 document is smaller than the work area height. Do not initialize
13438 static variables to 0.
13440 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13442 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13444 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13445 LFUN_LAYOUT_PARAGRAPHS.
13447 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13448 tabular. It is possible to provide a possible cell, which will
13449 typically be the actcell from the corresponding insettabular
13451 * lyxfunc.C (getStatus): small cleanup; disable
13452 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13455 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13457 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13459 * paragraph.C (startTeXParParams):
13460 (endTeXParParams): new methods. The LaTeX code to
13461 start/end paragraph formatting
13462 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13463 empty (fixes bug #200)
13465 * vspace.C (inPixels): adapt to the change below
13466 (inPixels): [later] more cleanups (remove unused variables)
13468 * lyxlength.C (inPixels): change to use a width and a height as
13471 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13473 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13474 Replaced with \paperwidth
13476 * DepTable.C (insert): add std:: qualifier
13478 2002-01-18 Allan Rae <rae@lyx.org>
13480 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13483 * text.C (drawInset): Turned out I didn't know enough about how
13484 rebreaking worked. This fixes most of the redraw problems. I see
13485 an occasional cursor trail when a line is broken now and the cursor
13486 placement can seem out by a few pixels also after a rebreak.
13488 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13490 * buffer.C (parseSingleLyXformat2Token): update because minipage
13491 width is now a LyXLength
13493 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13495 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13498 2002-01-17 Juergen Vigna <jug@sad.it>
13500 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13502 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13503 is set correctly and the inset is updated correctly.
13505 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13507 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13508 the beginning of the loop.
13510 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13512 * lyxrc.C: improve help for use_scalable_fonts
13514 2002-01-17 Allan Rae <rae@lyx.org>
13516 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13518 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13520 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13521 make sure to set their inset_owner to the right value (bug #171)
13523 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13526 * DepTable.C: Implement mtime checking to reduce time spent doing
13529 2002-01-16 Juergen Vigna <jug@sad.it>
13531 * tabular.C (GetAdditionalHeight): one of error fixed.
13533 * lyxrc.C (output): small fix in writing use_pspell.
13535 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13537 * sp_base.h: #include LString.h
13539 2002-01-16 Allan Rae <rae@lyx.org>
13541 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13542 Can someone check this please?
13544 * text.C (drawInset): It was possible that p.row would be removed by
13545 breakAgainOneRow upsetting a few other settings. There may be another
13546 small tweak possible by setting need_break_row = 0 when p.row has been
13547 removed but I don't know enough about the logic here.
13549 2002-01-15 Allan Rae <rae@lyx.org>
13551 * text.C (insertChar): removed conditional truism.
13553 * BufferView2.C (removeAutoInsets): More tweaks.
13554 cur_par_prev could be a stray pointer. Check for trailing empty line
13555 in case last line was cur_par and only had an error inset on it.
13557 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13559 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13562 * vc-backend.C (most methods):
13563 * exporter.C (Export):
13564 * converter.C (convert):
13566 * LyXSendto.C (SendtoApplyCB):
13567 * lyxfunc.C (dispatch):
13571 * lyx_cb.C (AutoSave):
13573 * BufferView_pimpl.C (MenuInsertLyXFile):
13574 * buffer.C (runChktex): use Buffer::filePath().
13576 * buffer.h: rename filename to filename_; rename filepath to
13577 filepath_ and make it private
13578 (filePath): new method
13580 * buffer.C (writeFile): use fileName()
13583 * lyx_main.C (init): fix starting of LyX when the binary is a
13584 link from so,ewhere else.
13586 * minibuffer.C: include <cctype> for isprint
13588 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13590 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13591 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13592 name clash with InsetCollapsable's width function.
13594 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13596 * lastfiles.C: include <iterator>
13598 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13600 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13603 * buffer.C (makeLaTeXFile): ditto.
13604 Also make loop operation more transparent.
13606 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13608 * ToolbarDefaults.C: remove trailing comma closing namespace.
13610 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13612 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13615 * trans.C (Load): comment out unused variable, allowed.
13617 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13619 * minibuffer.[Ch] (append_char): new method to recieve input from the
13620 drop-down completion browser. If a key was pressed, then recieve this
13621 char and append it to the existing string.
13622 (peek_event): modify the positioning data passed to the completion
13623 browser so that it can be placed above the minibuffer rather than below.
13624 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13626 * LyXAction.C (init): alloe error-next for readonly documents.
13628 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13631 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13633 * bufferlist.C (readFile): create the buffer _after_ checking that
13636 * lyxfunc.C (verboseDispatch): fix handling of arguments
13638 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13640 * lyxrc.C: use string::erase() instead of initializing to "".
13643 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13645 * BufferView_pimpl.h:
13646 * BufferView_pimpl.C:
13649 * text2.C: tell X when we have made a selection for copying
13651 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13653 * BufferView_pimpl.C (MenuInsertLyXFile):
13654 * lyxfunc.C (menuNew):
13656 (doImport): add shortcuts to directory buttons
13658 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13661 * lyxfunc.C (setStatusMessage):
13662 (getStatusMessage): new methods
13663 (getStatus):use setStatusMessage instead of setErrorMessage
13664 (dispatch): when function is disabled, set error message here
13665 [instead of in getStatus previously]
13667 * BufferView_pimpl.C (workAreaButtonRelease): update
13668 toolbar/menubar here too.
13670 2002-01-13 Allan Rae <rae@lyx.org>
13672 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13673 Now seems indestructible. Remaining task is to audit all other
13674 code affected by deleteEmptyParagraphMechanism. One small quirk
13675 left is that an empty document with an error in the preamble can
13676 be made to report an error but no error box appears. I don't know
13678 (removeAutoInsets): Improved comments.
13680 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13683 * Thesaurus.C: update for Aiksaurus 0.14
13685 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13687 * text2.C (firstParagraph): removed member function, all uses
13688 replaces with ownerParagraph
13689 (redoParagraphs): here
13690 (updateInset): here
13691 (toggleAppendix): here
13692 * BufferView2.C (insertErrors): here
13693 (setCursorFromRow): here
13695 2002-01-13 Allan Rae <rae@lyx.org>
13697 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13698 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13699 There is still a way to segfault this although you may have to do this
13700 multiple times: Have an InsetERT with an unknown command in it.
13701 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13702 <down-arrow>, <Enter> again, View->DVI, BANG!
13704 * text2.C (setCursor):
13705 (deleteEmptyParagraphMechanism):
13706 * lyxtext.h (setCursor):
13707 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13708 Making use of the return value may help fix other bugs.
13710 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13712 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13714 * LyXView.C (updateMenubar): call MenuBar::update here
13715 (updateToolbar): but not here
13716 (showState): do not update toolbar/menubar
13718 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13719 should need to care about that.
13721 * lyxfunc.C (verboseDispatch): simplify a bit
13722 (getStatus): have a version which takes a pseudoaction, and
13723 another which requires a (kb_action,string).
13725 * LyXAction.C (retrieveActionArg): make it work also when action
13726 is not a pseudo-action.
13727 (getActionName): simplify a bit
13730 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13732 * lyxfunc.C (verboseDispatch): new families of methods with
13733 several ways to specify a command and a bool to indicate whether
13734 the command name and shortcut should be displayed in minibuffer
13735 (eventually, we could extend that to a finer bitmask like
13736 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13737 (dispatch): the pristine dispatch command which just, well,
13738 dispatchs! Note it still sets its result to minibuffer; I'm not
13741 * lyxfunc.h: remove setHintMessage
13743 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13745 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13747 * BufferView_pimpl.C (specialChar): delete new inset if we have
13748 not been able to insert it.
13750 * kbmap.C: revert to using int instead of kb_action, since all we
13751 are dealing with is pseudo-actions.
13753 * LyXAction.C (searchActionArg): change to return int instead of
13754 kb_action, since the result is a pseudoaction.
13756 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13758 * buffer.C (insertErtContents): Fix (partially) the font bug.
13760 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13762 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13763 as the other one is broken on my machine!
13765 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13768 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13770 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13772 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13773 reflect their actual use. Provide compatibility code for older lyxrc
13776 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13778 change names of popup font variables in line with the changes to lyxrc.C
13780 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13782 * buffer.C (asciiParagraph): avoid outputing a word twice after
13785 * lyxrc.C (getDescription): document that document_path and
13786 template_path can be empty.
13788 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13790 * LaTeXFeatures.C (getMacros):
13791 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13793 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13795 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13797 (getPackages): rename feature "floats" to "float". Use an array to
13798 iterate over 'simple' features (i.e. just a \usepackage). Add
13799 handling of "amsmath" (renamed from "amsstyle").
13801 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13803 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13806 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13808 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13809 FuncStaus::FuncStatus & FuncStaus::some_method().
13811 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13813 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13814 of the func_satus stuff. Edited and massaged in various ways by
13817 * lyxfunc.C (getStatus): use FuncStatus
13819 2002-01-08 Juergen Vigna <jug@sad.it>
13821 * text.C (nextBreakPoint): use function Inset::isChar().
13823 * paragraph.C (TeXOnePar): use function
13824 Inset::forceDefaultParagraphs.
13826 * buffer.C (latexParagraphs): use function
13827 Inset::forceDefaultParagraphs.
13829 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13831 * lyx_gui.C (init): set the style of the menu popups to
13832 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13834 2002-01-07 Juergen Vigna <jug@sad.it>
13836 * text.C (setHeightOfRow): small fix
13837 (prepareToPrint): don't look at alignment if we don't have the place
13840 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13842 * box.C: New file. Move the Box methods and functions out of box.h,
13843 following Lars' suggestion.
13845 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13847 * box.h: #include "support/LOstream.h", needed for inlined function.
13850 * lyxtextclasslist.C: added some using std declarations.
13852 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13854 * box.h: make signed dimensions to allow insets wider than
13855 the screen (bug #162)
13857 * BufferView_pimpl.C: add some insetHit debug
13859 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13861 * vc-backend.C: add FIXME
13863 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13865 * lyxfunc.C (getStatus): enable code for showing math font status
13868 2002-01-07 Juergen Vigna <jug@sad.it>
13870 * text.C (nextBreakPoint): removed debug output not needed anymore.
13872 2002-01-06 Juergen Vigna <jug@sad.it>
13874 * text.C (nextBreakPoint): fixed up this function we had this bug
13875 since ever but now hopefully we break row better.
13876 (insertChar): we have to check if an inset is the next char as it
13877 could now happen that a large inset is causing a break.
13879 2002-01-05 Juergen Vigna <jug@sad.it>
13881 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13882 if it doesn't like to be drawed.
13884 2002-01-04 Juergen Vigna <jug@sad.it>
13886 * BufferView2.C (lockInset): forgot to set a cursor.
13888 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13890 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13892 * FormMathsPanel.C:
13895 * form_maths_panel.C:
13896 * form_maths_panel.h:
13897 * form_maths_panel.fd: implemented sub- and super- buttons in math
13900 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13901 (or ^ space) to be used as in TeX (req'd by André).
13903 * lyxfunc.C: Allow ^ and _ again to be used both as
13904 super/subscript (mathed) and as themselves (in text).
13906 2002-01-03 Allan Rae <rae@lyx.org>
13908 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13909 "LyX" or the filename of the current buffer if it has one. This is a
13910 modified form of John Levon's patch.
13912 * XFormsView.C (setWindowTitle): also set icon title.
13914 * LyXView.h (setWindowTitle): signature changed.
13915 * XFormsView.h (setWindowTitle): ditto.
13917 2002-01-02 Juergen Vigna <jug@sad.it>
13919 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13921 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13923 * screen.C (topCursorVisible): introduce a temp var for
13924 text->cursor.row(), handle the case where this row is null. (kindo
13927 * text2.C (setCursor): add a couple of asserts.
13929 * paragraph.h (inset_iterator): add -> operator
13931 * paragraph.[Ch] (autoDeleteInsets): remove member function
13933 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13934 cursor pos correctly and handle inset deletion by itself.
13935 (insertErrors): move iterator declaration out of for expression
13937 * lyxtextclass.C: add <algorithm>
13939 * Makefile.am: added the new files to sources, removed layout.C
13941 * layout.C: removed file
13943 * layout.h: remove LYX_DUMMY_LAYOUT
13945 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13949 * lyxtextclass.[Ch]:
13950 * lyxtextclasslist.[Ch]: new files
13952 * include order changes to a lot of files, also changes because of
13955 2001-12-27 Juergen Vigna <jug@sad.it>
13957 * buffer.C (asciiParagraph): more fixes.
13959 * tabular.C (ascii): make ascii export support export of only the
13960 data separated by a column-delimiter.
13961 (ascii): better support for ascii export.
13963 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13965 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13967 * tabular_funcs.C: use a "using std::getline" instead of the
13968 previous fix from Angus (necessary for cxx + lyxstring)
13970 2001-12-24 Juergen Vigna <jug@sad.it>
13972 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13974 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13975 problems. First check a minipage also if we have some ert-contents
13976 (not only on par->size(), second set the right depth of the paragraph
13977 on the relink to the root-paragraph-list!
13979 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13980 which then did not anymore update the main paragraphs on undo/redo!
13982 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13984 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13985 code. Support all font-changing funcs (even those which are not in
13986 menu currently). Support for reporting font settings in
13987 mathed (disabled until Andre provides a function on mathed's side).
13989 * func_status.h (toggle): small helper function to set toggle
13992 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13994 * tabular_funcs.C: getline -> std::getline
13996 2001-12-21 Juergen Vigna <jug@sad.it>
13998 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13999 accessed and could be 0 (I couldn't generate this but it seems
14002 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14004 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14005 * tabular_funcs.h: here and include iosfwd
14007 2001-12-20 Juergen Vigna <jug@sad.it>
14009 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14010 inside inset but undo_par was.
14012 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14014 * Thesaurus.C: always include <config.h> in sources.
14018 * box.h: do not include <config.h> in header files
14020 * text.C (paintLastRow): remove unused variable
14022 * text.C (transformChar):
14024 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14026 * Painter.C (text):
14027 * font.C (width): rewrite to use uppercase() instead of
14030 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14032 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14034 * lyxfind.C: clean up of find failure position change
14036 2001-12-20 Juergen Vigna <jug@sad.it>
14038 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14040 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14041 (TeXRow): added to LaTeX a single tabular row.
14042 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14043 (Latex): simplified and finally good LT-h/f support.
14044 (various_functions): just small adaptions for LT-h/f support.
14046 * tabular_funcs.[hC]: added and moved here all not classfunctions
14049 2001-12-19 Juergen Vigna <jug@sad.it>
14051 * tabular.[Ch]: better support for longtabular options (not finished
14054 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14056 * text.C (paintLastRow): use the label font instead of the font of
14057 the last character to compute the size of *_BOX. This makes more
14058 sense and avoids a crash with empty paragraphs.
14059 Use Painter::rectangle to draw EMPTY_BOX.
14061 2001-12-19 Juergen Vigna <jug@sad.it>
14063 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14064 the paragraphs if the replaced paragraph is not the first one!
14065 Tried to delete not used paragraphs but does not work yet so for
14066 now it's inside #ifdef's and by default off!
14068 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14070 * MenuBackend.C: include "lyx_main.h" instead of declaring
14071 lastfiles (actually was declared as LastFiles* instead of a
14074 2001-12-17 Juergen Vigna <jug@sad.it>
14076 * tabular.C (AppendColumn): applied John's fix
14078 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14082 * BufferView_pimpl.h:
14083 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14086 * box.h: new start of class for above
14088 * lyxfunc.C: ignore space-only minibuffer dispatches.
14089 Show the command name when it doesn't exist
14091 * minibuffer.C: don't add empty lines to the history
14093 * minibuffer.C: add a space on dropdown completion
14095 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14097 * text.C: fix line above/below drawing in insets
14099 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14101 * lyxlength.C (LyXLength): Initialize private variables.
14103 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14105 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14106 when inserting error insets.
14108 2001-12-13 Juergen Vigna <jug@sad.it>
14110 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14111 actually sometimes the before-paragraph.
14112 (setUndo): don't clear the redostack if we're not actually undoing!
14114 2001-12-06 Juergen Vigna <jug@sad.it>
14116 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14117 and fixed redoing of main paragraph, so we can use it now ;)
14119 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14121 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14123 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14126 2001-12-13 André Pönitz <poenitz@gmx.net>
14129 * undo_func.C: minor cleanup
14131 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14133 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14134 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14135 font in urw-fonts package which is marked as -urw-fontspecific and
14136 does not work (incidentally, changing the encoding in the
14137 fonts.dir of this package to -adobe-fontspecific fixes the
14140 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14141 is a crash when undoing first paragraph (Juergen, please take a
14142 look). THis does not mean the undo fix is wrong, just that it
14145 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14146 the (Paragraph*) version when needed instead of duplicating the
14149 * text.C (workWidth): use Inset::parOwner to find out where the
14150 inset has been inserted. This is a huge performance gain for large
14151 documents with lots of insets. If Inset::parOwner is not set, fall
14152 back on the brute force method
14154 * paragraph_pimpl.C (insertInset):
14155 * paragraph.C (Paragraph):
14156 (cutIntoMinibuffer): set parOwner of insets when
14157 inserting/removing them
14159 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14161 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14167 * mathed/formulabase.C:
14168 * mathed/math_cursor.[Ch]:
14169 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14172 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14174 * lyxlength.[Ch] (operator!=): new function
14176 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14178 * text.C (workWidth): use Inset::parOwner to find out where the
14179 inset has been inserted. This is a huge performance gain for large
14180 documents with lots of insets. If Inset::parOwner is not set, fall
14181 back on the brute force method
14183 * paragraph_pimpl.C (insertInset):
14184 * paragraph.C (Paragraph):
14185 (cutIntoMinibuffer): set parOwner of insets when
14186 inserting/removing them
14188 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14190 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14192 * tabular-old.C (getTokenValue):
14193 * tabular.C (getTokenValue):
14194 (write_attribute): new versions for LyXLength
14195 (everywhere): adjust the use of widths
14197 * tabular.h: change the type of widths from string to LyXLength
14199 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14201 * paragraph.C: fixed missing line number count when exporting
14202 Environments to LaTeX file
14204 * buffer.C: added informational message for checking line numbers.
14206 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14208 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14209 paragraph, do the 'double space' part, but not the 'empty
14212 * text.C (workWidth): small optimization
14213 (getLengthMarkerHeight): use minimal size for negative lengths.
14215 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14217 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14219 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14221 2001-12-11 André Pönitz <poenitz@gmx.net>
14224 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14226 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14228 * text2.C: keep selection on a setFont()
14230 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14232 * lyx_cb.C: another bv->text misuse, from insert label
14234 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14237 * kbsequence.C: re-instate nmodifier mask
14239 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14241 * lyx_main.h: make lyxGUI private.
14243 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14245 * lyxfind.C: place the cursor correctly on failed search
14247 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14249 * text.C (getLengthMarkerHeight): for small heights, the arrows
14250 are not always on top/bottom of the text
14251 (drawLengthMarker): smaller arrows; take the left margin in
14252 account; draw also vfills.
14254 (paintLastRow): remove special code for vfill and standard spaces,
14255 since everything is handled in drawLengthMarker now.
14257 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14259 * buffer.C (insertErtContents): try to handle font and language
14260 interaction a bit better.g
14262 * ColorHandler.C (updateColor): change the hash to cover the whole
14263 LColor enum, ws cleanup
14264 (getGCLinepars): ditto
14265 (getGCLinepars): only lookup in the linecache once.
14267 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14269 * iterators.C (operator++): Make the iterator more robust
14271 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14273 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14275 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14278 * text.C: better added space drawing
14280 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14283 * BufferView2.C: fix layout combo update on inset unlock
14285 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14287 * Makefile.am: don't compile unused files
14289 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14293 * LyXAction.C: remove old LFUN_LAYOUTNO
14295 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14297 * paragraph_pimpl.h:
14298 * paragraph_pimpl.C: isTextAt() doesn't need font param
14300 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14303 * lyxlex.C: little cleanup
14305 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14307 * BufferView_pimpl.C: fix insertAscii for insets
14309 2001-12-05 Juergen Vigna <jug@sad.it>
14311 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14312 set the right font on the "multi" paragraph paste!
14314 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14320 * lyxlength.C: remove out-commented code.
14322 * BufferView_pimpl:
14336 * vc-backend.C: change "while(" to "while ("
14338 * lyxlength.[Ch]: add zero function to check if length is zero or
14340 * lyxgluelength.C: use it
14342 2001-12-05 Allan Rae <rae@lyx.org>
14344 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14345 Works for 2.95.3, from what I understand of Garst's reports this should
14346 work for other g++ versions. We're screwed if the abs(int) definition
14347 changed between bugfix releases of gcc.
14349 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14351 * text.C: fix chapter label offset !
14353 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14356 * text.C: fix hfill at end of line, clean up
14358 2001-12-04 Juergen Vigna <jug@sad.it>
14360 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14361 that we force an update of the inset and it's owners if neccessary.
14363 2001-12-03 Juergen Vigna <jug@sad.it>
14365 * text.C (rowLast): simplified code
14367 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14369 * lyxfunc.C: fix show options on timeout
14371 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14373 * screen.C (topCursorVisible): scroll half a page when the cursor
14374 reached top of bottom of screen
14376 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14378 * minibuffer.C: deactivate on loss of focus
14380 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14382 * vspace.[Ch] (operator!=): add operator.
14384 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14386 * BufferView_pimpl.C: refuse to open an inset when
14387 there's a selection.
14389 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14391 * BufferView_pimpl.C: allow to click on RHS of full row insets
14393 2001-11-30 Juergen Vigna <jug@sad.it>
14395 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14396 insets for undo reasons.
14398 2001-11-28 André Pönitz <poenitz@gmx.net>
14400 * vspace.[Ch]: cosmetical changes
14402 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14412 * kbsequence.C: part re-write of old kb code
14415 * WorkArea.C: remove Lgb_bug_find_hack
14417 2001-11-30 José Matos <jamatos@fep.up.pt>
14419 * buffer.C (makeDocBookFile): add a comment to point a hack.
14420 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14421 Fixed a double write of labels.
14423 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14426 * LaTeX.h Fixed bug in LaTeX class where it would not
14427 re-run latex if no depfiles were changed, but the .dvi was removed.
14429 2001-11-28 André Pönitz <poenitz@gmx.net>
14431 * all the files from the change on 2001/11/26:
14432 use lyx::layout_type instead of LyXTextClass::size_type
14433 use lyx::textclass_type instead of LyXTextClassList::size_type
14435 2001-11-29 Juergen Vigna <jug@sad.it>
14437 * text.C: added support for paragraph::isFreeSpacing()
14439 * buffer.C: same as above
14441 * paragraph.h: inserted isFreeSpacing() function to enable
14442 FreeSpacing inside InsetERT.
14444 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14445 of the paragraph's in the cut/copy buffer to 0!
14447 * text2.C (removeRow): remove the assert as it can!
14449 * lyxtext.h: added helper function firstRow returning firstrow and
14450 made firstrow private again.
14452 * BufferView2.C (lockInset): don't relock if we're already locked!
14454 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14455 the only paragraph.
14456 (removeRow): added Assert::(firstrow)
14458 * debug.C: forgot to add INSETTEXT here.
14460 2001-11-28 Juergen Vigna <jug@sad.it>
14462 * sp_spell.C (initialize): changed error text to more general
14463 spellchecker command use (not only ispell!)
14465 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14467 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14469 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14471 * vspace.C: initialise lyxgluelength on failure
14473 2001-11-28 Allan Rae <rae@lyx.org>
14475 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14476 declaration & definition that looks like a function declaration.
14478 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14480 * BufferView2.C (copy):
14481 (copyEnvironment): do not clear the selection when doing a copy.
14483 * text.C (paintFirstRow): compilation fix
14485 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14487 * tabular.C (Latex): correct line count when writing latex.
14489 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14491 * paragraph_pimpl.h:
14492 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14495 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14499 * LColor.C: change vfillline->added_space
14501 * text.C: add markers and text for added space
14503 * vspace.C: fix comment
14505 2001-11-28 André Pönitz <poenitz@gmx.net>
14507 * paragraph.C: whitespace changes
14508 * all the other files from the change on 2001/11/26:
14509 change *::pos_type into lyx::pos_type
14511 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14513 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14514 language of the document when inserting error insets.
14516 2001-11-26 André Pönitz <poenitz@gmx.net>
14518 * BufferView_pimpl.[Ch]:
14526 * paragraph_pimpl.[Ch]:
14529 * text2.C: reduce header dependencies, introduce type for positions
14531 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14533 * <various>: change to use Alert.h
14535 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14537 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14538 when encountering an unknown token.
14539 (readLyXformat2): Show an error message if there were unknown tokens.
14541 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14544 * BufferView_pimpl.C:
14548 * text2.C: use par->isInset()
14550 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14552 * paragraph_pimpl.h:
14553 * paragraph_pimpl.C: cleanup
14555 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14557 * text2.C (removeRow):
14558 * text.C (setHeightOfRow): remove useless (and costly) call to
14561 2001-11-20 Allan Rae <rae@lyx.org>
14563 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14564 Now need Inset*::checkInsertChar() to return true for appropriate
14565 cases so that the characters in the minibuffer will actually be
14568 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14570 * text.C: change the order of the includes.
14571 (workWidth): initialize it at once.
14572 (workWidth): make maxw unsigned
14573 (setHeightOfRow): remove unused variable (inset)
14574 (selectSelectedWord): remove unused variable (inset)
14575 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14577 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14579 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14580 server is not running.
14582 (closeConnection): add debug info when server is disabled.
14584 * ColorHandler.C (getGCForeground): send debug message to GUI
14587 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14589 * kbmap.C (bind): modify because return conventions of
14590 kb_sequence::parse have changed.
14592 * kbsequence.C (parse): only ignore spaces and not any stupid
14593 control character. This avoids tests like s[i] <= ' ', which are
14594 guaranteed to fail with 8bit characters and signed chars.
14595 Change return code to string::npos when there have been no error
14596 (0 was a bad idea when error is at first character)
14598 2001-11-14 José Matos <jamatos@fep.up.pt>
14601 * buffer.C (simpleDocBookOnePar): removed unused argument.
14603 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14605 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14606 insets which are part of a word. Paragraph::isLetter takes care of
14607 that now. Use Paragraph::isInset to identify insets.
14608 (selectSelectedWord): do not test for hyphenation break.
14610 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14611 that protected spaces are considered as spaces.
14613 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14616 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14619 * lyxserver.C: fix it. and small cleanup.
14621 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14623 * BufferView_pimpl.C: use inline helpers
14626 * LaTeXFeatures.C: fix typos
14629 * Spacing.C: move spacing_string into class
14631 * ToolbarDefaults.C: move stuff into namespace anon
14633 * layout.h: update enum
14635 * lyxfunc.C: use better debug
14637 * minibuffer.h: fix typo
14641 * WorkArea.C: add and use Debug::WORKAREA
14645 * text2.C: code re-organisation, inline helpers
14647 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14649 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14650 std::vector.empty().
14652 2001-11-09 Allan Rae <rae@lyx.org>
14654 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14655 '\n's after tables. Tabular and ERT inset work now makes this no
14658 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14661 * minibuffer.C: fix crash, improve drop-down completion
14663 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14666 * lyxserver.C: invalidate fd's when doing endPipe()
14668 2001-11-08 José Matos <jamatos@fep.up.pt>
14670 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14671 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14674 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14676 2001-11-07 José Matos <jamatos@fep.up.pt>
14679 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14682 * buffer.C (sgmlOpenTag):
14683 * buffer.C (sgmlCloseTag): removed debug info.
14685 * buffer.h (sgmlOpenTag):
14686 * buffer.h (sgmlCloseTag): made public.
14688 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14690 * buffer.C (saveParamsAsDefaults):
14691 * lyx_cb.C (MenuLayoutSave): remove
14693 * LyXAction.C (init):
14695 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14697 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14699 * buffer.C (setPaperStuff): removed from here...
14701 * bufferparams.C (setPaperStuff): ... and moved there.
14703 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14707 * XFormsView.C: add support for drop-down completion
14709 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14711 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14714 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14716 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14719 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14721 * lyx_main.C: change ref to known bugs
14723 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14725 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14726 to work around older babel problems.
14728 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14730 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14732 2001-10-24 Juergen Vigna <jug@sad.it>
14734 * tabular-old.C (ReadOld): below variable changes reflected.
14736 * tabular.[Ch]: added ltType struct for longtable header/footer
14737 defines and changed all instances where they are used. Added
14738 future support for double top/bottom rows.
14740 2001-10-24 José Matos <jamatos@fep.up.pt>
14742 * buffer.h (docbookHandleCaption):
14743 * buffer.C (docbookHandleCaption): removed unused function.
14744 (makeDocBookFile): moved docbook supported version to v4.1.
14746 2001-10-24 José Matos <jamatos@fep.up.pt>
14749 * tabular.C (docbookRow): new function to export docbook code of a row.
14750 (DocBook): now honors the longtable flags.
14752 2001-10-23 José Matos <jamatos@fep.up.pt>
14755 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14756 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14758 * buffer.C (makeLinuxDocFile):
14759 (makeDocBookFile): reworked the preamble, more clean, and with
14760 support for lyx defined entities. Changed the document declaration
14761 to be more XML friendly.
14763 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14764 if we need to output XML that should be done with a filter.
14766 2001-10-22 Juergen Vigna <jug@sad.it>
14768 * sp_pspell.h (class PSpell): add alive function needed in the
14769 controller to see if the spellchecker could be started.
14771 2001-10-22 Juergen Vigna <jug@sad.it>
14773 * buffer.C (insertStringAsLines): modify the font for inserting
14774 chars in certain conditions by calling checkInsertChar(font).
14776 2001-10-19 Juergen Vigna <jug@sad.it>
14778 * text.C (workWidth): use getRow instead of wrong algorithm.
14779 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14781 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14786 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14788 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14790 * text.C (workWidth): do not search for the exact row when
14791 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14792 optimization for big documents.
14794 2001-10-18 Juergen Vigna <jug@sad.it>
14796 * text.C (workWidth): new function with added Inset * parameter.
14798 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14800 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14802 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14803 change return type of getColumnNearX.
14806 * text.C (changeRegionCase): use uppercase/lowercase instead of
14809 (rightMargin): simplify code by factoring out the uses of
14814 (appendParagraph): use Paragraph::size_type
14816 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14818 * vspace.C (asLatexString): add a missing break
14820 2001-10-15 Herbert Voss <voss@perce.de>
14822 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14824 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14826 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14829 2001-10-10 André Pönitz <poenitz@gmx.net>
14831 * lyxfunc.C: removed greek_kb_flag.
14833 2001-10-10 Herbert Voss <voss@perce.de>
14835 * lyx_main.C: delete global string help_lyxdir.
14837 2001-10-09 Herbert Voss <voss@perce.de>
14839 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14841 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14843 * lyx_main.C: added global string help_lyxdir.
14845 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14847 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14849 * lyxrc.C (set_font_norm_type): support iso8859-4
14851 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14853 * LaTeX.C (deplog): add another regex for MikTeX
14855 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14857 * lyxrc.C (set_font_norm_type): support iso8859-3
14859 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14861 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14863 * LaTeXFeatures.C: remove special case of french and index
14865 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14866 before \begin{document}). This solves several incompatibilities.
14868 2001-10-03 Garst Reese <reese@isn.net>
14870 * lyx_cb.C: change CheckTex error msg.
14872 2001-10-03 José Matos <jamatos@fep.up.pt>
14874 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14876 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14878 * .cvsignore: update
14880 * lyx_main.C (commandLineVersionInfo): use new style version info.
14882 * buffer.C (writeFile):
14884 (makeLinuxDocFile):
14885 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14887 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14889 * version.h: update to use stuff in version.C
14891 * version.C.in: new file. Contains version information determined
14892 at compile time. This is a merging of version.h and
14895 2001-10-03 Juergen Vigna <jug@sad.it>
14897 * BufferView_pimpl.C (update): don't change "dirty" status in
14900 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14902 * WorkArea.C (c-tor): re-position version string slightly.
14904 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14906 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14907 revert to previous code.
14909 WorkArea.[Ch]: (show, destroySplash): methods removed.
14911 WorkArea.C: rework code so that it's an amalgam of the codes before and
14912 after the splash screen was moved to WorkArea.
14914 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14917 * vspace.C (inPixels):
14920 * buffer.C (insertStringAsLines):
14921 (asciiParagraph): fix types to be large enough
14923 * lyxlex_pimpl.h: change member status from short to int
14925 * layout.h: fix type of endlabeltype
14928 * kbsequence.C (parse): change return type to string::size_type
14930 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14933 * Bullet.C (bulletSize):
14934 (bulletEntry): do not use short ints as parameters
14936 * BufferView2.C (insertLyXFile): change a char to an int.
14938 * WorkArea.C (WorkArea): remove unneeded floats in computation
14940 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14942 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14944 * paragraph.C (asString): Do not ignore newline/hfill chars when
14945 copying to the clipboard.
14947 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14949 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14950 after a multi-line inset.
14952 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14954 * paragraph.C (validate): Set NeedLyXFootnoteCode
14956 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14958 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14959 and decrease-error to decrease.
14961 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14963 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14964 it more readable (should be equivalent)
14966 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14968 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14970 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14972 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14973 of a cursor (row, etc.) after a character has been deleted
14974 (deleteEmptyParagraphMechanism): call the method above on _all_
14975 cursors held by the LyXText when a double space has been
14978 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14980 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14982 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14984 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14985 background. Use greyOut() and the new show() methods to toggle between
14986 the foreground and background. Add code to remove the splash after
14987 its initial showing.
14989 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14990 (create_forms): no longer call Dialogs::showSplash.
14992 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14994 * .cvsignore: add version_info.h
14996 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14998 * version_info.h.in: new file
15000 * Makefile.am: add version_info.h.in
15002 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15003 version_info.h instead of VERSION_INFO
15005 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15007 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15008 The ERT inset now returns string().
15010 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15012 * lyxtext.h, text.C (selectNextWord): renamed as
15013 selectNextWordToSpellcheck.
15015 * text.C (selectNextWordToSpellcheck): Modified to not select
15016 words inside an ERT inset.
15018 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15020 * lyx_cb.C (MenuLayoutSave): change a bit the question
15022 * sp_base.h: include <sys/types.h>
15024 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15026 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15028 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15030 * several files: fix typos in user-visible strings
15032 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15034 * text2.C (pasteSelection): do not set the selection, since it
15035 will be cleared later. Actually, the intent was to fix the way the
15036 selection was set, but I figured rmoving the code was just as good.
15038 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15040 * FontLoader.C (available): Check if font is available without
15043 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15045 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15047 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15049 * lyxrc.[Ch]: added display_graphics variable and associated code.
15051 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15053 * bufferparams.C (hasClassDefaults): new method. Returns true if
15054 the buffer parameters correspond to known class defaults
15056 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15058 * XFormsView.C (show): set minimum size to the main window.
15060 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15062 * text2.C (copySelection):
15064 * lyxfind.C (LyXReplace):
15065 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15066 LyXText::selectionAsString.
15068 * paragraph.C (asString): add "label" argument to the second form
15070 * text2.C (selectionAsString): add "label" argument and pass it to
15071 Paragraph::asString.
15073 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15075 * lyx_main.C (commandLineHelp): remove version information
15077 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15079 * lyx_main.C: add -version commandline option
15081 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15083 * paragraph.h: make the optional constructor arg required instead.
15084 some modifications to other files because of this.
15086 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15088 * lyxserver.C (C_LyXComm_callback): make it static
15090 * lyx_main.C (error_handler): make it static
15092 * lyx_gui.C (LyX_XErrHandler): make it static
15094 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15096 * WorkArea.C: make the extern "C" methods static.
15098 * Makefile.am (lyx_LDADD): simplify
15100 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15102 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15103 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15105 * LyXAction.C (init):
15106 * lyxfunc.C (dispatch): associated code removal.
15108 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15110 * lyxfont.h (isSymbolFont): shut off warning
15112 * text.C (setHeightOfRow):
15113 (getVisibleRow): fix crash with empty paragraphs which have a
15116 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15118 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15121 2001-09-04 José Matos <jamatos@fep.up.pt>
15124 * tabular.C (docbook): rename docBook method to docbook.
15126 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15128 * Makefile.am: add dependencies to main.o.
15130 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15132 * FontLoader.C (available): Return false if !lyxrc.use_gui
15134 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15136 * FontInfo.C (query):
15137 * converter.C (view):
15138 * importer.C (Import):
15139 * exporter.C (Export): Can not -> cannot.
15141 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15143 * BufferView_pimpl.C: allow to create index inset even if
15146 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15148 * buffer.C (getLists): replace boost::tie code with an explicit pair
15149 as boost::tie can break some compilers.
15151 * iterators.h: Added a std:: declaration to the return type of
15154 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15156 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15159 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15161 * iterators.[Ch]: New files. Provide paragraph iterators.
15163 * buffer.C (changeLanguage): Use paragraph iterators.
15164 (isMultiLingual): ditto
15166 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15168 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15170 * FontLoader.C: Support for cmr font.
15172 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15174 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15175 (available): New method.
15177 * FontInfo.C (getFontname): Use scalable fonts even when
15178 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15181 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15183 * converter.C (Formats::view): reverted! Incorrect fix.
15185 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15187 * converter.C (Formats::view): only output the -paper option
15188 if the dvi viewer is xdvi, thereby fixing bug #233429.
15190 2001-08-23 Herbert Voss <voss@perce>
15192 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15194 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15196 * Spacing.h (Spacing): Set space to Default on in the default
15199 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15201 * vc-backend.h (RCS::versionString): add RCS to version
15202 (CVS::versionString): add CVS to version
15204 * vc-backend.C (scanMaster): do not add CVS to version.
15205 (scanMaster): do not add RCS to version
15207 * lyxvc.C (versionString): new method
15209 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15211 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15213 * Spacing.C (set): initialize fval
15215 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15217 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15220 2001-08-16 Juergen Vigna <jug@sad.it>
15222 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15224 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15226 * BufferView_pimpl.C:
15229 * text2.C: setParagraph takes linespacing now
15231 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15233 * LyxAction.C: add internal LFUN_CITATION_INSERT
15235 * LyXView.C: actually apply fix
15237 * bufferlist.C: fix open non-existent file
15239 * lyxfind.C: fix indentation
15241 * lyxfunc.C: remove unneeded assert, fix typo
15243 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15245 * MenuBackend.C: use "Floatname List"
15247 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15249 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15250 when converting LaTeX layout to insetERT.
15251 Generate a non-collapsed float when reading old float
15253 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15255 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15258 2001-08-13 Juergen Vigna <jug@sad.it>
15260 * text.C (fill): return 0 instead of 20 as this seems to be the more
15263 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15265 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15268 2001-08-13 Juergen Vigna <jug@sad.it>
15270 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15272 (SearchBackward): comment out the unlocking of the inset_owner this
15273 should not be needed!
15275 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15277 * Many files: Remove inherit_language, and add latex_language
15279 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15280 collapsible insets.
15282 2001-08-10 Juergen Vigna <jug@sad.it>
15284 * text.C (prepareToPrint): fixed hfill-width in draw!
15286 * BufferView2.C (selectLastWord): save the selection cursor as this
15287 now is cleared in the function LyXText::clearSelection!
15289 2001-08-08 Juergen Vigna <jug@sad.it>
15291 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15292 BACKSPACE type functions.
15294 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15295 is only cutted from the document but not put in the cut-buffer, where
15296 still the old stuff should be.
15298 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15300 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15302 * tabular.C (SetWidthOfCell): fixed special case where the width
15304 (LeftLine): handle '|' in align_special.
15306 (LeftAlreadyDrawed): ditto
15307 (SetWidthOfCell): ditto
15309 2001-08-07 Juergen Vigna <jug@sad.it>
15311 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15313 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15315 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15316 * lyxlex.[hC]: ditto
15318 2001-08-06 Juergen Vigna <jug@sad.it>
15320 * text.C (getVisibleRow): fix up row clearing a bit.
15322 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15324 * minibuffer.C: make sure the X server sees the changes in the input.
15326 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15328 * paragraph.C (getFont): split into...
15329 (getLabelFont): this
15330 (getLayoutFont): and this
15331 * paragraph_pimpl.C (realizeFont): calling this
15333 * text2.C (getFont): split into...
15334 (getLayoutFont): this
15335 (getLabelFont): and this
15336 (realizeFont): all three calling this
15338 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15341 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15343 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15345 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15347 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15348 layouts from the Quote inset insertion.
15350 2001-08-03 Juergen Vigna <jug@sad.it>
15352 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15354 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15355 only if status not is already CHANGED_IN_DRAW (second level).
15357 * text.C (draw): don't set the need_break_row when inside an
15360 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15362 * buffer.C (parseSingleLyXformat2Token): handle more latex
15365 * bufferview_funcs.[hC]: change function names to
15366 begin with small char, adjust other files.
15368 2001-08-02 André Pönitz <poenitz@gmx.net>
15371 BufferView_pimpl.C: remove broken special code for math-greek
15373 2001-08-02 Juergen Vigna <jug@sad.it>
15375 * BufferView_pimpl.C (update): redone this function so that we
15376 update the text again if there was a CHANGE_IN_DRAW.
15378 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15379 (drawFromTo): added a new internal bool which is used by draw() and
15381 (general): some cursor drawing problems fixed.
15383 2001-08-01 Juergen Vigna <jug@sad.it>
15385 * lyxfind.C (LyXFind): fixed
15386 (SearchForward): ditto
15387 (SearchBackward): ditto
15389 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15390 spurius drawing of the cursor in the main area.
15392 * text2.C (status): small fix which could lead to a segfault!
15393 (clearSelection): remove unneeded BufferView param.
15395 2001-08-01 André Pönitz <poenitz@gmx.net>
15397 * lyxfunc.C: small change due to changed mathed interface
15399 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15401 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15403 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15405 * lyxfunc.c: fail gracefully if file doesn't exist
15410 * BufferView_pimpl.C: IsDirWriteable() proto changed
15412 * LyXView.C: fix updateWindowTitle() to store the last title
15414 2001-07-31 Juergen Vigna <jug@sad.it>
15416 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15417 the font (wrong since using of Paragraph::highestFontInRange).
15419 * paragraph.C (highestFontInRange): added a default_size parameter.
15421 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15422 (setHeightOfRow): reformat
15424 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15426 * converter.[hC] + affected files: move to (inital-char)lowercase
15429 * ParagraphParameters.C (ParagraphParameters): remove commented code
15431 * PainterBase.[Ch]: remove commented code
15433 * LaTeXFeatures.h: add "bool floats" for float.sty
15435 * LaTeXFeatures.C (LaTeXFeatures): init floats
15436 (require): handle float
15437 (getPackages): do it with floats
15439 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15441 * BufferView_pimpl.C (Dispatch): improve handling of
15442 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15444 * commandtags.h: #include lyxfont.h here temporarily to avoid
15447 * bufferlist.h: include LString.h here.
15449 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15451 * text2.C (getStringToIndex): new method.
15453 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15455 * *: Reduced header file dependencies all over.
15457 2001-07-30 Baruch Even <baruch@lyx.org>
15459 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15461 2001-07-29 Baruch Even <baruch@lyx.org>
15463 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15465 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15467 * ParameterStruct.h (endif): add a default constructor to make
15468 sure that all variables is initialized.
15470 * ParagraphParameters.C (ParagraphParameters): adjust
15472 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15474 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15475 index; also, check that there is something to index, and that it
15476 does not span over several paragraphs.
15477 (doubleClick): use WHOLE_WORD_STRICT for double click.
15479 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15481 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15484 2001-07-26 Baruch Even <baruch@lyx.org>
15486 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15487 an InsetFig figure, backwards compatible reading of old figure code.
15489 2001-07-27 Juergen Vigna <jug@sad.it>
15491 * text2.C: font.realize function adaption.
15493 * text.C (draw): add a warnings lyxerr text if needed.
15495 * layout.C: font.realize function adaption.
15497 * language.C: add inherit_language and implement it's handlings
15499 * bufferview_funcs.C (StyleReset): remove language parameter from
15500 font creation (should be language_inherit now).
15502 * bufferparams.C (writeFile): handle ignore_language.
15504 * paragraph.C (getFontSettings): the language has to be resolved
15505 otherwise we have problems in LyXFont!
15507 * lyxfont.C (lyxWriteChanges): added document_language parameter
15508 (update): removed unneeded language parameter
15510 * paragraph.C (validate): fixed wrong output of color-package when
15511 using interface colors for certain fonts in certain environments,
15512 which should not seen as that on the final output.
15514 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15516 * BufferView_pimpl.C:
15521 * LyXAction.C: add thesaurus support
15524 * lyxfind.C: add "once" parameter, for thesaurus, to not
15525 move to the next match
15527 2001-07-26 Juergen Vigna <jug@sad.it>
15529 * lyxfont.C (realize): honor ignore_language too!
15532 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15534 * text.C (draw): one place more for ignore_language to not draw
15537 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15539 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15541 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15543 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15544 the minipage conversion problem.
15546 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15548 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15551 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15553 * BufferView.h: don't forward declare WorkArea
15555 * BufferView.C: don't include WorkArea.h
15557 2001-07-25 André Pönitz <poenitz@gmx.net>
15561 * lyxfunc.C: new LFUN 'math-space'
15563 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15565 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15567 * text2.C (toggleInset): call open/close
15569 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15571 * lyxfunc.C (dispatch): add debug for the disabled case
15573 * font.C (buttonText): make similar to rectText
15575 * buffer.C (readInset): comment out parsing of insetlist and
15578 * PainterBase.C (rectText): small correction
15580 * BufferView_pimpl.C: comment out insettheorem and insetlist
15581 * LyXAction.C: ditto
15582 * commandtags.h: ditto
15584 2001-07-24 Juergen Vigna <jug@sad.it>
15586 * text.C (draw): honor the ignore_language.
15588 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15590 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15592 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15595 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15597 * lyxtext.h: remove unused (and unimplemented) methods
15599 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15601 * text.C (getVisibleRow): honor background color
15604 * Painter.h: remove default color argument for fillRectangle
15606 * text.C (backgroundColor): new method
15608 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15610 * text.C (getVisibleRow): adjust
15612 * font.[Ch] (rectText): new method, metrics
15613 (buttonText): new method, metrics
15615 * PainterBase.[hC]: make rectText and buttonText always draw and take
15618 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15620 * ToolbarDefaults.C (read):
15621 * MenuBackend.C (read): allow escaping in all strings
15623 * BufferView_pimpl.C (insertAndEditInset): new method.
15624 (Dispatch): use insertAndEditInset whenever appropriate.
15626 * BufferView_pimpl.C (insertNote): removed
15628 * BufferView_pimpl.C (smartQuote): new method, moved from
15629 BufferView; if an insetquote cannot be inserted, insert a '"'
15632 * BufferView2.C: remove insertCorrectQuote();
15634 * lyxfunc.C (getStatus): Add support for all remaingin
15635 inset-insert lfuns.
15637 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15639 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15640 command (necessary to pass " as parameter of self-insert.
15642 * text.C (selectWordWhenUnderCursor):
15643 (selectWord): add word_location parameter
15644 (selectWordWhenUnderCursor): same + remove special code for word
15646 (selectNextWord): use kind() to guess type of insetspecialchar,
15649 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15650 (insertErtContents): create ert insets as collapsed.
15651 (readInset): better compatibility code for Info inset.
15653 2001-07-20 Juergen Vigna <jug@sad.it>
15655 * lyxfunc.C (dispatch): use always LyXFind now!
15657 * text2.C (init): add a reinit flag so that the LyXText can be
15658 reinited instead of deleted and reallocated (used in InsetText).
15660 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15666 2001-07-18 Juergen Vigna <jug@sad.it>
15668 * text.C (selectNextWord): handle insets inside inset by calling
15669 always the bv->text functions so that we can go up the_locking_inset!
15671 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15672 in strange locations when inside an inset!
15674 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15675 handling to include insets.
15677 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15679 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15681 * LyXAction.C (init):
15683 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15684 LIGATURE_BREAK, since the name is so stupid.
15686 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15688 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15691 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15693 * sp_form.[Ch]: remove.
15695 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15697 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15700 * src/buffer.C (readInset): ditto.
15702 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15704 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15705 menuSeparator(), endOfSentenceDot(), ldots() and
15706 hyphenationPoint(), which are therefore removed.
15707 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15709 * LyXAction.C (init):
15710 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15712 * paragraph.C (getWord): removed.
15714 * BufferView_pimpl.C (Dispatch): use last word or selection for
15715 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15717 * lyx_main.C (queryUserLyXDir): do not ask before creating
15718 user_dir, except if it has been named explicitely.
15720 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15722 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15723 a document of zero size.
15725 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15727 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15728 approriately in the c-tor and in require().
15729 (getPackages): output the appropriate LaTeX for natbib support.
15731 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15732 variables "use_natbib" and "use_numerical_citations" when reading the
15734 (readInset): read the various natbib cite commands.
15735 (validate): white-space change.
15737 * bufferparams.[Ch]: new variables "bool use_natbib" and
15738 "bool use_numerical_citations".
15739 (writeFile): output them in the LyX file.
15741 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15743 * lyxfunc.C (getStatus): add support for all the inset insertion
15746 * text2.C (insertInset):
15747 * paragraph.C (insetAllowed):
15748 * BufferView_pimpl.C (insertInset): update to take in account the
15749 renaming of insertInsetAllowed
15751 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15753 * text2.C (getInset): new method. returns inset at cursor position.
15755 * BufferView_pimpl.C (Dispatch): changes because of this.
15757 * LyXAction.C (init): rename open-stuff to inset-toggle.
15759 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15761 * text2.C (toggleInset): renamed from openStuff; use
15764 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15766 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15768 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15770 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15772 * buffer.C (readLyXformat2): Add filename to the error dialog
15774 2001-07-18 Juergen Vigna <jug@sad.it>
15776 * tabular.C (GetCellNumber): put an assert here instead of the check!
15778 2001-07-17 Juergen Vigna <jug@sad.it>
15780 * BufferView_pimpl.C (toggleSelection): adapted too.
15782 * text.C (selectNextWord): adapted for use with insets.
15783 (selectSelectedWord): ditto
15785 2001-07-17 Juergen Vigna <jug@sad.it>
15787 * sp_spell.C (PSpell): fix initialitation order.
15789 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15791 * paragraph.C: spacing
15793 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15795 * sp_spell.C: repair language selection for pspell
15797 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15799 * lyxfunc.h: change more methods to begin with lower char.
15801 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15803 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15804 for unknown layouts.
15806 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15808 * buffer.C (readLyXformat2): Generate an error dialog if there are
15811 2001-07-16 Juergen Vigna <jug@sad.it>
15813 * sp_spell.C: always compile ISpell part.
15815 * lyxrc.C: added use_pspell entry and it's handling.
15817 2001-07-13 Juergen Vigna <jug@sad.it>
15819 * sp_spell.C: removed double includes.
15821 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15823 Consistent use of Lsstream.h:
15824 * Lsstream.h: added using std::stringstream for consistencies sake.
15826 * buffer.C: removed using std::stringstream
15828 * lyxfont.C (stateText):
15829 * paragraph.C (asString):
15830 * text.C (selectNextWord, selectSelectedWord):
15831 * text2.C (setCounter):
15832 * vspace.C (asString, asLatexString):
15833 std::ostringstream -> ostringstream.
15835 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15837 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15838 * commandtags.h: add LFUN_HELP_ABOUTLYX
15839 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15841 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15843 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15845 * lyx_gui_misc.C: remove spellchecker
15846 * lyxfunc.C: showSpellchecker
15848 * sp_ispell.h: added
15849 * sp_pspell.h: added
15850 * sp_spell.C: added
15851 * sp_form.[Ch]: removed
15852 * spellchecker.[Ch]: removed
15854 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15856 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15858 (simpleTeXSpecialChars): Simply print the input character without
15859 any special translation if pass_thru is set.
15861 * layout.h: Added bool pass_thru to layout class for being able to
15862 implement pass through of a paragraph for Literate Programming.
15864 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15865 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15866 * layout.C (Read): add "passthru" to list of layout tags and add
15867 code to set the pass_thru boolean when it is read.
15869 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15871 * trans_decl.h: remove allowed from KmodInfo
15873 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15874 remove allowed code
15877 * paragraph_pimpl.C (erase): use boost::prior
15879 * Painter.C (text): use data() instead of c_str() when length is
15881 * WorkArea.C (putClipboard): ditto
15882 * font.h (width): ditto
15884 * BufferView2.C: use it-> instead of (*it). for iterators
15886 * paragraph_pimpl.C: ditto
15887 * paragraph.C: ditto
15888 * minibuffer.C: ditto
15889 * language.C: ditto
15891 * encoding.C: ditto
15892 * counters.C: ditto
15893 * converter.C: ditto
15895 * Variables.C: ditto
15896 * TextCache.C: ditto
15897 * MenuBackend.C: ditto
15898 * LyXAction.C: ditto
15900 * FloatList.C: ditto
15901 * DepTable.C: ditto
15902 * ColorHandler.C (LyXColorHandler): ditto
15904 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15906 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15908 * text2.C (openStuff): reintroduce this method (which had been
15909 nuked in NEW_INSETS frenzy).
15911 * lyxfunc.C (Dispatch): when an action has not been handled, use
15912 its name in the error message, not its number.
15914 * paragraph.C (inInset): change method name to begin with lowercase.
15917 * text2.C: updates because of this.
15919 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15921 * ToolbarDefaults.C (add): add spaces in error message
15923 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15925 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15926 (readLyXformat2): rename return_par to first_par, use lyxlex's
15927 pushToken and remove the manual push handling.
15928 (parseSingleLyXformat2Token): add another ert comp. variable:
15929 in_tabular, rename return_par to first_par. handle newlines better
15931 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15933 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15935 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15937 * text2.C (getParFromID): removed
15939 * buffer.C (getParFromID): new method moved form lyxtext.
15940 * BufferView2.C (insertErrors): adjust
15941 (setCursorFromRow): adjust
15942 * BufferView_pimpl.C (restorePosition): adjust
15943 * lyxfunc.C (Dispatch): adjust
15944 * undo_funcs.C (textUndo): adjust
15946 (textHandleUndo): adjust
15947 (textHandleUndo): adjust
15949 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15951 * buffer.C: up' the LYX_FORMAT
15953 * lyxfont.h: turn NO_LATEX on as default
15955 * buffer.C (insertErtContents): new methods of tex style compability.
15956 (parseSingleLyXformat2Token): use it several places.
15957 * tabular.C (OldFormatRead): and here
15959 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15961 * text2.C: remove some commented code.
15964 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15965 * trans.C: changes because of the above.
15967 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15969 * text2.C (setCounter): Fix counters bug with bibliography layout.
15971 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15973 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15974 own member functions
15975 (simpleTeXSpecialChars): ditto
15977 2001-07-06 Juergen Vigna <jug@sad.it>
15979 * a lot of files: changed the access to LyXText::status and the
15980 call of undo-functions.
15982 * undo.[Ch]: added a inset_id to the undo informations.
15984 * undo_funcs.[Ch]: added and moved here all undo functions.
15986 * lyxtext.h: give the status enum a weight, made status_ a private
15987 variable and made accessor functions for it, removed the whole bunch
15988 of undo-functions as they are now in their own file, make some
15989 functions publically available. Added function ownerParagraph with
15992 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15993 made InInset() a const function, added getParFromID() function.
15995 * buffer.[Ch]: added const version for inset_iterator functions,
15996 added getInsetFromID() function.
15998 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15999 changed undo functions for new version.
16001 2001-07-05 Juergen Vigna <jug@sad.it>
16003 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16004 unknow mechanism does not call the proper constructor but only this
16005 one also if I request the other!?
16007 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16009 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16011 * text2.C (LyXText): use initialization lists.
16013 * lyxtext.h (Selection): initialize set_ and mark_
16014 (init): remove method
16016 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16018 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16020 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16022 * screen.[Ch]: change method names to begin with lowercase
16024 * BufferView_pimpl.C (updateScrollbar): simplify further and
16025 hopefully make it a bit faster.
16027 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16029 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16030 calling directly xforms functions.
16032 * Painter.C (Painter):
16033 * lyx_cb.C (MenuWrite):
16034 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16037 * lyx_gui.C: remove bogus guiruntime extern declaration.
16039 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16041 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16043 (redoDrawingOfParagraph): ditto
16044 (redoParagraphs): ditto
16045 (cutSelection): don't create a object for CutAndPaste use the
16046 static method directly
16047 (pasteSelection): ditto
16049 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16052 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16054 * modifications to some other files because of this.
16056 * Makefile.am (lyx_SOURCES): add XFormsView
16058 * XFormsView.[Ch]: new files
16060 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16061 the main window. Move the gui dependent stuff to XFormsView
16063 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16065 * tabular.C (GetCellInset): update cur_cell also in the row/col
16066 version of this function.
16068 * lyxfunc.C: no need to include figure_form.h here.
16074 * lyxvc.C: no need to include forms.h here.
16076 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16078 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16080 * lyxfunc.C (Dispatch):
16082 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16083 constructor argument.
16085 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16087 * paragraph.C (Paragraph): dont't clear, and just set layout.
16088 (makeSameLayout): use params's copy contructor.
16090 * ParagraphParameters.[Ch] (makeSame): delete method
16092 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16094 * Variables.[Ch]: fix indentation, rename set to isSet
16096 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16098 * lyxfunc.C (Dispatch): fix typo
16100 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16102 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16105 * bufferlist.C: include assert.h for emergencyWrite().
16107 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16109 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16110 give up at last (bug #425202) !
16112 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16118 * spellchecker.C: strip spellchecker options and bring up
16119 preferences tab instead
16121 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16123 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16124 the istringstream constructor
16126 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16128 * paragraph.C (getLayout): fix return value
16130 * paragraph.h: do not declare getLayout as inline.
16132 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16134 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16136 * lyxcursor.h (operator<): new func
16137 (operator>): new func
16138 (operator>=): new func
16139 (operator<=): new func
16141 * text.C (changeCase): use selection.start and selection.end
16142 (changeRegionCase): require from to be <= to. Require par to be a
16145 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16147 2001-06-27 Juergen Vigna <jug@sad.it>
16149 * text.C (cursorLeftOneWord): changed to return the cursor and added
16150 overlay with BufferView * parameter which calls this one.
16152 (selectWord): use new getWord function.
16153 (changeCase): renamed from changeWordCase as and extended to work
16154 also on selections.
16156 * lyxtext.h: added enum word_location
16158 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16159 changeCase as this operates now also on selections.
16161 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16163 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16165 * many files: send debug output to Debug::INFO instead of
16168 * converter.C (View):
16170 (Move): send debug output to Debug::FILES instead of console.
16172 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16174 * lyxfunc.C (getStatus): use func_status
16176 * func_status.h: new header, describing the results of
16177 LyXFunc::getStatus;
16179 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16182 2001-06-25 The LyX Project <jug@sad.it>
16184 * buffer.C (sgmlOpenTag):
16186 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16188 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16190 * text2.C: remove some dead code
16192 * tabular.C (GetCellInset): store the last cell checked (gotten)
16194 * tabular.h: add the helper for the speedup
16196 * lyxtext.h: remove some dead code
16198 2001-06-26 The LyX Project <Asger>
16200 * paragraph.C: Change export to LaTeX of alignment to
16201 \begin{center} and family for better roundtrip work with reLyX.
16203 * Tune the math drawing a bit.
16205 2001-06-25 The LyX Project <Asger>
16207 * LColor.C (LColor): New color for math background. New color
16210 2001-06-25 The LyX Project <jug@sad.it>
16212 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16214 * lyxfunc.C (Open):
16215 * bufferlist.C (newFile): do not restrict to files ending with
16218 * BufferView_pimpl.C (MenuInsertLyXFile):
16220 2001-06-24 The LyX Project <jug@sad.it>
16222 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16225 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16227 * lyxtext.h: rename most methods to begin with a small char.
16228 Lots of changes because of this.
16230 * paragraph.C (Paragraph): do not call fitToSize
16231 (erase): call Pimpl::erase
16232 (insertChar): call Pimpl::insertChar
16233 (insertInset): call Pipl::insertInset
16234 (breakParagraph): do not call fitToSize
16235 (breakParagraphConservative): do not call fitToSize
16236 (fitToSize): remove method
16238 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16240 2001-06-24 The LyX Project <Asger>
16242 * Fix Qt compilation^2
16244 2001-06-24 The LyX Project <jug@sad.it>
16246 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16247 depthHook(getDepth()-1).
16250 * ParagraphParameters.h:
16251 * ParameterStruct.h: change type of depth to unsigned int ==
16252 depth_type. Many adaptations to other files before of that.
16254 2001-06-24 The LyX Project <Asger>
16256 * Fix Qt compilation.
16258 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16260 * paragraph.h: renamed several methods to begin with small letter.
16261 several changes to many parts of the code because of this.
16263 2001-06-23 The LyX Project <jug@sad.it>
16265 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16266 rewritten to discard all double spaces when KeepEmpty is off
16267 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16268 to only handle newlines but not fiddle with spaces and friends.
16270 * lyxfunc.C (MenuNew): when doing 'new from template', use
16271 template_path as default directory
16273 2001-06-23 The LyX Project <Asger>
16275 * Clean-up of header file includes all over
16276 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16278 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16280 * paragraph.h: renamed from lyxparagraph.h
16282 2001-06-23 Asger <lyx@violet.home.sad.it>
16284 * Buffer.h: Removed Buffer::resize
16285 * BufferList.h: Removed BufferList::resize
16286 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16287 the document lazily when we change the width, or the font settings.
16289 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16291 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16293 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16295 * buffer.h: remove out of date comment
16297 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16300 * screen.C: fix "theoretical" GC leak
16302 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16304 * LaTeX.C (scanAuxFile):
16305 (deplog): remove trailing \r when reading stream (useful under
16308 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16310 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16311 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16312 and BufferView::theLockingInset(Inset*), so should use them and not
16313 access bv_->text->the_locking_inset directly.
16315 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16317 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16320 * tex-defs.h: remove old unused file
16322 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16324 * BufferView_pimpl.C: fix typo, remove minibuffer message
16325 when buffer has loaded
16327 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16329 * lyxfunc.C (Dispatch): use stringstream
16330 (MenuNew): use stringstream
16331 (Open): use stringstream
16333 * importer.C (Import): use stringstream
16335 * bufferview_funcs.C (CurrentState): use stringstream
16337 * LaTeX.C (run): use stringstream
16339 * BufferView_pimpl.C (savePosition): use stringstream
16340 (restorePosition): use stringstream
16341 (MenuInsertLyXFile): use stringstream
16343 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16356 * vspace.C: removed // -*- C++ -*- as first line.
16359 * version.h: added // -*- C++ -*- as first line.
16361 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16363 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16365 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16368 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16370 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16373 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16375 * gettext.C: include LString.h even when --disable-nls is on.
16377 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16379 * converter.h (Get): changed argument type from int to
16380 FormatList::size_type to avoid unnecessary conversion.
16382 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16385 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16387 * gettext.h: include LString.h even when --disable-nls is on.
16389 2001-06-07 Juergen Vigna <jug@sad.it>
16391 * text.C (BreakAgain): subst spaces with tabs.
16393 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16394 (resizeInsetsLyXText): set force on resizeLyXText.
16396 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16398 * gettext.h (gettext_init):
16399 (locale_init): use a real definition instead of a macro
16401 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16403 * Bufferview_pimpl.C:
16405 * LColor.C: further lcolor tidies
16407 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16409 * BufferView_pimpl.C (updateScrollbar): simplify.
16411 * BufferView2.C: don't include insets/insetinfo.h, change
16412 prototype for insertInset and call the Pimpl version. let
16413 updateInset call Pimpl version.
16415 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16416 gotoInset to BufferView::Pimpl
16418 2001-06-01 Juergen Vigna <jug@sad.it>
16420 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16421 inside a LockingInset (is the update needed at all?).
16423 2001-05-31 Juergen Vigna <jug@sad.it>
16425 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16426 here not the old one otherwise how should we compare it afterwards
16429 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16434 * FontInfo.C: bring C functions into global namespace when
16437 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16439 * LString.h: make sure config.h has been loaded before LString.h.
16441 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16442 (one for each char read by EatLine!).
16444 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16447 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16449 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16450 to the same as the par we break from
16452 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16454 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16456 * MenuBackend.C (expand): also create menu entries for wide
16457 versions of the floats.
16459 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16461 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16463 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16464 frontends/Makefile.am
16470 * tabular.C (getTokenValue): add std::
16472 * tabular-old.C (getTokenValue): add std::
16473 (getTokenValue): ditto
16474 (getTokenValue): ditto
16476 * screen.C (ToggleSelection): adjust
16478 * lyxtext.h: put selection cursors inside a Selection struct.
16480 * lyxfunc.C (moveCursorUpdate): adjust
16482 * lyxfont.C (latexWriteStartChanges): add std::
16484 * lyxfind.C: adjust
16486 * font.h: delete with(char const *, LyXFont const &)
16488 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16490 * FontInfo.C (getFontname): add std::
16492 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16493 (workAreaButtonPress): adjust
16494 (tripleClick): adjust
16496 (moveCursorUpdate): adjust
16499 * BufferView2.C (gotoInset): adjust
16501 2001-05-30 Juergen Vigna <jug@sad.it>
16503 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16504 to check pspell I add this as default as I now have new pspell
16505 libraries and they seem to use this.
16507 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16509 * text2.C (CutSelection): make the cursor valid before the call to
16512 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16514 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16515 relied on 0 terminated strings and other horrors. Bug found due to
16516 the new assert in lyxstring!
16518 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16521 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16523 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16526 * lyxfunc.C (processKeySym): change method of getting to the
16529 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16530 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16531 * BufferView_pimpl.[Ch]: here as private methods.
16533 2001-05-28 Juergen Vigna <jug@sad.it>
16535 * text.C (SetHeightOfRow): added the update() call again as it is
16536 needed to initialize inset dimensions!
16538 2001-05-16 Juergen Vigna <jug@sad.it>
16540 * text2.C (SetCharFont): Add new function with BufferView * and
16541 bool toggleall parameters for setting insets internal fonts.
16542 (SetFont): Freeze the undo as we may change fonts in Insets and
16543 all this change should be inside only one Undo!
16545 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16546 setting font's in insets as for them we have the SetFont function!
16548 2001-05-15 Juergen Vigna <jug@sad.it>
16550 * text2.C (ClearSelection): to be sure we REALLY don't have any
16553 * tabular.C (TeXCellPreamble): fixed the left border problem for
16556 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16558 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16561 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16563 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16564 LFUN_BREAKPARAGRAPH.
16566 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16567 help test to "internal only", similar for LFUN_INSERT_URL
16569 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16570 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16571 auto_region_delete and deadkeys.
16573 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16576 * LColor.C: remove some dead entries, tidy a little
16578 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16580 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16582 (Dispatch): implement LFUN_ESCAPE
16584 * commandtags.h: add LFUN_ESCAPE
16586 * LyXAction.C (init): add entry for LFUN_ESCAPE
16588 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16589 Remove commented code.
16590 (insertNote): moved here
16591 (open_new_inset): moved here
16593 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16596 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16598 * kbmap.C (findbinding): clean it up and make it work correctly.
16600 * lyx_main.C (init): do not pass argc and argv as parameters
16602 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16604 * buffer.C: fix path for OS/2 & Win32
16608 * lyx_main.C: Added os:: class.
16610 * os2_defines.h: update
16612 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16614 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16615 better by trying again with reduced state.
16617 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16619 * lyxrc.C (read): print error about invalid key sequence only when
16620 debugging (because not all latinX keysyms are known to some X
16623 * kbsequence.C (getiso): add a few std:: qualifiers
16624 (getiso): comment out extra return statement.
16626 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16628 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16630 (Dispatch): enhance the accent inset a bit. (not perfect)
16632 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16634 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16636 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16638 * bufferlist.C (emergencyWrite): fix assert() call
16640 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16642 * text.C (InsertChar): Added trivial patch to only send the "you
16643 can not do multiple spaces this way" message once during a
16646 2001-05-08 Baruch Even <baruch@lyx.org>
16648 * Makefile.am: Changed order of libraries to get LyX to link properly
16649 with the gnome frontend.
16651 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16653 * LaTeXFeatures.h: add a std:: qualifier
16655 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16657 * paragraph.C (String): use stringstream
16659 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16661 * paragraph.C (writeFile): remove footflag arg
16663 * buffer.C (makeLaTeXFile): use stringstream
16664 (latexParagraphs): remove footnot gurba
16666 * LaTeXFeatures.C (getPackages): use stringstream
16667 (getMacros): likewise
16668 (getTClassPreamble): likewise
16669 (getFloatDefinitions): new method
16671 * paragraph.C (writeFile): reindent
16674 * WorkArea.h: revert the xpos + etc changes.
16676 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16678 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16680 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16681 (pasteSelection): likewise
16682 * text2.C (CreateUndo): likewise
16684 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16686 * minibuffer.C (peek_event): temporarily reduce the functionality
16687 of the minibuffer (to allow args on lfuns)
16689 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16690 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16692 * buffer.C (readInset): add compability reading of old float
16693 lists, add reading of new style float list.
16694 (readInset): avoid reevaluation of inscmd.getCmdName()
16695 (getLists): reindent
16697 * MenuBackend.C (MenuItem): implement parsing of
16698 md_floatlistinsert and md_floatinsert.
16699 (expand::LastFiles): move initalizaton of iterators out of loop,
16700 avoid reevaluation.
16701 (expand::Documents): introduce typdedef vector<string> Strings,
16703 (expand::ExportFormats): introduce typedef vector<Format const *>
16704 Formats, and use it.
16705 (expand): implement FloatListInsert and FloatInsert.
16707 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16708 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16709 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16711 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16713 (Dispatch::LFUN_FLOAT_LIST): implement
16715 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16717 * LaTeX.C (run): Fix problem with --export code.
16719 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16721 * BufferView.[Ch] (workarea): removed.
16722 (getClipboard) new method; wrapper for workarea()->getClipboard()
16724 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16727 * WorkArea.h (width, height, xpos, ypos): These methods all
16728 returned the dimensions of the work_area sub-area of WorkArea,
16729 resulting in a position error if the WorkArea were resized. Now
16730 return the dimensions of the entire WorkArea.
16732 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16734 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16736 * LaTeX.C (deplog): correct the syntax of regex reg1
16738 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16740 * undo.C: remove !NEW_INSETS cruft
16742 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16744 * text2.C: remove !NEW_INSETS cruft
16746 * text.C: remove !NEW_INSETS cruft
16748 * tabular.C: remove !NEW_INSETS cruft
16750 * spellchecker.C: remove !NEW_INSETS cruft
16752 * lyxtext.h: remove !NEW_INSETS cruft
16754 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16756 * lyxfunc.C: remove !NEW_INSETS cruft
16758 * lyxfind.C: remove !NEW_INSETS cruft
16760 * lyx_cb.C: remove !NEW_INSETS cruft
16762 * figureForm.C: remove !NEW_INSETS cruft
16764 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16766 * buffer.[Ch]: remove !NEW_INSETS cruft
16768 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16770 * CutAndPaste.C: remove !NEW_INSETS cruft
16772 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16774 * BufferView2.C: remove !NEW_INSETS cruft
16776 * BufferView.h: remove !NEW_INSETS cruft
16778 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16780 * Lsstream.h: include LString.h before the sstream headers to
16781 fix problem with gcc 2.95.3 and lyxstring
16783 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16785 * lyx_main.C: add using directives when needed for C functions
16786 declared in std:: namespace.
16788 2001-04-27 Juergen Vigna <jug@sad.it>
16790 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16791 (SetHeightOfRow): comment out the update call should not be needed!
16793 2001-04-13 Juergen Vigna <jug@sad.it>
16795 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16796 (LyXTabular): tried to minimize operator= operations (and realized
16797 hopfully Lars wish).
16799 2001-04-27 Juergen Vigna <jug@sad.it>
16801 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16803 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16805 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16807 * buffer.C (readInset): hack to make listof algorithm work
16809 * BufferView_pimpl.C: hack to make listof algorithm work
16811 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16813 * LyXAction.C: removed all !NEW_INSETS cruft
16814 (init): moved lfun_item in method
16816 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16818 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16820 * BufferView2.C (theLockingInset): white space.
16822 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16824 * minibuffer.C: include <iostream>
16826 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16828 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16830 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16832 * text.[Ch] (TransposeChars): new method
16834 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16836 * call message directly through LyXView instead of through LyXFunc
16837 * BufferView2.C: adjust
16838 * BufferView_pimpl.C: adjust
16839 * FontLoader.C: adjust
16841 * bufferview_funcs.C: adjust
16842 * converter.C: adjust
16843 * figureForm.C: adjust
16844 * importer.C: adjust
16846 * lyx_gui_misc.C: adjust
16847 * lyxfunc.C: adjust
16850 + more files in subdirs
16852 * lyxparagraph.h (size): move up int file
16855 * adjust all uses of Assert to lyx::Assert.
16857 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16858 lyxfunctional in namespace lyx
16859 * layout.C (hasLayout): ditto
16862 (delete_layout): ditto
16863 (NumberOfClass): ditto
16864 * converter.C (GetFormat): ditto
16869 * bufferlist.C (getFileNames): ditto
16870 (emergencyWriteAll): ditto
16873 * MenuBackend.C (hasSubmenu): ditto
16876 * BufferView_pimpl.C (getInsetByCode): ditto
16878 2001-04-18 Juergen Vigna <jug@sad.it>
16880 * vspace.C (asLatexString): fixed the 100% problem.
16882 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16884 * lyxfunc.C (Dispatch):
16886 * minibuffer.h: add a few std:: qualifiers
16888 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16890 * minibuffer.[Ch]: reimplement so that commands is initiated and
16891 run from lyxfunc, simplified som handling, and made the completion
16892 and history code for complete. wip.
16894 * lyxfunc.C (processKeySym): call message
16895 (miniDispatch): new temporary method
16896 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16897 (LFUN_MESSAGE): implement
16898 (LFUN_MESSAGE_PUSH): implement
16899 (LFUN_MESSAGE_POP): implement
16900 (initMiniBuffer): the initial/defualt minibuffer message.
16902 * lyxfont.[Ch]: inline some more getters
16904 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16906 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16908 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16909 (AutoSave): use LFUN_MESSAGE
16910 (Reconfigure): ditto
16912 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16914 * figureForm.C: use LFUN_MESSAGE
16916 * converter.C (runLaTeX): use LFUN_MESSAGE
16918 * bufferview_funcs.C: use LFUN_MESSAGE
16920 (changeDepth): ditto
16922 * bufferparams.h: use boost::
16924 * bufferlist.h: inherit privately from noncopyable
16926 * bufferlist.C (loadLyXFile): remove some commented code.
16928 * buffer.C (runChktex): use LFUN_MESSAGE
16930 * ShareContainer.h: inherit privately from noncopyable
16932 * ParagraphParameters.[hC] (depth): inline it.
16934 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16936 (message): new method
16937 (messagePush): ditto
16938 (messagePop): ditto
16939 (show): init minibuffer
16940 (showState): direct call
16942 * LaTeX.[Ch]: inherit privately from noncopyable
16943 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16944 instead of WriteStatus.
16946 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16948 * BufferView_pimpl.C (buffer): don't init minibuffer
16949 (workAreaButtonPress): use LFUN_MESSAGE
16950 (workAreaButtonRelease): ditto
16951 (savePosition): ditto
16952 (restorePosition): ditto
16953 (MenuInsertLyXFile): ditto
16954 (workAreaExpose): don't init minibuffer
16955 (update): remove commented code, simplify
16957 * BufferView2.C (openStuff): use LFUN_MESSAGE
16958 (toggleFloat): ditto
16961 (copyEnvironment): ditto
16962 (pasteEnvironment): ditto
16967 (updateInset): remove some commented code
16969 * lastfiles.h: inherit privately from noncopyable
16972 * lyx_main.h: ditto
16974 * lyxlex_pimpl.h: ditto
16976 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16977 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16978 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16980 * LyXAction.h: inherit privately from noncopyable, add methods
16981 func_begin, func_end, returning iterators to the func map.
16983 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16984 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16985 (func_begin): new method
16986 (func_end): new method
16988 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16990 (copySelection): ditto
16991 (pasteSelection): ditto
16993 * BufferView.C: whitespace change
16994 * BufferView.h: inherit privately from noncopyable
16996 2001-04-16 Allan Rae <rae@lyx.org>
16998 * tabular-old.C (l_getline):
16999 * spellchecker.C (sc_check_word):
17000 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17001 an unrecognised preprocessor directive. So ensure they're wrapped.
17003 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17005 * src/exporter.C (Export): Give an error message when path to file
17008 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17010 * LaTeX.C (deplog): Always check that foundfile exists.
17012 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17015 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17017 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17019 * tabular.[Ch] (getLabelList): implement new method
17021 * minibuffer.h: comment ouf setTiimer
17023 * minibuffer.C (ExecutingCB): constify res
17024 (peek_event): constify s
17025 (Set): constify ntext
17026 (Init): constify nicename
17028 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17030 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17031 (savePosition): use two params to Minibuffer::Set
17032 (restorePosition): ditto
17034 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17036 * lyx_main.C: include language.h
17038 * Makefile.am (lyx_main.o): add language.h
17040 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17046 * CutAndPaste.C: include gettext.h
17048 * lyxfont.h: remove old hack with ON and OFF.
17051 * lyxfont.h: do not include language.h...
17056 * bufferview_funcs.C:
17062 * paragraph.C: ... but do it here instead
17064 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17066 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17068 * tabular.C: small reformat
17070 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17073 (BreakParagraph): ditto
17074 (SetOnlyLayout): ditto
17077 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17080 * lastfiles.C: removed most using decl, add std:: where needed
17082 * buffer.C: ws changes
17084 * MenuBackend.C (class compare_format): put into anon namespace
17085 (expand): constify label, names, action, action2
17088 * text.C (SingleWidth): constify font
17089 (IsBoundary): constify rtl2
17090 (GetVisibleRow): constify ww
17092 * LaTeX.C (deplog): constify logfile
17094 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17096 (workAreaExpose): constify widthChange, heightChange
17098 * lyxrow.C (par): moved
17101 * lyxrow.h: as inlines here
17103 * lyxfont.h (shape): moved from lyxfont.C
17104 (emph): moved from lyxfont.C
17106 * lyxfont.C (LyXFont): use initialization list for all
17108 (shape): move to lyxfont.h as inline
17109 (emph): move to lyxfont.h as inline
17112 2001-04-04 Juergen Vigna <jug@sad.it>
17114 * vspace.C: had to include stdio.h for use of sscanf
17116 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17119 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17120 independent of xforms.
17122 2001-04-02 Juergen Vigna <jug@sad.it>
17124 * spellchecker.C: fixed namespace placing!
17126 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17128 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17129 the LyXParagraph * is 0.
17131 2001-03-29 Juergen Vigna <jug@sad.it>
17133 * vspace.C: added support for %, c%, p%, l%.
17134 (stringFromUnit): added helper function.
17135 (asLatexString): changed to give right results for the %-values.
17137 * buffer.C: convert the widthp in a width%.
17139 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17141 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17144 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17145 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17147 * lyx_cb.[Ch]: see above.
17149 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17153 * lyx.[Ch]: replaced by figure_form.[Ch].
17157 * lyxfunc.C: changed headers associated with above changes.
17159 2001-03-27 Juergen Vigna <jug@sad.it>
17161 * BufferView_pimpl.C: set the temporary cursor right!
17163 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17165 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17167 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17169 * LString.h: removed "using std::getline"!
17171 * BufferView_pimpl.C (Dispatch): changes due to changes in
17172 InsetInclude::Params.
17174 * buffer.C (tag_name): removed redundant break statements as they were
17175 producing lots of warnings with my compiler.
17177 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17179 * LString.h: add "using std::getline" when using the real <string>.
17181 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
17183 * buffer.C: removed bitset usage.
17184 PAR_TAG moved to an anonymous name space.
17185 (tag_name): new funtion, also in the anonymous namespace.
17186 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17187 (makeDocBookFile): clean code. Completed transition from string arrays
17189 (SimpleDocBookOnePar): code clean.
17191 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17193 * tabular.C: add some comments.
17195 2001-03-22 Juergen Vigna <jug@sad.it>
17197 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17198 compatibility read a bit and fixed bug with minipage in different
17201 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
17203 * buffer.C (pop_tag): removed.
17204 (push_tag): removed.
17205 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17206 array replaced with vector. Added support for CDATA sections.
17207 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17209 (makeDocBookFile): XML conformant declaration of CDATA section,
17210 fixed bug related to <emphasis> in the first paragraph char.
17211 (sgmlOpenTag): exclude empty tags.
17212 (sgmlCloseTag): ditto.
17214 * buffer.h (pop_tag): removed.
17215 (push_tag): removed.
17217 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17219 * language.h (Languages): added size_type and size().
17221 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17223 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17224 response on compability reading of minipages. One probliem is that
17225 the old usage of minipages was «flertydig»
17227 * several files here and in subdirs: don't use static at file
17228 scope use anon namespaces instead.
17230 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17232 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17233 LaTeX output. This is necessary for Literate document
17236 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17238 * buffer.C: insert hfill when needed.
17240 * tabular.C (l_getline): use string::erase, small whitespace change.
17242 * BufferView_pimpl.C: try the anon namespace.
17243 * WorkArea.C: ditto
17245 2001-03-16 Juergen Vigna <jug@sad.it>
17247 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17248 otherwise it won't open options-dialogs.
17250 * buffer.C: honor pextraWidth(p) on converting minipages.
17252 * tabular.C (l_getline): changed the functions to strip trailing \r.
17254 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17256 * BufferView_pimpl.C:
17257 * minibuffer..C: added "using SigC::slot" declaration.
17259 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17261 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17267 * paragraph.C: ditto
17269 * lyxtext.h: NO_PEXTRA
17271 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17273 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17274 * ParameterStruct.h: ditto
17275 * ParagraphParameters.h: ditto
17276 * lyxparagraph.h: ditto
17278 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17280 * buffer.C: add compability for minipage alignment.
17281 (latexParagraphs): remove unwanted pextra check.
17283 * several files: remove CXX_WORKING_NAMESPACES
17285 * buffer.C (pop_tag): tie is in namespace boost
17287 * BufferView.h: noncopyable is in namespace boost
17289 * lyx_main.h: ditto
17292 * lastfiles.h: ditto
17293 * bufferlist.h: ditto
17294 * ShareContainer.h: ditto
17296 * LyXAction.h: ditto
17299 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17301 * Merging changes from BRANCH_MVC back into HEAD.
17303 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17305 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17307 * BufferView_pimpl.C: change from intl.C
17311 * Makefile.am: move combox.*
17317 * intl.C: remove dialog (covered by prefs)
17319 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17321 * lyxfunc.C (Dispatch): removed redundant break statement.
17323 2001-03-14 Juergen Vigna <jug@sad.it>
17325 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17327 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17329 * buffer.C: add hack to fix compability reading of minipages.
17331 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17333 * buffer.C (getLists): Cleanup.
17335 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17337 * lyxfont.C (update): don't honor toggleall on font size.
17339 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17343 * Makefile.am: moved to frontends/xforms/
17347 * BufferView_pimpl.C: changes for moved mathpanel
17349 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17351 * gettext.h: fix gettext_init() in --disable-nls
17353 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17355 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17357 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17360 * lyx.h: strip external form
17362 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17364 * BufferView_pimpl.C: add comment, destroySplash()
17366 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17368 * BufferView_pimpl.C:
17372 * lyxfunc.C: use re-worked insetinclude
17374 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17376 * buffer.C: add using std::stringstream.
17378 * lyx_cb.C: readd using std::ios.
17380 * buffer.C: add using std::map.
17382 * BufferView_pimpl.C: add using std::vector.
17384 * ShareContainer.h: add std:: to swap.
17386 * buffer.h: add some typedefs
17387 * buffer.C (getLists): use them
17388 (getLists): renamed from getTocList.
17389 add a counter for the different float types and use it in the
17391 (getLists): use the same counter for the NEW_INSETS and the "non"
17394 * lyx_cb.h: remove unused items, includes, using etc.
17396 * ShareContainer.h: remove some commented code, add more comments
17397 and "documentation".
17399 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17401 * buffer.C (getTocList): make the list also when NEW_INSETS is
17404 * buffer.h: remove TocType
17406 * buffer.C (getTocList): change to return a map<string,
17407 vector<TocItem> >, implement for dynamic number of list.
17409 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17410 * text2.C (PasteSelection): adjust
17411 * CutAndPaste.C (pasteSelection): adjust
17413 * FloatList.C (FloatList): update from the new_insets branch.
17414 * Floating.[Ch]: ditto
17415 * LaTeXFeatures.C: ditto
17417 * lyxlex_pimpl.C: ditto
17419 * paragraph.C (Last): remove when NEW_INSETS is defined.
17421 * other file: changes because of the above.
17423 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17425 * lyxparagraph.h: rename next to next_, previous to previous_,
17426 make them private for NEW_INSETS. Rename Next() to next(),
17427 Previous() to previous().
17429 * other files: changes because of the above.
17431 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17434 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17437 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17439 * main.C (main): pass lyx_localedir to gettext_init().
17441 * gettext.h: remove locale_init and gettext_init macros
17443 * gettext.C (locale_init): new function
17444 (gettext_init): new function
17446 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17449 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17451 * Moved credits to frontends:
17452 * credits.[Ch]: removed
17453 * credits_form.[Ch]: removed
17454 * lyx_gui_misc.C: remove credits stuff
17457 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17459 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17461 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17462 unneeded destructor.
17464 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17465 a standalone pointer again.
17467 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17469 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17475 * ToolbarDefaults.C:
17484 * BufferView_pimpl.C: use new file dialog in GUII
17487 * lyx_cb.C: remove LayoutsCB to Toolbar
17489 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17491 * ShareContainer.h (get): add std:: qualifier
17493 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17495 * ShareContainer.h: define a proper ShareContainer::value_type
17496 type (and use typename to please compaq cxx)
17498 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17500 * lyxparagraph.h: move serveral local vars to
17501 ParameterStruct/ParagraphParameters., use ShareContainer in
17502 FontTable., make vars in FontTable private and add getter and
17505 * paragraph.C: changes because of the above.
17507 * lyxfont.h: remove copy constructor and copy assignment. (the
17508 default ones is ok), move number inside FontBits. move inlines to
17511 * lyxfont.C: add number to initializaton of statics, move several
17512 inlines here. constify several local vars. some whitespace
17513 cleanup. Dont hide outerscope variables.
17515 * Spacing.h: add two new constructors to match the set methods.
17517 * ShareContainer.h: new file, will perhaps be moved to support
17519 * ParameterStruct.h: new file
17521 * ParagraphParameters.h: new file
17523 * ParagraphParameters.C: new file
17525 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17526 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17528 * BufferView_pimpl.C: ParagraphParameter changes.
17529 * buffer.C: Likewise.
17530 * bufferview_funcs.C: Likewise.
17531 * text.C: Likewise.
17532 * text2.C: Likewise.
17534 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17536 * lyxfind.C (LyXReplace): do not redefine default argument in
17538 (IsStringInText): ditto
17539 (SearchForward): ditto
17540 (SearchBackward): ditto
17542 2001-03-06 Juergen Vigna <jug@sad.it>
17544 * lyxfind.C (IsStringInText): put parentes around expressions.
17546 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17548 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17550 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17552 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17554 * stl_string_fwd.h: add comment
17556 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17559 * tabular.C: remove unused DocBook methods
17565 killed DO_USE_DEFAULT_LANGUAGE
17567 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17569 * lyx_gui.C: do not include language.h.
17571 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17572 arguments in function implementation.
17574 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17576 * BufferView_pimpl.C: add <ctime>
17578 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17580 * BufferView_pimpl.C: add using std::find_if
17582 2001-02-27 José Matos <jamatos@fep.up.pt>
17584 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17587 2001-02-11 José Matos <jamatos@fep.up.pt>
17589 * buffer.C (makeDocBookFile): command styles now have a parameter as
17590 "title" by default.
17592 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17594 * layout_forms.[Ch]: removed
17595 * lyx_cb.[Ch]: out character
17596 * lyx_gui.C: out character
17597 * lyx_gui_misc.C: out character
17598 * bufferview_funcs.C: : out character,
17599 added toggleall as parameter in ToggleAndShow
17601 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17603 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17605 * text2.C (SetCurrentFont): Disable number property at boundary.
17607 2001-02-26 Juergen Vigna <jug@sad.it>
17609 * lyxfunc.C (getStatus): added a string argument override function so
17610 that this is correctly called from LyXFunc::Dispatch if it contains a
17611 do_not_use_argument which is used!
17612 (Dispatch): added check for "custom" export and call appropriate func.
17614 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17616 * lyxrc.C: Add language_command_local, language_use_babel and
17617 language_global_options.
17619 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17621 * buffer.C (makeLaTeXFile): Use language_use_babel and
17622 language_global_options.
17624 2001-02-23 Juergen Vigna <jug@sad.it>
17626 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17627 which works with LyXText and putted it inside BufferView. Here now we
17628 only call for that part the BufferView::Dispatch() function.
17630 * BufferView.C (Dispatch): added.
17632 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17633 functions which needs to use a LyXText over from LyXFunc.
17634 (MenuInsertLyXFile): added
17635 (getInsetByCode): added
17636 (moveCursorUpdate): added
17637 (static TEXT): added
17639 2001-02-22 Juergen Vigna <jug@sad.it>
17641 * BufferView_pimpl.C (update): call a status update to see if LyXText
17644 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17646 * vc-backend.C (revert): implement for CVS
17647 (getLog): implement for CVS
17649 2001-02-20 Juergen Vigna <jug@sad.it>
17651 * text2.C (ClearSelection): added BufferView param for inset_owner call
17653 * lyxfunc.C (TEXT): added this function and use it instead of
17654 directly owner->view()-text of getLyXText().
17656 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17658 * src/layout_forms.C: out preamble
17659 * src/layout_forms.h: out preamble
17660 * src/lyx_cb.C: out preamble
17661 * src/lyx_cb.h: out preamble
17662 * src/lyx_gui.C: out preamble
17663 * src/lyx_gui_misc.C: out preamble
17664 * src/lyxfunc.C: connect with guii preamble
17666 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17668 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17670 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17672 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17673 whether to run bibtex.
17675 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17677 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17679 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17681 * Makefile.am (lyx_SOURCES): removed bibforms.h
17683 * vspace.h: doxygen
17685 * text.C (GetVisibleRow): make several local vars const
17687 * tabular.C: small cleanup.
17689 * lyxserver.C (callback): use compare instead of strncmp
17691 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17692 inlines to after class or to paragraph.C
17694 * lyxfont.h: remove friend operator!=
17696 * converter.h: move friend bool operator< to non friend and after
17699 * combox.h: small cleanup
17701 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17702 to inlines after class def.
17704 * buffer.C (pop_tag): use string operations instead of strcmp
17706 * bmtable.c: doxygen, small cleanup
17708 * LaTeX.h: remove friend operator==
17710 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17722 * BufferView_pimpl.C:
17723 * BufferView.[Ch]: remove cruft
17725 2001-02-14 Juergen Vigna <jug@sad.it>
17727 * lyxfunc.C: removed #if 0 unused code
17729 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17731 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17733 * text2.C (SetSelection): added a BufferView * parameter
17735 2001-02-13 Juergen Vigna <jug@sad.it>
17737 * lyxfunc.C (Dispatch): fixed protected blank problem.
17738 * BufferView2.C (protectedBlank): added LyxText * parameter.
17740 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17741 (AppendColumn): same as above for column_info.
17743 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17744 (moveCursorUpdate): use a LyXText param for support of InsetText.
17746 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17747 (tripleClick): ditto
17749 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17751 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17753 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17755 * text2.C (SetSelection): set correct update status if inset_owner
17756 (ToggleFree): ditto
17758 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17760 * tabular.C: remove some commented code.
17762 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17764 * BufferView_pimpl.C: call hideSplash()
17766 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17769 * bibforms.h: remove
17772 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17773 add LFUN_CHILD_CREATE
17775 * counters.h: fix tiny typo
17780 * lyx.C: move splash to frontends/xforms/
17782 * lyx_gui_misc.C: move Include and Bibform to frontends
17784 * lyxvc.h: clarify comment
17786 * vspace.C: tiny housekeeping
17788 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17790 * text.C (PrepareToPrint): RTL Fix.
17792 * paragraph.C (GetUChar): New method.
17793 (String): Use GetUChar.
17795 * buffer.C (asciiParagraph): Use GetUChar.
17797 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17799 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17801 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17804 * buffer.C: rename to getLogName(), handle
17805 build log / latex log nicely
17807 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17810 * MenuBackend.h: remove support for reference menuitem type.
17812 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17814 * BufferView_pimpl.C: housekeeping
17815 * BufferView_pimpl.h:
17820 * minibuffer.h: move Timeout GUI-I
17822 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17824 * lyxrc.C (read): Update converters data-structures.
17826 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17828 * LaTeX.h (operator!=): add operator != for Aux_Info
17830 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17832 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17834 * LaTeXLog.C: deleted, useful code moved to Buffer
17837 * buffer.C: new function getLatexLogName()
17843 * lyxfunc.C: use frontends for LaTeX and VC logs
17845 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17847 * LaTeX.h: yet another std:: that Allan forgot.
17849 * Variables.C (set): renamed from isset(), because this clashes
17850 with some HP-UX macros (grr).
17852 2001-02-06 Allan Rae <rae@lyx.org>
17854 * LaTeX.h: Another bug fix. Missing std:: this time.
17856 2001-02-04 Allan Rae <rae@lyx.org>
17858 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17859 floats problem. I've left it commented out because it's not quite
17860 correct. It should also test that the current object is a table or
17861 figure inset. But I haven't gotten around to figuring out how to do
17862 that. I *think* it'll be something like: "table" == inset.type()
17864 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17867 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17869 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17870 all the citation/databases/styles in the auxilary file.
17871 (run): Rerun latex if there was a babel language error.
17873 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17875 * text.C (Backspace): Preserve the font when changing newline char
17877 (BreakParagraph): If the cursor is before a space, delete the space.
17879 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17881 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17883 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17884 new argument (code).
17885 (ChangeCitationsIfUnique): New method.
17887 * paragraph.C (GetPositionOfInset): Handle bibkey.
17889 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17891 * BufferView_pimpl.h: change type of Position::par_pos to
17892 LyXParagraph::size_type.
17894 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17896 * BufferView_pimpl.C (savePosition, restorePosition): Write
17897 messages to minibuffer.
17899 2001-01-28 José Matos <jamatos@fep.up.pt>
17901 * buffer.C (makeDocBookFile): adds support for document language.
17902 A silly restriction on the name of LatexCommand types where removed.
17903 Added support for CDATA sections, allows to chars unescaped, used
17904 among others in code, to avoid escape < and >.
17906 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17908 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17909 saved positions instrad of a stack. Furthermore, a position is
17910 stored using paragraph id/paragraph position.
17912 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17913 Remove LFUN_REF_BACK.
17915 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17917 * converter.C (dvipdfm_options): New method.
17919 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17921 * vspace.C (isValidLength): Fix for empty input string.
17923 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17925 * LyXAction.C (init): change description of LFUN_FIGURE to
17928 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17930 * LaTeX.C: add using directive
17932 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17934 * MenuBackend.C (expand): Fix the sorting of the formats.
17936 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17938 * lyx_main.C: tiny error message fix
17940 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17942 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17943 calling fl_initialize(). This fixes the problem with ',' as
17944 decimal separator in text files.
17946 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17948 * trans.C (process): Fix the keymap bug.
17950 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17952 * LaTeX.C (scanAuxFiles): New method. Provides support for
17953 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17954 (scanLogFile) Scan for "run BibTeX" messages.
17956 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17957 OT1 font encoding. Also, load the aecompl package if the ae
17960 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17962 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17964 * texrow.C (increasePos): turn two error messages into debug
17967 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17969 * LaTeX.C (scanAux): Handle the \@input macro.
17970 (runBibTeX): Use scanAux().
17972 * language.C (latex_options_): New field.
17974 * LaTeXFeatures.C (getMacros): Add language macros.
17976 * buffer.C (makeLaTeXFile): Small fix.
17978 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17980 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17982 * text2.C: add a using directive.
17984 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17989 * lyxfunc.C: kill LyXBell.
17991 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17993 * text.C (IsBoundary): Remove the error message
17995 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17997 * lyxrc.C (setDefaults): Correct initialization value for
18000 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18002 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18005 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18006 and GotoNextNote().
18008 * src/LyXAction.C: Added reference-next.
18010 * text.C (InsertChar): Use contains instead of strchr.
18012 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18014 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18016 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18017 alignment commands (when needed).
18019 * text.C (InsertChar): Add ':' to number separator chars.