1 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
6 2005-09-08 Angus Leeming <leeming@lyx.org>
9 * lyxrc.C: correct grammar describing invocation of the
12 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14 * text.C (read): remove unused variable.
15 (readParToken): remove static Change variable (never good in
16 recursive settings...); add it as a parameter instead.
18 * paragraph_pimpl.C (acceptChange): make debug info conditional.
20 * metricsinfo.C (PainterInfo): add new member erased_.
22 * rowpainter.C (RowPainter): add erased_ member, initialized from
24 (paintInset): pass erased_ to Inset::draw.
26 * lyxfunc.C (lookupChange): new function. Tells whether change
27 tracking is disabled at a given postion.
28 (getStatus): disable some actions when in deleted text with change
31 2005-08-03 John Levon <levon@movementarian.org>
33 * tabular.C (appendColumn, setMultiColumn): adapt to change to
36 * paragraph_pimpl.C (markErased): add bool argument and handle it.
37 Also make sure to mark insets recursively.
38 (rejectChange, erase): be recursive
40 * paragraph.C (markErased): add bool argument.
41 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
43 * lyxfind.C (findNextChange): tiny cleanup.
45 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
46 change tracking with the cursor in an inset; make sure the first
47 change is not skipped.
49 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
51 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
52 tabularStackDirty to work around bug 1919 (tabular needs
53 to know whether its own cell paste buffer or the one of
55 * CutAndPaste.C: mark tabular_stack_ clean after copy.
57 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
59 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
61 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
63 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
64 use old deleteion algorithm when changetracking is on.
66 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
68 * messages.C (get): add debug output.
70 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
72 * text.C (cursorX): fix bug 1965: cursor movement at
73 line end broken in RtL.
74 (drawSelection): fix bug 1970: drawing of single-line
75 selection broken for RtL.
77 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
81 * dociterator.h (clear, push_back, pop_back): change from
84 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
85 and changed to just return the value of the item depth; take a
86 ParIterator as argument; take the itemdepth at outer nesting level
87 in account if necessary; cleanup and comment the code.
88 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
89 and changed to just return true if reset is needed; take a
90 ParIterator as argument; cleanup and comment the code.
91 (setCounter): adapt to above changes.
93 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
95 * text3.C (dispatch): make debug message optional
97 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
99 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
102 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
104 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
106 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
108 * text.C (insertChar):
109 * text2.C (deleteEmptyParagraphMechanism): take care whether
110 a blank has been deleted (in change tracking mode) (bug 1254).
112 2005-07-20 John Levon <levon@movementarian.org>
114 * text2.C (insertStringAsLines): remove old dubious code,
117 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
119 * MenuBackend.C (expandToc): use Floating::listName() as title of
122 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
124 * toc.[Ch]: Do not use translatable strings (bug 1870).
126 2005-07-20 John Levon <levon@movementarian.org>
128 * tabular.C: fix 1748 - setting multicolumn adds
129 left line to the first cell
131 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
134 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
137 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
139 * messages.C: supress some lyxerr messages
141 2005-07-18 Juergen Vigna <jug@lyx.org>
143 * text.C (drawSelection): honor boundary when asking for cursorX.
145 2005-07-17 José Matos <jamatos@fc.up.pt>
147 * tabular.C (recalculateMulticolumns): fix handling of one column
150 2005-07-17 Juergen Vigna <jug@lyx.org>
152 * text.C (Delete, backspace): fixed so that paragraph with the
153 same layout can be merged by Delete/Backspace.
155 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
157 * text.C (readParToken): fix spelling.
159 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
161 * text2.C: fix counter update for DEPM problem reported by
164 2005-07-17 Juergen Vigna <jug@lyx.org>
166 * BufferView_pimpl.C (setBuffer): save/restore the
167 cursor/selection when switching buffers
170 * buffer.C (saveCursor): add saveDocumentIterators to save the
171 cursor when switching buffer.
173 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
176 * buffer.C: clarify message
178 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
180 * dociterator.C (DocIterator): fix initialization order
182 2005-07-17 Juergen Vigna <jug@lyx.org>
184 * text2.C (cursorHome):
185 * text.C (drawSelection, cursorX):
186 * dociterator.C (textRow): add boundary to getRow() call
188 * paragraph.C (getRow): implementation of below
190 * paragraph.h: add parameter boundary for getRow() function
192 2005-07-17 José Matos <jamatos@fc.up.pt>
196 * tex-strings.[Ch]: new file format, remove support for a4.sty,
197 a4wide.sty and a4widemargins.
199 2005-07-17 Juergen Vigna <jug@lyx.org>
201 * text2.C (cursorLeft): fix one of error
203 2005-07-17 Juergen Vigna <jug@lyx.org>
205 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
207 more fixes for boundary handling
209 * text3.C (dispatch): don't reset cursor if boundary has changed
212 2005-07-16 Juergen Vigna <jug@lyx.org>
214 * text2.C (getColumnNearX): hopefully got it right now,
215 check if we are on column 0 for special case.
217 2005-07-16 Juergen Vigna <jug@lyx.org>
219 * text2.C (getColumnNearX): handle special case Newline Inset
221 * text.C (singleWidth): Just remove bogus check
223 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
225 * funcrequest.C (split): avoid reading uninitialized char c
227 2005-07-16 José Matos <jamatos@fc.up.pt>
233 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
234 single papersize variable.
236 2005-07-16 Juergen Vigna <jug@lyx.org>
238 * text3.C (dispatch): honor boundary when checking if a cursor
239 movement has been done
241 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
242 (setCursor, setCursorIntern): fix cursor movement with boundary
244 2005-07-16 Juergen Vigna <jug@lyx.org>
246 * text.C (currentState): output the actual Boundary
248 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
250 * factory.C (createInset): fix bad logic for tabular creation
252 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
254 * lyx_main.C (init): change some reLyX reference to tex2lyx
256 2005-07-16 Juergen Vigna <jug@lyx.org>
258 * dociterator.C (DocIterator): initialize boundary
260 2005-07-16 Juergen Vigna <jug@lyx.org>
262 * text2.C (getColumnNearX): Consider rows without trailing blank.
264 2005-07-16 André Pönitz <poenitz@gmx.net>
266 * lyxfont.h: Change order of declarations to give the compiler
267 a better chance to inline things
269 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
270 questions on unsaved docs for better scritability
272 2005-07-16 André Pönitz <poenitz@gmx.net>
274 * paragraph.h (getChar): remove asserts as the same kind of security
275 can be achieved by using a suitable standard library implementation
276 and the function was in the critical path (25.9% in profiler)
278 2005-07-16 Juergen Vigna <jug@lyx.org>
280 * cursor.C (bruteFind2):
281 * bufferview_funcs.C (coordOffset):
282 * text.C (cursorX,cursorY): Handle cursor position after last char
283 in row before a inset which uses a whole row.
285 2005-07-15 José Matos <jamatos@lyx.org>
287 * output_plaintext.[Ch] (writeFileAscii): control reference title
289 (asciiParagraph): noparbreak was already deal and was incorrectly
292 2005-07-15 Juergen Vigna <jug@lyx.org>
294 * lyxfunc.C (dispatch): save and restore the cursor after a
297 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
299 * text.C (backspace): bug 806 for empty keepempty paragraphs we
300 change the layout to default before letting DEPM do its thing.
302 * paragraph_funcs.C (breakParagraph): dont reset the layout on
305 * text.C (setCursorFromCoordinates): add a debug statement
307 * text2.C (getColumnNearX): bug 1825 make sure that we don't
308 return a pos that is not on the row
310 * output_latex.C (TeXDeeper): get rid of potential dereferencing
311 of past the end iterator
313 2005-07-14 André Pönitz <poenitz@gmx.net>
315 * undo.C (recordUndoFullBuffer): implement undo for
318 2005-07-14 André Pönitz <poenitz@gmx.net>
320 * cursor.C (setSelection): open insets when selection is set there
321 to avoid crashs with cold coord cache
323 2005-07-14 André Pönitz <poenitz@gmx.net>
325 * trans_mgr.C (insert): move cursor to the right after inserting
328 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
330 * BufferView_pimpl.C (update): dampen some of the debug blabbering
331 * factory.C (readInset): ditto
332 * text.C, text2.C: ditto
334 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
336 * buffer.C: format incremented to 242. There is no file format per
337 se, but the "frenchb" language has been removed from lib/language
338 and has to be translated to "french" by lyx2lyx.
340 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
342 * cursor_slice.h, dociterator.h: add some documentation
343 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
345 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
347 * text.C (leftMargin): do not add identation to display() style
348 insets, because they are always centered (bug 1293).
350 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
352 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
353 formatted_time methods in support/lyxtime.
355 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
357 * toc.[Ch]: new method getGuiName, which is used by the frontends
358 to set the toc combo (fixes bug 1870). Make TOC string translatable.
360 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
362 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
363 StableDocIterator const &)
364 * undo.C (recordUndo): use the above instead of cell.size() comparison
365 (fixes bug 1808; instructed by Andr�.
367 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
370 * dociterator.h: Fix the assert when copying rows/cols in math
372 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
374 * BufferView_pimpl.C:
376 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
378 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
379 (findInset): new functions, refactored from goto Inset that return
380 the position of a certain inset without setting the buffer's cursor
382 (gotoInset): rewrite to call findInset and then set the cursor
385 2005-06-16 Angus Leeming <leeming@lyx.org>
387 * lyxrc.C (output, read): wrap all input and output of paths with
388 calls to os::internal_path and os::external_path, respectively.
389 (output): wrap bind_file inside quotes.
391 * format.C (view): enable the viewer to use the '$$s' placeholder.
393 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
395 * LColor.[Ch] (getFromLaTeXName): new
397 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
399 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
401 2005-06-14 Angus Leeming <leeming@lyx.org>
403 * lyx_main.C (init): ensure that the LyX binary dir is the first
404 element in the PATH on non-POSIX builds.
406 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
408 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
410 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
412 * rowpainter.C (paintInset, paintHebrewComposeChar)
413 (paintArabicComposeChar, paintChars): add a LyXFont argument.
414 (paintChars): use getFontSpan to reduce calls to getFont to a
415 minimum; use Paragraph::lookupChange instead of isXXXText.
416 (paintForeignMark): rename LyXFont argument.
417 (paintFromPos): pass a LyXFont object to the various paintXXX
420 * FontIterator.C (FontIterator, operator++): use
421 Paragraph::getFontSpan
423 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
424 version that returns the font span as a pair.
426 2005-06-09 Angus Leeming <leeming@lyx.org>
428 * converter.C (convert): Don't forget "outfile = real_outfile" as
429 the final step in a conversion where the input and output file names
430 are the same. Otherwise, future conversion steps won't work...
432 2005-06-09 Angus Leeming <leeming@lyx.org>
434 * lyxsocket.C: remove stub code as it isn't needed by
435 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
437 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
439 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
440 effectively disabled -x
442 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
444 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
445 when it actually makes sense.
447 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
449 * BufferView_pimpl.C: revert to showCursor in connection with
450 Lars's front-end stack
452 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
454 * text.C (redoParagraph): move cursor right after a bibitem
457 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
459 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
461 * buffer_funcs.C (bufferErrors): fix computation of the end of an
464 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
466 * BufferView.[Ch] (update):
467 * BufferView_pimpl.[Ch] (update, metrics):
468 * dimension.h (operator==):
469 * lyxfunc.C (dispatch):
470 * metricsinfo.h (ViewMetricsInfo):
471 * rowpainter.C (paintText):
473 * text.C (redoParagraph):
474 * text3.C (dispatch): Make LyX only repaint current paragraph in
475 case of character insert --> speedup. Also fix cursor draw
478 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
480 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
481 avoid a crash (bug 1891)
483 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
487 * text2.C (getStringToIndex): constify cur argument.
489 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
490 argument has been given
491 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
492 try to invoke LFUN_INSET_APPLY).
494 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
495 if no inset was created by doInsertInset
496 (doInsertInset): return true if an inset has been inserted.
498 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
500 * vspace.C (asGUIName): new method. A version of the space
501 suitable for showing on screen.
503 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
506 * lyxrc.C: rename "ASCII" to "Plain Text"
508 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
510 * buffer_funcs.C (expandLabel): take a Buffer as argument;
511 translate the labelstring.
512 (setCounter): translate labelstring as needed.
514 * output_docbook.C (makeCommand): fix expandLabel invokation
516 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
518 * BufferView.C: fix dialog title
520 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
522 * lyx_main.C (priv_exec): fix logic error with help from Angus
523 * lyx_main.C (parse_execute): set is_gui = false and remove now
524 obsolete comment about a segfault
526 2005-05-18 Angus Leeming <leeming@lyx.org>
528 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
530 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
532 * tabular.[hC]: added setCellInset to fix tabular paste.
534 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
536 * buffer.C (save): check if destination is writable before trying
539 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
541 * BufferView_pimpl.C (update): fix processEvents -caused update
544 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
546 * buffer_funcs.C (setCounter): fix test for numbering of
549 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
550 depth correctly; use optional argument when it exists
552 * lyxtextclass.C: remove unused MaxCounterTags enum
553 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
554 (max_toclevel, min_toclevel): new methods.
556 * MenuBackend.C (expandToc2): fix case where depth is smaller than
557 the smallest depth in toc.
559 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
560 layouts that should not appear in a table of contents.
562 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
564 * cursor.h (undispatched, noUpdate): add comments from Andr�
565 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
569 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
571 2005-05-07 André Pönitz <poenitz@gmx.net>
573 * cursor.[Ch] (leaveInset): new function
575 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
577 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
579 2005-05-04 Angus Leeming <leeming@lyx.org>
581 * lyxfunc.C (getStatus): disable the spell checker dialog if
582 none of USE_[AIP]SPELL are defined.
584 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
586 * tabular.C (setWidthOfCell): remove obsolete comment
588 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
590 * paragraph.C (bibitem):
591 * buffer_funcs.C (setCounter):
592 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
594 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
596 * text3.C (getStatus): immediately return after setOnOff
598 * rowpainter.C: fix drawing of appendix start
600 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
602 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
603 SwitchBetweenClasses and remove the unused return value.
604 Handle character styles, too
606 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
608 * factory.C (createInset): handle undefined character styles
610 2005-05-02 Angus Leeming <leeming@lyx.org>
612 * buffer.C: protect the #include of utime.h with a preprocessor
615 2005-05-02 Angus Leeming <leeming@lyx.org>
617 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
618 function so that auto-saving works, albeit in a blocking manner.
620 * Makefile.am: make compilation of the client sub directory, of
621 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
622 on conditionals set at configure time.
624 * SpellBase.[Ch]: no longer an abstract base class. Instead,
625 it can be compiled in its own right but has no-op functionality.
627 * aspell.C, pspell.C: remove preprocessor guards. The files should
628 be compiled only if the necessary functionality exists.
630 * lyxserver.C, lyxsocket.C: disable on Windows.
632 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
634 * text.C (leftMargin): Fix the parindent use bug (1764)
637 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
639 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
642 2005-04-25 Angus Leeming <leeming@lyx.org>
650 include <config.h> in .C files, not .h ones.
652 protect headers inside preprocessor guards.
654 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
656 * FuncStatus.h (StatusCodes): document
658 2005-04-21 André Pönitz <poenitz@gmx.net>
660 * FuncStatus.h (enabled, onoff): document
662 2005-04-19 Angus Leeming <leeming@lyx.org>
664 * BufferView_pimpl.C (cursorToggle): no longer test whether
665 any child processes have been reaped before calling
666 handleCompletedProcesses().
668 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
670 * text3.C (dispatch): fix, finally fix, the language problem in
671 new lyxtexts, without disabling on-the-fly font changes (Helge's
674 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
676 * text3.C (dispatch): set cursor on double/triple click events
679 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
681 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
682 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
684 * rowpainter.C (paintFirst): simplify the code a little bit. In
685 particular, remove the test for secnumdepth.
686 * text.C (setHeightOfRow): only allocate space for chapter number
687 when updateCounters provided an actual label, instead of looking
688 at secnumdepth directly.
690 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
692 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
693 paragraphs when secnumdepth is large enough or, for environments,
694 when they are not the first in a sequence.
696 2005-04-17 Angus Leeming <leeming@lyx.org>
698 * buffer.C (makeLaTeXFile): replace code to manipulate a path
699 containing space and '~' characters with a call to latex_path().
701 2005-04-17 Angus Leeming <leeming@lyx.org>
703 * converter.C (convert): protect all args of convertDefault.sh
706 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
708 * text3.C (dispatch): change the layout to "Caption" after inserting
711 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
713 * text3.C (dispatch): fix language problem in newly created
714 textinsets (and main text) in non-english docs
716 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
718 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
719 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
720 * text3.C (getStatus): disable LFUN_INSET_MODIFY
722 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
727 * rowpainter.C (getFont): Fix metrics bug introduced by inset
730 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
732 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
733 output of \item arguments without trailing text.
735 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
737 * FontIterator.C (operator*): avoid a copy of the font.
739 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
741 * rowpainter.C (getFont): fix language bug from previous fix
743 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
745 * rowpainter.C (RowPainter, getFont): fix font inside inset
748 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
750 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
751 preventing inserted font, deco, delim insets jumping to start of
754 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
756 * lyxfunc.C (dispatch): translate message before sending it to the
759 2005-03-29 Angus Leeming <leeming@lyx.org>
761 * lyx_main.C (priv_exec): call os::internal_path on each file passed
762 to LyX on the command line.
764 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
766 * vc-backend.C: use QuoteName to protect file names wherever
769 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
772 * BranchList.h: fix bugs 1844,1845: document settings don't
775 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
777 * lyxrc.C (setDefaults, read, output, getDescription): add support
778 for tex_allows_spaces.
780 * exporter.C (Export): allows files in directory containing spaces
781 if tex_allows_spaces is true.
783 * buffer.C (makeLaTeXFile): if the document path contains spaces,
784 output it in double quotes.
786 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
788 * rowpainter.C: use default text height for drawing change tracker
791 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
793 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
795 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
797 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
798 directory is missing.
800 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
802 * text2.C: fixed the fix, extended to other case.
804 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
806 * text2.C: fix for cursor up/down stuck in math [bug 1792]
808 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
810 * text2.C (cursorUp): get rid of a crash
811 * text.C (x2pos): add an assert
813 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
815 * lyxfunc.C (getStatus): fix warning when assertions are disabled
819 * dociterator.C: include <boost/current_function.hpp>, which is
820 needed when assertions are disabled.
822 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
824 * text2.C: fix for stuck cursor when traversing two
825 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
827 2005-02-25 Andreas Vox <avox@arcor.de>
829 * output_docbook.C (makeParagraph): suppress trailing newline
830 after a run of paragraphs
832 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
834 * paragraph.C: fix for confused change tracker when pasting
835 text that begins with a lineseparator. [bug 1827]
836 (setChange(0, Change::INSERTED);)
838 * paragraph_funcs.C: fix for lost changes on triple-paste
839 in change tracking mode [bug 1827] (par.setChange()).
841 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
843 * text2.C (updateCounters, setCounter, expandLabel): move to
846 * buffer_funcs.C (updateCounters): turn into a free standing
847 function and add a buffer parameter. Remove dead code for tracking
849 (setCounter): change into a free-standing function which gets a
850 dociterator as argument. Use this iterator to fix captions in a
851 simple way. When no float is found above the caption, use the
852 labelstring of the caption layout as default.
854 * text.C (breakParagraph, backspace):
855 * text2.C (init, setLayout, changeDepth):
856 * text3.C (dispatch):
857 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
860 * dociterator.C (forwardPar): make it much faster by calling
861 forwardPos() only when really necessary.
863 * output_docbook.C (makeCommand): adapt to expandLabel move.
865 * cursor.C: remove unused variable
867 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
869 * paragraph_funcs.C: fix crash when pasting insets in change
870 tracking mode [bug 1277] (honour change type in moveItem).
872 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
874 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
876 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
878 * BufferView.C (setCursor): change to use a DocIterator.
879 (gotoLabel): use BufferView::setCursor (other part of bug 781).
880 (putSelectionAt): adapt to BufferView::setCursor change.
882 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
883 moved here from LyXText and rewritten to use proper cursor
884 methods. Fixes bug 1787, 616 and 835.
886 * BufferView_pimpl.C (restorePosition): set the cursor correctly
887 when inside an inset (part of bug 781).
888 (dispatch): adapt to change of BufferView::setCursor.
889 (getStatus, dispatch): handle LFUN_GOTOERROR,
890 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
892 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
893 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
894 * text3.C (gotoNextInset, gotoInset): removed.
896 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
898 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
900 2005-02-15 Angus Leeming <leeming@lyx.org>
902 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
903 can be used meaningfully in a comparison.
905 2005-02-13 André Pönitz <poenitz@gmx.net>
907 * bufferview_funcs.C (coordOffset): improve cursor drawing
909 2005-02-13 André Pönitz <poenitz@gmx.net>
911 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
912 * Cursor.C (dispatch): use fixIfBroken
913 * lyxfunc.C (getStatus): use fixIfBroken
915 2005-02-15 Angus Leeming <leeming@lyx.org>
917 * lyx_main.C (error_handler):
919 * lyxrc.C (setDefaults):
921 #include "environment.h".
923 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
925 2005-02-15 Angus Leeming <leeming@lyx.org>
927 * lyxserver.C (startPipe): squash MSVC warning "local variable
928 'fd' used without having been initialized".
930 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
932 * BufferView_pimpl.C: revert accidental commit.
934 2005-02-14 André Pönitz <poenitz@gmx.net>
936 * dociterator.[Ch]: new member forwardPosNoDescent(),
937 which doesn't enter nested insets.
938 * text2.C (setFont): use forwardPosNoDescent() instead
939 of ForwardPos() (fixes crash on font change).
941 2005-02-13 Angus Leeming <leeming@lyx.org>
943 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
944 only if lyxrc.path_prefix is not empty.
946 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
948 * bufferparams.C (readGraphicsDriver): prevent crash
950 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
952 * text2.C (setCounter): check for inInset() == 0
954 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
956 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
957 but use update() to get correct screen display; use convert
958 instead of istringstream.
959 (getStatus): handle LFUN_GOTO_PARAGRAPH
961 * lyxfunc.C (dispatch, getStatus): do not handle
962 LFUN_GOTO_PARAGRAPH here.
964 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
966 * text3.C (dispatch): size() -> depth()
968 * text2.C: remove some debug output
970 * paragraph.C: ws changes only
972 * lyxfunc.C (getStatus): size() -> depth()
974 * dociterator.h (clear, push_back, pop_back, internalData,
975 operator[], resize, empty): new functions
976 Make StableDocIterator and operator== be friends. Don't inherit
977 from std::vector use a privat class variable slices_ instead.
980 * dociterator.C: update because of not inheriting from std::vector
981 anymore. Call explictly to slices_ instead. Use depth() instead of
982 size() and top() instead of back()
984 * cursor.C: chagne size() -> depth and back() -> top(). Also
985 remove some direct operator[](i) calls in favour of foo[i]
986 (getFont): remove some dead code
988 * bufferview_funcs.C (coordOffset): size() -> depth()
990 * buffer.C: ws changes only
992 * CutAndPaste.C (eraseSelection): back() -> top()
994 * BufferView_pimpl.C (selectionRequested): back() -> top()
996 * BufferView.C (setCursor): size() -> depth()
998 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1000 * text3.C (cursorPrevious): return true if depm changed something
1002 (dispatch): rename sl to oldTopSlice, remove moving use the new
1003 NoUpdate func attrib instead. Make sure that needsUpdate is set
1004 for function that have NoUpdate, but where depm might have changed
1007 * text2.C (cursorLeft): make us return true if depm changed
1009 (cursorRight): ditto
1010 (cursorUpParagraph): ditto
1011 (curosrDownParagraph): ditto
1012 (cursorUp, cursorDown): ditto, make sure to read comments in code
1013 (deleteEmptyParagraphMechanism): remove an assert, also return
1014 true if just a single char was deleted.
1016 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1017 cursor that we modify, to avoid modifying an active cursor before
1018 we call setCursor. This allows depm to run. Also return true if
1019 depm deleted something.
1021 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1022 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1023 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1024 something was changed in the buffer because of them (ie. depm run)
1026 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1027 debug messages. Make update by default be false. Make sure that
1028 the result of update is retained throught several calls down to
1031 * LyXAction.h: add a new func_attrib: NoUpdate
1033 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1034 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1035 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1037 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1039 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1041 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1042 bv_->owner(), bv_->buffer() by direct references to the private
1044 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1045 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1046 (fitCursor): center() is in BufferView::Pimpl.
1047 (getStatus, trackChanges, dispatch): no need for a temporary buf
1049 (fitCursor, workAreaDispatch): use workarea().workheight()
1051 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1053 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1055 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1057 * buffer.C: format up to 241.
1058 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1059 break if pasting into ERT
1060 * lyxfunc.C (getStatus): suppress mathpanel and
1061 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1063 2005-02-01 Angus Leeming <leeming@lyx.org>
1065 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1067 2005-02-01 Angus Leeming <leeming@lyx.org>
1069 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1070 calling fs::is_directory().
1072 2005-01-31 Angus Leeming <leeming@lyx.org>
1074 * lyx_main.C (priv_exec): specify explicitly the relative location
1075 of the top level build directory when run in-place.
1077 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1079 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1080 LyXText containing the cursor, not the top-level one.
1082 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1084 (insertStringAsLines): rename par to pit; use temporary variable
1085 par to hold a Paragraph; do not store par.layout() in a variable,
1086 since the pointer may die when breaking paragraphs; pass pars to
1087 breakParagraph() instead of Buffer::paragraphs().
1089 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1091 * lyxlex_pimpl.h: #include <fstream>.
1093 * BufferView.[Ch] (getLyXText): add a const version.
1095 * BufferView_pimpl.C: add debug aids.
1100 * paragraph_funcs.h: add commentary explaining what the class does.
1103 * coordcache.[Ch]: add lots of commentary.
1104 (startUpdating, doneUpdating): debug aids.
1105 (arrays, insets, parPos, getParPos): accessors to private data.
1107 * cursor_slice.[Ch] (text): add a const version.
1108 * dociterator.[Ch] (text, innerText): add const versions.
1110 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1113 * paragraph.C (getRow, pos2ros): add asserts.
1115 * paragraph.h: add commentary. Lots of.
1117 * paragraph.[Ch] (metrucs, draw): removed.
1120 * rowpainter.[Ch]: const-correct changes.
1122 * text.C: various obvious clean-ups. Removal of ancient cruft.
1125 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1127 * vc-backend.C (find_file): rewrite to use boost.filesystem
1130 * main.C (main): set default name check for boost.filesystem to
1133 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1136 (actOnUpdatedPrefs): ditto
1138 * lyx_main.C (init): rewrite to use boost.filesystem
1139 (queryUserLyXDir): ditto
1141 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1142 (getContentsOfAsciiFile): ditto
1144 * lastfiles.C (readFile): rewrite to use boost.filesystem
1146 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1148 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1149 (loadLyXFile): ditto
1151 * buffer.C (Buffer): adjust for destroydir
1152 (getLogName): rewrite to use boost.filesystem
1153 (setFileName): ditto
1154 (save): use fs::copy_file (from fs_extras)
1156 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1158 * LaTeX.C (run): rewrite to use boost.filesystem
1159 (scanAuxFiles): ditto
1160 (handleFoundFile): ditto
1162 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1164 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1166 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1168 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1170 * lyxlayout.[Ch]: change some vars from float to double
1172 * buffer.C (readFile): make a local var const
1174 * Several files: use convert<> instead of atoi,strToXXX and friends
1176 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1178 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1179 holds the contents of packages.lst. New functions getAvailable
1180 and isAvailable to parse and check that list, resp.
1184 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1186 * bufferparams.[Ch]: new param output_changes.
1188 * Buffer.C: increase file format to 240.
1189 Use output_changes and isVailable.
1193 * paragraph_pimpl.C: Use output_changes and isVailable.
1195 2005-01-23 Angus Leeming <leeming@lyx.org>
1197 * output_latex.C: #include "insetbibitem.h", rather than
1198 forward declare function bibitemWidest.
1200 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1202 * lyx_main.C (init): make it compile on the Mac.
1204 2005-01-20 Angus Leeming <leeming@lyx.org>
1206 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1207 (setLyXMisc): (char string literal) != (char string literal) is
1208 performing a comparison on the addresses. Convert one operand
1209 explicitly to string to guarantee expected behaviour.
1212 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1215 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1217 * output_plaintext.C: remove unneeded #include gzstream.h.
1219 2005-01-20 Angus Leeming <leeming@lyx.org>
1221 * SpellBase.h: rename some of the elements of the Result enum.
1228 * pspell.C (check): ditto
1230 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1232 * buffer.C: add #include <fstream>.
1234 * lyx_main.C (init): Compile fix.
1236 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1238 2005-01-20 Angus Leeming <leeming@lyx.org>
1240 * mover.h: change commentary to reflect the changed meaning of
1241 the $$s placeholder.
1243 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1245 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1247 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1249 2005-01-20 Angus Leeming <leeming@lyx.org>
1251 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1252 printing diagnostic data by not dereferecing an iterator past the
1255 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1257 * buffer.C (readHeader): use "&&" rather than "and".
1259 * lyxserver.h (inPipeName, outPipeName): make these const.
1261 2005-01-19 Angus Leeming <leeming@lyx.org>
1263 * lyx_main.C (error_handler, init): protect SIGHUP with
1264 #ifdef SIGHUP guards.
1266 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1268 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1270 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1272 * text.C (setHeightOfRow): add a margin at the top and bottom of
1273 the document (bug 1761)
1275 2005-01-17 Angus Leeming <leeming@lyx.org>
1277 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1278 with "python ". Workaround for a brain-dead Windows.
1280 2005-01-16 Angus Leeming <leeming@lyx.org>
1282 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1283 for MacOSX and Windows to use prependEnvPath.
1284 Strip out the hard-coded block to add elements to the PATH for
1285 MacOSX and replace it with a call to prependEnvPath using the
1286 contents of LyXRC::path_prefix.
1287 (queryUserLyXDir): strip out the code to run reconfigure, instead
1288 returning a boolean indicating the necessity to do so.
1289 (reconfigureUserLyXDir): contains the code to reconfigure the
1290 user support directory. Is now called after the various LyXRC data
1291 files have been read.
1293 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1295 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1297 * converter.[Ch] (convert): take a new parameter try_default. Use
1298 a default converter (imagemagick) if try_default is true.
1300 2005-01-13 Angus Leeming <leeming@lyx.org>
1302 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1303 os::cygwin_path_fix.
1304 (write): output LyXRC::cygwin_path_fix as necessary.
1306 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1309 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1311 2005-01-12 Angus Leeming <leeming@lyx.org>
1313 * lyx_main.C (init): set the PATH variable to include the
1314 directory containing the LyX binary when running on Mac or Windows.
1316 2005-01-12 Angus Leeming <leeming@lyx.org>
1318 * lyx_main.C (init): remove cruft that purports to set the locale
1319 dir. It doesn't and is not needed anyway.
1321 2005-01-10 Angus Leeming <leeming@lyx.org>
1323 * Makefile.am: remove the lyx_main.C special casing.
1325 * BufferView_pimpl.C:
1331 * messages.C: use support/package.h to provide the paths to the
1332 various directories used by LyX.
1334 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1336 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1337 layout if pasting into an empty paragraph)
1339 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1341 * tex-accent.C: add <string>
1343 2005-01-06 José Matos <jamatos@lyx.org>
1345 * ParagraphParameters.C (write): put every parameter in its own line.
1346 * paragraph.C (write): reduce number of consecutive empty lines exported.
1347 * buffer.C (LYX_FORMAT): increase file format to 239.
1349 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1351 * everywhere: change support/tostr.h -> support/convert.h
1353 * tabular.C: make all write_attributes templates, tostr -> convert
1355 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1356 (emptyTag): and -> &&, and fix type for ret from getChar
1357 (getFirstWord): fix type for ret from getChar
1358 (onlyText): and -> &&
1359 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1362 * toc.C (goTo, action):
1363 * text3.C (dispatch):
1364 * text.C (currentState):
1365 * tex-accent.C (DoAccent):
1368 * lyxfunc.C (menuNew):
1369 * lyxfinc.C (replace):
1370 * counters.C (laberItem):
1371 * bufferview_funcs.C (font2string):
1372 * bufferparams.C (writeFile):
1373 * buffer.C (readFile):
1375 * MenuBackend.C: tostr -> convert
1377 * LaTeX.C (runMessage): fix format
1378 (scanAuxFiles): tostr -> convert
1380 * BufferView_pimpl.C (savePosition): fix format
1381 (restorePosition): ditto
1384 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1386 * Spacing.[Ch]: New method getValueAsString().
1390 * ParagraphParameters.C:
1393 * text3.C: store/read spacing value as string.
1395 * rowpainter.C: change float value (spacing_val) to double.
1397 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1398 broken custom document spacing).
1400 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1402 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1403 namespace, also more use of temp references and const
1405 * cursor.[Ch] (getStatus): move to lyxfunc.C
1407 * bufferparams.C: reformat slightly
1409 * bufferview_funcs.C (font2string): constify arg
1415 * buffer_funcs.C: (many funcs): constify arg on function
1416 definitions, also make more local vars const, also add ASSERTS on
1419 * buffer.C (LYX_FORMAT): put const in correct place
1420 (many funcs): constify arg on function definitions, also make
1421 more local vars const
1423 * aspell_local.h: remove "struct" from typdef setup
1425 * aspell.C (check): make word_ok const
1426 (nextMiss): simplify slightly
1429 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1431 * lyxrc.[Ch]: store all float values as strings.
1432 use int (not float) for lyxrc.dpi.
1434 2005-01-04 Angus Leeming <leeming@lyx.org>
1436 * lyx_cb.C (Reconfigure):
1437 * lyx_main.C (queryUserLyXDir):
1438 to run the <system_lyxdir>/configure correctly on Windows, prefix
1439 the path to the script with "sh " when generating the string that
1440 is passed to system().
1442 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1444 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1446 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1448 * lyxlength.C (asLatexString): get rid of setprecision
1450 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1452 * text2.C (setLayout): remove unused variable endpit.
1453 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1455 * paragraph.C (onlyText): remove unused variable style.
1457 * cursor.C (bruteFind): remove unused variables beg and end.
1459 * Makefile.am (dist_noinset_DATA): not needed anymore
1461 * cheaders/*: remove.
1463 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1465 * text3.C: fix LFUN_MATH_MODE.
1467 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1469 * buffer_funcs.C (countWords): new function. Counts words between
1472 * BufferView_pimpl.C (getStatus, dispatch): handle
1475 * LyXAction.C (init):
1476 * lfuns.h: add LFUN_WORDS_COUNT.
1478 2004-12-19 Angus Leeming <leeming@lyx.org>
1480 * buffer.C (save): s/slashify_path/internal_path/.
1482 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1484 * lyxfind.C (findChange): do not search for end of pars, because
1485 the change tracker cannot handle this (fixes bug 1719).
1487 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1489 * paragraph.[Ch] (autoBreakRows): remove
1491 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1493 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1494 avoid using the paragraph one
1496 * text2.C (LyXText, insertStringAsLines): adjust
1498 2004-12-16 Angus Leeming <leeming@lyx.org>
1502 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1504 2004-12-14 Angus Leeming <leeming@lyx.org>
1506 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1508 * bufferlist.C (emergencyWrite):
1509 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1512 2004-12-14 Angus Leeming <leeming@lyx.org>
1514 * main.C: (main): no longer pass pointers to os::init.
1516 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1518 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1519 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1521 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1524 * text3.C: remove selection_possible global flag
1526 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1528 * text2.C (getSelectionSpan): remove
1529 (changeDepth, changeDepthAllowed): adjust
1531 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1533 * Makefile.am (BOOST_LIBS): use boost variables
1535 2004-12-03 José Matos <jamatos@lyx.org>
1537 * buffer.C: format up to 238.
1539 2004-12-03 José Matos <jamatos@lyx.org>
1541 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1543 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1545 * cursor.C (goUpDown): remove call to idxUpDown2
1547 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1549 * tabular.[Ch]: use size_t-like types for cell, row and column
1552 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1554 * lyxfunc.C (getStatus): do not lose previous information when
1555 calling BufferView::getStatus; do not set a default "Command
1556 disabled" message at the beginning, but just before returning.
1558 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1560 * cursor.h (getStatus): add better comment from src/cursor.C
1562 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1564 * text3.C (getStatus): return false when the lfun is not handled
1566 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1568 * broken_headers.h: remove
1570 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1572 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1574 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1575 offset_ref accessors
1577 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1578 top_y_, merge fitcursor with update
1579 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1581 (metrics): introduce
1582 (workAreaDispatch): adapt to new coord scheme
1583 (redoCurrentBuffer): remove
1585 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1587 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1590 * coordcache.[Ch]: add paragraph cache and helpers
1592 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1595 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1596 (targetX, setTargetX): introduce
1598 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1599 baseline -> ascent, as the rest of lyx
1601 * lyxtext.h: remove redoParagraphs, updateParPositions,
1602 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1603 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1604 have ascent/descent (ascent is ascent of first par)
1606 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1609 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1611 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1613 * pariterator.C: fix infinite loop introduced in par->pit renaming
1615 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1616 in insets and LyXText, draw two off-screen paragraphs using
1617 NullPainter, and adapt to new coord scheme
1621 * text3.C: adapt lfun handlers to the new coord scheme, which
1622 means: there's only guaranteed coord information for onscreen pars
1623 plus one above and one below. This implies that one can do search
1624 from y coordinates in the range [-1,workHeight]
1626 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1628 * rename a lot of InsetOld to InsetBase
1630 2004-11-25 Angus Leeming <leeming@lyx.org>
1632 * BufferView_pimpl.C:
1634 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1636 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1638 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1639 call BufferView::getStatus if LCursor::getStatus did nothing
1640 (setStatusMessage, getStatusMessage): removed.
1642 * FuncStatus.C (message): new methods. Used to provide an error
1643 message indicating why a command is disabled.
1644 (clear, |=, FuncStatus): update for message.
1646 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1648 * lyxfunc.C (dispatch): always call sendDispatchMessage
1650 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1653 * BufferView_pimpl.C:
1658 * cursor_slice.[Ch]:
1661 * paragraph_funcs.C:
1667 * undo.C: par->pit renaming
1669 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1671 * tabular.C (cellstruct): use initialization, store a shared_ptr
1672 to insettext instead of the insettext directly, adjust to fit.
1673 (operator=): new function
1674 (swap): new function
1675 (rowstruct): use initialization
1676 (columnstruct): use initialization
1677 (ltType): use initialization
1680 * lyxlength.h (swap): new function
1682 * LColor.[Ch] (operator=): use the common semantics
1684 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1686 * lyxfind.C (findNextChange): update the bufferview after setting
1689 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1691 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1692 number of InsetOptArgs has already been inserted.
1694 * output_latex.C (latexOptArgInsets): new method. This outputs all
1695 the optarg insets, up to the limit defined in the layout file.
1696 (optArgInset): removed
1697 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1699 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1701 * paragraph.C (isLetter): remove special spellchecker-related
1702 code; return true also for digits
1703 (isWord, isKomma): remove
1705 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1706 * lyxfind.C (MatchString()): use isLetter instead of isWord
1708 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1710 * pariterator.h (operatir=): comment out un-implemented member
1713 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1716 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1718 * lyxfont.h: include LColor.h to satisfy concept checks.
1720 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1722 * pariterator.h: add typdefs for value_type, difference_type,
1723 pointer and reference to satisfy concept checks. Also add default
1724 constructor for same reason.
1726 * pariterator.C (operator++): add post-increment operator to
1727 satisfy concept checks.
1729 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1732 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1734 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1735 checks. Also rename base_type to BaseType to follow naming
1738 * FloatList.h: include Floating.h to satisfy concept checks.
1740 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1742 * lyxfunc.C (getStatus): when the origin of the request is menu or
1743 toolbar, and the LyXView does not have focus, do as if there was
1744 no buffer (bug 1720)
1746 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1747 FuncRequest to individual entries of LFUN_SEQUENCE
1749 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1751 * output_latex.C (TeXOnePar): override runparams.moving_arg
1752 according to the needprotect value of the current paragraph (bug
1755 * paragraph.C (simpleTeXOnePar): no need to override
1756 runparams.moving_args here
1758 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1760 * vspace.C: fix off-by-one-error, related to fix #1682
1762 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1764 * lengthcommon.C: a more general fix for bug 1682
1766 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1768 * text.C (backspace): fix crash
1770 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1772 * format.[Ch] (getFormatFromFile): new method
1773 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1775 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1777 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1779 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1781 * lyxfunc.C (dispatch): remove the verbose argument
1782 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1785 * kbmap.C (defkey): set the origin of func to KEYBOARD
1787 * MenuBackend.C (MenuItem):
1788 * ToolbarBackend.C (add): set the origin of func to UI
1790 * funcrequest.[Ch]: add origin member, which indicates which part
1791 of LyX requests an action
1793 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1795 * converter.C (move): don't lie in the error message
1796 * converter.h (isReachable, move): document
1798 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1800 * buffer.C: remove unused using lyx::support::atoi
1801 * paragraph_funcs.C: ditto
1803 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1805 * bufferlist.C (exists): use bind and equal_to instead of
1808 * lyxtextclasslist.C (NumberOfClass): ditto
1810 * cursor.C (insert): use for_each instead of explicit for loop
1812 * bufferlist.C (getFileNames): use std::transform and
1813 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1815 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1818 * buffer.C (changeLanguage): use for_each instead of explicit for
1820 (hasParWithID): implement using getParFromID
1822 * LaTeXFeatures.C: ws change only
1824 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1827 * BufferView_pimpl.C (trackChanges): use for_each instead of
1830 2004-11-04 André Pönitz <poenitz@gmx.net>
1833 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1835 * dociterator.C (asDocIterator): use hard assert again.
1837 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1839 * lyxlength.C (asLatexString): rewrite so that it does not use
1842 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1844 * text3.C (specialChar, dispatch): make sure cursor moves to the
1845 right after inserting an inset
1847 2004-11-02 José Matos <jamatos@lyx.org>
1849 * output_docbook.C (docbook):
1850 * paragraph.C (getID):
1851 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1852 garantee that the output is always legal.
1854 * tabular.C (docbook):
1855 * outputprams.[Ch]: remove mixed contents.
1857 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1859 * text2.C (setCounter): prevent endless loop
1861 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1863 * exporter.C (copyFile): use the mover instead of support::copy()
1864 * exporter.C (Export): pass format and latex name to copyFile()
1865 * exporter.h (addExternalFile): document
1866 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1868 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1870 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1872 2004-10-30 José Matos <jamatos@lyx.org>
1874 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1875 text and no inset or font change. This allows to use CDATA
1876 sections just for the whole paragraph.
1878 2004-10-30 José Matos <jamatos@lyx.org>
1880 * paragraph.C (getFirstWord): remove unused variable.
1882 2004-10-30 José Matos <jamatos@lyx.org>
1884 * paragraph.C (getFirstWord): the content should always be escaped
1886 (simpleDocBookOnePar):
1887 * output_docbook.C (makeEnvironment): replace reference to CDATA
1890 2004-10-30 José Matos <jamatos@lyx.org>
1892 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1894 2004-10-30 José Matos <jamatos@lyx.org>
1896 * output_docbook.C (makeParagraphs):
1897 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1898 standard paragraph has only a given type of content drop the wrapper.
1900 2004-10-29 José Matos <jamatos@lyx.org>
1902 * output_docbook.C (makeEnvironment):
1904 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1906 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1908 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1909 (cleanID): sanitize any id.
1911 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1913 * buffer.C, lyxlex_pimpl.C:
1914 * lyxlex_pimpl.C (setFile):
1915 s/getExtFromContents/getFormatFromContents/
1917 2004-10-28 José Matos <jamatos@lyx.org>
1919 * output_docbook.C (makeEnvironment): move id to broadest possible
1922 * sgml.C (openTag): apply substitution of <> for all attributes.
1924 2004-10-28 José Matos <jamatos@lyx.org>
1926 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1927 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1928 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1930 * sgml.[Ch]: new version for open and closeTag for paragraph and
1931 for strings. Now they handle the ids of paragraphs.
1933 2004-10-26 Angus Leeming <leeming@lyx.org>
1935 * Makefile.am: add mover.[Ch].
1937 * converter.C (convert, move): use the new Movers to move external
1938 files to the temp directory.
1940 * lyx_main.C (init): ensure that the global system_movers data
1943 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1946 * mover.[Ch]: new files, defining a Mover as a utility to move an
1947 external file between directories and, if necessary, manipulate this
1948 file using a helper script.
1950 2004-10-25 José Matos <jamatos@lyx.org>
1952 * output_docbook.C (makeCommand): merge two if's that tested the
1955 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1957 * sgml.C (escapeString): fix warning in a better way
1959 2004-10-25 José Matos <jamatos@lyx.org>
1961 * sgml.C (escapeString): import the require boosts header file for
1962 tie, and avoid a signed unsigned comparison.
1964 2004-10-25 José Matos <jamatos@lyx.org>
1966 * sgml.h: add #include <string>
1968 2004-10-25 José Matos <jamatos@lyx.org>
1970 * sgml.[Ch] (escapeString): new function to escape all the string.
1972 2004-10-24 José Matos <jamatos@lyx.org>
1974 * paragraph.[Ch] (getFirstWord): new function to get the first
1975 word. Useful for description.
1976 (simpleDocBookOnePar): remove depth argument, add another that
1977 says where to start the paragraph.
1979 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1980 use the new functions to fix cleanly the support for descriptions.
1982 2004-10-24 José Matos <jamatos@lyx.org>
1984 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1985 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1986 * output_linuxdoc.C (linuxdocParagraphs):
1987 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1988 add buffer as argument.
1990 2004-10-24 José Matos <jamatos@lyx.org>
1992 * output_docbook.C (makeEnvironment, searchEnvironment): place
1993 CDATA inside paragraphs and fix scope for listitems.
1995 2004-10-24 José Matos <jamatos@lyx.org>
1997 * output_docbook.C: remove using statement for stack.
1999 2004-10-23 José Matos <jamatos@lyx.org>
2001 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2002 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2003 docbook. The new scheme is recursive and makes use of iterators, the
2004 same as latex export works.
2005 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2006 directly with the paragraph contents. This code was moved up to
2007 output_docbook.C (docbookParagraphs).
2008 * sgml.C (openTag, closeTag): removed unneeded newlines.
2009 (closeEnvTags) removed.
2011 2004-10-23 André Pönitz <poenitz@gmx.net>
2013 * undo.C (textUndoOrRedo):
2014 * dociterator.C (asDocIterator): work around crash
2016 * cursor.C (getStatus): replace ASSERT by more verbose error message
2017 and manual correction of the problem. Should increase stability
2018 while providing more sensible information.
2020 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2022 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2024 * bufferlist.C (previous, next): new methods
2027 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2029 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2031 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2032 entities to preamble.
2034 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2036 * messages.C (Pimpl): strip off translation context information
2038 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2040 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2041 the cursor is correct (bug 1694)
2043 2004-10-13 José Matos <jamatos@lyx.org>
2045 * output_docbook.C (docbookParagraphs): fix closing tags in the
2046 end of the document.
2048 2004-10-09 José Matos <jamatos@lyx.org>
2050 * buffer.C: format up to 237.
2051 * bufferparams.C (write): use tostr to convert booleans to strings.
2053 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2055 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2057 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2059 * LaTeX.C: implement use of babel language in xindy.
2061 2004-10-05 José Matos <jamatos@lyx.org>
2063 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2064 Add new translators to help reading and writing the lyx file.
2066 2004-10-05 José Matos <jamatos@lyx.org>
2068 * ParagraphParameters.C (read):
2069 * text.C (readParToken): replace nexToken by more appropriate lex
2072 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2074 * LaTeX.C (runMakeIndex):
2075 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2076 (usually 'makeindex') configurable.
2078 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2079 with a variable rather than with a number.
2081 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2083 * output_latex.C (TeXOnePar): make sure font setting is the first
2084 thing that gets output (and the last at the end). Should fix bug
2087 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2089 * pch.h: use proper signal include
2091 * LaTeX.h: Use preferred calling of Boost.Signal
2094 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2096 * pch.h: dont include <boost/function/function0.hpp>
2098 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2100 * paragraph_pimpl.h: remove usage of ShareContainer
2102 * paragraph_pimpl.C: remove initialization of ShareContainer.
2104 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2108 * BufferView.C (putSelectionAt): change the semantics when
2109 backwards == true: now, this just swaps cursor and anchor wrt the
2112 * BufferView.h (putSelectionAt): add some documentation
2114 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2115 make sure backwardChar is done at least once (to avoid getting
2117 (findNextChange): use putSelectionAt in the forward direction
2118 (operator()): use Paragraph::isWord
2120 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2122 * Spacing.C (set): c_str fix
2124 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2126 * lyx_cb.C (Reconfigure): quote the name of configure script in
2127 case it contains spaces
2129 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2133 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2134 (BOOST_LIBS): use top_buildir when looking for the file
2136 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2138 * pch.h: do not use include boost/format.hpp, multiple symbols
2139 will result (gcc bug)
2142 2004-08-23 José Matos <jamatos@lyx.org>
2144 * bufferparams.C (readToken): fix reading of the author field.
2146 2004-08-20 José Matos <jamatos@lyx.org>
2148 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2150 2004-08-20 José Matos <jamatos@lyx.org>
2152 * lyxlex.[Ch] (findToken): remove function.
2154 * ParagraphParameters.C (findToken):
2155 * bufferparams.C (findToken): replace call for previous function
2156 with local copy. This local function has one more argument, the
2157 read string argument.
2159 2004-08-16 José Matos <jamatos@lyx.org>
2161 * ParagraphParameters.C (write):
2162 * Spacing.C (writeFile):
2163 * bufferparams.C (writeLaTeX):
2164 * lyx_cb.C (Reconfigure):
2165 * paragraph.C (write):
2166 * tabular.C (write): remove unnecessary space at end of line.
2169 2004-08-16 José Matos <jamatos@lyx.org>
2171 * text.C (readParagraph): remove debug message.
2173 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2175 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2178 * output_plaintext.C (asciiParagraph): set depth correctly
2180 * outputparams.h: add member depth
2182 * paragraph_funcs.C (ownerPar): remove.
2184 * text2.C (setCounter): remove first_pit; comment out some
2185 non-working code that uses ownerPar
2187 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2190 2004-08-16 José Matos <jamatos@lyx.org>
2192 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2193 For the same level of importance use the same chanel to report problems.
2194 (read): add code to deal with \begin_body and \end_body.
2197 2004-08-15 José Matos <jamatos@lyx.org>
2199 * lyxlex.C (getString): fix comment, buffer::readBody is now
2200 buffer:readDocument.
2202 * tex-strings.C (string_papersize): Default -> default,
2203 Custom -> custom, for consistency with other options.
2205 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2209 * Makefile.am: support pch
2211 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2213 * text.C (readParToken): remove the static LyXFont variable and
2214 pass it as a parameter instead. This fixes a nasty bug where an
2215 inset will be inserted with a bad font in some situations
2216 (readParagraph): adapt
2218 * text2.C (setCounter): reduce number of calls to pars_[pit]
2220 * text.C (singleWidth): add an assert, fix a test
2222 * rowpainter.C (paintText): reduce number of calls to singleWidth
2224 * paragraph.C (isHfill):
2225 (isNewline): ws only
2227 2004-08-14 André Pönitz <poenitz@gmx.net>
2232 * lyxtext.h (several functions): use a Paragraph & argument
2235 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2237 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2239 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2241 * text.C (singleWidth): remove useless test
2243 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2245 * tabular.h: remove bogus comments
2247 * tabular.C (getDescentOfRow):
2248 (isPartOfMultiColumn): add assertions
2250 * lyxlength.C (inPixels): remove #warning
2252 2004-08-14 André Pönitz <poenitz@gmx.net>
2254 * paragraph.h: inline getChar()
2256 * BufferView.h: remove unused declarations
2258 2004-08-14 José Matos <jamatos@lyx.org>
2260 * Buffer.[Ch] (readDocument): new name for old readBody.
2261 * Buffer.C: new file format, new keywords: \begin_document,
2262 \begin_header, \begin_body, \end_body.
2264 * bufferparams.C (readToken): replace all calls to lex.nextToken
2265 by lex.next(). Do the same to eatLine except where really needed.
2267 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2268 line when writing to the lyx file.
2270 * output_plaintext.C (asciiParagraph): fix Bibliography style
2273 * text.C (read): fix end of file handling.
2275 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2277 * MenuBackend.C (Menu::operator[]): new method to access
2278 individual menu items
2279 (Menu::hasFunc): new method. search for an item that corresponds
2281 (MenuBackend::specialMenu): new method
2282 (MenuBackend::expand): if a special menu has been set, skip
2283 entries whose func() appears in this menu
2285 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2287 * text3.C: use Debug::DEBUG a bit more
2289 * text.C (leftMargin): try to simplify a tiny bit change var x to
2290 l_margin. Dont output the wide margins always.
2291 (rightMargin): no margin in inner texts
2293 * rowpainter.h (nestMargin): new func
2294 (changebarMargin): new func
2295 (rightMargin): new func
2297 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2301 * factory.C (createInset): modify setDrawFrame
2303 * cursor.C: use Debug::DEBUG a bit more
2305 2004-08-14 André Pönitz <poenitz@gmx.net>
2308 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2309 cache for all insets in (at least partially) visible (top-level)
2312 * BufferView_pimpl.C: reset external coord cache before every update.
2313 This means the coord cache only contains valid entries.
2315 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2318 * BufferView_pimpl.C (getInsetByCode): move function out of class
2319 and change in to a template in anon namespace. Also fix to do what
2322 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2325 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2327 (breakParagraph): rename par to par_offset and use a local
2328 reference. Add code to keep the language over a rebreak.
2329 (breakParagraphConservative): rename par to par_offset, use a
2331 (mergeParagraph): ditto
2333 (isFirstInSequence): ditto
2334 (outerFont): rename pit to par_offset
2336 * paragraph.C: ws change
2337 * paragraph.h: ditto
2341 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2343 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2346 * paragraph.C (simpleTeXOnePar): when we have a \item with
2347 optional argument, enclose the argument with curly brackets (in
2348 case it contains a closing square bracket)
2352 * text3.C (checkInsetHit): constify
2354 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2356 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2357 documents (bug 1629)
2359 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2361 Fix toggling of collapsable insets with the mouse (bug 1558)
2363 * lyxfunc.C (dispatch): adapt to LCursor changes
2365 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2366 make sure that dispatch is not invoked twice
2368 * cursor.C (needsUpdate): new method
2369 (dispatch): return void
2370 (result): new method, to access the DispatchResult of the cursor.
2372 2004-08-13 José Matos <jamatos@lyx.org>
2374 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2376 2004-08-13 André Pönitz <poenitz@gmx.net>
2378 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2380 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2383 2004-08-12 André Pönitz <poenitz@gmx.net>
2385 * text3.C: take out the 'cursor right' form insertInset and only
2386 do it in those places when it is really needed. Fixes crash on
2389 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2391 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2393 * BufferView_pimpl.C (setBuffer): initialize the current font of
2394 the underlying LyXText
2396 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2398 * kbsequence.C (print): use UI native formatting for menu
2401 * text.C (insertChar): call Paragraph::insertChar with a font
2404 * paragraph.C (insertInset, insertChar): the version that takes a
2405 LyXFont argument is now a wrapper around the other one (the
2406 opposite used to be true).
2408 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2409 argument. Font setting is done in Paragraph now.
2411 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2413 * outputparams.h: add new members intitle and lang.
2415 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2416 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2418 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2420 * text3.C (dispatch): remove special handling of button 4 and 5,
2421 it is now taken care of in the frontend code.
2423 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2425 * Spacing.h: add <string> (STLPort compile fix)
2427 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2429 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2431 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2433 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2436 * converter.C (showMessage): inherit from unary_function, make
2439 * buffer.C (writeFile): initialize retval
2441 * InsetList.h: rename private variable list to list_
2442 * InsetList.[Ch]: adjust accordingly.
2444 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2446 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2447 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2448 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2449 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2450 * ParagraphParameters.C, LaTeXFeatures.C: replace
2451 "support/std_sstream.h" with <sstream>
2453 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2455 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2456 * lyxsocket.C (LyXServerSocket): ditto
2457 (serverCallback): ditto
2459 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2461 * LaTeXFeatures.C: check release date when loading jurabib.
2463 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2465 * lyxserver.C (startPipe): call register_socket_callback
2466 (endPipe): call unregister_socket_callback
2468 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2470 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2471 (LyXServerSocket): register the callback
2472 (LyXServerSocket): unregister the callback
2473 (fd): delete function
2474 (serverCallback): improve error checking and setup the callbacks.
2475 (dataCallback): change arg to fd.
2476 (writeln): new func (copied fro the client socket) used for server
2478 (LyXDataSocket): simplify
2479 (~LyXDataSocket): close ann unregiser callback
2480 (server): delete function
2481 (fd): delete function
2482 (readln): small changes, improve some std::string usage
2483 (writeln): constify a bit
2485 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2487 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2490 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2492 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2493 after it has been populated
2495 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2497 * text2.C (insertInset): move cursor when inserting inset.
2499 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2501 * kbmap.C (findbindings): a couple of new methods. returns a
2502 container of kb_sequence objects. The real work is done by the
2503 private recursive version
2504 (printbindings): uses findbindings to print out a bracketed list
2505 of bindings (renamed from findbinding).
2507 * MenuBackend.C (binding): use kb_keymap::findbindings
2509 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2511 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2513 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2515 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2517 * paragraph.C (isWord): return true on insets that report
2520 * text.C (getWord): use Paragraph::isWord to decide what is in a
2521 word and what is not; fix bug 1609.
2523 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2525 * tex-strings.C: add "none" to string_paperpackages[], fixes
2526 off-by-one-error in the paperpackage selection.
2529 * tex-strings.[Ch]: char const * string[n]
2530 -> char const * const string[]
2532 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2534 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2535 command, return early.
2537 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2539 * debug.h: add DEBUG to enum and fix size of ANY.
2541 * debug.C: add support for Debug::DEBUG
2542 (showTags): cast errorTags.level to unsigned int
2544 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2545 (redoCurrentBuffer): ditto
2546 (updateScrollbar): ditto
2547 * cursor.C (dispatch): ditto
2548 * text2.C (setLayout): ditto
2550 (updateCounters): ditto
2552 (deleteEmptyParagraphMechanism): ditto
2554 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2556 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2557 annotations to cleanup the Makefile slightly.
2559 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2561 * lyxrc.C: do not set user_email to a default value but use empty
2562 instead. The entry used to be translated, which does not work
2563 since at the point where lyxrc is constructed there is no
2564 translation service available
2566 * messages.C (getLocaleDir): remove and use directly
2567 lyx_localedir() instead
2569 2004-06-02 Angus Leeming <leeming@lyx.org>
2571 Fix crash caused by dereferencing null pointer 'exportdata' in
2572 OutputParams by creating a new ExportData variable on the heap,
2573 storing it in a boost::shared_ptr.
2574 The crash was triggered when generating an Instant Preview
2575 of an external inset.
2577 * Makefile.am: add outputparams.C
2579 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2580 (c-tor): allocate memory to it.
2582 * exporter.C (c-tor): associated changes.
2584 2004-06-01 Angus Leeming <leeming@lyx.org>
2586 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2587 contains data before calling isInset(0). (Bug 1513.)
2589 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2591 * exporter.C (checkOverwrite): new method
2592 * exporter.C (copyFile): new method
2593 * exporter.C (Export): copy referenced files to the document dir
2594 * exporter.[Ch]: new class ExportedFile
2595 * exporter.[Ch]: new class ExportData. Contains currently the
2596 names of referenced external files
2597 * outputparams.h: add exportdata member.
2599 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2601 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2604 2004-05-19 Angus Leeming <leeming@lyx.org>
2609 * lyxfunc.C: small changes due to the introduction of namespace
2610 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2612 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2614 * text3.C (dispatch): supress update when only moving the cursor
2615 * cursor.C (selHandle): remove commented code
2617 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2619 * paragraph.C (startTeXParParams): correct column count
2620 * CutAndPaste.C (pasteSelection): remove const_cast
2621 * output_docbook.C (docbookParagraphs): remove const_cast
2622 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2623 const_cast and return ParagraphList::const_iterator
2624 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2625 * output_plaintext.C (writeFileAscii): remove const_cast
2626 * paragraph.[Ch] (simpleTeXOnePar): make const
2627 * paragraph_funcs.C (outerPar): use const iterators
2628 * paragraph_pimpl.C (validate): use const iterators
2629 * text.C (setHeightOfRow): use const iterators
2631 2004-05-17 Angus Leeming <leeming@lyx.org>
2634 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2636 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2637 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2638 if the citation engine has changed.
2640 2004-05-14 José Matos <jamatos@lyx.org>
2642 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2643 if the textclass does not provide it. Have it different for sgml and
2645 support the language of document.
2646 * output_docbook.C (docbookParagraphs):
2647 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2648 first anchor as the id of the paragraph, remove special case code.
2649 * sgml.C (escapeChar): escape only < & >.
2651 2004-05-14 Angus Leeming <leeming@lyx.org>
2653 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2654 dependencies on src/frontends/controllers/biblio.h. Define a
2655 CiteEngine_enum wrapper class to enable the enum to be forward
2658 2004-05-12 Angus Leeming <leeming@lyx.org>
2660 * buffer.C: up LYX_FORMAT to 234.
2661 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2662 use_numerical_citations with a single biblio::CiteEngine cite_engine
2664 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2666 2004-05-13 José Matos <jamatos@lyx.org>
2669 * converter.C (Converter, readFlags): add xml member.
2670 * outputparams.h: add XML flavor.
2671 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2673 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2675 * lyxfunc.C (dispatch):
2676 (getStatus): fix handling of LFUN_SEQUENCE
2678 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2680 * debug.C (showLevel): do not forget the end-of-line marker
2682 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2684 * kbmap.C (read): do not stop parsing a bind file when an error
2687 2004-04-29 Angus Leeming <leeming@lyx.org>
2692 * text2.C: wrap a bunch of #warning statements
2693 inside #ifdef WITH_WARNINGS blocks.
2695 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2697 * buffer.C: increment format to 233.
2699 2004-04-28 Angus Leeming <leeming@lyx.org>
2701 * BufferView_pimpl.C:
2704 s/updateToolbar()/updateToolbars()/
2705 s/Toolbar.h/Toolbars.h/
2707 2004-04-28 Angus Leeming <leeming@lyx.org>
2709 * BufferView.[Ch] (c-tor):
2710 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2711 No longer passes these data to the WorkArea generator.
2713 2004-04-28 Angus Leeming <leeming@lyx.org>
2715 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2717 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2719 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2721 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2723 * output_latex.C (TeXEnvironment): make sure that there is a line
2724 break before \end{foo} for the last paragraph of a document
2725 (TeXOnePar): if the paragraph is at the end of the document (or
2726 inset) and the language has to be reset, then make sure that the
2727 line break is _before_ the language command, not after (fixes bug
2728 1225); also make sure that the language reset command is the first
2729 thing after the paragraph (to ensure proper nesting of
2730 environments and thus fix bug 1404)
2732 2004-04-21 John Levon <levon@movementarian.org>
2735 * ToolbarBackend.C: make "name" be a programmatic name
2736 and a gui_name field.
2738 * lyxfunc.C: display the minibuffer on M-x
2740 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2742 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2745 2004-04-19 Angus Leeming <leeming@lyx.org>
2747 * BufferView_pimpl.C (setBuffer): changed preview interface.
2749 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2752 2004-04-19 John Levon <levon@movementarian.org>
2754 * BufferView_pimpl.C:
2755 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2757 2004-04-05 Angus Leeming <leeming@lyx.org>
2759 * text.C (redoParagraphs): add call to updateCounters(), thereby
2760 fixing the missing "Figure #:" label from the caption of a
2763 2004-04-13 Angus Leeming <leeming@lyx.org>
2765 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2766 cursor is clicked out of an inset.
2768 2004-04-13 Angus Leeming <leeming@lyx.org>
2770 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2771 than an InsetOld one.
2773 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2775 * format.[Ch]: add editor to Format
2776 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2777 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2779 2004-04-08 André Pönitz <poenitz@gmx.net>
2781 * metricsinfo.h: remove PainterInfo::width member
2783 2004-04-08 Angus Leeming <leeming@lyx.org>
2785 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2786 "\providecommand" rather than "\newcommand", thereby preventing
2787 clashes with packages that define "\boldsymbol" themselves.
2790 2004-04-08 Angus Leeming <leeming@lyx.org>
2792 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2793 thereby squashing an unnecessary warning.
2795 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2797 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2800 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2802 * BufferView.C (setCursor): call redoParagraph (some insets could
2804 (putSelectionAt): remove the 'double update' trick
2806 * BufferView_pimpl.C (fitCursor): call refreshPar
2807 (workAreaDispatch): remove an uneeded update call
2808 (dispatch): remove some manual update calls
2810 * cursor.[Ch]: remove cached_y_, updatePos
2811 (selHandle): set noUpdate when appropriate
2813 * lyxfunc.C (dispatch): track if we need an update
2815 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2817 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2818 (paintSelection): cheap optimization, do not call cursorX when not
2820 (paintPars): change signature
2823 (paintTextInset): adjust
2827 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2829 * lengthcommon.C: compilation fix: remove explicit array size from
2830 unit_name[] and friends
2832 2004-04-05 Angus Leeming <leeming@lyx.org>
2834 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2836 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2837 present only for the preferences dialog.
2838 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2840 2004-04-05 Angus Leeming <leeming@lyx.org>
2842 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2843 to enable the frontends to export changes to lyxrc correctly.
2845 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2847 2004-04-07 André Pönitz <poenitz@gmx.net>
2849 * cursor.[Ch] (selClear, adjust): remove math
2851 * cursor_slice.C: more agressive assert
2854 * BufferView_pimpl.C: rework mouse event dispatch
2861 2004-04-05 André Pönitz <poenitz@gmx.net>
2863 * cursor.[Ch] (valign, halign...): remove unneeded functions
2865 2004-04-05 Angus Leeming <leeming@lyx.org>
2867 * lyxlength.[Ch] (unit_name et al.): const-correct.
2869 2004-04-05 Angus Leeming <leeming@lyx.org>
2871 * BufferView_pimpl.C:
2880 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2882 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2884 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2886 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2888 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2889 * BufferView_pimpl.[Ch] (getStatus)
2890 * BufferView.[Ch] (getStatus): add
2891 * lyxfunc.C (getStatus): move lfuns handled in
2892 BufferView::dispatch to te function above
2893 * Cursor.C (setSelection): set selection() = true
2895 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2897 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2899 2004-03-31 Angus Leeming <leeming@lyx.org>
2901 * lyxfunc.C (dispatch): Fall through to the generic
2902 Dialogs::show("preamble").
2904 2004-03-31 Angus Leeming <leeming@lyx.org>
2906 * lyxfunc.C (dispatch): Fall through to the generic
2907 Dialogs::show("spellchecker").
2909 2004-03-31 Angus Leeming <leeming@lyx.org>
2911 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2914 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2919 * insetiterator.[Ch]:
2924 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2926 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2928 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2929 insets where we are putting the cursor.
2931 2004-03-31 Angus Leeming <leeming@lyx.org>
2934 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2936 * lyxrc.[Ch] (read, write): overloaded member functions taking
2937 a std::[io]stream arguments.
2939 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2941 2004-03-31 Angus Leeming <leeming@lyx.org>
2943 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2944 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2946 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2947 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2949 2004-03-31 Angus Leeming <leeming@lyx.org>
2951 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2952 the LFUN_ALL_INSETS_TOGGLE code.
2954 2004-03-30 Angus Leeming <leeming@lyx.org>
2956 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2957 has died. Fall through to the generic Dialogs::show("document").
2959 2004-03-30 Angus Leeming <leeming@lyx.org>
2962 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2963 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2965 * lyxfunc.C (getStatus, dispatch): define the actions for these
2966 lfuns. Little more than a cut and pste job from ControlDocument.C
2968 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2970 2004-03-30 Angus Leeming <leeming@lyx.org>
2973 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2974 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2976 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2977 open/closed state of ollapsable insets. Usage:
2979 all-inset-toggle <state> <name>, where
2980 <state> == "open" || "closed" || "toggle" and
2981 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2983 * lyxtext.h, text2.C (toggleInset): removed.
2985 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2986 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2987 now passes LFUN_INSET_TOGGLE to the found inset.
2989 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2990 is now invoked as "all-insets-toggle toggle branch".
2992 2004-03-30 Angus Leeming <leeming@lyx.org>
2996 * pariterator.[Ch]: added/corrected header blurb.
2998 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3000 * dociterator.[Ch]: add an inset_ member
3001 (backwardPos): implemented
3002 (backwardPos, forwardPos): use inset_ when the stack is empty.
3003 (doc_iterator_begin, doc_iterator_end): implemented
3004 * pariterator.[Ch]: adjust, add begin, end
3005 * insetiterator.[Ch]: adjust, add begin, end
3009 * BufferView_pimpl.C:
3010 * CutAndPaste.C: adjust
3012 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3014 * buffer.C: increment file format to 232.
3015 * LaTeXFeatures.C: add bibtopic package.
3016 * bufferparams.[Ch]: param \use_bibtopic.
3018 * lyxrc.[Ch]: add lyxrc bibtex_command
3019 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3021 * buffer.C: increment file format to 231.
3023 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3025 * dociterator.C: implement forwardPar
3026 * iterators.[Ch]: remove, replaced by
3027 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3029 * BufferView_pimpl.C:
3032 * bufferview_funcs.C:
3038 * Makefile.am: adjust
3040 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3042 * CutAndPaste.C (pasteSelection): fix 2 crashes
3043 (eraseSelection): fix a crash
3044 * paragraph_funcs.C: remove a warning
3046 2004-03-28 Angus Leeming <leeming@lyx.org>
3049 * LyXAction.C (init): new LFUN_PRINT.
3051 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3053 2004-03-27 Angus Leeming <leeming@lyx.org>
3056 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3058 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3060 2004-03-27 Angus Leeming <leeming@lyx.org>
3062 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3063 insetlist always contains non-null pointers to insets.
3065 2004-03-26 Angus Leeming <leeming@lyx.org>
3067 * src/BufferView_pimpl.C:
3068 * src/CutAndPaste.C:
3071 * src/output_plaintext.C:
3072 * src/outputparams.h:
3073 * src/paragraph_funcs.C:
3077 * src/frontends/controllers/ControlErrorList.C:
3078 * src/frontends/gtk/FileDialogPrivate.C:
3079 * src/frontends/gtk/GPainter.C:
3080 * src/frontends/gtk/GToolbar.C:
3081 * src/frontends/qt2/QRef.C:
3082 * src/mathed/math_scriptinset.C: squash compiler warnings.
3084 2004-03-26 Angus Leeming <leeming@lyx.org>
3086 * ispell.C (LaunchIspell::start):
3087 * lyx_cb.C (AutoSaveBuffer::start):
3088 invoke run(DontWait) rather than runNonBlocking().
3090 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3092 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3094 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3096 * kbsequence.C (print): adjust
3098 * kbmap.C (printKeySym): rename and change signature
3099 (printKey): use LyXKeySym::print()
3101 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3103 * undo.C: add using std::advance to compile for stlport
3105 2004-03-24 Angus Leeming <leeming@lyx.org>
3107 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3108 it leads to a crash when no buffer is present.
3110 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3111 Martin Vermeer <martin.vermeer@hut.fi>
3113 * lyxfunc.C (dispatch):
3114 * bufferparams.C (readToken): use the new LColor::setColor
3116 * LColor.[Ch] (setColor): new version that takes two strings as
3117 argument and creates a new color entry if necessary
3119 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3121 * buffer.C (makeLaTeXFile): if the main latex file that is
3122 processed is usually a subdocument of some master, then pretend
3123 for a while that it is actually the master
3125 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3127 * buffer.C (getLabelList):
3128 (getBibkeyList): use getMasterBuffer()
3129 (getMasterBuffer): new method. Returns the main document in the
3130 case where one is using included documents.
3132 2004-03-25 André Pönitz <poenitz@gmx.net>
3136 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3138 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3140 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3141 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3143 * ParameterStruct.h: merge with ParagraphParameters
3145 * lyxtext.h: remove LyXText::parOffset() and getPar()
3147 * text3.C: Remove all 'manual' update calls. We do now one per user
3148 interaction which is completely sufficient.
3152 * BufferView_pimpl.C:
3153 * FontIterator.[Ch]:
3155 * ParagraphParameters.[Ch]:
3160 * cursor_slice.[Ch]:
3167 * output_docbook.[Ch]:
3168 * output_latex.[Ch]:
3169 * output_linuxdoc.[Ch]:
3170 * output_plaintext.[Ch]:
3172 * paragraph_funcs.[Ch]:
3173 * paragraph_pimpl.[Ch]:
3181 * frontends/controllers/ControlDocument.C:
3182 * frontends/controllers/ControlErrorList.C:
3183 * frontends/controllers/ControlSpellchecker.C:
3186 * insets/insetbase.h:
3187 * insets/insetbibitem.C:
3188 * insets/insetbox.C:
3189 * insets/insetbranch.C:
3190 * insets/insetcaption.C:
3191 * insets/insetcharstyle.C:
3192 * insets/insetcharstyle.h:
3193 * insets/insetcollapsable.C:
3194 * insets/insetcollapsable.h:
3195 * insets/insetert.C:
3196 * insets/insetfloat.C:
3197 * insets/insetfoot.C:
3198 * insets/insetmarginal.C:
3199 * insets/insetnote.C:
3200 * insets/insetoptarg.C:
3201 * insets/insettabular.C:
3202 * insets/insettext.C:
3203 * insets/insettext.h:
3204 * insets/insetwrap.C:
3205 * mathed/math_mboxinset.C:
3206 * mathed/math_nestinset.C:
3207 * mathed/math_scriptinset.C:
3208 * mathed/math_scriptinset.h:
3211 2004-03-24 Angus Leeming <leeming@lyx.org>
3213 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3214 deal with any child processes that have finished but are waiting to
3215 communicate this fact to the rest of LyX.
3217 2004-03-24 Angus Leeming <leeming@lyx.org>
3219 64-bit compile fixes.
3221 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3222 (c-tor): pass lyx::pos_types rather than ints.
3224 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3227 * text.C (Delete): compile fix.
3228 (getPar): ensure that function declaration is the same as that in
3231 2004-03-23 Angus Leeming <leeming@lyx.org>
3233 * ispell.C (LaunchIspell):
3234 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3235 a boost::shred_ptr rather than a std::auto_ptr.
3237 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3239 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3240 handle LFUN_FILE_INSERT_*
3242 * lyxrc.C (setDefaults, getDescription, output, read):
3243 * lyxrc.h: remove ps_command
3245 2004-03-22 Angus Leeming <leeming@lyx.org>
3247 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3248 Ensure that error_handler is processed once only and that all data
3249 is saved before attempting to output any warning messages.
3251 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3253 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3255 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3257 2004-03-19 André Pönitz <poenitz@gmx.net>
3259 * cursor.[Ch] (reset): take main text inset as argument
3261 * BufferView: adjust
3262 * BufferView_pimpl.C: adjust
3264 * paragraph.[Ch]: fix completely broken operator=()
3266 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3268 * LColor.C (getFromLyXName): make sure that the color name is used
3271 2004-03-17 Angus Leeming <leeming@lyx.org>
3274 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3276 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3277 dialog and to kill a forked process.
3279 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3281 * text2.C (setCursorFromCoordinates): fix font problem
3283 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3285 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3286 bogus "rebuild cursor" code
3288 2004-03-11 André Pönitz <poenitz@gmx.net>
3290 * buffer.[Ch]: use InsetText instead of LyXText as container for
3293 * dociterator.[Ch]: drop the BufferView * member which is not needed
3294 anymore after the change to buffer.C
3296 * paragraph_funcs.C:
3300 * BufferView_pimpl.[Ch]:
3302 * cursor_slice.[Ch]: adjust
3304 * text3.C: fix bug in mathDispatch
3306 2004-03-08 André Pönitz <poenitz@gmx.net>
3308 * undo.[Ch]: use 'StableDocumentIterator' as base for
3311 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3314 * bufferparams.[Ch]: add jurabib support and param.
3316 * LaTeX.C: add FIXME/comment.
3318 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3320 * buffer.C: increment file format to 230.
3322 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3324 * cursor.C (dispatch): avoid infinite loops
3326 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3328 * rowpainter.C (paintSelection): fix x coordinates
3330 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3332 * text.C (rowBreakPoint): fix breaking before displayed insets
3334 2004-03-01 André Pönitz <poenitz@gmx.net>
3336 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3338 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3342 * BufferView_pimpl.C:
3350 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3356 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3357 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3359 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3361 * Bidi.[Ch] (computeTables): const correctness
3362 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3363 fill_hfill, fill_label_hfill and x from Row
3364 * lyxtext.h: prepareToPrint returns a RowMetrics
3365 * rowPainter.C: adjust
3366 * text.C (prepareToPrint): use width, not textWidth. adjust
3367 (redoParagraphInternal, cursorX): adjust
3368 * text2.C (getColumnNearX): adjust
3369 (init): put a default value to the top LyXText::width
3371 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3373 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3375 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3377 * lyxtext.h: add FontIterator class
3379 * text.C (FontIterator, operator*, operator->, operator++): add
3380 (rowBreakPoint, setRowWidth): adjust (fixing a
3383 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3385 * BufferView_pimpl.C (workAreaDispatch): allow also
3386 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3388 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3390 * text.C (rowBreakPoint): fix a bug showing with very large insets
3392 2004-02-25 André Pönitz <poenitz@gmx.net>
3395 * cursor.[Ch]: move some mathed specific code to mathed
3397 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3399 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3400 use_tempdir in preferences
3401 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3403 * lyx_main.C: ensure that tempdir is valid
3404 * lyxlex.h: correct typo
3405 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3406 * paragraph.[Ch] (isMultiLingual): make const
3407 * cursor.[Ch] (openable): make const
3409 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3411 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3413 2004-02-20 André Pönitz <poenitz@gmx.net>
3415 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3417 * cursor.[Ch]: prepare for localized getStatus()
3423 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3425 2004-02-20 André Pönitz <poenitz@gmx.net>
3427 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3429 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3431 * text2.C (setCursorFromCoordinates): switch to absolute coords
3433 (cursorDown): adjust
3434 * text3.C (dispatch): adjust
3436 2004-02-16 André Pönitz <poenitz@gmx.net>
3438 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3441 * cursor_slice.[Ch]: remove unneeded acessor function
3443 * lyxtext.h: rename rtl() to isRTL()
3451 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3453 * rowpainter.C (paintSelection): coord fix
3455 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3457 * Spacing.C: compile fix
3459 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3461 * cursor.C (dispatch): restore current_ before returning
3463 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3465 * text2.C (cursorUp, cursorDown): fix coords
3468 2004-02-12 André Pönitz <poenitz@gmx.net>
3473 * text3.C: add LCursor & parameter to most cursor movement functions
3474 remove usage of LyXText::cursorRow() and cursorPar()
3476 * cursor.[Ch]: add textRow() needed members
3479 * BufferView_pimpl.C:
3482 * BufferView_pimpl.C: adjust
3484 2004-02-11 André Pönitz <poenitz@gmx.net>
3488 * BufferView_pimpl.C: shift undo/redo handling
3490 * cursor.[Ch]: fix mathed crash
3493 * lyxtext.h: move selectionAsText to LCursor
3501 * rowpainter.C: fix excessive drawing
3503 2004-02-06 André Pönitz <poenitz@gmx.net>
3506 * BufferView_pimpl.[Ch]:
3507 * text3.C: move some text specific LFUN handling
3509 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3511 * text3.C (checkInsetHit): adjust coords
3512 * text2.C (getColumnNearX): adjust coords
3513 (edit): adjust coords
3514 * text.C (getRowNearY): add two asserts
3516 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3519 * format.C: add using std::distance to compile on gcc 2.95/stlport
3521 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3523 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3525 2004-02-04 André Pönitz <poenitz@gmx.net>
3527 * BufferView.[Ch] (insertInset):
3528 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3533 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3535 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3536 on the default clause of the switch
3537 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3538 wasn't catched by LCursor::dispatch
3540 2004-02-03 André Pönitz <poenitz@gmx.net>
3543 * cursor.[Ch]: some additional asserts
3545 * undo.[Ch]: remove LyXText dependency in interface
3549 * lyxtext.h (firstPar, lastPar): remove dead functions
3554 * paragraph.[Ch]: adjust
3556 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3558 * lyxfind.C (find): fix argument order in call to ::find
3560 2004-02-02 André Pönitz <poenitz@gmx.net>
3562 * cursor.[Ch]: remove direct access to anchor
3564 * text.C: remove findText() hack
3566 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3568 * iterators.[Ch] (lockPath): remove in favour of...
3569 * BufferView.[Ch] (setCursor): this addition
3570 * BufferView.C (putSelectionAt): adjust
3571 * undo.C (performUndoOrRedo): adjust
3572 * lyxfunc.C (dispatch): adjust
3574 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3576 * iterators.C (lockPath): add a missing slice
3577 * undo.C (performUndoOrRedo): remove redundant positioning code
3579 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3581 * vc-backend.C (scanMaster): ";" -> ';'
3583 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3585 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3586 std::binary_function
3588 * lyxtextclass.C (compare_name): rename to...
3589 (LayoutNamesEqual): ...this
3591 * lyxlex_pimpl.C (compare_tags): inherit from
3592 std::binary_function, put back into anon namespace
3594 * lyxfind.C (MatchString): inherig from std::binary_function
3595 (findChange): use empty() istead of !size()
3597 * format.C (FormatNamesEqual): new functor
3604 * converter.C (compare_Converter): rename to...
3605 (ConverterEqual): ...this, and fixup a bit.
3606 (getConverter): use it, and make function const
3607 (getNumber): use it, and make function const
3611 * bufferlist.C: add using boost::bind
3613 * MenuBackend.C (MenuNamesEqual): new functor
3614 (hasMenu): use it, and make function const
3615 (hasSubmenu): use nested bind to get rid of compare_memfun.
3617 2004-01-30 André Pönitz <poenitz@gmx.net>
3619 * BufferView_pimpl.C:
3622 * cursor_slice.[Ch]:
3625 * paragraph_funcs.C:
3626 * paragraph_funcs.h:
3630 * text3.C: move some of the edit(x,y) handling to the insets
3631 some coordinate changes.
3633 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3635 * text.C: add using statements for std::advance and std::distance
3637 * paragraph.C: add using statement for std::distance
3639 * lyxfind.C: add using statement for std::advance
3641 * cursor.C (region): remove std:: from swap
3642 (openable): use nucleus in stead of operator->
3644 * BufferView.C: add using statements for std::distance and std::swap
3646 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3648 * iterators.C: Remove the pimple, move the needed structures to
3649 the header file. Create accessor for the positions stack.
3650 (asPosIterator): remove function
3652 * PosIterator.C (PosIterator): move constructors to top of file
3653 (PosIterator): reimplement the constructor taking a ParIterator in
3655 (setFrom): new function
3656 (operator!=): inline it
3658 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3660 * lyxfind.C (replaceAll): use std::advance
3662 * iterators.h: inherit from std::iterator.
3664 * PosIterator.C (advance, distance): remove
3665 * PosIterator.h: interit from std::iterator.
3667 2004-01-26 André Pönitz <poenitz@gmx.net>
3670 * BufferView_pimpl.[Ch]:
3674 * bufferview_funcs.C:
3684 * output_linuxdoc.C:
3685 * output_plaintext.C:
3687 * paragraph_funcs.[Ch]:
3688 * paragraph_pimpl.[Ch]:
3694 * text3.C: more IU: dumps most of the rest of the mathcursor
3695 implementation into cursor.[Ch]; "globalize" a bit of it.
3697 2004-01-25 Angus Leeming <leeming@lyx.org>
3699 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3701 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3703 * LaTeXFeatures.h: add nice_ and nice() const
3704 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3706 2004-01-20 André Pönitz <poenitz@gmx.net>
3709 * BufferView_pimpl.C:
3711 * bufferview_funcs.C:
3713 * cursor_slice.[Ch]:
3724 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3725 LCursor and mathcursor parts to LCursor and InsetBase.
3727 2004-01-15 André Pönitz <poenitz@gmx.net>
3729 * cursor_slice.[Ch]: add a few covienience functions
3731 * funcrequest.[Ch]: remove BufferView * member
3733 * BufferView_pimpl.C:
3740 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3742 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3744 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3745 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3747 2004-01-13 André Pönitz <poenitz@gmx.net>
3750 * lyxtext.h: hide cursor and selection anchor behind accessor function
3753 * BufferView_pimpl.[Ch]:
3755 * bufferview_funcs.C:
3765 * cursor_slice.[Ch]: some integer type changes for inset unification
3767 * lyxcursor.[hC]: remove, it's CursorSlice now.
3770 * BufferView_pimpl.[Ch]:
3771 * bufferview_funcs.C:
3777 * textcursor.[Ch]: adjust
3779 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3781 * text2.C (undoSpan): add and use
3782 * text.C (breakParagraph): use undoSpan (fix bug 578)
3785 2004-01-08 Angus Leeming <leeming@lyx.org>
3787 * BufferView_pimpl.C (MenuInsertLyXFile):
3788 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3789 * lyxfunc.C (menuNew, open, doImport):
3790 FileFilterList change to the FileDialog open and save functions.
3792 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3794 * ShareContainer.h: make isEqual and isUnique adaptable
3796 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3798 2004-01-07 Angus Leeming <leeming@lyx.org>
3801 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3803 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3805 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3806 functions replacing find, replace and replaceAll.
3808 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3809 LFUN_WORDFIND(FORWARD|BACKWARD).
3811 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3813 * text.C (breakParagraph): remove an outdated #warning
3815 2004-01-07 André Pönitz <poenitz@gmx.net>
3817 * lyxfind.C: somewhat clearer logic
3819 * text.C: prevent crash in cursorX on unitialized row cache
3821 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3823 * lyxcursor.[Ch] (operator>): add
3824 * textcursor.C (selStart, selEnd): use std::min and std::max
3826 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3828 * Chktex.C: include boost/format.hpp
3830 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3832 * InsetList.C: replace functor MathcIt with adaptable functor
3834 (insetIterator): modify accordingly
3836 * BranchList.h: move the BranchNamesEqual functor here from...
3837 * BranchList.C: ... to here
3839 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3841 (add): replace a finding loop with std::find_if.
3843 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3845 * output_docbook.C: moving LatexParam functionality into
3848 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3850 * buffer.C: increment format to 229.
3852 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3855 * lyx_sty.[Ch]: remove minipageindent_def
3861 * text3.C: remove LFUN_INSET_MINIPAGE
3863 2003-12-28 Angus Leeming <leeming@lyx.org>
3865 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3867 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3869 * text2.C (setParagraph): fix off-by-one crash
3871 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3873 * output_docbook.C: header stuff for AGU
3875 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3877 * text2.C (redoCursor): remove
3880 * BufferView_pimpl.C: remove calls to redoCursor and
3881 setCursor(cursor.par(), cursor.pos()) all around
3883 2003-12-15 Angus Leeming <leeming@lyx.org>
3885 * buffer.C: up the format to 228.
3887 2003-12-15 André Pönitz <poenitz@gmx.net>
3889 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3894 * BufferView_pimpl.C:
3903 2003-12-15 Angus Leeming <leeming@lyx.org>
3905 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3906 than getFromGUIName to manipulate the color.
3908 2003-12-14 Angus Leeming <leeming@lyx.org>
3910 * BranchList.[Ch]: minimize the API.
3911 (Branch::getBranch, getColor): now return a 'const &'.
3912 (Branch::setSelected) now returns a bool set to true if the
3913 selection status changes.
3914 (BranchList::clear, size, getColor, setColor, setSelected,
3915 allBranches, allSelected, separator): removed.
3916 (BranchList::find): new functions, returning the Branch with
3918 (BranchList::add, remove): return a bool indicating that
3919 the operation was successful.
3921 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3922 new InsetBranch::isBranchSlected member function.
3924 * LColor.[Ch]: mimimize the API.
3925 (fill): renamed as addColor and made private.
3926 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3927 versions of these functions taking a string arg have been removed.
3929 * bufferparams.C (readToken):
3930 * lyxfunc.C (dispatch):
3931 * lyxrc.C (read): changes due to the altered BranchList and
3934 * factory.C (createInset, readInset): changes due to altered
3937 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3940 * lyxfunc.C: remove insetminipage. "minipage-insert"
3941 now produces a frameless minipage box inset.
3943 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3945 * textcursor.[Ch] (selStart,selEnd): add new methods
3946 remove selection::start, end, use LyXCursor::operator<
3947 * lyxcursor.[Ch] (operator<): add
3948 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3949 * BufferView.[Ch] (unsetXSel): add
3950 * text2.C (clearSelection): use unsetXSel,adjust
3953 * rowpainter.C: adjust
3954 * bufferview_funcs.C (put_selection_at): adjust
3956 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3958 * BufferView_pimpl.C: small coord. correction
3960 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3962 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3963 dragging over the splash screen.
3965 2003-12-11 Angus Leeming <leeming@lyx.org>
3967 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3968 as it is now handled in LyXText::dispatch.
3970 * text3.C (doInsertInset): remove a level of nesting.
3972 2003-12-11 Angus Leeming <leeming@lyx.org>
3974 * factory.C (createInset): changes due to the changed interface to
3975 InsetCommandMailer::string2params.
3977 2003-12-10 Angus Leeming <leeming@lyx.org>
3979 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3980 'dialog-show-new-inset <inset name>'
3982 2003-12-10 Angus Leeming <leeming@lyx.org>
3984 * buffer.C: up the format to 227.
3986 * factory.C: the box inset is now identified simply by 'Box'.
3988 2003-12-10 Angus Leeming <leeming@lyx.org>
3990 * buffer.C: up the format to 226.
3992 * factory.C: the note inset is now identified simply by 'Note'.
3994 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3996 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3997 when a pit is enough. Standarize a couple of loops.
3999 2003-12-05 Angus Leeming <leeming@lyx.org>
4001 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4002 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4003 data to the re-worked "log" dialog.
4005 2003-12-03 André Pönitz <poenitz@gmx.net>
4011 * paragraph_funcs.C:
4013 * text2.C: use Inset::getText instead of Inset::getParagraph
4015 2003-12-03 André Pönitz <poenitz@gmx.net>
4019 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4020 InsetText::read() as LyXText::read()
4022 2003-12-02 Angus Leeming <leeming@lyx.org>
4024 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4025 type. Add a comment in the implementation that the function uses
4026 the stream's bad() function rather than fail() as the std::streams
4029 2003-12-02 André Pönitz <poenitz@gmx.net>
4031 * lyxlex.[Ch]: make interface more similar to std::stream
4033 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4035 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4037 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4039 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4041 * vspace.[Ch]: remove VSpace::NONE
4043 2003-12-01 André Pönitz <poenitz@gmx.net>
4046 * lyxtext.h: move ParagraphList member to LyXText
4047 rename LyXText::ownerParagraphs to LyXText::paragraph
4050 * bufferview_funcs.C:
4060 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4062 * undo.C: fix cursor positioning
4064 2003-12-01 John Levon <levon@movementarian.org>
4066 * BufferView_pimpl.C: fix a crash on exit with
4069 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4071 * BranchList.C: fix setSelected() method.
4073 2003-11-28 André Pönitz <poenitz@gmx.net>
4075 * ParagraphParameters.[Ch]:
4076 * ParameterStruct.h: remove space above/below from Paragraph to
4079 * BufferView_pimpl.C:
4085 * paragraph_funcs.C:
4091 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4093 * factory.C: Syntax change for CharStyles
4095 2003-11-28 André Pönitz <poenitz@gmx.net>
4100 * buffer.[Ch]: move LyXText member
4102 2003-11-28 André Pönitz <poenitz@gmx.net>
4104 * BufferView.[Ch]: make LyXText * text a private member
4106 * BufferView_pimpl.C:
4117 * output_plaintext.C: cleanup
4119 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4122 * lyxtextclass.[Ch]: parametrize SGML document header
4124 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4127 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4130 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4132 * text2.C (setFont): rework using PosIterator (no more recursive)
4133 (setCharFont): no more needed
4134 (setLayout): no more selection cursors fiddling (done by redoCursor)
4135 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4136 destroy remaining ones)
4138 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4140 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4142 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4145 * text3.C: adjust + re-allow multi par depth changes
4146 * textcursor.C: simplify a bit
4148 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4154 * src/output_docbook.C:
4155 * src/output_latex.C:
4160 * src/text2.C: Introducing a number of tags parametrizing various
4161 XML formats that we may want to support
4163 2003-11-25 André Pönitz <poenitz@gmx.net>
4165 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4167 * lyxtext.h (leftMargin/rightMargin): simplify interface
4174 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4176 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4177 master file to any child files. Fixes bug 546.
4179 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4181 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4183 2003-11-24 André Pönitz <poenitz@gmx.net>
4185 * rowpainter.C: simplification
4187 * text2.C (updateCounters): remove call to redoParagraph on
4188 changed labels as this is far too expensive.
4190 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4192 * converter.C (convert): fix a crash: this function gets
4193 called with buffer == 0 from importer code.
4195 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4197 * text3.C (cursorPrevious): make sure that we do not compare
4198 iterators form different containers.
4201 * rowpainter.C (paintSelection): make sure that we do not compare
4202 iterators from different containers.
4204 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4205 iterators from different ParagraphList containers.
4208 * text2.C (LyXText): change order of initialization slightly
4209 (operator=): new function. copy all variables except cache_par_
4210 (moveUp): make sure that we do not compare iterators from
4211 different ParagraphList constainers.
4214 * text.C (firstPar): new function
4215 (lastPar): new function
4216 (endPar): new function
4218 * lyxtext.h: move things around and group public functions, public
4219 variables, private functions, private variables
4221 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4223 * factory.C: change call to InsetERT constructor to avoid
4224 additional invocation of method status
4225 * text2.C (toggleInset): remove redundant update() call
4226 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4227 instead of a Bufferview pointer
4229 2003-11-21 André Pönitz <poenitz@gmx.net>
4231 * rowpainter.C: simplification
4233 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4235 * text3.C (dispatch): make possible to extend a word/row selection
4238 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4240 * lyxtext.h: x0_,y0_ -> xo_,yo_
4241 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4242 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4243 * rowpainter.C (paintRows): paint full paragraphs
4245 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4247 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4250 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4252 * lyxtext.h: add x0_, y0_
4253 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4254 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4256 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4258 * text2.C (setCursorIntern): move the x_target update here *
4259 * text3.C: change some bv() to true/false in calls to
4260 cursorUp/Down/Right/Left
4261 * cursor.C: use helper function.
4263 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4265 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4266 * paragraph_funcs.[Ch]: correct comment
4267 * rowpainter.C: do not paint selections away from bv->cursor()
4268 Fix a long standing selection painting bug.
4269 * text3.C: generalize mouse-selection code to LyXTexts other that
4271 * textcursor.C: do not use y coords if we can use par offsets
4273 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4275 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4276 cursor position after e.g. inset insert)
4278 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4280 * lyxfind.C (replace): adjust to locking removal + some
4283 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4285 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4288 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4291 * output_docbook.C: XML sanitation: new layout
4292 parameters InnerTag and CommandDepth
4294 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4296 * BufferView_pimpl.C:
4298 * text3.C: Fix the insertion and modification of button-style
4301 2003-11-13 André Pönitz <poenitz@gmx.net>
4303 * InsetList.[Ch]: remove deleteLyXText
4305 * paragraph.[Ch]: cache beginOfBody position
4310 * text3.C: remove superfluous update() calls
4314 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4316 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4317 * BufferView.C (fitLockedInsetCursor): remove
4318 * cursor.[Ch] (getDim): add
4319 * text.C (getRowNearY): add faster version
4320 * text3.C: remove some update calls
4322 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4334 * text3.C: The Character Style /XML short element patch.
4336 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4339 * factory.C: Small step to solving 'unable to insert some insets'
4342 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4344 * cursor.[Ch] (updatePos): new function for updating the y
4345 position of the tip inset
4346 * bufferview_funcs.C (put_selection_at):
4347 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4349 2003-11-11 André Pönitz <poenitz@gmx.net>
4351 * text.C: remove big comment on invalid Paragraph pointers as it is
4354 2003-11-11 André Pönitz <poenitz@gmx.net>
4356 * text_funcs.[Ch]: merge with ...
4364 * Makefile.am: remove text_funcs.[Ch]
4366 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4368 * cursor.C (getPos): return absolute cached y coord
4370 * BufferView_pimpl.C (fitCursor): new simplistic code
4371 (workAreaDispatch): add a fitCursor call
4373 2003-11-10 André Pönitz <poenitz@gmx.net>
4376 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4378 2003-11-10 André Pönitz <poenitz@gmx.net>
4380 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4381 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4382 indicate that the cursor needs to leave an inset
4384 * lyxtext.h: remove inset locking
4386 * cursor.[Ch]: re-implement functionality provided by inset locking
4389 * BufferView_pimpl.[Ch]:
4391 * bufferview_funcs.[Ch]:
4403 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4405 * PosIterator.[Ch]: replace the stack with a vector, add inset
4407 * iterators.[C]: adjust
4409 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4411 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4413 * paragraph_funcs.C (readParToken): put the correct id in the
4414 error item, not the id of the top paragraph
4416 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4418 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4419 * bufferview_funcs.C (put_selection_at): use the above
4421 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4423 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4425 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4427 * output_linuxdoc.h:
4428 * output_plaintext.h:
4430 * output_docbook.h: add #include statements
4432 2003-11-05 José Matos <jamatos@lyx.org>
4434 * output_docbook.[Ch]:
4435 * output_latex.[Ch]:
4436 * output_linuxdoc.[Ch]:
4437 * output_plaintext.[Ch]: New files for output formats.
4438 * output.[Ch]: New file for helper functions.
4441 * paragraph_funcs.[Ch]: output functions moved to new files.
4443 * outputparams.h: rename of latexrunparams.h
4451 * paragraph_funcs.[Ch]:
4452 * paragraph_pimpl.[Ch]:
4453 * tabular.[Ch]: rename ascii to plaintext
4454 and LatexRunParams to OutputParams.
4456 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4458 * iterators.[Ch] (text): require bv argument
4459 * undo.C (recordUndo):
4460 * lyxfunc.C (dispatch):
4461 * bufferview_funcs.C (put_selection_at): adjust
4463 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4465 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4467 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4469 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4472 2003-11-04 André Pönitz <poenitz@gmx.net>
4474 * cursor.[Ch]: restructure
4477 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4479 * iterators.[Ch] (asCursor): remove
4481 * lfuns.h: remove LFUN_INSET_EDIT
4487 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4489 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4491 * lyxfind.[Ch]: complete overhaul
4492 * BufferView_pimpl.C:
4494 * paragraph.[Ch] (insert): add
4496 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4500 * text.C: remove dead spellcheck code
4502 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4504 * dispatchresult.h: add a val setter
4506 * cursor.C (dispatch): use a tempvar for data_[i]
4508 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4510 * PosIterator.[Ch]: compile fix
4512 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4514 * text.C (cursorPar): deactivate the cursor cache
4516 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4518 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4520 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4522 * text3.C (dispatch): adjust for new DisptchResult semantics.
4524 * lyxfunc.C (dispatch): handle update when return from
4525 Cursor::dispatch, adjust for new DispatchResult semantics.
4527 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4528 DispatchResult(true) mean to not update. Add class functions for
4529 setting dispatched and update, as well as reading.
4531 * cursor.C (dispatch): don't handle update here
4533 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4535 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4536 * trans_mgr.C: adjust
4538 * paragraph_funcs.C (readParToken): exception safety
4540 * lyxvc.h: store the vcs pointer in a scoped_ptr
4543 * lyxsocket.C (serverCallback): exception safety
4545 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4547 * ispell.C (clone): make it return a auto_ptr
4549 * factory.C (createInset): exception safety
4550 (readInset): exception safety
4552 * bufferlist.C (newBuffer): exception safety
4554 * Thesaurus.C (Thesaurus): use initialization for aik_
4556 * MenuBackend.C (expandToc): exception safety.
4558 2003-11-03 André Pönitz <poenitz@gmx.net>
4562 * bufferview_funcs.C: remove getInsetFromId()
4565 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4571 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4573 * PosIterator.C (distance, advance): new
4574 * bufferview_funcs.[Ch] (put_selection_at): new
4575 * iterators.[Ch] (lockPath): new
4577 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4579 * iterators.[Ch] (asPosIterator): added
4580 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4581 * PosIterator.[Ch]: added
4583 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4587 * cursor.C (dispatch):
4588 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4590 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4591 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4592 contructor, add a class function dispatched. Remove operator>=
4594 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4596 * debug.C: only use the default constructor for debugstream
4599 * main.C (main): include debug.h and setup the lyxerr streambuf
4602 2003-10-31 José Matos <jamatos@lyx.org>
4604 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4606 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4607 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4608 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4609 * paragraph_pimpl.C (simpleTeXSpecialC):
4610 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4611 add LatexRunParams argument.
4613 * exporter.C (Export): change call accordingly.
4615 * latexrunparams.h: add new member to take care of the other backends.
4616 2003-10-30 José Matos <jamatos@lyx.org>
4618 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4619 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4620 factorise code for paragraph output.
4622 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4625 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4627 * text3.C (dispatch):
4628 * lyxfunc.C (dispatch):
4629 * cursor.C (dispatch):
4630 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4632 * dispatchresult.h: make the dispatch_result_t ctor explicit
4634 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4637 * buffer.C: small refactoring of docbook stuff
4639 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4641 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4644 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4646 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4647 operator dispatch_result_t, and operators for == != and >=
4649 * cursor.C (dispatch): adjust for operator dispatch_result_t
4650 removal. comment out call to update
4652 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4654 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4662 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4665 * dispatchresult.h: new file, DispatchResult broken out of
4668 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4670 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4672 * text.C (rowBreakPoint): put a hack inside #if 0
4674 2003-10-28 André Pönitz <poenitz@gmx.net>
4678 * paragraph_funcs.C:
4681 * text2.C: general cleanup (lots of small stuff)
4683 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4685 * text2.C (cursorEnd): simple fix to the "end key goes to one
4686 before the end on last row" bug
4688 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4690 * text.C (backspace): fix the "zombie characters"
4692 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4694 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4696 2003-10-27 André Pönitz <poenitz@gmx.net>
4698 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4700 * factory.C: handle new InsetPagebreak, InsetLine
4702 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4703 and move handling into new InsetPagebreak, InsetLine
4705 * BufferView_pimpl.C:
4707 * ParagraphParameters.C:
4708 * ParameterStruct.h:
4713 * paragraph_funcs.C:
4714 * paragraph_pimpl.C:
4720 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4723 * lyxrow_funcs.[Ch]:
4729 * text3.C: remove lastPos uses in favour of Row::endpos
4731 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4733 * undo.C (performUndoOrRedo): fix two crashes by setting a
4734 cursor by hand and reordering some calls. Use bv->lockInset instead
4735 of inset->edit because the latter loses cursor information
4737 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4739 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4741 (rowBreakPoint): fix width. change point to point + 1.
4742 Add a missing check.
4744 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4747 * lyxfunc.C: fix (at least partly) the problems
4748 with the Nav menu and headers inside branch insets
4751 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4753 * paragraph.C (getChar): add strong asserts
4755 * lyxrow_funcs.C (lastPos): remove hideous hack
4757 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4758 (fill): adjust to that (avoid an infinite loop)
4760 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4762 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4764 2003-10-23 André Pönitz <poenitz@gmx.net>
4766 * RowList_fwd.h: change list<> to vector<> to gain speed
4767 after suggestion from Alfredo
4769 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4771 * lyxtext.h: move the bidi stuff from here...
4774 * Bidi.[Ch]: ... to here
4776 2003-10-23 André Pönitz <poenitz@gmx.net>
4779 * text.C (isLastRow, isFirstRow): new functions
4781 * paragraph.h: new width cache member
4783 * rowpainter.C: replace RowList::iterator with Row & where possible
4785 * lyxfunc.C: replace several view()->text with a single call
4787 * toc.C: fix 'unused' warning
4789 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4791 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4792 when woring with stream::pos_type
4793 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4795 2003-10-22 André Pönitz <poenitz@gmx.net>
4798 * text.C: use Row & instead of RowList::iterator
4800 * lyxrow.h: rename end() to endpos()
4806 2003-10-22 Angus Leeming <leeming@lyx.org>
4808 * buffer.[Ch] (fully_loaded): new member function, returning true
4809 only when the file has been loaded fully.
4810 Used to prevent the premature generation of previews and by the
4811 citation inset to prevent computation of the natbib-style label.
4813 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4814 templates are all set up.
4816 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4818 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4820 * text.C: fixed an "oops" in the "is a bit silly"
4823 2003-10-21 André Pönitz <poenitz@gmx.net>
4825 * FuncStatus.[Ch]: small stuff, whitespace
4827 * lyxfont.[Ch]: operator<<() for debug reasons
4831 * lyxtext.h: whitespace, spelling
4833 * paragraph.C: naming of variables
4836 * text2.C: small stuff
4839 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4841 * text.C: (1) finish off the inset display() work;
4842 (2) fix the "is a bit silly" bug (accessing char
4845 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4847 * text.C: re-introduce display() for insets, fixing the
4848 various bugs (stretch of line above, math inset
4851 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4853 * text.C (rightMargin): remove spurious semicolon
4855 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4858 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4860 * text3.C: fix one crash due to wrong cursor def
4862 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4864 * vc-backend.C (scanMaster): make the regex static
4866 * LaTeX.C (scanAuxFile): make the regexs static
4868 * text3.C (doInsertInset, dispatch, dispatch):
4869 * text2.C (cursorUp, cursorDown):
4870 * text.C (selectNextWordToSpellcheck):
4871 * BufferView_pimpl.C (dispatch):
4872 * lyxfunc.C (dispatch): localDispatch -> dispatch
4874 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4876 * lyxsocket.C: include <cerrno>
4878 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4880 * lyxfunc.C (dispatch): remove textcache stuff
4882 * bufferlist.C (release): remove textcache stuff
4885 * TextCache.C: delete file
4886 * TextCache.h: delete file
4888 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4890 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4891 delete of the bv_->text.
4892 (resizeCurrentBuffer): remove texcache stuff
4893 (workAreaResize): ditto
4895 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4897 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4900 2003-10-16 André Pönitz <poenitz@gmx.net>
4907 * text3.C: speed up by storing y positions per paragraph plus per-row
4908 offset instead of having a 'full' y position in the row.
4910 2003-10-15 André Pönitz <poenitz@gmx.net>
4914 * undo.[Ch]: make undo aware of inner insets
4916 2003-10-14 Angus Leeming <leeming@lyx.org>
4918 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4919 static member functions LyX::ref() and LyX::cref.
4920 (lastfiles): new accessor functions for the new lastfiles_ member var.
4921 (addLyXView, views_): add a new LyXView to the list of views_.
4922 (updateInset): loop over all LyXViews to call their own updateInset
4923 member function, returning a pointer to the Buffer owning the inset.
4925 * BufferView_pimpl.C (loadLyXFile):
4926 * MenuBackend.C (expandLastfiles):
4927 * bufferlist.C (MenuWrite, QuitLyX):
4928 lastfiles is no longer a global variable.
4929 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4931 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4932 static function. Access through LyX::cref().emergencyCleanup().
4934 2003-10-14 André Pönitz <poenitz@gmx.net>
4936 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4938 * undo.[Ch]: restoring part of 'undo in insets'
4941 * undo_funcs.[Ch]: merge with undo.[Ch]
4943 * tabular.C: small cleansing stuff
4945 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4947 * paragraph_funcs.C (readParToken): report unknown insets as error
4948 boxes. Use the outer paragraph as location (also for unknown
4951 * factory.C (readInset): do not abort on reading an unknown inset.
4952 Eat it and return 0.
4954 2003-10-13 Angus Leeming <leeming@lyx.org>
4956 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4958 * lyxrc.C: displayTranslator is now a function,
4959 declared in GraphicsTypes.h.
4961 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4963 * format.C: new placeholder $$a to pass the socket address.
4965 * bufferlist.[Ch]: new function getBufferFromTmp.
4967 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4968 files in the temporary dir.
4970 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4972 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4974 * Makefile.am: add lyxsocket.[Ch].
4976 * lyx_main.C (error_handler): handle SIGPIPE.
4978 2003-10-13 André Pönitz <poenitz@gmx.net>
4980 * BufferView_pimpl.C:
4985 * undo_funcs.[Ch]: use paroffset_type instead of
4986 ParagraphList::iterators to prevent multiple conversion
4987 (and get a more robust interface)
4989 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4991 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4993 * text3.C (dispatch): ditto
4995 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4997 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4998 move the onlyfile, use onlyfile instead of foundfile in a couple
5001 * DepTable.C (update): flush the error stream a bit more
5003 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5005 * lyxserver.C (callback): adjust
5007 * lyxfunc.C (getStatus): add a missing brace in commented code
5008 (ensureBufferClean): reindent
5009 (dispatch): delete version taking a string
5011 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5013 * LaTeX.C (deplog): move found file handlig from here...
5014 (handleFoundFile): .. to new function here.
5015 (deplog): make sure to discover several files mentioned on the
5018 2003-10-10 André Pönitz <poenitz@gmx.net>
5025 * text3.C: fix some of the tabular crashes
5027 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5029 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5031 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5033 2003-10-09 André Pönitz <poenitz@gmx.net>
5035 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5038 * BufferView_pimpl.C:
5039 * bufferview_funcs.C:
5050 * undo_funcs.C: adjust
5052 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5054 * text2.C (incrementItemDepth): new function, use a backtracking
5055 algorithm to discover the correct item depth.
5056 (resetEnumCounterIfNeeded): new function, use a backtracking
5057 algorithm to discover if counter reset is needed.
5058 (setCounter): use them. Simplify a bit. Add different labels for
5059 different item depths for itemize.
5061 * paragraph.C (Paragraph): remove initialization of enumdepth
5064 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5065 enumerate and itemize. Change the type of itemdepth to signed char.
5067 2003-10-08 André Pönitz <poenitz@gmx.net>
5069 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5074 * tabular.[Ch]: fix crash after 'row-insert'
5076 2003-10-08 Angus Leeming <leeming@lyx.org>
5078 Fix doxygen warnings.
5080 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5081 Remove CutAndPaste:: prefix from header file declaration.
5083 * LColor.h (fill): remove LColor:: prefix from declaration.
5085 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5086 use lyx::depth_type rather than Paragraph::depth_type so that
5087 header file and .C file match.
5089 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5091 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5092 * aspell.C: \file aspell_local.C -> \file aspell.C
5093 * gettext.C: \file gettext.C -> \file src/gettext.C
5094 * gettext.h: \file gettext.h -> \file src/gettext.h
5095 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5096 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5097 * text.C: \file text.C -> \file src/text.C
5099 * toc.C: move comment so that doxygen is not confused.
5101 2003-10-07 Angus Leeming <leeming@lyx.org>
5103 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5105 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5108 * aspell_local.h: add forgotten std::string's.
5110 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5117 * text3.C: The Box patch. Fancybox support, minipage, parbox
5119 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5125 * ParagraphParameters.h:
5135 * lyxtextclasslist.h:
5138 * paragraph_pimpl.C:
5139 * textcursor.h: add <string> and other small fixes to make Lars'
5140 std::string patch compile with STLport.
5142 2003-10-06 Angus Leeming <leeming@lyx.org>
5144 * LColor.h: Add missing #include <string>.
5146 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5148 * All most all file in all subdirs: Make <string> be the prefered
5149 way of getting to std::string, add using declarations.
5151 2003-10-06 André Pönitz <poenitz@gmx.net>
5153 * metricsinfo.C: initialize LyXFont before changing attribute.
5154 (fixes the 'math in \emph is upright' bug)
5156 2003-10-06 André Pönitz <poenitz@gmx.net>
5158 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5160 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5163 * paragraph_pimpl.C: Small fixes to build using STLport
5165 2003-10-02 André Pönitz <poenitz@gmx.net>
5168 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5170 2003-10-01 André Pönitz <poenitz@gmx.net>
5172 * factory.C: assert early
5174 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5176 * lyx_main.C: remove the global debug object
5178 * debug.h: adjust for new debugstream
5180 * debug.C: adjust for new debugstream and keep the global debug
5183 2003-09-22 Angus Leeming <leeming@lyx.org>
5185 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5186 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5187 an incomplete class LyXFont.
5189 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5191 * factory.C: bug fix in branches
5193 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5195 * lyxfunc.C (processKeySym): adjust
5197 (dispatch): change arg name from ev to func, adjust
5198 (sendDispatchMessage): ditto
5200 * lyx_main.C (defaultKeyBindings): adjust keybindings
5201 (deadKeyBindings): ditto
5203 * kbsequence.C (addkey): return a FuncRequest
5205 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5207 * kbmap.C (bind): take a FuncRequest as arg, adjust
5210 (defkey): change to take a FuncRequest as arg, adjust
5211 (findbinding): take a FuncRequest as arg, adjust.
5213 * funcrequest.h (operator=): added
5215 * funcrequest.C (FuncRequest): default kb_action changed from
5216 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5218 * buffer.C (dispatch): simplify
5219 (dispatch): adjust to take a FuncRequest as arg, adjust
5221 * boost.C (assertion_failed): change assertion message slightly
5223 * ToolbarBackend.C (read): simplify
5225 * MenuBackend.C (binding): adjust call to findbinding, add a
5226 message if no binding is found.
5228 (expandToc): correct by adding a empty FuncRequest
5230 * LyXAction.C: include <boost/assert.hpp>
5231 (isPseudoAction): delete function
5232 (LookupFunc): change name to...
5233 (lookupFunc): this. change return type to FuncRequest.
5234 (getActionName): take kb_action as arg, simplify
5235 (funcHasFlag): add an assert, simplify.
5237 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5239 * toc.C (action): return a FuncRequest, simplify
5241 * lyxfunc.C (processKeySym): adjust
5242 (getStatus): delete version that takes an int.
5244 (dispatch): delete version that takes action as int
5246 (sendDispatchMessage): simplify and adjust
5248 * funcrequest.C (getArg): take unsigned int as arg
5250 * ToolbarBackend.C (read): adjust
5251 (add): delete version that takes func as a string.
5252 (getIton): take a FuncRequest as arg
5254 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5257 * MenuBackend.C (MenuItem): add a new construct that only takes a
5258 Kind, simplify the constructor use for submenus.
5260 (expandLastfiles): adjust
5261 (expandDocuments): adjust
5262 (expandFormats): adjust
5263 (expandFloatListInsert): adjust
5264 (expandFloatInsert): adjust
5265 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5267 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5268 Remove class variables lyx_pseudo_map and lyx_arg_map
5270 * LyXAction.C (searchActionArg): delete function
5271 (getPseudoAction): delete function
5272 (retrieveActionArg): delete function
5273 (LookupFunc): make it return kb_action, simplify.
5274 (getActionName): simplify
5276 * factory.C (createInset): fix new bug
5278 2003-09-19 Angus Leeming <leeming@lyx.org>
5280 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5281 masterFilename_ parameter in the include inset.
5283 * factory.C (createInset): changes due to the changes to InsetInclude.
5285 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5287 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5289 2003-09-18 Angus Leeming <leeming@lyx.org>
5292 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5293 Inset::fillWithBibKeys.
5294 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5296 2003-09-18 Angus Leeming <leeming@lyx.org>
5298 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5300 (ctor): pass and store a 'Buffer const &'
5301 (buffer): new member function.
5303 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5304 '*this' to the LaTeXFeatures ctor.
5306 2003-09-18 Angus Leeming <leeming@lyx.org>
5312 * text.C: rename EnumLColor as LColor_color.
5314 2003-09-18 Angus Leeming <leeming@lyx.org>
5316 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5317 remove #include "insets/insetbase.h" from cursor.h.
5319 2003-09-18 Angus Leeming <leeming@lyx.org>
5321 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5322 InsetOld_code to remove #include "inset.h".
5324 * iterators.C: add #include "insets/inset.h"
5326 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5328 * BufferView.C: remove more locking stuff that apparently doesn't
5329 do anything sensible.
5331 2003-09-16 André Pönitz <poenitz@gmx.net>
5334 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5337 2003-09-16 Angus Leeming <leeming@lyx.org>
5339 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5341 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5344 * paragraph.h: remove #include "lyxfont.h". Forward declare
5347 2003-09-16 Angus Leeming <leeming@lyx.org>
5349 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5350 of support/textutils.h.
5351 (isWord): move the contents of support/textutils.h's IsWordChar here.
5357 * text2.C: add #include "paragraph.h".
5360 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5362 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5368 * LaTeX.C: use namespace alias for lyx::support::os
5370 2003-09-16 Angus Leeming <leeming@lyx.org>
5373 * bufferview_funcs.C:
5376 * paragraph_pimpl.C:
5378 * text.C: add #include "LColor.h".
5380 2003-09-16 Angus Leeming <leeming@lyx.org>
5382 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5383 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5385 Store the FontBits::color variable as an int rather than as an
5386 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5389 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5390 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5391 string calls together.
5393 * lyxrc.C: add #include "LColor.h".
5395 2003-09-15 Angus Leeming <leeming@lyx.org>
5397 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5400 2003-09-15 Angus Leeming <leeming@lyx.org>
5402 * LColor.h: add an EnumLColor wrapper for LColor::color.
5404 * lyxfont.[Ch] (color, setColor, realColor):
5405 * lyxtext.h, text.C (backgroundColor):
5406 pass EnumLColor args to/from the functions, rather than LColor::color
5410 * lyxtext.h: forward declare EnumLColor.
5412 * lyx_main.C: add #include "LColor.h".
5414 2003-09-15 Angus Leeming <leeming@lyx.org>
5416 * .cvsignore: add lyx-gtk.
5418 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5423 * ParagraphParameters.C
5427 * bufferview_funcs.C
5437 * vc-backend.C: remove usage of STRCONV
5439 2003-09-15 Angus Leeming <leeming@lyx.org>
5441 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5442 explicitly define the color passed to the painter.
5444 2003-09-15 Angus Leeming <leeming@lyx.org>
5446 * bufferparams.C (BufferParams): reorder member initializers to avoid
5449 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5451 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5452 * text.C (updateRowPositions): remove an unusual nop
5454 2003-09-12 André Pönitz <poenitz@gmx.net>
5456 * BufferView_pimpl.C:
5465 * Counters.[Ch]: finish the 'automatic counters' job
5467 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5469 * aspell.C: include <boost/assert.cpp> (compile fix)
5471 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5473 * boost.C (assertion_failed): use lyx::support::abort instead of
5476 2003-09-10 Angus Leeming <leeming@lyx.org>
5478 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5479 with their _fwd progeny.
5481 2003-09-09 Angus Leeming <leeming@lyx.org>
5483 134 files throughtout the source tree: replace 'using namespace abc;'
5484 directives with the appropriate 'using abc::xyz;' declarations.
5486 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5488 * boost.C (emergencyCleanup): moved here from LAssert.c
5489 (assertion_failed): new function, called by BOOST_ASSERT
5491 * several files: change Assert to BOOST_ASSERT
5493 2003-09-09 Angus Leeming <leeming@lyx.org>
5495 * buffer.[Ch]: Add an Impl class and move Buffer's member
5496 variables into it. As a result move several header files out of
5499 Add header files to lots of .C files all over the tree as a result.
5501 2003-09-09 Angus Leeming <leeming@lyx.org>
5503 * buffer.[Ch]: make Buffer's member variables private. Add
5506 Lots of changes all over the tree as a result.
5508 2003-09-08 Angus Leeming <leeming@lyx.org>
5510 * graph.C: #include <config.h>.
5512 2003-09-08 Angus Leeming <leeming@lyx.org>
5516 * BufferView_pimpl.C:
5545 * toc.C: remove redundant using directives.
5547 2003-09-07 Angus Leeming <leeming@lyx.org>
5549 * LaTeXFeatures.h: remove #include "support/types.h".
5550 * ToolbarBackend.h: remove #include <algorithm>.
5551 * changes.h: remove #include <ctime>.
5552 * debug.h: remove #include <iosfwd>.
5553 * graph.h: remove #include "support/std_string.h".
5554 * lyx_main.h: remove #include <csignal>.
5555 * lyxlex_pimpl.h: remove #include <fstream>.
5556 * sgml.h: remove #include <algorithm>, <utility>.
5557 * toc.h: remove #include "support/std_ostream.h".
5558 Add #include <iosfwd>.
5560 2003-09-07 Angus Leeming <leeming@lyx.org>
5562 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5564 * converter.h: forward declare LatexRunParams.
5565 * encoding.h: remove #include "lyxrc.h".
5566 * lyxtext.h: remove #include "LColor.h".
5567 * lyxtextclass.h: remove #include "support/types.h".
5568 * trans.h: remove #include "tex-accent.h".
5569 * trans_mgr.h: remove #include "tex-accent.h".
5570 * insets/inset.h: remove #include "support/types.h", <vector>.
5571 * insets/insetcollapsable.h: remove #include "LColor.h".
5572 * insets/insetinclude.h: remove #include "dimension.h".
5573 * insets/insetlatexaccent.h: remove #include "dimension.h".
5574 * insets/insetoptarg.h:: remove #include "insettext.h".
5575 * insets/insettext.h: remove #include "dimension.h",
5576 <boost/shared_ptr.hpp>
5578 * insets/renderers.h: add #include "dimension.h".
5579 * insets/updatableinset.h: add #include "support/types.h".
5581 * many .C files: Associated changes.
5583 2003-09-06 Angus Leeming <leeming@lyx.org>
5585 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5586 one, inside testInvariant.
5588 * PrinterParams.C: new file.
5589 * PrinterParams.[Ch]: move the function bodies out of line.
5591 2003-09-06 Angus Leeming <leeming@lyx.org>
5593 * ParagraphParameters.h: forward declare ParameterStruct rather than
5594 including its header file.
5595 (depth): moved out-of-line.
5597 2003-09-06 Angus Leeming <leeming@lyx.org>
5599 * BufferView_pimpl.h:
5602 * lyxfunc.h: forward declare LyXKeySym rather than
5603 #include "frontends/LyXKeySym.h".
5605 * BufferView_pimpl.C:
5608 * lyxfunc.C: associated changes.
5610 2003-09-06 Angus Leeming <leeming@lyx.org>
5612 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5613 As a result, can remove the #include "insets/inset.h" from BufferView.h
5615 2003-09-06 Angus Leeming <leeming@lyx.org>
5617 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5618 As a result, can remove the #include "insets/inset.h" from BufferView.h
5620 2003-09-06 Angus Leeming <leeming@lyx.org>
5626 * bufferview_funcs.C:
5627 * BufferView_pimpl.C:
5632 * ParagraphParameters.C:
5637 * frontends/controllers/ControlDocument.C:
5638 * insets/insetcaption.C: rearrange the #includes into some sort of
5641 * buffer.h: remove #includes ErrorList.h, undo.h
5643 2003-09-06 Angus Leeming <leeming@lyx.org>
5645 * support/types.h: add a 'depth_type' typedef, used to store the
5646 nesting depth of a paragraph.
5649 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5650 defining explicitly.
5653 * paragraph_funcs.h:
5654 * ParagraphParameters.h:
5655 * sgml.h: use lyx::depth_type rather than Paragraph or
5656 ParameterStruct's depth_type.
5659 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5662 * BufferView_pimpl.C:
5664 * ParagraphParameters.C:
5667 * bufferview_funcs.C:
5674 * frontends/LyXView.C:
5675 * frontends/controllers/ControlDocument.C:
5676 * frontends/controllers/ControlErrorList.C:
5677 * insets/insetbibitem.C:
5678 * insets/insetbranch.C:
5679 * insets/insetcaption.C:
5680 * insets/insetcollapsable.C:
5681 * insets/insetenv.C:
5682 * insets/insetert.C:
5683 * insets/insetfloat.C:
5684 * insets/insetfoot.C:
5685 * insets/insetfootlike.C:
5686 * insets/insetnewline.C:
5687 * insets/insetquotes.C:
5688 * insets/insettabular.C:
5689 * insets/insettext.C:
5690 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5692 * frontends/controllers/ControlChanges.C: #include "changes.h".
5694 2003-09-06 Angus Leeming <leeming@lyx.org>
5696 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5697 than #including paragraph.h.
5700 * RowList.h: deleted. Superfluous.
5710 * insets/insettext.h: use ParagraphList_fwd.h rather than
5713 * paragraph.h: don't forward declare ParagraphList.
5716 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5717 rather than ParagraphList.h. paragraph.h is still needed for the
5718 Paragraph::depth_type parameters.
5720 * textcursor.h: enable it to compile stand-alone in light of the
5723 * bufferview_funcs.C:
5735 * frontends/controllers/ControlParagraph.C:
5736 * frontends/controllers/ControlTabular.C:
5737 * insets/insetmarginal.C:
5738 * insets/insetminipage.C:
5739 * insets/insetnote.C:
5740 * insets/insetoptarg.C: add header files needed to compile again.
5742 2003-09-06 Angus Leeming <leeming@lyx.org>
5744 * RowList_fwd.h: new file, forward-declaring Row rather than
5745 #including lyxrow.h.
5750 * insets/insettext.h: use it instead of RowList.h
5752 * bufferview_funcs.C:
5759 * text3.C: #include "RowList.h".
5761 2003-09-05 Angus Leeming <leeming@lyx.org>
5763 * factory.C (createInset):
5764 * vspace.C (c-tor): replace sscanf call with an istringstream.
5765 * ispell.C: re-add missing HP/UX headers.
5766 * lyxserver.C: re-add missing os2 headers.
5768 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5777 * text3.C: re-add missing system headers, needed for 2.95.2.
5779 2003-09-05 Angus Leeming <leeming@lyx.org>
5781 Changes most place everywhere due to the removal of using directives
5782 from support/std_sstream.h.
5784 2003-09-05 Angus Leeming <leeming@lyx.org>
5786 Replace LString.h with support/std_string.h,
5787 Lsstream.h with support/std_sstream.h,
5788 support/LIstream.h with support/std_istream.h,
5789 support/LOstream.h with support/std_ostream.h.
5791 Changes resulting throughout the tree.
5793 2003-09-05 Angus Leeming <leeming@lyx.org>
5795 * sgml.h: ensure that the header file can be compiled stand-alone.
5796 * *.C: strip out redundant #includes. (320 in total.)
5798 2003-09-04 Angus Leeming <leeming@lyx.org>
5800 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5801 here (from getPackages).
5803 * debug.[Ch]: add a new EXTERNAL tag.
5805 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5807 * text2.C (cursorEnd): simplify
5809 (getColumnNearX): adjust
5811 * text.C (computeBidiTables): adjust
5814 * rowpainter.C (paintChars): adjust
5815 (paintSelection): adjust
5816 (paintChangeBar): adjust
5819 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5821 (numberOfSeparators): adjust
5823 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5829 * text3.C: Restricts the mouse click functionality
5830 of insets like bibtex, include, toc and floatlist to the visible
5831 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5832 up the dialogs. Cursor has to be in front of the inset (i.e.
5833 start of row) for this to function.
5835 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5837 * bufferview_funcs.C (currentState): output row information
5839 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5841 * bufferview_funcs.C (currentState): output paragraph position
5843 2003-09-04 Angus Leeming <leeming@lyx.org>
5845 * FloatList.h: move out #include "Floating.h".
5846 * LaTeX.h: move out #include "DepTable.h".
5847 * LyXAction.h: move out #include "funcrequest.h".
5848 * buffer.h: move out #include "author.h", "iterators.h".
5849 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5850 * lyx_main.h: move out #include "errorlist.h".
5851 * lyxfunc.h: move out #include "FuncStatus.h".
5852 * lyxtext: move out #include "lyxcursor.h".
5853 * paragraph_pimpl.h: move out #include "counters.h".
5855 2003-09-03 Angus Leeming <leeming@lyx.org>
5857 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5858 preamble_snippets list, enabling us to add snippets to the preamble
5859 only if the snippet was not there already.
5861 2003-09-04 Angus Leeming <leeming@lyx.org>
5863 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5865 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5867 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5870 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5872 * BranchList.C: point fix, earlier forgotten
5874 2003-09-02 Angus Leeming <leeming@lyx.org>
5876 * box.C (contains): renamed from 'contained' after a fantastic
5879 2003-09-02 John Levon <levon@movementarian.org>
5885 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5887 2003-09-02 John Levon <levon@movementarian.org>
5889 * text2.C: simplification of cursorEnd(), including partial
5892 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5894 * buffer.C (readFile): add a space
5896 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5898 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5900 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5902 * buffer.C (readFile): new function, take a filename and a
5903 ParagraphList::iterator
5905 (readFile): adjust, make it private. don't use setStream, make
5906 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5907 always contain the filename.
5909 * BufferView.C (insertLyXFile): simplify and make it work for
5912 2003-08-30 John Levon <levon@movementarian.org>
5914 * Makefile.am: fix dist (from Kayvan)
5916 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5918 * most files: change to use const Buffer refs
5920 2003-08-27 André Pönitz <poenitz@gmx.net>
5922 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5923 on top of ownerPar().
5925 2003-08-27 John Levon <levon@movementarian.org>
5927 * funcrequest.C: properly initialise POD members
5929 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5931 * lyxtext.h (top_y): move top_y from here
5936 * BufferView_pimpl.[Ch]: to here
5937 * frontends/screen.C:
5938 * insets/insettabular.C:
5939 * insets/insettext.C: adjust
5940 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5942 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5945 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5947 2003-08-26 André Pönitz <poenitz@gmx.net>
5949 * paragraph_func.[Ch] (outerPar): new function
5952 * paragraph_funcs.C:
5953 * paragraph_funcs.h:
5954 * paragraph_pimpl.C:
5955 * text2.C: remove Inset::par_owner
5957 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5962 * text2.C: eliminates the needFullRow/display() stuff
5963 altogether, putting the logic in metrics/draw in the insets.
5965 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5967 * text2.C (redoParagraphInternal, redoParagraphs):
5968 * text.C (redoParagraph): add a call to updateRowPositions at the
5969 end of each 'metrics-like' call. Remove all others.
5970 (getRow): remove the 'y-computing' version.
5971 (getRowNearY): do not compute nor return the real y. Solve the
5972 'y < 0' problem and simplify.
5974 2003-08-22 Angus Leeming <leeming@lyx.org>
5976 * *.[Ch]: clean-up of licence and author blurbs.
5977 Also move config.h out of a few .h files and into a few .C files.
5979 2003-08-22 André Pönitz <poenitz@gmx.net>
5981 * lyxrow.[Ch]: add x_ and *fill_ members
5986 * text2.C: adjust/remove prepareToPrint() calls
5988 2003-08-22 André Pönitz <poenitz@gmx.net>
5990 * lyxrow.[Ch]: add end_ member
5992 * lyxrow_funcs.C: use LyXRow::end_
5994 * lyxtext.h (singleWidth): add LyXFont parameter
5997 * text2.C: adjust LyXText::singleWidth() calls
5999 * text.C (redoParagraph): simplify row breaking logic
6002 2003-08-19 André Pönitz <poenitz@gmx.net>
6004 * funcrequest.C: initialize button_ member
6007 * rowpainter.[Ch]: interface consolidation
6009 2003-08-18 André Pönitz <poenitz@gmx.net>
6012 * BufferView_pimpl.C:
6014 * paragraph_funcs.C:
6016 * text3.C: remove LyXScreen::draw() and fitCursor calls
6018 * BranchList.h: remove spurious semicolons
6020 * MenuBackend.C: fix branchlist related crash
6022 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6030 * bufferparams.[Ch]:
6034 * text3.C: implements the 'branch inset'
6035 idea. This allows the output of various versions of a document
6036 from a single source version, selectively outputing or suppressing
6037 output of parts of the text.
6038 This implementation contains a 'branch list editor' in a separate
6039 tab of the document settings dialog. Branches are user definable
6040 and have a "display colour" to distinguish them on-screen.
6042 ColorHandler was somewhat cleaned up.
6043 (1) make possible a dynamically growing LColor list by allowing
6044 the graphic context cache to grow along (vector);
6045 (2) eliminate an IMHO unnecessary step in colour allocation.
6047 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6049 * BufferView_pimpl.C: compile fix
6051 2003-08-15 André Pönitz <poenitz@gmx.net>
6053 * rowpainter.C: remove extra metrics calls
6055 * lyxtext.h: merge the two constructors into a single one,
6056 pass reference to owner's par list
6058 * BufferView_pimpl.C:
6062 2003-08-15 André Pönitz <poenitz@gmx.net>
6064 * lyxrow_funcs.[Ch]:
6067 * paragraph_funcs.C:
6072 * text_funcs.C: split LyXText::rowlist_ into individual
6073 Paragraph::rows_ chunks
6076 * BufferView_pimpl.[Ch]:
6079 * text3.C: remove toggleSelection()
6081 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6083 * bufferlist.C: beautify two alerts (shorter text of buttons)
6084 * buffer.C: Remove redundant ' ' from message
6086 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6087 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6088 rename VALIGN_CENTER to VALIGN_MIDDLE
6090 2003-08-11 André Pönitz <poenitz@gmx.net>
6092 * lyxtext.h (getPar):
6093 * text.C: new function
6095 2003-08-11 André Pönitz <poenitz@gmx.net>
6098 * tracer.[Ch]: remove unneeded files
6100 * InsetList.[Ch]: remove resizeInsetsLyXText()
6105 * text3.C: merge insertParagraphs() and appendParagraph()
6106 remove breakAgain(), update()
6108 * BufferView_pimpl.[Ch]:
6109 * bufferview_funcs.[Ch]:
6113 * tabular.C: adjust after text & InsetList changes.
6115 2003-08-08 André Pönitz <poenitz@gmx.net>
6117 * text.C (insertChar, backspace): replace rowlist fiddling
6118 with rebreak of full par
6121 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6122 checkParagraph, updateInset): removed
6124 2003-08-07 André Pönitz <poenitz@gmx.net>
6127 * text3.C: merge some LFUN handlers, remove dead code
6129 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6131 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6133 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6135 * text2.C (DEPM): fix part of bug 1255 and 1256
6137 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6139 * BufferView_pimpl.C (workAreaDispatch): change to use
6140 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6141 that are no mouse related.
6143 2003-08-05 André Pönitz <poenitz@gmx.net>
6146 * BufferView_pimpl.[Ch]:
6147 * bufferview_funcs.C:
6149 * text3.C: rip out "deep update"
6151 * textcursor.[Ch] (last_sel_cursor): remove unused member
6153 2003-08-04 André Pönitz <poenitz@gmx.net>
6156 * BufferView_pimpl.[Ch]:
6157 * ParagraphParameters.C:
6158 * bufferview_funcs.C:
6164 * text3.C: replace "complicated" BufferView::update(...) calls with
6167 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6169 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6171 * Makefile.am (lyx_SOURCES): add paper.h
6173 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6175 * Makefile.am: move things around so that both lyx-qt and
6176 lyx-xforms can be built (according to --with-frontend). Then lyx
6177 is a symbolic link to lyx-[firstfrontend]
6179 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6181 * Always use std::endl with lyxerr
6183 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6185 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6187 2003-08-01 André Pönitz <poenitz@gmx.net>
6190 * BufferView_pimpl.[Ch]:
6192 * text3.C: merge BufferView::repaint() and BufferView::update()
6194 2003-08-01 José Matos <jamatos@lyx.org>
6196 * buffer.[Ch]: file_format is no longer a buffer data element.
6198 2003-08-01 André Pönitz <poenitz@gmx.net>
6203 * text2.C: make redoParagraph more independent of current cursor
6205 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6207 * text2.C: remove unneeded members
6209 2003-07-30 André Pönitz <poenitz@gmx.net>
6211 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6213 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6214 create a single function...
6216 * paragraph_funcs.C (moveItem): ... here.
6219 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6221 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6223 * LColor.[Ch]: Add comment and greyedout logical colors.
6225 2003-07-30 André Pönitz <poenitz@gmx.net>
6227 * tabular.C: don't use Assert too heavily. This crashes where it
6230 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6232 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6233 is disabled (bug 1232)
6235 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6237 * factory.C: limited 'arg' scope
6239 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6241 * factory.C: fixed Note submenu issues
6243 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6245 * factory.C: submenu for Note/Comment/Greyedout
6247 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6250 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6252 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6255 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6256 greyedout. Patch provided by Jürgen Spitzmüller.
6258 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6260 * kbmap.C (read): fix error message when reading bind files
6262 2003-07-29 Angus Leeming <leeming@lyx.org>
6264 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6265 certainly does not do what it purports to do. I am doing it, and
6266 us, a favour by killing it.
6268 2003-07-28 José Matos <jamatos@lyx.org>
6270 * buffer.C (readBody, do_writeFile):
6271 * paragraph.C(readParagraph): \end_document replaces \the_end.
6273 2003-07-29 André Pönitz <poenitz@gmx.net>
6276 * BufferView_pimpl.[Ch]:
6280 * textcursor.[Ch]: remove toggleToggle & Co
6282 2003-07-28 José Matos <jamatos@fep.up.pt>
6284 * buffer.C (readParagraph):
6285 * params_func (readParToken, readParagraph):
6286 * paragraph.C (write): \layout -> \begin_layout.
6288 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6290 * lyxlex_pimpl.C (setFile): clean up slightly.
6292 * bufferparams.h: add compressed var
6294 * buffer_funcs.C (readFile): adjust for LyXLex change
6295 (newFile): ditto + simplify
6297 * buffer.C (writeFile): handle writing of compressed files
6299 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6300 Check if the file is compressed and set a bufferparm if so.
6302 * Makefile.am (lyx_LDADD): remove explicit -lz
6304 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6306 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6307 makeDocBookFile): put the real LyX version in the first line of
6311 * version.C.in: remove lyx_docversion
6313 * tabular.C (write_attribute): add a template-based version to
6314 write enums properly
6316 2003-07-28 André Pönitz <poenitz@gmx.net>
6321 * text3.C: use doubles again for x-coordinates. They are needed.
6323 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6325 * messages.C (getLocaleDir): use lyx_localedir()
6327 * lyxlex_pimpl.C (setFile): compress stuff
6329 * buffer.C (writeFile): add some compression stuff
6330 (do_writeFile): new func, dont call expliti close... will this
6333 * Makefile.am (lyx_LDADD): add -lz
6335 2003-07-28 José Matos <jamatos@fep.up.pt>
6337 * buffer.C: increment file format.
6338 * paragraph_funcs (readParagraph, readParToken):
6339 * paragraph.C (readParagraph): add \end_layout.
6341 2003-07-27 Angus Leeming <leeming@lyx.org>
6343 * Makefile.am: remove special casing for configure-time setting of
6344 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6346 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6347 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6349 2003-07-26 André Pönitz <poenitz@gmx.net>
6351 * paragraph_func.[Ch]:
6352 * paragraph.C (realizeFont): inline it whereever it is used
6357 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6360 2003-07-26 André Pönitz <poenitz@gmx.net>
6364 * text2.C: get rid of LyXText::need_break_row
6366 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6368 * toc.[Ch]: put namespace toc inside namespace lyx
6370 * MenuBackend.C (expandToc2): adjust for lyx::toc
6373 * lyxfunc.C (dispatch): adjust for lyx::find
6375 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6376 lyx::find instead. Reorganize a bit.
6377 (LyXReplace): rename to replace
6378 (LyXFind): rename to find
6380 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6383 2003-07-26 André Pönitz <poenitz@gmx.net>
6385 * text.C (setHeightOfRow): restrict scope of temporary variable
6387 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6388 code (never has been used?)
6390 2003-07-27 Asger Alstrup <alstrup@local>
6392 * text.C (fill): Optimise algorithm to exploit that we can reuse
6393 the LyXFont for many characters.
6394 (setHeightOfRow): Same thing.
6395 (rowBreakPoint): Same thing.
6397 2003-07-26 Asger Alstrup <alstrup@local>
6399 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6401 * text.C (singleWidth): Spurious font copying in hot-spot
6402 singleWidth avoided. Reorder tests for arabic for efficiency.
6404 * text.C (fill): handle empty paragraphs better.
6406 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6409 * encoding.h: add includes
6411 * lyxrc.C: remove reading of bind files
6413 * lyx_main.C (init): setup bindings and menus only if we have a
6416 * kbmap.C (read): new method. Do the actual reading of bind
6419 * converter.C (dvipdfm_options):
6422 (output): adapt PAPER_* enums.
6424 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6426 * bufferparams.h: remove paper-related enums from there
6428 * paper.h: New file. A trivial header file to hold paper-related
6429 enums. It should later expand to contain many paper-related
6432 * lyxrc.C: declare extern displayTranslator
6434 2003-07-27 José Matos <jamatos@fep.up.pt>
6436 * tabular.[Ch] (linuxdoc): add support for tables and figures
6439 2003-07-27 José Matos <jamatos@fep.up.pt>
6441 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6442 consistency in both functions.
6443 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6445 2003-07-26 Asger Alstrup <alstrup@local>
6447 * rowpainter.C (paintRows): Change algorithm to work directly on
6448 the insets rather than asking every character in the document
6449 whether its an inset.
6451 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6453 * buffer.C (openFileWrite): factorize some code
6455 2003-07-26 Angus Leeming <leeming@lyx.org>
6458 * lyx_main.[Ch]: replace occurances of system_tempdir with
6461 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6463 * rename Inset to InsetOld
6465 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6467 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6468 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6469 which I think is a bit clearer. EDIT is gone, since it was
6470 premature optimisation, and broken for mathed anyway.
6471 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6472 with cursor positioning in insets as well (math insets still do not
6473 work, but that's a different story anyway.) It mysteriously
6474 crashes sometimes with undo in the first paragraph, but I'm fairly
6475 confident that this is a compiler bug.
6477 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6479 * paragraph.C (Paragraph): adjust for new clone return type
6481 (copyIntoMinibuffer): ditto
6483 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6485 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6486 by not having a special case, and always doing a full rebreak of
6487 the document after undo.
6489 2003-07-23 Angus Leeming <leeming@lyx.org>
6491 * factory.C (createInset): InsetExternal::setParams now takes a
6494 2003-07-23 Angus Leeming <leeming@lyx.org>
6496 * factory.C (createInset): changed interface to the external and
6497 graphics mailers' string2params functions.
6499 2003-07-23 Angus Leeming <leeming@lyx.org>
6501 * factory.C (createInset): pass a
6502 Buffer const * parameter to InsetExternalMailer's string2params.
6504 2003-07-22 John Levon <levon@movementarian.org>
6506 * Thesaurus.h: include the right aiksaurus header
6508 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6510 * MenuBackend.C (expand): check menu shortcuts unconditionally
6512 2003-07-21 Angus Leeming <leeming@lyx.org>
6514 * factory.C (createInset): pass a
6515 buffer_path parameter to InsetGraphicsMailer's string2params.
6517 2003-07-21 Angus Leeming <leeming@lyx.org>
6519 * BufferView_pimpl.C (buffer):
6522 * lyxfunc.C (dispatch):
6523 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6524 rather than the grfx shortcut.
6526 2003-07-21 André Pönitz <poenitz@gmx.net>
6528 * rowpainter.C: remove unused variables
6531 * tabular_funcs.h: move to tabular.C
6532 * Makefile.am: adjust
6534 * tabular.[Ch]: basic optical cleaning
6536 * author.h: pass references, not values
6538 2003-07-18 André Pönitz <poenitz@gmx.net>
6546 * text3.C: two-phase drawing for InsetText and InsetTabular
6547 some float -> int changes.
6549 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6551 * lyx_main.C: fix the fix
6553 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6555 * lyx_main.C: fix a crash in batch mode if no files specified
6558 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6560 * format.[Ch] (papersize): moved to BufferParams
6561 * converter.[Ch] (dvips_options): moved to BufferParams
6562 (dvipdfm_options): moved to anon namespace
6563 * bufferparams.[Ch]: added above functions.
6565 2003-07-17 André Pönitz <poenitz@gmx.net>
6569 * text2.C: don't call inset->update() anymore
6571 * metricsinfo.[Ch]: add convenience constructor
6573 2003-07-16 André Pönitz <poenitz@gmx.net>
6578 * text2.C: replace the LyXCursor::irow_ member with
6579 on-demand computation of the value
6581 2003-07-16 John Levon <levon@movementarian.org>
6583 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6585 2003-07-15 André Pönitz <poenitz@gmx.net>
6588 * text2.C: remove no more needed refresh_row
6590 2003-07-15 André Pönitz <poenitz@gmx.net>
6595 * text3.C: refresh_status tristate -> need_update bool
6597 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6599 * lyxtext.h (init): remove reinit argument (act as if always true)
6600 * text2.C: adjust to that
6602 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6604 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6605 * text3.C: use it to delete selections in some cases
6606 (bugs 441, 673, 702, 954).
6608 2003-07-14 André Pönitz <poenitz@gmx.net>
6610 * rowpainter.[Ch]: reduce interface
6612 2003-07-14 André Pönitz <poenitz@gmx.net>
6614 * BufferView_pimpl.C:
6615 * text2.C: adjust after removing unused BufferView * argument
6617 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6619 * text2.C (init): fix a crash fired on resize
6621 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6623 * buffer.[Ch]: added new closing signal
6624 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6625 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6626 BufferView::Pimpl via the closing the signal
6628 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6630 * buffer.[Ch]: take out all bv-related from buffer
6632 * BufferView_pimpl.[Ch]: connect to new signals
6633 * CutAndPaste.C: removed useless asserts
6634 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6637 * lyxfunc.C: moved view-related funciontality from vc here
6638 * paragraph.C: removed outdated comments
6641 2003-07-10 André Pönitz <poenitz@gmx.net>
6643 * BufferView_pimpl.C:
6647 * text2.C: remove InsetText::InnerCache, clean up consequences
6649 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6651 * ispell.C: fix two typos in error messages
6653 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6655 * Extend Note inset to other forms of annotation like Comment
6656 and Greyedout. Right button click gives dialog.
6658 Files modified or added (+):
6662 * ControlNote.[Ch] +
6664 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6665 frontends/controllers
6669 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6671 * aspell.C: add missing namespace lyx::support
6673 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6675 * BufferView.[Ch] (newFile): Add
6676 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6677 * LaTeX.[Ch] (message): added this signal and use it
6678 * buffer.[Ch] (busy, message): added these signals and use them
6679 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6683 * importer.C: use buffer signals instead of direct bv calling
6684 * lyx_cb.[Ch] (ShowMessage): removed
6687 * paragraph_funcs.C:
6688 * text2.C: use buffer signals
6690 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6692 * introduce namespace lyx::graphics
6694 2003-07-02 André Pönitz <poenitz@gmx.net>
6696 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6698 2003-07-01 André Pönitz <poenitz@gmx.net>
6705 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6706 text*.C to text_func.C
6708 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6710 * introduce namespace lyx::support
6712 2003-06-30 André Pönitz <poenitz@gmx.net>
6717 * text.C: re-enable --with-included-string
6719 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6721 * textcursor.C: add <config.h>
6723 * text.C (getWord): remove const from word_location arg
6725 * lyxvc.C (getLogFile): fix const type order
6727 * lyxtext.h: remove const from word_location arg, add arg name
6729 * lyxlayout.h: currect type on labeltype.
6731 * importer.C: correct \file
6733 * converter.C (intToFormat): use std:: on ret val, ws changes
6735 * bufferlist.h: correct \file
6737 * buffer.C (makeLinuxDocFile): fix const type order
6738 (makeDocBookFile): ditto
6739 (fillWithBibKeys): use std:: on stdlib args.
6741 * CutAndPaste.C: fix authors.
6742 (availableSelections): use std:: on return vector
6744 2003-06-27 André Pönitz <poenitz@gmx.net>
6746 * BufferView_pimpl.C:
6747 * bufferview_funcs.C:
6755 * text3.C: remove LyXCursor::row_ member
6758 * text.C: rename fullRebreak() to partialRebreak() and implement
6759 a fullRebreak() that really bereks fully
6761 * textcursor.h: new struct for cursor-related data
6763 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6765 * lyx_main.C (LyX): get full path of document loaded on the
6768 2003-06-26 André Pönitz <poenitz@gmx.net>
6770 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6771 remove unused/broken operator>,<,>=.
6773 * text.C: remove only use of broken operator<= in an Assert().
6775 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6777 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6778 moved errorlist_.clear to showErrorList
6780 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6782 * converter.C (scanLog, runLaTeX):
6783 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6784 move the bv->showErrorList call to the callers
6785 * lyxfunc.C: i.e. here...
6787 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6788 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6789 namespace, the second to...
6790 * buffer_funcs (BufferFormat, parseErrors): added
6791 * errorlist.C (ErrorList(TeXErrors const &)): removed
6793 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6795 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6797 2003-06-24 "Garst R. Reese" <reese@isn.net>
6801 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6803 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6805 * version.C.in: change docversion to 1.4
6807 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6809 * buffer.C: fix a bug just introduced
6811 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6813 * buffer.[Ch]: added the parseError signal and use it, removed
6815 * BufferView.[Ch] (addError): moved to ...
6816 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6817 to the Buffer::parseError signal to catch (guess what) parse errors
6818 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6820 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6822 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6823 ability to create a buffer and to return an existing one from
6824 the list. Moved these functions to...
6825 * buffer_funcs.[Ch]: added
6826 * BufferView.[Ch] (loadLyXFile): added
6827 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6828 job removed from bufferlist::loadLyXFile.
6829 * buffer.C (setReadOnly): make it work without view
6830 (i.e added an if (users))
6832 2003-06-19 Angus Leeming <leeming@lyx.org>
6835 * LyXAction.C (init):
6836 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6837 with LFUN_DIALOG_SHOW <name> <data>.
6839 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6841 * CutAndPaste.C (availableSelections): small compilation fix for
6842 ancient (gcc 2.9x) compilers
6844 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6846 * text3.C (cursorNext): add tmp var
6848 * text2.C (updateCounters): for function calling out of for clause
6849 (replaceSelectionWithString): ditto
6850 (insertStringAsParagraphs): ditto
6851 (getColumnNearX): add tmp var
6852 (setCursorFromCoordinates): add tmp var
6853 (cursorDownParagraph): add tmp var
6854 (deleteEmptyParagraphMechanism): add tmp var
6856 * text.C (insertChar): add tmp var
6858 * rowpainter.C (paintDepthBar): add tmp var
6860 * CutAndPaste.C (availableSelections): potentially check all
6861 paragraphs in a cut to fill the shown strings.
6863 2003-06-18 André Pönitz <poenitz@gmx.net>
6865 * kbmap.[Ch]: use vector<> instead of list<>
6867 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6869 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6870 pasteSelection with index
6872 * text2.C (pasteSelection): modify, call pasteSelection with index
6874 * paragraph.C (asString): reimplement version with no interval to
6875 call the one with interval.
6877 * lyxtext.h: add index arg to pasteSelection
6879 * MenuBackend.C (MenuItem): handle PasteRecent
6880 (Menu::read::Menutags): add md_pasterecent
6882 (expandPasteRecent): new function
6885 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6887 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6889 (availableSelections): new function
6891 2003-06-17 Angus Leeming <leeming@lyx.org>
6893 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6895 2003-06-17 Angus Leeming <leeming@lyx.org>
6898 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6900 * lyxfunc.C (dispatch): invoke it.
6902 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6904 * iterators.C (operator++, ParPosition): reintroduce some
6905 const_cast for the benefit of older compilers.
6907 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6909 * text3.C (dispatch): do not modify clipboard when doing
6910 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6911 LFUN_DELETE_SKIP on a selection selection
6913 2003-06-16 André Pönitz <poenitz@gmx.net>
6919 * tabular.[Ch]: IU of clone() and getLabelList();
6921 2003-06-13 André Pönitz <poenitz@gmx.net>
6923 * tabular.h: compactification
6925 2003-06-12 André Pönitz <poenitz@gmx.net>
6929 * tabular_funcs.h: some renaming plus whitespace
6931 2003-06-12 André Pönitz <poenitz@gmx.net>
6934 * BufferView_pimpl.C:
6940 * toc.C: Return a Paragraph & for ParIterator::operator*()
6942 2003-06-11 John Levon <levon@movementarian.org>
6946 * ToolbarBackend.C: add "Toolbars" section and
6949 2003-06-10 Angus Leeming <leeming@lyx.org>
6952 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6954 * lyxfunc.C (dispatch): invoke it.
6956 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6958 * main.C: protect <ios> with HAVE_IOS
6959 (main): protect sync_with_stdio with HAVE_IOS
6961 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6963 * text2.C (cutSelection): adjust
6964 (pasteSelection): adjust
6966 * messages.C: handle get of empty string
6968 * main.C (main): use sync_with_stdio(false)
6970 * lyxfunc.C (dispatch): adjust
6972 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6973 (WriteAs): remove unneeded BufferView arg.
6975 * bufferparams.h: use correct types on papersize, papersize2 and
6978 * bufferparams.C (readToken): adjust for type
6979 (writeLaTeX): add missing cases to switch.
6981 * bufferlist.C (quitWriteBuffer): adjust
6984 * buffer.C (asciiParagraph): remove some commented code.
6986 * CutAndPaste.C: remove current_view extern variable.
6987 (cutSelection): add BufferParams arg.
6988 (eraseSelection): add BufferParams arg.
6989 (pasteSelection): add Buffer const & arg
6991 2003-06-07 John Levon <levon@movementarian.org>
6994 * paragraph_funcs.C:
6995 * paragraph_pimpl.C:
6999 * paragraph.C: allow InsetERT to freely space lines,
7000 and some consolidation of code
7002 2003-06-06 José Matos <jamatos@fep.up.pt>
7004 * buffer.C (makeDocBookFile): fix bug #821
7006 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7008 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7010 2003-06-04 Angus Leeming <leeming@lyx.org>
7012 * buffer.C: bump format to 224.
7014 2003-06-05 André Pönitz <poenitz@gmx.net>
7016 * text2.C (redoParagraphs): remove two const_cast<>
7018 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7020 * ParagraphList.h: remove last remnants of NO_STD_LIST
7022 2003-06-03 Angus Leeming <leeming@lyx.org>
7024 * factory.C (createInset): small change to the way InsetExternal's params
7027 2003-06-04 André Pönitz <poenitz@gmx.net>
7029 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7031 * paragraph_pimpl.h:
7032 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7034 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7036 * undo_funcs.C: make some simple cases of undo work again
7038 2003-06-03 John Levon <levon@movementarian.org>
7040 * ispell.C: HPUX doesn't have sys/select.h
7043 2003-06-03 John Levon <levon@movementarian.org>
7045 * CutAndPaste.C: update tabular and include inset
7050 * paragraph.C: remove owningBuffer(), don't pass Buffer
7053 * factory.C: insetGraphicsParams changed
7055 2003-06-02 John Levon <levon@movementarian.org>
7061 * text3.C: remove insetparent
7063 2003-06-02 John Levon <levon@movementarian.org>
7066 * buffer.C: fix inset_iterator.end(), move out of line
7069 2003-06-01 John Levon <levon@movementarian.org>
7071 * text3.C: use a proper cut/paste when doing inset
7072 insert (from Jürgen Spitzmüller)
7074 2003-06-01 John Levon <levon@movementarian.org>
7076 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7078 2003-05-30 André Pönitz <poenitz@gmx.net>
7080 * rowpainter.C: unify second drawing phase
7082 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7084 * trans_mgr.C: remove one case of current_view
7086 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7088 * paragraph_funcs.h: remove paragraph.h include
7090 * paragraph.h: delete NO_STD_LIST stuff
7092 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7094 * buffer.h: remove paragraph.h include
7096 * ParagraphList.C: delete file
7098 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7100 * toc.C (getTocList): adjust
7102 * paragraph_pimpl.C (validate): adjust
7104 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7106 * paragraph.C (Paragraph): adjust
7107 (getPositionOfInset): use const_iterator, adjust
7108 (bibitem): use const_iterator, adjust
7109 (setInsetOwner): adjust
7111 * iterators.C (operator++): adjust
7113 * InsetList.[Ch]: Replace selfmade iterator with standard
7114 vector::iterator also introduce const_iterator. Remove getPos,
7115 getInset and setInset from InsetTable. Adjust accordingly.
7117 * BufferView.C (lockInset): adjust
7118 (ChangeInsets): adjust
7120 * tabular.[Ch]: delete commented same_id functions
7122 2003-05-28 John Levon <levon@movementarian.org>
7124 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7126 2003-05-28 André Pönitz <poenitz@gmx.net>
7128 * metricsinfo.[Ch]: remove 'fullredraw' member
7130 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7132 * lyxtextclass.C (operator): remove caching.
7134 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7138 * text2.C (cursorBottom): adjust
7139 (setCounter): use ParagraphList::find, adjust
7141 * text.C (workWidth): use ParagraphList::find, adjust
7143 * lyxcursor.C (LyXCursor): adjust
7145 * buffer.C (inset_iterator): adjust
7147 * ParagraphList.h: make iterator(value_type) private, make
7148 ParagraphList a friend of iterator.
7150 * ParagraphList.C (find): new function
7152 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7154 2003-05-27 André Pönitz <poenitz@gmx.net>
7156 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7158 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7160 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7162 2003-05-26 John Levon <levon@movementarian.org>
7164 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7166 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7168 * remove same_id from function signatures, adjust.
7170 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7172 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7174 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7176 * paragraph.C (Paragraph): get rid of same_ids parameter
7178 * ParagraphList.C (insert): adjust
7181 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7183 * paragraph_funcs.C (breakParagraph): adjust
7184 (breakParagraphConservative): adjust
7186 * buffer.C (readParagraph): adjust
7188 * ParagraphList.C (insert): take a reference instead of a pointer
7191 * paragraph.[Ch] (id): new function
7193 * bufferlist.C (newFile): adjust
7195 * ParagraphList.C (ParagraphList): adjust
7197 (push_back): take a reference instead of a pointer.
7199 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7201 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7204 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7205 set else use old code.
7207 * ParagraphList.C: remove all NO_NEXT code and only compile this
7208 code of NO_STD_LIST is set.
7210 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7212 * BufferView_pimpl.C:
7222 * graphics/GraphicsConverter.C:
7223 * graphics/PreviewLoader.C: header adjustment
7225 2003-05-23 Angus Leeming <leeming@lyx.org>
7227 * LaTeXFeatures.[Ch] (useBabel): new method.
7228 * bufferparams.C (writeLaTeX): use it.
7230 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7232 * ParagraphList.h (set): remove unused function.
7234 2003-05-23 André Pönitz <poenitz@gmx.net>
7237 * BufferView_pimpl.C:
7241 * undo_funcs.C: setUndo reworked
7243 * iterators.[Ch]: add access to topmost ParagraphList
7245 * lyxtext.[Ch] (workWidth): add a const
7247 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7249 * texrow.[Ch] (increasePos): remove function
7250 * exporter.C (export): removed unused var and outdated comment
7252 2003-05-23 Angus Leeming <leeming@lyx.org>
7254 * latexrunparams.h: rename fragile as moving_arg.
7255 * paragraph.C (simpleTeXOnePar): ditto.
7256 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7258 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7260 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7262 (textUndoOrRedo): comment out a currently unused var.
7264 * paragraph.h (NO_NEXT): enable NO_NEXT
7266 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7268 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7270 * exporter.C (Export): adjust for removeAutoInsets removal.
7272 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7274 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7276 * BufferView.[Ch] (removeAutoInsets): delete function
7278 2003-05-22 Angus Leeming <leeming@lyx.org>
7280 * latexrunparams.h: add a free_spacing variable.
7282 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7283 to pass moving_arg, as the data is stored in runparams.fragile.
7285 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7286 to Inset::latexOptional or to simpleTeXOnePar.
7288 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7289 free_spacing arg to Inset::latexOptional.
7291 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7294 2003-05-22 Angus Leeming <leeming@lyx.org>
7296 * latexrunparams.h: add fragile and use_babel variables.
7298 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7299 * buffer.C (makeLaTeXFile): store this returned value in
7300 runparams.use_babel, thus passing it to the inset::latex methods.
7302 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7303 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7305 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7306 longer has a fragile arg, as it is stored in runparams.fragile.
7308 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7309 moving_arg parameter as the data is stored in runparams.fragile.
7311 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7312 a fragile parameter as the data is stored in runparams.fragile.
7314 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7316 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7318 2003-05-22 Angus Leeming <leeming@lyx.org>
7320 * latexrunparams.h: add a 'bool nice' which defaults to false.
7322 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7323 now encapsulated within runparams.
7325 * bufferlist.C (updateIncludedTeXfiles):
7326 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7328 2003-05-22 Angus Leeming <leeming@lyx.org>
7330 * latexrunparams.h: new file containing struct LatexRunParams.
7331 * Makefile.am: add new file.
7333 * LaTeX.[Ch] (c-tor, run):
7334 * buffer.[Ch] (makeLaTeXFile):
7335 * bufferlist.[Ch] (updateIncludedTeXfiles):
7336 * converter.C (convert, scanLog):
7337 * converter.[Ch] (runLaTeX):
7338 * exporter.C (Export):
7339 * paragraph.[Ch] (simpleTeXOnePar):
7340 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7341 * paragraph_funcs.[Ch] (latexParagraphs):
7342 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7343 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7344 pass around a LatexRunParams parameter.
7346 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7348 * paragraph.[Ch]: remove unused constructor
7350 * ParagraphList.C (erase): new function, taking two iterators
7352 2003-05-22 André Pönitz <poenitz@gmx.net>
7354 * undo_funcs.C: remove duplicated code
7356 * iterator.[Ch]: operator=
7358 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7360 * tabular.C (SetMultiColumn): ws changes
7362 * rowpainter.C (paintFirst): get rid of a ->previous
7364 * lyx_cb.C (getPossibleLabel): parlist simplification
7366 * BufferView.C (ChangeInsets): simplify slightly.
7368 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7370 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7371 * lfuns.h: new LFUN_SPACE
7372 * lyxfunc.C: protected space has a new lfun
7373 * paragraph_funcs.C: read new space insets
7375 * factory.C: handle new space insets
7377 2003-05-22 André Pönitz <poenitz@gmx.net>
7380 * BufferView_pimpl.C:
7383 * undo_funcs.C: return a ParIterator from getParFromID.
7385 * iterators.[Ch]: add two const's
7387 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7389 * toc.C (getTocList): adjust
7391 * iterators.[Ch]: rework for parlist
7393 * buffer.C (par_iterator_begin): adjust
7394 (par_iterator_end): adjust
7396 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7398 * BufferView.C (removeAutoInsets): adjust
7399 (ChangeInsets): adjust
7401 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7403 * text.C (top_y): fix bug 1110
7405 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7407 * errorlist.[Ch]: added
7410 * BufferView_pimpl.C:
7411 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7414 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7416 * Makefile.am: ensure that lyx is relinked upon changes to the
7417 various "convenience" libs.
7419 2003-05-20 Angus Leeming <leeming@lyx.org>
7421 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7422 files are compiled in alphabetical order again.
7424 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7426 2003-05-19 Angus Leeming <leeming@lyx.org>
7428 * gettext.[Ch]: remove "char const * _(char const *)".
7430 2003-05-19 André Pönitz <poenitz@gmx.net>
7432 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7441 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7443 2003-05-19 André Pönitz <poenitz@gmx.net>
7447 * lyxtextclass.[Ch]:
7449 * paragraph_funcs.[Ch]:
7451 * text3.C: more insetenv work
7453 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7455 * ParagraphParameters.C (params2string): small bug fixed
7457 2003-05-16 André Pönitz <poenitz@gmx.net>
7460 * bufferview_funcs.C: patch from Kornel Benko to prevent
7461 crash when _(...) is called twice in a statement
7463 2003-05-16 André Pönitz <poenitz@gmx.net>
7470 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7472 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7474 * lyx_main.C (init): remove spurious static_cast
7476 2003-05-14 André Pönitz <poenitz@gmx.net>
7478 * BufferView.C: fix format string
7480 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7482 * BufferView.[Ch] (insertErrors): removed
7483 * BufferView.[Ch] (showErrorList): added
7484 * buffer.C (runChkTeX):
7485 * converter.C (scanLog): call showErrorList instead of inserterrors
7487 2003-05-13 André Pönitz <poenitz@gmx.net>
7489 * BufferView_pimpl.C:
7491 * bufferview_func.C:
7498 * tabular_funcs.h: tostr() from its own header
7500 * ParagraphParameters.C:
7505 * text3.C: STRCONV()
7507 2003-05-12 André Pönitz <poenitz@gmx.net>
7510 * BufferView_pimpl.C:
7514 * ParagraphParameters.C:
7518 * bufferview_funcs.C:
7531 * paragraph_funcs.C:
7535 * text3.C: boost::format -> bformat all over the place
7538 2003-05-09 André Pönitz <poenitz@gmx.net>
7540 * LColor.[Ch]: Pimpl the #include <map> away
7542 2003-05-09 John Levon <levon@movementarian.org>
7544 * bufferlist.C: never remove emergency saves
7546 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7548 * Makefile.am: better lib building
7550 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7552 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7554 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7555 (simpleTeXSpecialChars): adjust
7556 (simpleTeXSpecialChars): adjust
7557 * paragraph.C (simpleTeXOnePar): adjust
7558 * buffer.C (makeLaTeXFile): adjust
7560 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7562 * text2.C (changeDepth): parlist cleanup
7563 (getColumnNearX): ditto
7565 * rowpainter.C (getLabelFont): parlist cleanup
7567 * bufferlist.C (newFile): parlist cleanup
7569 * CutAndPaste.C (eraseSelection): parlist cleanup
7571 * BufferView_pimpl.C (trackChanges): parlist cleanup
7574 * BufferView.C (lockInset): parlist cleanup.
7575 (ChangeInsets): ditto
7577 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7579 * CutAndPaste.h: Update file header.
7581 * CutAndPaste.C: Update file header.
7582 Store the parts cut out of the Document in a limited_stack.
7583 (copySelection): adjust
7584 (pasteSelection): new function, takes the index in the limited stack.
7585 (nrOfParagraphs): adjust
7586 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7587 simplify error inset insertion.
7588 (checkPastePossible): adjust
7590 2003-05-06 John Levon <levon@movementarian.org>
7592 * text2.C: don't cast wrap inset to float
7594 2003-05-05 André Pönitz <poenitz@gmx.net>
7597 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7599 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7600 few naked Paragraph *.
7602 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7604 * bufferparams.C: Output warning if a document with missing
7605 TeX document class is loaded
7606 * exporter.C: Disable TeX exports if the document class is missing
7609 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7610 isTeXClassAvailable()
7612 2003-05-03 John Levon <levon@movementarian.org>
7615 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7616 explicit cursor show/hide
7618 * BufferView_pimpl.h:
7619 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7620 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7622 * lyxfunc.C: hide cursor before dispatching.
7627 * text3.C: remove explicit cursor hides
7629 2003-05-02 André Pönitz <poenitz@gmx.net>
7631 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7634 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7637 * text2.C: tiny whitespace
7639 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7641 * undo_funcs.C: almost only ws changes.
7643 * ParagraphList.C (splice): just return if pl is empty.
7645 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7647 * ParagraphList.C (splice): new function.
7649 * CutAndPaste.C (pasteSelection): use it
7651 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7653 * CutAndPaste.C (pasteSelection): remove the last next and
7654 previous from this file.
7656 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7658 * CutAndPaste.C (pasteSelection): more clean up, user proper
7659 ParagraphList functions for pasteing.
7661 * ParagraphList.C (insert): new function, three arg insert
7663 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7665 * ParagraphList.C (insert): new function, three arg insert
7667 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7670 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7672 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7674 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7676 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7678 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7680 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7681 (copySelection): clean up a bit.
7682 (pasteSelection): use make_pair
7684 * ParagraphList.C (ParagraphList): implement copy constructor
7685 (operator=): implement, base on copy constructor.
7688 * paragraph.C (erase): return a bool
7690 * paragraph_pimpl.C (erasePos): remove function, move contents...
7691 (erase): ... here. Return a bool.
7692 (erase): call erase instead of erasePos.
7694 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7696 * ParagraphList.h: define PitPosPair
7697 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7698 ParagraphList, fix a bug on pasting multiple pars
7699 * text2.C: change interface to C&P
7701 2003-04-30 André Pönitz <poenitz@gmx.net>
7703 * undo_func.C: revert part of yesterday's patch 2
7705 2003-04-30 John Levon <levon@movementarian.org>
7707 * LColor.C: s/tabular/table/
7709 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7711 * text3.C (dispatch): do not convert iterator -> pointer
7712 * undo_funcs.C (setCursorParUndo): ditto
7713 * text_funcs.C (transposeChars): ditto
7715 * text2.C (setLayout): ws changes only
7717 * text.C (breakParagraph): do not convert iterator -> pointer
7719 (acceptChange): ditto
7720 (rejectChange): ditto
7725 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7728 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7730 * text3.C (gotoInset): YABG (yet another bad getChar)
7732 2003-04-29 André Pönitz <poenitz@gmx.net>
7734 * paragraph.h: make operator= private unimplemented as long as
7737 * ParagraphList.C: whitespace
7740 * paragraph_pimpl.[Ch]:
7741 * paragraph_funcs.C:
7743 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7746 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7748 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7750 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7751 * paragraph.[Ch] (erase):
7752 * paragraph_pimpl.[Ch] (erase): change return type and value
7753 * text2.C (cutSelection): some rework
7755 2003-04-28 John Levon <levon@movementarian.org>
7757 * bufferlist.C: changes for unsaved changes dialog
7759 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7761 * bufferlist.C (newFile): set language (messages_) for new
7764 * buffer.C (readFile): ws changes only.
7766 2003-04-28 André Pönitz <poenitz@gmx.net>
7771 * BufferView_pimpl.C:
7772 * BufferView.C: getParFromID related ParagraphList::iterator changes
7774 2003-04-28 André Pönitz <poenitz@gmx.net>
7776 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7779 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7781 * messages.C: remove one more localedir class variable.
7783 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7785 * messages.C (getLocaleDir): singleton generation function
7787 (Messages): add a default constructor.
7789 * main.C (main): do not setup localedir here, do not call
7792 * gettext.C (_): use it.
7793 (gettext_init): delete funciton
7795 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7797 * gettext.C (getLyXMessages): new singleton generating function.
7799 * buffer.C (updateDocLang): adjust
7801 * Makefile.am (messages.o): add target
7802 (main.o): remove target
7804 2003-04-27 John Levon <levon@movementarian.org>
7809 * lyxvc.C: specify cancel button in Alert::prompt
7811 2003-04-26 John Levon <levon@movementarian.org>
7816 * LyXAction.C: add LFUN_INSET_SETTINGS
7818 * lyxfunc.C: don't enable tabular-feature when there's
7819 just any locking inset
7821 2003-04-26 John Levon <levon@movementarian.org>
7823 * bufferlist.C: re-add Cancel to buffer close question
7825 * lyxfunc.C: fix import UI a bit
7827 2003-04-25 John Levon <levon@movementarian.org>
7829 * gettext.C: remove the broken asserts for now
7831 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7833 * messages.C: make case where setlocale cannot comply work better.
7835 * buffer.C (updateDocLang): new function
7836 (changeLanguage): use it
7839 * text2.C (setCounter): use B_ a bit.
7841 * lyxlayout.C (Read): be sure to trim the label strings.
7843 * messages.C (Messages): fix typo in comment
7845 * buffer.C (readFile): set message_ after file is loaded.
7846 (makeDocBookFile): remove double return
7847 (changeLanguage): reset message_ upon language change.
7848 (B_): new func, use this to get translated buffer strings.
7850 * main.C: add myself and Jean Marc as authors.
7852 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7854 * messages.[hC]: pimplify Messages, and three different pimpls to be
7855 used in different circumstances.
7857 * gettext.[Ch]: change for use with new message code.
7859 2003-04-24 André Pönitz <poenitz@gmx.net>
7861 * factory.C: support for eqref
7863 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7865 * messages.[Ch]: add missing char
7867 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7869 * messages.[Ch]: New files
7871 2003-04-18 John Levon <levon@movementarian.org>
7875 * BufferView_pimpl.C:
7879 * text2.C: remove layout-copy/paste (bug 778)
7881 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7883 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7885 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7887 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7888 if they succeed. Act accordingly.
7890 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7892 * text2.C (setCharFont): adjust
7893 (setCounter): adjust
7894 (insertStringAsLines): adjust
7896 * text.C (leftMargin): adjust
7897 (setHeightOfRow): adjust
7899 * rowpainter.C (paintFirst): adjust
7902 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7904 (isFirstInSequence): ditto
7905 (getEndLabel): ditto
7908 * paragraph.C (getParLanguage): comment out some hard stuff.
7910 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7912 (simpleDocBookOnePar): ditto
7913 (makeDocBookFile): use ParagraphList::iterator
7915 * CutAndPaste.C (pasteSelection): adjust
7917 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7919 * text2.C (getFont): adjust
7920 (getLayoutFont): adjust
7921 (getLabelFont): adjust
7923 * paragraph_funcs.C (TeXOnePar): adjust
7925 * buffer.C (simpleLinuxDocOnePar): adjust
7926 (simpleDocBookOnePar): adjust
7928 * CutAndPaste.C (pasteSelection): adjust
7930 * BufferView.C (getEncoding): adjust
7932 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7934 2003-04-16 John Levon <levon@movementarian.org>
7936 * lyxfind.C: use parlist stuff for search/changes
7938 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7940 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7942 * text2.C (deleteEmptyParagraphMechanism): adjust
7944 * text2.[Ch] (ownerParagraph): delete func (both of them
7946 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7948 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7950 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7952 * ParagraphList.C: prepare for NO_NEXT
7954 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7956 * text2.C (getFont): adjust
7957 (getLayoutFont): adjust
7958 (getLabelFont): adjust
7960 * paragraph.C (getFont): adjust
7961 (getLabelFont): adjust
7962 (getLayoutFont): adjust
7964 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7966 2003-04-15 John Levon <levon@movementarian.org>
7970 * lyx_main.C: handle Include in .ui files
7972 2003-04-15 John Levon <levon@movementarian.org>
7974 * MenuBackend.C: make the doc files length shorter
7977 * ToolbarBackend.C: handle toolbar placement flags,
7980 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7982 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7985 * paragraph_funcs.C (TeXOnePar): adjust
7987 * paragraph.C (getLabelFont): add outerfont arg, adjust
7988 (getLayoutFont): ditto
7989 (simpleTeXOnePar): adjust
7991 * paragraph_pimpl.C (realizeFont): delete func
7993 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7995 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7996 row argument, constify cur argument.
7998 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8000 * text2.C (getFont): adjust
8001 (getLayoutFont): adjust
8002 (getLabelFont): adjust
8004 * paragraph_funcs.C (TeXOnePar): adjust
8005 (outerFont): new func...
8006 (realizeFont): ...moved out from here, changed this to facilitate
8009 * paragraph.C (getFont): take outerfont as arg, adjust
8010 (simpleTeXOnePar): add outerfont arg, adjust
8012 * buffer.C (simpleLinuxDocOnePar): adjust
8013 (simpleDocBookOnePar): adjust
8015 * CutAndPaste.C (pasteSelection): adjust
8017 * BufferView.C (getEncoding): adjust
8019 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8021 * text2.C (setCharFont): adjust
8022 (setCounter): adjust
8024 * text.C (leftMargin): adjust
8025 (setHeightOfRow): adjust
8027 * rowpainter.C (paintFirst): adjust
8030 * paragraph_pimpl.C (realizeFont): adjust
8032 * paragraph.C (isFirstInSequence): move from here...
8033 * paragraph_funcs.C (isFirstInSequence): ...to here
8035 * paragraph.C (outerHook): move from here...
8036 * paragraph_funcs.C (outerHook): ...to here
8038 * paragraph.C (depthHook): move from here...
8039 * paragraph_funcs.C (depthHook): ...to here
8041 * paragraph.C (getEndLabel): move from here...
8042 * paragraph_funcs.C (getEndLabel): ...to here
8044 * text2.C (realizeFont): move from here...
8045 * paragraph_funcs.C (realizeFont): ...to here
8047 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8049 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8051 2003-04-14 Angus Leeming <leeming@lyx.org>
8053 * LColor.[Ch]: scrap LColor mathcursor.
8055 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8057 * lyxlex.[Ch] (text): delete function
8058 * trans.C (Load): adjust
8059 * paragraph_funcs.C (readParToken): adjust
8061 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8063 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8064 vector<char> instead of a char[].
8066 * lyxlex_pimpl.C (getString): adjust
8068 (lex): use getString
8072 * lyxlex.C (text): use pimpl_->getString()
8076 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8078 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8079 (makeFontEntriesLayoutSpecific): temp var for par.size()
8080 (setLayout): temp var for ownerParagraphs().end()
8081 (fullRebreak): temp var for rows().end()
8082 (selectionAsString): temp var for boost::next(startpit), realize
8083 that the while really is a regular for loop.
8084 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8085 setCursor in one place.
8086 (setParagraph): temp vr for ownerParagraphs().end()
8087 (updateCounters): make the while loop a for loop
8088 (cutSelection): temp var for ownerParagraphs().end()
8089 (updateInset): make the do {} while() a regular for loop
8090 (getCursorX): use temp vars
8091 (setCurrentFont): use temp vars
8092 (getColumnNearX): use temp vars
8094 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8096 * text.C (transformChar): use temp var for getChar
8097 (computeBidiTables): use temp var for row->par()
8098 (fill): move temp vars for row->par() and pit->layout() earlier in
8100 (labelFill): use temp var for row->par()
8101 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8102 asc and desc, realize that pit never changes and that firstpit is
8103 just a duplicate and not needed. Exchange rit->par() with pit in a
8105 (breakAgain): use a temp var for boost::next(rit)
8106 (breakAgainOneRow): ditto
8107 (breakParagraph): use a temp var for rows().begin()
8108 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8109 (cursorRightOneWord): use temp var for cursor.par() and
8110 cursor.pos(), remove usage of tmpcursor.
8111 (cursorLeftOneWord): use temp var for cursor.par() and
8112 cursor.pos() only set cur at end of function.
8114 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8116 * text.C, text2.C: exchange all usage of Paragraph::next with
8117 boost::next(ParagraphList::iterator)
8119 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8121 * text2.C (cursorTop): simplify implementation
8122 (cursorBottom): ditto
8123 (setParagraph): use ParagraphList::iterator
8124 (setCurrentFont): adjust
8125 (getColumnNearX): adjust
8126 (cursorRight): adjust
8127 (cursorLeft): remove usage of Paragraph::previous
8128 (cursorUpParagraph): ditto
8129 (deleteEmptyParagraphMechanism): slight cleanup
8131 * text.C (isBoundary): take a Paragraph const & instead of a
8133 (addressBreakPoint): ditto
8134 (leftMargin): remove usage of Paragraph::previous.
8135 (setHeightOfRow): ditto
8136 (cursorLeftOneWord): ditto
8137 (selectNextWordToSpellcheck): ditto
8140 (breakParagraph): remove one usage of Paragraph::next
8141 (redoParagraph): ditto
8142 (acceptChange): ditto
8143 (insertChar): adjust
8144 (rowBreakPoint): adjust
8146 * bufferview_funcs.C (toggleAndShow): adjust
8148 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8150 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8151 methods to access it.
8153 * text.C: Added updateRowPositions to compute all row positions.
8154 Make top_y and getRowNearY() to use the cached y position
8156 2003-04-11 John Levon <levon@movementarian.org>
8158 * text.C (rowBreakPoint): reintroduce the labelEnd
8159 checks, code copied from the row fill stuff. Deep voodoo.
8161 * text.C (fill): add a comment and debugging for the
8164 2003-04-11 John Levon <levon@movementarian.org>
8166 * text.C: make sure fullrow insets get wrapped to the next line,
8167 even when they're in a manual label
8169 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8171 * text2.C (insertParagraph): make it take ParagraphList::iterator
8173 (setLayout): make it return ParagraphList::iterator
8174 (redoParagraphs): ditto
8176 (checkParagraph): ditto
8178 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8180 * text2.C: adjust several funcs.
8181 (realizeFont): take a ParagraphList::iterator as arg.
8182 (getLayoutFont): ditto
8183 (getLabelFont): ditto
8184 (setCharFont): ditto
8186 * text.C: adjust several funcs.
8188 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8190 * text.C (selectNextWordToSpellcheck): don't accidentally
8193 2003-04-10 John Levon <levon@movementarian.org>
8195 * ToolbarBackend.C (getIcon): special handling for
8198 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8200 * text2.C (cursorRight): a getChar assert fixed
8202 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8204 * text2.C (getFont): change to take a ParagraphList::iterator
8205 instead of Paragraph*
8206 Adjust several functions.
8208 * text.C (transformChar): change to take a ParagraphList::iterator
8209 instead of Paragraph*
8210 (singleWidth): ditto
8211 Adjust several functions.
8213 * rowpainter.C: adjust several functions
8214 * rowpainter.h:store a ParagraphList::iterator and not a
8218 2003-04-09 John Levon <levon@movementarian.org>
8223 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8224 and the "help" bits as well
8226 2003-04-09 John Levon <levon@movementarian.org>
8229 * ToolbarBackend.C: allow multiple toolbars
8231 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8233 * undo_funcs.C (setCursorParUndo): adjust
8235 * text_funcs.C (transposeChars): adjust
8237 * text3.C (gotoNextInset): adjust
8240 * text2.C (setLayout): adjust
8241 (changeDepth): adjust
8243 (redoParagraphs): adjust
8244 (selectionAsString): adjust
8245 (setParagraph): adjust
8246 (insertInset): adjust
8247 (cutSelection): adjust
8248 (copySelection): adjust
8249 (pasteSelection): adjust
8250 (insertStringAsLines): adjust
8251 (updateInset): adjust
8252 (setCursor): change to take a ParagraphList::iterator parameter
8253 (setCursorIntern): change to take a ParagraphList::iterator parameter
8254 (setCurrentFont): adjust
8255 (cursorLeft): adjust
8256 (cursorRight): adjust
8257 (deleteEmptyParagraphMechanism): adjust
8259 * text.C (breakParagraph): adjust
8260 (insertChar): adjust
8261 (acceptChange): adjust
8262 (rejectChange): adjust
8263 (selectNextWordToSpellcheck): adjust
8264 (changeCase): adjust
8268 * lyxfind.C (SearchForward): adjust
8269 (SearchBackward): adjust
8270 (nextChange): adjust
8272 * lyxcursor.C (par): adjust
8274 * lyxcursor.h: store a ParagraphList::iterator instead of a
8277 * lyx_cb.C (getPossibleLabel): adjust
8279 * bufferview_funcs.C (toggleAndShow): adjust
8281 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8284 * BufferView.C (removeAutoInsets): adjust
8285 (lockedInsetStoreUndo): adjust
8287 2003-04-09 John Levon <levon@movementarian.org>
8289 * ToolbarBackend.C: try icon without argument
8290 if with argument fails
8292 2003-04-08 John Levon <levon@movementarian.org>
8295 * ToolbarBackend.C: add getIcon(), handle tooltip,
8296 and change from "Icon" to "Item".
8298 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8300 * BufferView.C (lockInset): another bad getchar crunched
8302 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8304 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8307 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8309 * lyxfind.C (searchForward, searchBackwards): bug 782
8311 2003-04-07 John Levon <levon@movementarian.org>
8313 * paragraph.C: remove dead comment
8315 * text.C: remove troublesome depth-fiddling code
8316 in leftMargin() and rightMargin() (bug 1017)
8318 * text.C: fix breaking of rows in nested lists
8321 * text2.C (updateCounters): fix up depth values
8324 2003-04-07 John Levon <levon@movementarian.org>
8326 * BufferView_pimpl.C: clear message when doc finishes resizing,
8327 and after a mouse event
8329 * lyxfunc.C: clear message after exiting inset
8331 2003-04-07 John Levon <levon@movementarian.org>
8333 * bufferview_funcs.C: show math status not outside
8334 status in the statusbar
8336 2003-04-07 John Levon <levon@movementarian.org>
8338 * lyxfunc.C: note status changed after a depth change
8340 2003-04-04 Angus Leeming <leeming@lyx.org>
8342 * LaTeX.h: move AuxInfo operator==, != out of line.
8343 Remove LaTeX virtual destructor; nothing derives from it.
8344 Move operator()() out of public area and rename it startscript().
8345 Change protected for private.
8347 2003-04-04 Angus Leeming <leeming@lyx.org>
8350 * text2.C: remove unneeded #includes.
8352 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8354 * text2.C (dEPM): fix the heigth of the next row
8356 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8358 * text.C: squashed an invalid getChar requester + some ws changes
8360 2003-04-03 John Levon <levon@movementarian.org>
8362 * bufferview_funcs.h:
8363 * bufferview_funcs.C:
8366 * text2.C: make getStatus work for the env depth lfuns
8368 2003-04-03 John Levon <levon@movementarian.org>
8370 * bufferview_funcs.h:
8371 * bufferview_funcs.C:
8374 * text2.C: parlistize decDepth(), by merging it with incDepth()
8376 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8378 * lyxrow.h: store a ParagraphList::iterator instead of a
8379 Paragraph* and adjust other class functions to suit.
8381 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8384 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8386 * text2.C (setCursor): do not anchor to cursor row for the time being
8388 2003-04-02 John Levon <levon@movementarian.org>
8395 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8397 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8399 * paragraph.h: make ParagraphList and ParagraphList::iterator
8400 friends of Paragraph.
8402 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8404 * ParagraphList.C: Use the private next_ and previous_ from
8407 2003-04-01 John Levon <levon@movementarian.org>
8411 * Makefile.am: rename, remove defaults gunk
8414 * MenuBackend.C: remove defaults gunk
8417 * Languages.C: remove defaults gunk
8420 * lyx_main.C: error out if files couldn't be found.
8422 2003-04-02 John Levon <levon@movementarian.org>
8424 * text2.C: make incDepth() use parlist
8426 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8428 * undo_funcs.C (firstUndoParagraph): adjust
8430 * text3.C (gotoInset): adjust
8431 (dispatch): adjust, and rewrite loop.
8433 * text2.C (init): adjust, and rewrite loop.
8434 (redoParagraphs): adjust
8435 (updateInset): adjust, and rewrite loop.
8436 (deleteEmptyParagraphMechanism): adjust
8438 * tabular.C (LyXTabular): adjust
8439 (SetMultiColumn): adjust
8442 * lyxtext.[Ch] (ownerParagraph): delete function
8443 (ownerParagraphs): new function returns a ParagraphList.
8445 * BufferView.C (removeAutoInsets): adjust
8446 (insertErrors): adjust
8447 (setCursorFromRow): adjust
8449 2003-04-01 Angus Leeming <leeming@lyx.org>
8451 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8454 2003-04-02 John Levon <levon@movementarian.org>
8460 * text_funcs.C: make transposeChars a free function
8462 * lyxrow_funcs.C: remove wrong comment
8464 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8467 * rowpainter.C: adjust
8472 * lyxrow_funcs. [Ch]: new files
8474 * lyxrow.[Ch]: remove next and previous pointers
8475 (next,previous): remove accessor functions
8476 (isParEnd): move to lyxrow_funcs
8477 (lastPos): move to lyxrow_funcs
8478 (nextRowIsAllInset): move to lyxrow_funcs
8479 (lastPrintablePos): move to lyxrow_funcs
8480 (numberOfSeparators): move to lyxrow_funcs
8481 (numberOfHfills): move to lyxrow_funcs
8482 (numberOfLabelHfills): move to lyxrow_funcs
8483 (hfillExpansion): move to lyxrow_funcs
8487 * bufferview_funcs.C (toggleAndShow): adjust
8489 * RowList.h: Remove class RowList from file leave just a
8492 * RowList.C: delete file
8494 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8497 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8499 * text3.C (cursorPrevious): adjust
8500 (cursorNext): adjust
8503 * text2.C (redoHeightOfParagraph): adjust
8504 (redoDrawingOfParagraph): adjust
8507 * text.C (breakParagraph): adjust
8508 (insertChar): adjust
8511 * rowpainter.C (RowPainter): adjust
8512 (leftMargin): simplify and adjust
8513 (most rowpainter functions): adjust.
8515 * rowpainter.h: store the row as RowList::iterator not as Row*
8517 * lyxcursor.C (row): taka RowList::iterator as arg
8520 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8523 2003-04-01 Angus Leeming <leeming@lyx.org>
8525 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8526 stuff like bool Bool.
8528 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8530 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8533 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8535 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8538 * lyxtext.h (rows): drop one version and leve a const variant that
8539 returns a RowList::iterator.
8541 2003-03-31 Angus Leeming <leeming@lyx.org>
8543 * text.C (fill): ensure that the signature is the same as that in the
8546 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8548 * text2.C (redoParagraphs): adjust
8549 (updateCounters): adjust
8550 (checkParagraph): adjust
8551 (getColumnNearX): adjust and reformat a bit.
8553 * text.C (top_y): adjust
8555 (leftMargin): adjust
8556 (prepareToPrint): adjust
8558 (getRowNearY): adjust
8560 * lyxtext.h: make rowlist_ mutable.
8562 * RowList.h: add const_iterator
8563 * RowList.C: adjust for RowList::const_iterator.
8565 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8568 2003-03-31 John Levon <levon@movementarian.org>
8571 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8573 * lyx_main.C: set default fonts from using lyx_gui funcs
8575 * exporter.C: pdf_mode moved from lyxrc
8578 * lyxfunc.C: changes from above
8580 2003-03-31 John Levon <levon@movementarian.org>
8582 * lyx_main.C: fix to the last fix
8584 2003-03-31 John Levon <levon@movementarian.org>
8586 * bufferlist.C: "Load original" -> "Load Original"
8592 * format.C: more Alert cleanups
8594 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8596 * text2.C (removeParagraph): make it take a RowList::iterator as
8598 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8599 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8601 * text.C (anchor_row): make it take a RowList::iterator as arg,
8603 (computeBidiTables): make it take a const reference to Row instead
8604 of Row pointer, adjust.
8605 (leftMargin): make it take a RowList::iterator as arg, adjust.
8606 (rowBreakPoint): adjust
8607 (breakAgainOneRow): make it take a RowList::iterator as arg,
8609 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8611 * bufferview_funcs.C (toggleAndShow): adjust
8613 2003-03-30 John Levon <levon@movementarian.org>
8617 * boost-inst.C: moved to support
8619 * several files: changes as a result
8621 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8623 * text2.C (LyXText): adjust.
8625 (removeRow): make it take a RowList::iterator as arg, adjust.
8626 (fullRebreak): adjust
8627 (deleteEmptyParagraphMechanism): adjust
8628 (clearPaint): adjust
8631 * text.C (top_y): adjust
8632 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8633 (breakAgain): make it take a RowList::iterator as arg, adjust.
8634 (breakParagraph): adjust
8635 (insertChar): adjust
8638 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8639 need_break_row, and refresh_row.
8641 * text3.C (dispatch): adjust
8643 * text2.C (checkParagraph): adjust
8645 (setCursorFromCoordinates): adjust
8647 * text.C (top_y): adjust
8649 (getRow): make it return a RowList::iterator, adjust
8650 (getRowNearY): make it return a RowList::iterator, adjust
8652 * text2.C (init): adjust
8653 (insertRow): remove function
8654 (insertParagraph): adjust
8655 (redoParagraphs): adjust
8656 (fullRebreak): adjust
8657 (updateCounters): adjust
8659 * text.C (top_y): rewrite to use RowList iterators.
8661 (setHeightOfRow): rewrite to sue RowList iterators.
8662 (appendParagraph): adjust
8663 (breakAgain): adjust
8664 (breakAgainOneRow): adjust
8665 (breakParagraph): adjust
8667 (getRowNearY): adjust, and remove commented code.
8669 * lyxtext.h (firstRow): delete function
8670 (lastRow): delete function
8671 (rows): new function (const and non-const versions.)
8672 (insertRow): delete function
8674 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8676 2003-03-29 John Levon <levon@movementarian.org>
8678 * BufferView_pimpl.C: always update scrollbar top
8679 because pasting text when we're anchored could mean we
8680 miss an update altogether
8682 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8684 * text2.C (init): use rowlist_.end() and not 0.
8685 (insertRow): change to take a RowList::iterator as arg, adjust
8687 (insertParagraph): change to take a RowList::iterator as arg,
8689 (redoParagraphs): remove some debug msgs.
8691 * text.C (appendParagraph): change to take a RowList::iterator
8692 arg, adjust for this.
8693 (breakAgain): add an assert
8694 (breakAgainOneRow): ditto
8696 2003-03-29 John Levon <levon@movementarian.org>
8698 * text2.C: do not clear selection after inc/decDepth
8701 2003-03-29 John Levon <levon@movementarian.org>
8704 * buffer.C: fix broken strerrors according to Lars
8706 2003-03-29 John Levon <levon@movementarian.org>
8708 * converters.C: more Alert cleanups
8710 2003-03-29 John Levon <levon@movementarian.org>
8712 * bufferview_funcs.C: remove pointless Alert
8714 * buffer.C: fix confusing error message when
8715 a template is chmoded 000
8717 2003-03-29 John Levon <levon@movementarian.org>
8721 * BufferView_pimpl.C: Alert fixes
8725 * tabular-old.C: remove unused table compat reading
8727 2003-03-29 John Levon <levon@movementarian.org>
8732 * lyx_cb.C: more Alert cleanups
8734 * lyxfunc.C: don't allow chktex if not latex document
8736 2003-03-29 John Levon <levon@movementarian.org>
8740 * buffer.C: warnings pushed down from support/,
8743 2003-03-29 John Levon <levon@movementarian.org>
8745 * lyxfunc.C: safety check for C-r (revert)
8747 2003-03-29 John Levon <levon@movementarian.org>
8750 * bufferlist.C: several UI fixes using Alert::prompt.
8751 Fix the pointless looping quit code. Fix stupid revert
8756 * lyx_cb.C: use Alert::prompt
8758 * lyx_main.C: remove a silly question
8760 * lyxfunc.C: remove a couple of silly questions,
8763 2003-03-28 John Levon <levon@movementarian.org>
8765 * text2.C: fix bug 974 (End on empty par)
8767 2003-03-28 John Levon <levon@movementarian.org>
8769 * BufferView_pimpl.C:
8771 * lfuns.h: remove do-nothing math greek lfuns
8773 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8775 * lyxgluelength.h (isValidGlueLength): add default arg on
8776 parameter 2. Remove default arg from friend in class.
8778 * lyxlength.h (isValidLength): add default arg on parameter 2.
8779 Remove default arg from friend in class.
8781 * text2.C (LyXText): adjust, initialize refresh_row.
8785 (insertParagraph): adjst
8786 (redoParagraphs): adjust
8787 (fullRebreak): adjust
8788 (updateCounters): adjust
8789 (deleteEmptyParagraphMechanism): first attempt at fixing a
8792 * text.C (top_y): adjust
8793 (setHeightOfRow): adjust
8795 (getRowNearY): adjust
8797 * lyxtext.h: include RowList.h
8798 (~LyXText): not needed anymore, deleted.
8799 (firstRow): modify for RowList
8800 (lastRow): new function
8801 Delete firstrow and lastrow class variables, add a Rowlist
8802 rowlist_ class variable.
8804 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8807 * RowList.C (insert): fix case where it == begin().
8809 2003-03-26 Angus Leeming <leeming@lyx.org>
8811 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8812 the thesaurus dialog.
8814 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8816 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8818 * RowList.[Ch]: new files
8820 * ParagraphList.C (erase): handle the case where it == begin
8823 2003-03-25 John Levon <levon@movementarian.org>
8827 * aspell.C: add new aspell support
8830 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8833 2003-03-25 Angus Leeming <leeming@lyx.org>
8836 * LyXAction.C (init): new LFUN_INSET_INSERT.
8838 * BufferView_pimpl.C (dispatch): split out part of the
8839 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8841 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8844 2003-03-25 Angus Leeming <leeming@lyx.org>
8846 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8848 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8851 * text3.C: remove useless row->height(0)
8853 2003-03-25 John Levon <levon@movementarian.org>
8857 * text3.C: rename the refreshing stuff to better names
8859 2003-03-24 John Levon <levon@movementarian.org>
8861 * BufferView_pimpl.h:
8862 * BufferView_pimpl.C: update layout choice on a mouse
8865 2003-03-23 John Levon <levon@movementarian.org>
8867 * Makefile.am: fix commandtags.h reference
8869 2003-03-22 John Levon <levon@movementarian.org>
8871 * BufferView_pimpl.C:
8876 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8878 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8881 * text.C: take the rtl methods out of line
8883 2003-03-21 André Pönitz <poenitz@gmx.net>
8885 * metricsinfo.[Ch]: new files containing structures to be passed around
8886 during the two-phase-drawing...
8888 2003-03-21 André Pönitz <poenitz@gmx.net>
8890 * lyxtextclass.C: read 'environment' tag.
8892 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8894 * text2.C (removeRow): fix bug 964
8896 2003-03-20 John Levon <levon@movementarian.org>
8900 * text2.C: paint cleanups. Inset::update() dropped font
8903 2003-03-19 John Levon <levon@movementarian.org>
8905 * lyxfunc.C: only fitcursor/markDirty if available()
8907 2003-03-19 John Levon <levon@movementarian.org>
8909 * commandtags.h: rename to ...
8911 * lfuns.h: ... this, and renumber / cleanup
8913 2003-03-19 John Levon <levon@movementarian.org>
8915 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8916 fit the cursor after an lfun
8920 * BufferView_pimpl.h:
8921 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8923 * LyXAction.C: layout-character should have ReadOnly
8925 * ParagraphParameters.C:
8927 * bufferview_funcs.C:
8934 * undo_funcs.C: changes from above
8936 2003-03-18 John Levon <levon@movementarian.org>
8938 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8939 remove it from update()
8941 * lyxfunc.C: update layout choice after an lfun
8943 * text3.C: remove extra updateLayoutChoice()s
8945 2003-03-18 John Levon <levon@movementarian.org>
8947 * text.C: top_y change means full repaint, fix
8948 a drawing bug with cursor movement
8950 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8954 * text2.C: anchor row on setCursor
8956 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8958 * lyxtext.h: remove almost all mutable keywords
8961 * text3.C: remove const keywords accordingly
8963 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8965 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8967 (TeXEnvironment): ditto
8970 2003-03-17 John Levon <levon@movementarian.org>
8972 * text.C (rowBreakPoint): remove attempt to fix displayed
8973 math insets inside a manual label
8975 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8977 * lyxtext.h: remove BufferView* as first arg from almost all class
8979 * other files: adjust.
8981 2003-03-17 John Levon <levon@movementarian.org>
8985 * text2.C: more paint cleanups
8987 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8990 * rowpainter.C: remove "smart" background painting code
8992 2003-03-16 John Levon <levon@movementarian.org>
8997 * text3.C: add helper functions for setting refresh_row/y
8999 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9001 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9002 newline inset which *can* get inserted in the pass_thru layouts.
9003 This is primarily for literate documents.
9005 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9007 * buffer.C: increment LYX_FORMAT to 223
9009 2003-03-14 André Pönitz <poenitz@gmx.net>
9011 * textclass.h: prepare for environment handling, ws changes
9012 * lyxlayout.C: read latexheader and latexfooter tags
9014 2003-03-14 John Levon <levon@movementarian.org>
9016 * text2.C: rewrite ::status() a bit
9018 2003-03-13 John Levon <levon@movementarian.org>
9020 * lyxtext.h: add some docs
9022 2003-03-13 John Levon <levon@movementarian.org>
9027 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9029 2003-03-13 John Levon <levon@movementarian.org>
9031 * text3.C: fix appendix redrawing
9033 2003-03-13 John Levon <levon@movementarian.org>
9035 * text.C (setHeightOfRow):
9037 * rowpainter.C: make appendix mark have the text
9038 "Appendix" so the user knows what it is
9041 * LColor.C: s/appendixline/appendix/ from above
9043 2003-03-13 John Levon <levon@movementarian.org>
9045 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9047 * text.C: fix a getChar(pos) bug properly
9049 2003-03-13 Angus Leeming <leeming@lyx.org>
9052 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9053 Probably only temporary. Let's see how things pan out.
9055 * BufferView.C (unlockInset):
9056 * BufferView_pimpl.C (fitCursor):
9057 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9059 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9060 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9062 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9063 new functions that convert ParagraphParameters to and from a string.
9065 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9066 BufferView::Pimpl's dispatch.
9067 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9069 2003-03-13 André Pönitz <poenitz@gmx.net>
9073 * factory.C: make it aware of InsetEnv
9075 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9077 * text2.C (setCursor): never ask for one past last
9078 (setCursor): add some debugging messages.
9080 * text.C (singleWidth): never ask for one past last
9081 (singleWidth): ditto
9083 (rightMargin): ditto
9084 (rowBreakPoint): ditto
9085 (setHeightOfRow): ditto
9086 (prepareToPrint): ditto
9088 * rowpainter.C (paintBackground): never ask for one past last
9089 (paintText): never ask for one past last
9091 * paragraph_pimpl.C (getChar): make the assert stricter, never
9092 allow the one past last pos to be taken
9094 * paragraph.C (getChar): ws changes only
9096 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9097 (numberOfSeparators): ditto
9098 (numberOfHfills): ditto
9100 2003-03-12 John Levon <levon@movementarian.org>
9106 * paragraph_funcs.C: fix per-buffer authorlists
9108 2003-03-12 John Levon <levon@movementarian.org>
9110 * text.C: fix newline in right address
9112 2003-03-12 Angus Leeming <leeming@lyx.org>
9114 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9115 duplicate those in LyXFunc::dispatch.
9119 * ToolbarDefaults.C:
9120 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9121 Add LFUN_FONTFREE_UPDATE.
9123 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9124 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9126 * bufferview_func.[Ch]: several new functions to facilliate
9127 transfer of data to and from the character dialog.
9129 2003-03-12 John Levon <levon@movementarian.org>
9134 * paragraph_funcs.C:
9135 * paragraph_pimpl.C:
9139 * text3.C: remove META_NEWLINE in favour of an inset
9142 * rowpainter.C: remove paintNewline (done by inset)
9144 2003-03-12 John Levon <levon@movementarian.org>
9146 * paragraph_pimpl.C: complain about bad getChar()s
9147 for a while at least
9149 2003-03-12 John Levon <levon@movementarian.org>
9152 * buffer.C: move paragraph read into a separate function,
9153 a little renaming to reflect that.
9156 * bufferparams.C: remove the author_ids map, not necessary now
9159 * factory.C: moved Buffer::readInset to here
9161 * paragraph_funcs.h:
9162 * paragraph_funcs.C: readParagraph free function moved from
9165 * tabular.C: name change
9167 2003-03-12 John Levon <levon@movementarian.org>
9170 * ParagraphParameters.C: move par params input to
9173 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9174 behave like a normal read from the stream wrt reading
9175 a line vs. a \\token
9177 2003-03-12 John Levon <levon@movementarian.org>
9180 * ParagraphParameters.h:
9181 * ParagraphParameters.C: move output code to a
9184 2003-03-12 John Levon <levon@movementarian.org>
9186 * BufferView.C (insertLyXFile):
9189 * tabular.C: use a parlist iterator for creating the
9192 2003-03-12 John Levon <levon@movementarian.org>
9194 * buffer.C: make current_change static local not
9197 2003-03-12 John Levon <levon@movementarian.org>
9199 * buffer.C: fix insertStringAsLines for change tracking
9201 2003-03-12 John Levon <levon@movementarian.org>
9208 * bufferparams.C: move author list into params. Rename some
9209 functions. Move the header reading into a separate token
9210 loop. Move the header token reading into BufferParams.
9212 2003-03-12 John Levon <levon@movementarian.org>
9214 * changes.C: put debug inside lyxerr.debugging() checks
9216 2003-03-11 André Pönitz <poenitz@gmx.net>
9218 * factory.C: make it aware of InsetHFill
9220 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9222 * buffer.C (latexParagraphs): move function from here...
9223 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9226 2003-03-10 Angus Leeming <leeming@lyx.org>
9228 * LyXAction.C (init): fix bug in poplating array with multiple entries
9229 with the same LFUN (spotted by JMarc).
9231 2003-03-10 John Levon <levon@movementarian.org>
9234 * text2.C: move getColumnNearX() near its
9237 2003-03-10 John Levon <levon@movementarian.org>
9239 * text.C: fix break before a minipage
9241 2003-03-10 John Levon <levon@movementarian.org>
9243 * text.C: fix the last commit
9245 2003-03-09 John Levon <levon@movementarian.org>
9249 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9250 bug 365 (don't break before insets unless needed). Don't
9251 return a value > last under any circumstances.
9253 2003-03-09 Angus Leeming <leeming@lyx.org>
9255 * BufferView_pimpl.C (trackChanges, dispatch): call
9256 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9258 2003-03-09 Angus Leeming <leeming@lyx.org>
9260 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9261 than Dialogs::showAboutlyx().
9263 2003-03-09 Angus Leeming <leeming@lyx.org>
9265 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9266 than Dialogs::showTabularCreate().
9268 2003-03-09 John Levon <levon@movementarian.org>
9272 * text2.C: 3rd arg to nextBreakPoint was always the same.
9275 2003-03-08 John Levon <levon@movementarian.org>
9282 * text2.C: Remove the "main" bit from the "main body"
9285 2003-03-08 John Levon <levon@movementarian.org>
9287 * text.C (leftMargin): The left margin of an empty
9288 manual label paragraph should not include the label width
9291 * text.C (prepareToPrint): don't attempt to measure hfills
9292 for empty manual label paragraphs - the answer should be 0
9294 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9296 * CutAndPaste.C: remove commented code and reindent.
9298 2003-03-08 John Levon <levon@movementarian.org>
9301 * lyxfunc.C: move reloadBuffer()
9304 * BufferView.C: to here
9306 * lyxvc.C: add comment
9309 * vc-backend.C: call bv->reload() to avoid
9310 getStatus() check on MENURELOAD
9312 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9314 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9315 to an old format .dep file.
9317 2003-03-07 Angus Leeming <leeming@lyx.org>
9319 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9320 when the LFUN_MOUSE_RELEASE should have been handled by
9321 inset->localDispatch.
9323 2003-03-07 Angus Leeming <leeming@lyx.org>
9325 * BufferView_pimpl.C (dispatch):
9326 * LyXAction.C (init):
9327 * ToolbarDefaults.C (init):
9329 * lyxfunc.C (getStatus):
9330 remove LFUN_INSET_GRAPHICS.
9332 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9334 2003-03-07 Angus Leeming <leeming@lyx.org>
9337 * LyXAction.C (init):
9338 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9340 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9343 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9345 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9346 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9348 2003-03-07 Angus Leeming <leeming@lyx.org>
9350 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9353 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9355 * ParagraphList.C (front): new function
9358 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9360 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9361 and top_row_offset_. removed var first_y.
9363 * text2.C (LyXText, removeRow):
9365 * BufferView_pimpl.C:
9366 use these methods instead of using first_y
9368 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9370 * text2.C (pasteSelection): adjust for checkPastePossible
9372 * CutAndPaste.C: remove Paragraph * buf and replace with
9373 ParagraphList paragraphs.
9374 (DeleteBuffer): delete
9375 (cutSelection): change the tc type to textclass_type
9376 (copySelection): change the tc type to textclass_type
9377 (copySelection): adjust for ParagraphList
9378 (pasteSelection): change the tc type to textclass_type
9379 (pasteSelection): adjust for Paragraphlist
9380 (nrOfParagraphs): simplify for ParagraphList
9381 (checkPastePossible): simplify for ParagraphList
9382 (checkPastePossible): remove unused arg
9384 * ParagraphList.C (insert): handle the case where there are no
9387 * CutAndPaste.h: make CutAndPaste a namespace.
9389 * text3.C (dispatch): adjust
9391 * text.C (breakParagraph): add a ParagraphList as arg
9393 * paragraph_funcs.C (breakParagraph): change to take a
9394 BufferParams and a ParagraphList as args.
9395 (breakParagraphConservative): ditto
9396 (mergeParagraph): ditto
9397 (TeXDeeper): add a ParagraphList arg
9398 (TeXEnvironment): ditto
9401 * buffer.C (readLyXformat2): adjust
9402 (insertStringAsLines): adjust
9403 (latexParagraphs): adjust
9405 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9406 (cutSelection): adjust
9407 (pasteSelection): adjust
9409 * BufferView_pimpl.C (insertInset): adjust
9411 2003-03-05 Angus Leeming <leeming@lyx.org>
9414 * LyXAction.C (init):
9415 * BufferView_pimpl.C (dispatch):
9416 * lyxfunc.C (getStatus):
9417 remove LFUN_CHILD_INSERT.
9419 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9421 2003-03-05 Angus Leeming <leeming@lyx.org>
9424 * LyXAction.C (init):
9425 * src/factory.C (createInset):
9426 * lyxfunc.C (getStatus):
9427 * text3.C (dispatch):
9428 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9430 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9432 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9434 * ParagraphList.C (insert): handle insert right before end()
9435 (erase): fix cases where it can be first or last paragraph.
9437 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9439 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9440 Paragraph::next and Paragraph::previous
9443 * text.C (breakParagraph): adjust
9445 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9446 BufferParams& as arg.
9447 (breakParagraph): use ParagraphList::insert
9448 (breakParagraphConservative): take a Buffer* instead of a
9449 BufferParams& as arg.
9450 (breakParagraphConservative): use ParagraphList::insert.
9452 * buffer.C (insertStringAsLines): un-const it
9453 (insertStringAsLines): adjust
9455 * ParagraphList.C (insert): new function
9457 * CutAndPaste.C (pasteSelection): adjust
9459 * text.C (backspace): adjust
9461 * tabular.C (SetMultiColumn): adjust
9463 * CutAndPaste.C (cutSelection): adjust
9464 (pasteSelection): adjust
9466 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9467 Buffer const * as arg
9469 * ParagraphList.C (erase): new function
9470 * paragraph_funcs.C (mergeParagraph): use it
9471 (mergeParagraph): make it take a Buffer* instead of a
9472 BufferParams* as arg
9474 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9476 (breakParagraphConservative): ditto
9478 * paragraph.h: remove the breakParagraph friend
9480 * paragraph.C (eraseIntern): new function
9481 (setChange): new function
9483 * paragraph_funcs.C (mergeParagraph): make it take a
9484 ParagraphList::iterator instead of a Paragraph *, adjust
9487 * paragraph.h: move an #endif so that the change tracking stuff
9488 also works in the NO_NEXT case.
9490 2003-03-04 Angus Leeming <leeming@lyx.org>
9493 * LyXAction.C: new LFUN_INSET_MODIFY.
9495 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9496 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9498 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9500 * several files: ws changes only
9502 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9503 (TeXEnvironment): ditto
9506 * buffer.C (makeLaTeXFile): adjust
9507 (latexParagraphs): make it take ParagraphList::iterator as args
9509 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9511 * buffer.C (latexParagraphs): adjust
9513 * paragraph.C (TeXOnePar): move function...
9514 (optArgInset): move function...
9515 (TeXEnvironment): move function...
9516 * paragraph_pimpl.C (TeXDeeper): move function...
9517 * paragraph_funcs.C: ...here
9519 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9521 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9523 * buffer.C (readInset): remove compability code for old Figure and
9526 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9528 * buffer.C: ws changes
9531 * BufferView_pimpl.C: ditto
9534 * bufferlist.h: ditto
9538 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9540 * converter.[Ch]: split into itself +
9543 * Makefile.am: += graph.[Ch] + format.[Ch]
9550 * lyxrc.C: added #include "format.h"
9552 2003-02-27 Angus Leeming <leeming@lyx.org>
9554 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9557 * factory.C (createInset): add "label" to the factory.
9559 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9560 string and do no more.
9562 2003-02-27 Angus Leeming <leeming@lyx.org>
9565 * LyXAction.C (init):
9566 * factory.C (createInset):
9567 * BufferView_pimpl.C (dispatch):
9568 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9570 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9572 * lyxfunc.C (dispatch):
9573 * text3.C (dispatch): pass name to params2string.
9575 2003-02-26 Angus Leeming <leeming@lyx.org>
9577 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9579 Rearrange the ~includes. Strip out the unnecessary ones.
9581 * factory.C (createInset): reformat.
9582 create new insets for the various LFUN_XYZ_APPLY lfuns.
9584 2003-02-26 John Levon <levon@movementarian.org>
9587 * lyxrow.C: add isParStart,isParEnd helpers
9589 * paragraph.h: make isInserted/DeletedText take refs
9591 * paragraph_funcs.h:
9592 * paragraph_funcs.C: remove #if 0'd code
9597 * text.C: use lyxrow helpers above.
9598 Move draw and paint routines to RowPainter.
9599 Make several methods use refs not pointers.
9600 Make backgroundColor() const.
9601 Add markChangeInDraw(), isInInset().
9602 Merge changeRegionCase into changeCase.
9603 Make workWidth() shouldn't-happen code into an Assert.
9606 * rowpainter.C: new class for painting a row.
9609 * vspace.C: make inPixels take a ref
9611 2003-02-26 Angus Leeming <leeming@lyx.org>
9613 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9616 2003-02-25 John Levon <levon@movementarian.org>
9618 * ispell.C: give the forked command a more accurate name
9620 2003-02-22 John Levon <levon@movementarian.org>
9623 * toc.C: make TocItem store an id not a Paragraph *
9626 2003-02-21 Angus Leeming <leeming@lyx.org>
9628 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9629 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9630 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9631 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9632 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9633 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9635 * BufferView_pimpl.C (dispatch):
9636 * LyXAction.C (init):
9637 * factory.C (createInset):
9638 * lyxfunc.C (getStatus, dispatch):
9639 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9641 2003-02-21 Angus Leeming <leeming@lyx.org>
9643 * BufferView_pimpl.C (MenuInsertLyXFile):
9644 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9645 * lyxfunc.C (menuNew, open, doImport):
9646 no longer pass a LyXView & to fileDlg.
9648 2003-02-21 Angus Leeming <leeming@lyx.org>
9650 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9651 * LyXAction.C: change, BIBKEY to BIBITEM.
9652 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9653 Change InsetBibKey to InsetBibitem.
9654 Change BIBKEY_CODE to BIBITEM_CODE.
9655 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9656 * factory.C: replace insetbib.h with insetbibitem.h.
9657 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9658 * paragraph.C: replace insetbib.h with insetbibitem.h.
9659 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9660 Change bibkey() to bibitem().
9661 * text.C: remove insetbib.h.
9662 * text2.C: replace insetbib.h with insetbibitem.h.
9663 change bibkey() to bibitem().
9664 * text3.C: remove insetbib.h.
9665 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9667 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9669 * lyxrc.C (output): enclose user email in quotes (in case there are
9672 2003-02-18 John Levon <levon@movementarian.org>
9674 * buffer.h: add std::
9676 2003-02-17 John Levon <levon@movementarian.org>
9682 * pspell.C: reworking. Especially in ispell, a large
9683 number of clean ups and bug fixes.
9685 * lyxfunc.C: fix revert to behave sensibly
9687 2003-02-17 André Pönitz <poenitz@gmx.net>
9690 * commandtags.h: new LFUN_INSERT_BIBKEY
9700 * paragraph_func.C: remove special bibkey handling
9702 2003-02-17 John Levon <levon@movementarian.org>
9704 * text.C (Delete): fix case where delete at the end of
9705 the very first paragraph would not merge the pars
9707 2003-02-17 John Levon <levon@movementarian.org>
9709 * lyxrow.C: fix lastPrintablePos()
9711 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9713 * bufferparams.C (writeLaTeX): add a std:here
9715 * buffer.C: and remove a using directive there
9717 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9719 * buffer.C (makeLaTeXFile): move the code that generates the
9722 * bufferparams.C (writeLaTeX): ... in this new method
9724 * LaTeXFeatures.C (getEncodingSet): make const
9725 (getLanguages): make const
9727 * MenuBackend.C (binding): returns the binding associated to this
9729 (add): sets the status of each item by calling getStatus. Adds
9731 (read): add support for OptSubMenu
9732 (expand): remove extra separator at the end of expanded menu
9734 2003-02-15 John Levon <levon@movementarian.org>
9737 * BufferView_pimpl.C:
9739 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9740 inset code that had no actual effect. Remove unneeded status
9743 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9745 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9748 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9750 * text.C (drawLengthMarker): also draw an arrow marker for
9751 symbolic lengths (medskip...)
9753 2003-02-14 John Levon <levon@movementarian.org>
9756 * tabular.C: better method names
9758 2003-02-14 John Levon <levon@movementarian.org>
9760 * BufferView_pimpl.C:
9765 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9766 it's a more accurate name. Remove some pointless uses.
9768 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9770 * text2.C (LyXText): change order of initilizers to shut off
9773 2003-02-14 John Levon <levon@movementarian.org>
9775 * buffer.C: use ParIterator for getParFromID()
9779 * paragraph_pimpl.h:
9780 * paragraph_pimpl.C: remove unused getParFromID()
9782 2003-02-14 John Levon <levon@movementarian.org>
9784 * buffer.C: remove some very old #if 0'd parse code
9786 2003-02-13 John Levon <levon@movementarian.org>
9790 * text2.C: move hfillExpansion(), numberOfSeparators(),
9791 rowLast(), rowLastPrintable(), numberofHfills(),
9792 numberOfLabelHfills() ...
9795 * lyxrow.C: ... to member functions here.
9800 * text.C: remove LyXText::beginningOfMainBody(), and call
9801 p->beginningOfMainBody() directly. Move the check for
9802 LABEL_MANUAL into the latter.
9809 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9815 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9816 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9818 2003-02-13 John Levon <levon@movementarian.org>
9820 * CutAndPaste.C: remove debug
9822 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9824 * paragraph.C (asString): remove two unused variables
9826 * lyxtextclass.C (readTitleType):
9828 (LyXTextClass): handle new members titletype_ and titlename_
9830 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9832 2003-02-09 John Levon <levon@movementarian.org>
9835 * buffer.C: replace hand-coded list with a map for the dep clean
9837 2003-02-08 John Levon <levon@movementarian.org>
9839 * LaTeX.C: consolidate code into showRunMessage() helper
9841 2003-02-08 John Levon <levon@movementarian.org>
9846 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9847 and pass the size in explicitly
9849 * BufferView_pimpl.h:
9850 * BufferView_pimpl.C:
9852 * BufferView.C: add getCurrentChange()
9854 * BufferView_pimpl.h:
9855 * BufferView_pimpl.C: handle change lfuns
9857 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9858 for changes. Mark pasted paragraphs as new.
9860 * support/lyxtime.h:
9861 * support/lyxtime.C:
9862 * DepTable.C: abstract time_t as lyx::time_type
9865 * LColor.C: add colours for new text, deleted text, changebars
9867 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9868 package use "usenames" option.
9872 * LyXAction.C: add change lfuns
9876 * author.C: author handling
9879 * buffer.C: add a per-buffer author list, with first entry as
9880 current author. Handle new .lyx tokens for change tracking. Output
9881 author list to .lyx file. Output dvipost stuff to .tex preamble.
9882 Bump lyx format to 222.
9885 * bufferlist.C: add setCurrentAuthor() to reset current author details
9889 * bufferparams.C: add param for tracking
9891 * bufferview_funcs.C: output change info in minibuffer
9895 * changes.C: add change-tracking structure
9898 * debug.C: add CHANGES debug flag
9901 * lyxfind.C: add code for finding the next change piece
9904 * lyxrc.C: add user_name and user_email
9907 * lyxrow.C: add a metric for the top of the text line
9910 * text.C: implement accept/rejectChange()
9913 * text.C: paint changebars. Paint new/deleted text in the chosen
9914 colours. Strike through deleted text.
9918 * paragraph_pimpl.h:
9919 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9920 in the current change to the insert functions. Rework erase to
9921 mark text as deleted, adding an eraseIntern() and a range-based
9922 erase(). Implement per-paragraph change lookup and
9925 * paragraph_funcs.C: Fixup paste for change tracking.
9927 * tabular.C: mark added row/columns as new.
9929 * text.C: fix rowLast() to never return -1. Don't allow
9930 spellchecking of deleted text. Track transpose changes. Don't
9931 allow paragraph break or merge where appropriate.
9933 * text2.C: leave cursor at end of selection after a cut.
9935 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9937 * text.C (getLengthMarkerHeight):
9938 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9939 visible on screen too.
9941 2003-02-07 John Levon <levon@movementarian.org>
9943 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9945 2003-02-05 Angus Leeming <leeming@lyx.org>
9947 * lyxserver.C (read_ready): revert my patch of 11 September last year
9948 as it sends PC cpu through the roof. Presumably this means that
9949 the lyxserver will no longer run on an Alpha...
9951 2003-01-30 Angus Leeming <leeming@lyx.org>
9953 * factory.C (createInset): create an InsetCommandParam of type "index"
9954 and use it to 'do the right thing'.
9956 * text2.C (getStringToIndex): ensure that cursor position is always
9957 reset to the reset_cursor position.
9959 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9961 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9964 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9968 * lyxfunc.C: Output messages with identical spelling, punctuation,
9971 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9973 * MenuBackend.C (expandFormats): List only viewable export formats
9976 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9979 * lyxfunc.C (getStatus): Make sure that formats other than
9980 "fax" can also be disabled
9982 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9984 * text3.C (dispatch): put the lfuns that insert insets in 3
9985 groups, and call doInsertInset with appropriate arguments.
9986 (doInsertInset): new function, that creates an inset and inserts
9987 it according to some boolean parameters.
9989 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9991 * buffer.C (readFile): remember to pass on 'par' when calling
9992 readFile recursively.
9994 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9996 * MenuBackend.C (expandFormats): add "..." to import formats.
9998 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10000 * paragraph.C (asString): Remove XForms RTL hacks.
10002 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10003 * buffer.C: fix typo
10005 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10007 * Makefile.am (LIBS): delete var
10008 (lyx_LDADD): add @LIBS@ here instead.
10010 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10012 * Clarify the meaning of "wheel mouse jump"
10014 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10016 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10019 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10021 * importer.C (Loaders): do not preallocate 3 elements in the
10022 vector, since one ends up with 6 elements otherwise
10024 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10026 * DepTable.C (write): write the file name as last element of the
10027 .dep file (because it may contain spaces)
10028 (read): read info in the right order
10030 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10032 * paragraph_pimpl.C (simpleTeXBlanks):
10033 (simpleTeXSpecialChars):
10034 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10036 * tabular.C (latex): add some missing case statements. Reindent.
10038 * MenuBackend.C (expandToc): remove unused variable.
10040 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10049 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10052 2003-01-05 John Levon <levon@movementarian.org>
10055 * BufferView.C: add getEncoding()
10058 * kbsequence.C: do not store last keypress
10061 * lyxfunc.C: store last keypress here instead. Pass encoding
10064 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10066 * lyx_main.C (init): remove annoying error message when following
10067 symbolic links (bug #780)
10069 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10071 * text.C (insertChar):
10072 * lyxrc.C (getDescription): remove extra spaces
10074 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10076 * lyxrc.C (getDescription): remove extra spaces
10078 2002-12-20 John Levon <levon@movementarian.org>
10080 * text3.C: hack fix for page up/down across tall rows
10082 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10084 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10087 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10089 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10090 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10091 thesaurus is not compiled in
10093 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10095 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10097 2002-12-16 Angus Leeming <leeming@lyx.org>
10100 * lyx_main.C (init): remove override_x_deadkeys stuff.
10102 2002-12-12 John Levon <levon@movementarian.org>
10104 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10105 insert. Only remove shift modifier under strict
10108 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10110 * MenuBackend.C (expandToc): fix crash.
10112 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10114 * MenuBackend.C (expandToc): gettext on float names.
10116 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10118 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10119 implement bool empty() [bug 490]
10121 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10123 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10125 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10127 * several files: ws changes
10129 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10131 * text2.C (setCounter): clean up a bit, use boost.format.
10132 (updateCounters): initialize par upon declaration.
10134 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10135 if the layout exists. We do not just store the layout any more.
10136 (SwitchLayoutsBetweenClasses): use boost.format
10138 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10140 * converter.C (convert): if from and to files are the same, use a
10141 temporary files as intermediary
10143 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10146 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10148 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10150 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10152 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10154 * tabular.C (asciiPrintCell): use string(size, char) instead of
10157 * sgml.C (openTag): fix order of arguments to string constructor
10160 * lyxfunc.C (dispatch): use boost.format
10162 * lots of files: change "c" -> 'c'
10164 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10166 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10168 2002-11-25 Angus Leeming <leeming@lyx.org>
10170 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10172 * lyx_main.C (init): compile fix.
10174 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10176 * lyx_cb.C (start): boost.formatify
10177 do not include <iostream>
10179 * lengthcommon.C: ws only
10181 * boost-inst.C,BoostFormat.h: add more explict instantations
10183 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10185 * lots of files: handle USE_BOOST_FORMAT
10187 2002-11-21 John Levon <levon@movementarian.org>
10189 * pspell.C: fix compile
10191 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10193 * lyxfunc.C (dispatch): use boost::format
10197 * lyxfont.C (stateText): use boost::format
10199 * lyx_main.C (LyX): use boost::format
10201 (queryUserLyXDir): ditto
10202 (readRcFile): ditto
10204 (typedef boost::function): use the recommened syntax.
10206 * importer.C (Import): use boost::format
10208 * debug.C (showLevel): use boost::format
10210 * converter.C (view): use boost::format
10215 * bufferview_funcs.C (currentState): use boost::format
10217 * bufferlist.C (emergencyWrite): use boost::format
10219 * buffer.C (readLyXformat2): use boost::format
10220 (parseSingleLyXformat2Token): ditto
10222 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10224 * LaTeX.C (run): use boost::format
10226 * Chktex.C (scanLogFile): use boost::format
10228 * BufferView_pimpl.C (savePosition): use boost::format
10229 (restorePosition): ditto
10230 (MenuInsertLyXFile): ditto
10232 * BoostFormat.h: help file for explicit instation.
10234 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10236 * tabular.C (latex): Support for block alignment in fixed width
10239 2002-11-17 John Levon <levon@movementarian.org>
10241 * BufferView_pimpl.C:
10243 * lyxfunc.C: split filedialog into open/save
10245 2002-11-08 Juergen Vigna <jug@sad.it>
10247 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10248 by my last patch (hopefully).
10250 2002-11-08 John Levon <levon@movementarian.org>
10259 * toc.C: ParConstIterator, and use it (from Lars)
10261 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10263 * lyxtextclass.[Ch]: revise and add doxygen comments
10265 2002-11-07 John Levon <levon@movementarian.org>
10267 * text.C: fix progress value for spellchecker
10269 * toc.C: fix navigate menu for insetwrap inside minipage
10271 * paragraph_funcs.C: added FIXME for suspect code
10273 2002-11-07 John Levon <levon@movementarian.org>
10275 * BufferView_pimpl.C: fix redrawing of insets
10278 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10280 * text2.C (updateCounters): fix bug 668
10282 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10284 * text3.C (dispatch): Do not make the buffer dirty when moving the
10287 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10289 * vc-backend.C: STRCONV
10290 (scanMaster): ditto
10292 * text2.C (setCounter): STRCONV
10294 * paragraph.C (asString): STRCONV
10296 * lyxlength.C (asString): STRCONV
10297 (asLatexString): ditto
10299 * lyxgluelength.C (asString): STRCONV
10300 (asLatexString): ditto
10302 * lyxfunc.C (dispatch): STRCONV
10305 * lyxfont.C (stateText): STRCONV
10307 * importer.C (Import): STRCONV
10309 * counters.C (labelItem): STRCONV
10310 (numberLabel): ditto
10311 (numberLabel): remove unused ostringstream o
10316 * bufferview_funcs.C (currentState): STRCONV
10318 * buffer.C (readFile): STRCONV
10319 (asciiParagraph): ditto
10320 (makeLaTeXFile): ditto
10322 * Spacing.C (writeEnvirBegin): STRCONV
10324 * LaTeXFeatures.C (getLanguages): STRCONV
10325 (getPackages): ditto
10327 (getBabelOptions): ditto
10328 (getTClassPreamble): ditto
10329 (getLyXSGMLEntities): ditto
10330 (getIncludedFiles): ditto
10334 (scanAuxFile): ditto
10337 * LString.h: add the STRCONV macros
10339 * BufferView_pimpl.C (savePosition): STRCONV
10340 (restorePosition): ditto
10341 (MenuInsertLyXFile): ditto
10343 * vc-backend.C (scanMaster): change from submatch[...] to
10346 * funcrequest.C: include config.h
10348 * factory.C: include config.h
10350 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10352 * box.C: include config.h
10354 * LaTeX.C (scanAuxFile): change from submatch[...] to
10358 2002-10-25 Angus Leeming <leeming@lyx.org>
10360 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10362 * ispell.[Ch] (setError): new method.
10363 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10364 Use setError() insetead of goto END.
10366 * lyx_cb.C (AutoSave): move out child process into new class
10369 2002-10-30 John Levon <levon@movementarian.org>
10371 * text3.C: make start appendix undoable
10373 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10375 * lyxlength.C (inPixels): Fix returned value.
10377 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10380 2002-10-24 Angus Leeming <leeming@lyx.org>
10382 * lyxgluelength.h: no need to forward declare BufferParams
10383 or BufferView, so don't.
10385 2002-10-21 John Levon <levon@movementarian.org>
10387 * BufferView.C: menuUndo ->undo, redo
10389 * BufferView.h: document, remove dead, make some methods private
10391 * paragraph_funcs.h:
10392 * paragraph_funcs.C:
10393 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10398 * sgml.C: move sgml open/close tag into sgml.C
10400 * bufferview_funcs.h: unused prototype
10403 * lyxfunc.C: remove unused
10406 * text.C: remove unused
10408 2002-10-21 John Levon <levon@movementarian.org>
10412 * BufferView_pimpl.h:
10413 * BufferView_pimpl.C: fix mouse wheel handling based on
10414 patch from Darren Freeman
10416 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10418 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10420 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10422 * lyxlength.C (inPixels): Fix hanfling of negative length.
10423 Fix LyXLength::MU case.
10425 2002-10-16 John Levon <levon@movementarian.org>
10427 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10429 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10431 * converter.C (view): add support for $$i (file name) and $$p
10432 (file path) for the viewer command. If $$i is not specified, then
10433 it is appended to the command (for compatibility with old syntax)
10435 2002-10-14 Juergen Vigna <jug@sad.it>
10437 * undo_funcs.C (textHandleUndo): alter the order in which the
10438 new undopar is added to the LyXText, as we have to set first
10439 the right prev/next and then add it as otherwise the rebuild of
10440 LyXText is not correct. Also reset the cursor to the right paragraph,
10441 with this IMO we could remove the hack in "redoParagraphs()".
10443 2002-10-09 Angus Leeming <leeming@lyx.org>
10445 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10446 to turn off an optimisation if a new inset is to be inserted.
10448 2002-10-11 André Pönitz <poenitz@gmx.net>
10450 * lyxtext.h: make some functions public to allow access
10451 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10453 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10455 * text3.C (dispatch): when changing layout, avoid an infinite loop
10458 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10460 * lyxrc.C (read): treat a viewer or converter command of "none" as
10463 * MenuBackend.C (expandFormats): for an update, also allow the
10464 formats that are not viewable
10466 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10467 script if it is newer than the lyxrc.defaults in user directory
10469 2002-10-07 André Pönitz <poenitz@gmx.net>
10471 * text.C: Vitaly Lipatov's small i18n fix
10473 2002-09-25 Angus Leeming <leeming@lyx.org>
10475 * ispell.h: doxygen fix.
10477 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10479 * buffer.h (readFile): Add a new argument to the method, to allow
10480 reading of old-format templates.
10482 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10484 * toc.C (getTocList): Get TOC from InsetWrap.
10486 2002-09-16 John Levon <levon@movementarian.org>
10488 * lyxfunc.C: check tabular for cut/copy too
10490 2002-09-12 John Levon <levon@movementarian.org>
10492 * LyXAction.C: tidy
10495 * factory.C: add header
10497 * paragraph_funcs.h:
10498 * paragraph_funcs.C: cleanup
10500 2002-09-11 John Levon <levon@movementarian.org>
10502 * PrinterParams.h: odd/even default to true
10504 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10506 * PrinterParams.h: update printer parameters for new xforms dialog
10508 2002-09-11 Angus Leeming <leeming@lyx.org>
10510 * lyxserver.C (read_ready): re-write to make it more transparent
10511 and to make it work in coherent fashion under Tru64 Unix.
10513 2002-09-11 André Pönitz <poenitz@gmx.net>
10517 * text3.C: implement LFUN_WORDSEL
10519 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10521 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10522 make floatlist_ a boost::shared_ptr<FloatList>
10524 * lyxtextclass.C: include FloatList.h
10525 (LyXTextClass): initialize floatlist_
10526 (TextClassTags): add TC_NOFLOAT
10527 (Read): match "nofloat" to TC_NOFLOAT and use it.
10528 (readFloat): modify call to floatlist_
10532 * FloatList.[Ch] (FloatList): remove commented out float
10534 (erase): new function
10536 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10538 * MenuBackend.C (expandToc): fix crash when there is no document
10541 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10543 * many files: Add insetwrap.
10545 2002-09-09 John Levon <levon@movementarian.org>
10547 * text2.C: remove confusing and awkward depth wraparound
10549 2002-09-09 John Levon <levon@movementarian.org>
10551 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10554 * buffer.C: remove getIncludeonlyList()
10557 * lyxfunc.C: remove headers
10559 2002-09-09 Juergen Vigna <jug@sad.it>
10561 * text.C (getColumnNearX): fix form Michael this is most
10562 probably a cut&paste bug.
10564 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10566 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10568 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10569 references, ws changes.
10571 * text2.C (init): update counters after init
10572 (insertParagraph): no need to set counter on idividual paragraphs.
10573 (setCounter): access the counters object in the textclass object
10574 on in the buffer object.
10575 (updateCounters): ditto
10577 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10578 shared_ptr<Counters> to avoid loading counters.h in all
10580 (LyXTextClass): initialize ctrs_
10581 (TextClassTags): add TC_COUNTER, and ...
10582 (Read): use it here.
10583 (CounterTags): new tags
10584 (readCounter): new function
10585 (counters): new funtion
10586 (defaultLayoutName): return a const reference
10588 * counters.C (Counters): remove contructor
10589 (newCounter): remove a couple of unneeded statements.
10590 (newCounter): simplify a bit.
10591 (numberLabel): some small formatting changes.
10593 * buffer.[Ch]: remove all traces of counters, move the Counters
10594 object to the LyXTextClass.
10596 2002-09-06 Alain Castera <castera@in2p3.fr>
10598 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10599 package to set the horizontal alignment on fixed width columns.
10602 * lyx_sty.h: added tabularnewline macro def.
10604 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10606 2002-09-06 John Levon <levon@movementarian.org>
10608 * LyXAction.C: tooltips for sub/superscript
10610 * MenuBackend.C: a bit more verbose
10612 * lyxfunc.C: tiny clean
10614 * undo_funcs.C: document undo_frozen
10616 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10618 * counters.C (Counters): add missing algorithm counter.
10620 * text2.C (setCounter): lookup the counter with layouts latexname
10621 instead of by section number.
10622 (setCounter): use a hackish way to lookup the correct enum
10624 a float name->type change
10625 reset enum couners with counter name directly instead of depth value.
10627 * counters.C (Counters): remove the push_backs, change to use the
10628 float type not the float name.
10629 (labelItem): remove unused string, float name->type change
10631 * counters.h: don't include vector, loose the enums and sects vectors
10633 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10635 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10636 (Read): add float->TC_FLOAT to textclassTags
10637 (Read): and handle it in the switch
10638 (readFloat): new function
10640 * FloatList.C (FloatList): comment out the hardcoded float
10643 * lyxlayout.h: ws change.
10645 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10647 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10649 2002-09-03 Angus Leeming <leeming@lyx.org>
10651 * BufferView_pimpl.h: qualified name is not allowed in member
10652 declaration: WorkArea & Pimpl::workarea() const;
10654 * factory.C: added using std::endl directive.
10656 * text3.C: added using std::find and std::vector directives.
10658 2002-08-29 André Pönitz <poenitz@gmx.net>
10661 * text2.C: remove unused member number_of_rows
10664 * BufferView2.C: remove file, move contents to...
10665 * BufferView.C: ... here
10667 * BufferView_pimpl.C:
10668 * factory.C: move more inset creation to factory
10670 * vspace.C: avoid direct usage of LyXText, ws changes
10673 don't provide direct access to WorkArea, use two simple
10674 acessors haveSelction() and workHeight() instead
10677 2002-08-29 John Levon <levon@movementarian.org>
10679 * BufferView_pimpl.C (dispatch): do not continue when
10682 2002-08-28 André Pönitz <poenitz@gmx.net>
10684 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10687 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10689 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10691 * buffer.C: increment LYX_FORMAT to 221
10693 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10694 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10696 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10698 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10700 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10702 * factory.C (createInset): use LyXTextClass::floats
10704 * MenuBackend.C (expandFloatListInsert):
10705 (expandFloatInsert):
10708 * text2.C (setCounter):
10710 * LaTeXFeatures.C (useFloat):
10711 (getFloatDefinitions):
10713 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10715 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10716 floatlist_, with accessor floats().
10718 * FloatList.h: remove global FloatList
10720 2002-08-26 André Pönitz <poenitz@gmx.net>
10722 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10726 * BufferView_pimpl.C:
10727 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10729 2002-08-25 John Levon <levon@movementarian.org>
10731 * LyXAction.C: fix margin note description
10733 2002-08-24 John Levon <levon@movementarian.org>
10737 * bufferview_funcs.C:
10739 * undo_funcs.C: cleanups
10741 * lyxfunc.C: disable CUT/COPY when no selection
10743 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10745 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10746 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10748 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10749 Add backward compatibility to "mono", "gray" and "no".
10751 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10753 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10754 (and file_format >= 200).
10756 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10758 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10760 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10762 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10764 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10766 * BufferView_pimpl.C:
10773 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10774 inset and code to make it work with the paragraph code. The inset
10775 can be anywhere in the paragraph, but will only do the expected
10776 thing in LaTeX if the layout file contains the parameter line
10778 (or more generally, a nonzero value) for that layout.
10780 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10782 * paragraph.h: remove the declaration of undefined counters class
10785 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10787 * text2.C (setCounter): fixed enumeration mis-count as reported by
10788 Dr. Richard Hawkins.
10790 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10792 * paragraph_funcs.h: remove some unneeded includes
10794 * text.C (backspace): pasteParagraph now in global scipe
10796 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10797 (pasteSelection): ditto
10799 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10800 * paragraph_funcs.C (pasteParagraph): ... here
10802 2002-08-20 André Pönitz <poenitz@gmx.net>
10804 * commandtags.h: new LFUNs for swapping/copying table row/colums
10807 * lyxfunc.C: support for new lfuns
10809 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10812 * buffer.[Ch]: remove NO_COMPABILITY stuff
10814 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10816 * boost.C (throw_exception): new file, with helper function for
10817 boost compiled without exceptions.
10822 * ParameterStruct.h:
10823 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10825 * bufferlist.C (emergencyWriteAll): use boost bind
10827 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10829 * text.C: include paragraph_funcs.h
10830 (breakParagraph): breakParagraph is now in global scope
10832 * paragraph_funcs.[Ch]: new files
10834 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10837 * buffer.C: include paragraph_funcs.h
10838 (insertStringAsLines): breakParagraph is now in global scope
10840 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10843 * CutAndPaste.C: include paragraph_funcs.h
10844 (cutSelection): breakParagraphConservative is now in global scope
10845 (pasteSelection): ditto
10847 * buffer.h: declare oprator== and operator!= for
10848 Buffer::inset_iterator
10850 * bufferlist.C (emergencyWrite): don't use fmt(...)
10852 * text3.C: add using std::endl
10854 * BufferView.C (moveCursorUpdate): remove default arg
10856 2002-08-20 André Pönitz <poenitz@gmx.net>
10858 * buffer.[Ch]: move inline functions to .C
10861 * BufferView_pimpl.C:
10863 * buffer.[Ch]: use improved inset_iterator
10866 * paragraph.[Ch]: write one paragraph at a time
10868 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10870 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10871 style if style is not specified.
10873 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10875 * text2.C (setCounter): when searching for right label for a
10876 caption, make sure to recurse to parent insets (so that a caption
10877 in a minipage in a figure float works) (bug #568)
10879 2002-08-20 André Pönitz <poenitz@gmx.net>
10881 * text3.C: new file for LyXText::dispatch() and helpers
10883 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10885 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10887 2002-08-19 André Pönitz <poenitz@gmx.net>
10890 * text.C: new LyXText::dispatch()
10892 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10894 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10896 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10898 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10901 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10903 * Makefile.am: use $(variables) instead of @substitutions@
10905 2002-08-15 André Pönitz <poenitz@gmx.net>
10908 * BufferView_pimpl.C: streamlining mathed <-> outer world
10912 * LyXAction.C: remove unused LFUN_MATH
10914 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10916 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10918 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10920 * paragraph.C (Paragraph): reformat a bit
10921 (cutIntoMinibuffer): use builtin InsetList function instad of
10925 * buffer.C: include boost/bind.hpp, add using std::for_each
10926 (writeFileAscii): use ParagraphList iterators
10927 (validate): use for_each for validate traversal of paragraphs
10928 (getBibkeyList): use ParagraphList iterators
10929 (resizeInsets): use for_each to resizeInsetsLyXText for all
10931 (getParFromID): use ParagraphList iterators
10933 * BufferView2.C (lockInset): use paragraph list and iterators
10935 2002-08-14 John Levon <levon@movementarian.org>
10937 * lyxserver.C: remove spurious xforms include
10939 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10941 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10943 2002-08-13 André Pönitz <poenitz@gmx.net>
10946 * lyxfunc.C: further cleaning
10948 2002-08-13 André Pönitz <poenitz@gmx.net>
10950 * funcrequest.h: new constructor
10952 * funcrequest.C: move stuff here from .h
10955 * BufferView_pimpl.C:
10958 * lyxfunc.C: subsequent changes
10960 * lyxfunc.h: new view() member function
10962 * lyxfunc.C: subsequent changes
10964 2002-08-13 Angus Leeming <leeming@lyx.org>
10967 * BufferView_pimpl.C:
10975 changes due to the changed LyXView interface that now returns references
10976 to member variables not pointers.
10978 2002-08-13 Angus Leeming <leeming@lyx.org>
10980 * WordLangTuple (word, lang_code): return references to strings,
10985 * lyxtext.h: forward-declare WordLangTuple.
10990 * text.C: #include "WordLangTuple.h".
10993 * text.C: (selectNextWordToSpellcheck): constify return type.
10995 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11001 * paragraph_pimpl.h:
11004 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11005 suggested by Angus.
11006 Made updateCounter always count from start of buffer, and removed
11007 second argument (par).
11008 Reverted floats number display to '#'. Perhaps I'll try again when the
11009 code base is sanitized a bit.
11011 2002-08-12 Angus Leeming <leeming@lyx.org>
11013 * buffer.[Ch] (getLabelList): constify.
11015 2002-08-07 André Pönitz <poenitz@gmx.net>
11017 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11019 * funcrequest.h: extension to keep mouse (x,y) position
11021 2002-08-12 Juergen Vigna <jug@sad.it>
11023 * BufferView2.C (insertErrors): forbid undo when inserting error
11026 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11028 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11030 * ParagraphList.[Ch]: new files
11032 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11034 * BufferView2.C (lockInset): ParagraphList changes
11037 * bufferlist.C: ditto
11041 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11043 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11044 unused class variable counter_,
11046 * paragraph.[Ch] (getFirstCounter): delete unused function
11048 * counters.C: include LAssert.h
11049 (reset): add a new function with no arg, change other version to
11050 not have def. arg and to not allow empty arg.
11052 * text2.C (setCounter): remove empty arg from call to Counters::reset
11054 2002-08-11 John Levon <levon@movementarian.org>
11056 * Makefile.am: add WordLangTuple.h
11058 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11060 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11061 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11063 * insets/insettext.C: InsetList changes
11065 * graphics/GraphicsSupport.C (operator()): InsetList changes
11067 * toc.C (getTocList): InsetList changes
11069 * paragraph_pimpl.[Ch]: InsetList changes
11071 * paragraph.[Ch]: InsetList changes
11073 * buffer.C (inset_iterator): InsetList changes
11074 (setParagraph): ditto
11075 * buffer.h (inset_iterator): ditto
11076 * iterators.C (operator++): ditto
11077 * iterators.h: ditto
11079 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11081 * InsetList.[Ch]: new files, most InsetList handling moved out of
11084 * BufferView2.C (removeAutoInsets): InsetList changes
11086 (ChangeInsets): ditto
11088 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11090 * paragraph_pimpl.h (empty): new function
11092 * paragraph.[Ch] (empty): new function
11094 * other files: use the new Paragraph::empty function
11096 2002-08-09 John Levon <levon@movementarian.org>
11098 * lyxtext.h: remove unused refresh_height
11100 2002-08-09 John Levon <levon@movementarian.org>
11107 * paragraph.C: move sgml char escaping out of paragraph
11110 * paragraph.C: remove id setter
11114 * paragraph_pimpl.C: remove dead tex_code_break_column
11116 * bufferview_funcs.C: small cleanup
11118 * lyxfunc.C: remove dead proto
11120 * lyxtext.h: make some stuff private. Remove some dead stuff.
11122 * lyxgluelength.C: make as[LyX]String() readable
11124 2002-08-08 John Levon <levon@movementarian.org>
11129 * ToolbarDefaults.C:
11132 * toc.C: lyxaction cleanup
11134 2002-08-08 John Levon <levon@movementarian.org>
11136 * BufferView2.C: small cleanup
11139 * lyxfind.C: move unnecessary header into the .C
11141 2002-08-08 John Levon <levon@movementarian.org>
11143 * funcrequest.h: just tedious nonsense
11146 * lyx_main.C: cleanups
11149 * vspace.C: remove dead header lyx_main.h
11151 2002-08-07 Angus Leeming <leeming@lyx.org>
11154 * paragraph_pimpl.h:
11155 Forward declare class Counters in paragraph.h by moving the ctrs member
11156 variable into Paragraph::Pimpl.
11157 (counters): new method, returning a reference to pimpl_->ctrs.
11159 * text2.C: ensuing changes.
11161 2002-08-07 John Levon <levon@movementarian.org>
11163 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11165 * BufferView_pimpl.C: announce X selection on double/triple
11168 * lyx_main.C: use correct bool in batch dispatch
11170 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11172 2002-08-07 André Pönitz <poenitz@gmx.net>
11174 * funcrequest.h: new class to wrap a kb_action and its argument
11177 * BufferView_pimpl[Ch]:
11181 * lyxrc.C: subsequent changes
11184 2002-08-07 John Levon <levon@movementarian.org>
11186 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11187 document options change.
11189 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11194 * makefile.am: move counters functionality over from
11195 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11197 2002-08-06 John Levon <levon@movementarian.org>
11199 * WordLangTuple.h: new file for word + language code tuple
11210 * BufferView2.C: use WordLangTuple
11213 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11215 2002-08-06 John Levon <levon@movementarian.org>
11217 * lyx_main.C: fix cmdline batch handling
11219 2002-08-06 André Pönitz <poenitz@gmx.net>
11221 * lyxrc.C: set default for show_banner to true
11223 2002-08-06 John Levon <levon@movementarian.org>
11225 * pspell.C: fix a crash, and allow new aspell to work
11227 2002-08-06 John Levon <levon@movementarian.org>
11230 * kbmap.C: small cleanup
11233 * vspace.C: add const
11235 2002-08-05 John Levon <levon@movementarian.org>
11237 * LyXAction.C: back to tabular-insert
11239 2002-08-04 John Levon <levon@movementarian.org>
11242 * BufferView.C: cosmetic change
11244 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11254 * BufferView2.C: purge all "Lyx" not "LyX" strings
11257 * lyxcursor.C: attempt to add some documentation
11262 * ToolbarDefaults.C:
11263 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11264 merge with LFUN_TABULAR_INSERT
11271 * pspell.C: split up i/pspell implementations into separate
11272 files, many cleanups
11274 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11276 * text2.C: some cleanup
11278 * lyxfunc.C: don't check for isp_command == "none" any more, it
11279 didn't make any sense
11281 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11286 * makefile.am: move counters functionality over
11287 from text2.C/paragraph.[Ch] to counters.[Ch], and
11289 2002-08-02 John Levon <levon@movementarian.org>
11291 * buffer.C: s/lyxconvert/lyx2lyx/
11293 2002-08-02 Angus Leeming <leeming@lyx.org>
11295 * lyxlex.C: revert John's change as it breaks reading of the user
11298 2002-08-02 Angus Leeming <leeming@lyx.org>
11300 * importer.C (Import):
11301 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11302 changes due to LyXView::view() now returning a boost::shared_ptr.
11304 2002-08-02 John Levon <levon@movementarian.org>
11306 * lyxlex.C: small cleanup
11308 2002-08-02 John Levon <levon@movementarian.org>
11310 * text2.C (status): small cleanup, no logic change
11312 2002-08-01 John Levon <levon@movementarian.org>
11315 * buffer.C (writeFile): don't output alerts, caller
11319 * lyx_cb.C: from above
11321 * lyxfunc.C: allow to open non-existent files
11323 2002-07-31 John Levon <levon@movementarian.org>
11325 * lyxserver.C: don't let incidental errors get
11328 2002-07-30 John Levon <levon@movementarian.org>
11330 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11332 2002-07-30 John Levon <levon@movementarian.org>
11335 * lyxserver.C: remove I/O callback too
11337 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11339 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11342 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11344 * many files: strip,frontStrip -> trim,ltrim,rtrim
11346 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11348 * PrinterParams.h: remove extern containsOnly, and include
11349 support/lstrings.h instead.
11351 * LaTeX.C (scanAuxFile): modify because of strip changes
11353 * buffer.C (makeLaTeXFile): ditto
11354 * bufferparams.C (writeFile): ditt
11355 * lyxfont.C (stateText): ditto
11356 * lyxserver.C (read_ready): ditto
11357 * vc-backend.C (scanMaster): ditto
11359 * BufferView_pimpl.h: ws changes
11361 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11363 2002-07-26 André Pönitz <poenitz@gmx.net>
11365 * kb_sequence.C: remove unnedred usings
11367 2002-07-26 Juergen Vigna <jug@sad.it>
11369 * lyxfind.C (LyXReplace): we have to check better if the returned
11370 text is not of theLockingInset()->getLockingInset().
11372 2002-07-25 Juergen Vigna <jug@sad.it>
11374 * lyxfind.C (LyXReplace): don't replace if we don't get the
11377 * undo_funcs.C (createUndo): remove debugging code.
11379 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11381 * buffer.C (parseSingleLyXformat2Token): Use default placement
11382 when reading old floats.
11384 * FloatList.C (FloatList): Change the default placement of figure
11385 and tables to "tbp".
11387 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11389 * MenuBackend.C: using std::max
11391 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11393 * MenuBackend.C (expandToc):
11394 (expandToc2): code moved from xforms menu frontend. It is now
11395 generic and TOCs are transparent to menu frontends.
11397 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11399 * toc.C (getTocList): protect against buf=0
11401 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11402 Menu as first parameter. Now, this calls itself recursively to
11403 expand a whole tree (this will be useful for TOC handling)
11404 (expandFloatInsert): remove 'wide' version of floats
11406 * MenuBackend.h (submenuname): returns the name of the submenu.
11407 (submenu): returns the submenu itself, provided it has been
11408 created by MenuBackend::expand
11410 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11412 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11413 insets which have noFontChange == true. (bug #172)
11415 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11417 * BufferView_pimpl.C: add connection objects and use them...
11420 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11422 * MenuBackend.C (expandLastfiles):
11425 (expandFloatListInsert):
11426 (expandFloatInsert):
11427 (expand): split expand in parts
11429 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11431 * lyx_gui.C: use lyx_gui::exit()
11433 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11435 * LyXAction.C: show the failing pseudo action
11437 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11439 * buffer.C (readFile): Run the lyxconvert script in order to read
11442 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11446 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11448 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11452 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11454 2002-07-22 Herbert Voss <voss@lyx.org>
11457 * lyxlength.[Ch]: add support for the vertical lengths
11459 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11461 * toc.[Ch]: std:: fixes
11463 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11465 * lyxrc.C: do not include lyx_main.h
11467 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11473 * BufferView2.C: include "lyxlex.h"
11476 * bufferparams.h: do not #include "lyxlex.h"
11478 * lyxtextclasslist.C (Add): remove method
11479 (classlist): renamed to classlist_
11481 * paragraph_pimpl.C:
11485 * bufferview_funcs.C:
11490 * toc.C (getTocList): use BufferParams::getLyXTextClass
11492 * toc.C (getTocList): use InsetFloat::addToToc
11494 * toc.[Ch]: new files, containing helper functions to handle table
11497 * lyxfunc.C (dispatch): no need to remove spaces around command
11499 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11500 first command of the sequence; it is not very clever, but I do not
11501 have a better idea, actually
11503 * LyXAction.C (LookupFunc): make sure to remove space at the
11504 beginning and end of the command
11506 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11508 * MenuBackend.C (getMenubar): new method: return the menubar of
11510 (read): treat differently reading of menu and menubar (in
11511 particular, the menubar has no name now)
11512 (Menu::menubar): remove
11514 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11517 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11519 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11520 a bibitem inset in a RTL paragraph.
11522 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11524 * paragraph_pimpl.C: constify
11526 * BufferView_pimpl.C:
11528 * lyxfunc.C: fix dispatch in a nicer way
11530 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11532 * lyxfunc.C (dispatch):
11533 * BufferView_pimpl.C:
11534 * BufferView_pimpl.h:
11536 * BufferView.h: rename Dispatch() to dispatch()
11538 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11540 * lyxlayout.C (Read): honor DependsOn tag
11542 * lyxlayout.[Ch] (depends_on): new method
11544 * version.C.in: update lyx_docversion
11546 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11548 * paragraph.C (validate): remove from here...
11549 * paragraph_pimpl.C (validate): ... and move here
11550 (isTextAt): make it const
11552 * buffer.C (getLists): ws cleanup
11554 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11556 * language.C (read): Use iso8859-1 encoding in latex_lang
11557 (this prevents LyX from crashing when using iso10646-1 encoding).
11559 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11561 * text2.C (toggleInset): if cursor is inside an inset, close the
11562 inset and leave cursor _after_ it
11564 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11566 * lyxfunc.C: move minibuffer completion handling out of here
11568 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11570 * BufferView_pimpl.C:
11571 * LaTeX.C: fix dispatch calls
11573 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11575 * text.C (drawChars): Fix Arabic text rendering.
11577 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11581 * lyxfunc.C: remove message-push/pop
11585 * lyxfunc.C: rationalise some code by removing verboseDispatch
11586 in favour of a bool argument to dispatch()
11588 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11590 * lyx_main.C (init): make sure to read symlinks as absolute paths
11592 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11595 * lyxfunc.C: no need for commandshortcut to be a member
11597 2002-07-15 André Pönitz <poenitz@gmx.net>
11599 * converter.C: add support for $$s (scripts from lib/scripts dir)
11600 * lyx_main.C: white space
11602 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11606 * lyxrc.C: remove second exit confirmation
11608 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11613 * BufferView_pimpl.h:
11614 * BufferView_pimpl.C:
11615 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11617 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11619 * MenuBackend.C (expand): add numeric shortcuts to document menu
11621 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11623 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11625 * lyxfont.C (setLyXFamily):
11632 * buffer.C (asciiParagraph): use ascii_lowercase
11634 2002-07-15 Mike Fabian <mfabian@suse.de>
11636 * lyxlex_pimpl.C (search_kw):
11637 * lyxlex.C (getLongString):
11638 * converter.h (operator<):
11639 * converter.C (operator<):
11640 * buffer.C (parseSingleLyXformat2Token):
11642 * ToolbarDefaults.C (read):
11643 * MenuBackend.C (checkShortcuts):
11645 * LColor.C (getFromGUIName):
11646 (getFromLyXName): use the compare_ascii_no_case instead of
11647 compare_no_case, because in turkish, 'i' is not the lowercase
11648 version of 'I', and thus turkish locale breaks parsing of tags.
11650 2002-07-16 Angus Leeming <leeming@lyx.org>
11652 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11653 now takes a Buffer const & argument.
11655 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11657 * BufferView.C (resize): check there's a buffer to resize
11659 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11661 * lyxfunc.C: remove dead code
11664 * lyxserver.C: use lyx_guii::set_read_callback
11666 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11668 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11669 an inset in a RTL paragraph.
11671 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11673 * lyxfunc.C: repaint after a font size update
11675 2002-07-15 André Pönitz <poenitz@gmx.net>
11677 * lyxlength.C: inBP should be able to return negative values
11679 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11681 * lyxfunc.C: use lyx_gui::update_fonts()
11683 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11685 * lyxfunc.C: use lyx_gui::update_color()
11687 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11693 * lyxrc.C: remove file->new asks for name option, and let
11694 buffer-new take an argument
11696 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11698 * BufferView_pimpl.C: remove unneeded extra repaint()
11700 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11702 * LyXAction.C: allow command-sequence with NoBuffer
11704 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11706 2002-07-10 Angus Leeming <leeming@lyx.org>
11708 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11710 2002-07-09 Angus Leeming <leeming@lyx.org>
11712 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11714 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11716 * lengthcommon.h: whitespace
11718 * lyxfunc.C: update scrollbar after goto paragraph
11720 * lyxtext.h: factor out page break drawing, and fix it so
11721 page break/added space paints as selected nicely
11723 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11725 * BufferView_pimpl.C: add FIXMEs, clean up a little
11727 2002-07-09 André Pönitz <poenitz@gmx.net>
11729 * lyxfont.[Ch]: support for wasy symbols
11731 2002-07-08 André Pönitz <poenitz@gmx.net>
11733 * BufferView_pimpl.C: apply John's patch for #93.
11735 2002-07-05 Angus Leeming <leeming@lyx.org>
11737 * BufferView_pimpl.C (buffer): generate previews if desired.
11739 * LColor.h: add "preview" to the color enum.
11741 * LColor.C (LColor): add a corresponding entry to the items array.
11743 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11746 2002-07-05 Angus Leeming <leeming@lyx.org>
11748 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11749 The body of the code is now in the method that is passed an ostream &
11750 rather than a file name.
11751 Pass an additional only_preamble parameter, useful for the forthcoming
11754 2002-07-03 André Pönitz <poenitz@gmx.net>
11756 * lyxfunc.C: simplify getStatus() a bit for math stuff
11758 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11760 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11762 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11764 * text.C (changeRegionCase): do not change case of all the
11765 document when region ends at paragraph end (bug #461)
11767 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11769 * paragraph.C (startTeXParParams):
11770 (endTeXParParams): add \protect when necessary
11772 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11774 * BufferView_pimpl.C (workAreaExpose): remove warning
11776 2002-06-27 Angus Leeming <leeming@lyx.org>
11778 * Makefile.am: add lyxlayout_ptr_fwd.h.
11780 2002-06-26 André Pönitz <poenitz@gmx.net>
11782 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11784 2002-06-25 Angus Leeming <leeming@lyx.org>
11786 * lyxfunc.C (dispatch): Comment out the call to
11787 grfx::GCache::changeDisplay. The method no longer exists now that the
11788 pixmap generation part of the graphics loader has been moved into
11791 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11793 * text2.C: layout as layout
11795 * text.C: layout as layout
11797 * tabular.C (OldFormatRead): layout as layout
11799 * paragraph_pimpl.C (TeXDeeper): layout as layout
11800 (realizeFont): layout as layout
11802 * paragraph.C (writeFile): layout as layout
11803 (validate): layout as layout
11804 (getFont): layout as layout
11805 (getLabelFont): layout as layout
11806 (getLayoutFont): layout as layout
11807 (breakParagraph): layout as layout
11808 (stripLeadingSpaces): layout as layout
11809 (getEndLabel): layout as layout
11810 (getMaxDepthAfter): layout as layout
11811 (applyLayout): layout as layout
11812 (TeXOnePar): layout as layout
11813 (simpleTeXOnePar): layout as layout
11814 (TeXEnvironment): layout as layout
11815 (layout): layout as layout
11816 (layout): layout as layout
11818 * lyxtextclass.C (compare_name): new functor to work with
11819 shared_ptr, layout as layout
11820 (Read): layout as layout
11821 (hasLayout): layout as layout
11822 (operator): layout as layout
11823 (delete_layout): layout as layout
11824 (defaultLayout): layout as layout
11826 * lyxlayout_ptr_fwd.h: new file
11828 * lyxlayout.C (Read): layout as layout
11830 * lyx_cb.C (MenuInsertLabel): layout as layout
11832 * bufferlist.C (newFile): layout as layout
11834 * buffer.C (readLyXformat2): layout as layout
11835 (parseSingleLyXformat2Token): layout as layout
11836 (insertStringAsLines): layout as layout
11837 (asciiParagraph): layout as layout
11838 (latexParagraphs): layout as layout
11839 (makeLinuxDocFile): layout as layout
11840 (simpleLinuxDocOnePar): layout as layout
11841 (makeDocBookFile): layout as layout
11842 (simpleDocBookOnePar): layout as layout
11843 (getLists): layout as layout
11845 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11847 * CutAndPaste.C (cutSelection): layout as layout
11848 (pasteSelection): layout as layout
11849 (SwitchLayoutsBetweenClasses): layout as layout
11851 * BufferView_pimpl.C (Dispatch): layout as layout
11852 (smartQuote): layout as layout
11854 * BufferView2.C (unlockInset): layout as layout
11856 2002-06-24 André Pönitz <poenitz@gmx.net>
11858 * lyxfunc.C: fix #487
11860 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11864 * lyxfunc.C: remove display_shortcuts, show_banner
11866 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11868 * Buffer_pimpl.C: oops, update on resize
11870 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11877 * BufferView.C: use repaint()
11879 * BufferView_pimpl.h:
11880 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11881 as it's a clearer description. Remove superfluous
11884 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11886 * text.C: fix bug 488. Not ideal, but getting
11887 getWord() to work properly for the insets that
11888 matter is more difficult ...
11890 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11892 * BufferView_pimpl.C:
11895 * lyxfunc.C: remove the six million index lyxfuncs to just
11896 one, and DTRT (bug 458)
11898 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11902 * BufferView_pimpl.h:
11903 * BufferView_pimpl.C: clean up resize() stuff,
11904 and unnecessary updateScreen()s
11906 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11910 * BufferView_pimpl.h:
11911 * BufferView_pimpl.C:
11914 * minibuffer.C: remove focus management of workarea,
11915 not needed. Use screen's greyOut()
11917 2002-06-17 Herbert Voss <voss@lyx.org>
11919 * converter.C: (convert) do not post a message, when converting
11920 fails, let the calling function decide what to do in this case
11922 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11924 * lyxfunc.C: tidy up a little
11926 2002-06-16 <alstrup@diku.dk>
11928 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11929 Got rid of FORMS_H_LOCATION include. Now we are
11932 2002-06-15 LyX Development team <lyx@rilke>
11934 * buffer.[Ch] (sgmlOpenTag):
11935 (sgmlCloseTag): Added support for avoiding pernicious mixed
11936 content. Return number of lines written.
11938 (makeLinuxDocFile):
11939 (makeDocBookFile): Fixed calls to sgml*Tag.
11940 Simple white space clean.
11942 (simpleDocBookOnePar): Simple white space clean.
11944 * tabular.[Ch] (docBook): Renamed to docbook and got another
11945 argument to related with the pernicious mixed content.
11947 (docbookRow): Fixed calls for docbook inset method.
11949 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11951 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11952 so it's X11 independent.
11956 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11958 2002-06-15 Lyx Development team <lyx@electronia>
11960 * intl.h: Renamed getTrans to getTransManager.
11962 2002-06-14 Angus Leeming <leeming@lyx.org>
11964 * Makefile.am: nuke forgotten stl_string_fwd.h.
11966 2002-06-12 Angus Leeming <leeming@lyx.org>
11968 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11970 2002-06-13 Angus Leeming <leeming@lyx.org>
11973 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11975 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11977 * kbmap.C (getiso): add support for cyrillic and greek
11979 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11983 * BufferView_pimpl.h:
11984 * BufferView_pimpl.C: move bogus scrolling logic
11987 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11990 * BufferView_pimpl.C: view->resize() change
11992 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11994 * BufferView_pimpl.C: topCursorVisible
11997 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12001 * lyx_gui.C: move to frontends/
12005 * lyx_main.C: changes from above
12007 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12014 * lyx_main.C: minor tidy
12016 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12018 * BufferView_pimpl.h:
12019 * BufferView_pimpl.C:
12021 * BufferView.C: make painter() const,
12024 * BufferView2.C: use screen() accessor
12027 * lyx_main.C: some minor cleanup
12029 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12031 * BufferView_pimpl.h:
12032 * BufferView_pimpl.C: remove enter/leaveView,
12035 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12040 * BufferView_pimpl.h:
12041 * BufferView_pimpl.C: only construct screen once,
12044 * lyxrc.C: remove pointless comment
12046 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12049 * BufferView.C: remove active() and belowMouse()
12051 * BufferView_pimpl.h:
12052 * BufferView_pimpl.C: use workarea() not workarea_,
12053 and make it use a scoped_ptr instead
12055 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12057 * lyx_gui.C: add debug message on BadWindow
12059 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12061 * sp_spell.C: fdopen is not part of the C++ standard.
12063 * paragraph.C (InsetIterator): use >= instead of ==
12065 2002-06-07 Angus Leeming <leeming@lyx.org>
12067 Fixes needed to compile with Compaq cxx 6.5.
12068 * BufferView_pimpl.C:
12075 * lyxtextclasslist.C:
12080 all c-library variables have been moved into namespace std. Wrap
12081 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12086 Add a using std::abs declaration.
12088 * kbmap.h (modifier_pair):
12089 * paragraph.h (InsetTable, InsetList):
12090 * lyxfont.h (FontBits):
12091 type definition made public.
12093 * bufferlist.C (emergencyWriteAll): the compiler complains that
12094 there is more than one possible lyx::class_fun template to choose from.
12095 I re-named the void specialisation as lyx::void_class_fun.
12097 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12099 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12100 the compiler is is unable to find tostr in write_attribute.
12102 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12104 * buffer.C (sgmlError): hide #warning
12106 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12108 * xtl/*: get rid of xtl, which is not in use anyway
12110 * LyXAction.C (init):
12111 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12112 were unimplemented xtl experimentation
12114 2002-06-04 André Pönitz <poenitz@gmx.net>
12116 * lyxfunc.C: disable array operation on simple formulae
12118 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12120 * converter.C: constify a bit
12122 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12124 * lyx_gui.C: check xforms version correctly
12126 2002-04-30 Herbert Voss <voss@lyx.org>
12128 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12131 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12133 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12134 attempt to register it with a VCS)
12136 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12138 * lyx_main.C (init): honor variables LYX_DIR_13x and
12141 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12145 * lyx_main.C: fix a crash on bad command line,
12146 and give a useful exit status on error
12148 * lyxfunc.C (doImport): allow -i lyx to work
12150 2002-03-30 André Pönitz <poenitz@gmx.net>
12152 * lyxfunc.C: mathed font changes
12154 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12169 * trans_mgr.h: srcdocs, and some minor cleanups
12171 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12173 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12174 call getFont all the time)
12176 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12178 * switch from SigC signals to boost::signals
12180 2002-05-29 André Pönitz <poenitz@gmx.net>
12182 * paragraph_pimpl.C (getChar): don't call size() too often...
12184 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12186 * paragraph_pimpl.C (insertChar): do not try to update tables when
12187 appending (pos == size())
12189 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12190 in order to reduce drastically the number of comparisons needed to
12191 parse a large document
12193 2002-05-29 André Pönitz <poenitz@gmx.net>
12199 * textclasslist.[Ch]:
12200 * sp_ispell.h: whitespace change
12202 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12204 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12205 lyxaction directly now.
12207 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12211 * lyxvc.C: remove unused headers
12213 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12220 * undo_funcs.C: some cleanups. Use shared_ptr
12221 and a template for the undo stacks.
12223 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12225 * BufferView_pimpl.h:
12226 * BufferView_pimpl.C:
12233 * text2.C: use key_state/mouse_state
12235 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12237 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12240 * chset.C: change include order
12241 (loadFile): use boost regex and get rid of LRegex and LSubstring
12243 * Makefile.am (BOOST_LIBS): new variable
12244 (lyx_LDADD): use it
12246 * LaTeX.C: change include order.
12247 (scanAuxFile): use boost regex and get rid of LRegex and
12251 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12256 * FontInfo.C: moved to frontends/xforms/
12259 * FontLoader.C: moved into frontends for GUIIzation
12264 * lyxfunc.C: changes from above
12266 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12268 * LColor.C: remove spurious X include
12270 * BufferView_pimpl.C:
12275 * text2.C: move font metrics to frontends/
12277 2002-05-24 Juergen Vigna <jug@sad.it>
12279 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12280 setting the undo_cursor.
12282 * ParagraphParameters.h: include local includes first.
12284 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12286 * BufferView_pimpl.C:
12287 * BufferView_pimpl.h:
12291 * screen.C: move WorkArea into frontends/
12297 * BufferView2.C: move LyXScreen into frontends/
12301 * lyx_gui.C: move lyxlookup into frontends/xforms/
12303 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12306 * BufferView_pimpl.C:
12316 * bufferview_funcs.C:
12329 * vc-backend.C: move LyX/XFormsView into frontends/
12331 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12343 * text2.C: move Painter to frontends/
12345 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12347 * buffer.C: comment out some some code that depend upon lyx_format
12350 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12351 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12353 * buffer.h (NO_COMPABILITY): turn off compability
12355 * ColorHandler.C: include scoped_array.hpp
12357 * font.C: Use more specific smart_ptr header.
12360 * ShareContainer.h: ditto
12361 * lyx_main.h: ditto
12363 * FontInfo.h: ditto
12364 * BufferView_pimpl.h: ditto
12365 * ColorHandler.h: ditto
12367 * kbmap.C (defkey): change call to shared_ptr::reset
12369 2002-05-21 Juergen Vigna <jug@sad.it>
12371 * buffer.C (insertErtContents): fix to insert ert asis if it is
12372 non empty. Skip it completely if it contains only whitespaces.
12374 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12376 * BufferView_pimpl.C:
12377 * BufferView2.C: clear selection on paste (bug 393)
12379 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12381 * DepTable.C: include ctime
12383 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12385 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12387 2002-05-14 Juergen Vigna <jug@sad.it>
12389 * text.C (breakParagraph): fixed function to honor the keepempty
12390 layout in the right maner and also to permit the right breaking
12391 algorithm on empty or non empyt keepempty paragraphs.
12393 * paragraph.C (breakParagraph): we have to check also if the par
12394 is really empty (!size()) for isempty otherwise we do the wrong
12397 2002-05-10 Juergen Vigna <jug@sad.it>
12399 * buffer.[Ch] : The following are only changes to the ert
12400 compatibility read reading old LaTeX layout and font stuff and
12401 convert it to ERTInsets.
12403 * buffer.h: added isErtInset().
12405 * buffer.C (struct ErtComp): add a fromlayout bool to check
12406 if we're inside a LaTeX layout.
12407 (isErtInset): new helper function.
12408 (insertErtContents): look for other ert insets before this one
12409 and insert the contents there, so that we don't have subsequent
12410 ERT insets with nothing between them. This way we create only one
12411 inset with multiple paragraphs. Also check if we don't insert only
12412 spaces ' ' as they are ignored anyway afterwards in the .tex file
12413 so if we have only spaces we will ignore this latex part in the
12415 (parseSingleLyXformat2Token \\layout): better compatibility when
12416 reading layout-latex stuff.
12417 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12419 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12420 stuff after reading the inset only get the information back from
12423 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12425 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12427 * LaTeXFeatures.C (getBabelOptions): New method.
12429 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12431 * BufferView_pimpl.C (Dispatch): work around missing argument for
12434 2002-05-08 Juergen Vigna <jug@sad.it>
12436 * text.C (leftMargin): handle paragraph leftindent.
12438 * paragraph.C (writeFile): write the new \\leftindent tag.
12439 (validate): handle leftindent code.
12440 (TeXEnvironment): handle paragraphleftindent code again.
12442 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12444 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12445 for paragrap_extra indent code and new token \\leftindent.
12446 (latexParagraphs): handle the leftindent as environment.
12448 * ParameterStruct.h: added leftindent support.
12450 * ParagraphParameters.C (leftIndent): added support functions for
12451 the paragraph left indent.
12453 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12456 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12458 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12461 * text.C (computeBidiTables): No bidi in insetERT.
12463 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12466 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12468 * version.C.in: pre 5
12470 2002-05-02 José Matos <jamatos@fep.up.pt>
12471 * buffer.C (makeDocBookFile): white space changes, add newline to
12473 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12475 * tabular.C (docBook): fix typo.
12477 2002-05-03 Juergen Vigna <jug@sad.it>
12479 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12480 change in LyXText as we can not be sure it was not freed.
12481 (drawOneRow): remove unused code.
12483 * text.C (drawInset): redo the calculation of the need_break_row as
12484 it could have a row which was already freed.
12485 (draw): look at the return value of drawInset and return false if
12486 it also returned false.
12487 (paintRowText): look at the return value of draw and return false if
12488 it also returned false.
12490 * lyxtext.h: added bool return type to drawInset() and draw() so that
12491 if we have a change in the row so that the rowbreak has to be redone
12492 we abort drawing as it will be called again.
12494 2002-05-02 Juergen Vigna <jug@sad.it>
12496 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12497 a change in the maintext also if we're inside an inset.
12498 (Dispatch): set the cursor again after a break line and after the
12499 screen has been updated as it could be we're in a different row.
12501 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12502 to set the cursor behind the pargraph with > size().
12503 (setCursor): check also for the same paragraph when checking where
12504 to put the cursor if we have a NFR inset.
12506 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12507 parts of layout read further up as it still was in the wrong
12510 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12512 * screen.C (drawFromTo): change sine fullRebreak always return
12515 * buffer.C (parseSingleLyXformat2Token): reindent some
12517 * BufferView_pimpl.C (update): change since fullRebreak always
12519 (Dispatch): git rid of the last hardcoded "Standard"s.
12521 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12523 * text2.[Ch] (fullRebreak): make it return void now that we always
12526 2002-04-30 Juergen Vigna <jug@sad.it>
12528 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12529 ert compatibility check for "latex" layout.
12531 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12533 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12534 minipages: use col% instead of p%, and also use the current font.
12535 (makeLaTeXFile): Fix use babel condition.
12536 (parseSingleLyXformat2Token): Correct font when reading old floats.
12538 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12540 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12541 inserting list of floats.
12543 2002-04-25 Herbert Voss <voss@lyx.org>
12545 * MenuBackend.C (expand): don't add the graphics extensions to the
12548 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12550 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12551 non-existing layout, do not complain if it was the default layout
12552 of the original class (bug #342)
12554 2002-04-24 Juergen Vigna <jug@sad.it>
12556 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12557 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12559 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12561 * buffer.C (getBibkeyList): If using \bibliography, return the
12562 option field with the reference itself. Enables us to provide natbib
12563 support when using \bibliography.
12565 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12567 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12569 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12570 natbib is provided by the LaTeX class.
12572 2002-04-23 Juergen Vigna <jug@sad.it>
12574 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12577 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12579 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12581 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12583 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12584 ensuremath around textordmasculine, textordfeminine and
12587 2002-04-19 Juergen Vigna <jug@sad.it>
12589 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12590 reinitializing the buffer otherwise row-dimensions may be wrong.
12591 (update): reset also the selection cursors if they do exits otherwise
12592 their x/y positions may be wrong.
12594 * text2.C (cursorDown): don't enter the inset if we came from a row
12595 above and are one row over the inset.
12597 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12598 really leaving an inset.
12600 2002-04-18 Juergen Vigna <jug@sad.it>
12602 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12603 of the selected paragraph does not have the selected layout also if
12606 * text2.C (setLayout): fixed bug which did not change last selected
12609 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12610 changed the read and substituted \\end_float with \\end_inset!
12612 * BufferView_pimpl.C (cursorPrevious):
12613 (cursorNext): fixed to make it work with rows heigher than the work
12614 area without moving the cursor only the draw of the row.
12615 (workAreaMotionNotify): fix jumping over high rows.
12617 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12619 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12622 2002-04-16 Juergen Vigna <jug@sad.it>
12624 * text2.C (setCursor): set also the irow().
12625 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12627 (cursorDown): support for locking an inset if the x_fix value goes
12628 inside it. That way I can transverse insets too with cursor up/down.
12630 * lyxrow.h: added irow helper function same as other (i) functions.
12632 * BufferView_pimpl.C (cursorPrevious):
12633 (cursorNext): fixed for insets!
12635 2002-04-15 Juergen Vigna <jug@sad.it>
12637 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12638 position otherwise it is wrong in some cases.
12640 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12641 inside the inset before the call.
12643 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12645 * buffer.[Ch] (getBibkeyList): make it const.
12647 2002-04-12 Juergen Vigna <jug@sad.it>
12649 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12651 * text2.C (getCursorX): new helper function
12652 (setCursor): compute also ix_
12653 (setCursorFromCoordinates): set also ix.
12655 * lyxcursor.h: added ix_ and helper functions.
12657 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12659 * buffer.C (insertStringAsLines): dont break paragraph if the this
12660 paragraph is inside an inset which does not permit it!
12662 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12663 also with no chars on this paragraph.
12664 (paintRowText): only paint stuff if it's inside the workarea!
12666 * paragraph.C (breakParagraph): honor keepempty flag and break the
12667 paragraph always below not above.
12669 * BufferView2.C (unlockInset): update the paragraph layout on inset
12670 unlock as we changed paragraph in such a case.
12672 * lyxfind.C (LyXFind): clear the former selection if not found!
12674 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12675 again called in insertChar().
12677 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12678 an inset which uses the whole row!
12679 (rightMargin): ditto.
12680 (insertChar): force a rebreak if we inserted an inset!
12682 2002-03-28 Herbert Voss <voss@lyx.org>
12684 * lyxlength.[Ch]: add inBP() to get the right PS-point
12685 units (BigPoint). With inPixels we have rounding errors
12687 2002-04-11 Juergen Vigna <jug@sad.it>
12689 * text2.C (setCursorFromCoordinates): set iy to the right value.
12690 (setCursor): add check if row->previous exists!
12692 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12693 an old float_type as this was the case in the old code!
12695 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12697 * BufferView2.C (showLockedInsetCursor): use iy
12698 (fitLockedInsetCursor): ditto
12700 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12701 locked insets as there we have the right value now.
12703 * lyxcursor.C: added iy_ variable and iy functions to set to the
12704 baseline of cursor-y of the locked inset.
12706 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12707 (setCursor): fixed for insets which need a full row.
12709 * text.C (rowLastPrintable): don't ignore the last space when before
12710 an inset which needs a full row.
12711 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12712 as last character of a row when before a inset which needs a full row.
12714 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12716 * version.C.in: update date
12718 * text2.C (fullRebreak): try to always return true and see what
12721 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12723 * MenuBackend.C (expand): use Floating::listName
12725 * FloatList.C (FloatList): add listName argument to the built-in
12728 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12729 text associated with the float.
12731 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12733 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12735 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12737 * ShareContainer.h: add a couple of missing typenames.
12739 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12741 * lyxrc.C (getDescription): use _() correctly rather than N_().
12743 2002-03-28 Herbert Voss <voss@lyx.org>
12745 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12746 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12748 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12750 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12751 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12753 2002-03-29 Juergen Vigna <jug@sad.it>
12755 * lyxfunc.C (dispatch): add a missing fitCursor call.
12757 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12758 it was scrolled by a cursor move, so return the bool status.
12760 * BufferView.C (fitCursor): return the bool flag also to the outside
12761 world as this is needed.
12763 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12765 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12766 call the edit() as it is not needed (and wrong) IMO.
12767 (workAreaButtonPress): set the screen_first variable before evt.
12768 unlock the inset as this may change screen_first and then we have
12769 a wrong y position for the click!
12771 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12773 * MenuBackend.C (expand): another translation that I missed
12775 2002-03-28 Juergen Vigna <jug@sad.it>
12777 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12779 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12781 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12783 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12785 * MenuBackend.C (expand): fix export/view/update when there is no
12788 2002-03-27 Herbert Voss <voss@lyx.org>
12790 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12793 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12795 * bufferview_funcs.C (currentState): only show paragraph number
12796 for is DEVEL_VERSION is set.
12798 * lyxfunc.C (dispatch): put warning in INFO channel
12800 * MenuBackend.C (expand): translate the name of floats
12802 * FloatList.C (FloatList): mark the float names for translation
12804 * converter.C (convert): use LibScriptSearch
12806 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12808 * MenuBackend.C (defaults): fix default menu (we might as well get
12811 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12813 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12816 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12818 * lyxvc.C: reorder includes.
12820 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12822 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12825 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12827 * CutAndPaste.C: change layouts earlier on paste
12828 to avoid crashing when calling getFont()
12830 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12832 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12835 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12837 * WorkArea.C: remove 'Pending' debug message.
12839 * most files: ws cleanup
12841 * buffer.[Ch]: ws changes
12843 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12845 2002-03-21 Juergen Vigna <jug@sad.it>
12847 * tabular.C (SetMultiColumn): collapse also the contents of the
12848 cells and set the last border right. Added a Buffer const * param.
12850 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12852 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12855 2002-03-19 Juergen Vigna <jug@sad.it>
12857 * text2.C (clearSelection): reset also xsel_cache.
12859 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12860 where it needs to be called (John tells us to do so too :)
12861 (selectionLost): reset sel_cache.
12863 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12865 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12867 * text2.C (setCursorIntern): put debuging code in INSETS channel
12869 2002-03-19 André Pönitz <poenitz@gmx.net>
12871 * lyxfunc.C: tiny whitespace change
12873 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12875 * ToolbarDefaults.C (init):
12876 * LyXAction.C (init):
12878 * BufferView_pimpl.C (Dispatch):
12879 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12881 2002-03-19 Allan Rae <rae@lyx.org>
12883 * exporter.C (Export): removeAutoInsets before doing anything else.
12884 While I've just introduced a dependency on BufferView this really is
12885 the best place to clean the buffer otherwise you need to cleanup in
12886 a dozen places before calling export or cleanup in a dozen functions
12889 * converter.C (runLaTeX):
12890 (scanLog): Better handling of removeAutoInsets and screen updates.
12892 * lyxfunc.C (dispatch): small whitespace changes
12894 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12896 * WorkArea.C (C_WorkAreaEvent): return a value.
12897 (event_cb): return 1 if we handled the event, 0 otherwise.
12899 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12901 2002-03-18 Juergen Vigna <jug@sad.it>
12903 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12904 (GetAdditionalWidth): ditto.
12905 (RightLine): ditto.
12908 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12909 inset if we're there actually (probably not used right now but this
12910 is the direction to go for unifying code).
12911 (paste): disable code to clear the selection.
12913 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12914 inside an InsetText and move the check further up as it is in the
12917 * text2.C (pasteSelection): set a selection over the pasted text.
12919 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12921 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12922 and libgraphics to build on Cygwin.
12924 2002-03-15 Juergen Vigna <jug@sad.it>
12926 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12927 inserting an Inset into the paragraph. I know this is not the best
12928 fix but we already use current_view in CutAndPaste so we will remove
12929 all of it's using at the same time.
12931 * buffer.C (sgmlError): deactivated function till it is rewritten in
12932 the right mode, now it can create problems.
12934 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12935 before accessing it.
12937 2002-03-14 Juergen Vigna <jug@sad.it>
12939 * undo_funcs.C (textHandleUndo): do the right thing when updating
12940 the inset after the undo/redo.
12942 * text2.C (setCursor): just some testcode for #44 not ready yet.
12944 * undo_funcs.C (textHandleUndo): set the next() and previous()
12945 pointers of the paragraph to 0 before deleting otherwise we have
12946 problems with the Paragraph::[destructor].
12948 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12949 on a paragraph insertion.
12951 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12953 * buffer.C (asciiParagraph): use += operator for char append to
12956 * paragraph.C (getFontSettings): compare >= not just >
12957 (highestFontInRange): ditto
12960 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12962 * paragraph.C: change several algorithm to be more appripriate for
12963 the problem domain. This is lookip in FontList and in the InsetList.
12965 2002-03-13 André Pönitz <poenitz@gmx.net>
12968 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12970 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12975 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12977 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12979 * Painter.C (display): anon helper function, adjust code for this
12981 (pixmap): remove function.
12983 * Painter.h: remove private display variable.
12985 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12987 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12989 * WorkArea.[Ch]: remove figinset_canvas cruft.
12991 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12993 * lyxtextclass.C (operator): add one item cache optimization.
12995 * bufferlist.h: doxy changes
12997 * bufferlist.C: ws changes
12999 * DepTable.[Ch] (ext_exist): place const in the right spot.
13001 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13003 (workAreaExpose): call resizeInsets when the with BufferView changes.
13004 (Dispatch): adjust for protectedBlank removal
13005 (specialChar): call updateInset if the insert went ok.
13007 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13008 specialChar instead.
13010 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13012 * BufferView.h: doxy change
13014 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13016 * lyxtextclass.C (operator[]): remove non-const version
13017 (defaultLayout): remove non-const version
13019 2002-03-12 Juergen Vigna <jug@sad.it>
13021 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13022 did resize the LyXText too.
13024 * buffer.C (readLyXformat2): set layout information on newly allocated
13027 * tabular.C (OldFormatRead): set layout information on the paragraph.
13029 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13031 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13033 2002-03-11 Juergen Vigna <jug@sad.it>
13035 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13037 (resizeCurrentBuffer): force also the insets to resize themselfes.
13038 (moveCursorUpdate): fixed up for InsetText.
13040 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13043 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13044 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13045 value of Dialogs::tooltipsEnabled().
13046 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13048 2002-03-08 Juergen Vigna <jug@sad.it>
13050 * BufferView_pimpl.C (updateInset): update inset inside inset also
13051 if it isn't inside theLockingInset().
13053 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13055 * buffer.C (asciiParagraph): redo some of the word and line length
13057 (getLists): look for Caption instead of caption.
13059 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13061 * buffer.C (Buffer): initialize niceFile to true
13063 (makeLinuxDocFile):
13064 (makeDocBookFile): make sure niceFile is true on exit
13066 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13068 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13070 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13072 * LyXSendto.C: remove.
13073 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13074 * lyx_gui.C: remove now-redundant comment.
13075 * ColorHandler.h: remove forward declaration of class WorkArea.
13076 * lyxfunc.C: remove #include "WorkArea.h".
13078 2002-03-07 Juergen Vigna <jug@sad.it>
13080 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13081 got moved away with the DEPM and also set the inset_owner always
13082 right which before could have been omitted.
13084 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13086 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13087 wanted layout is not found.
13089 2002-03-07 Juergen Vigna <jug@sad.it>
13091 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13093 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13095 * paragraph.C (breakParagraph): use default layout not layout of
13097 (Paragraph): clear ParagraphParameters.
13099 2002-03-06 Juergen Vigna <jug@sad.it>
13101 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13102 otherwise it would not be a valid lenght. Fixed a special case in
13103 the minipage compatibility read where we end the document with a
13106 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13107 was set as it could be 0 for InsetTexts first entry.
13109 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13111 * paragraph.C (writeFile): if layout is empty write out
13112 defaultLayoutName().
13114 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13115 file without named layout we set layout to defaultLayoutName().
13117 2002-03-06 Juergen Vigna <jug@sad.it>
13119 * CutAndPaste.C (copySelection): set layout for new paragraph.
13121 * text.C (prepareToPrint): leave ERT inset left aligned
13122 (leftMargin): don't indent paragraphs inside ERT insets
13124 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13126 * paragraph.C (breakParagraph): dont call clear do the work manually
13128 * paragraph.[Ch] (clear): remove function
13130 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13132 * paragraph.C (Paragraph): dont call clear, the work has already
13135 * lyxtextclass.C (operator): assert if n is empty
13137 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13138 work manually instead.
13140 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13142 * BufferView_pimpl.C: protect selectionLost against text == 0
13144 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13146 * text.C (breakParagraph): fix a setting layout to '0' problem.
13148 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13150 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13151 final location of file, for the included files, and graphics.
13153 2002-03-05 Juergen Vigna <jug@sad.it>
13155 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13157 2002-03-04 Juergen Vigna <jug@sad.it>
13159 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13161 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13162 last column of multicolumn cells.
13163 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13165 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13167 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13168 file if it doesn't go to a temporary file.
13170 * buffer.C (sgmlOpenTag):
13171 (sgmlCloseTag): remove extra newline insertion.
13173 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13175 * text.C (getRowNearY): comment out debug msg
13177 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13179 * text2.C: first -> first_y
13181 * text.C (getRowNearY): add some attemts at a possible
13182 optimization, not working.
13184 * tabular.[Ch]: add BufferParams to several function so that newly
13185 created paragraph can be initialized to he default layotu for the
13188 * tabular-old.C (ReadOld): add buf->params to call of Init
13190 * screen.C: rename text->first to text->first_y
13192 * paragraph.C (breakParagraph): always set layout in the broken
13195 * lyxtextclass.C (Read): remove lowercase
13198 (delete_layout): ditto
13200 * lyxtext.h: rename first -> first_y
13202 * lyxlayout.C (Read): remove lowercase
13205 (obsoleted_by): ditto
13207 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13209 * buffer.C (insertErtContents): add params are to InsetERT
13210 (parseSingleLyXformat2Token): add code to check if a paragraphs
13211 layout really exist.
13212 (parseSingleLyXformat2Token): add params to several inset
13214 (asciiParagraph): remove lowercase, do the layout comparisons with
13217 * BufferView_pimpl.C (cursorNext): first -> first_y
13218 (resizeCurrentBuffer): first -> first_y
13219 (updateScrollbar): first -> first_y
13220 (scrollCB): first -> first_y
13221 (workAreaMotionNotify): first -> first_y
13222 (workAreaButtonPress): first -> first_y
13223 (checkInsetHit): first -> first_y
13224 (cursorPrevious): first -> first_y
13225 (cursorNext): first -> first_y
13226 (Dispatch): add buffer_->params to severl inset contructors
13228 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13230 * lyxlayout.C (Read): remove some debug info that I forgot.
13232 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13233 clean up the code slightly.
13234 (makeLinuxDocFile): ditto
13235 (makeDocBookFile): ditto
13237 * text2.C: layout as string
13239 * text.C: layout as string
13241 * paragraph_pimpl.C: layout as string
13243 * paragraph.[Ch]: layout as string
13245 * lyxtextclasslist.[Ch]: layout as string
13247 * lyxtextclass.[Ch]: layout as string
13249 * lyxtext.h: layout as string
13251 * lyxlayout.[Ch]: layout as string
13253 * lyx_cb.C: layout as string
13255 * bufferview_funcs.C: layout as string
13257 * bufferparams.C: layout as string
13259 * buffer.C: layout as string
13261 * LyXView.[Ch]: layout as string
13263 * LaTeXFeatures.[Ch]: layout as string
13265 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13267 * BufferView_pimpl.C: change current_layout to string, remove
13272 (workAreaButtonRelease): layout as string
13274 * BufferView2.C (unlockInset): adjust
13276 * vspace.C (asLatexCommand): use an explict temp variable.
13278 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13280 * Makefile.am: use FRONTEND_*
13282 2002-03-01 Juergen Vigna <jug@sad.it>
13284 * tabular.C (SetWidthOfMulticolCell): changed to something better
13285 I hope but still work in progress.
13286 (recalculateMulticolumnsOfColumn): renamed function from
13287 recalculateMulticolCells as it is more appropriate now.
13288 (SetWidthOfCell): calculate multicols better.
13290 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13292 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13294 * lyxfunc.C (processKeySym): print sequence also if it is
13295 `deleted' (complete)
13297 * kbsequence.C (print): print sequence even if it is deleted
13298 (complete would be a better word, actually).
13300 * lyxfunc.C (dispatch): print complete options after a prefix key
13302 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13304 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13306 * text2.C (setCharFont): eliminate setCharFont code duplication.
13308 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13310 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13311 LFUN_TABULAR_FEATURE (bug #177)
13313 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13315 * Makefile.am: remove figure.h
13317 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13319 * Bufferview_pimpl.C:
13331 * text2.C: remove #include "lyx_gui_misc.h".
13333 * LaTeX.C: added #include <cstdio>
13335 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13337 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13338 that the paragraph following this one can have.
13340 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13342 * vspace.C (asLatexCommand): fix bogus gcc warning
13344 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13346 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13348 * text2.C (setLayout): get rid of redundant code
13350 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13352 * text2.C (incDepth): make sure depth cannot be increased beyond
13355 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13357 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13358 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13360 * PainterBase.h (image):
13361 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13362 a LyXImage const *.
13364 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13368 * BufferView_pimpl.C:
13369 * BufferView_pimpl.h:
13389 * sp_spell.C: remove fig inset, and the crap house of
13390 cards that follows it
13392 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13397 * os2_errortable.h:
13398 * nt_defines.h: move .h into support/
13400 * vms_defines.h: remove
13402 * WorkArea.C: add space in debug output
13406 * buffer.C: add WITH_WARNINGS
13410 * bufferlist.C: s/retrive/retrieve/, add docs
13419 * chset.C: add docs
13421 * lyxgui.C: add ID to X error handler
13423 * lyxtestclass.c: fix typo
13425 2002-02-26 Juergen Vigna <jug@sad.it>
13427 * tabular_funcs.C (write_attribute): changed so that some default
13428 attributes are not written at all.
13429 (getTokenValue): set default values before trying to read the
13430 value so we have the return value always set as default if we don't
13431 find the token we search for.
13433 * tabular.C (Write): write bools as bools not as strings!
13435 2002-02-22 Juergen Vigna <jug@sad.it>
13437 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13438 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13440 * text.C (leftMargin): don't add an indent for paragraphs inside
13441 tabular cells (fix #208).
13443 2002-02-21 José Matos <jamatos@fep.up.pt>
13445 * tabular.C (docBook): fixed support for long tables.
13447 2002-02-20 Juergen Vigna <jug@sad.it>
13449 * text2.C (getFont): get the drawing font of the Inset if this
13450 paragraph is inside an inset (only important for InsetERT for now).
13452 * buffer.C (insertErtContents): use new lanugage params in ERT
13455 * CutAndPaste.C: commenting out seemingly uneeded code.
13457 2002-02-19 Allan Rae <rae@lyx.org>
13459 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13460 Iterators might be simple to use but they also get invalidated.
13461 (removeAutoInsets): renamed saved cursor tracking variables and added
13462 some comments to clarify what everything does.
13464 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13471 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13472 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13475 * vc-backend.h: remove #include "support/syscall.h"
13479 * converter.C: rearrange #includes in Lars' approved fashion.
13481 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13482 forward declare class Timeout in the header file.
13484 * XFormsView.C: changes due to the above.
13486 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13487 similar to LyXView.
13489 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13490 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13492 2002-02-18 José Matos <jamatos@fep.up.pt>
13494 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13497 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13499 * a lot of small ws changes
13500 * add a lot of using std::XXX
13501 * use std construcs some places where approp.
13502 * use some exisint stuff from lyxfunctional where approp.
13503 * Make file changes to use partial linking (lets test this now...)
13505 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13509 remove #include "support/syscontr.h" as it's redundant. Always has been.
13517 change Systemcalls::System to Systemcalls::Wait and
13518 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13519 No change of functionality, just reflects the stripped down Systemcalls
13522 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13524 * debug.[Ch]: add a GRAPHICS type to the enum.
13526 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13528 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13530 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13533 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13535 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13536 match the changes below.
13538 * text2.C (toggleInset): if there is not editable inset at cursor
13539 position, try to see if cursor is _inside_ a collapsable inset
13542 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13544 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13545 document menu has a nice checkbox
13547 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13549 * lyxlength.C (asLatexString): change PW to output as percent of
13552 * lengthcommon.C: change '%' to 't%'
13554 * lyxfunc.C (dispatch): a few comments from Martin
13556 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13560 * BufferView_pimpl.h:
13561 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13564 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13566 * vspace.C (inPixels): fix compiler warning
13568 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13570 * lyxfunc.C (getStatus): fix status message for disabled commands.
13572 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13574 * BufferView_pimpl.C: fix crash on close buffer
13575 during selection (#227)
13577 2002-01-27 Herbert Voss <voss@lyx.org>
13579 * buffer.C: link old Figure to new graphic inset
13581 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13583 * FontLoader.C (getFontinfo): Change the latex font names in order
13584 to match the names of type1inst.
13586 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13588 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13590 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13591 (extchanged): ditto
13593 (remove_files_with_extension): ditto
13594 (remove_file): ditto
13597 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13598 document is smaller than the work area height. Do not initialize
13599 static variables to 0.
13601 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13603 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13605 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13606 LFUN_LAYOUT_PARAGRAPHS.
13608 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13609 tabular. It is possible to provide a possible cell, which will
13610 typically be the actcell from the corresponding insettabular
13612 * lyxfunc.C (getStatus): small cleanup; disable
13613 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13616 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13618 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13620 * paragraph.C (startTeXParParams):
13621 (endTeXParParams): new methods. The LaTeX code to
13622 start/end paragraph formatting
13623 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13624 empty (fixes bug #200)
13626 * vspace.C (inPixels): adapt to the change below
13627 (inPixels): [later] more cleanups (remove unused variables)
13629 * lyxlength.C (inPixels): change to use a width and a height as
13632 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13634 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13635 Replaced with \paperwidth
13637 * DepTable.C (insert): add std:: qualifier
13639 2002-01-18 Allan Rae <rae@lyx.org>
13641 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13644 * text.C (drawInset): Turned out I didn't know enough about how
13645 rebreaking worked. This fixes most of the redraw problems. I see
13646 an occasional cursor trail when a line is broken now and the cursor
13647 placement can seem out by a few pixels also after a rebreak.
13649 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13651 * buffer.C (parseSingleLyXformat2Token): update because minipage
13652 width is now a LyXLength
13654 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13656 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13659 2002-01-17 Juergen Vigna <jug@sad.it>
13661 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13663 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13664 is set correctly and the inset is updated correctly.
13666 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13668 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13669 the beginning of the loop.
13671 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13673 * lyxrc.C: improve help for use_scalable_fonts
13675 2002-01-17 Allan Rae <rae@lyx.org>
13677 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13679 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13681 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13682 make sure to set their inset_owner to the right value (bug #171)
13684 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13687 * DepTable.C: Implement mtime checking to reduce time spent doing
13690 2002-01-16 Juergen Vigna <jug@sad.it>
13692 * tabular.C (GetAdditionalHeight): one of error fixed.
13694 * lyxrc.C (output): small fix in writing use_pspell.
13696 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13698 * sp_base.h: #include LString.h
13700 2002-01-16 Allan Rae <rae@lyx.org>
13702 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13703 Can someone check this please?
13705 * text.C (drawInset): It was possible that p.row would be removed by
13706 breakAgainOneRow upsetting a few other settings. There may be another
13707 small tweak possible by setting need_break_row = 0 when p.row has been
13708 removed but I don't know enough about the logic here.
13710 2002-01-15 Allan Rae <rae@lyx.org>
13712 * text.C (insertChar): removed conditional truism.
13714 * BufferView2.C (removeAutoInsets): More tweaks.
13715 cur_par_prev could be a stray pointer. Check for trailing empty line
13716 in case last line was cur_par and only had an error inset on it.
13718 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13720 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13723 * vc-backend.C (most methods):
13724 * exporter.C (Export):
13725 * converter.C (convert):
13727 * LyXSendto.C (SendtoApplyCB):
13728 * lyxfunc.C (dispatch):
13732 * lyx_cb.C (AutoSave):
13734 * BufferView_pimpl.C (MenuInsertLyXFile):
13735 * buffer.C (runChktex): use Buffer::filePath().
13737 * buffer.h: rename filename to filename_; rename filepath to
13738 filepath_ and make it private
13739 (filePath): new method
13741 * buffer.C (writeFile): use fileName()
13744 * lyx_main.C (init): fix starting of LyX when the binary is a
13745 link from so,ewhere else.
13747 * minibuffer.C: include <cctype> for isprint
13749 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13751 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13752 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13753 name clash with InsetCollapsable's width function.
13755 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13757 * lastfiles.C: include <iterator>
13759 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13761 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13764 * buffer.C (makeLaTeXFile): ditto.
13765 Also make loop operation more transparent.
13767 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13769 * ToolbarDefaults.C: remove trailing comma closing namespace.
13771 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13773 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13776 * trans.C (Load): comment out unused variable, allowed.
13778 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13780 * minibuffer.[Ch] (append_char): new method to recieve input from the
13781 drop-down completion browser. If a key was pressed, then recieve this
13782 char and append it to the existing string.
13783 (peek_event): modify the positioning data passed to the completion
13784 browser so that it can be placed above the minibuffer rather than below.
13785 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13787 * LyXAction.C (init): alloe error-next for readonly documents.
13789 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13792 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13794 * bufferlist.C (readFile): create the buffer _after_ checking that
13797 * lyxfunc.C (verboseDispatch): fix handling of arguments
13799 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13801 * lyxrc.C: use string::erase() instead of initializing to "".
13804 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13806 * BufferView_pimpl.h:
13807 * BufferView_pimpl.C:
13810 * text2.C: tell X when we have made a selection for copying
13812 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13814 * BufferView_pimpl.C (MenuInsertLyXFile):
13815 * lyxfunc.C (menuNew):
13817 (doImport): add shortcuts to directory buttons
13819 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13822 * lyxfunc.C (setStatusMessage):
13823 (getStatusMessage): new methods
13824 (getStatus):use setStatusMessage instead of setErrorMessage
13825 (dispatch): when function is disabled, set error message here
13826 [instead of in getStatus previously]
13828 * BufferView_pimpl.C (workAreaButtonRelease): update
13829 toolbar/menubar here too.
13831 2002-01-13 Allan Rae <rae@lyx.org>
13833 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13834 Now seems indestructible. Remaining task is to audit all other
13835 code affected by deleteEmptyParagraphMechanism. One small quirk
13836 left is that an empty document with an error in the preamble can
13837 be made to report an error but no error box appears. I don't know
13839 (removeAutoInsets): Improved comments.
13841 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13844 * Thesaurus.C: update for Aiksaurus 0.14
13846 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13848 * text2.C (firstParagraph): removed member function, all uses
13849 replaces with ownerParagraph
13850 (redoParagraphs): here
13851 (updateInset): here
13852 (toggleAppendix): here
13853 * BufferView2.C (insertErrors): here
13854 (setCursorFromRow): here
13856 2002-01-13 Allan Rae <rae@lyx.org>
13858 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13859 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13860 There is still a way to segfault this although you may have to do this
13861 multiple times: Have an InsetERT with an unknown command in it.
13862 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13863 <down-arrow>, <Enter> again, View->DVI, BANG!
13865 * text2.C (setCursor):
13866 (deleteEmptyParagraphMechanism):
13867 * lyxtext.h (setCursor):
13868 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13869 Making use of the return value may help fix other bugs.
13871 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13873 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13875 * LyXView.C (updateMenubar): call MenuBar::update here
13876 (updateToolbar): but not here
13877 (showState): do not update toolbar/menubar
13879 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13880 should need to care about that.
13882 * lyxfunc.C (verboseDispatch): simplify a bit
13883 (getStatus): have a version which takes a pseudoaction, and
13884 another which requires a (kb_action,string).
13886 * LyXAction.C (retrieveActionArg): make it work also when action
13887 is not a pseudo-action.
13888 (getActionName): simplify a bit
13891 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13893 * lyxfunc.C (verboseDispatch): new families of methods with
13894 several ways to specify a command and a bool to indicate whether
13895 the command name and shortcut should be displayed in minibuffer
13896 (eventually, we could extend that to a finer bitmask like
13897 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13898 (dispatch): the pristine dispatch command which just, well,
13899 dispatchs! Note it still sets its result to minibuffer; I'm not
13902 * lyxfunc.h: remove setHintMessage
13904 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13906 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13908 * BufferView_pimpl.C (specialChar): delete new inset if we have
13909 not been able to insert it.
13911 * kbmap.C: revert to using int instead of kb_action, since all we
13912 are dealing with is pseudo-actions.
13914 * LyXAction.C (searchActionArg): change to return int instead of
13915 kb_action, since the result is a pseudoaction.
13917 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13919 * buffer.C (insertErtContents): Fix (partially) the font bug.
13921 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13923 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13924 as the other one is broken on my machine!
13926 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13929 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13931 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13933 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13934 reflect their actual use. Provide compatibility code for older lyxrc
13937 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13939 change names of popup font variables in line with the changes to lyxrc.C
13941 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13943 * buffer.C (asciiParagraph): avoid outputing a word twice after
13946 * lyxrc.C (getDescription): document that document_path and
13947 template_path can be empty.
13949 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13951 * LaTeXFeatures.C (getMacros):
13952 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13954 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13956 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13958 (getPackages): rename feature "floats" to "float". Use an array to
13959 iterate over 'simple' features (i.e. just a \usepackage). Add
13960 handling of "amsmath" (renamed from "amsstyle").
13962 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13964 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13967 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13969 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13970 FuncStaus::FuncStatus & FuncStaus::some_method().
13972 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13974 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13975 of the func_satus stuff. Edited and massaged in various ways by
13978 * lyxfunc.C (getStatus): use FuncStatus
13980 2002-01-08 Juergen Vigna <jug@sad.it>
13982 * text.C (nextBreakPoint): use function Inset::isChar().
13984 * paragraph.C (TeXOnePar): use function
13985 Inset::forceDefaultParagraphs.
13987 * buffer.C (latexParagraphs): use function
13988 Inset::forceDefaultParagraphs.
13990 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13992 * lyx_gui.C (init): set the style of the menu popups to
13993 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13995 2002-01-07 Juergen Vigna <jug@sad.it>
13997 * text.C (setHeightOfRow): small fix
13998 (prepareToPrint): don't look at alignment if we don't have the place
14001 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14003 * box.C: New file. Move the Box methods and functions out of box.h,
14004 following Lars' suggestion.
14006 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14008 * box.h: #include "support/LOstream.h", needed for inlined function.
14011 * lyxtextclasslist.C: added some using std declarations.
14013 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14015 * box.h: make signed dimensions to allow insets wider than
14016 the screen (bug #162)
14018 * BufferView_pimpl.C: add some insetHit debug
14020 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14022 * vc-backend.C: add FIXME
14024 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14026 * lyxfunc.C (getStatus): enable code for showing math font status
14029 2002-01-07 Juergen Vigna <jug@sad.it>
14031 * text.C (nextBreakPoint): removed debug output not needed anymore.
14033 2002-01-06 Juergen Vigna <jug@sad.it>
14035 * text.C (nextBreakPoint): fixed up this function we had this bug
14036 since ever but now hopefully we break row better.
14037 (insertChar): we have to check if an inset is the next char as it
14038 could now happen that a large inset is causing a break.
14040 2002-01-05 Juergen Vigna <jug@sad.it>
14042 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14043 if it doesn't like to be drawed.
14045 2002-01-04 Juergen Vigna <jug@sad.it>
14047 * BufferView2.C (lockInset): forgot to set a cursor.
14049 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14051 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14053 * FormMathsPanel.C:
14056 * form_maths_panel.C:
14057 * form_maths_panel.h:
14058 * form_maths_panel.fd: implemented sub- and super- buttons in math
14061 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14062 (or ^ space) to be used as in TeX (req'd by Andr�.
14064 * lyxfunc.C: Allow ^ and _ again to be used both as
14065 super/subscript (mathed) and as themselves (in text).
14067 2002-01-03 Allan Rae <rae@lyx.org>
14069 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14070 "LyX" or the filename of the current buffer if it has one. This is a
14071 modified form of John Levon's patch.
14073 * XFormsView.C (setWindowTitle): also set icon title.
14075 * LyXView.h (setWindowTitle): signature changed.
14076 * XFormsView.h (setWindowTitle): ditto.
14078 2002-01-02 Juergen Vigna <jug@sad.it>
14080 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14082 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14084 * screen.C (topCursorVisible): introduce a temp var for
14085 text->cursor.row(), handle the case where this row is null. (kindo
14088 * text2.C (setCursor): add a couple of asserts.
14090 * paragraph.h (inset_iterator): add -> operator
14092 * paragraph.[Ch] (autoDeleteInsets): remove member function
14094 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14095 cursor pos correctly and handle inset deletion by itself.
14096 (insertErrors): move iterator declaration out of for expression
14098 * lyxtextclass.C: add <algorithm>
14100 * Makefile.am: added the new files to sources, removed layout.C
14102 * layout.C: removed file
14104 * layout.h: remove LYX_DUMMY_LAYOUT
14106 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14110 * lyxtextclass.[Ch]:
14111 * lyxtextclasslist.[Ch]: new files
14113 * include order changes to a lot of files, also changes because of
14116 2001-12-27 Juergen Vigna <jug@sad.it>
14118 * buffer.C (asciiParagraph): more fixes.
14120 * tabular.C (ascii): make ascii export support export of only the
14121 data separated by a column-delimiter.
14122 (ascii): better support for ascii export.
14124 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14126 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14128 * tabular_funcs.C: use a "using std::getline" instead of the
14129 previous fix from Angus (necessary for cxx + lyxstring)
14131 2001-12-24 Juergen Vigna <jug@sad.it>
14133 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14135 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14136 problems. First check a minipage also if we have some ert-contents
14137 (not only on par->size(), second set the right depth of the paragraph
14138 on the relink to the root-paragraph-list!
14140 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14141 which then did not anymore update the main paragraphs on undo/redo!
14143 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14145 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14146 code. Support all font-changing funcs (even those which are not in
14147 menu currently). Support for reporting font settings in
14148 mathed (disabled until Andre provides a function on mathed's side).
14150 * func_status.h (toggle): small helper function to set toggle
14153 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14155 * tabular_funcs.C: getline -> std::getline
14157 2001-12-21 Juergen Vigna <jug@sad.it>
14159 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14160 accessed and could be 0 (I couldn't generate this but it seems
14163 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14165 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14166 * tabular_funcs.h: here and include iosfwd
14168 2001-12-20 Juergen Vigna <jug@sad.it>
14170 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14171 inside inset but undo_par was.
14173 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14175 * Thesaurus.C: always include <config.h> in sources.
14179 * box.h: do not include <config.h> in header files
14181 * text.C (paintLastRow): remove unused variable
14183 * text.C (transformChar):
14185 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14187 * Painter.C (text):
14188 * font.C (width): rewrite to use uppercase() instead of
14191 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14193 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14195 * lyxfind.C: clean up of find failure position change
14197 2001-12-20 Juergen Vigna <jug@sad.it>
14199 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14201 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14202 (TeXRow): added to LaTeX a single tabular row.
14203 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14204 (Latex): simplified and finally good LT-h/f support.
14205 (various_functions): just small adaptions for LT-h/f support.
14207 * tabular_funcs.[hC]: added and moved here all not classfunctions
14210 2001-12-19 Juergen Vigna <jug@sad.it>
14212 * tabular.[Ch]: better support for longtabular options (not finished
14215 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14217 * text.C (paintLastRow): use the label font instead of the font of
14218 the last character to compute the size of *_BOX. This makes more
14219 sense and avoids a crash with empty paragraphs.
14220 Use Painter::rectangle to draw EMPTY_BOX.
14222 2001-12-19 Juergen Vigna <jug@sad.it>
14224 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14225 the paragraphs if the replaced paragraph is not the first one!
14226 Tried to delete not used paragraphs but does not work yet so for
14227 now it's inside #ifdef's and by default off!
14229 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14231 * MenuBackend.C: include "lyx_main.h" instead of declaring
14232 lastfiles (actually was declared as LastFiles* instead of a
14235 2001-12-17 Juergen Vigna <jug@sad.it>
14237 * tabular.C (AppendColumn): applied John's fix
14239 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14243 * BufferView_pimpl.h:
14244 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14247 * box.h: new start of class for above
14249 * lyxfunc.C: ignore space-only minibuffer dispatches.
14250 Show the command name when it doesn't exist
14252 * minibuffer.C: don't add empty lines to the history
14254 * minibuffer.C: add a space on dropdown completion
14256 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14258 * text.C: fix line above/below drawing in insets
14260 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14262 * lyxlength.C (LyXLength): Initialize private variables.
14264 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14266 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14267 when inserting error insets.
14269 2001-12-13 Juergen Vigna <jug@sad.it>
14271 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14272 actually sometimes the before-paragraph.
14273 (setUndo): don't clear the redostack if we're not actually undoing!
14275 2001-12-06 Juergen Vigna <jug@sad.it>
14277 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14278 and fixed redoing of main paragraph, so we can use it now ;)
14280 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14282 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14284 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14287 2001-12-13 André Pönitz <poenitz@gmx.net>
14290 * undo_func.C: minor cleanup
14292 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14294 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14295 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14296 font in urw-fonts package which is marked as -urw-fontspecific and
14297 does not work (incidentally, changing the encoding in the
14298 fonts.dir of this package to -adobe-fontspecific fixes the
14301 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14302 is a crash when undoing first paragraph (Juergen, please take a
14303 look). THis does not mean the undo fix is wrong, just that it
14306 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14307 the (Paragraph*) version when needed instead of duplicating the
14310 * text.C (workWidth): use Inset::parOwner to find out where the
14311 inset has been inserted. This is a huge performance gain for large
14312 documents with lots of insets. If Inset::parOwner is not set, fall
14313 back on the brute force method
14315 * paragraph_pimpl.C (insertInset):
14316 * paragraph.C (Paragraph):
14317 (cutIntoMinibuffer): set parOwner of insets when
14318 inserting/removing them
14320 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14322 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14328 * mathed/formulabase.C:
14329 * mathed/math_cursor.[Ch]:
14330 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14333 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14335 * lyxlength.[Ch] (operator!=): new function
14337 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14339 * text.C (workWidth): use Inset::parOwner to find out where the
14340 inset has been inserted. This is a huge performance gain for large
14341 documents with lots of insets. If Inset::parOwner is not set, fall
14342 back on the brute force method
14344 * paragraph_pimpl.C (insertInset):
14345 * paragraph.C (Paragraph):
14346 (cutIntoMinibuffer): set parOwner of insets when
14347 inserting/removing them
14349 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14351 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14353 * tabular-old.C (getTokenValue):
14354 * tabular.C (getTokenValue):
14355 (write_attribute): new versions for LyXLength
14356 (everywhere): adjust the use of widths
14358 * tabular.h: change the type of widths from string to LyXLength
14360 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14362 * paragraph.C: fixed missing line number count when exporting
14363 Environments to LaTeX file
14365 * buffer.C: added informational message for checking line numbers.
14367 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14369 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14370 paragraph, do the 'double space' part, but not the 'empty
14373 * text.C (workWidth): small optimization
14374 (getLengthMarkerHeight): use minimal size for negative lengths.
14376 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14378 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14380 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14382 2001-12-11 André Pönitz <poenitz@gmx.net>
14385 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14387 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14389 * text2.C: keep selection on a setFont()
14391 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14393 * lyx_cb.C: another bv->text misuse, from insert label
14395 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14398 * kbsequence.C: re-instate nmodifier mask
14400 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14402 * lyx_main.h: make lyxGUI private.
14404 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14406 * lyxfind.C: place the cursor correctly on failed search
14408 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14410 * text.C (getLengthMarkerHeight): for small heights, the arrows
14411 are not always on top/bottom of the text
14412 (drawLengthMarker): smaller arrows; take the left margin in
14413 account; draw also vfills.
14415 (paintLastRow): remove special code for vfill and standard spaces,
14416 since everything is handled in drawLengthMarker now.
14418 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14420 * buffer.C (insertErtContents): try to handle font and language
14421 interaction a bit better.g
14423 * ColorHandler.C (updateColor): change the hash to cover the whole
14424 LColor enum, ws cleanup
14425 (getGCLinepars): ditto
14426 (getGCLinepars): only lookup in the linecache once.
14428 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14430 * iterators.C (operator++): Make the iterator more robust
14432 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14434 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14436 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14439 * text.C: better added space drawing
14441 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14444 * BufferView2.C: fix layout combo update on inset unlock
14446 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14448 * Makefile.am: don't compile unused files
14450 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14454 * LyXAction.C: remove old LFUN_LAYOUTNO
14456 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14458 * paragraph_pimpl.h:
14459 * paragraph_pimpl.C: isTextAt() doesn't need font param
14461 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14464 * lyxlex.C: little cleanup
14466 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14468 * BufferView_pimpl.C: fix insertAscii for insets
14470 2001-12-05 Juergen Vigna <jug@sad.it>
14472 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14473 set the right font on the "multi" paragraph paste!
14475 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14481 * lyxlength.C: remove out-commented code.
14483 * BufferView_pimpl:
14497 * vc-backend.C: change "while(" to "while ("
14499 * lyxlength.[Ch]: add zero function to check if length is zero or
14501 * lyxgluelength.C: use it
14503 2001-12-05 Allan Rae <rae@lyx.org>
14505 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14506 Works for 2.95.3, from what I understand of Garst's reports this should
14507 work for other g++ versions. We're screwed if the abs(int) definition
14508 changed between bugfix releases of gcc.
14510 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14512 * text.C: fix chapter label offset !
14514 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14517 * text.C: fix hfill at end of line, clean up
14519 2001-12-04 Juergen Vigna <jug@sad.it>
14521 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14522 that we force an update of the inset and it's owners if neccessary.
14524 2001-12-03 Juergen Vigna <jug@sad.it>
14526 * text.C (rowLast): simplified code
14528 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14530 * lyxfunc.C: fix show options on timeout
14532 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14534 * screen.C (topCursorVisible): scroll half a page when the cursor
14535 reached top of bottom of screen
14537 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14539 * minibuffer.C: deactivate on loss of focus
14541 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14543 * vspace.[Ch] (operator!=): add operator.
14545 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14547 * BufferView_pimpl.C: refuse to open an inset when
14548 there's a selection.
14550 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14552 * BufferView_pimpl.C: allow to click on RHS of full row insets
14554 2001-11-30 Juergen Vigna <jug@sad.it>
14556 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14557 insets for undo reasons.
14559 2001-11-28 André Pönitz <poenitz@gmx.net>
14561 * vspace.[Ch]: cosmetical changes
14563 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14573 * kbsequence.C: part re-write of old kb code
14576 * WorkArea.C: remove Lgb_bug_find_hack
14578 2001-11-30 José Matos <jamatos@fep.up.pt>
14580 * buffer.C (makeDocBookFile): add a comment to point a hack.
14581 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14582 Fixed a double write of labels.
14584 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14587 * LaTeX.h Fixed bug in LaTeX class where it would not
14588 re-run latex if no depfiles were changed, but the .dvi was removed.
14590 2001-11-28 André Pönitz <poenitz@gmx.net>
14592 * all the files from the change on 2001/11/26:
14593 use lyx::layout_type instead of LyXTextClass::size_type
14594 use lyx::textclass_type instead of LyXTextClassList::size_type
14596 2001-11-29 Juergen Vigna <jug@sad.it>
14598 * text.C: added support for paragraph::isFreeSpacing()
14600 * buffer.C: same as above
14602 * paragraph.h: inserted isFreeSpacing() function to enable
14603 FreeSpacing inside InsetERT.
14605 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14606 of the paragraph's in the cut/copy buffer to 0!
14608 * text2.C (removeRow): remove the assert as it can!
14610 * lyxtext.h: added helper function firstRow returning firstrow and
14611 made firstrow private again.
14613 * BufferView2.C (lockInset): don't relock if we're already locked!
14615 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14616 the only paragraph.
14617 (removeRow): added Assert::(firstrow)
14619 * debug.C: forgot to add INSETTEXT here.
14621 2001-11-28 Juergen Vigna <jug@sad.it>
14623 * sp_spell.C (initialize): changed error text to more general
14624 spellchecker command use (not only ispell!)
14626 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14628 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14630 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14632 * vspace.C: initialise lyxgluelength on failure
14634 2001-11-28 Allan Rae <rae@lyx.org>
14636 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14637 declaration & definition that looks like a function declaration.
14639 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14641 * BufferView2.C (copy):
14642 (copyEnvironment): do not clear the selection when doing a copy.
14644 * text.C (paintFirstRow): compilation fix
14646 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14648 * tabular.C (Latex): correct line count when writing latex.
14650 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14652 * paragraph_pimpl.h:
14653 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14656 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14660 * LColor.C: change vfillline->added_space
14662 * text.C: add markers and text for added space
14664 * vspace.C: fix comment
14666 2001-11-28 André Pönitz <poenitz@gmx.net>
14668 * paragraph.C: whitespace changes
14669 * all the other files from the change on 2001/11/26:
14670 change *::pos_type into lyx::pos_type
14672 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14674 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14675 language of the document when inserting error insets.
14677 2001-11-26 André Pönitz <poenitz@gmx.net>
14679 * BufferView_pimpl.[Ch]:
14687 * paragraph_pimpl.[Ch]:
14690 * text2.C: reduce header dependencies, introduce type for positions
14692 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14694 * <various>: change to use Alert.h
14696 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14698 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14699 when encountering an unknown token.
14700 (readLyXformat2): Show an error message if there were unknown tokens.
14702 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14705 * BufferView_pimpl.C:
14709 * text2.C: use par->isInset()
14711 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14713 * paragraph_pimpl.h:
14714 * paragraph_pimpl.C: cleanup
14716 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14718 * text2.C (removeRow):
14719 * text.C (setHeightOfRow): remove useless (and costly) call to
14722 2001-11-20 Allan Rae <rae@lyx.org>
14724 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14725 Now need Inset*::checkInsertChar() to return true for appropriate
14726 cases so that the characters in the minibuffer will actually be
14729 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14731 * text.C: change the order of the includes.
14732 (workWidth): initialize it at once.
14733 (workWidth): make maxw unsigned
14734 (setHeightOfRow): remove unused variable (inset)
14735 (selectSelectedWord): remove unused variable (inset)
14736 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14738 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14740 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14741 server is not running.
14743 (closeConnection): add debug info when server is disabled.
14745 * ColorHandler.C (getGCForeground): send debug message to GUI
14748 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14750 * kbmap.C (bind): modify because return conventions of
14751 kb_sequence::parse have changed.
14753 * kbsequence.C (parse): only ignore spaces and not any stupid
14754 control character. This avoids tests like s[i] <= ' ', which are
14755 guaranteed to fail with 8bit characters and signed chars.
14756 Change return code to string::npos when there have been no error
14757 (0 was a bad idea when error is at first character)
14759 2001-11-14 José Matos <jamatos@fep.up.pt>
14762 * buffer.C (simpleDocBookOnePar): removed unused argument.
14764 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14766 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14767 insets which are part of a word. Paragraph::isLetter takes care of
14768 that now. Use Paragraph::isInset to identify insets.
14769 (selectSelectedWord): do not test for hyphenation break.
14771 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14772 that protected spaces are considered as spaces.
14774 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14777 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14780 * lyxserver.C: fix it. and small cleanup.
14782 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14784 * BufferView_pimpl.C: use inline helpers
14787 * LaTeXFeatures.C: fix typos
14790 * Spacing.C: move spacing_string into class
14792 * ToolbarDefaults.C: move stuff into namespace anon
14794 * layout.h: update enum
14796 * lyxfunc.C: use better debug
14798 * minibuffer.h: fix typo
14802 * WorkArea.C: add and use Debug::WORKAREA
14806 * text2.C: code re-organisation, inline helpers
14808 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14810 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14811 std::vector.empty().
14813 2001-11-09 Allan Rae <rae@lyx.org>
14815 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14816 '\n's after tables. Tabular and ERT inset work now makes this no
14819 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14822 * minibuffer.C: fix crash, improve drop-down completion
14824 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14827 * lyxserver.C: invalidate fd's when doing endPipe()
14829 2001-11-08 José Matos <jamatos@fep.up.pt>
14831 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14832 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14835 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14837 2001-11-07 José Matos <jamatos@fep.up.pt>
14840 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14843 * buffer.C (sgmlOpenTag):
14844 * buffer.C (sgmlCloseTag): removed debug info.
14846 * buffer.h (sgmlOpenTag):
14847 * buffer.h (sgmlCloseTag): made public.
14849 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14851 * buffer.C (saveParamsAsDefaults):
14852 * lyx_cb.C (MenuLayoutSave): remove
14854 * LyXAction.C (init):
14856 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14858 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14860 * buffer.C (setPaperStuff): removed from here...
14862 * bufferparams.C (setPaperStuff): ... and moved there.
14864 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14868 * XFormsView.C: add support for drop-down completion
14870 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14872 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14875 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14877 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14880 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14882 * lyx_main.C: change ref to known bugs
14884 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14886 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14887 to work around older babel problems.
14889 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14891 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14893 2001-10-24 Juergen Vigna <jug@sad.it>
14895 * tabular-old.C (ReadOld): below variable changes reflected.
14897 * tabular.[Ch]: added ltType struct for longtable header/footer
14898 defines and changed all instances where they are used. Added
14899 future support for double top/bottom rows.
14901 2001-10-24 José Matos <jamatos@fep.up.pt>
14903 * buffer.h (docbookHandleCaption):
14904 * buffer.C (docbookHandleCaption): removed unused function.
14905 (makeDocBookFile): moved docbook supported version to v4.1.
14907 2001-10-24 José Matos <jamatos@fep.up.pt>
14910 * tabular.C (docbookRow): new function to export docbook code of a row.
14911 (DocBook): now honors the longtable flags.
14913 2001-10-23 José Matos <jamatos@fep.up.pt>
14916 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14917 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14919 * buffer.C (makeLinuxDocFile):
14920 (makeDocBookFile): reworked the preamble, more clean, and with
14921 support for lyx defined entities. Changed the document declaration
14922 to be more XML friendly.
14924 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14925 if we need to output XML that should be done with a filter.
14927 2001-10-22 Juergen Vigna <jug@sad.it>
14929 * sp_pspell.h (class PSpell): add alive function needed in the
14930 controller to see if the spellchecker could be started.
14932 2001-10-22 Juergen Vigna <jug@sad.it>
14934 * buffer.C (insertStringAsLines): modify the font for inserting
14935 chars in certain conditions by calling checkInsertChar(font).
14937 2001-10-19 Juergen Vigna <jug@sad.it>
14939 * text.C (workWidth): use getRow instead of wrong algorithm.
14940 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14942 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14947 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14949 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14951 * text.C (workWidth): do not search for the exact row when
14952 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14953 optimization for big documents.
14955 2001-10-18 Juergen Vigna <jug@sad.it>
14957 * text.C (workWidth): new function with added Inset * parameter.
14959 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14961 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14963 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14964 change return type of getColumnNearX.
14967 * text.C (changeRegionCase): use uppercase/lowercase instead of
14970 (rightMargin): simplify code by factoring out the uses of
14975 (appendParagraph): use Paragraph::size_type
14977 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14979 * vspace.C (asLatexString): add a missing break
14981 2001-10-15 Herbert Voss <voss@perce.de>
14983 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14985 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14987 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14990 2001-10-10 André Pönitz <poenitz@gmx.net>
14992 * lyxfunc.C: removed greek_kb_flag.
14994 2001-10-10 Herbert Voss <voss@perce.de>
14996 * lyx_main.C: delete global string help_lyxdir.
14998 2001-10-09 Herbert Voss <voss@perce.de>
15000 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15002 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15004 * lyx_main.C: added global string help_lyxdir.
15006 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15008 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15010 * lyxrc.C (set_font_norm_type): support iso8859-4
15012 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15014 * LaTeX.C (deplog): add another regex for MikTeX
15016 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15018 * lyxrc.C (set_font_norm_type): support iso8859-3
15020 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15022 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15024 * LaTeXFeatures.C: remove special case of french and index
15026 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15027 before \begin{document}). This solves several incompatibilities.
15029 2001-10-03 Garst Reese <reese@isn.net>
15031 * lyx_cb.C: change CheckTex error msg.
15033 2001-10-03 José Matos <jamatos@fep.up.pt>
15035 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15037 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15039 * .cvsignore: update
15041 * lyx_main.C (commandLineVersionInfo): use new style version info.
15043 * buffer.C (writeFile):
15045 (makeLinuxDocFile):
15046 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15048 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15050 * version.h: update to use stuff in version.C
15052 * version.C.in: new file. Contains version information determined
15053 at compile time. This is a merging of version.h and
15056 2001-10-03 Juergen Vigna <jug@sad.it>
15058 * BufferView_pimpl.C (update): don't change "dirty" status in
15061 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15063 * WorkArea.C (c-tor): re-position version string slightly.
15065 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15067 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15068 revert to previous code.
15070 WorkArea.[Ch]: (show, destroySplash): methods removed.
15072 WorkArea.C: rework code so that it's an amalgam of the codes before and
15073 after the splash screen was moved to WorkArea.
15075 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15078 * vspace.C (inPixels):
15081 * buffer.C (insertStringAsLines):
15082 (asciiParagraph): fix types to be large enough
15084 * lyxlex_pimpl.h: change member status from short to int
15086 * layout.h: fix type of endlabeltype
15089 * kbsequence.C (parse): change return type to string::size_type
15091 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15094 * Bullet.C (bulletSize):
15095 (bulletEntry): do not use short ints as parameters
15097 * BufferView2.C (insertLyXFile): change a char to an int.
15099 * WorkArea.C (WorkArea): remove unneeded floats in computation
15101 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15103 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15105 * paragraph.C (asString): Do not ignore newline/hfill chars when
15106 copying to the clipboard.
15108 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15110 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15111 after a multi-line inset.
15113 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15115 * paragraph.C (validate): Set NeedLyXFootnoteCode
15117 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15119 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15120 and decrease-error to decrease.
15122 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15124 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15125 it more readable (should be equivalent)
15127 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15129 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15131 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15133 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15134 of a cursor (row, etc.) after a character has been deleted
15135 (deleteEmptyParagraphMechanism): call the method above on _all_
15136 cursors held by the LyXText when a double space has been
15139 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15141 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15143 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15145 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15146 background. Use greyOut() and the new show() methods to toggle between
15147 the foreground and background. Add code to remove the splash after
15148 its initial showing.
15150 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15151 (create_forms): no longer call Dialogs::showSplash.
15153 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15155 * .cvsignore: add version_info.h
15157 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15159 * version_info.h.in: new file
15161 * Makefile.am: add version_info.h.in
15163 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15164 version_info.h instead of VERSION_INFO
15166 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15168 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15169 The ERT inset now returns string().
15171 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15173 * lyxtext.h, text.C (selectNextWord): renamed as
15174 selectNextWordToSpellcheck.
15176 * text.C (selectNextWordToSpellcheck): Modified to not select
15177 words inside an ERT inset.
15179 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15181 * lyx_cb.C (MenuLayoutSave): change a bit the question
15183 * sp_base.h: include <sys/types.h>
15185 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15187 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15189 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15191 * several files: fix typos in user-visible strings
15193 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15195 * text2.C (pasteSelection): do not set the selection, since it
15196 will be cleared later. Actually, the intent was to fix the way the
15197 selection was set, but I figured rmoving the code was just as good.
15199 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15201 * FontLoader.C (available): Check if font is available without
15204 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15206 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15208 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15210 * lyxrc.[Ch]: added display_graphics variable and associated code.
15212 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15214 * bufferparams.C (hasClassDefaults): new method. Returns true if
15215 the buffer parameters correspond to known class defaults
15217 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15219 * XFormsView.C (show): set minimum size to the main window.
15221 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15223 * text2.C (copySelection):
15225 * lyxfind.C (LyXReplace):
15226 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15227 LyXText::selectionAsString.
15229 * paragraph.C (asString): add "label" argument to the second form
15231 * text2.C (selectionAsString): add "label" argument and pass it to
15232 Paragraph::asString.
15234 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15236 * lyx_main.C (commandLineHelp): remove version information
15238 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15240 * lyx_main.C: add -version commandline option
15242 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15244 * paragraph.h: make the optional constructor arg required instead.
15245 some modifications to other files because of this.
15247 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15249 * lyxserver.C (C_LyXComm_callback): make it static
15251 * lyx_main.C (error_handler): make it static
15253 * lyx_gui.C (LyX_XErrHandler): make it static
15255 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15257 * WorkArea.C: make the extern "C" methods static.
15259 * Makefile.am (lyx_LDADD): simplify
15261 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15263 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15264 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15266 * LyXAction.C (init):
15267 * lyxfunc.C (dispatch): associated code removal.
15269 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15271 * lyxfont.h (isSymbolFont): shut off warning
15273 * text.C (setHeightOfRow):
15274 (getVisibleRow): fix crash with empty paragraphs which have a
15277 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15279 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15282 2001-09-04 José Matos <jamatos@fep.up.pt>
15285 * tabular.C (docbook): rename docBook method to docbook.
15287 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15289 * Makefile.am: add dependencies to main.o.
15291 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15293 * FontLoader.C (available): Return false if !lyxrc.use_gui
15295 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15297 * FontInfo.C (query):
15298 * converter.C (view):
15299 * importer.C (Import):
15300 * exporter.C (Export): Can not -> cannot.
15302 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15304 * BufferView_pimpl.C: allow to create index inset even if
15307 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15309 * buffer.C (getLists): replace boost::tie code with an explicit pair
15310 as boost::tie can break some compilers.
15312 * iterators.h: Added a std:: declaration to the return type of
15315 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15317 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15320 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15322 * iterators.[Ch]: New files. Provide paragraph iterators.
15324 * buffer.C (changeLanguage): Use paragraph iterators.
15325 (isMultiLingual): ditto
15327 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15329 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15331 * FontLoader.C: Support for cmr font.
15333 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15335 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15336 (available): New method.
15338 * FontInfo.C (getFontname): Use scalable fonts even when
15339 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15342 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15344 * converter.C (Formats::view): reverted! Incorrect fix.
15346 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15348 * converter.C (Formats::view): only output the -paper option
15349 if the dvi viewer is xdvi, thereby fixing bug #233429.
15351 2001-08-23 Herbert Voss <voss@perce>
15353 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15355 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15357 * Spacing.h (Spacing): Set space to Default on in the default
15360 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15362 * vc-backend.h (RCS::versionString): add RCS to version
15363 (CVS::versionString): add CVS to version
15365 * vc-backend.C (scanMaster): do not add CVS to version.
15366 (scanMaster): do not add RCS to version
15368 * lyxvc.C (versionString): new method
15370 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15372 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15374 * Spacing.C (set): initialize fval
15376 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15378 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15381 2001-08-16 Juergen Vigna <jug@sad.it>
15383 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15385 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15387 * BufferView_pimpl.C:
15390 * text2.C: setParagraph takes linespacing now
15392 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15394 * LyxAction.C: add internal LFUN_CITATION_INSERT
15396 * LyXView.C: actually apply fix
15398 * bufferlist.C: fix open non-existent file
15400 * lyxfind.C: fix indentation
15402 * lyxfunc.C: remove unneeded assert, fix typo
15404 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15406 * MenuBackend.C: use "Floatname List"
15408 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15410 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15411 when converting LaTeX layout to insetERT.
15412 Generate a non-collapsed float when reading old float
15414 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15416 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15419 2001-08-13 Juergen Vigna <jug@sad.it>
15421 * text.C (fill): return 0 instead of 20 as this seems to be the more
15424 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15426 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15429 2001-08-13 Juergen Vigna <jug@sad.it>
15431 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15433 (SearchBackward): comment out the unlocking of the inset_owner this
15434 should not be needed!
15436 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15438 * Many files: Remove inherit_language, and add latex_language
15440 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15441 collapsible insets.
15443 2001-08-10 Juergen Vigna <jug@sad.it>
15445 * text.C (prepareToPrint): fixed hfill-width in draw!
15447 * BufferView2.C (selectLastWord): save the selection cursor as this
15448 now is cleared in the function LyXText::clearSelection!
15450 2001-08-08 Juergen Vigna <jug@sad.it>
15452 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15453 BACKSPACE type functions.
15455 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15456 is only cutted from the document but not put in the cut-buffer, where
15457 still the old stuff should be.
15459 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15461 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15463 * tabular.C (SetWidthOfCell): fixed special case where the width
15465 (LeftLine): handle '|' in align_special.
15467 (LeftAlreadyDrawed): ditto
15468 (SetWidthOfCell): ditto
15470 2001-08-07 Juergen Vigna <jug@sad.it>
15472 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15474 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15476 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15477 * lyxlex.[hC]: ditto
15479 2001-08-06 Juergen Vigna <jug@sad.it>
15481 * text.C (getVisibleRow): fix up row clearing a bit.
15483 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15485 * minibuffer.C: make sure the X server sees the changes in the input.
15487 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15489 * paragraph.C (getFont): split into...
15490 (getLabelFont): this
15491 (getLayoutFont): and this
15492 * paragraph_pimpl.C (realizeFont): calling this
15494 * text2.C (getFont): split into...
15495 (getLayoutFont): this
15496 (getLabelFont): and this
15497 (realizeFont): all three calling this
15499 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15502 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15504 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15506 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15508 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15509 layouts from the Quote inset insertion.
15511 2001-08-03 Juergen Vigna <jug@sad.it>
15513 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15515 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15516 only if status not is already CHANGED_IN_DRAW (second level).
15518 * text.C (draw): don't set the need_break_row when inside an
15521 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15523 * buffer.C (parseSingleLyXformat2Token): handle more latex
15526 * bufferview_funcs.[hC]: change function names to
15527 begin with small char, adjust other files.
15529 2001-08-02 André Pönitz <poenitz@gmx.net>
15532 BufferView_pimpl.C: remove broken special code for math-greek
15534 2001-08-02 Juergen Vigna <jug@sad.it>
15536 * BufferView_pimpl.C (update): redone this function so that we
15537 update the text again if there was a CHANGE_IN_DRAW.
15539 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15540 (drawFromTo): added a new internal bool which is used by draw() and
15542 (general): some cursor drawing problems fixed.
15544 2001-08-01 Juergen Vigna <jug@sad.it>
15546 * lyxfind.C (LyXFind): fixed
15547 (SearchForward): ditto
15548 (SearchBackward): ditto
15550 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15551 spurius drawing of the cursor in the main area.
15553 * text2.C (status): small fix which could lead to a segfault!
15554 (clearSelection): remove unneeded BufferView param.
15556 2001-08-01 André Pönitz <poenitz@gmx.net>
15558 * lyxfunc.C: small change due to changed mathed interface
15560 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15562 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15564 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15566 * lyxfunc.c: fail gracefully if file doesn't exist
15571 * BufferView_pimpl.C: IsDirWriteable() proto changed
15573 * LyXView.C: fix updateWindowTitle() to store the last title
15575 2001-07-31 Juergen Vigna <jug@sad.it>
15577 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15578 the font (wrong since using of Paragraph::highestFontInRange).
15580 * paragraph.C (highestFontInRange): added a default_size parameter.
15582 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15583 (setHeightOfRow): reformat
15585 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15587 * converter.[hC] + affected files: move to (inital-char)lowercase
15590 * ParagraphParameters.C (ParagraphParameters): remove commented code
15592 * PainterBase.[Ch]: remove commented code
15594 * LaTeXFeatures.h: add "bool floats" for float.sty
15596 * LaTeXFeatures.C (LaTeXFeatures): init floats
15597 (require): handle float
15598 (getPackages): do it with floats
15600 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15602 * BufferView_pimpl.C (Dispatch): improve handling of
15603 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15605 * commandtags.h: #include lyxfont.h here temporarily to avoid
15608 * bufferlist.h: include LString.h here.
15610 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15612 * text2.C (getStringToIndex): new method.
15614 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15616 * *: Reduced header file dependencies all over.
15618 2001-07-30 Baruch Even <baruch@lyx.org>
15620 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15622 2001-07-29 Baruch Even <baruch@lyx.org>
15624 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15626 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15628 * ParameterStruct.h (endif): add a default constructor to make
15629 sure that all variables is initialized.
15631 * ParagraphParameters.C (ParagraphParameters): adjust
15633 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15635 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15636 index; also, check that there is something to index, and that it
15637 does not span over several paragraphs.
15638 (doubleClick): use WHOLE_WORD_STRICT for double click.
15640 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15642 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15645 2001-07-26 Baruch Even <baruch@lyx.org>
15647 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15648 an InsetFig figure, backwards compatible reading of old figure code.
15650 2001-07-27 Juergen Vigna <jug@sad.it>
15652 * text2.C: font.realize function adaption.
15654 * text.C (draw): add a warnings lyxerr text if needed.
15656 * layout.C: font.realize function adaption.
15658 * language.C: add inherit_language and implement it's handlings
15660 * bufferview_funcs.C (StyleReset): remove language parameter from
15661 font creation (should be language_inherit now).
15663 * bufferparams.C (writeFile): handle ignore_language.
15665 * paragraph.C (getFontSettings): the language has to be resolved
15666 otherwise we have problems in LyXFont!
15668 * lyxfont.C (lyxWriteChanges): added document_language parameter
15669 (update): removed unneeded language parameter
15671 * paragraph.C (validate): fixed wrong output of color-package when
15672 using interface colors for certain fonts in certain environments,
15673 which should not seen as that on the final output.
15675 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15677 * BufferView_pimpl.C:
15682 * LyXAction.C: add thesaurus support
15685 * lyxfind.C: add "once" parameter, for thesaurus, to not
15686 move to the next match
15688 2001-07-26 Juergen Vigna <jug@sad.it>
15690 * lyxfont.C (realize): honor ignore_language too!
15693 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15695 * text.C (draw): one place more for ignore_language to not draw
15698 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15700 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15702 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15704 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15705 the minipage conversion problem.
15707 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15709 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15712 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15714 * BufferView.h: don't forward declare WorkArea
15716 * BufferView.C: don't include WorkArea.h
15718 2001-07-25 André Pönitz <poenitz@gmx.net>
15722 * lyxfunc.C: new LFUN 'math-space'
15724 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15726 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15728 * text2.C (toggleInset): call open/close
15730 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15732 * lyxfunc.C (dispatch): add debug for the disabled case
15734 * font.C (buttonText): make similar to rectText
15736 * buffer.C (readInset): comment out parsing of insetlist and
15739 * PainterBase.C (rectText): small correction
15741 * BufferView_pimpl.C: comment out insettheorem and insetlist
15742 * LyXAction.C: ditto
15743 * commandtags.h: ditto
15745 2001-07-24 Juergen Vigna <jug@sad.it>
15747 * text.C (draw): honor the ignore_language.
15749 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15751 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15753 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15756 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15758 * lyxtext.h: remove unused (and unimplemented) methods
15760 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15762 * text.C (getVisibleRow): honor background color
15765 * Painter.h: remove default color argument for fillRectangle
15767 * text.C (backgroundColor): new method
15769 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15771 * text.C (getVisibleRow): adjust
15773 * font.[Ch] (rectText): new method, metrics
15774 (buttonText): new method, metrics
15776 * PainterBase.[hC]: make rectText and buttonText always draw and take
15779 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15781 * ToolbarDefaults.C (read):
15782 * MenuBackend.C (read): allow escaping in all strings
15784 * BufferView_pimpl.C (insertAndEditInset): new method.
15785 (Dispatch): use insertAndEditInset whenever appropriate.
15787 * BufferView_pimpl.C (insertNote): removed
15789 * BufferView_pimpl.C (smartQuote): new method, moved from
15790 BufferView; if an insetquote cannot be inserted, insert a '"'
15793 * BufferView2.C: remove insertCorrectQuote();
15795 * lyxfunc.C (getStatus): Add support for all remaingin
15796 inset-insert lfuns.
15798 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15800 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15801 command (necessary to pass " as parameter of self-insert.
15803 * text.C (selectWordWhenUnderCursor):
15804 (selectWord): add word_location parameter
15805 (selectWordWhenUnderCursor): same + remove special code for word
15807 (selectNextWord): use kind() to guess type of insetspecialchar,
15810 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15811 (insertErtContents): create ert insets as collapsed.
15812 (readInset): better compatibility code for Info inset.
15814 2001-07-20 Juergen Vigna <jug@sad.it>
15816 * lyxfunc.C (dispatch): use always LyXFind now!
15818 * text2.C (init): add a reinit flag so that the LyXText can be
15819 reinited instead of deleted and reallocated (used in InsetText).
15821 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15827 2001-07-18 Juergen Vigna <jug@sad.it>
15829 * text.C (selectNextWord): handle insets inside inset by calling
15830 always the bv->text functions so that we can go up the_locking_inset!
15832 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15833 in strange locations when inside an inset!
15835 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15836 handling to include insets.
15838 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15840 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15842 * LyXAction.C (init):
15844 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15845 LIGATURE_BREAK, since the name is so stupid.
15847 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15849 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15852 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15854 * sp_form.[Ch]: remove.
15856 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15858 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15861 * src/buffer.C (readInset): ditto.
15863 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15865 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15866 menuSeparator(), endOfSentenceDot(), ldots() and
15867 hyphenationPoint(), which are therefore removed.
15868 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15870 * LyXAction.C (init):
15871 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15873 * paragraph.C (getWord): removed.
15875 * BufferView_pimpl.C (Dispatch): use last word or selection for
15876 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15878 * lyx_main.C (queryUserLyXDir): do not ask before creating
15879 user_dir, except if it has been named explicitely.
15881 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15883 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15884 a document of zero size.
15886 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15888 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15889 approriately in the c-tor and in require().
15890 (getPackages): output the appropriate LaTeX for natbib support.
15892 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15893 variables "use_natbib" and "use_numerical_citations" when reading the
15895 (readInset): read the various natbib cite commands.
15896 (validate): white-space change.
15898 * bufferparams.[Ch]: new variables "bool use_natbib" and
15899 "bool use_numerical_citations".
15900 (writeFile): output them in the LyX file.
15902 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15904 * lyxfunc.C (getStatus): add support for all the inset insertion
15907 * text2.C (insertInset):
15908 * paragraph.C (insetAllowed):
15909 * BufferView_pimpl.C (insertInset): update to take in account the
15910 renaming of insertInsetAllowed
15912 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15914 * text2.C (getInset): new method. returns inset at cursor position.
15916 * BufferView_pimpl.C (Dispatch): changes because of this.
15918 * LyXAction.C (init): rename open-stuff to inset-toggle.
15920 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15922 * text2.C (toggleInset): renamed from openStuff; use
15925 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15927 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15929 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15931 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15933 * buffer.C (readLyXformat2): Add filename to the error dialog
15935 2001-07-18 Juergen Vigna <jug@sad.it>
15937 * tabular.C (GetCellNumber): put an assert here instead of the check!
15939 2001-07-17 Juergen Vigna <jug@sad.it>
15941 * BufferView_pimpl.C (toggleSelection): adapted too.
15943 * text.C (selectNextWord): adapted for use with insets.
15944 (selectSelectedWord): ditto
15946 2001-07-17 Juergen Vigna <jug@sad.it>
15948 * sp_spell.C (PSpell): fix initialitation order.
15950 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15952 * paragraph.C: spacing
15954 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15956 * sp_spell.C: repair language selection for pspell
15958 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15960 * lyxfunc.h: change more methods to begin with lower char.
15962 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15964 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15965 for unknown layouts.
15967 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15969 * buffer.C (readLyXformat2): Generate an error dialog if there are
15972 2001-07-16 Juergen Vigna <jug@sad.it>
15974 * sp_spell.C: always compile ISpell part.
15976 * lyxrc.C: added use_pspell entry and it's handling.
15978 2001-07-13 Juergen Vigna <jug@sad.it>
15980 * sp_spell.C: removed double includes.
15982 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15984 Consistent use of Lsstream.h:
15985 * Lsstream.h: added using std::stringstream for consistencies sake.
15987 * buffer.C: removed using std::stringstream
15989 * lyxfont.C (stateText):
15990 * paragraph.C (asString):
15991 * text.C (selectNextWord, selectSelectedWord):
15992 * text2.C (setCounter):
15993 * vspace.C (asString, asLatexString):
15994 std::ostringstream -> ostringstream.
15996 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15998 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15999 * commandtags.h: add LFUN_HELP_ABOUTLYX
16000 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16002 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16004 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16006 * lyx_gui_misc.C: remove spellchecker
16007 * lyxfunc.C: showSpellchecker
16009 * sp_ispell.h: added
16010 * sp_pspell.h: added
16011 * sp_spell.C: added
16012 * sp_form.[Ch]: removed
16013 * spellchecker.[Ch]: removed
16015 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16017 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16019 (simpleTeXSpecialChars): Simply print the input character without
16020 any special translation if pass_thru is set.
16022 * layout.h: Added bool pass_thru to layout class for being able to
16023 implement pass through of a paragraph for Literate Programming.
16025 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16026 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16027 * layout.C (Read): add "passthru" to list of layout tags and add
16028 code to set the pass_thru boolean when it is read.
16030 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16032 * trans_decl.h: remove allowed from KmodInfo
16034 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16035 remove allowed code
16038 * paragraph_pimpl.C (erase): use boost::prior
16040 * Painter.C (text): use data() instead of c_str() when length is
16042 * WorkArea.C (putClipboard): ditto
16043 * font.h (width): ditto
16045 * BufferView2.C: use it-> instead of (*it). for iterators
16047 * paragraph_pimpl.C: ditto
16048 * paragraph.C: ditto
16049 * minibuffer.C: ditto
16050 * language.C: ditto
16052 * encoding.C: ditto
16053 * counters.C: ditto
16054 * converter.C: ditto
16056 * Variables.C: ditto
16057 * TextCache.C: ditto
16058 * MenuBackend.C: ditto
16059 * LyXAction.C: ditto
16061 * FloatList.C: ditto
16062 * DepTable.C: ditto
16063 * ColorHandler.C (LyXColorHandler): ditto
16065 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16067 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16069 * text2.C (openStuff): reintroduce this method (which had been
16070 nuked in NEW_INSETS frenzy).
16072 * lyxfunc.C (Dispatch): when an action has not been handled, use
16073 its name in the error message, not its number.
16075 * paragraph.C (inInset): change method name to begin with lowercase.
16078 * text2.C: updates because of this.
16080 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16082 * ToolbarDefaults.C (add): add spaces in error message
16084 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16086 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16087 (readLyXformat2): rename return_par to first_par, use lyxlex's
16088 pushToken and remove the manual push handling.
16089 (parseSingleLyXformat2Token): add another ert comp. variable:
16090 in_tabular, rename return_par to first_par. handle newlines better
16092 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16094 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16096 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16098 * text2.C (getParFromID): removed
16100 * buffer.C (getParFromID): new method moved form lyxtext.
16101 * BufferView2.C (insertErrors): adjust
16102 (setCursorFromRow): adjust
16103 * BufferView_pimpl.C (restorePosition): adjust
16104 * lyxfunc.C (Dispatch): adjust
16105 * undo_funcs.C (textUndo): adjust
16107 (textHandleUndo): adjust
16108 (textHandleUndo): adjust
16110 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16112 * buffer.C: up' the LYX_FORMAT
16114 * lyxfont.h: turn NO_LATEX on as default
16116 * buffer.C (insertErtContents): new methods of tex style compability.
16117 (parseSingleLyXformat2Token): use it several places.
16118 * tabular.C (OldFormatRead): and here
16120 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16122 * text2.C: remove some commented code.
16125 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16126 * trans.C: changes because of the above.
16128 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16130 * text2.C (setCounter): Fix counters bug with bibliography layout.
16132 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16134 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16135 own member functions
16136 (simpleTeXSpecialChars): ditto
16138 2001-07-06 Juergen Vigna <jug@sad.it>
16140 * a lot of files: changed the access to LyXText::status and the
16141 call of undo-functions.
16143 * undo.[Ch]: added a inset_id to the undo informations.
16145 * undo_funcs.[Ch]: added and moved here all undo functions.
16147 * lyxtext.h: give the status enum a weight, made status_ a private
16148 variable and made accessor functions for it, removed the whole bunch
16149 of undo-functions as they are now in their own file, make some
16150 functions publically available. Added function ownerParagraph with
16153 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16154 made InInset() a const function, added getParFromID() function.
16156 * buffer.[Ch]: added const version for inset_iterator functions,
16157 added getInsetFromID() function.
16159 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16160 changed undo functions for new version.
16162 2001-07-05 Juergen Vigna <jug@sad.it>
16164 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16165 unknow mechanism does not call the proper constructor but only this
16166 one also if I request the other!?
16168 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16170 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16172 * text2.C (LyXText): use initialization lists.
16174 * lyxtext.h (Selection): initialize set_ and mark_
16175 (init): remove method
16177 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16179 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16181 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16183 * screen.[Ch]: change method names to begin with lowercase
16185 * BufferView_pimpl.C (updateScrollbar): simplify further and
16186 hopefully make it a bit faster.
16188 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16190 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16191 calling directly xforms functions.
16193 * Painter.C (Painter):
16194 * lyx_cb.C (MenuWrite):
16195 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16198 * lyx_gui.C: remove bogus guiruntime extern declaration.
16200 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16202 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16204 (redoDrawingOfParagraph): ditto
16205 (redoParagraphs): ditto
16206 (cutSelection): don't create a object for CutAndPaste use the
16207 static method directly
16208 (pasteSelection): ditto
16210 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16213 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16215 * modifications to some other files because of this.
16217 * Makefile.am (lyx_SOURCES): add XFormsView
16219 * XFormsView.[Ch]: new files
16221 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16222 the main window. Move the gui dependent stuff to XFormsView
16224 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16226 * tabular.C (GetCellInset): update cur_cell also in the row/col
16227 version of this function.
16229 * lyxfunc.C: no need to include figure_form.h here.
16235 * lyxvc.C: no need to include forms.h here.
16237 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16239 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16241 * lyxfunc.C (Dispatch):
16243 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16244 constructor argument.
16246 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16248 * paragraph.C (Paragraph): dont't clear, and just set layout.
16249 (makeSameLayout): use params's copy contructor.
16251 * ParagraphParameters.[Ch] (makeSame): delete method
16253 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16255 * Variables.[Ch]: fix indentation, rename set to isSet
16257 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16259 * lyxfunc.C (Dispatch): fix typo
16261 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16263 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16266 * bufferlist.C: include assert.h for emergencyWrite().
16268 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16270 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16271 give up at last (bug #425202) !
16273 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16279 * spellchecker.C: strip spellchecker options and bring up
16280 preferences tab instead
16282 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16284 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16285 the istringstream constructor
16287 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16289 * paragraph.C (getLayout): fix return value
16291 * paragraph.h: do not declare getLayout as inline.
16293 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16295 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16297 * lyxcursor.h (operator<): new func
16298 (operator>): new func
16299 (operator>=): new func
16300 (operator<=): new func
16302 * text.C (changeCase): use selection.start and selection.end
16303 (changeRegionCase): require from to be <= to. Require par to be a
16306 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16308 2001-06-27 Juergen Vigna <jug@sad.it>
16310 * text.C (cursorLeftOneWord): changed to return the cursor and added
16311 overlay with BufferView * parameter which calls this one.
16313 (selectWord): use new getWord function.
16314 (changeCase): renamed from changeWordCase as and extended to work
16315 also on selections.
16317 * lyxtext.h: added enum word_location
16319 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16320 changeCase as this operates now also on selections.
16322 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16324 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16326 * many files: send debug output to Debug::INFO instead of
16329 * converter.C (View):
16331 (Move): send debug output to Debug::FILES instead of console.
16333 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16335 * lyxfunc.C (getStatus): use func_status
16337 * func_status.h: new header, describing the results of
16338 LyXFunc::getStatus;
16340 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16343 2001-06-25 The LyX Project <jug@sad.it>
16345 * buffer.C (sgmlOpenTag):
16347 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16349 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16351 * text2.C: remove some dead code
16353 * tabular.C (GetCellInset): store the last cell checked (gotten)
16355 * tabular.h: add the helper for the speedup
16357 * lyxtext.h: remove some dead code
16359 2001-06-26 The LyX Project <Asger>
16361 * paragraph.C: Change export to LaTeX of alignment to
16362 \begin{center} and family for better roundtrip work with reLyX.
16364 * Tune the math drawing a bit.
16366 2001-06-25 The LyX Project <Asger>
16368 * LColor.C (LColor): New color for math background. New color
16371 2001-06-25 The LyX Project <jug@sad.it>
16373 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16375 * lyxfunc.C (Open):
16376 * bufferlist.C (newFile): do not restrict to files ending with
16379 * BufferView_pimpl.C (MenuInsertLyXFile):
16381 2001-06-24 The LyX Project <jug@sad.it>
16383 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16386 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16388 * lyxtext.h: rename most methods to begin with a small char.
16389 Lots of changes because of this.
16391 * paragraph.C (Paragraph): do not call fitToSize
16392 (erase): call Pimpl::erase
16393 (insertChar): call Pimpl::insertChar
16394 (insertInset): call Pipl::insertInset
16395 (breakParagraph): do not call fitToSize
16396 (breakParagraphConservative): do not call fitToSize
16397 (fitToSize): remove method
16399 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16401 2001-06-24 The LyX Project <Asger>
16403 * Fix Qt compilation^2
16405 2001-06-24 The LyX Project <jug@sad.it>
16407 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16408 depthHook(getDepth()-1).
16411 * ParagraphParameters.h:
16412 * ParameterStruct.h: change type of depth to unsigned int ==
16413 depth_type. Many adaptations to other files before of that.
16415 2001-06-24 The LyX Project <Asger>
16417 * Fix Qt compilation.
16419 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16421 * paragraph.h: renamed several methods to begin with small letter.
16422 several changes to many parts of the code because of this.
16424 2001-06-23 The LyX Project <jug@sad.it>
16426 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16427 rewritten to discard all double spaces when KeepEmpty is off
16428 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16429 to only handle newlines but not fiddle with spaces and friends.
16431 * lyxfunc.C (MenuNew): when doing 'new from template', use
16432 template_path as default directory
16434 2001-06-23 The LyX Project <Asger>
16436 * Clean-up of header file includes all over
16437 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16439 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16441 * paragraph.h: renamed from lyxparagraph.h
16443 2001-06-23 Asger <lyx@violet.home.sad.it>
16445 * Buffer.h: Removed Buffer::resize
16446 * BufferList.h: Removed BufferList::resize
16447 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16448 the document lazily when we change the width, or the font settings.
16450 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16452 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16454 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16456 * buffer.h: remove out of date comment
16458 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16461 * screen.C: fix "theoretical" GC leak
16463 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16465 * LaTeX.C (scanAuxFile):
16466 (deplog): remove trailing \r when reading stream (useful under
16469 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16471 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16472 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16473 and BufferView::theLockingInset(Inset*), so should use them and not
16474 access bv_->text->the_locking_inset directly.
16476 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16478 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16481 * tex-defs.h: remove old unused file
16483 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16485 * BufferView_pimpl.C: fix typo, remove minibuffer message
16486 when buffer has loaded
16488 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16490 * lyxfunc.C (Dispatch): use stringstream
16491 (MenuNew): use stringstream
16492 (Open): use stringstream
16494 * importer.C (Import): use stringstream
16496 * bufferview_funcs.C (CurrentState): use stringstream
16498 * LaTeX.C (run): use stringstream
16500 * BufferView_pimpl.C (savePosition): use stringstream
16501 (restorePosition): use stringstream
16502 (MenuInsertLyXFile): use stringstream
16504 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16517 * vspace.C: removed // -*- C++ -*- as first line.
16520 * version.h: added // -*- C++ -*- as first line.
16522 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16524 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16526 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16529 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16531 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16534 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16536 * gettext.C: include LString.h even when --disable-nls is on.
16538 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16540 * converter.h (Get): changed argument type from int to
16541 FormatList::size_type to avoid unnecessary conversion.
16543 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16546 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16548 * gettext.h: include LString.h even when --disable-nls is on.
16550 2001-06-07 Juergen Vigna <jug@sad.it>
16552 * text.C (BreakAgain): subst spaces with tabs.
16554 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16555 (resizeInsetsLyXText): set force on resizeLyXText.
16557 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16559 * gettext.h (gettext_init):
16560 (locale_init): use a real definition instead of a macro
16562 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16564 * Bufferview_pimpl.C:
16566 * LColor.C: further lcolor tidies
16568 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16570 * BufferView_pimpl.C (updateScrollbar): simplify.
16572 * BufferView2.C: don't include insets/insetinfo.h, change
16573 prototype for insertInset and call the Pimpl version. let
16574 updateInset call Pimpl version.
16576 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16577 gotoInset to BufferView::Pimpl
16579 2001-06-01 Juergen Vigna <jug@sad.it>
16581 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16582 inside a LockingInset (is the update needed at all?).
16584 2001-05-31 Juergen Vigna <jug@sad.it>
16586 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16587 here not the old one otherwise how should we compare it afterwards
16590 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16595 * FontInfo.C: bring C functions into global namespace when
16598 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16600 * LString.h: make sure config.h has been loaded before LString.h.
16602 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16603 (one for each char read by EatLine!).
16605 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16608 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16610 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16611 to the same as the par we break from
16613 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16615 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16617 * MenuBackend.C (expand): also create menu entries for wide
16618 versions of the floats.
16620 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16622 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16624 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16625 frontends/Makefile.am
16631 * tabular.C (getTokenValue): add std::
16633 * tabular-old.C (getTokenValue): add std::
16634 (getTokenValue): ditto
16635 (getTokenValue): ditto
16637 * screen.C (ToggleSelection): adjust
16639 * lyxtext.h: put selection cursors inside a Selection struct.
16641 * lyxfunc.C (moveCursorUpdate): adjust
16643 * lyxfont.C (latexWriteStartChanges): add std::
16645 * lyxfind.C: adjust
16647 * font.h: delete with(char const *, LyXFont const &)
16649 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16651 * FontInfo.C (getFontname): add std::
16653 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16654 (workAreaButtonPress): adjust
16655 (tripleClick): adjust
16657 (moveCursorUpdate): adjust
16660 * BufferView2.C (gotoInset): adjust
16662 2001-05-30 Juergen Vigna <jug@sad.it>
16664 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16665 to check pspell I add this as default as I now have new pspell
16666 libraries and they seem to use this.
16668 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16670 * text2.C (CutSelection): make the cursor valid before the call to
16673 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16675 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16676 relied on 0 terminated strings and other horrors. Bug found due to
16677 the new assert in lyxstring!
16679 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16682 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16684 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16687 * lyxfunc.C (processKeySym): change method of getting to the
16690 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16691 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16692 * BufferView_pimpl.[Ch]: here as private methods.
16694 2001-05-28 Juergen Vigna <jug@sad.it>
16696 * text.C (SetHeightOfRow): added the update() call again as it is
16697 needed to initialize inset dimensions!
16699 2001-05-16 Juergen Vigna <jug@sad.it>
16701 * text2.C (SetCharFont): Add new function with BufferView * and
16702 bool toggleall parameters for setting insets internal fonts.
16703 (SetFont): Freeze the undo as we may change fonts in Insets and
16704 all this change should be inside only one Undo!
16706 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16707 setting font's in insets as for them we have the SetFont function!
16709 2001-05-15 Juergen Vigna <jug@sad.it>
16711 * text2.C (ClearSelection): to be sure we REALLY don't have any
16714 * tabular.C (TeXCellPreamble): fixed the left border problem for
16717 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16719 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16722 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16724 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16725 LFUN_BREAKPARAGRAPH.
16727 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16728 help test to "internal only", similar for LFUN_INSERT_URL
16730 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16731 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16732 auto_region_delete and deadkeys.
16734 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16737 * LColor.C: remove some dead entries, tidy a little
16739 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16741 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16743 (Dispatch): implement LFUN_ESCAPE
16745 * commandtags.h: add LFUN_ESCAPE
16747 * LyXAction.C (init): add entry for LFUN_ESCAPE
16749 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16750 Remove commented code.
16751 (insertNote): moved here
16752 (open_new_inset): moved here
16754 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16757 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16759 * kbmap.C (findbinding): clean it up and make it work correctly.
16761 * lyx_main.C (init): do not pass argc and argv as parameters
16763 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16765 * buffer.C: fix path for OS/2 & Win32
16769 * lyx_main.C: Added os:: class.
16771 * os2_defines.h: update
16773 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16775 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16776 better by trying again with reduced state.
16778 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16780 * lyxrc.C (read): print error about invalid key sequence only when
16781 debugging (because not all latinX keysyms are known to some X
16784 * kbsequence.C (getiso): add a few std:: qualifiers
16785 (getiso): comment out extra return statement.
16787 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16789 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16791 (Dispatch): enhance the accent inset a bit. (not perfect)
16793 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16795 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16797 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16799 * bufferlist.C (emergencyWrite): fix assert() call
16801 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16803 * text.C (InsertChar): Added trivial patch to only send the "you
16804 can not do multiple spaces this way" message once during a
16807 2001-05-08 Baruch Even <baruch@lyx.org>
16809 * Makefile.am: Changed order of libraries to get LyX to link properly
16810 with the gnome frontend.
16812 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16814 * LaTeXFeatures.h: add a std:: qualifier
16816 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16818 * paragraph.C (String): use stringstream
16820 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16822 * paragraph.C (writeFile): remove footflag arg
16824 * buffer.C (makeLaTeXFile): use stringstream
16825 (latexParagraphs): remove footnot gurba
16827 * LaTeXFeatures.C (getPackages): use stringstream
16828 (getMacros): likewise
16829 (getTClassPreamble): likewise
16830 (getFloatDefinitions): new method
16832 * paragraph.C (writeFile): reindent
16835 * WorkArea.h: revert the xpos + etc changes.
16837 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16839 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16841 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16842 (pasteSelection): likewise
16843 * text2.C (CreateUndo): likewise
16845 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16847 * minibuffer.C (peek_event): temporarily reduce the functionality
16848 of the minibuffer (to allow args on lfuns)
16850 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16851 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16853 * buffer.C (readInset): add compability reading of old float
16854 lists, add reading of new style float list.
16855 (readInset): avoid reevaluation of inscmd.getCmdName()
16856 (getLists): reindent
16858 * MenuBackend.C (MenuItem): implement parsing of
16859 md_floatlistinsert and md_floatinsert.
16860 (expand::LastFiles): move initalizaton of iterators out of loop,
16861 avoid reevaluation.
16862 (expand::Documents): introduce typdedef vector<string> Strings,
16864 (expand::ExportFormats): introduce typedef vector<Format const *>
16865 Formats, and use it.
16866 (expand): implement FloatListInsert and FloatInsert.
16868 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16869 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16870 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16872 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16874 (Dispatch::LFUN_FLOAT_LIST): implement
16876 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16878 * LaTeX.C (run): Fix problem with --export code.
16880 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16882 * BufferView.[Ch] (workarea): removed.
16883 (getClipboard) new method; wrapper for workarea()->getClipboard()
16885 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16888 * WorkArea.h (width, height, xpos, ypos): These methods all
16889 returned the dimensions of the work_area sub-area of WorkArea,
16890 resulting in a position error if the WorkArea were resized. Now
16891 return the dimensions of the entire WorkArea.
16893 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16895 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16897 * LaTeX.C (deplog): correct the syntax of regex reg1
16899 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16901 * undo.C: remove !NEW_INSETS cruft
16903 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16905 * text2.C: remove !NEW_INSETS cruft
16907 * text.C: remove !NEW_INSETS cruft
16909 * tabular.C: remove !NEW_INSETS cruft
16911 * spellchecker.C: remove !NEW_INSETS cruft
16913 * lyxtext.h: remove !NEW_INSETS cruft
16915 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16917 * lyxfunc.C: remove !NEW_INSETS cruft
16919 * lyxfind.C: remove !NEW_INSETS cruft
16921 * lyx_cb.C: remove !NEW_INSETS cruft
16923 * figureForm.C: remove !NEW_INSETS cruft
16925 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16927 * buffer.[Ch]: remove !NEW_INSETS cruft
16929 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16931 * CutAndPaste.C: remove !NEW_INSETS cruft
16933 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16935 * BufferView2.C: remove !NEW_INSETS cruft
16937 * BufferView.h: remove !NEW_INSETS cruft
16939 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16941 * Lsstream.h: include LString.h before the sstream headers to
16942 fix problem with gcc 2.95.3 and lyxstring
16944 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16946 * lyx_main.C: add using directives when needed for C functions
16947 declared in std:: namespace.
16949 2001-04-27 Juergen Vigna <jug@sad.it>
16951 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16952 (SetHeightOfRow): comment out the update call should not be needed!
16954 2001-04-13 Juergen Vigna <jug@sad.it>
16956 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16957 (LyXTabular): tried to minimize operator= operations (and realized
16958 hopfully Lars wish).
16960 2001-04-27 Juergen Vigna <jug@sad.it>
16962 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16964 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16966 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16968 * buffer.C (readInset): hack to make listof algorithm work
16970 * BufferView_pimpl.C: hack to make listof algorithm work
16972 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16974 * LyXAction.C: removed all !NEW_INSETS cruft
16975 (init): moved lfun_item in method
16977 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16979 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16981 * BufferView2.C (theLockingInset): white space.
16983 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16985 * minibuffer.C: include <iostream>
16987 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16989 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16991 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16993 * text.[Ch] (TransposeChars): new method
16995 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16997 * call message directly through LyXView instead of through LyXFunc
16998 * BufferView2.C: adjust
16999 * BufferView_pimpl.C: adjust
17000 * FontLoader.C: adjust
17002 * bufferview_funcs.C: adjust
17003 * converter.C: adjust
17004 * figureForm.C: adjust
17005 * importer.C: adjust
17007 * lyx_gui_misc.C: adjust
17008 * lyxfunc.C: adjust
17011 + more files in subdirs
17013 * lyxparagraph.h (size): move up int file
17016 * adjust all uses of Assert to lyx::Assert.
17018 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17019 lyxfunctional in namespace lyx
17020 * layout.C (hasLayout): ditto
17023 (delete_layout): ditto
17024 (NumberOfClass): ditto
17025 * converter.C (GetFormat): ditto
17030 * bufferlist.C (getFileNames): ditto
17031 (emergencyWriteAll): ditto
17034 * MenuBackend.C (hasSubmenu): ditto
17037 * BufferView_pimpl.C (getInsetByCode): ditto
17039 2001-04-18 Juergen Vigna <jug@sad.it>
17041 * vspace.C (asLatexString): fixed the 100% problem.
17043 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17045 * lyxfunc.C (Dispatch):
17047 * minibuffer.h: add a few std:: qualifiers
17049 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17051 * minibuffer.[Ch]: reimplement so that commands is initiated and
17052 run from lyxfunc, simplified som handling, and made the completion
17053 and history code for complete. wip.
17055 * lyxfunc.C (processKeySym): call message
17056 (miniDispatch): new temporary method
17057 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17058 (LFUN_MESSAGE): implement
17059 (LFUN_MESSAGE_PUSH): implement
17060 (LFUN_MESSAGE_POP): implement
17061 (initMiniBuffer): the initial/defualt minibuffer message.
17063 * lyxfont.[Ch]: inline some more getters
17065 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17067 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17069 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17070 (AutoSave): use LFUN_MESSAGE
17071 (Reconfigure): ditto
17073 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17075 * figureForm.C: use LFUN_MESSAGE
17077 * converter.C (runLaTeX): use LFUN_MESSAGE
17079 * bufferview_funcs.C: use LFUN_MESSAGE
17081 (changeDepth): ditto
17083 * bufferparams.h: use boost::
17085 * bufferlist.h: inherit privately from noncopyable
17087 * bufferlist.C (loadLyXFile): remove some commented code.
17089 * buffer.C (runChktex): use LFUN_MESSAGE
17091 * ShareContainer.h: inherit privately from noncopyable
17093 * ParagraphParameters.[hC] (depth): inline it.
17095 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17097 (message): new method
17098 (messagePush): ditto
17099 (messagePop): ditto
17100 (show): init minibuffer
17101 (showState): direct call
17103 * LaTeX.[Ch]: inherit privately from noncopyable
17104 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17105 instead of WriteStatus.
17107 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17109 * BufferView_pimpl.C (buffer): don't init minibuffer
17110 (workAreaButtonPress): use LFUN_MESSAGE
17111 (workAreaButtonRelease): ditto
17112 (savePosition): ditto
17113 (restorePosition): ditto
17114 (MenuInsertLyXFile): ditto
17115 (workAreaExpose): don't init minibuffer
17116 (update): remove commented code, simplify
17118 * BufferView2.C (openStuff): use LFUN_MESSAGE
17119 (toggleFloat): ditto
17122 (copyEnvironment): ditto
17123 (pasteEnvironment): ditto
17128 (updateInset): remove some commented code
17130 * lastfiles.h: inherit privately from noncopyable
17133 * lyx_main.h: ditto
17135 * lyxlex_pimpl.h: ditto
17137 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17138 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17139 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17141 * LyXAction.h: inherit privately from noncopyable, add methods
17142 func_begin, func_end, returning iterators to the func map.
17144 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17145 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17146 (func_begin): new method
17147 (func_end): new method
17149 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17151 (copySelection): ditto
17152 (pasteSelection): ditto
17154 * BufferView.C: whitespace change
17155 * BufferView.h: inherit privately from noncopyable
17157 2001-04-16 Allan Rae <rae@lyx.org>
17159 * tabular-old.C (l_getline):
17160 * spellchecker.C (sc_check_word):
17161 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17162 an unrecognised preprocessor directive. So ensure they're wrapped.
17164 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17166 * src/exporter.C (Export): Give an error message when path to file
17169 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17171 * LaTeX.C (deplog): Always check that foundfile exists.
17173 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17176 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17178 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17180 * tabular.[Ch] (getLabelList): implement new method
17182 * minibuffer.h: comment ouf setTiimer
17184 * minibuffer.C (ExecutingCB): constify res
17185 (peek_event): constify s
17186 (Set): constify ntext
17187 (Init): constify nicename
17189 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17191 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17192 (savePosition): use two params to Minibuffer::Set
17193 (restorePosition): ditto
17195 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17197 * lyx_main.C: include language.h
17199 * Makefile.am (lyx_main.o): add language.h
17201 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17207 * CutAndPaste.C: include gettext.h
17209 * lyxfont.h: remove old hack with ON and OFF.
17212 * lyxfont.h: do not include language.h...
17217 * bufferview_funcs.C:
17223 * paragraph.C: ... but do it here instead
17225 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17227 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17229 * tabular.C: small reformat
17231 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17234 (BreakParagraph): ditto
17235 (SetOnlyLayout): ditto
17238 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17241 * lastfiles.C: removed most using decl, add std:: where needed
17243 * buffer.C: ws changes
17245 * MenuBackend.C (class compare_format): put into anon namespace
17246 (expand): constify label, names, action, action2
17249 * text.C (SingleWidth): constify font
17250 (IsBoundary): constify rtl2
17251 (GetVisibleRow): constify ww
17253 * LaTeX.C (deplog): constify logfile
17255 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17257 (workAreaExpose): constify widthChange, heightChange
17259 * lyxrow.C (par): moved
17262 * lyxrow.h: as inlines here
17264 * lyxfont.h (shape): moved from lyxfont.C
17265 (emph): moved from lyxfont.C
17267 * lyxfont.C (LyXFont): use initialization list for all
17269 (shape): move to lyxfont.h as inline
17270 (emph): move to lyxfont.h as inline
17273 2001-04-04 Juergen Vigna <jug@sad.it>
17275 * vspace.C: had to include stdio.h for use of sscanf
17277 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17280 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17281 independent of xforms.
17283 2001-04-02 Juergen Vigna <jug@sad.it>
17285 * spellchecker.C: fixed namespace placing!
17287 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17289 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17290 the LyXParagraph * is 0.
17292 2001-03-29 Juergen Vigna <jug@sad.it>
17294 * vspace.C: added support for %, c%, p%, l%.
17295 (stringFromUnit): added helper function.
17296 (asLatexString): changed to give right results for the %-values.
17298 * buffer.C: convert the widthp in a width%.
17300 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17302 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17305 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17306 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17308 * lyx_cb.[Ch]: see above.
17310 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17314 * lyx.[Ch]: replaced by figure_form.[Ch].
17318 * lyxfunc.C: changed headers associated with above changes.
17320 2001-03-27 Juergen Vigna <jug@sad.it>
17322 * BufferView_pimpl.C: set the temporary cursor right!
17324 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17326 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17328 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17330 * LString.h: removed "using std::getline"!
17332 * BufferView_pimpl.C (Dispatch): changes due to changes in
17333 InsetInclude::Params.
17335 * buffer.C (tag_name): removed redundant break statements as they were
17336 producing lots of warnings with my compiler.
17338 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17340 * LString.h: add "using std::getline" when using the real <string>.
17342 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17344 * buffer.C: removed bitset usage.
17345 PAR_TAG moved to an anonymous name space.
17346 (tag_name): new funtion, also in the anonymous namespace.
17347 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17348 (makeDocBookFile): clean code. Completed transition from string arrays
17350 (SimpleDocBookOnePar): code clean.
17352 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17354 * tabular.C: add some comments.
17356 2001-03-22 Juergen Vigna <jug@sad.it>
17358 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17359 compatibility read a bit and fixed bug with minipage in different
17362 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17364 * buffer.C (pop_tag): removed.
17365 (push_tag): removed.
17366 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17367 array replaced with vector. Added support for CDATA sections.
17368 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17370 (makeDocBookFile): XML conformant declaration of CDATA section,
17371 fixed bug related to <emphasis> in the first paragraph char.
17372 (sgmlOpenTag): exclude empty tags.
17373 (sgmlCloseTag): ditto.
17375 * buffer.h (pop_tag): removed.
17376 (push_tag): removed.
17378 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17380 * language.h (Languages): added size_type and size().
17382 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17384 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17385 response on compability reading of minipages. One probliem is that
17386 the old usage of minipages was flertydig
17388 * several files here and in subdirs: don't use static at file
17389 scope use anon namespaces instead.
17391 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17393 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17394 LaTeX output. This is necessary for Literate document
17397 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17399 * buffer.C: insert hfill when needed.
17401 * tabular.C (l_getline): use string::erase, small whitespace change.
17403 * BufferView_pimpl.C: try the anon namespace.
17404 * WorkArea.C: ditto
17406 2001-03-16 Juergen Vigna <jug@sad.it>
17408 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17409 otherwise it won't open options-dialogs.
17411 * buffer.C: honor pextraWidth(p) on converting minipages.
17413 * tabular.C (l_getline): changed the functions to strip trailing \r.
17415 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17417 * BufferView_pimpl.C:
17418 * minibuffer..C: added "using SigC::slot" declaration.
17420 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17422 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17428 * paragraph.C: ditto
17430 * lyxtext.h: NO_PEXTRA
17432 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17434 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17435 * ParameterStruct.h: ditto
17436 * ParagraphParameters.h: ditto
17437 * lyxparagraph.h: ditto
17439 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17441 * buffer.C: add compability for minipage alignment.
17442 (latexParagraphs): remove unwanted pextra check.
17444 * several files: remove CXX_WORKING_NAMESPACES
17446 * buffer.C (pop_tag): tie is in namespace boost
17448 * BufferView.h: noncopyable is in namespace boost
17450 * lyx_main.h: ditto
17453 * lastfiles.h: ditto
17454 * bufferlist.h: ditto
17455 * ShareContainer.h: ditto
17457 * LyXAction.h: ditto
17460 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17462 * Merging changes from BRANCH_MVC back into HEAD.
17464 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17466 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17468 * BufferView_pimpl.C: change from intl.C
17472 * Makefile.am: move combox.*
17478 * intl.C: remove dialog (covered by prefs)
17480 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17482 * lyxfunc.C (Dispatch): removed redundant break statement.
17484 2001-03-14 Juergen Vigna <jug@sad.it>
17486 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17488 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17490 * buffer.C: add hack to fix compability reading of minipages.
17492 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17494 * buffer.C (getLists): Cleanup.
17496 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17498 * lyxfont.C (update): don't honor toggleall on font size.
17500 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17504 * Makefile.am: moved to frontends/xforms/
17508 * BufferView_pimpl.C: changes for moved mathpanel
17510 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17512 * gettext.h: fix gettext_init() in --disable-nls
17514 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17516 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17518 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17521 * lyx.h: strip external form
17523 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17525 * BufferView_pimpl.C: add comment, destroySplash()
17527 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17529 * BufferView_pimpl.C:
17533 * lyxfunc.C: use re-worked insetinclude
17535 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17537 * buffer.C: add using std::stringstream.
17539 * lyx_cb.C: readd using std::ios.
17541 * buffer.C: add using std::map.
17543 * BufferView_pimpl.C: add using std::vector.
17545 * ShareContainer.h: add std:: to swap.
17547 * buffer.h: add some typedefs
17548 * buffer.C (getLists): use them
17549 (getLists): renamed from getTocList.
17550 add a counter for the different float types and use it in the
17552 (getLists): use the same counter for the NEW_INSETS and the "non"
17555 * lyx_cb.h: remove unused items, includes, using etc.
17557 * ShareContainer.h: remove some commented code, add more comments
17558 and "documentation".
17560 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17562 * buffer.C (getTocList): make the list also when NEW_INSETS is
17565 * buffer.h: remove TocType
17567 * buffer.C (getTocList): change to return a map<string,
17568 vector<TocItem> >, implement for dynamic number of list.
17570 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17571 * text2.C (PasteSelection): adjust
17572 * CutAndPaste.C (pasteSelection): adjust
17574 * FloatList.C (FloatList): update from the new_insets branch.
17575 * Floating.[Ch]: ditto
17576 * LaTeXFeatures.C: ditto
17578 * lyxlex_pimpl.C: ditto
17580 * paragraph.C (Last): remove when NEW_INSETS is defined.
17582 * other file: changes because of the above.
17584 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17586 * lyxparagraph.h: rename next to next_, previous to previous_,
17587 make them private for NEW_INSETS. Rename Next() to next(),
17588 Previous() to previous().
17590 * other files: changes because of the above.
17592 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17595 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17598 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17600 * main.C (main): pass lyx_localedir to gettext_init().
17602 * gettext.h: remove locale_init and gettext_init macros
17604 * gettext.C (locale_init): new function
17605 (gettext_init): new function
17607 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17610 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17612 * Moved credits to frontends:
17613 * credits.[Ch]: removed
17614 * credits_form.[Ch]: removed
17615 * lyx_gui_misc.C: remove credits stuff
17618 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17620 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17622 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17623 unneeded destructor.
17625 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17626 a standalone pointer again.
17628 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17630 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17636 * ToolbarDefaults.C:
17645 * BufferView_pimpl.C: use new file dialog in GUII
17648 * lyx_cb.C: remove LayoutsCB to Toolbar
17650 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17652 * ShareContainer.h (get): add std:: qualifier
17654 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17656 * ShareContainer.h: define a proper ShareContainer::value_type
17657 type (and use typename to please compaq cxx)
17659 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17661 * lyxparagraph.h: move serveral local vars to
17662 ParameterStruct/ParagraphParameters., use ShareContainer in
17663 FontTable., make vars in FontTable private and add getter and
17666 * paragraph.C: changes because of the above.
17668 * lyxfont.h: remove copy constructor and copy assignment. (the
17669 default ones is ok), move number inside FontBits. move inlines to
17672 * lyxfont.C: add number to initializaton of statics, move several
17673 inlines here. constify several local vars. some whitespace
17674 cleanup. Dont hide outerscope variables.
17676 * Spacing.h: add two new constructors to match the set methods.
17678 * ShareContainer.h: new file, will perhaps be moved to support
17680 * ParameterStruct.h: new file
17682 * ParagraphParameters.h: new file
17684 * ParagraphParameters.C: new file
17686 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17687 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17689 * BufferView_pimpl.C: ParagraphParameter changes.
17690 * buffer.C: Likewise.
17691 * bufferview_funcs.C: Likewise.
17692 * text.C: Likewise.
17693 * text2.C: Likewise.
17695 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17697 * lyxfind.C (LyXReplace): do not redefine default argument in
17699 (IsStringInText): ditto
17700 (SearchForward): ditto
17701 (SearchBackward): ditto
17703 2001-03-06 Juergen Vigna <jug@sad.it>
17705 * lyxfind.C (IsStringInText): put parentes around expressions.
17707 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17709 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17711 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17713 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17715 * stl_string_fwd.h: add comment
17717 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17720 * tabular.C: remove unused DocBook methods
17726 killed DO_USE_DEFAULT_LANGUAGE
17728 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17730 * lyx_gui.C: do not include language.h.
17732 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17733 arguments in function implementation.
17735 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17737 * BufferView_pimpl.C: add <ctime>
17739 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17741 * BufferView_pimpl.C: add using std::find_if
17743 2001-02-27 José Matos <jamatos@fep.up.pt>
17745 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17748 2001-02-11 José Matos <jamatos@fep.up.pt>
17750 * buffer.C (makeDocBookFile): command styles now have a parameter as
17751 "title" by default.
17753 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17755 * layout_forms.[Ch]: removed
17756 * lyx_cb.[Ch]: out character
17757 * lyx_gui.C: out character
17758 * lyx_gui_misc.C: out character
17759 * bufferview_funcs.C: : out character,
17760 added toggleall as parameter in ToggleAndShow
17762 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17764 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17766 * text2.C (SetCurrentFont): Disable number property at boundary.
17768 2001-02-26 Juergen Vigna <jug@sad.it>
17770 * lyxfunc.C (getStatus): added a string argument override function so
17771 that this is correctly called from LyXFunc::Dispatch if it contains a
17772 do_not_use_argument which is used!
17773 (Dispatch): added check for "custom" export and call appropriate func.
17775 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17777 * lyxrc.C: Add language_command_local, language_use_babel and
17778 language_global_options.
17780 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17782 * buffer.C (makeLaTeXFile): Use language_use_babel and
17783 language_global_options.
17785 2001-02-23 Juergen Vigna <jug@sad.it>
17787 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17788 which works with LyXText and putted it inside BufferView. Here now we
17789 only call for that part the BufferView::Dispatch() function.
17791 * BufferView.C (Dispatch): added.
17793 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17794 functions which needs to use a LyXText over from LyXFunc.
17795 (MenuInsertLyXFile): added
17796 (getInsetByCode): added
17797 (moveCursorUpdate): added
17798 (static TEXT): added
17800 2001-02-22 Juergen Vigna <jug@sad.it>
17802 * BufferView_pimpl.C (update): call a status update to see if LyXText
17805 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17807 * vc-backend.C (revert): implement for CVS
17808 (getLog): implement for CVS
17810 2001-02-20 Juergen Vigna <jug@sad.it>
17812 * text2.C (ClearSelection): added BufferView param for inset_owner call
17814 * lyxfunc.C (TEXT): added this function and use it instead of
17815 directly owner->view()-text of getLyXText().
17817 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17819 * src/layout_forms.C: out preamble
17820 * src/layout_forms.h: out preamble
17821 * src/lyx_cb.C: out preamble
17822 * src/lyx_cb.h: out preamble
17823 * src/lyx_gui.C: out preamble
17824 * src/lyx_gui_misc.C: out preamble
17825 * src/lyxfunc.C: connect with guii preamble
17827 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17829 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17831 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17833 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17834 whether to run bibtex.
17836 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17838 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17840 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17842 * Makefile.am (lyx_SOURCES): removed bibforms.h
17844 * vspace.h: doxygen
17846 * text.C (GetVisibleRow): make several local vars const
17848 * tabular.C: small cleanup.
17850 * lyxserver.C (callback): use compare instead of strncmp
17852 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17853 inlines to after class or to paragraph.C
17855 * lyxfont.h: remove friend operator!=
17857 * converter.h: move friend bool operator< to non friend and after
17860 * combox.h: small cleanup
17862 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17863 to inlines after class def.
17865 * buffer.C (pop_tag): use string operations instead of strcmp
17867 * bmtable.c: doxygen, small cleanup
17869 * LaTeX.h: remove friend operator==
17871 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17883 * BufferView_pimpl.C:
17884 * BufferView.[Ch]: remove cruft
17886 2001-02-14 Juergen Vigna <jug@sad.it>
17888 * lyxfunc.C: removed #if 0 unused code
17890 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17892 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17894 * text2.C (SetSelection): added a BufferView * parameter
17896 2001-02-13 Juergen Vigna <jug@sad.it>
17898 * lyxfunc.C (Dispatch): fixed protected blank problem.
17899 * BufferView2.C (protectedBlank): added LyxText * parameter.
17901 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17902 (AppendColumn): same as above for column_info.
17904 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17905 (moveCursorUpdate): use a LyXText param for support of InsetText.
17907 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17908 (tripleClick): ditto
17910 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17912 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17914 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17916 * text2.C (SetSelection): set correct update status if inset_owner
17917 (ToggleFree): ditto
17919 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17921 * tabular.C: remove some commented code.
17923 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17925 * BufferView_pimpl.C: call hideSplash()
17927 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17930 * bibforms.h: remove
17933 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17934 add LFUN_CHILD_CREATE
17936 * counters.h: fix tiny typo
17941 * lyx.C: move splash to frontends/xforms/
17943 * lyx_gui_misc.C: move Include and Bibform to frontends
17945 * lyxvc.h: clarify comment
17947 * vspace.C: tiny housekeeping
17949 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17951 * text.C (PrepareToPrint): RTL Fix.
17953 * paragraph.C (GetUChar): New method.
17954 (String): Use GetUChar.
17956 * buffer.C (asciiParagraph): Use GetUChar.
17958 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17960 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17962 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17965 * buffer.C: rename to getLogName(), handle
17966 build log / latex log nicely
17968 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17971 * MenuBackend.h: remove support for reference menuitem type.
17973 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17975 * BufferView_pimpl.C: housekeeping
17976 * BufferView_pimpl.h:
17981 * minibuffer.h: move Timeout GUI-I
17983 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17985 * lyxrc.C (read): Update converters data-structures.
17987 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17989 * LaTeX.h (operator!=): add operator != for Aux_Info
17991 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17993 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17995 * LaTeXLog.C: deleted, useful code moved to Buffer
17998 * buffer.C: new function getLatexLogName()
18004 * lyxfunc.C: use frontends for LaTeX and VC logs
18006 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18008 * LaTeX.h: yet another std:: that Allan forgot.
18010 * Variables.C (set): renamed from isset(), because this clashes
18011 with some HP-UX macros (grr).
18013 2001-02-06 Allan Rae <rae@lyx.org>
18015 * LaTeX.h: Another bug fix. Missing std:: this time.
18017 2001-02-04 Allan Rae <rae@lyx.org>
18019 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18020 floats problem. I've left it commented out because it's not quite
18021 correct. It should also test that the current object is a table or
18022 figure inset. But I haven't gotten around to figuring out how to do
18023 that. I *think* it'll be something like: "table" == inset.type()
18025 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18028 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18030 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18031 all the citation/databases/styles in the auxilary file.
18032 (run): Rerun latex if there was a babel language error.
18034 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18036 * text.C (Backspace): Preserve the font when changing newline char
18038 (BreakParagraph): If the cursor is before a space, delete the space.
18040 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18042 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18044 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18045 new argument (code).
18046 (ChangeCitationsIfUnique): New method.
18048 * paragraph.C (GetPositionOfInset): Handle bibkey.
18050 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18052 * BufferView_pimpl.h: change type of Position::par_pos to
18053 LyXParagraph::size_type.
18055 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18057 * BufferView_pimpl.C (savePosition, restorePosition): Write
18058 messages to minibuffer.
18060 2001-01-28 José Matos <jamatos@fep.up.pt>
18062 * buffer.C (makeDocBookFile): adds support for document language.
18063 A silly restriction on the name of LatexCommand types where removed.
18064 Added support for CDATA sections, allows to chars unescaped, used
18065 among others in code, to avoid escape < and >.
18067 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18069 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18070 saved positions instrad of a stack. Furthermore, a position is
18071 stored using paragraph id/paragraph position.
18073 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18074 Remove LFUN_REF_BACK.
18076 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18078 * converter.C (dvipdfm_options): New method.
18080 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18082 * vspace.C (isValidLength): Fix for empty input string.
18084 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18086 * LyXAction.C (init): change description of LFUN_FIGURE to
18089 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18091 * LaTeX.C: add using directive
18093 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18095 * MenuBackend.C (expand): Fix the sorting of the formats.
18097 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18099 * lyx_main.C: tiny error message fix
18101 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18103 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18104 calling fl_initialize(). This fixes the problem with ',' as
18105 decimal separator in text files.
18107 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18109 * trans.C (process): Fix the keymap bug.
18111 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18113 * LaTeX.C (scanAuxFiles): New method. Provides support for
18114 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18115 (scanLogFile) Scan for "run BibTeX" messages.
18117 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18118 OT1 font encoding. Also, load the aecompl package if the ae
18121 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18123 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18125 * texrow.C (increasePos): turn two error messages into debug
18128 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18130 * LaTeX.C (scanAux): Handle the \@input macro.
18131 (runBibTeX): Use scanAux().
18133 * language.C (latex_options_): New field.
18135 * LaTeXFeatures.C (getMacros): Add language macros.
18137 * buffer.C (makeLaTeXFile): Small fix.
18139 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18141 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18143 * text2.C: add a using directive.
18145 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18150 * lyxfunc.C: kill LyXBell.
18152 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18154 * text.C (IsBoundary): Remove the error message
18156 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18158 * lyxrc.C (setDefaults): Correct initialization value for
18161 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18163 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18166 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18167 and GotoNextNote().
18169 * src/LyXAction.C: Added reference-next.
18171 * text.C (InsertChar): Use contains instead of strchr.
18173 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18175 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18177 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18178 alignment commands (when needed).
18180 * text.C (InsertChar): Add ':' to number separator chars.