1 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * lyxfind.C (findNextChange): tiny cleanup.
5 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
6 change tracking with the cursor in an inset; make sure the first
9 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
12 tabularStackDirty to work around bug 1919 (tabular needs
13 to know whether its own cell paste buffer or the one of
15 * CutAndPaste.C: mark tabular_stack_ clean after copy.
17 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
19 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
21 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
23 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
24 use old deleteion algorithm when changetracking is on.
26 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
28 * messages.C (get): add debug output.
30 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
32 * text.C (cursorX): fix bug 1965: cursor movement at
33 line end broken in RtL.
34 (drawSelection): fix bug 1970: drawing of single-line
35 selection broken for RtL.
37 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
41 * dociterator.h (clear, push_back, pop_back): change from
44 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
45 and changed to just return the value of the item depth; take a
46 ParIterator as argument; take the itemdepth at outer nesting level
47 in account if necessary; cleanup and comment the code.
48 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
49 and changed to just return true if reset is needed; take a
50 ParIterator as argument; cleanup and comment the code.
51 (setCounter): adapt to above changes.
53 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
55 * text3.C (dispatch): make debug message optional
57 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
59 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
62 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
64 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
66 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
68 * text.C (insertChar):
69 * text2.C (deleteEmptyParagraphMechanism): take care whether
70 a blank has been deleted (in change tracking mode) (bug 1254).
72 2005-07-20 John Levon <levon@movementarian.org>
74 * text2.C (insertStringAsLines): remove old dubious code,
77 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
79 * MenuBackend.C (expandToc): use Floating::listName() as title of
82 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
84 * toc.[Ch]: Do not use translatable strings (bug 1870).
86 2005-07-20 John Levon <levon@movementarian.org>
88 * tabular.C: fix 1748 - setting multicolumn adds
89 left line to the first cell
91 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
94 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
97 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
99 * messages.C: supress some lyxerr messages
101 2005-07-18 Juergen Vigna <jug@lyx.org>
103 * text.C (drawSelection): honor boundary when asking for cursorX.
105 2005-07-17 José Matos <jamatos@fc.up.pt>
107 * tabular.C (recalculateMulticolumns): fix handling of one column
110 2005-07-17 Juergen Vigna <jug@lyx.org>
112 * text.C (Delete, backspace): fixed so that paragraph with the
113 same layout can be merged by Delete/Backspace.
115 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
117 * text.C (readParToken): fix spelling.
119 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
121 * text2.C: fix counter update for DEPM problem reported by
124 2005-07-17 Juergen Vigna <jug@lyx.org>
126 * BufferView_pimpl.C (setBuffer): save/restore the
127 cursor/selection when switching buffers
130 * buffer.C (saveCursor): add saveDocumentIterators to save the
131 cursor when switching buffer.
133 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
136 * buffer.C: clarify message
138 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
140 * dociterator.C (DocIterator): fix initialization order
142 2005-07-17 Juergen Vigna <jug@lyx.org>
144 * text2.C (cursorHome):
145 * text.C (drawSelection, cursorX):
146 * dociterator.C (textRow): add boundary to getRow() call
148 * paragraph.C (getRow): implementation of below
150 * paragraph.h: add parameter boundary for getRow() function
152 2005-07-17 José Matos <jamatos@fc.up.pt>
156 * tex-strings.[Ch]: new file format, remove support for a4.sty,
157 a4wide.sty and a4widemargins.
159 2005-07-17 Juergen Vigna <jug@lyx.org>
161 * text2.C (cursorLeft): fix one of error
163 2005-07-17 Juergen Vigna <jug@lyx.org>
165 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
167 more fixes for boundary handling
169 * text3.C (dispatch): don't reset cursor if boundary has changed
172 2005-07-16 Juergen Vigna <jug@lyx.org>
174 * text2.C (getColumnNearX): hopefully got it right now,
175 check if we are on column 0 for special case.
177 2005-07-16 Juergen Vigna <jug@lyx.org>
179 * text2.C (getColumnNearX): handle special case Newline Inset
181 * text.C (singleWidth): Just remove bogus check
183 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
185 * funcrequest.C (split): avoid reading uninitialized char c
187 2005-07-16 José Matos <jamatos@fc.up.pt>
193 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
194 single papersize variable.
196 2005-07-16 Juergen Vigna <jug@lyx.org>
198 * text3.C (dispatch): honor boundary when checking if a cursor
199 movement has been done
201 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
202 (setCursor, setCursorIntern): fix cursor movement with boundary
204 2005-07-16 Juergen Vigna <jug@lyx.org>
206 * text.C (currentState): output the actual Boundary
208 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
210 * factory.C (createInset): fix bad logic for tabular creation
212 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
214 * lyx_main.C (init): change some reLyX reference to tex2lyx
216 2005-07-16 Juergen Vigna <jug@lyx.org>
218 * dociterator.C (DocIterator): initialize boundary
220 2005-07-16 Juergen Vigna <jug@lyx.org>
222 * text2.C (getColumnNearX): Consider rows without trailing blank.
224 2005-07-16 André Pönitz <poenitz@gmx.net>
226 * lyxfont.h: Change order of declarations to give the compiler
227 a better chance to inline things
229 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
230 questions on unsaved docs for better scritability
232 2005-07-16 André Pönitz <poenitz@gmx.net>
234 * paragraph.h (getChar): remove asserts as the same kind of security
235 can be achieved by using a suitable standard library implementation
236 and the function was in the critical path (25.9% in profiler)
238 2005-07-16 Juergen Vigna <jug@lyx.org>
240 * cursor.C (bruteFind2):
241 * bufferview_funcs.C (coordOffset):
242 * text.C (cursorX,cursorY): Handle cursor position after last char
243 in row before a inset which uses a whole row.
245 2005-07-15 José Matos <jamatos@lyx.org>
247 * output_plaintext.[Ch] (writeFileAscii): control reference title
249 (asciiParagraph): noparbreak was already deal and was incorrectly
252 2005-07-15 Juergen Vigna <jug@lyx.org>
254 * lyxfunc.C (dispatch): save and restore the cursor after a
257 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
259 * text.C (backspace): bug 806 for empty keepempty paragraphs we
260 change the layout to default before letting DEPM do its thing.
262 * paragraph_funcs.C (breakParagraph): dont reset the layout on
265 * text.C (setCursorFromCoordinates): add a debug statement
267 * text2.C (getColumnNearX): bug 1825 make sure that we don't
268 return a pos that is not on the row
270 * output_latex.C (TeXDeeper): get rid of potential dereferencing
271 of past the end iterator
273 2005-07-14 André Pönitz <poenitz@gmx.net>
275 * undo.C (recordUndoFullBuffer): implement undo for
278 2005-07-14 André Pönitz <poenitz@gmx.net>
280 * cursor.C (setSelection): open insets when selection is set there
281 to avoid crashs with cold coord cache
283 2005-07-14 André Pönitz <poenitz@gmx.net>
285 * trans_mgr.C (insert): move cursor to the right after inserting
288 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
290 * BufferView_pimpl.C (update): dampen some of the debug blabbering
291 * factory.C (readInset): ditto
292 * text.C, text2.C: ditto
294 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
296 * buffer.C: format incremented to 242. There is no file format per
297 se, but the "frenchb" language has been removed from lib/language
298 and has to be translated to "french" by lyx2lyx.
300 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
302 * cursor_slice.h, dociterator.h: add some documentation
303 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
305 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
307 * text.C (leftMargin): do not add identation to display() style
308 insets, because they are always centered (bug 1293).
310 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
312 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
313 formatted_time methods in support/lyxtime.
315 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
317 * toc.[Ch]: new method getGuiName, which is used by the frontends
318 to set the toc combo (fixes bug 1870). Make TOC string translatable.
320 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
322 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
323 StableDocIterator const &)
324 * undo.C (recordUndo): use the above instead of cell.size() comparison
325 (fixes bug 1808; instructed by Andr�.
327 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
330 * dociterator.h: Fix the assert when copying rows/cols in math
332 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
334 * BufferView_pimpl.C:
336 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
338 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
339 (findInset): new functions, refactored from goto Inset that return
340 the position of a certain inset without setting the buffer's cursor
342 (gotoInset): rewrite to call findInset and then set the cursor
345 2005-06-16 Angus Leeming <leeming@lyx.org>
347 * lyxrc.C (output, read): wrap all input and output of paths with
348 calls to os::internal_path and os::external_path, respectively.
349 (output): wrap bind_file inside quotes.
351 * format.C (view): enable the viewer to use the '$$s' placeholder.
353 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
355 * LColor.[Ch] (getFromLaTeXName): new
357 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
359 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
361 2005-06-14 Angus Leeming <leeming@lyx.org>
363 * lyx_main.C (init): ensure that the LyX binary dir is the first
364 element in the PATH on non-POSIX builds.
366 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
368 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
370 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
372 * rowpainter.C (paintInset, paintHebrewComposeChar)
373 (paintArabicComposeChar, paintChars): add a LyXFont argument.
374 (paintChars): use getFontSpan to reduce calls to getFont to a
375 minimum; use Paragraph::lookupChange instead of isXXXText.
376 (paintForeignMark): rename LyXFont argument.
377 (paintFromPos): pass a LyXFont object to the various paintXXX
380 * FontIterator.C (FontIterator, operator++): use
381 Paragraph::getFontSpan
383 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
384 version that returns the font span as a pair.
386 2005-06-09 Angus Leeming <leeming@lyx.org>
388 * converter.C (convert): Don't forget "outfile = real_outfile" as
389 the final step in a conversion where the input and output file names
390 are the same. Otherwise, future conversion steps won't work...
392 2005-06-09 Angus Leeming <leeming@lyx.org>
394 * lyxsocket.C: remove stub code as it isn't needed by
395 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
397 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
399 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
400 effectively disabled -x
402 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
404 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
405 when it actually makes sense.
407 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
409 * BufferView_pimpl.C: revert to showCursor in connection with
410 Lars's front-end stack
412 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
414 * text.C (redoParagraph): move cursor right after a bibitem
417 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
419 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
421 * buffer_funcs.C (bufferErrors): fix computation of the end of an
424 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
426 * BufferView.[Ch] (update):
427 * BufferView_pimpl.[Ch] (update, metrics):
428 * dimension.h (operator==):
429 * lyxfunc.C (dispatch):
430 * metricsinfo.h (ViewMetricsInfo):
431 * rowpainter.C (paintText):
433 * text.C (redoParagraph):
434 * text3.C (dispatch): Make LyX only repaint current paragraph in
435 case of character insert --> speedup. Also fix cursor draw
438 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
440 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
441 avoid a crash (bug 1891)
443 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
447 * text2.C (getStringToIndex): constify cur argument.
449 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
450 argument has been given
451 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
452 try to invoke LFUN_INSET_APPLY).
454 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
455 if no inset was created by doInsertInset
456 (doInsertInset): return true if an inset has been inserted.
458 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
460 * vspace.C (asGUIName): new method. A version of the space
461 suitable for showing on screen.
463 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
466 * lyxrc.C: rename "ASCII" to "Plain Text"
468 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
470 * buffer_funcs.C (expandLabel): take a Buffer as argument;
471 translate the labelstring.
472 (setCounter): translate labelstring as needed.
474 * output_docbook.C (makeCommand): fix expandLabel invokation
476 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
478 * BufferView.C: fix dialog title
480 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
482 * lyx_main.C (priv_exec): fix logic error with help from Angus
483 * lyx_main.C (parse_execute): set is_gui = false and remove now
484 obsolete comment about a segfault
486 2005-05-18 Angus Leeming <leeming@lyx.org>
488 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
490 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
492 * tabular.[hC]: added setCellInset to fix tabular paste.
494 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
496 * buffer.C (save): check if destination is writable before trying
499 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
501 * BufferView_pimpl.C (update): fix processEvents -caused update
504 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
506 * buffer_funcs.C (setCounter): fix test for numbering of
509 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
510 depth correctly; use optional argument when it exists
512 * lyxtextclass.C: remove unused MaxCounterTags enum
513 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
514 (max_toclevel, min_toclevel): new methods.
516 * MenuBackend.C (expandToc2): fix case where depth is smaller than
517 the smallest depth in toc.
519 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
520 layouts that should not appear in a table of contents.
522 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
524 * cursor.h (undispatched, noUpdate): add comments from Andr�
525 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
529 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
531 2005-05-07 André Pönitz <poenitz@gmx.net>
533 * cursor.[Ch] (leaveInset): new function
535 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
537 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
539 2005-05-04 Angus Leeming <leeming@lyx.org>
541 * lyxfunc.C (getStatus): disable the spell checker dialog if
542 none of USE_[AIP]SPELL are defined.
544 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
546 * tabular.C (setWidthOfCell): remove obsolete comment
548 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
550 * paragraph.C (bibitem):
551 * buffer_funcs.C (setCounter):
552 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
554 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
556 * text3.C (getStatus): immediately return after setOnOff
558 * rowpainter.C: fix drawing of appendix start
560 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
562 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
563 SwitchBetweenClasses and remove the unused return value.
564 Handle character styles, too
566 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
568 * factory.C (createInset): handle undefined character styles
570 2005-05-02 Angus Leeming <leeming@lyx.org>
572 * buffer.C: protect the #include of utime.h with a preprocessor
575 2005-05-02 Angus Leeming <leeming@lyx.org>
577 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
578 function so that auto-saving works, albeit in a blocking manner.
580 * Makefile.am: make compilation of the client sub directory, of
581 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
582 on conditionals set at configure time.
584 * SpellBase.[Ch]: no longer an abstract base class. Instead,
585 it can be compiled in its own right but has no-op functionality.
587 * aspell.C, pspell.C: remove preprocessor guards. The files should
588 be compiled only if the necessary functionality exists.
590 * lyxserver.C, lyxsocket.C: disable on Windows.
592 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
594 * text.C (leftMargin): Fix the parindent use bug (1764)
597 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
599 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
602 2005-04-25 Angus Leeming <leeming@lyx.org>
610 include <config.h> in .C files, not .h ones.
612 protect headers inside preprocessor guards.
614 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
616 * FuncStatus.h (StatusCodes): document
618 2005-04-21 André Pönitz <poenitz@gmx.net>
620 * FuncStatus.h (enabled, onoff): document
622 2005-04-19 Angus Leeming <leeming@lyx.org>
624 * BufferView_pimpl.C (cursorToggle): no longer test whether
625 any child processes have been reaped before calling
626 handleCompletedProcesses().
628 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
630 * text3.C (dispatch): fix, finally fix, the language problem in
631 new lyxtexts, without disabling on-the-fly font changes (Helge's
634 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
636 * text3.C (dispatch): set cursor on double/triple click events
639 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
641 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
642 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
644 * rowpainter.C (paintFirst): simplify the code a little bit. In
645 particular, remove the test for secnumdepth.
646 * text.C (setHeightOfRow): only allocate space for chapter number
647 when updateCounters provided an actual label, instead of looking
648 at secnumdepth directly.
650 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
652 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
653 paragraphs when secnumdepth is large enough or, for environments,
654 when they are not the first in a sequence.
656 2005-04-17 Angus Leeming <leeming@lyx.org>
658 * buffer.C (makeLaTeXFile): replace code to manipulate a path
659 containing space and '~' characters with a call to latex_path().
661 2005-04-17 Angus Leeming <leeming@lyx.org>
663 * converter.C (convert): protect all args of convertDefault.sh
666 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
668 * text3.C (dispatch): change the layout to "Caption" after inserting
671 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
673 * text3.C (dispatch): fix language problem in newly created
674 textinsets (and main text) in non-english docs
676 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
678 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
679 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
680 * text3.C (getStatus): disable LFUN_INSET_MODIFY
682 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
687 * rowpainter.C (getFont): Fix metrics bug introduced by inset
690 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
692 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
693 output of \item arguments without trailing text.
695 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
697 * FontIterator.C (operator*): avoid a copy of the font.
699 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
701 * rowpainter.C (getFont): fix language bug from previous fix
703 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
705 * rowpainter.C (RowPainter, getFont): fix font inside inset
708 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
710 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
711 preventing inserted font, deco, delim insets jumping to start of
714 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
716 * lyxfunc.C (dispatch): translate message before sending it to the
719 2005-03-29 Angus Leeming <leeming@lyx.org>
721 * lyx_main.C (priv_exec): call os::internal_path on each file passed
722 to LyX on the command line.
724 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
726 * vc-backend.C: use QuoteName to protect file names wherever
729 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
732 * BranchList.h: fix bugs 1844,1845: document settings don't
735 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
737 * lyxrc.C (setDefaults, read, output, getDescription): add support
738 for tex_allows_spaces.
740 * exporter.C (Export): allows files in directory containing spaces
741 if tex_allows_spaces is true.
743 * buffer.C (makeLaTeXFile): if the document path contains spaces,
744 output it in double quotes.
746 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
748 * rowpainter.C: use default text height for drawing change tracker
751 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
753 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
755 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
757 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
758 directory is missing.
760 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
762 * text2.C: fixed the fix, extended to other case.
764 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
766 * text2.C: fix for cursor up/down stuck in math [bug 1792]
768 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
770 * text2.C (cursorUp): get rid of a crash
771 * text.C (x2pos): add an assert
773 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
775 * lyxfunc.C (getStatus): fix warning when assertions are disabled
779 * dociterator.C: include <boost/current_function.hpp>, which is
780 needed when assertions are disabled.
782 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
784 * text2.C: fix for stuck cursor when traversing two
785 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
787 2005-02-25 Andreas Vox <avox@arcor.de>
789 * output_docbook.C (makeParagraph): suppress trailing newline
790 after a run of paragraphs
792 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
794 * paragraph.C: fix for confused change tracker when pasting
795 text that begins with a lineseparator. [bug 1827]
796 (setChange(0, Change::INSERTED);)
798 * paragraph_funcs.C: fix for lost changes on triple-paste
799 in change tracking mode [bug 1827] (par.setChange()).
801 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
803 * text2.C (updateCounters, setCounter, expandLabel): move to
806 * buffer_funcs.C (updateCounters): turn into a free standing
807 function and add a buffer parameter. Remove dead code for tracking
809 (setCounter): change into a free-standing function which gets a
810 dociterator as argument. Use this iterator to fix captions in a
811 simple way. When no float is found above the caption, use the
812 labelstring of the caption layout as default.
814 * text.C (breakParagraph, backspace):
815 * text2.C (init, setLayout, changeDepth):
816 * text3.C (dispatch):
817 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
820 * dociterator.C (forwardPar): make it much faster by calling
821 forwardPos() only when really necessary.
823 * output_docbook.C (makeCommand): adapt to expandLabel move.
825 * cursor.C: remove unused variable
827 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
829 * paragraph_funcs.C: fix crash when pasting insets in change
830 tracking mode [bug 1277] (honour change type in moveItem).
832 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
834 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
836 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
838 * BufferView.C (setCursor): change to use a DocIterator.
839 (gotoLabel): use BufferView::setCursor (other part of bug 781).
840 (putSelectionAt): adapt to BufferView::setCursor change.
842 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
843 moved here from LyXText and rewritten to use proper cursor
844 methods. Fixes bug 1787, 616 and 835.
846 * BufferView_pimpl.C (restorePosition): set the cursor correctly
847 when inside an inset (part of bug 781).
848 (dispatch): adapt to change of BufferView::setCursor.
849 (getStatus, dispatch): handle LFUN_GOTOERROR,
850 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
852 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
853 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
854 * text3.C (gotoNextInset, gotoInset): removed.
856 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
858 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
860 2005-02-15 Angus Leeming <leeming@lyx.org>
862 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
863 can be used meaningfully in a comparison.
865 2005-02-13 André Pönitz <poenitz@gmx.net>
867 * bufferview_funcs.C (coordOffset): improve cursor drawing
869 2005-02-13 André Pönitz <poenitz@gmx.net>
871 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
872 * Cursor.C (dispatch): use fixIfBroken
873 * lyxfunc.C (getStatus): use fixIfBroken
875 2005-02-15 Angus Leeming <leeming@lyx.org>
877 * lyx_main.C (error_handler):
879 * lyxrc.C (setDefaults):
881 #include "environment.h".
883 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
885 2005-02-15 Angus Leeming <leeming@lyx.org>
887 * lyxserver.C (startPipe): squash MSVC warning "local variable
888 'fd' used without having been initialized".
890 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
892 * BufferView_pimpl.C: revert accidental commit.
894 2005-02-14 André Pönitz <poenitz@gmx.net>
896 * dociterator.[Ch]: new member forwardPosNoDescent(),
897 which doesn't enter nested insets.
898 * text2.C (setFont): use forwardPosNoDescent() instead
899 of ForwardPos() (fixes crash on font change).
901 2005-02-13 Angus Leeming <leeming@lyx.org>
903 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
904 only if lyxrc.path_prefix is not empty.
906 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
908 * bufferparams.C (readGraphicsDriver): prevent crash
910 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
912 * text2.C (setCounter): check for inInset() == 0
914 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
916 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
917 but use update() to get correct screen display; use convert
918 instead of istringstream.
919 (getStatus): handle LFUN_GOTO_PARAGRAPH
921 * lyxfunc.C (dispatch, getStatus): do not handle
922 LFUN_GOTO_PARAGRAPH here.
924 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
926 * text3.C (dispatch): size() -> depth()
928 * text2.C: remove some debug output
930 * paragraph.C: ws changes only
932 * lyxfunc.C (getStatus): size() -> depth()
934 * dociterator.h (clear, push_back, pop_back, internalData,
935 operator[], resize, empty): new functions
936 Make StableDocIterator and operator== be friends. Don't inherit
937 from std::vector use a privat class variable slices_ instead.
940 * dociterator.C: update because of not inheriting from std::vector
941 anymore. Call explictly to slices_ instead. Use depth() instead of
942 size() and top() instead of back()
944 * cursor.C: chagne size() -> depth and back() -> top(). Also
945 remove some direct operator[](i) calls in favour of foo[i]
946 (getFont): remove some dead code
948 * bufferview_funcs.C (coordOffset): size() -> depth()
950 * buffer.C: ws changes only
952 * CutAndPaste.C (eraseSelection): back() -> top()
954 * BufferView_pimpl.C (selectionRequested): back() -> top()
956 * BufferView.C (setCursor): size() -> depth()
958 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
960 * text3.C (cursorPrevious): return true if depm changed something
962 (dispatch): rename sl to oldTopSlice, remove moving use the new
963 NoUpdate func attrib instead. Make sure that needsUpdate is set
964 for function that have NoUpdate, but where depm might have changed
967 * text2.C (cursorLeft): make us return true if depm changed
970 (cursorUpParagraph): ditto
971 (curosrDownParagraph): ditto
972 (cursorUp, cursorDown): ditto, make sure to read comments in code
973 (deleteEmptyParagraphMechanism): remove an assert, also return
974 true if just a single char was deleted.
976 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
977 cursor that we modify, to avoid modifying an active cursor before
978 we call setCursor. This allows depm to run. Also return true if
979 depm deleted something.
981 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
982 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
983 cursorDownParagraph, cursorPrevious and cursorNext, return true if
984 something was changed in the buffer because of them (ie. depm run)
986 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
987 debug messages. Make update by default be false. Make sure that
988 the result of update is retained throught several calls down to
991 * LyXAction.h: add a new func_attrib: NoUpdate
993 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
994 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
995 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
997 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
999 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1001 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1002 bv_->owner(), bv_->buffer() by direct references to the private
1004 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1005 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1006 (fitCursor): center() is in BufferView::Pimpl.
1007 (getStatus, trackChanges, dispatch): no need for a temporary buf
1009 (fitCursor, workAreaDispatch): use workarea().workheight()
1011 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1013 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1015 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1017 * buffer.C: format up to 241.
1018 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1019 break if pasting into ERT
1020 * lyxfunc.C (getStatus): suppress mathpanel and
1021 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1023 2005-02-01 Angus Leeming <leeming@lyx.org>
1025 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1027 2005-02-01 Angus Leeming <leeming@lyx.org>
1029 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1030 calling fs::is_directory().
1032 2005-01-31 Angus Leeming <leeming@lyx.org>
1034 * lyx_main.C (priv_exec): specify explicitly the relative location
1035 of the top level build directory when run in-place.
1037 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1039 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1040 LyXText containing the cursor, not the top-level one.
1042 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1044 (insertStringAsLines): rename par to pit; use temporary variable
1045 par to hold a Paragraph; do not store par.layout() in a variable,
1046 since the pointer may die when breaking paragraphs; pass pars to
1047 breakParagraph() instead of Buffer::paragraphs().
1049 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1051 * lyxlex_pimpl.h: #include <fstream>.
1053 * BufferView.[Ch] (getLyXText): add a const version.
1055 * BufferView_pimpl.C: add debug aids.
1060 * paragraph_funcs.h: add commentary explaining what the class does.
1063 * coordcache.[Ch]: add lots of commentary.
1064 (startUpdating, doneUpdating): debug aids.
1065 (arrays, insets, parPos, getParPos): accessors to private data.
1067 * cursor_slice.[Ch] (text): add a const version.
1068 * dociterator.[Ch] (text, innerText): add const versions.
1070 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1073 * paragraph.C (getRow, pos2ros): add asserts.
1075 * paragraph.h: add commentary. Lots of.
1077 * paragraph.[Ch] (metrucs, draw): removed.
1080 * rowpainter.[Ch]: const-correct changes.
1082 * text.C: various obvious clean-ups. Removal of ancient cruft.
1085 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1087 * vc-backend.C (find_file): rewrite to use boost.filesystem
1090 * main.C (main): set default name check for boost.filesystem to
1093 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1096 (actOnUpdatedPrefs): ditto
1098 * lyx_main.C (init): rewrite to use boost.filesystem
1099 (queryUserLyXDir): ditto
1101 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1102 (getContentsOfAsciiFile): ditto
1104 * lastfiles.C (readFile): rewrite to use boost.filesystem
1106 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1108 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1109 (loadLyXFile): ditto
1111 * buffer.C (Buffer): adjust for destroydir
1112 (getLogName): rewrite to use boost.filesystem
1113 (setFileName): ditto
1114 (save): use fs::copy_file (from fs_extras)
1116 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1118 * LaTeX.C (run): rewrite to use boost.filesystem
1119 (scanAuxFiles): ditto
1120 (handleFoundFile): ditto
1122 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1124 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1126 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1128 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1130 * lyxlayout.[Ch]: change some vars from float to double
1132 * buffer.C (readFile): make a local var const
1134 * Several files: use convert<> instead of atoi,strToXXX and friends
1136 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1138 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1139 holds the contents of packages.lst. New functions getAvailable
1140 and isAvailable to parse and check that list, resp.
1144 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1146 * bufferparams.[Ch]: new param output_changes.
1148 * Buffer.C: increase file format to 240.
1149 Use output_changes and isVailable.
1153 * paragraph_pimpl.C: Use output_changes and isVailable.
1155 2005-01-23 Angus Leeming <leeming@lyx.org>
1157 * output_latex.C: #include "insetbibitem.h", rather than
1158 forward declare function bibitemWidest.
1160 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1162 * lyx_main.C (init): make it compile on the Mac.
1164 2005-01-20 Angus Leeming <leeming@lyx.org>
1166 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1167 (setLyXMisc): (char string literal) != (char string literal) is
1168 performing a comparison on the addresses. Convert one operand
1169 explicitly to string to guarantee expected behaviour.
1172 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1175 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1177 * output_plaintext.C: remove unneeded #include gzstream.h.
1179 2005-01-20 Angus Leeming <leeming@lyx.org>
1181 * SpellBase.h: rename some of the elements of the Result enum.
1188 * pspell.C (check): ditto
1190 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1192 * buffer.C: add #include <fstream>.
1194 * lyx_main.C (init): Compile fix.
1196 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1198 2005-01-20 Angus Leeming <leeming@lyx.org>
1200 * mover.h: change commentary to reflect the changed meaning of
1201 the $$s placeholder.
1203 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1205 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1207 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1209 2005-01-20 Angus Leeming <leeming@lyx.org>
1211 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1212 printing diagnostic data by not dereferecing an iterator past the
1215 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1217 * buffer.C (readHeader): use "&&" rather than "and".
1219 * lyxserver.h (inPipeName, outPipeName): make these const.
1221 2005-01-19 Angus Leeming <leeming@lyx.org>
1223 * lyx_main.C (error_handler, init): protect SIGHUP with
1224 #ifdef SIGHUP guards.
1226 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1228 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1230 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1232 * text.C (setHeightOfRow): add a margin at the top and bottom of
1233 the document (bug 1761)
1235 2005-01-17 Angus Leeming <leeming@lyx.org>
1237 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1238 with "python ". Workaround for a brain-dead Windows.
1240 2005-01-16 Angus Leeming <leeming@lyx.org>
1242 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1243 for MacOSX and Windows to use prependEnvPath.
1244 Strip out the hard-coded block to add elements to the PATH for
1245 MacOSX and replace it with a call to prependEnvPath using the
1246 contents of LyXRC::path_prefix.
1247 (queryUserLyXDir): strip out the code to run reconfigure, instead
1248 returning a boolean indicating the necessity to do so.
1249 (reconfigureUserLyXDir): contains the code to reconfigure the
1250 user support directory. Is now called after the various LyXRC data
1251 files have been read.
1253 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1255 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1257 * converter.[Ch] (convert): take a new parameter try_default. Use
1258 a default converter (imagemagick) if try_default is true.
1260 2005-01-13 Angus Leeming <leeming@lyx.org>
1262 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1263 os::cygwin_path_fix.
1264 (write): output LyXRC::cygwin_path_fix as necessary.
1266 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1269 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1271 2005-01-12 Angus Leeming <leeming@lyx.org>
1273 * lyx_main.C (init): set the PATH variable to include the
1274 directory containing the LyX binary when running on Mac or Windows.
1276 2005-01-12 Angus Leeming <leeming@lyx.org>
1278 * lyx_main.C (init): remove cruft that purports to set the locale
1279 dir. It doesn't and is not needed anyway.
1281 2005-01-10 Angus Leeming <leeming@lyx.org>
1283 * Makefile.am: remove the lyx_main.C special casing.
1285 * BufferView_pimpl.C:
1291 * messages.C: use support/package.h to provide the paths to the
1292 various directories used by LyX.
1294 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1296 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1297 layout if pasting into an empty paragraph)
1299 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1301 * tex-accent.C: add <string>
1303 2005-01-06 José Matos <jamatos@lyx.org>
1305 * ParagraphParameters.C (write): put every parameter in its own line.
1306 * paragraph.C (write): reduce number of consecutive empty lines exported.
1307 * buffer.C (LYX_FORMAT): increase file format to 239.
1309 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1311 * everywhere: change support/tostr.h -> support/convert.h
1313 * tabular.C: make all write_attributes templates, tostr -> convert
1315 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1316 (emptyTag): and -> &&, and fix type for ret from getChar
1317 (getFirstWord): fix type for ret from getChar
1318 (onlyText): and -> &&
1319 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1322 * toc.C (goTo, action):
1323 * text3.C (dispatch):
1324 * text.C (currentState):
1325 * tex-accent.C (DoAccent):
1328 * lyxfunc.C (menuNew):
1329 * lyxfinc.C (replace):
1330 * counters.C (laberItem):
1331 * bufferview_funcs.C (font2string):
1332 * bufferparams.C (writeFile):
1333 * buffer.C (readFile):
1335 * MenuBackend.C: tostr -> convert
1337 * LaTeX.C (runMessage): fix format
1338 (scanAuxFiles): tostr -> convert
1340 * BufferView_pimpl.C (savePosition): fix format
1341 (restorePosition): ditto
1344 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1346 * Spacing.[Ch]: New method getValueAsString().
1350 * ParagraphParameters.C:
1353 * text3.C: store/read spacing value as string.
1355 * rowpainter.C: change float value (spacing_val) to double.
1357 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1358 broken custom document spacing).
1360 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1362 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1363 namespace, also more use of temp references and const
1365 * cursor.[Ch] (getStatus): move to lyxfunc.C
1367 * bufferparams.C: reformat slightly
1369 * bufferview_funcs.C (font2string): constify arg
1375 * buffer_funcs.C: (many funcs): constify arg on function
1376 definitions, also make more local vars const, also add ASSERTS on
1379 * buffer.C (LYX_FORMAT): put const in correct place
1380 (many funcs): constify arg on function definitions, also make
1381 more local vars const
1383 * aspell_local.h: remove "struct" from typdef setup
1385 * aspell.C (check): make word_ok const
1386 (nextMiss): simplify slightly
1389 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1391 * lyxrc.[Ch]: store all float values as strings.
1392 use int (not float) for lyxrc.dpi.
1394 2005-01-04 Angus Leeming <leeming@lyx.org>
1396 * lyx_cb.C (Reconfigure):
1397 * lyx_main.C (queryUserLyXDir):
1398 to run the <system_lyxdir>/configure correctly on Windows, prefix
1399 the path to the script with "sh " when generating the string that
1400 is passed to system().
1402 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1404 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1406 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1408 * lyxlength.C (asLatexString): get rid of setprecision
1410 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1412 * text2.C (setLayout): remove unused variable endpit.
1413 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1415 * paragraph.C (onlyText): remove unused variable style.
1417 * cursor.C (bruteFind): remove unused variables beg and end.
1419 * Makefile.am (dist_noinset_DATA): not needed anymore
1421 * cheaders/*: remove.
1423 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1425 * text3.C: fix LFUN_MATH_MODE.
1427 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1429 * buffer_funcs.C (countWords): new function. Counts words between
1432 * BufferView_pimpl.C (getStatus, dispatch): handle
1435 * LyXAction.C (init):
1436 * lfuns.h: add LFUN_WORDS_COUNT.
1438 2004-12-19 Angus Leeming <leeming@lyx.org>
1440 * buffer.C (save): s/slashify_path/internal_path/.
1442 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1444 * lyxfind.C (findChange): do not search for end of pars, because
1445 the change tracker cannot handle this (fixes bug 1719).
1447 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1449 * paragraph.[Ch] (autoBreakRows): remove
1451 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1453 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1454 avoid using the paragraph one
1456 * text2.C (LyXText, insertStringAsLines): adjust
1458 2004-12-16 Angus Leeming <leeming@lyx.org>
1462 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1464 2004-12-14 Angus Leeming <leeming@lyx.org>
1466 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1468 * bufferlist.C (emergencyWrite):
1469 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1472 2004-12-14 Angus Leeming <leeming@lyx.org>
1474 * main.C: (main): no longer pass pointers to os::init.
1476 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1478 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1479 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1481 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1484 * text3.C: remove selection_possible global flag
1486 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1488 * text2.C (getSelectionSpan): remove
1489 (changeDepth, changeDepthAllowed): adjust
1491 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1493 * Makefile.am (BOOST_LIBS): use boost variables
1495 2004-12-03 José Matos <jamatos@lyx.org>
1497 * buffer.C: format up to 238.
1499 2004-12-03 José Matos <jamatos@lyx.org>
1501 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1503 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1505 * cursor.C (goUpDown): remove call to idxUpDown2
1507 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1509 * tabular.[Ch]: use size_t-like types for cell, row and column
1512 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1514 * lyxfunc.C (getStatus): do not lose previous information when
1515 calling BufferView::getStatus; do not set a default "Command
1516 disabled" message at the beginning, but just before returning.
1518 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1520 * cursor.h (getStatus): add better comment from src/cursor.C
1522 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1524 * text3.C (getStatus): return false when the lfun is not handled
1526 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1528 * broken_headers.h: remove
1530 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1532 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1534 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1535 offset_ref accessors
1537 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1538 top_y_, merge fitcursor with update
1539 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1541 (metrics): introduce
1542 (workAreaDispatch): adapt to new coord scheme
1543 (redoCurrentBuffer): remove
1545 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1547 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1550 * coordcache.[Ch]: add paragraph cache and helpers
1552 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1555 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1556 (targetX, setTargetX): introduce
1558 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1559 baseline -> ascent, as the rest of lyx
1561 * lyxtext.h: remove redoParagraphs, updateParPositions,
1562 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1563 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1564 have ascent/descent (ascent is ascent of first par)
1566 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1569 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1571 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1573 * pariterator.C: fix infinite loop introduced in par->pit renaming
1575 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1576 in insets and LyXText, draw two off-screen paragraphs using
1577 NullPainter, and adapt to new coord scheme
1581 * text3.C: adapt lfun handlers to the new coord scheme, which
1582 means: there's only guaranteed coord information for onscreen pars
1583 plus one above and one below. This implies that one can do search
1584 from y coordinates in the range [-1,workHeight]
1586 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1588 * rename a lot of InsetOld to InsetBase
1590 2004-11-25 Angus Leeming <leeming@lyx.org>
1592 * BufferView_pimpl.C:
1594 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1596 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1598 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1599 call BufferView::getStatus if LCursor::getStatus did nothing
1600 (setStatusMessage, getStatusMessage): removed.
1602 * FuncStatus.C (message): new methods. Used to provide an error
1603 message indicating why a command is disabled.
1604 (clear, |=, FuncStatus): update for message.
1606 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1608 * lyxfunc.C (dispatch): always call sendDispatchMessage
1610 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1613 * BufferView_pimpl.C:
1618 * cursor_slice.[Ch]:
1621 * paragraph_funcs.C:
1627 * undo.C: par->pit renaming
1629 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1631 * tabular.C (cellstruct): use initialization, store a shared_ptr
1632 to insettext instead of the insettext directly, adjust to fit.
1633 (operator=): new function
1634 (swap): new function
1635 (rowstruct): use initialization
1636 (columnstruct): use initialization
1637 (ltType): use initialization
1640 * lyxlength.h (swap): new function
1642 * LColor.[Ch] (operator=): use the common semantics
1644 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1646 * lyxfind.C (findNextChange): update the bufferview after setting
1649 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1651 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1652 number of InsetOptArgs has already been inserted.
1654 * output_latex.C (latexOptArgInsets): new method. This outputs all
1655 the optarg insets, up to the limit defined in the layout file.
1656 (optArgInset): removed
1657 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1659 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1661 * paragraph.C (isLetter): remove special spellchecker-related
1662 code; return true also for digits
1663 (isWord, isKomma): remove
1665 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1666 * lyxfind.C (MatchString()): use isLetter instead of isWord
1668 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1670 * pariterator.h (operatir=): comment out un-implemented member
1673 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1676 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1678 * lyxfont.h: include LColor.h to satisfy concept checks.
1680 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1682 * pariterator.h: add typdefs for value_type, difference_type,
1683 pointer and reference to satisfy concept checks. Also add default
1684 constructor for same reason.
1686 * pariterator.C (operator++): add post-increment operator to
1687 satisfy concept checks.
1689 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1692 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1694 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1695 checks. Also rename base_type to BaseType to follow naming
1698 * FloatList.h: include Floating.h to satisfy concept checks.
1700 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1702 * lyxfunc.C (getStatus): when the origin of the request is menu or
1703 toolbar, and the LyXView does not have focus, do as if there was
1704 no buffer (bug 1720)
1706 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1707 FuncRequest to individual entries of LFUN_SEQUENCE
1709 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1711 * output_latex.C (TeXOnePar): override runparams.moving_arg
1712 according to the needprotect value of the current paragraph (bug
1715 * paragraph.C (simpleTeXOnePar): no need to override
1716 runparams.moving_args here
1718 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1720 * vspace.C: fix off-by-one-error, related to fix #1682
1722 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1724 * lengthcommon.C: a more general fix for bug 1682
1726 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1728 * text.C (backspace): fix crash
1730 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1732 * format.[Ch] (getFormatFromFile): new method
1733 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1735 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1737 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1739 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1741 * lyxfunc.C (dispatch): remove the verbose argument
1742 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1745 * kbmap.C (defkey): set the origin of func to KEYBOARD
1747 * MenuBackend.C (MenuItem):
1748 * ToolbarBackend.C (add): set the origin of func to UI
1750 * funcrequest.[Ch]: add origin member, which indicates which part
1751 of LyX requests an action
1753 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1755 * converter.C (move): don't lie in the error message
1756 * converter.h (isReachable, move): document
1758 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1760 * buffer.C: remove unused using lyx::support::atoi
1761 * paragraph_funcs.C: ditto
1763 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1765 * bufferlist.C (exists): use bind and equal_to instead of
1768 * lyxtextclasslist.C (NumberOfClass): ditto
1770 * cursor.C (insert): use for_each instead of explicit for loop
1772 * bufferlist.C (getFileNames): use std::transform and
1773 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1775 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1778 * buffer.C (changeLanguage): use for_each instead of explicit for
1780 (hasParWithID): implement using getParFromID
1782 * LaTeXFeatures.C: ws change only
1784 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1787 * BufferView_pimpl.C (trackChanges): use for_each instead of
1790 2004-11-04 André Pönitz <poenitz@gmx.net>
1793 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1795 * dociterator.C (asDocIterator): use hard assert again.
1797 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1799 * lyxlength.C (asLatexString): rewrite so that it does not use
1802 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1804 * text3.C (specialChar, dispatch): make sure cursor moves to the
1805 right after inserting an inset
1807 2004-11-02 José Matos <jamatos@lyx.org>
1809 * output_docbook.C (docbook):
1810 * paragraph.C (getID):
1811 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1812 garantee that the output is always legal.
1814 * tabular.C (docbook):
1815 * outputprams.[Ch]: remove mixed contents.
1817 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1819 * text2.C (setCounter): prevent endless loop
1821 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1823 * exporter.C (copyFile): use the mover instead of support::copy()
1824 * exporter.C (Export): pass format and latex name to copyFile()
1825 * exporter.h (addExternalFile): document
1826 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1828 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1830 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1832 2004-10-30 José Matos <jamatos@lyx.org>
1834 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1835 text and no inset or font change. This allows to use CDATA
1836 sections just for the whole paragraph.
1838 2004-10-30 José Matos <jamatos@lyx.org>
1840 * paragraph.C (getFirstWord): remove unused variable.
1842 2004-10-30 José Matos <jamatos@lyx.org>
1844 * paragraph.C (getFirstWord): the content should always be escaped
1846 (simpleDocBookOnePar):
1847 * output_docbook.C (makeEnvironment): replace reference to CDATA
1850 2004-10-30 José Matos <jamatos@lyx.org>
1852 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1854 2004-10-30 José Matos <jamatos@lyx.org>
1856 * output_docbook.C (makeParagraphs):
1857 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1858 standard paragraph has only a given type of content drop the wrapper.
1860 2004-10-29 José Matos <jamatos@lyx.org>
1862 * output_docbook.C (makeEnvironment):
1864 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1866 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1868 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1869 (cleanID): sanitize any id.
1871 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1873 * buffer.C, lyxlex_pimpl.C:
1874 * lyxlex_pimpl.C (setFile):
1875 s/getExtFromContents/getFormatFromContents/
1877 2004-10-28 José Matos <jamatos@lyx.org>
1879 * output_docbook.C (makeEnvironment): move id to broadest possible
1882 * sgml.C (openTag): apply substitution of <> for all attributes.
1884 2004-10-28 José Matos <jamatos@lyx.org>
1886 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1887 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1888 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1890 * sgml.[Ch]: new version for open and closeTag for paragraph and
1891 for strings. Now they handle the ids of paragraphs.
1893 2004-10-26 Angus Leeming <leeming@lyx.org>
1895 * Makefile.am: add mover.[Ch].
1897 * converter.C (convert, move): use the new Movers to move external
1898 files to the temp directory.
1900 * lyx_main.C (init): ensure that the global system_movers data
1903 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1906 * mover.[Ch]: new files, defining a Mover as a utility to move an
1907 external file between directories and, if necessary, manipulate this
1908 file using a helper script.
1910 2004-10-25 José Matos <jamatos@lyx.org>
1912 * output_docbook.C (makeCommand): merge two if's that tested the
1915 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1917 * sgml.C (escapeString): fix warning in a better way
1919 2004-10-25 José Matos <jamatos@lyx.org>
1921 * sgml.C (escapeString): import the require boosts header file for
1922 tie, and avoid a signed unsigned comparison.
1924 2004-10-25 José Matos <jamatos@lyx.org>
1926 * sgml.h: add #include <string>
1928 2004-10-25 José Matos <jamatos@lyx.org>
1930 * sgml.[Ch] (escapeString): new function to escape all the string.
1932 2004-10-24 José Matos <jamatos@lyx.org>
1934 * paragraph.[Ch] (getFirstWord): new function to get the first
1935 word. Useful for description.
1936 (simpleDocBookOnePar): remove depth argument, add another that
1937 says where to start the paragraph.
1939 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1940 use the new functions to fix cleanly the support for descriptions.
1942 2004-10-24 José Matos <jamatos@lyx.org>
1944 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1945 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1946 * output_linuxdoc.C (linuxdocParagraphs):
1947 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1948 add buffer as argument.
1950 2004-10-24 José Matos <jamatos@lyx.org>
1952 * output_docbook.C (makeEnvironment, searchEnvironment): place
1953 CDATA inside paragraphs and fix scope for listitems.
1955 2004-10-24 José Matos <jamatos@lyx.org>
1957 * output_docbook.C: remove using statement for stack.
1959 2004-10-23 José Matos <jamatos@lyx.org>
1961 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1962 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1963 docbook. The new scheme is recursive and makes use of iterators, the
1964 same as latex export works.
1965 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1966 directly with the paragraph contents. This code was moved up to
1967 output_docbook.C (docbookParagraphs).
1968 * sgml.C (openTag, closeTag): removed unneeded newlines.
1969 (closeEnvTags) removed.
1971 2004-10-23 André Pönitz <poenitz@gmx.net>
1973 * undo.C (textUndoOrRedo):
1974 * dociterator.C (asDocIterator): work around crash
1976 * cursor.C (getStatus): replace ASSERT by more verbose error message
1977 and manual correction of the problem. Should increase stability
1978 while providing more sensible information.
1980 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1982 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1984 * bufferlist.C (previous, next): new methods
1987 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1989 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1991 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1992 entities to preamble.
1994 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1996 * messages.C (Pimpl): strip off translation context information
1998 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2000 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2001 the cursor is correct (bug 1694)
2003 2004-10-13 José Matos <jamatos@lyx.org>
2005 * output_docbook.C (docbookParagraphs): fix closing tags in the
2006 end of the document.
2008 2004-10-09 José Matos <jamatos@lyx.org>
2010 * buffer.C: format up to 237.
2011 * bufferparams.C (write): use tostr to convert booleans to strings.
2013 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2015 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2017 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2019 * LaTeX.C: implement use of babel language in xindy.
2021 2004-10-05 José Matos <jamatos@lyx.org>
2023 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2024 Add new translators to help reading and writing the lyx file.
2026 2004-10-05 José Matos <jamatos@lyx.org>
2028 * ParagraphParameters.C (read):
2029 * text.C (readParToken): replace nexToken by more appropriate lex
2032 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2034 * LaTeX.C (runMakeIndex):
2035 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2036 (usually 'makeindex') configurable.
2038 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2039 with a variable rather than with a number.
2041 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2043 * output_latex.C (TeXOnePar): make sure font setting is the first
2044 thing that gets output (and the last at the end). Should fix bug
2047 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2049 * pch.h: use proper signal include
2051 * LaTeX.h: Use preferred calling of Boost.Signal
2054 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2056 * pch.h: dont include <boost/function/function0.hpp>
2058 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2060 * paragraph_pimpl.h: remove usage of ShareContainer
2062 * paragraph_pimpl.C: remove initialization of ShareContainer.
2064 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2068 * BufferView.C (putSelectionAt): change the semantics when
2069 backwards == true: now, this just swaps cursor and anchor wrt the
2072 * BufferView.h (putSelectionAt): add some documentation
2074 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2075 make sure backwardChar is done at least once (to avoid getting
2077 (findNextChange): use putSelectionAt in the forward direction
2078 (operator()): use Paragraph::isWord
2080 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2082 * Spacing.C (set): c_str fix
2084 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2086 * lyx_cb.C (Reconfigure): quote the name of configure script in
2087 case it contains spaces
2089 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2093 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2094 (BOOST_LIBS): use top_buildir when looking for the file
2096 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2098 * pch.h: do not use include boost/format.hpp, multiple symbols
2099 will result (gcc bug)
2102 2004-08-23 José Matos <jamatos@lyx.org>
2104 * bufferparams.C (readToken): fix reading of the author field.
2106 2004-08-20 José Matos <jamatos@lyx.org>
2108 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2110 2004-08-20 José Matos <jamatos@lyx.org>
2112 * lyxlex.[Ch] (findToken): remove function.
2114 * ParagraphParameters.C (findToken):
2115 * bufferparams.C (findToken): replace call for previous function
2116 with local copy. This local function has one more argument, the
2117 read string argument.
2119 2004-08-16 José Matos <jamatos@lyx.org>
2121 * ParagraphParameters.C (write):
2122 * Spacing.C (writeFile):
2123 * bufferparams.C (writeLaTeX):
2124 * lyx_cb.C (Reconfigure):
2125 * paragraph.C (write):
2126 * tabular.C (write): remove unnecessary space at end of line.
2129 2004-08-16 José Matos <jamatos@lyx.org>
2131 * text.C (readParagraph): remove debug message.
2133 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2135 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2138 * output_plaintext.C (asciiParagraph): set depth correctly
2140 * outputparams.h: add member depth
2142 * paragraph_funcs.C (ownerPar): remove.
2144 * text2.C (setCounter): remove first_pit; comment out some
2145 non-working code that uses ownerPar
2147 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2150 2004-08-16 José Matos <jamatos@lyx.org>
2152 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2153 For the same level of importance use the same chanel to report problems.
2154 (read): add code to deal with \begin_body and \end_body.
2157 2004-08-15 José Matos <jamatos@lyx.org>
2159 * lyxlex.C (getString): fix comment, buffer::readBody is now
2160 buffer:readDocument.
2162 * tex-strings.C (string_papersize): Default -> default,
2163 Custom -> custom, for consistency with other options.
2165 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2169 * Makefile.am: support pch
2171 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2173 * text.C (readParToken): remove the static LyXFont variable and
2174 pass it as a parameter instead. This fixes a nasty bug where an
2175 inset will be inserted with a bad font in some situations
2176 (readParagraph): adapt
2178 * text2.C (setCounter): reduce number of calls to pars_[pit]
2180 * text.C (singleWidth): add an assert, fix a test
2182 * rowpainter.C (paintText): reduce number of calls to singleWidth
2184 * paragraph.C (isHfill):
2185 (isNewline): ws only
2187 2004-08-14 André Pönitz <poenitz@gmx.net>
2192 * lyxtext.h (several functions): use a Paragraph & argument
2195 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2197 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2199 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2201 * text.C (singleWidth): remove useless test
2203 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2205 * tabular.h: remove bogus comments
2207 * tabular.C (getDescentOfRow):
2208 (isPartOfMultiColumn): add assertions
2210 * lyxlength.C (inPixels): remove #warning
2212 2004-08-14 André Pönitz <poenitz@gmx.net>
2214 * paragraph.h: inline getChar()
2216 * BufferView.h: remove unused declarations
2218 2004-08-14 José Matos <jamatos@lyx.org>
2220 * Buffer.[Ch] (readDocument): new name for old readBody.
2221 * Buffer.C: new file format, new keywords: \begin_document,
2222 \begin_header, \begin_body, \end_body.
2224 * bufferparams.C (readToken): replace all calls to lex.nextToken
2225 by lex.next(). Do the same to eatLine except where really needed.
2227 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2228 line when writing to the lyx file.
2230 * output_plaintext.C (asciiParagraph): fix Bibliography style
2233 * text.C (read): fix end of file handling.
2235 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2237 * MenuBackend.C (Menu::operator[]): new method to access
2238 individual menu items
2239 (Menu::hasFunc): new method. search for an item that corresponds
2241 (MenuBackend::specialMenu): new method
2242 (MenuBackend::expand): if a special menu has been set, skip
2243 entries whose func() appears in this menu
2245 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2247 * text3.C: use Debug::DEBUG a bit more
2249 * text.C (leftMargin): try to simplify a tiny bit change var x to
2250 l_margin. Dont output the wide margins always.
2251 (rightMargin): no margin in inner texts
2253 * rowpainter.h (nestMargin): new func
2254 (changebarMargin): new func
2255 (rightMargin): new func
2257 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2261 * factory.C (createInset): modify setDrawFrame
2263 * cursor.C: use Debug::DEBUG a bit more
2265 2004-08-14 André Pönitz <poenitz@gmx.net>
2268 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2269 cache for all insets in (at least partially) visible (top-level)
2272 * BufferView_pimpl.C: reset external coord cache before every update.
2273 This means the coord cache only contains valid entries.
2275 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2278 * BufferView_pimpl.C (getInsetByCode): move function out of class
2279 and change in to a template in anon namespace. Also fix to do what
2282 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2285 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2287 (breakParagraph): rename par to par_offset and use a local
2288 reference. Add code to keep the language over a rebreak.
2289 (breakParagraphConservative): rename par to par_offset, use a
2291 (mergeParagraph): ditto
2293 (isFirstInSequence): ditto
2294 (outerFont): rename pit to par_offset
2296 * paragraph.C: ws change
2297 * paragraph.h: ditto
2301 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2303 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2306 * paragraph.C (simpleTeXOnePar): when we have a \item with
2307 optional argument, enclose the argument with curly brackets (in
2308 case it contains a closing square bracket)
2312 * text3.C (checkInsetHit): constify
2314 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2316 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2317 documents (bug 1629)
2319 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2321 Fix toggling of collapsable insets with the mouse (bug 1558)
2323 * lyxfunc.C (dispatch): adapt to LCursor changes
2325 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2326 make sure that dispatch is not invoked twice
2328 * cursor.C (needsUpdate): new method
2329 (dispatch): return void
2330 (result): new method, to access the DispatchResult of the cursor.
2332 2004-08-13 José Matos <jamatos@lyx.org>
2334 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2336 2004-08-13 André Pönitz <poenitz@gmx.net>
2338 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2340 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2343 2004-08-12 André Pönitz <poenitz@gmx.net>
2345 * text3.C: take out the 'cursor right' form insertInset and only
2346 do it in those places when it is really needed. Fixes crash on
2349 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2351 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2353 * BufferView_pimpl.C (setBuffer): initialize the current font of
2354 the underlying LyXText
2356 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2358 * kbsequence.C (print): use UI native formatting for menu
2361 * text.C (insertChar): call Paragraph::insertChar with a font
2364 * paragraph.C (insertInset, insertChar): the version that takes a
2365 LyXFont argument is now a wrapper around the other one (the
2366 opposite used to be true).
2368 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2369 argument. Font setting is done in Paragraph now.
2371 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2373 * outputparams.h: add new members intitle and lang.
2375 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2376 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2378 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2380 * text3.C (dispatch): remove special handling of button 4 and 5,
2381 it is now taken care of in the frontend code.
2383 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2385 * Spacing.h: add <string> (STLPort compile fix)
2387 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2389 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2391 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2393 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2396 * converter.C (showMessage): inherit from unary_function, make
2399 * buffer.C (writeFile): initialize retval
2401 * InsetList.h: rename private variable list to list_
2402 * InsetList.[Ch]: adjust accordingly.
2404 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2406 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2407 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2408 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2409 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2410 * ParagraphParameters.C, LaTeXFeatures.C: replace
2411 "support/std_sstream.h" with <sstream>
2413 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2415 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2416 * lyxsocket.C (LyXServerSocket): ditto
2417 (serverCallback): ditto
2419 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2421 * LaTeXFeatures.C: check release date when loading jurabib.
2423 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2425 * lyxserver.C (startPipe): call register_socket_callback
2426 (endPipe): call unregister_socket_callback
2428 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2430 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2431 (LyXServerSocket): register the callback
2432 (LyXServerSocket): unregister the callback
2433 (fd): delete function
2434 (serverCallback): improve error checking and setup the callbacks.
2435 (dataCallback): change arg to fd.
2436 (writeln): new func (copied fro the client socket) used for server
2438 (LyXDataSocket): simplify
2439 (~LyXDataSocket): close ann unregiser callback
2440 (server): delete function
2441 (fd): delete function
2442 (readln): small changes, improve some std::string usage
2443 (writeln): constify a bit
2445 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2447 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2450 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2452 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2453 after it has been populated
2455 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2457 * text2.C (insertInset): move cursor when inserting inset.
2459 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2461 * kbmap.C (findbindings): a couple of new methods. returns a
2462 container of kb_sequence objects. The real work is done by the
2463 private recursive version
2464 (printbindings): uses findbindings to print out a bracketed list
2465 of bindings (renamed from findbinding).
2467 * MenuBackend.C (binding): use kb_keymap::findbindings
2469 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2471 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2473 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2475 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2477 * paragraph.C (isWord): return true on insets that report
2480 * text.C (getWord): use Paragraph::isWord to decide what is in a
2481 word and what is not; fix bug 1609.
2483 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2485 * tex-strings.C: add "none" to string_paperpackages[], fixes
2486 off-by-one-error in the paperpackage selection.
2489 * tex-strings.[Ch]: char const * string[n]
2490 -> char const * const string[]
2492 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2494 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2495 command, return early.
2497 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2499 * debug.h: add DEBUG to enum and fix size of ANY.
2501 * debug.C: add support for Debug::DEBUG
2502 (showTags): cast errorTags.level to unsigned int
2504 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2505 (redoCurrentBuffer): ditto
2506 (updateScrollbar): ditto
2507 * cursor.C (dispatch): ditto
2508 * text2.C (setLayout): ditto
2510 (updateCounters): ditto
2512 (deleteEmptyParagraphMechanism): ditto
2514 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2516 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2517 annotations to cleanup the Makefile slightly.
2519 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2521 * lyxrc.C: do not set user_email to a default value but use empty
2522 instead. The entry used to be translated, which does not work
2523 since at the point where lyxrc is constructed there is no
2524 translation service available
2526 * messages.C (getLocaleDir): remove and use directly
2527 lyx_localedir() instead
2529 2004-06-02 Angus Leeming <leeming@lyx.org>
2531 Fix crash caused by dereferencing null pointer 'exportdata' in
2532 OutputParams by creating a new ExportData variable on the heap,
2533 storing it in a boost::shared_ptr.
2534 The crash was triggered when generating an Instant Preview
2535 of an external inset.
2537 * Makefile.am: add outputparams.C
2539 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2540 (c-tor): allocate memory to it.
2542 * exporter.C (c-tor): associated changes.
2544 2004-06-01 Angus Leeming <leeming@lyx.org>
2546 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2547 contains data before calling isInset(0). (Bug 1513.)
2549 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2551 * exporter.C (checkOverwrite): new method
2552 * exporter.C (copyFile): new method
2553 * exporter.C (Export): copy referenced files to the document dir
2554 * exporter.[Ch]: new class ExportedFile
2555 * exporter.[Ch]: new class ExportData. Contains currently the
2556 names of referenced external files
2557 * outputparams.h: add exportdata member.
2559 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2561 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2564 2004-05-19 Angus Leeming <leeming@lyx.org>
2569 * lyxfunc.C: small changes due to the introduction of namespace
2570 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2572 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2574 * text3.C (dispatch): supress update when only moving the cursor
2575 * cursor.C (selHandle): remove commented code
2577 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2579 * paragraph.C (startTeXParParams): correct column count
2580 * CutAndPaste.C (pasteSelection): remove const_cast
2581 * output_docbook.C (docbookParagraphs): remove const_cast
2582 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2583 const_cast and return ParagraphList::const_iterator
2584 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2585 * output_plaintext.C (writeFileAscii): remove const_cast
2586 * paragraph.[Ch] (simpleTeXOnePar): make const
2587 * paragraph_funcs.C (outerPar): use const iterators
2588 * paragraph_pimpl.C (validate): use const iterators
2589 * text.C (setHeightOfRow): use const iterators
2591 2004-05-17 Angus Leeming <leeming@lyx.org>
2594 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2596 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2597 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2598 if the citation engine has changed.
2600 2004-05-14 José Matos <jamatos@lyx.org>
2602 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2603 if the textclass does not provide it. Have it different for sgml and
2605 support the language of document.
2606 * output_docbook.C (docbookParagraphs):
2607 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2608 first anchor as the id of the paragraph, remove special case code.
2609 * sgml.C (escapeChar): escape only < & >.
2611 2004-05-14 Angus Leeming <leeming@lyx.org>
2613 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2614 dependencies on src/frontends/controllers/biblio.h. Define a
2615 CiteEngine_enum wrapper class to enable the enum to be forward
2618 2004-05-12 Angus Leeming <leeming@lyx.org>
2620 * buffer.C: up LYX_FORMAT to 234.
2621 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2622 use_numerical_citations with a single biblio::CiteEngine cite_engine
2624 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2626 2004-05-13 José Matos <jamatos@lyx.org>
2629 * converter.C (Converter, readFlags): add xml member.
2630 * outputparams.h: add XML flavor.
2631 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2633 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2635 * lyxfunc.C (dispatch):
2636 (getStatus): fix handling of LFUN_SEQUENCE
2638 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2640 * debug.C (showLevel): do not forget the end-of-line marker
2642 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2644 * kbmap.C (read): do not stop parsing a bind file when an error
2647 2004-04-29 Angus Leeming <leeming@lyx.org>
2652 * text2.C: wrap a bunch of #warning statements
2653 inside #ifdef WITH_WARNINGS blocks.
2655 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2657 * buffer.C: increment format to 233.
2659 2004-04-28 Angus Leeming <leeming@lyx.org>
2661 * BufferView_pimpl.C:
2664 s/updateToolbar()/updateToolbars()/
2665 s/Toolbar.h/Toolbars.h/
2667 2004-04-28 Angus Leeming <leeming@lyx.org>
2669 * BufferView.[Ch] (c-tor):
2670 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2671 No longer passes these data to the WorkArea generator.
2673 2004-04-28 Angus Leeming <leeming@lyx.org>
2675 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2677 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2679 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2681 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2683 * output_latex.C (TeXEnvironment): make sure that there is a line
2684 break before \end{foo} for the last paragraph of a document
2685 (TeXOnePar): if the paragraph is at the end of the document (or
2686 inset) and the language has to be reset, then make sure that the
2687 line break is _before_ the language command, not after (fixes bug
2688 1225); also make sure that the language reset command is the first
2689 thing after the paragraph (to ensure proper nesting of
2690 environments and thus fix bug 1404)
2692 2004-04-21 John Levon <levon@movementarian.org>
2695 * ToolbarBackend.C: make "name" be a programmatic name
2696 and a gui_name field.
2698 * lyxfunc.C: display the minibuffer on M-x
2700 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2702 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2705 2004-04-19 Angus Leeming <leeming@lyx.org>
2707 * BufferView_pimpl.C (setBuffer): changed preview interface.
2709 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2712 2004-04-19 John Levon <levon@movementarian.org>
2714 * BufferView_pimpl.C:
2715 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2717 2004-04-05 Angus Leeming <leeming@lyx.org>
2719 * text.C (redoParagraphs): add call to updateCounters(), thereby
2720 fixing the missing "Figure #:" label from the caption of a
2723 2004-04-13 Angus Leeming <leeming@lyx.org>
2725 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2726 cursor is clicked out of an inset.
2728 2004-04-13 Angus Leeming <leeming@lyx.org>
2730 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2731 than an InsetOld one.
2733 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2735 * format.[Ch]: add editor to Format
2736 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2737 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2739 2004-04-08 André Pönitz <poenitz@gmx.net>
2741 * metricsinfo.h: remove PainterInfo::width member
2743 2004-04-08 Angus Leeming <leeming@lyx.org>
2745 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2746 "\providecommand" rather than "\newcommand", thereby preventing
2747 clashes with packages that define "\boldsymbol" themselves.
2750 2004-04-08 Angus Leeming <leeming@lyx.org>
2752 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2753 thereby squashing an unnecessary warning.
2755 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2757 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2760 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2762 * BufferView.C (setCursor): call redoParagraph (some insets could
2764 (putSelectionAt): remove the 'double update' trick
2766 * BufferView_pimpl.C (fitCursor): call refreshPar
2767 (workAreaDispatch): remove an uneeded update call
2768 (dispatch): remove some manual update calls
2770 * cursor.[Ch]: remove cached_y_, updatePos
2771 (selHandle): set noUpdate when appropriate
2773 * lyxfunc.C (dispatch): track if we need an update
2775 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2777 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2778 (paintSelection): cheap optimization, do not call cursorX when not
2780 (paintPars): change signature
2783 (paintTextInset): adjust
2787 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2789 * lengthcommon.C: compilation fix: remove explicit array size from
2790 unit_name[] and friends
2792 2004-04-05 Angus Leeming <leeming@lyx.org>
2794 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2796 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2797 present only for the preferences dialog.
2798 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2800 2004-04-05 Angus Leeming <leeming@lyx.org>
2802 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2803 to enable the frontends to export changes to lyxrc correctly.
2805 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2807 2004-04-07 André Pönitz <poenitz@gmx.net>
2809 * cursor.[Ch] (selClear, adjust): remove math
2811 * cursor_slice.C: more agressive assert
2814 * BufferView_pimpl.C: rework mouse event dispatch
2821 2004-04-05 André Pönitz <poenitz@gmx.net>
2823 * cursor.[Ch] (valign, halign...): remove unneeded functions
2825 2004-04-05 Angus Leeming <leeming@lyx.org>
2827 * lyxlength.[Ch] (unit_name et al.): const-correct.
2829 2004-04-05 Angus Leeming <leeming@lyx.org>
2831 * BufferView_pimpl.C:
2840 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2842 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2844 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2846 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2848 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2849 * BufferView_pimpl.[Ch] (getStatus)
2850 * BufferView.[Ch] (getStatus): add
2851 * lyxfunc.C (getStatus): move lfuns handled in
2852 BufferView::dispatch to te function above
2853 * Cursor.C (setSelection): set selection() = true
2855 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2857 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2859 2004-03-31 Angus Leeming <leeming@lyx.org>
2861 * lyxfunc.C (dispatch): Fall through to the generic
2862 Dialogs::show("preamble").
2864 2004-03-31 Angus Leeming <leeming@lyx.org>
2866 * lyxfunc.C (dispatch): Fall through to the generic
2867 Dialogs::show("spellchecker").
2869 2004-03-31 Angus Leeming <leeming@lyx.org>
2871 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2874 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2879 * insetiterator.[Ch]:
2884 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2886 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2888 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2889 insets where we are putting the cursor.
2891 2004-03-31 Angus Leeming <leeming@lyx.org>
2894 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2896 * lyxrc.[Ch] (read, write): overloaded member functions taking
2897 a std::[io]stream arguments.
2899 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2901 2004-03-31 Angus Leeming <leeming@lyx.org>
2903 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2904 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2906 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2907 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2909 2004-03-31 Angus Leeming <leeming@lyx.org>
2911 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2912 the LFUN_ALL_INSETS_TOGGLE code.
2914 2004-03-30 Angus Leeming <leeming@lyx.org>
2916 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2917 has died. Fall through to the generic Dialogs::show("document").
2919 2004-03-30 Angus Leeming <leeming@lyx.org>
2922 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2923 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2925 * lyxfunc.C (getStatus, dispatch): define the actions for these
2926 lfuns. Little more than a cut and pste job from ControlDocument.C
2928 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2930 2004-03-30 Angus Leeming <leeming@lyx.org>
2933 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2934 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2936 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2937 open/closed state of ollapsable insets. Usage:
2939 all-inset-toggle <state> <name>, where
2940 <state> == "open" || "closed" || "toggle" and
2941 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2943 * lyxtext.h, text2.C (toggleInset): removed.
2945 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2946 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2947 now passes LFUN_INSET_TOGGLE to the found inset.
2949 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2950 is now invoked as "all-insets-toggle toggle branch".
2952 2004-03-30 Angus Leeming <leeming@lyx.org>
2956 * pariterator.[Ch]: added/corrected header blurb.
2958 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2960 * dociterator.[Ch]: add an inset_ member
2961 (backwardPos): implemented
2962 (backwardPos, forwardPos): use inset_ when the stack is empty.
2963 (doc_iterator_begin, doc_iterator_end): implemented
2964 * pariterator.[Ch]: adjust, add begin, end
2965 * insetiterator.[Ch]: adjust, add begin, end
2969 * BufferView_pimpl.C:
2970 * CutAndPaste.C: adjust
2972 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2974 * buffer.C: increment file format to 232.
2975 * LaTeXFeatures.C: add bibtopic package.
2976 * bufferparams.[Ch]: param \use_bibtopic.
2978 * lyxrc.[Ch]: add lyxrc bibtex_command
2979 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2981 * buffer.C: increment file format to 231.
2983 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2985 * dociterator.C: implement forwardPar
2986 * iterators.[Ch]: remove, replaced by
2987 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2989 * BufferView_pimpl.C:
2992 * bufferview_funcs.C:
2998 * Makefile.am: adjust
3000 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3002 * CutAndPaste.C (pasteSelection): fix 2 crashes
3003 (eraseSelection): fix a crash
3004 * paragraph_funcs.C: remove a warning
3006 2004-03-28 Angus Leeming <leeming@lyx.org>
3009 * LyXAction.C (init): new LFUN_PRINT.
3011 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3013 2004-03-27 Angus Leeming <leeming@lyx.org>
3016 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3018 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3020 2004-03-27 Angus Leeming <leeming@lyx.org>
3022 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3023 insetlist always contains non-null pointers to insets.
3025 2004-03-26 Angus Leeming <leeming@lyx.org>
3027 * src/BufferView_pimpl.C:
3028 * src/CutAndPaste.C:
3031 * src/output_plaintext.C:
3032 * src/outputparams.h:
3033 * src/paragraph_funcs.C:
3037 * src/frontends/controllers/ControlErrorList.C:
3038 * src/frontends/gtk/FileDialogPrivate.C:
3039 * src/frontends/gtk/GPainter.C:
3040 * src/frontends/gtk/GToolbar.C:
3041 * src/frontends/qt2/QRef.C:
3042 * src/mathed/math_scriptinset.C: squash compiler warnings.
3044 2004-03-26 Angus Leeming <leeming@lyx.org>
3046 * ispell.C (LaunchIspell::start):
3047 * lyx_cb.C (AutoSaveBuffer::start):
3048 invoke run(DontWait) rather than runNonBlocking().
3050 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3052 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3054 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3056 * kbsequence.C (print): adjust
3058 * kbmap.C (printKeySym): rename and change signature
3059 (printKey): use LyXKeySym::print()
3061 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3063 * undo.C: add using std::advance to compile for stlport
3065 2004-03-24 Angus Leeming <leeming@lyx.org>
3067 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3068 it leads to a crash when no buffer is present.
3070 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3071 Martin Vermeer <martin.vermeer@hut.fi>
3073 * lyxfunc.C (dispatch):
3074 * bufferparams.C (readToken): use the new LColor::setColor
3076 * LColor.[Ch] (setColor): new version that takes two strings as
3077 argument and creates a new color entry if necessary
3079 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3081 * buffer.C (makeLaTeXFile): if the main latex file that is
3082 processed is usually a subdocument of some master, then pretend
3083 for a while that it is actually the master
3085 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3087 * buffer.C (getLabelList):
3088 (getBibkeyList): use getMasterBuffer()
3089 (getMasterBuffer): new method. Returns the main document in the
3090 case where one is using included documents.
3092 2004-03-25 André Pönitz <poenitz@gmx.net>
3096 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3098 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3100 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3101 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3103 * ParameterStruct.h: merge with ParagraphParameters
3105 * lyxtext.h: remove LyXText::parOffset() and getPar()
3107 * text3.C: Remove all 'manual' update calls. We do now one per user
3108 interaction which is completely sufficient.
3112 * BufferView_pimpl.C:
3113 * FontIterator.[Ch]:
3115 * ParagraphParameters.[Ch]:
3120 * cursor_slice.[Ch]:
3127 * output_docbook.[Ch]:
3128 * output_latex.[Ch]:
3129 * output_linuxdoc.[Ch]:
3130 * output_plaintext.[Ch]:
3132 * paragraph_funcs.[Ch]:
3133 * paragraph_pimpl.[Ch]:
3141 * frontends/controllers/ControlDocument.C:
3142 * frontends/controllers/ControlErrorList.C:
3143 * frontends/controllers/ControlSpellchecker.C:
3146 * insets/insetbase.h:
3147 * insets/insetbibitem.C:
3148 * insets/insetbox.C:
3149 * insets/insetbranch.C:
3150 * insets/insetcaption.C:
3151 * insets/insetcharstyle.C:
3152 * insets/insetcharstyle.h:
3153 * insets/insetcollapsable.C:
3154 * insets/insetcollapsable.h:
3155 * insets/insetert.C:
3156 * insets/insetfloat.C:
3157 * insets/insetfoot.C:
3158 * insets/insetmarginal.C:
3159 * insets/insetnote.C:
3160 * insets/insetoptarg.C:
3161 * insets/insettabular.C:
3162 * insets/insettext.C:
3163 * insets/insettext.h:
3164 * insets/insetwrap.C:
3165 * mathed/math_mboxinset.C:
3166 * mathed/math_nestinset.C:
3167 * mathed/math_scriptinset.C:
3168 * mathed/math_scriptinset.h:
3171 2004-03-24 Angus Leeming <leeming@lyx.org>
3173 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3174 deal with any child processes that have finished but are waiting to
3175 communicate this fact to the rest of LyX.
3177 2004-03-24 Angus Leeming <leeming@lyx.org>
3179 64-bit compile fixes.
3181 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3182 (c-tor): pass lyx::pos_types rather than ints.
3184 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3187 * text.C (Delete): compile fix.
3188 (getPar): ensure that function declaration is the same as that in
3191 2004-03-23 Angus Leeming <leeming@lyx.org>
3193 * ispell.C (LaunchIspell):
3194 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3195 a boost::shred_ptr rather than a std::auto_ptr.
3197 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3199 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3200 handle LFUN_FILE_INSERT_*
3202 * lyxrc.C (setDefaults, getDescription, output, read):
3203 * lyxrc.h: remove ps_command
3205 2004-03-22 Angus Leeming <leeming@lyx.org>
3207 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3208 Ensure that error_handler is processed once only and that all data
3209 is saved before attempting to output any warning messages.
3211 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3213 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3215 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3217 2004-03-19 André Pönitz <poenitz@gmx.net>
3219 * cursor.[Ch] (reset): take main text inset as argument
3221 * BufferView: adjust
3222 * BufferView_pimpl.C: adjust
3224 * paragraph.[Ch]: fix completely broken operator=()
3226 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3228 * LColor.C (getFromLyXName): make sure that the color name is used
3231 2004-03-17 Angus Leeming <leeming@lyx.org>
3234 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3236 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3237 dialog and to kill a forked process.
3239 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3241 * text2.C (setCursorFromCoordinates): fix font problem
3243 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3245 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3246 bogus "rebuild cursor" code
3248 2004-03-11 André Pönitz <poenitz@gmx.net>
3250 * buffer.[Ch]: use InsetText instead of LyXText as container for
3253 * dociterator.[Ch]: drop the BufferView * member which is not needed
3254 anymore after the change to buffer.C
3256 * paragraph_funcs.C:
3260 * BufferView_pimpl.[Ch]:
3262 * cursor_slice.[Ch]: adjust
3264 * text3.C: fix bug in mathDispatch
3266 2004-03-08 André Pönitz <poenitz@gmx.net>
3268 * undo.[Ch]: use 'StableDocumentIterator' as base for
3271 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3274 * bufferparams.[Ch]: add jurabib support and param.
3276 * LaTeX.C: add FIXME/comment.
3278 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3280 * buffer.C: increment file format to 230.
3282 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3284 * cursor.C (dispatch): avoid infinite loops
3286 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3288 * rowpainter.C (paintSelection): fix x coordinates
3290 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3292 * text.C (rowBreakPoint): fix breaking before displayed insets
3294 2004-03-01 André Pönitz <poenitz@gmx.net>
3296 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3298 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3302 * BufferView_pimpl.C:
3310 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3316 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3317 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3319 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3321 * Bidi.[Ch] (computeTables): const correctness
3322 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3323 fill_hfill, fill_label_hfill and x from Row
3324 * lyxtext.h: prepareToPrint returns a RowMetrics
3325 * rowPainter.C: adjust
3326 * text.C (prepareToPrint): use width, not textWidth. adjust
3327 (redoParagraphInternal, cursorX): adjust
3328 * text2.C (getColumnNearX): adjust
3329 (init): put a default value to the top LyXText::width
3331 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3333 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3335 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3337 * lyxtext.h: add FontIterator class
3339 * text.C (FontIterator, operator*, operator->, operator++): add
3340 (rowBreakPoint, setRowWidth): adjust (fixing a
3343 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3345 * BufferView_pimpl.C (workAreaDispatch): allow also
3346 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3348 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3350 * text.C (rowBreakPoint): fix a bug showing with very large insets
3352 2004-02-25 André Pönitz <poenitz@gmx.net>
3355 * cursor.[Ch]: move some mathed specific code to mathed
3357 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3359 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3360 use_tempdir in preferences
3361 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3363 * lyx_main.C: ensure that tempdir is valid
3364 * lyxlex.h: correct typo
3365 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3366 * paragraph.[Ch] (isMultiLingual): make const
3367 * cursor.[Ch] (openable): make const
3369 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3371 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3373 2004-02-20 André Pönitz <poenitz@gmx.net>
3375 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3377 * cursor.[Ch]: prepare for localized getStatus()
3383 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3385 2004-02-20 André Pönitz <poenitz@gmx.net>
3387 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3389 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3391 * text2.C (setCursorFromCoordinates): switch to absolute coords
3393 (cursorDown): adjust
3394 * text3.C (dispatch): adjust
3396 2004-02-16 André Pönitz <poenitz@gmx.net>
3398 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3401 * cursor_slice.[Ch]: remove unneeded acessor function
3403 * lyxtext.h: rename rtl() to isRTL()
3411 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3413 * rowpainter.C (paintSelection): coord fix
3415 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3417 * Spacing.C: compile fix
3419 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3421 * cursor.C (dispatch): restore current_ before returning
3423 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3425 * text2.C (cursorUp, cursorDown): fix coords
3428 2004-02-12 André Pönitz <poenitz@gmx.net>
3433 * text3.C: add LCursor & parameter to most cursor movement functions
3434 remove usage of LyXText::cursorRow() and cursorPar()
3436 * cursor.[Ch]: add textRow() needed members
3439 * BufferView_pimpl.C:
3442 * BufferView_pimpl.C: adjust
3444 2004-02-11 André Pönitz <poenitz@gmx.net>
3448 * BufferView_pimpl.C: shift undo/redo handling
3450 * cursor.[Ch]: fix mathed crash
3453 * lyxtext.h: move selectionAsText to LCursor
3461 * rowpainter.C: fix excessive drawing
3463 2004-02-06 André Pönitz <poenitz@gmx.net>
3466 * BufferView_pimpl.[Ch]:
3467 * text3.C: move some text specific LFUN handling
3469 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3471 * text3.C (checkInsetHit): adjust coords
3472 * text2.C (getColumnNearX): adjust coords
3473 (edit): adjust coords
3474 * text.C (getRowNearY): add two asserts
3476 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3479 * format.C: add using std::distance to compile on gcc 2.95/stlport
3481 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3483 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3485 2004-02-04 André Pönitz <poenitz@gmx.net>
3487 * BufferView.[Ch] (insertInset):
3488 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3493 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3495 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3496 on the default clause of the switch
3497 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3498 wasn't catched by LCursor::dispatch
3500 2004-02-03 André Pönitz <poenitz@gmx.net>
3503 * cursor.[Ch]: some additional asserts
3505 * undo.[Ch]: remove LyXText dependency in interface
3509 * lyxtext.h (firstPar, lastPar): remove dead functions
3514 * paragraph.[Ch]: adjust
3516 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3518 * lyxfind.C (find): fix argument order in call to ::find
3520 2004-02-02 André Pönitz <poenitz@gmx.net>
3522 * cursor.[Ch]: remove direct access to anchor
3524 * text.C: remove findText() hack
3526 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3528 * iterators.[Ch] (lockPath): remove in favour of...
3529 * BufferView.[Ch] (setCursor): this addition
3530 * BufferView.C (putSelectionAt): adjust
3531 * undo.C (performUndoOrRedo): adjust
3532 * lyxfunc.C (dispatch): adjust
3534 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3536 * iterators.C (lockPath): add a missing slice
3537 * undo.C (performUndoOrRedo): remove redundant positioning code
3539 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3541 * vc-backend.C (scanMaster): ";" -> ';'
3543 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3545 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3546 std::binary_function
3548 * lyxtextclass.C (compare_name): rename to...
3549 (LayoutNamesEqual): ...this
3551 * lyxlex_pimpl.C (compare_tags): inherit from
3552 std::binary_function, put back into anon namespace
3554 * lyxfind.C (MatchString): inherig from std::binary_function
3555 (findChange): use empty() istead of !size()
3557 * format.C (FormatNamesEqual): new functor
3564 * converter.C (compare_Converter): rename to...
3565 (ConverterEqual): ...this, and fixup a bit.
3566 (getConverter): use it, and make function const
3567 (getNumber): use it, and make function const
3571 * bufferlist.C: add using boost::bind
3573 * MenuBackend.C (MenuNamesEqual): new functor
3574 (hasMenu): use it, and make function const
3575 (hasSubmenu): use nested bind to get rid of compare_memfun.
3577 2004-01-30 André Pönitz <poenitz@gmx.net>
3579 * BufferView_pimpl.C:
3582 * cursor_slice.[Ch]:
3585 * paragraph_funcs.C:
3586 * paragraph_funcs.h:
3590 * text3.C: move some of the edit(x,y) handling to the insets
3591 some coordinate changes.
3593 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3595 * text.C: add using statements for std::advance and std::distance
3597 * paragraph.C: add using statement for std::distance
3599 * lyxfind.C: add using statement for std::advance
3601 * cursor.C (region): remove std:: from swap
3602 (openable): use nucleus in stead of operator->
3604 * BufferView.C: add using statements for std::distance and std::swap
3606 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3608 * iterators.C: Remove the pimple, move the needed structures to
3609 the header file. Create accessor for the positions stack.
3610 (asPosIterator): remove function
3612 * PosIterator.C (PosIterator): move constructors to top of file
3613 (PosIterator): reimplement the constructor taking a ParIterator in
3615 (setFrom): new function
3616 (operator!=): inline it
3618 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3620 * lyxfind.C (replaceAll): use std::advance
3622 * iterators.h: inherit from std::iterator.
3624 * PosIterator.C (advance, distance): remove
3625 * PosIterator.h: interit from std::iterator.
3627 2004-01-26 André Pönitz <poenitz@gmx.net>
3630 * BufferView_pimpl.[Ch]:
3634 * bufferview_funcs.C:
3644 * output_linuxdoc.C:
3645 * output_plaintext.C:
3647 * paragraph_funcs.[Ch]:
3648 * paragraph_pimpl.[Ch]:
3654 * text3.C: more IU: dumps most of the rest of the mathcursor
3655 implementation into cursor.[Ch]; "globalize" a bit of it.
3657 2004-01-25 Angus Leeming <leeming@lyx.org>
3659 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3661 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3663 * LaTeXFeatures.h: add nice_ and nice() const
3664 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3666 2004-01-20 André Pönitz <poenitz@gmx.net>
3669 * BufferView_pimpl.C:
3671 * bufferview_funcs.C:
3673 * cursor_slice.[Ch]:
3684 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3685 LCursor and mathcursor parts to LCursor and InsetBase.
3687 2004-01-15 André Pönitz <poenitz@gmx.net>
3689 * cursor_slice.[Ch]: add a few covienience functions
3691 * funcrequest.[Ch]: remove BufferView * member
3693 * BufferView_pimpl.C:
3700 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3702 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3704 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3705 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3707 2004-01-13 André Pönitz <poenitz@gmx.net>
3710 * lyxtext.h: hide cursor and selection anchor behind accessor function
3713 * BufferView_pimpl.[Ch]:
3715 * bufferview_funcs.C:
3725 * cursor_slice.[Ch]: some integer type changes for inset unification
3727 * lyxcursor.[hC]: remove, it's CursorSlice now.
3730 * BufferView_pimpl.[Ch]:
3731 * bufferview_funcs.C:
3737 * textcursor.[Ch]: adjust
3739 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3741 * text2.C (undoSpan): add and use
3742 * text.C (breakParagraph): use undoSpan (fix bug 578)
3745 2004-01-08 Angus Leeming <leeming@lyx.org>
3747 * BufferView_pimpl.C (MenuInsertLyXFile):
3748 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3749 * lyxfunc.C (menuNew, open, doImport):
3750 FileFilterList change to the FileDialog open and save functions.
3752 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3754 * ShareContainer.h: make isEqual and isUnique adaptable
3756 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3758 2004-01-07 Angus Leeming <leeming@lyx.org>
3761 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3763 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3765 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3766 functions replacing find, replace and replaceAll.
3768 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3769 LFUN_WORDFIND(FORWARD|BACKWARD).
3771 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3773 * text.C (breakParagraph): remove an outdated #warning
3775 2004-01-07 André Pönitz <poenitz@gmx.net>
3777 * lyxfind.C: somewhat clearer logic
3779 * text.C: prevent crash in cursorX on unitialized row cache
3781 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3783 * lyxcursor.[Ch] (operator>): add
3784 * textcursor.C (selStart, selEnd): use std::min and std::max
3786 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3788 * Chktex.C: include boost/format.hpp
3790 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3792 * InsetList.C: replace functor MathcIt with adaptable functor
3794 (insetIterator): modify accordingly
3796 * BranchList.h: move the BranchNamesEqual functor here from...
3797 * BranchList.C: ... to here
3799 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3801 (add): replace a finding loop with std::find_if.
3803 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3805 * output_docbook.C: moving LatexParam functionality into
3808 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3810 * buffer.C: increment format to 229.
3812 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3815 * lyx_sty.[Ch]: remove minipageindent_def
3821 * text3.C: remove LFUN_INSET_MINIPAGE
3823 2003-12-28 Angus Leeming <leeming@lyx.org>
3825 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3827 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3829 * text2.C (setParagraph): fix off-by-one crash
3831 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3833 * output_docbook.C: header stuff for AGU
3835 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3837 * text2.C (redoCursor): remove
3840 * BufferView_pimpl.C: remove calls to redoCursor and
3841 setCursor(cursor.par(), cursor.pos()) all around
3843 2003-12-15 Angus Leeming <leeming@lyx.org>
3845 * buffer.C: up the format to 228.
3847 2003-12-15 André Pönitz <poenitz@gmx.net>
3849 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3854 * BufferView_pimpl.C:
3863 2003-12-15 Angus Leeming <leeming@lyx.org>
3865 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3866 than getFromGUIName to manipulate the color.
3868 2003-12-14 Angus Leeming <leeming@lyx.org>
3870 * BranchList.[Ch]: minimize the API.
3871 (Branch::getBranch, getColor): now return a 'const &'.
3872 (Branch::setSelected) now returns a bool set to true if the
3873 selection status changes.
3874 (BranchList::clear, size, getColor, setColor, setSelected,
3875 allBranches, allSelected, separator): removed.
3876 (BranchList::find): new functions, returning the Branch with
3878 (BranchList::add, remove): return a bool indicating that
3879 the operation was successful.
3881 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3882 new InsetBranch::isBranchSlected member function.
3884 * LColor.[Ch]: mimimize the API.
3885 (fill): renamed as addColor and made private.
3886 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3887 versions of these functions taking a string arg have been removed.
3889 * bufferparams.C (readToken):
3890 * lyxfunc.C (dispatch):
3891 * lyxrc.C (read): changes due to the altered BranchList and
3894 * factory.C (createInset, readInset): changes due to altered
3897 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3900 * lyxfunc.C: remove insetminipage. "minipage-insert"
3901 now produces a frameless minipage box inset.
3903 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3905 * textcursor.[Ch] (selStart,selEnd): add new methods
3906 remove selection::start, end, use LyXCursor::operator<
3907 * lyxcursor.[Ch] (operator<): add
3908 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3909 * BufferView.[Ch] (unsetXSel): add
3910 * text2.C (clearSelection): use unsetXSel,adjust
3913 * rowpainter.C: adjust
3914 * bufferview_funcs.C (put_selection_at): adjust
3916 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3918 * BufferView_pimpl.C: small coord. correction
3920 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3922 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3923 dragging over the splash screen.
3925 2003-12-11 Angus Leeming <leeming@lyx.org>
3927 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3928 as it is now handled in LyXText::dispatch.
3930 * text3.C (doInsertInset): remove a level of nesting.
3932 2003-12-11 Angus Leeming <leeming@lyx.org>
3934 * factory.C (createInset): changes due to the changed interface to
3935 InsetCommandMailer::string2params.
3937 2003-12-10 Angus Leeming <leeming@lyx.org>
3939 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3940 'dialog-show-new-inset <inset name>'
3942 2003-12-10 Angus Leeming <leeming@lyx.org>
3944 * buffer.C: up the format to 227.
3946 * factory.C: the box inset is now identified simply by 'Box'.
3948 2003-12-10 Angus Leeming <leeming@lyx.org>
3950 * buffer.C: up the format to 226.
3952 * factory.C: the note inset is now identified simply by 'Note'.
3954 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3956 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3957 when a pit is enough. Standarize a couple of loops.
3959 2003-12-05 Angus Leeming <leeming@lyx.org>
3961 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3962 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3963 data to the re-worked "log" dialog.
3965 2003-12-03 André Pönitz <poenitz@gmx.net>
3971 * paragraph_funcs.C:
3973 * text2.C: use Inset::getText instead of Inset::getParagraph
3975 2003-12-03 André Pönitz <poenitz@gmx.net>
3979 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3980 InsetText::read() as LyXText::read()
3982 2003-12-02 Angus Leeming <leeming@lyx.org>
3984 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3985 type. Add a comment in the implementation that the function uses
3986 the stream's bad() function rather than fail() as the std::streams
3989 2003-12-02 André Pönitz <poenitz@gmx.net>
3991 * lyxlex.[Ch]: make interface more similar to std::stream
3993 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3995 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3997 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3999 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4001 * vspace.[Ch]: remove VSpace::NONE
4003 2003-12-01 André Pönitz <poenitz@gmx.net>
4006 * lyxtext.h: move ParagraphList member to LyXText
4007 rename LyXText::ownerParagraphs to LyXText::paragraph
4010 * bufferview_funcs.C:
4020 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4022 * undo.C: fix cursor positioning
4024 2003-12-01 John Levon <levon@movementarian.org>
4026 * BufferView_pimpl.C: fix a crash on exit with
4029 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4031 * BranchList.C: fix setSelected() method.
4033 2003-11-28 André Pönitz <poenitz@gmx.net>
4035 * ParagraphParameters.[Ch]:
4036 * ParameterStruct.h: remove space above/below from Paragraph to
4039 * BufferView_pimpl.C:
4045 * paragraph_funcs.C:
4051 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4053 * factory.C: Syntax change for CharStyles
4055 2003-11-28 André Pönitz <poenitz@gmx.net>
4060 * buffer.[Ch]: move LyXText member
4062 2003-11-28 André Pönitz <poenitz@gmx.net>
4064 * BufferView.[Ch]: make LyXText * text a private member
4066 * BufferView_pimpl.C:
4077 * output_plaintext.C: cleanup
4079 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4082 * lyxtextclass.[Ch]: parametrize SGML document header
4084 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4087 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4090 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4092 * text2.C (setFont): rework using PosIterator (no more recursive)
4093 (setCharFont): no more needed
4094 (setLayout): no more selection cursors fiddling (done by redoCursor)
4095 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4096 destroy remaining ones)
4098 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4100 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4102 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4105 * text3.C: adjust + re-allow multi par depth changes
4106 * textcursor.C: simplify a bit
4108 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4114 * src/output_docbook.C:
4115 * src/output_latex.C:
4120 * src/text2.C: Introducing a number of tags parametrizing various
4121 XML formats that we may want to support
4123 2003-11-25 André Pönitz <poenitz@gmx.net>
4125 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4127 * lyxtext.h (leftMargin/rightMargin): simplify interface
4134 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4136 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4137 master file to any child files. Fixes bug 546.
4139 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4141 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4143 2003-11-24 André Pönitz <poenitz@gmx.net>
4145 * rowpainter.C: simplification
4147 * text2.C (updateCounters): remove call to redoParagraph on
4148 changed labels as this is far too expensive.
4150 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4152 * converter.C (convert): fix a crash: this function gets
4153 called with buffer == 0 from importer code.
4155 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4157 * text3.C (cursorPrevious): make sure that we do not compare
4158 iterators form different containers.
4161 * rowpainter.C (paintSelection): make sure that we do not compare
4162 iterators from different containers.
4164 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4165 iterators from different ParagraphList containers.
4168 * text2.C (LyXText): change order of initialization slightly
4169 (operator=): new function. copy all variables except cache_par_
4170 (moveUp): make sure that we do not compare iterators from
4171 different ParagraphList constainers.
4174 * text.C (firstPar): new function
4175 (lastPar): new function
4176 (endPar): new function
4178 * lyxtext.h: move things around and group public functions, public
4179 variables, private functions, private variables
4181 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4183 * factory.C: change call to InsetERT constructor to avoid
4184 additional invocation of method status
4185 * text2.C (toggleInset): remove redundant update() call
4186 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4187 instead of a Bufferview pointer
4189 2003-11-21 André Pönitz <poenitz@gmx.net>
4191 * rowpainter.C: simplification
4193 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4195 * text3.C (dispatch): make possible to extend a word/row selection
4198 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4200 * lyxtext.h: x0_,y0_ -> xo_,yo_
4201 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4202 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4203 * rowpainter.C (paintRows): paint full paragraphs
4205 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4207 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4210 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4212 * lyxtext.h: add x0_, y0_
4213 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4214 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4216 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4218 * text2.C (setCursorIntern): move the x_target update here *
4219 * text3.C: change some bv() to true/false in calls to
4220 cursorUp/Down/Right/Left
4221 * cursor.C: use helper function.
4223 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4225 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4226 * paragraph_funcs.[Ch]: correct comment
4227 * rowpainter.C: do not paint selections away from bv->cursor()
4228 Fix a long standing selection painting bug.
4229 * text3.C: generalize mouse-selection code to LyXTexts other that
4231 * textcursor.C: do not use y coords if we can use par offsets
4233 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4235 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4236 cursor position after e.g. inset insert)
4238 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4240 * lyxfind.C (replace): adjust to locking removal + some
4243 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4245 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4248 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4251 * output_docbook.C: XML sanitation: new layout
4252 parameters InnerTag and CommandDepth
4254 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4256 * BufferView_pimpl.C:
4258 * text3.C: Fix the insertion and modification of button-style
4261 2003-11-13 André Pönitz <poenitz@gmx.net>
4263 * InsetList.[Ch]: remove deleteLyXText
4265 * paragraph.[Ch]: cache beginOfBody position
4270 * text3.C: remove superfluous update() calls
4274 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4276 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4277 * BufferView.C (fitLockedInsetCursor): remove
4278 * cursor.[Ch] (getDim): add
4279 * text.C (getRowNearY): add faster version
4280 * text3.C: remove some update calls
4282 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4294 * text3.C: The Character Style /XML short element patch.
4296 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4299 * factory.C: Small step to solving 'unable to insert some insets'
4302 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4304 * cursor.[Ch] (updatePos): new function for updating the y
4305 position of the tip inset
4306 * bufferview_funcs.C (put_selection_at):
4307 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4309 2003-11-11 André Pönitz <poenitz@gmx.net>
4311 * text.C: remove big comment on invalid Paragraph pointers as it is
4314 2003-11-11 André Pönitz <poenitz@gmx.net>
4316 * text_funcs.[Ch]: merge with ...
4324 * Makefile.am: remove text_funcs.[Ch]
4326 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4328 * cursor.C (getPos): return absolute cached y coord
4330 * BufferView_pimpl.C (fitCursor): new simplistic code
4331 (workAreaDispatch): add a fitCursor call
4333 2003-11-10 André Pönitz <poenitz@gmx.net>
4336 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4338 2003-11-10 André Pönitz <poenitz@gmx.net>
4340 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4341 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4342 indicate that the cursor needs to leave an inset
4344 * lyxtext.h: remove inset locking
4346 * cursor.[Ch]: re-implement functionality provided by inset locking
4349 * BufferView_pimpl.[Ch]:
4351 * bufferview_funcs.[Ch]:
4363 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4365 * PosIterator.[Ch]: replace the stack with a vector, add inset
4367 * iterators.[C]: adjust
4369 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4371 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4373 * paragraph_funcs.C (readParToken): put the correct id in the
4374 error item, not the id of the top paragraph
4376 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4378 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4379 * bufferview_funcs.C (put_selection_at): use the above
4381 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4383 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4385 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4387 * output_linuxdoc.h:
4388 * output_plaintext.h:
4390 * output_docbook.h: add #include statements
4392 2003-11-05 José Matos <jamatos@lyx.org>
4394 * output_docbook.[Ch]:
4395 * output_latex.[Ch]:
4396 * output_linuxdoc.[Ch]:
4397 * output_plaintext.[Ch]: New files for output formats.
4398 * output.[Ch]: New file for helper functions.
4401 * paragraph_funcs.[Ch]: output functions moved to new files.
4403 * outputparams.h: rename of latexrunparams.h
4411 * paragraph_funcs.[Ch]:
4412 * paragraph_pimpl.[Ch]:
4413 * tabular.[Ch]: rename ascii to plaintext
4414 and LatexRunParams to OutputParams.
4416 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4418 * iterators.[Ch] (text): require bv argument
4419 * undo.C (recordUndo):
4420 * lyxfunc.C (dispatch):
4421 * bufferview_funcs.C (put_selection_at): adjust
4423 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4425 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4427 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4429 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4432 2003-11-04 André Pönitz <poenitz@gmx.net>
4434 * cursor.[Ch]: restructure
4437 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4439 * iterators.[Ch] (asCursor): remove
4441 * lfuns.h: remove LFUN_INSET_EDIT
4447 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4449 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4451 * lyxfind.[Ch]: complete overhaul
4452 * BufferView_pimpl.C:
4454 * paragraph.[Ch] (insert): add
4456 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4460 * text.C: remove dead spellcheck code
4462 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4464 * dispatchresult.h: add a val setter
4466 * cursor.C (dispatch): use a tempvar for data_[i]
4468 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4470 * PosIterator.[Ch]: compile fix
4472 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4474 * text.C (cursorPar): deactivate the cursor cache
4476 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4478 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4480 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4482 * text3.C (dispatch): adjust for new DisptchResult semantics.
4484 * lyxfunc.C (dispatch): handle update when return from
4485 Cursor::dispatch, adjust for new DispatchResult semantics.
4487 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4488 DispatchResult(true) mean to not update. Add class functions for
4489 setting dispatched and update, as well as reading.
4491 * cursor.C (dispatch): don't handle update here
4493 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4495 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4496 * trans_mgr.C: adjust
4498 * paragraph_funcs.C (readParToken): exception safety
4500 * lyxvc.h: store the vcs pointer in a scoped_ptr
4503 * lyxsocket.C (serverCallback): exception safety
4505 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4507 * ispell.C (clone): make it return a auto_ptr
4509 * factory.C (createInset): exception safety
4510 (readInset): exception safety
4512 * bufferlist.C (newBuffer): exception safety
4514 * Thesaurus.C (Thesaurus): use initialization for aik_
4516 * MenuBackend.C (expandToc): exception safety.
4518 2003-11-03 André Pönitz <poenitz@gmx.net>
4522 * bufferview_funcs.C: remove getInsetFromId()
4525 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4531 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4533 * PosIterator.C (distance, advance): new
4534 * bufferview_funcs.[Ch] (put_selection_at): new
4535 * iterators.[Ch] (lockPath): new
4537 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4539 * iterators.[Ch] (asPosIterator): added
4540 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4541 * PosIterator.[Ch]: added
4543 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4547 * cursor.C (dispatch):
4548 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4550 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4551 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4552 contructor, add a class function dispatched. Remove operator>=
4554 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4556 * debug.C: only use the default constructor for debugstream
4559 * main.C (main): include debug.h and setup the lyxerr streambuf
4562 2003-10-31 José Matos <jamatos@lyx.org>
4564 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4566 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4567 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4568 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4569 * paragraph_pimpl.C (simpleTeXSpecialC):
4570 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4571 add LatexRunParams argument.
4573 * exporter.C (Export): change call accordingly.
4575 * latexrunparams.h: add new member to take care of the other backends.
4576 2003-10-30 José Matos <jamatos@lyx.org>
4578 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4579 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4580 factorise code for paragraph output.
4582 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4585 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4587 * text3.C (dispatch):
4588 * lyxfunc.C (dispatch):
4589 * cursor.C (dispatch):
4590 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4592 * dispatchresult.h: make the dispatch_result_t ctor explicit
4594 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4597 * buffer.C: small refactoring of docbook stuff
4599 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4601 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4604 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4606 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4607 operator dispatch_result_t, and operators for == != and >=
4609 * cursor.C (dispatch): adjust for operator dispatch_result_t
4610 removal. comment out call to update
4612 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4614 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4622 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4625 * dispatchresult.h: new file, DispatchResult broken out of
4628 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4630 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4632 * text.C (rowBreakPoint): put a hack inside #if 0
4634 2003-10-28 André Pönitz <poenitz@gmx.net>
4638 * paragraph_funcs.C:
4641 * text2.C: general cleanup (lots of small stuff)
4643 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4645 * text2.C (cursorEnd): simple fix to the "end key goes to one
4646 before the end on last row" bug
4648 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4650 * text.C (backspace): fix the "zombie characters"
4652 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4654 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4656 2003-10-27 André Pönitz <poenitz@gmx.net>
4658 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4660 * factory.C: handle new InsetPagebreak, InsetLine
4662 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4663 and move handling into new InsetPagebreak, InsetLine
4665 * BufferView_pimpl.C:
4667 * ParagraphParameters.C:
4668 * ParameterStruct.h:
4673 * paragraph_funcs.C:
4674 * paragraph_pimpl.C:
4680 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4683 * lyxrow_funcs.[Ch]:
4689 * text3.C: remove lastPos uses in favour of Row::endpos
4691 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4693 * undo.C (performUndoOrRedo): fix two crashes by setting a
4694 cursor by hand and reordering some calls. Use bv->lockInset instead
4695 of inset->edit because the latter loses cursor information
4697 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4699 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4701 (rowBreakPoint): fix width. change point to point + 1.
4702 Add a missing check.
4704 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4707 * lyxfunc.C: fix (at least partly) the problems
4708 with the Nav menu and headers inside branch insets
4711 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4713 * paragraph.C (getChar): add strong asserts
4715 * lyxrow_funcs.C (lastPos): remove hideous hack
4717 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4718 (fill): adjust to that (avoid an infinite loop)
4720 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4722 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4724 2003-10-23 André Pönitz <poenitz@gmx.net>
4726 * RowList_fwd.h: change list<> to vector<> to gain speed
4727 after suggestion from Alfredo
4729 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4731 * lyxtext.h: move the bidi stuff from here...
4734 * Bidi.[Ch]: ... to here
4736 2003-10-23 André Pönitz <poenitz@gmx.net>
4739 * text.C (isLastRow, isFirstRow): new functions
4741 * paragraph.h: new width cache member
4743 * rowpainter.C: replace RowList::iterator with Row & where possible
4745 * lyxfunc.C: replace several view()->text with a single call
4747 * toc.C: fix 'unused' warning
4749 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4751 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4752 when woring with stream::pos_type
4753 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4755 2003-10-22 André Pönitz <poenitz@gmx.net>
4758 * text.C: use Row & instead of RowList::iterator
4760 * lyxrow.h: rename end() to endpos()
4766 2003-10-22 Angus Leeming <leeming@lyx.org>
4768 * buffer.[Ch] (fully_loaded): new member function, returning true
4769 only when the file has been loaded fully.
4770 Used to prevent the premature generation of previews and by the
4771 citation inset to prevent computation of the natbib-style label.
4773 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4774 templates are all set up.
4776 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4778 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4780 * text.C: fixed an "oops" in the "is a bit silly"
4783 2003-10-21 André Pönitz <poenitz@gmx.net>
4785 * FuncStatus.[Ch]: small stuff, whitespace
4787 * lyxfont.[Ch]: operator<<() for debug reasons
4791 * lyxtext.h: whitespace, spelling
4793 * paragraph.C: naming of variables
4796 * text2.C: small stuff
4799 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4801 * text.C: (1) finish off the inset display() work;
4802 (2) fix the "is a bit silly" bug (accessing char
4805 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4807 * text.C: re-introduce display() for insets, fixing the
4808 various bugs (stretch of line above, math inset
4811 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4813 * text.C (rightMargin): remove spurious semicolon
4815 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4818 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4820 * text3.C: fix one crash due to wrong cursor def
4822 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4824 * vc-backend.C (scanMaster): make the regex static
4826 * LaTeX.C (scanAuxFile): make the regexs static
4828 * text3.C (doInsertInset, dispatch, dispatch):
4829 * text2.C (cursorUp, cursorDown):
4830 * text.C (selectNextWordToSpellcheck):
4831 * BufferView_pimpl.C (dispatch):
4832 * lyxfunc.C (dispatch): localDispatch -> dispatch
4834 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4836 * lyxsocket.C: include <cerrno>
4838 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4840 * lyxfunc.C (dispatch): remove textcache stuff
4842 * bufferlist.C (release): remove textcache stuff
4845 * TextCache.C: delete file
4846 * TextCache.h: delete file
4848 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4850 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4851 delete of the bv_->text.
4852 (resizeCurrentBuffer): remove texcache stuff
4853 (workAreaResize): ditto
4855 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4857 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4860 2003-10-16 André Pönitz <poenitz@gmx.net>
4867 * text3.C: speed up by storing y positions per paragraph plus per-row
4868 offset instead of having a 'full' y position in the row.
4870 2003-10-15 André Pönitz <poenitz@gmx.net>
4874 * undo.[Ch]: make undo aware of inner insets
4876 2003-10-14 Angus Leeming <leeming@lyx.org>
4878 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4879 static member functions LyX::ref() and LyX::cref.
4880 (lastfiles): new accessor functions for the new lastfiles_ member var.
4881 (addLyXView, views_): add a new LyXView to the list of views_.
4882 (updateInset): loop over all LyXViews to call their own updateInset
4883 member function, returning a pointer to the Buffer owning the inset.
4885 * BufferView_pimpl.C (loadLyXFile):
4886 * MenuBackend.C (expandLastfiles):
4887 * bufferlist.C (MenuWrite, QuitLyX):
4888 lastfiles is no longer a global variable.
4889 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4891 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4892 static function. Access through LyX::cref().emergencyCleanup().
4894 2003-10-14 André Pönitz <poenitz@gmx.net>
4896 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4898 * undo.[Ch]: restoring part of 'undo in insets'
4901 * undo_funcs.[Ch]: merge with undo.[Ch]
4903 * tabular.C: small cleansing stuff
4905 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4907 * paragraph_funcs.C (readParToken): report unknown insets as error
4908 boxes. Use the outer paragraph as location (also for unknown
4911 * factory.C (readInset): do not abort on reading an unknown inset.
4912 Eat it and return 0.
4914 2003-10-13 Angus Leeming <leeming@lyx.org>
4916 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4918 * lyxrc.C: displayTranslator is now a function,
4919 declared in GraphicsTypes.h.
4921 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4923 * format.C: new placeholder $$a to pass the socket address.
4925 * bufferlist.[Ch]: new function getBufferFromTmp.
4927 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4928 files in the temporary dir.
4930 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4932 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4934 * Makefile.am: add lyxsocket.[Ch].
4936 * lyx_main.C (error_handler): handle SIGPIPE.
4938 2003-10-13 André Pönitz <poenitz@gmx.net>
4940 * BufferView_pimpl.C:
4945 * undo_funcs.[Ch]: use paroffset_type instead of
4946 ParagraphList::iterators to prevent multiple conversion
4947 (and get a more robust interface)
4949 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4951 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4953 * text3.C (dispatch): ditto
4955 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4957 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4958 move the onlyfile, use onlyfile instead of foundfile in a couple
4961 * DepTable.C (update): flush the error stream a bit more
4963 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4965 * lyxserver.C (callback): adjust
4967 * lyxfunc.C (getStatus): add a missing brace in commented code
4968 (ensureBufferClean): reindent
4969 (dispatch): delete version taking a string
4971 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4973 * LaTeX.C (deplog): move found file handlig from here...
4974 (handleFoundFile): .. to new function here.
4975 (deplog): make sure to discover several files mentioned on the
4978 2003-10-10 André Pönitz <poenitz@gmx.net>
4985 * text3.C: fix some of the tabular crashes
4987 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4989 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4991 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4993 2003-10-09 André Pönitz <poenitz@gmx.net>
4995 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4998 * BufferView_pimpl.C:
4999 * bufferview_funcs.C:
5010 * undo_funcs.C: adjust
5012 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5014 * text2.C (incrementItemDepth): new function, use a backtracking
5015 algorithm to discover the correct item depth.
5016 (resetEnumCounterIfNeeded): new function, use a backtracking
5017 algorithm to discover if counter reset is needed.
5018 (setCounter): use them. Simplify a bit. Add different labels for
5019 different item depths for itemize.
5021 * paragraph.C (Paragraph): remove initialization of enumdepth
5024 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5025 enumerate and itemize. Change the type of itemdepth to signed char.
5027 2003-10-08 André Pönitz <poenitz@gmx.net>
5029 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5034 * tabular.[Ch]: fix crash after 'row-insert'
5036 2003-10-08 Angus Leeming <leeming@lyx.org>
5038 Fix doxygen warnings.
5040 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5041 Remove CutAndPaste:: prefix from header file declaration.
5043 * LColor.h (fill): remove LColor:: prefix from declaration.
5045 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5046 use lyx::depth_type rather than Paragraph::depth_type so that
5047 header file and .C file match.
5049 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5051 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5052 * aspell.C: \file aspell_local.C -> \file aspell.C
5053 * gettext.C: \file gettext.C -> \file src/gettext.C
5054 * gettext.h: \file gettext.h -> \file src/gettext.h
5055 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5056 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5057 * text.C: \file text.C -> \file src/text.C
5059 * toc.C: move comment so that doxygen is not confused.
5061 2003-10-07 Angus Leeming <leeming@lyx.org>
5063 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5065 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5068 * aspell_local.h: add forgotten std::string's.
5070 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5077 * text3.C: The Box patch. Fancybox support, minipage, parbox
5079 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5085 * ParagraphParameters.h:
5095 * lyxtextclasslist.h:
5098 * paragraph_pimpl.C:
5099 * textcursor.h: add <string> and other small fixes to make Lars'
5100 std::string patch compile with STLport.
5102 2003-10-06 Angus Leeming <leeming@lyx.org>
5104 * LColor.h: Add missing #include <string>.
5106 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5108 * All most all file in all subdirs: Make <string> be the prefered
5109 way of getting to std::string, add using declarations.
5111 2003-10-06 André Pönitz <poenitz@gmx.net>
5113 * metricsinfo.C: initialize LyXFont before changing attribute.
5114 (fixes the 'math in \emph is upright' bug)
5116 2003-10-06 André Pönitz <poenitz@gmx.net>
5118 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5120 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5123 * paragraph_pimpl.C: Small fixes to build using STLport
5125 2003-10-02 André Pönitz <poenitz@gmx.net>
5128 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5130 2003-10-01 André Pönitz <poenitz@gmx.net>
5132 * factory.C: assert early
5134 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5136 * lyx_main.C: remove the global debug object
5138 * debug.h: adjust for new debugstream
5140 * debug.C: adjust for new debugstream and keep the global debug
5143 2003-09-22 Angus Leeming <leeming@lyx.org>
5145 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5146 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5147 an incomplete class LyXFont.
5149 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5151 * factory.C: bug fix in branches
5153 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5155 * lyxfunc.C (processKeySym): adjust
5157 (dispatch): change arg name from ev to func, adjust
5158 (sendDispatchMessage): ditto
5160 * lyx_main.C (defaultKeyBindings): adjust keybindings
5161 (deadKeyBindings): ditto
5163 * kbsequence.C (addkey): return a FuncRequest
5165 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5167 * kbmap.C (bind): take a FuncRequest as arg, adjust
5170 (defkey): change to take a FuncRequest as arg, adjust
5171 (findbinding): take a FuncRequest as arg, adjust.
5173 * funcrequest.h (operator=): added
5175 * funcrequest.C (FuncRequest): default kb_action changed from
5176 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5178 * buffer.C (dispatch): simplify
5179 (dispatch): adjust to take a FuncRequest as arg, adjust
5181 * boost.C (assertion_failed): change assertion message slightly
5183 * ToolbarBackend.C (read): simplify
5185 * MenuBackend.C (binding): adjust call to findbinding, add a
5186 message if no binding is found.
5188 (expandToc): correct by adding a empty FuncRequest
5190 * LyXAction.C: include <boost/assert.hpp>
5191 (isPseudoAction): delete function
5192 (LookupFunc): change name to...
5193 (lookupFunc): this. change return type to FuncRequest.
5194 (getActionName): take kb_action as arg, simplify
5195 (funcHasFlag): add an assert, simplify.
5197 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5199 * toc.C (action): return a FuncRequest, simplify
5201 * lyxfunc.C (processKeySym): adjust
5202 (getStatus): delete version that takes an int.
5204 (dispatch): delete version that takes action as int
5206 (sendDispatchMessage): simplify and adjust
5208 * funcrequest.C (getArg): take unsigned int as arg
5210 * ToolbarBackend.C (read): adjust
5211 (add): delete version that takes func as a string.
5212 (getIton): take a FuncRequest as arg
5214 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5217 * MenuBackend.C (MenuItem): add a new construct that only takes a
5218 Kind, simplify the constructor use for submenus.
5220 (expandLastfiles): adjust
5221 (expandDocuments): adjust
5222 (expandFormats): adjust
5223 (expandFloatListInsert): adjust
5224 (expandFloatInsert): adjust
5225 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5227 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5228 Remove class variables lyx_pseudo_map and lyx_arg_map
5230 * LyXAction.C (searchActionArg): delete function
5231 (getPseudoAction): delete function
5232 (retrieveActionArg): delete function
5233 (LookupFunc): make it return kb_action, simplify.
5234 (getActionName): simplify
5236 * factory.C (createInset): fix new bug
5238 2003-09-19 Angus Leeming <leeming@lyx.org>
5240 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5241 masterFilename_ parameter in the include inset.
5243 * factory.C (createInset): changes due to the changes to InsetInclude.
5245 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5247 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5249 2003-09-18 Angus Leeming <leeming@lyx.org>
5252 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5253 Inset::fillWithBibKeys.
5254 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5256 2003-09-18 Angus Leeming <leeming@lyx.org>
5258 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5260 (ctor): pass and store a 'Buffer const &'
5261 (buffer): new member function.
5263 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5264 '*this' to the LaTeXFeatures ctor.
5266 2003-09-18 Angus Leeming <leeming@lyx.org>
5272 * text.C: rename EnumLColor as LColor_color.
5274 2003-09-18 Angus Leeming <leeming@lyx.org>
5276 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5277 remove #include "insets/insetbase.h" from cursor.h.
5279 2003-09-18 Angus Leeming <leeming@lyx.org>
5281 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5282 InsetOld_code to remove #include "inset.h".
5284 * iterators.C: add #include "insets/inset.h"
5286 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5288 * BufferView.C: remove more locking stuff that apparently doesn't
5289 do anything sensible.
5291 2003-09-16 André Pönitz <poenitz@gmx.net>
5294 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5297 2003-09-16 Angus Leeming <leeming@lyx.org>
5299 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5301 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5304 * paragraph.h: remove #include "lyxfont.h". Forward declare
5307 2003-09-16 Angus Leeming <leeming@lyx.org>
5309 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5310 of support/textutils.h.
5311 (isWord): move the contents of support/textutils.h's IsWordChar here.
5317 * text2.C: add #include "paragraph.h".
5320 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5322 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5328 * LaTeX.C: use namespace alias for lyx::support::os
5330 2003-09-16 Angus Leeming <leeming@lyx.org>
5333 * bufferview_funcs.C:
5336 * paragraph_pimpl.C:
5338 * text.C: add #include "LColor.h".
5340 2003-09-16 Angus Leeming <leeming@lyx.org>
5342 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5343 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5345 Store the FontBits::color variable as an int rather than as an
5346 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5349 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5350 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5351 string calls together.
5353 * lyxrc.C: add #include "LColor.h".
5355 2003-09-15 Angus Leeming <leeming@lyx.org>
5357 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5360 2003-09-15 Angus Leeming <leeming@lyx.org>
5362 * LColor.h: add an EnumLColor wrapper for LColor::color.
5364 * lyxfont.[Ch] (color, setColor, realColor):
5365 * lyxtext.h, text.C (backgroundColor):
5366 pass EnumLColor args to/from the functions, rather than LColor::color
5370 * lyxtext.h: forward declare EnumLColor.
5372 * lyx_main.C: add #include "LColor.h".
5374 2003-09-15 Angus Leeming <leeming@lyx.org>
5376 * .cvsignore: add lyx-gtk.
5378 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5383 * ParagraphParameters.C
5387 * bufferview_funcs.C
5397 * vc-backend.C: remove usage of STRCONV
5399 2003-09-15 Angus Leeming <leeming@lyx.org>
5401 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5402 explicitly define the color passed to the painter.
5404 2003-09-15 Angus Leeming <leeming@lyx.org>
5406 * bufferparams.C (BufferParams): reorder member initializers to avoid
5409 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5411 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5412 * text.C (updateRowPositions): remove an unusual nop
5414 2003-09-12 André Pönitz <poenitz@gmx.net>
5416 * BufferView_pimpl.C:
5425 * Counters.[Ch]: finish the 'automatic counters' job
5427 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5429 * aspell.C: include <boost/assert.cpp> (compile fix)
5431 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5433 * boost.C (assertion_failed): use lyx::support::abort instead of
5436 2003-09-10 Angus Leeming <leeming@lyx.org>
5438 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5439 with their _fwd progeny.
5441 2003-09-09 Angus Leeming <leeming@lyx.org>
5443 134 files throughtout the source tree: replace 'using namespace abc;'
5444 directives with the appropriate 'using abc::xyz;' declarations.
5446 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5448 * boost.C (emergencyCleanup): moved here from LAssert.c
5449 (assertion_failed): new function, called by BOOST_ASSERT
5451 * several files: change Assert to BOOST_ASSERT
5453 2003-09-09 Angus Leeming <leeming@lyx.org>
5455 * buffer.[Ch]: Add an Impl class and move Buffer's member
5456 variables into it. As a result move several header files out of
5459 Add header files to lots of .C files all over the tree as a result.
5461 2003-09-09 Angus Leeming <leeming@lyx.org>
5463 * buffer.[Ch]: make Buffer's member variables private. Add
5466 Lots of changes all over the tree as a result.
5468 2003-09-08 Angus Leeming <leeming@lyx.org>
5470 * graph.C: #include <config.h>.
5472 2003-09-08 Angus Leeming <leeming@lyx.org>
5476 * BufferView_pimpl.C:
5505 * toc.C: remove redundant using directives.
5507 2003-09-07 Angus Leeming <leeming@lyx.org>
5509 * LaTeXFeatures.h: remove #include "support/types.h".
5510 * ToolbarBackend.h: remove #include <algorithm>.
5511 * changes.h: remove #include <ctime>.
5512 * debug.h: remove #include <iosfwd>.
5513 * graph.h: remove #include "support/std_string.h".
5514 * lyx_main.h: remove #include <csignal>.
5515 * lyxlex_pimpl.h: remove #include <fstream>.
5516 * sgml.h: remove #include <algorithm>, <utility>.
5517 * toc.h: remove #include "support/std_ostream.h".
5518 Add #include <iosfwd>.
5520 2003-09-07 Angus Leeming <leeming@lyx.org>
5522 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5524 * converter.h: forward declare LatexRunParams.
5525 * encoding.h: remove #include "lyxrc.h".
5526 * lyxtext.h: remove #include "LColor.h".
5527 * lyxtextclass.h: remove #include "support/types.h".
5528 * trans.h: remove #include "tex-accent.h".
5529 * trans_mgr.h: remove #include "tex-accent.h".
5530 * insets/inset.h: remove #include "support/types.h", <vector>.
5531 * insets/insetcollapsable.h: remove #include "LColor.h".
5532 * insets/insetinclude.h: remove #include "dimension.h".
5533 * insets/insetlatexaccent.h: remove #include "dimension.h".
5534 * insets/insetoptarg.h:: remove #include "insettext.h".
5535 * insets/insettext.h: remove #include "dimension.h",
5536 <boost/shared_ptr.hpp>
5538 * insets/renderers.h: add #include "dimension.h".
5539 * insets/updatableinset.h: add #include "support/types.h".
5541 * many .C files: Associated changes.
5543 2003-09-06 Angus Leeming <leeming@lyx.org>
5545 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5546 one, inside testInvariant.
5548 * PrinterParams.C: new file.
5549 * PrinterParams.[Ch]: move the function bodies out of line.
5551 2003-09-06 Angus Leeming <leeming@lyx.org>
5553 * ParagraphParameters.h: forward declare ParameterStruct rather than
5554 including its header file.
5555 (depth): moved out-of-line.
5557 2003-09-06 Angus Leeming <leeming@lyx.org>
5559 * BufferView_pimpl.h:
5562 * lyxfunc.h: forward declare LyXKeySym rather than
5563 #include "frontends/LyXKeySym.h".
5565 * BufferView_pimpl.C:
5568 * lyxfunc.C: associated changes.
5570 2003-09-06 Angus Leeming <leeming@lyx.org>
5572 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5573 As a result, can remove the #include "insets/inset.h" from BufferView.h
5575 2003-09-06 Angus Leeming <leeming@lyx.org>
5577 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5578 As a result, can remove the #include "insets/inset.h" from BufferView.h
5580 2003-09-06 Angus Leeming <leeming@lyx.org>
5586 * bufferview_funcs.C:
5587 * BufferView_pimpl.C:
5592 * ParagraphParameters.C:
5597 * frontends/controllers/ControlDocument.C:
5598 * insets/insetcaption.C: rearrange the #includes into some sort of
5601 * buffer.h: remove #includes ErrorList.h, undo.h
5603 2003-09-06 Angus Leeming <leeming@lyx.org>
5605 * support/types.h: add a 'depth_type' typedef, used to store the
5606 nesting depth of a paragraph.
5609 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5610 defining explicitly.
5613 * paragraph_funcs.h:
5614 * ParagraphParameters.h:
5615 * sgml.h: use lyx::depth_type rather than Paragraph or
5616 ParameterStruct's depth_type.
5619 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5622 * BufferView_pimpl.C:
5624 * ParagraphParameters.C:
5627 * bufferview_funcs.C:
5634 * frontends/LyXView.C:
5635 * frontends/controllers/ControlDocument.C:
5636 * frontends/controllers/ControlErrorList.C:
5637 * insets/insetbibitem.C:
5638 * insets/insetbranch.C:
5639 * insets/insetcaption.C:
5640 * insets/insetcollapsable.C:
5641 * insets/insetenv.C:
5642 * insets/insetert.C:
5643 * insets/insetfloat.C:
5644 * insets/insetfoot.C:
5645 * insets/insetfootlike.C:
5646 * insets/insetnewline.C:
5647 * insets/insetquotes.C:
5648 * insets/insettabular.C:
5649 * insets/insettext.C:
5650 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5652 * frontends/controllers/ControlChanges.C: #include "changes.h".
5654 2003-09-06 Angus Leeming <leeming@lyx.org>
5656 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5657 than #including paragraph.h.
5660 * RowList.h: deleted. Superfluous.
5670 * insets/insettext.h: use ParagraphList_fwd.h rather than
5673 * paragraph.h: don't forward declare ParagraphList.
5676 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5677 rather than ParagraphList.h. paragraph.h is still needed for the
5678 Paragraph::depth_type parameters.
5680 * textcursor.h: enable it to compile stand-alone in light of the
5683 * bufferview_funcs.C:
5695 * frontends/controllers/ControlParagraph.C:
5696 * frontends/controllers/ControlTabular.C:
5697 * insets/insetmarginal.C:
5698 * insets/insetminipage.C:
5699 * insets/insetnote.C:
5700 * insets/insetoptarg.C: add header files needed to compile again.
5702 2003-09-06 Angus Leeming <leeming@lyx.org>
5704 * RowList_fwd.h: new file, forward-declaring Row rather than
5705 #including lyxrow.h.
5710 * insets/insettext.h: use it instead of RowList.h
5712 * bufferview_funcs.C:
5719 * text3.C: #include "RowList.h".
5721 2003-09-05 Angus Leeming <leeming@lyx.org>
5723 * factory.C (createInset):
5724 * vspace.C (c-tor): replace sscanf call with an istringstream.
5725 * ispell.C: re-add missing HP/UX headers.
5726 * lyxserver.C: re-add missing os2 headers.
5728 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5737 * text3.C: re-add missing system headers, needed for 2.95.2.
5739 2003-09-05 Angus Leeming <leeming@lyx.org>
5741 Changes most place everywhere due to the removal of using directives
5742 from support/std_sstream.h.
5744 2003-09-05 Angus Leeming <leeming@lyx.org>
5746 Replace LString.h with support/std_string.h,
5747 Lsstream.h with support/std_sstream.h,
5748 support/LIstream.h with support/std_istream.h,
5749 support/LOstream.h with support/std_ostream.h.
5751 Changes resulting throughout the tree.
5753 2003-09-05 Angus Leeming <leeming@lyx.org>
5755 * sgml.h: ensure that the header file can be compiled stand-alone.
5756 * *.C: strip out redundant #includes. (320 in total.)
5758 2003-09-04 Angus Leeming <leeming@lyx.org>
5760 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5761 here (from getPackages).
5763 * debug.[Ch]: add a new EXTERNAL tag.
5765 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5767 * text2.C (cursorEnd): simplify
5769 (getColumnNearX): adjust
5771 * text.C (computeBidiTables): adjust
5774 * rowpainter.C (paintChars): adjust
5775 (paintSelection): adjust
5776 (paintChangeBar): adjust
5779 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5781 (numberOfSeparators): adjust
5783 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5789 * text3.C: Restricts the mouse click functionality
5790 of insets like bibtex, include, toc and floatlist to the visible
5791 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5792 up the dialogs. Cursor has to be in front of the inset (i.e.
5793 start of row) for this to function.
5795 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5797 * bufferview_funcs.C (currentState): output row information
5799 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5801 * bufferview_funcs.C (currentState): output paragraph position
5803 2003-09-04 Angus Leeming <leeming@lyx.org>
5805 * FloatList.h: move out #include "Floating.h".
5806 * LaTeX.h: move out #include "DepTable.h".
5807 * LyXAction.h: move out #include "funcrequest.h".
5808 * buffer.h: move out #include "author.h", "iterators.h".
5809 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5810 * lyx_main.h: move out #include "errorlist.h".
5811 * lyxfunc.h: move out #include "FuncStatus.h".
5812 * lyxtext: move out #include "lyxcursor.h".
5813 * paragraph_pimpl.h: move out #include "counters.h".
5815 2003-09-03 Angus Leeming <leeming@lyx.org>
5817 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5818 preamble_snippets list, enabling us to add snippets to the preamble
5819 only if the snippet was not there already.
5821 2003-09-04 Angus Leeming <leeming@lyx.org>
5823 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5825 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5827 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5830 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5832 * BranchList.C: point fix, earlier forgotten
5834 2003-09-02 Angus Leeming <leeming@lyx.org>
5836 * box.C (contains): renamed from 'contained' after a fantastic
5839 2003-09-02 John Levon <levon@movementarian.org>
5845 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5847 2003-09-02 John Levon <levon@movementarian.org>
5849 * text2.C: simplification of cursorEnd(), including partial
5852 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5854 * buffer.C (readFile): add a space
5856 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5858 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5860 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5862 * buffer.C (readFile): new function, take a filename and a
5863 ParagraphList::iterator
5865 (readFile): adjust, make it private. don't use setStream, make
5866 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5867 always contain the filename.
5869 * BufferView.C (insertLyXFile): simplify and make it work for
5872 2003-08-30 John Levon <levon@movementarian.org>
5874 * Makefile.am: fix dist (from Kayvan)
5876 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5878 * most files: change to use const Buffer refs
5880 2003-08-27 André Pönitz <poenitz@gmx.net>
5882 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5883 on top of ownerPar().
5885 2003-08-27 John Levon <levon@movementarian.org>
5887 * funcrequest.C: properly initialise POD members
5889 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5891 * lyxtext.h (top_y): move top_y from here
5896 * BufferView_pimpl.[Ch]: to here
5897 * frontends/screen.C:
5898 * insets/insettabular.C:
5899 * insets/insettext.C: adjust
5900 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5902 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5905 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5907 2003-08-26 André Pönitz <poenitz@gmx.net>
5909 * paragraph_func.[Ch] (outerPar): new function
5912 * paragraph_funcs.C:
5913 * paragraph_funcs.h:
5914 * paragraph_pimpl.C:
5915 * text2.C: remove Inset::par_owner
5917 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5922 * text2.C: eliminates the needFullRow/display() stuff
5923 altogether, putting the logic in metrics/draw in the insets.
5925 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5927 * text2.C (redoParagraphInternal, redoParagraphs):
5928 * text.C (redoParagraph): add a call to updateRowPositions at the
5929 end of each 'metrics-like' call. Remove all others.
5930 (getRow): remove the 'y-computing' version.
5931 (getRowNearY): do not compute nor return the real y. Solve the
5932 'y < 0' problem and simplify.
5934 2003-08-22 Angus Leeming <leeming@lyx.org>
5936 * *.[Ch]: clean-up of licence and author blurbs.
5937 Also move config.h out of a few .h files and into a few .C files.
5939 2003-08-22 André Pönitz <poenitz@gmx.net>
5941 * lyxrow.[Ch]: add x_ and *fill_ members
5946 * text2.C: adjust/remove prepareToPrint() calls
5948 2003-08-22 André Pönitz <poenitz@gmx.net>
5950 * lyxrow.[Ch]: add end_ member
5952 * lyxrow_funcs.C: use LyXRow::end_
5954 * lyxtext.h (singleWidth): add LyXFont parameter
5957 * text2.C: adjust LyXText::singleWidth() calls
5959 * text.C (redoParagraph): simplify row breaking logic
5962 2003-08-19 André Pönitz <poenitz@gmx.net>
5964 * funcrequest.C: initialize button_ member
5967 * rowpainter.[Ch]: interface consolidation
5969 2003-08-18 André Pönitz <poenitz@gmx.net>
5972 * BufferView_pimpl.C:
5974 * paragraph_funcs.C:
5976 * text3.C: remove LyXScreen::draw() and fitCursor calls
5978 * BranchList.h: remove spurious semicolons
5980 * MenuBackend.C: fix branchlist related crash
5982 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5990 * bufferparams.[Ch]:
5994 * text3.C: implements the 'branch inset'
5995 idea. This allows the output of various versions of a document
5996 from a single source version, selectively outputing or suppressing
5997 output of parts of the text.
5998 This implementation contains a 'branch list editor' in a separate
5999 tab of the document settings dialog. Branches are user definable
6000 and have a "display colour" to distinguish them on-screen.
6002 ColorHandler was somewhat cleaned up.
6003 (1) make possible a dynamically growing LColor list by allowing
6004 the graphic context cache to grow along (vector);
6005 (2) eliminate an IMHO unnecessary step in colour allocation.
6007 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6009 * BufferView_pimpl.C: compile fix
6011 2003-08-15 André Pönitz <poenitz@gmx.net>
6013 * rowpainter.C: remove extra metrics calls
6015 * lyxtext.h: merge the two constructors into a single one,
6016 pass reference to owner's par list
6018 * BufferView_pimpl.C:
6022 2003-08-15 André Pönitz <poenitz@gmx.net>
6024 * lyxrow_funcs.[Ch]:
6027 * paragraph_funcs.C:
6032 * text_funcs.C: split LyXText::rowlist_ into individual
6033 Paragraph::rows_ chunks
6036 * BufferView_pimpl.[Ch]:
6039 * text3.C: remove toggleSelection()
6041 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6043 * bufferlist.C: beautify two alerts (shorter text of buttons)
6044 * buffer.C: Remove redundant ' ' from message
6046 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6047 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6048 rename VALIGN_CENTER to VALIGN_MIDDLE
6050 2003-08-11 André Pönitz <poenitz@gmx.net>
6052 * lyxtext.h (getPar):
6053 * text.C: new function
6055 2003-08-11 André Pönitz <poenitz@gmx.net>
6058 * tracer.[Ch]: remove unneeded files
6060 * InsetList.[Ch]: remove resizeInsetsLyXText()
6065 * text3.C: merge insertParagraphs() and appendParagraph()
6066 remove breakAgain(), update()
6068 * BufferView_pimpl.[Ch]:
6069 * bufferview_funcs.[Ch]:
6073 * tabular.C: adjust after text & InsetList changes.
6075 2003-08-08 André Pönitz <poenitz@gmx.net>
6077 * text.C (insertChar, backspace): replace rowlist fiddling
6078 with rebreak of full par
6081 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6082 checkParagraph, updateInset): removed
6084 2003-08-07 André Pönitz <poenitz@gmx.net>
6087 * text3.C: merge some LFUN handlers, remove dead code
6089 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6091 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6093 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6095 * text2.C (DEPM): fix part of bug 1255 and 1256
6097 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6099 * BufferView_pimpl.C (workAreaDispatch): change to use
6100 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6101 that are no mouse related.
6103 2003-08-05 André Pönitz <poenitz@gmx.net>
6106 * BufferView_pimpl.[Ch]:
6107 * bufferview_funcs.C:
6109 * text3.C: rip out "deep update"
6111 * textcursor.[Ch] (last_sel_cursor): remove unused member
6113 2003-08-04 André Pönitz <poenitz@gmx.net>
6116 * BufferView_pimpl.[Ch]:
6117 * ParagraphParameters.C:
6118 * bufferview_funcs.C:
6124 * text3.C: replace "complicated" BufferView::update(...) calls with
6127 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6129 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6131 * Makefile.am (lyx_SOURCES): add paper.h
6133 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6135 * Makefile.am: move things around so that both lyx-qt and
6136 lyx-xforms can be built (according to --with-frontend). Then lyx
6137 is a symbolic link to lyx-[firstfrontend]
6139 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6141 * Always use std::endl with lyxerr
6143 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6145 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6147 2003-08-01 André Pönitz <poenitz@gmx.net>
6150 * BufferView_pimpl.[Ch]:
6152 * text3.C: merge BufferView::repaint() and BufferView::update()
6154 2003-08-01 José Matos <jamatos@lyx.org>
6156 * buffer.[Ch]: file_format is no longer a buffer data element.
6158 2003-08-01 André Pönitz <poenitz@gmx.net>
6163 * text2.C: make redoParagraph more independent of current cursor
6165 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6167 * text2.C: remove unneeded members
6169 2003-07-30 André Pönitz <poenitz@gmx.net>
6171 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6173 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6174 create a single function...
6176 * paragraph_funcs.C (moveItem): ... here.
6179 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6181 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6183 * LColor.[Ch]: Add comment and greyedout logical colors.
6185 2003-07-30 André Pönitz <poenitz@gmx.net>
6187 * tabular.C: don't use Assert too heavily. This crashes where it
6190 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6192 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6193 is disabled (bug 1232)
6195 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6197 * factory.C: limited 'arg' scope
6199 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6201 * factory.C: fixed Note submenu issues
6203 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6205 * factory.C: submenu for Note/Comment/Greyedout
6207 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6210 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6212 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6215 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6216 greyedout. Patch provided by Jürgen Spitzmüller.
6218 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6220 * kbmap.C (read): fix error message when reading bind files
6222 2003-07-29 Angus Leeming <leeming@lyx.org>
6224 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6225 certainly does not do what it purports to do. I am doing it, and
6226 us, a favour by killing it.
6228 2003-07-28 José Matos <jamatos@lyx.org>
6230 * buffer.C (readBody, do_writeFile):
6231 * paragraph.C(readParagraph): \end_document replaces \the_end.
6233 2003-07-29 André Pönitz <poenitz@gmx.net>
6236 * BufferView_pimpl.[Ch]:
6240 * textcursor.[Ch]: remove toggleToggle & Co
6242 2003-07-28 José Matos <jamatos@fep.up.pt>
6244 * buffer.C (readParagraph):
6245 * params_func (readParToken, readParagraph):
6246 * paragraph.C (write): \layout -> \begin_layout.
6248 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6250 * lyxlex_pimpl.C (setFile): clean up slightly.
6252 * bufferparams.h: add compressed var
6254 * buffer_funcs.C (readFile): adjust for LyXLex change
6255 (newFile): ditto + simplify
6257 * buffer.C (writeFile): handle writing of compressed files
6259 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6260 Check if the file is compressed and set a bufferparm if so.
6262 * Makefile.am (lyx_LDADD): remove explicit -lz
6264 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6266 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6267 makeDocBookFile): put the real LyX version in the first line of
6271 * version.C.in: remove lyx_docversion
6273 * tabular.C (write_attribute): add a template-based version to
6274 write enums properly
6276 2003-07-28 André Pönitz <poenitz@gmx.net>
6281 * text3.C: use doubles again for x-coordinates. They are needed.
6283 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6285 * messages.C (getLocaleDir): use lyx_localedir()
6287 * lyxlex_pimpl.C (setFile): compress stuff
6289 * buffer.C (writeFile): add some compression stuff
6290 (do_writeFile): new func, dont call expliti close... will this
6293 * Makefile.am (lyx_LDADD): add -lz
6295 2003-07-28 José Matos <jamatos@fep.up.pt>
6297 * buffer.C: increment file format.
6298 * paragraph_funcs (readParagraph, readParToken):
6299 * paragraph.C (readParagraph): add \end_layout.
6301 2003-07-27 Angus Leeming <leeming@lyx.org>
6303 * Makefile.am: remove special casing for configure-time setting of
6304 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6306 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6307 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6309 2003-07-26 André Pönitz <poenitz@gmx.net>
6311 * paragraph_func.[Ch]:
6312 * paragraph.C (realizeFont): inline it whereever it is used
6317 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6320 2003-07-26 André Pönitz <poenitz@gmx.net>
6324 * text2.C: get rid of LyXText::need_break_row
6326 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6328 * toc.[Ch]: put namespace toc inside namespace lyx
6330 * MenuBackend.C (expandToc2): adjust for lyx::toc
6333 * lyxfunc.C (dispatch): adjust for lyx::find
6335 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6336 lyx::find instead. Reorganize a bit.
6337 (LyXReplace): rename to replace
6338 (LyXFind): rename to find
6340 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6343 2003-07-26 André Pönitz <poenitz@gmx.net>
6345 * text.C (setHeightOfRow): restrict scope of temporary variable
6347 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6348 code (never has been used?)
6350 2003-07-27 Asger Alstrup <alstrup@local>
6352 * text.C (fill): Optimise algorithm to exploit that we can reuse
6353 the LyXFont for many characters.
6354 (setHeightOfRow): Same thing.
6355 (rowBreakPoint): Same thing.
6357 2003-07-26 Asger Alstrup <alstrup@local>
6359 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6361 * text.C (singleWidth): Spurious font copying in hot-spot
6362 singleWidth avoided. Reorder tests for arabic for efficiency.
6364 * text.C (fill): handle empty paragraphs better.
6366 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6369 * encoding.h: add includes
6371 * lyxrc.C: remove reading of bind files
6373 * lyx_main.C (init): setup bindings and menus only if we have a
6376 * kbmap.C (read): new method. Do the actual reading of bind
6379 * converter.C (dvipdfm_options):
6382 (output): adapt PAPER_* enums.
6384 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6386 * bufferparams.h: remove paper-related enums from there
6388 * paper.h: New file. A trivial header file to hold paper-related
6389 enums. It should later expand to contain many paper-related
6392 * lyxrc.C: declare extern displayTranslator
6394 2003-07-27 José Matos <jamatos@fep.up.pt>
6396 * tabular.[Ch] (linuxdoc): add support for tables and figures
6399 2003-07-27 José Matos <jamatos@fep.up.pt>
6401 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6402 consistency in both functions.
6403 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6405 2003-07-26 Asger Alstrup <alstrup@local>
6407 * rowpainter.C (paintRows): Change algorithm to work directly on
6408 the insets rather than asking every character in the document
6409 whether its an inset.
6411 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6413 * buffer.C (openFileWrite): factorize some code
6415 2003-07-26 Angus Leeming <leeming@lyx.org>
6418 * lyx_main.[Ch]: replace occurances of system_tempdir with
6421 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6423 * rename Inset to InsetOld
6425 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6427 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6428 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6429 which I think is a bit clearer. EDIT is gone, since it was
6430 premature optimisation, and broken for mathed anyway.
6431 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6432 with cursor positioning in insets as well (math insets still do not
6433 work, but that's a different story anyway.) It mysteriously
6434 crashes sometimes with undo in the first paragraph, but I'm fairly
6435 confident that this is a compiler bug.
6437 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6439 * paragraph.C (Paragraph): adjust for new clone return type
6441 (copyIntoMinibuffer): ditto
6443 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6445 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6446 by not having a special case, and always doing a full rebreak of
6447 the document after undo.
6449 2003-07-23 Angus Leeming <leeming@lyx.org>
6451 * factory.C (createInset): InsetExternal::setParams now takes a
6454 2003-07-23 Angus Leeming <leeming@lyx.org>
6456 * factory.C (createInset): changed interface to the external and
6457 graphics mailers' string2params functions.
6459 2003-07-23 Angus Leeming <leeming@lyx.org>
6461 * factory.C (createInset): pass a
6462 Buffer const * parameter to InsetExternalMailer's string2params.
6464 2003-07-22 John Levon <levon@movementarian.org>
6466 * Thesaurus.h: include the right aiksaurus header
6468 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6470 * MenuBackend.C (expand): check menu shortcuts unconditionally
6472 2003-07-21 Angus Leeming <leeming@lyx.org>
6474 * factory.C (createInset): pass a
6475 buffer_path parameter to InsetGraphicsMailer's string2params.
6477 2003-07-21 Angus Leeming <leeming@lyx.org>
6479 * BufferView_pimpl.C (buffer):
6482 * lyxfunc.C (dispatch):
6483 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6484 rather than the grfx shortcut.
6486 2003-07-21 André Pönitz <poenitz@gmx.net>
6488 * rowpainter.C: remove unused variables
6491 * tabular_funcs.h: move to tabular.C
6492 * Makefile.am: adjust
6494 * tabular.[Ch]: basic optical cleaning
6496 * author.h: pass references, not values
6498 2003-07-18 André Pönitz <poenitz@gmx.net>
6506 * text3.C: two-phase drawing for InsetText and InsetTabular
6507 some float -> int changes.
6509 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6511 * lyx_main.C: fix the fix
6513 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6515 * lyx_main.C: fix a crash in batch mode if no files specified
6518 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6520 * format.[Ch] (papersize): moved to BufferParams
6521 * converter.[Ch] (dvips_options): moved to BufferParams
6522 (dvipdfm_options): moved to anon namespace
6523 * bufferparams.[Ch]: added above functions.
6525 2003-07-17 André Pönitz <poenitz@gmx.net>
6529 * text2.C: don't call inset->update() anymore
6531 * metricsinfo.[Ch]: add convenience constructor
6533 2003-07-16 André Pönitz <poenitz@gmx.net>
6538 * text2.C: replace the LyXCursor::irow_ member with
6539 on-demand computation of the value
6541 2003-07-16 John Levon <levon@movementarian.org>
6543 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6545 2003-07-15 André Pönitz <poenitz@gmx.net>
6548 * text2.C: remove no more needed refresh_row
6550 2003-07-15 André Pönitz <poenitz@gmx.net>
6555 * text3.C: refresh_status tristate -> need_update bool
6557 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6559 * lyxtext.h (init): remove reinit argument (act as if always true)
6560 * text2.C: adjust to that
6562 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6564 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6565 * text3.C: use it to delete selections in some cases
6566 (bugs 441, 673, 702, 954).
6568 2003-07-14 André Pönitz <poenitz@gmx.net>
6570 * rowpainter.[Ch]: reduce interface
6572 2003-07-14 André Pönitz <poenitz@gmx.net>
6574 * BufferView_pimpl.C:
6575 * text2.C: adjust after removing unused BufferView * argument
6577 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6579 * text2.C (init): fix a crash fired on resize
6581 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6583 * buffer.[Ch]: added new closing signal
6584 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6585 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6586 BufferView::Pimpl via the closing the signal
6588 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6590 * buffer.[Ch]: take out all bv-related from buffer
6592 * BufferView_pimpl.[Ch]: connect to new signals
6593 * CutAndPaste.C: removed useless asserts
6594 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6597 * lyxfunc.C: moved view-related funciontality from vc here
6598 * paragraph.C: removed outdated comments
6601 2003-07-10 André Pönitz <poenitz@gmx.net>
6603 * BufferView_pimpl.C:
6607 * text2.C: remove InsetText::InnerCache, clean up consequences
6609 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6611 * ispell.C: fix two typos in error messages
6613 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6615 * Extend Note inset to other forms of annotation like Comment
6616 and Greyedout. Right button click gives dialog.
6618 Files modified or added (+):
6622 * ControlNote.[Ch] +
6624 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6625 frontends/controllers
6629 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6631 * aspell.C: add missing namespace lyx::support
6633 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6635 * BufferView.[Ch] (newFile): Add
6636 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6637 * LaTeX.[Ch] (message): added this signal and use it
6638 * buffer.[Ch] (busy, message): added these signals and use them
6639 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6643 * importer.C: use buffer signals instead of direct bv calling
6644 * lyx_cb.[Ch] (ShowMessage): removed
6647 * paragraph_funcs.C:
6648 * text2.C: use buffer signals
6650 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6652 * introduce namespace lyx::graphics
6654 2003-07-02 André Pönitz <poenitz@gmx.net>
6656 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6658 2003-07-01 André Pönitz <poenitz@gmx.net>
6665 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6666 text*.C to text_func.C
6668 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6670 * introduce namespace lyx::support
6672 2003-06-30 André Pönitz <poenitz@gmx.net>
6677 * text.C: re-enable --with-included-string
6679 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6681 * textcursor.C: add <config.h>
6683 * text.C (getWord): remove const from word_location arg
6685 * lyxvc.C (getLogFile): fix const type order
6687 * lyxtext.h: remove const from word_location arg, add arg name
6689 * lyxlayout.h: currect type on labeltype.
6691 * importer.C: correct \file
6693 * converter.C (intToFormat): use std:: on ret val, ws changes
6695 * bufferlist.h: correct \file
6697 * buffer.C (makeLinuxDocFile): fix const type order
6698 (makeDocBookFile): ditto
6699 (fillWithBibKeys): use std:: on stdlib args.
6701 * CutAndPaste.C: fix authors.
6702 (availableSelections): use std:: on return vector
6704 2003-06-27 André Pönitz <poenitz@gmx.net>
6706 * BufferView_pimpl.C:
6707 * bufferview_funcs.C:
6715 * text3.C: remove LyXCursor::row_ member
6718 * text.C: rename fullRebreak() to partialRebreak() and implement
6719 a fullRebreak() that really bereks fully
6721 * textcursor.h: new struct for cursor-related data
6723 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6725 * lyx_main.C (LyX): get full path of document loaded on the
6728 2003-06-26 André Pönitz <poenitz@gmx.net>
6730 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6731 remove unused/broken operator>,<,>=.
6733 * text.C: remove only use of broken operator<= in an Assert().
6735 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6737 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6738 moved errorlist_.clear to showErrorList
6740 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6742 * converter.C (scanLog, runLaTeX):
6743 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6744 move the bv->showErrorList call to the callers
6745 * lyxfunc.C: i.e. here...
6747 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6748 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6749 namespace, the second to...
6750 * buffer_funcs (BufferFormat, parseErrors): added
6751 * errorlist.C (ErrorList(TeXErrors const &)): removed
6753 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6755 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6757 2003-06-24 "Garst R. Reese" <reese@isn.net>
6761 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6763 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6765 * version.C.in: change docversion to 1.4
6767 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6769 * buffer.C: fix a bug just introduced
6771 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6773 * buffer.[Ch]: added the parseError signal and use it, removed
6775 * BufferView.[Ch] (addError): moved to ...
6776 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6777 to the Buffer::parseError signal to catch (guess what) parse errors
6778 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6780 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6782 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6783 ability to create a buffer and to return an existing one from
6784 the list. Moved these functions to...
6785 * buffer_funcs.[Ch]: added
6786 * BufferView.[Ch] (loadLyXFile): added
6787 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6788 job removed from bufferlist::loadLyXFile.
6789 * buffer.C (setReadOnly): make it work without view
6790 (i.e added an if (users))
6792 2003-06-19 Angus Leeming <leeming@lyx.org>
6795 * LyXAction.C (init):
6796 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6797 with LFUN_DIALOG_SHOW <name> <data>.
6799 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6801 * CutAndPaste.C (availableSelections): small compilation fix for
6802 ancient (gcc 2.9x) compilers
6804 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6806 * text3.C (cursorNext): add tmp var
6808 * text2.C (updateCounters): for function calling out of for clause
6809 (replaceSelectionWithString): ditto
6810 (insertStringAsParagraphs): ditto
6811 (getColumnNearX): add tmp var
6812 (setCursorFromCoordinates): add tmp var
6813 (cursorDownParagraph): add tmp var
6814 (deleteEmptyParagraphMechanism): add tmp var
6816 * text.C (insertChar): add tmp var
6818 * rowpainter.C (paintDepthBar): add tmp var
6820 * CutAndPaste.C (availableSelections): potentially check all
6821 paragraphs in a cut to fill the shown strings.
6823 2003-06-18 André Pönitz <poenitz@gmx.net>
6825 * kbmap.[Ch]: use vector<> instead of list<>
6827 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6829 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6830 pasteSelection with index
6832 * text2.C (pasteSelection): modify, call pasteSelection with index
6834 * paragraph.C (asString): reimplement version with no interval to
6835 call the one with interval.
6837 * lyxtext.h: add index arg to pasteSelection
6839 * MenuBackend.C (MenuItem): handle PasteRecent
6840 (Menu::read::Menutags): add md_pasterecent
6842 (expandPasteRecent): new function
6845 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6847 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6849 (availableSelections): new function
6851 2003-06-17 Angus Leeming <leeming@lyx.org>
6853 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6855 2003-06-17 Angus Leeming <leeming@lyx.org>
6858 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6860 * lyxfunc.C (dispatch): invoke it.
6862 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6864 * iterators.C (operator++, ParPosition): reintroduce some
6865 const_cast for the benefit of older compilers.
6867 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6869 * text3.C (dispatch): do not modify clipboard when doing
6870 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6871 LFUN_DELETE_SKIP on a selection selection
6873 2003-06-16 André Pönitz <poenitz@gmx.net>
6879 * tabular.[Ch]: IU of clone() and getLabelList();
6881 2003-06-13 André Pönitz <poenitz@gmx.net>
6883 * tabular.h: compactification
6885 2003-06-12 André Pönitz <poenitz@gmx.net>
6889 * tabular_funcs.h: some renaming plus whitespace
6891 2003-06-12 André Pönitz <poenitz@gmx.net>
6894 * BufferView_pimpl.C:
6900 * toc.C: Return a Paragraph & for ParIterator::operator*()
6902 2003-06-11 John Levon <levon@movementarian.org>
6906 * ToolbarBackend.C: add "Toolbars" section and
6909 2003-06-10 Angus Leeming <leeming@lyx.org>
6912 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6914 * lyxfunc.C (dispatch): invoke it.
6916 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6918 * main.C: protect <ios> with HAVE_IOS
6919 (main): protect sync_with_stdio with HAVE_IOS
6921 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6923 * text2.C (cutSelection): adjust
6924 (pasteSelection): adjust
6926 * messages.C: handle get of empty string
6928 * main.C (main): use sync_with_stdio(false)
6930 * lyxfunc.C (dispatch): adjust
6932 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6933 (WriteAs): remove unneeded BufferView arg.
6935 * bufferparams.h: use correct types on papersize, papersize2 and
6938 * bufferparams.C (readToken): adjust for type
6939 (writeLaTeX): add missing cases to switch.
6941 * bufferlist.C (quitWriteBuffer): adjust
6944 * buffer.C (asciiParagraph): remove some commented code.
6946 * CutAndPaste.C: remove current_view extern variable.
6947 (cutSelection): add BufferParams arg.
6948 (eraseSelection): add BufferParams arg.
6949 (pasteSelection): add Buffer const & arg
6951 2003-06-07 John Levon <levon@movementarian.org>
6954 * paragraph_funcs.C:
6955 * paragraph_pimpl.C:
6959 * paragraph.C: allow InsetERT to freely space lines,
6960 and some consolidation of code
6962 2003-06-06 José Matos <jamatos@fep.up.pt>
6964 * buffer.C (makeDocBookFile): fix bug #821
6966 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6968 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6970 2003-06-04 Angus Leeming <leeming@lyx.org>
6972 * buffer.C: bump format to 224.
6974 2003-06-05 André Pönitz <poenitz@gmx.net>
6976 * text2.C (redoParagraphs): remove two const_cast<>
6978 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6980 * ParagraphList.h: remove last remnants of NO_STD_LIST
6982 2003-06-03 Angus Leeming <leeming@lyx.org>
6984 * factory.C (createInset): small change to the way InsetExternal's params
6987 2003-06-04 André Pönitz <poenitz@gmx.net>
6989 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6991 * paragraph_pimpl.h:
6992 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6994 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6996 * undo_funcs.C: make some simple cases of undo work again
6998 2003-06-03 John Levon <levon@movementarian.org>
7000 * ispell.C: HPUX doesn't have sys/select.h
7003 2003-06-03 John Levon <levon@movementarian.org>
7005 * CutAndPaste.C: update tabular and include inset
7010 * paragraph.C: remove owningBuffer(), don't pass Buffer
7013 * factory.C: insetGraphicsParams changed
7015 2003-06-02 John Levon <levon@movementarian.org>
7021 * text3.C: remove insetparent
7023 2003-06-02 John Levon <levon@movementarian.org>
7026 * buffer.C: fix inset_iterator.end(), move out of line
7029 2003-06-01 John Levon <levon@movementarian.org>
7031 * text3.C: use a proper cut/paste when doing inset
7032 insert (from Jürgen Spitzmüller)
7034 2003-06-01 John Levon <levon@movementarian.org>
7036 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7038 2003-05-30 André Pönitz <poenitz@gmx.net>
7040 * rowpainter.C: unify second drawing phase
7042 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7044 * trans_mgr.C: remove one case of current_view
7046 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7048 * paragraph_funcs.h: remove paragraph.h include
7050 * paragraph.h: delete NO_STD_LIST stuff
7052 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7054 * buffer.h: remove paragraph.h include
7056 * ParagraphList.C: delete file
7058 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7060 * toc.C (getTocList): adjust
7062 * paragraph_pimpl.C (validate): adjust
7064 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7066 * paragraph.C (Paragraph): adjust
7067 (getPositionOfInset): use const_iterator, adjust
7068 (bibitem): use const_iterator, adjust
7069 (setInsetOwner): adjust
7071 * iterators.C (operator++): adjust
7073 * InsetList.[Ch]: Replace selfmade iterator with standard
7074 vector::iterator also introduce const_iterator. Remove getPos,
7075 getInset and setInset from InsetTable. Adjust accordingly.
7077 * BufferView.C (lockInset): adjust
7078 (ChangeInsets): adjust
7080 * tabular.[Ch]: delete commented same_id functions
7082 2003-05-28 John Levon <levon@movementarian.org>
7084 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7086 2003-05-28 André Pönitz <poenitz@gmx.net>
7088 * metricsinfo.[Ch]: remove 'fullredraw' member
7090 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7092 * lyxtextclass.C (operator): remove caching.
7094 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7098 * text2.C (cursorBottom): adjust
7099 (setCounter): use ParagraphList::find, adjust
7101 * text.C (workWidth): use ParagraphList::find, adjust
7103 * lyxcursor.C (LyXCursor): adjust
7105 * buffer.C (inset_iterator): adjust
7107 * ParagraphList.h: make iterator(value_type) private, make
7108 ParagraphList a friend of iterator.
7110 * ParagraphList.C (find): new function
7112 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7114 2003-05-27 André Pönitz <poenitz@gmx.net>
7116 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7118 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7120 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7122 2003-05-26 John Levon <levon@movementarian.org>
7124 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7126 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7128 * remove same_id from function signatures, adjust.
7130 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7132 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7134 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7136 * paragraph.C (Paragraph): get rid of same_ids parameter
7138 * ParagraphList.C (insert): adjust
7141 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7143 * paragraph_funcs.C (breakParagraph): adjust
7144 (breakParagraphConservative): adjust
7146 * buffer.C (readParagraph): adjust
7148 * ParagraphList.C (insert): take a reference instead of a pointer
7151 * paragraph.[Ch] (id): new function
7153 * bufferlist.C (newFile): adjust
7155 * ParagraphList.C (ParagraphList): adjust
7157 (push_back): take a reference instead of a pointer.
7159 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7161 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7164 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7165 set else use old code.
7167 * ParagraphList.C: remove all NO_NEXT code and only compile this
7168 code of NO_STD_LIST is set.
7170 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7172 * BufferView_pimpl.C:
7182 * graphics/GraphicsConverter.C:
7183 * graphics/PreviewLoader.C: header adjustment
7185 2003-05-23 Angus Leeming <leeming@lyx.org>
7187 * LaTeXFeatures.[Ch] (useBabel): new method.
7188 * bufferparams.C (writeLaTeX): use it.
7190 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7192 * ParagraphList.h (set): remove unused function.
7194 2003-05-23 André Pönitz <poenitz@gmx.net>
7197 * BufferView_pimpl.C:
7201 * undo_funcs.C: setUndo reworked
7203 * iterators.[Ch]: add access to topmost ParagraphList
7205 * lyxtext.[Ch] (workWidth): add a const
7207 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7209 * texrow.[Ch] (increasePos): remove function
7210 * exporter.C (export): removed unused var and outdated comment
7212 2003-05-23 Angus Leeming <leeming@lyx.org>
7214 * latexrunparams.h: rename fragile as moving_arg.
7215 * paragraph.C (simpleTeXOnePar): ditto.
7216 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7218 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7220 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7222 (textUndoOrRedo): comment out a currently unused var.
7224 * paragraph.h (NO_NEXT): enable NO_NEXT
7226 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7228 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7230 * exporter.C (Export): adjust for removeAutoInsets removal.
7232 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7234 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7236 * BufferView.[Ch] (removeAutoInsets): delete function
7238 2003-05-22 Angus Leeming <leeming@lyx.org>
7240 * latexrunparams.h: add a free_spacing variable.
7242 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7243 to pass moving_arg, as the data is stored in runparams.fragile.
7245 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7246 to Inset::latexOptional or to simpleTeXOnePar.
7248 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7249 free_spacing arg to Inset::latexOptional.
7251 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7254 2003-05-22 Angus Leeming <leeming@lyx.org>
7256 * latexrunparams.h: add fragile and use_babel variables.
7258 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7259 * buffer.C (makeLaTeXFile): store this returned value in
7260 runparams.use_babel, thus passing it to the inset::latex methods.
7262 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7263 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7265 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7266 longer has a fragile arg, as it is stored in runparams.fragile.
7268 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7269 moving_arg parameter as the data is stored in runparams.fragile.
7271 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7272 a fragile parameter as the data is stored in runparams.fragile.
7274 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7276 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7278 2003-05-22 Angus Leeming <leeming@lyx.org>
7280 * latexrunparams.h: add a 'bool nice' which defaults to false.
7282 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7283 now encapsulated within runparams.
7285 * bufferlist.C (updateIncludedTeXfiles):
7286 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7288 2003-05-22 Angus Leeming <leeming@lyx.org>
7290 * latexrunparams.h: new file containing struct LatexRunParams.
7291 * Makefile.am: add new file.
7293 * LaTeX.[Ch] (c-tor, run):
7294 * buffer.[Ch] (makeLaTeXFile):
7295 * bufferlist.[Ch] (updateIncludedTeXfiles):
7296 * converter.C (convert, scanLog):
7297 * converter.[Ch] (runLaTeX):
7298 * exporter.C (Export):
7299 * paragraph.[Ch] (simpleTeXOnePar):
7300 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7301 * paragraph_funcs.[Ch] (latexParagraphs):
7302 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7303 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7304 pass around a LatexRunParams parameter.
7306 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7308 * paragraph.[Ch]: remove unused constructor
7310 * ParagraphList.C (erase): new function, taking two iterators
7312 2003-05-22 André Pönitz <poenitz@gmx.net>
7314 * undo_funcs.C: remove duplicated code
7316 * iterator.[Ch]: operator=
7318 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7320 * tabular.C (SetMultiColumn): ws changes
7322 * rowpainter.C (paintFirst): get rid of a ->previous
7324 * lyx_cb.C (getPossibleLabel): parlist simplification
7326 * BufferView.C (ChangeInsets): simplify slightly.
7328 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7330 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7331 * lfuns.h: new LFUN_SPACE
7332 * lyxfunc.C: protected space has a new lfun
7333 * paragraph_funcs.C: read new space insets
7335 * factory.C: handle new space insets
7337 2003-05-22 André Pönitz <poenitz@gmx.net>
7340 * BufferView_pimpl.C:
7343 * undo_funcs.C: return a ParIterator from getParFromID.
7345 * iterators.[Ch]: add two const's
7347 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7349 * toc.C (getTocList): adjust
7351 * iterators.[Ch]: rework for parlist
7353 * buffer.C (par_iterator_begin): adjust
7354 (par_iterator_end): adjust
7356 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7358 * BufferView.C (removeAutoInsets): adjust
7359 (ChangeInsets): adjust
7361 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7363 * text.C (top_y): fix bug 1110
7365 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7367 * errorlist.[Ch]: added
7370 * BufferView_pimpl.C:
7371 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7374 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7376 * Makefile.am: ensure that lyx is relinked upon changes to the
7377 various "convenience" libs.
7379 2003-05-20 Angus Leeming <leeming@lyx.org>
7381 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7382 files are compiled in alphabetical order again.
7384 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7386 2003-05-19 Angus Leeming <leeming@lyx.org>
7388 * gettext.[Ch]: remove "char const * _(char const *)".
7390 2003-05-19 André Pönitz <poenitz@gmx.net>
7392 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7401 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7403 2003-05-19 André Pönitz <poenitz@gmx.net>
7407 * lyxtextclass.[Ch]:
7409 * paragraph_funcs.[Ch]:
7411 * text3.C: more insetenv work
7413 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7415 * ParagraphParameters.C (params2string): small bug fixed
7417 2003-05-16 André Pönitz <poenitz@gmx.net>
7420 * bufferview_funcs.C: patch from Kornel Benko to prevent
7421 crash when _(...) is called twice in a statement
7423 2003-05-16 André Pönitz <poenitz@gmx.net>
7430 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7432 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7434 * lyx_main.C (init): remove spurious static_cast
7436 2003-05-14 André Pönitz <poenitz@gmx.net>
7438 * BufferView.C: fix format string
7440 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7442 * BufferView.[Ch] (insertErrors): removed
7443 * BufferView.[Ch] (showErrorList): added
7444 * buffer.C (runChkTeX):
7445 * converter.C (scanLog): call showErrorList instead of inserterrors
7447 2003-05-13 André Pönitz <poenitz@gmx.net>
7449 * BufferView_pimpl.C:
7451 * bufferview_func.C:
7458 * tabular_funcs.h: tostr() from its own header
7460 * ParagraphParameters.C:
7465 * text3.C: STRCONV()
7467 2003-05-12 André Pönitz <poenitz@gmx.net>
7470 * BufferView_pimpl.C:
7474 * ParagraphParameters.C:
7478 * bufferview_funcs.C:
7491 * paragraph_funcs.C:
7495 * text3.C: boost::format -> bformat all over the place
7498 2003-05-09 André Pönitz <poenitz@gmx.net>
7500 * LColor.[Ch]: Pimpl the #include <map> away
7502 2003-05-09 John Levon <levon@movementarian.org>
7504 * bufferlist.C: never remove emergency saves
7506 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7508 * Makefile.am: better lib building
7510 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7512 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7514 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7515 (simpleTeXSpecialChars): adjust
7516 (simpleTeXSpecialChars): adjust
7517 * paragraph.C (simpleTeXOnePar): adjust
7518 * buffer.C (makeLaTeXFile): adjust
7520 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7522 * text2.C (changeDepth): parlist cleanup
7523 (getColumnNearX): ditto
7525 * rowpainter.C (getLabelFont): parlist cleanup
7527 * bufferlist.C (newFile): parlist cleanup
7529 * CutAndPaste.C (eraseSelection): parlist cleanup
7531 * BufferView_pimpl.C (trackChanges): parlist cleanup
7534 * BufferView.C (lockInset): parlist cleanup.
7535 (ChangeInsets): ditto
7537 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7539 * CutAndPaste.h: Update file header.
7541 * CutAndPaste.C: Update file header.
7542 Store the parts cut out of the Document in a limited_stack.
7543 (copySelection): adjust
7544 (pasteSelection): new function, takes the index in the limited stack.
7545 (nrOfParagraphs): adjust
7546 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7547 simplify error inset insertion.
7548 (checkPastePossible): adjust
7550 2003-05-06 John Levon <levon@movementarian.org>
7552 * text2.C: don't cast wrap inset to float
7554 2003-05-05 André Pönitz <poenitz@gmx.net>
7557 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7559 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7560 few naked Paragraph *.
7562 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7564 * bufferparams.C: Output warning if a document with missing
7565 TeX document class is loaded
7566 * exporter.C: Disable TeX exports if the document class is missing
7569 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7570 isTeXClassAvailable()
7572 2003-05-03 John Levon <levon@movementarian.org>
7575 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7576 explicit cursor show/hide
7578 * BufferView_pimpl.h:
7579 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7580 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7582 * lyxfunc.C: hide cursor before dispatching.
7587 * text3.C: remove explicit cursor hides
7589 2003-05-02 André Pönitz <poenitz@gmx.net>
7591 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7594 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7597 * text2.C: tiny whitespace
7599 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7601 * undo_funcs.C: almost only ws changes.
7603 * ParagraphList.C (splice): just return if pl is empty.
7605 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7607 * ParagraphList.C (splice): new function.
7609 * CutAndPaste.C (pasteSelection): use it
7611 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7613 * CutAndPaste.C (pasteSelection): remove the last next and
7614 previous from this file.
7616 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7618 * CutAndPaste.C (pasteSelection): more clean up, user proper
7619 ParagraphList functions for pasteing.
7621 * ParagraphList.C (insert): new function, three arg insert
7623 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7625 * ParagraphList.C (insert): new function, three arg insert
7627 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7630 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7632 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7634 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7636 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7638 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7640 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7641 (copySelection): clean up a bit.
7642 (pasteSelection): use make_pair
7644 * ParagraphList.C (ParagraphList): implement copy constructor
7645 (operator=): implement, base on copy constructor.
7648 * paragraph.C (erase): return a bool
7650 * paragraph_pimpl.C (erasePos): remove function, move contents...
7651 (erase): ... here. Return a bool.
7652 (erase): call erase instead of erasePos.
7654 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7656 * ParagraphList.h: define PitPosPair
7657 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7658 ParagraphList, fix a bug on pasting multiple pars
7659 * text2.C: change interface to C&P
7661 2003-04-30 André Pönitz <poenitz@gmx.net>
7663 * undo_func.C: revert part of yesterday's patch 2
7665 2003-04-30 John Levon <levon@movementarian.org>
7667 * LColor.C: s/tabular/table/
7669 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7671 * text3.C (dispatch): do not convert iterator -> pointer
7672 * undo_funcs.C (setCursorParUndo): ditto
7673 * text_funcs.C (transposeChars): ditto
7675 * text2.C (setLayout): ws changes only
7677 * text.C (breakParagraph): do not convert iterator -> pointer
7679 (acceptChange): ditto
7680 (rejectChange): ditto
7685 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7688 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7690 * text3.C (gotoInset): YABG (yet another bad getChar)
7692 2003-04-29 André Pönitz <poenitz@gmx.net>
7694 * paragraph.h: make operator= private unimplemented as long as
7697 * ParagraphList.C: whitespace
7700 * paragraph_pimpl.[Ch]:
7701 * paragraph_funcs.C:
7703 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7706 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7708 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7710 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7711 * paragraph.[Ch] (erase):
7712 * paragraph_pimpl.[Ch] (erase): change return type and value
7713 * text2.C (cutSelection): some rework
7715 2003-04-28 John Levon <levon@movementarian.org>
7717 * bufferlist.C: changes for unsaved changes dialog
7719 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7721 * bufferlist.C (newFile): set language (messages_) for new
7724 * buffer.C (readFile): ws changes only.
7726 2003-04-28 André Pönitz <poenitz@gmx.net>
7731 * BufferView_pimpl.C:
7732 * BufferView.C: getParFromID related ParagraphList::iterator changes
7734 2003-04-28 André Pönitz <poenitz@gmx.net>
7736 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7739 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7741 * messages.C: remove one more localedir class variable.
7743 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7745 * messages.C (getLocaleDir): singleton generation function
7747 (Messages): add a default constructor.
7749 * main.C (main): do not setup localedir here, do not call
7752 * gettext.C (_): use it.
7753 (gettext_init): delete funciton
7755 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7757 * gettext.C (getLyXMessages): new singleton generating function.
7759 * buffer.C (updateDocLang): adjust
7761 * Makefile.am (messages.o): add target
7762 (main.o): remove target
7764 2003-04-27 John Levon <levon@movementarian.org>
7769 * lyxvc.C: specify cancel button in Alert::prompt
7771 2003-04-26 John Levon <levon@movementarian.org>
7776 * LyXAction.C: add LFUN_INSET_SETTINGS
7778 * lyxfunc.C: don't enable tabular-feature when there's
7779 just any locking inset
7781 2003-04-26 John Levon <levon@movementarian.org>
7783 * bufferlist.C: re-add Cancel to buffer close question
7785 * lyxfunc.C: fix import UI a bit
7787 2003-04-25 John Levon <levon@movementarian.org>
7789 * gettext.C: remove the broken asserts for now
7791 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7793 * messages.C: make case where setlocale cannot comply work better.
7795 * buffer.C (updateDocLang): new function
7796 (changeLanguage): use it
7799 * text2.C (setCounter): use B_ a bit.
7801 * lyxlayout.C (Read): be sure to trim the label strings.
7803 * messages.C (Messages): fix typo in comment
7805 * buffer.C (readFile): set message_ after file is loaded.
7806 (makeDocBookFile): remove double return
7807 (changeLanguage): reset message_ upon language change.
7808 (B_): new func, use this to get translated buffer strings.
7810 * main.C: add myself and Jean Marc as authors.
7812 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7814 * messages.[hC]: pimplify Messages, and three different pimpls to be
7815 used in different circumstances.
7817 * gettext.[Ch]: change for use with new message code.
7819 2003-04-24 André Pönitz <poenitz@gmx.net>
7821 * factory.C: support for eqref
7823 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7825 * messages.[Ch]: add missing char
7827 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7829 * messages.[Ch]: New files
7831 2003-04-18 John Levon <levon@movementarian.org>
7835 * BufferView_pimpl.C:
7839 * text2.C: remove layout-copy/paste (bug 778)
7841 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7843 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7845 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7847 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7848 if they succeed. Act accordingly.
7850 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7852 * text2.C (setCharFont): adjust
7853 (setCounter): adjust
7854 (insertStringAsLines): adjust
7856 * text.C (leftMargin): adjust
7857 (setHeightOfRow): adjust
7859 * rowpainter.C (paintFirst): adjust
7862 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7864 (isFirstInSequence): ditto
7865 (getEndLabel): ditto
7868 * paragraph.C (getParLanguage): comment out some hard stuff.
7870 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7872 (simpleDocBookOnePar): ditto
7873 (makeDocBookFile): use ParagraphList::iterator
7875 * CutAndPaste.C (pasteSelection): adjust
7877 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7879 * text2.C (getFont): adjust
7880 (getLayoutFont): adjust
7881 (getLabelFont): adjust
7883 * paragraph_funcs.C (TeXOnePar): adjust
7885 * buffer.C (simpleLinuxDocOnePar): adjust
7886 (simpleDocBookOnePar): adjust
7888 * CutAndPaste.C (pasteSelection): adjust
7890 * BufferView.C (getEncoding): adjust
7892 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7894 2003-04-16 John Levon <levon@movementarian.org>
7896 * lyxfind.C: use parlist stuff for search/changes
7898 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7900 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7902 * text2.C (deleteEmptyParagraphMechanism): adjust
7904 * text2.[Ch] (ownerParagraph): delete func (both of them
7906 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7908 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7910 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7912 * ParagraphList.C: prepare for NO_NEXT
7914 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7916 * text2.C (getFont): adjust
7917 (getLayoutFont): adjust
7918 (getLabelFont): adjust
7920 * paragraph.C (getFont): adjust
7921 (getLabelFont): adjust
7922 (getLayoutFont): adjust
7924 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7926 2003-04-15 John Levon <levon@movementarian.org>
7930 * lyx_main.C: handle Include in .ui files
7932 2003-04-15 John Levon <levon@movementarian.org>
7934 * MenuBackend.C: make the doc files length shorter
7937 * ToolbarBackend.C: handle toolbar placement flags,
7940 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7942 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7945 * paragraph_funcs.C (TeXOnePar): adjust
7947 * paragraph.C (getLabelFont): add outerfont arg, adjust
7948 (getLayoutFont): ditto
7949 (simpleTeXOnePar): adjust
7951 * paragraph_pimpl.C (realizeFont): delete func
7953 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7955 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7956 row argument, constify cur argument.
7958 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7960 * text2.C (getFont): adjust
7961 (getLayoutFont): adjust
7962 (getLabelFont): adjust
7964 * paragraph_funcs.C (TeXOnePar): adjust
7965 (outerFont): new func...
7966 (realizeFont): ...moved out from here, changed this to facilitate
7969 * paragraph.C (getFont): take outerfont as arg, adjust
7970 (simpleTeXOnePar): add outerfont arg, adjust
7972 * buffer.C (simpleLinuxDocOnePar): adjust
7973 (simpleDocBookOnePar): adjust
7975 * CutAndPaste.C (pasteSelection): adjust
7977 * BufferView.C (getEncoding): adjust
7979 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7981 * text2.C (setCharFont): adjust
7982 (setCounter): adjust
7984 * text.C (leftMargin): adjust
7985 (setHeightOfRow): adjust
7987 * rowpainter.C (paintFirst): adjust
7990 * paragraph_pimpl.C (realizeFont): adjust
7992 * paragraph.C (isFirstInSequence): move from here...
7993 * paragraph_funcs.C (isFirstInSequence): ...to here
7995 * paragraph.C (outerHook): move from here...
7996 * paragraph_funcs.C (outerHook): ...to here
7998 * paragraph.C (depthHook): move from here...
7999 * paragraph_funcs.C (depthHook): ...to here
8001 * paragraph.C (getEndLabel): move from here...
8002 * paragraph_funcs.C (getEndLabel): ...to here
8004 * text2.C (realizeFont): move from here...
8005 * paragraph_funcs.C (realizeFont): ...to here
8007 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8009 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8011 2003-04-14 Angus Leeming <leeming@lyx.org>
8013 * LColor.[Ch]: scrap LColor mathcursor.
8015 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8017 * lyxlex.[Ch] (text): delete function
8018 * trans.C (Load): adjust
8019 * paragraph_funcs.C (readParToken): adjust
8021 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8023 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8024 vector<char> instead of a char[].
8026 * lyxlex_pimpl.C (getString): adjust
8028 (lex): use getString
8032 * lyxlex.C (text): use pimpl_->getString()
8036 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8038 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8039 (makeFontEntriesLayoutSpecific): temp var for par.size()
8040 (setLayout): temp var for ownerParagraphs().end()
8041 (fullRebreak): temp var for rows().end()
8042 (selectionAsString): temp var for boost::next(startpit), realize
8043 that the while really is a regular for loop.
8044 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8045 setCursor in one place.
8046 (setParagraph): temp vr for ownerParagraphs().end()
8047 (updateCounters): make the while loop a for loop
8048 (cutSelection): temp var for ownerParagraphs().end()
8049 (updateInset): make the do {} while() a regular for loop
8050 (getCursorX): use temp vars
8051 (setCurrentFont): use temp vars
8052 (getColumnNearX): use temp vars
8054 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8056 * text.C (transformChar): use temp var for getChar
8057 (computeBidiTables): use temp var for row->par()
8058 (fill): move temp vars for row->par() and pit->layout() earlier in
8060 (labelFill): use temp var for row->par()
8061 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8062 asc and desc, realize that pit never changes and that firstpit is
8063 just a duplicate and not needed. Exchange rit->par() with pit in a
8065 (breakAgain): use a temp var for boost::next(rit)
8066 (breakAgainOneRow): ditto
8067 (breakParagraph): use a temp var for rows().begin()
8068 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8069 (cursorRightOneWord): use temp var for cursor.par() and
8070 cursor.pos(), remove usage of tmpcursor.
8071 (cursorLeftOneWord): use temp var for cursor.par() and
8072 cursor.pos() only set cur at end of function.
8074 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8076 * text.C, text2.C: exchange all usage of Paragraph::next with
8077 boost::next(ParagraphList::iterator)
8079 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8081 * text2.C (cursorTop): simplify implementation
8082 (cursorBottom): ditto
8083 (setParagraph): use ParagraphList::iterator
8084 (setCurrentFont): adjust
8085 (getColumnNearX): adjust
8086 (cursorRight): adjust
8087 (cursorLeft): remove usage of Paragraph::previous
8088 (cursorUpParagraph): ditto
8089 (deleteEmptyParagraphMechanism): slight cleanup
8091 * text.C (isBoundary): take a Paragraph const & instead of a
8093 (addressBreakPoint): ditto
8094 (leftMargin): remove usage of Paragraph::previous.
8095 (setHeightOfRow): ditto
8096 (cursorLeftOneWord): ditto
8097 (selectNextWordToSpellcheck): ditto
8100 (breakParagraph): remove one usage of Paragraph::next
8101 (redoParagraph): ditto
8102 (acceptChange): ditto
8103 (insertChar): adjust
8104 (rowBreakPoint): adjust
8106 * bufferview_funcs.C (toggleAndShow): adjust
8108 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8110 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8111 methods to access it.
8113 * text.C: Added updateRowPositions to compute all row positions.
8114 Make top_y and getRowNearY() to use the cached y position
8116 2003-04-11 John Levon <levon@movementarian.org>
8118 * text.C (rowBreakPoint): reintroduce the labelEnd
8119 checks, code copied from the row fill stuff. Deep voodoo.
8121 * text.C (fill): add a comment and debugging for the
8124 2003-04-11 John Levon <levon@movementarian.org>
8126 * text.C: make sure fullrow insets get wrapped to the next line,
8127 even when they're in a manual label
8129 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8131 * text2.C (insertParagraph): make it take ParagraphList::iterator
8133 (setLayout): make it return ParagraphList::iterator
8134 (redoParagraphs): ditto
8136 (checkParagraph): ditto
8138 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8140 * text2.C: adjust several funcs.
8141 (realizeFont): take a ParagraphList::iterator as arg.
8142 (getLayoutFont): ditto
8143 (getLabelFont): ditto
8144 (setCharFont): ditto
8146 * text.C: adjust several funcs.
8148 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8150 * text.C (selectNextWordToSpellcheck): don't accidentally
8153 2003-04-10 John Levon <levon@movementarian.org>
8155 * ToolbarBackend.C (getIcon): special handling for
8158 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8160 * text2.C (cursorRight): a getChar assert fixed
8162 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8164 * text2.C (getFont): change to take a ParagraphList::iterator
8165 instead of Paragraph*
8166 Adjust several functions.
8168 * text.C (transformChar): change to take a ParagraphList::iterator
8169 instead of Paragraph*
8170 (singleWidth): ditto
8171 Adjust several functions.
8173 * rowpainter.C: adjust several functions
8174 * rowpainter.h:store a ParagraphList::iterator and not a
8178 2003-04-09 John Levon <levon@movementarian.org>
8183 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8184 and the "help" bits as well
8186 2003-04-09 John Levon <levon@movementarian.org>
8189 * ToolbarBackend.C: allow multiple toolbars
8191 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8193 * undo_funcs.C (setCursorParUndo): adjust
8195 * text_funcs.C (transposeChars): adjust
8197 * text3.C (gotoNextInset): adjust
8200 * text2.C (setLayout): adjust
8201 (changeDepth): adjust
8203 (redoParagraphs): adjust
8204 (selectionAsString): adjust
8205 (setParagraph): adjust
8206 (insertInset): adjust
8207 (cutSelection): adjust
8208 (copySelection): adjust
8209 (pasteSelection): adjust
8210 (insertStringAsLines): adjust
8211 (updateInset): adjust
8212 (setCursor): change to take a ParagraphList::iterator parameter
8213 (setCursorIntern): change to take a ParagraphList::iterator parameter
8214 (setCurrentFont): adjust
8215 (cursorLeft): adjust
8216 (cursorRight): adjust
8217 (deleteEmptyParagraphMechanism): adjust
8219 * text.C (breakParagraph): adjust
8220 (insertChar): adjust
8221 (acceptChange): adjust
8222 (rejectChange): adjust
8223 (selectNextWordToSpellcheck): adjust
8224 (changeCase): adjust
8228 * lyxfind.C (SearchForward): adjust
8229 (SearchBackward): adjust
8230 (nextChange): adjust
8232 * lyxcursor.C (par): adjust
8234 * lyxcursor.h: store a ParagraphList::iterator instead of a
8237 * lyx_cb.C (getPossibleLabel): adjust
8239 * bufferview_funcs.C (toggleAndShow): adjust
8241 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8244 * BufferView.C (removeAutoInsets): adjust
8245 (lockedInsetStoreUndo): adjust
8247 2003-04-09 John Levon <levon@movementarian.org>
8249 * ToolbarBackend.C: try icon without argument
8250 if with argument fails
8252 2003-04-08 John Levon <levon@movementarian.org>
8255 * ToolbarBackend.C: add getIcon(), handle tooltip,
8256 and change from "Icon" to "Item".
8258 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8260 * BufferView.C (lockInset): another bad getchar crunched
8262 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8264 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8267 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8269 * lyxfind.C (searchForward, searchBackwards): bug 782
8271 2003-04-07 John Levon <levon@movementarian.org>
8273 * paragraph.C: remove dead comment
8275 * text.C: remove troublesome depth-fiddling code
8276 in leftMargin() and rightMargin() (bug 1017)
8278 * text.C: fix breaking of rows in nested lists
8281 * text2.C (updateCounters): fix up depth values
8284 2003-04-07 John Levon <levon@movementarian.org>
8286 * BufferView_pimpl.C: clear message when doc finishes resizing,
8287 and after a mouse event
8289 * lyxfunc.C: clear message after exiting inset
8291 2003-04-07 John Levon <levon@movementarian.org>
8293 * bufferview_funcs.C: show math status not outside
8294 status in the statusbar
8296 2003-04-07 John Levon <levon@movementarian.org>
8298 * lyxfunc.C: note status changed after a depth change
8300 2003-04-04 Angus Leeming <leeming@lyx.org>
8302 * LaTeX.h: move AuxInfo operator==, != out of line.
8303 Remove LaTeX virtual destructor; nothing derives from it.
8304 Move operator()() out of public area and rename it startscript().
8305 Change protected for private.
8307 2003-04-04 Angus Leeming <leeming@lyx.org>
8310 * text2.C: remove unneeded #includes.
8312 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8314 * text2.C (dEPM): fix the heigth of the next row
8316 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8318 * text.C: squashed an invalid getChar requester + some ws changes
8320 2003-04-03 John Levon <levon@movementarian.org>
8322 * bufferview_funcs.h:
8323 * bufferview_funcs.C:
8326 * text2.C: make getStatus work for the env depth lfuns
8328 2003-04-03 John Levon <levon@movementarian.org>
8330 * bufferview_funcs.h:
8331 * bufferview_funcs.C:
8334 * text2.C: parlistize decDepth(), by merging it with incDepth()
8336 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8338 * lyxrow.h: store a ParagraphList::iterator instead of a
8339 Paragraph* and adjust other class functions to suit.
8341 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8344 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8346 * text2.C (setCursor): do not anchor to cursor row for the time being
8348 2003-04-02 John Levon <levon@movementarian.org>
8355 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8357 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8359 * paragraph.h: make ParagraphList and ParagraphList::iterator
8360 friends of Paragraph.
8362 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8364 * ParagraphList.C: Use the private next_ and previous_ from
8367 2003-04-01 John Levon <levon@movementarian.org>
8371 * Makefile.am: rename, remove defaults gunk
8374 * MenuBackend.C: remove defaults gunk
8377 * Languages.C: remove defaults gunk
8380 * lyx_main.C: error out if files couldn't be found.
8382 2003-04-02 John Levon <levon@movementarian.org>
8384 * text2.C: make incDepth() use parlist
8386 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8388 * undo_funcs.C (firstUndoParagraph): adjust
8390 * text3.C (gotoInset): adjust
8391 (dispatch): adjust, and rewrite loop.
8393 * text2.C (init): adjust, and rewrite loop.
8394 (redoParagraphs): adjust
8395 (updateInset): adjust, and rewrite loop.
8396 (deleteEmptyParagraphMechanism): adjust
8398 * tabular.C (LyXTabular): adjust
8399 (SetMultiColumn): adjust
8402 * lyxtext.[Ch] (ownerParagraph): delete function
8403 (ownerParagraphs): new function returns a ParagraphList.
8405 * BufferView.C (removeAutoInsets): adjust
8406 (insertErrors): adjust
8407 (setCursorFromRow): adjust
8409 2003-04-01 Angus Leeming <leeming@lyx.org>
8411 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8414 2003-04-02 John Levon <levon@movementarian.org>
8420 * text_funcs.C: make transposeChars a free function
8422 * lyxrow_funcs.C: remove wrong comment
8424 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8427 * rowpainter.C: adjust
8432 * lyxrow_funcs. [Ch]: new files
8434 * lyxrow.[Ch]: remove next and previous pointers
8435 (next,previous): remove accessor functions
8436 (isParEnd): move to lyxrow_funcs
8437 (lastPos): move to lyxrow_funcs
8438 (nextRowIsAllInset): move to lyxrow_funcs
8439 (lastPrintablePos): move to lyxrow_funcs
8440 (numberOfSeparators): move to lyxrow_funcs
8441 (numberOfHfills): move to lyxrow_funcs
8442 (numberOfLabelHfills): move to lyxrow_funcs
8443 (hfillExpansion): move to lyxrow_funcs
8447 * bufferview_funcs.C (toggleAndShow): adjust
8449 * RowList.h: Remove class RowList from file leave just a
8452 * RowList.C: delete file
8454 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8457 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8459 * text3.C (cursorPrevious): adjust
8460 (cursorNext): adjust
8463 * text2.C (redoHeightOfParagraph): adjust
8464 (redoDrawingOfParagraph): adjust
8467 * text.C (breakParagraph): adjust
8468 (insertChar): adjust
8471 * rowpainter.C (RowPainter): adjust
8472 (leftMargin): simplify and adjust
8473 (most rowpainter functions): adjust.
8475 * rowpainter.h: store the row as RowList::iterator not as Row*
8477 * lyxcursor.C (row): taka RowList::iterator as arg
8480 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8483 2003-04-01 Angus Leeming <leeming@lyx.org>
8485 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8486 stuff like bool Bool.
8488 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8490 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8493 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8495 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8498 * lyxtext.h (rows): drop one version and leve a const variant that
8499 returns a RowList::iterator.
8501 2003-03-31 Angus Leeming <leeming@lyx.org>
8503 * text.C (fill): ensure that the signature is the same as that in the
8506 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8508 * text2.C (redoParagraphs): adjust
8509 (updateCounters): adjust
8510 (checkParagraph): adjust
8511 (getColumnNearX): adjust and reformat a bit.
8513 * text.C (top_y): adjust
8515 (leftMargin): adjust
8516 (prepareToPrint): adjust
8518 (getRowNearY): adjust
8520 * lyxtext.h: make rowlist_ mutable.
8522 * RowList.h: add const_iterator
8523 * RowList.C: adjust for RowList::const_iterator.
8525 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8528 2003-03-31 John Levon <levon@movementarian.org>
8531 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8533 * lyx_main.C: set default fonts from using lyx_gui funcs
8535 * exporter.C: pdf_mode moved from lyxrc
8538 * lyxfunc.C: changes from above
8540 2003-03-31 John Levon <levon@movementarian.org>
8542 * lyx_main.C: fix to the last fix
8544 2003-03-31 John Levon <levon@movementarian.org>
8546 * bufferlist.C: "Load original" -> "Load Original"
8552 * format.C: more Alert cleanups
8554 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8556 * text2.C (removeParagraph): make it take a RowList::iterator as
8558 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8559 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8561 * text.C (anchor_row): make it take a RowList::iterator as arg,
8563 (computeBidiTables): make it take a const reference to Row instead
8564 of Row pointer, adjust.
8565 (leftMargin): make it take a RowList::iterator as arg, adjust.
8566 (rowBreakPoint): adjust
8567 (breakAgainOneRow): make it take a RowList::iterator as arg,
8569 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8571 * bufferview_funcs.C (toggleAndShow): adjust
8573 2003-03-30 John Levon <levon@movementarian.org>
8577 * boost-inst.C: moved to support
8579 * several files: changes as a result
8581 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8583 * text2.C (LyXText): adjust.
8585 (removeRow): make it take a RowList::iterator as arg, adjust.
8586 (fullRebreak): adjust
8587 (deleteEmptyParagraphMechanism): adjust
8588 (clearPaint): adjust
8591 * text.C (top_y): adjust
8592 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8593 (breakAgain): make it take a RowList::iterator as arg, adjust.
8594 (breakParagraph): adjust
8595 (insertChar): adjust
8598 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8599 need_break_row, and refresh_row.
8601 * text3.C (dispatch): adjust
8603 * text2.C (checkParagraph): adjust
8605 (setCursorFromCoordinates): adjust
8607 * text.C (top_y): adjust
8609 (getRow): make it return a RowList::iterator, adjust
8610 (getRowNearY): make it return a RowList::iterator, adjust
8612 * text2.C (init): adjust
8613 (insertRow): remove function
8614 (insertParagraph): adjust
8615 (redoParagraphs): adjust
8616 (fullRebreak): adjust
8617 (updateCounters): adjust
8619 * text.C (top_y): rewrite to use RowList iterators.
8621 (setHeightOfRow): rewrite to sue RowList iterators.
8622 (appendParagraph): adjust
8623 (breakAgain): adjust
8624 (breakAgainOneRow): adjust
8625 (breakParagraph): adjust
8627 (getRowNearY): adjust, and remove commented code.
8629 * lyxtext.h (firstRow): delete function
8630 (lastRow): delete function
8631 (rows): new function (const and non-const versions.)
8632 (insertRow): delete function
8634 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8636 2003-03-29 John Levon <levon@movementarian.org>
8638 * BufferView_pimpl.C: always update scrollbar top
8639 because pasting text when we're anchored could mean we
8640 miss an update altogether
8642 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8644 * text2.C (init): use rowlist_.end() and not 0.
8645 (insertRow): change to take a RowList::iterator as arg, adjust
8647 (insertParagraph): change to take a RowList::iterator as arg,
8649 (redoParagraphs): remove some debug msgs.
8651 * text.C (appendParagraph): change to take a RowList::iterator
8652 arg, adjust for this.
8653 (breakAgain): add an assert
8654 (breakAgainOneRow): ditto
8656 2003-03-29 John Levon <levon@movementarian.org>
8658 * text2.C: do not clear selection after inc/decDepth
8661 2003-03-29 John Levon <levon@movementarian.org>
8664 * buffer.C: fix broken strerrors according to Lars
8666 2003-03-29 John Levon <levon@movementarian.org>
8668 * converters.C: more Alert cleanups
8670 2003-03-29 John Levon <levon@movementarian.org>
8672 * bufferview_funcs.C: remove pointless Alert
8674 * buffer.C: fix confusing error message when
8675 a template is chmoded 000
8677 2003-03-29 John Levon <levon@movementarian.org>
8681 * BufferView_pimpl.C: Alert fixes
8685 * tabular-old.C: remove unused table compat reading
8687 2003-03-29 John Levon <levon@movementarian.org>
8692 * lyx_cb.C: more Alert cleanups
8694 * lyxfunc.C: don't allow chktex if not latex document
8696 2003-03-29 John Levon <levon@movementarian.org>
8700 * buffer.C: warnings pushed down from support/,
8703 2003-03-29 John Levon <levon@movementarian.org>
8705 * lyxfunc.C: safety check for C-r (revert)
8707 2003-03-29 John Levon <levon@movementarian.org>
8710 * bufferlist.C: several UI fixes using Alert::prompt.
8711 Fix the pointless looping quit code. Fix stupid revert
8716 * lyx_cb.C: use Alert::prompt
8718 * lyx_main.C: remove a silly question
8720 * lyxfunc.C: remove a couple of silly questions,
8723 2003-03-28 John Levon <levon@movementarian.org>
8725 * text2.C: fix bug 974 (End on empty par)
8727 2003-03-28 John Levon <levon@movementarian.org>
8729 * BufferView_pimpl.C:
8731 * lfuns.h: remove do-nothing math greek lfuns
8733 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8735 * lyxgluelength.h (isValidGlueLength): add default arg on
8736 parameter 2. Remove default arg from friend in class.
8738 * lyxlength.h (isValidLength): add default arg on parameter 2.
8739 Remove default arg from friend in class.
8741 * text2.C (LyXText): adjust, initialize refresh_row.
8745 (insertParagraph): adjst
8746 (redoParagraphs): adjust
8747 (fullRebreak): adjust
8748 (updateCounters): adjust
8749 (deleteEmptyParagraphMechanism): first attempt at fixing a
8752 * text.C (top_y): adjust
8753 (setHeightOfRow): adjust
8755 (getRowNearY): adjust
8757 * lyxtext.h: include RowList.h
8758 (~LyXText): not needed anymore, deleted.
8759 (firstRow): modify for RowList
8760 (lastRow): new function
8761 Delete firstrow and lastrow class variables, add a Rowlist
8762 rowlist_ class variable.
8764 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8767 * RowList.C (insert): fix case where it == begin().
8769 2003-03-26 Angus Leeming <leeming@lyx.org>
8771 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8772 the thesaurus dialog.
8774 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8776 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8778 * RowList.[Ch]: new files
8780 * ParagraphList.C (erase): handle the case where it == begin
8783 2003-03-25 John Levon <levon@movementarian.org>
8787 * aspell.C: add new aspell support
8790 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8793 2003-03-25 Angus Leeming <leeming@lyx.org>
8796 * LyXAction.C (init): new LFUN_INSET_INSERT.
8798 * BufferView_pimpl.C (dispatch): split out part of the
8799 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8801 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8804 2003-03-25 Angus Leeming <leeming@lyx.org>
8806 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8808 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8811 * text3.C: remove useless row->height(0)
8813 2003-03-25 John Levon <levon@movementarian.org>
8817 * text3.C: rename the refreshing stuff to better names
8819 2003-03-24 John Levon <levon@movementarian.org>
8821 * BufferView_pimpl.h:
8822 * BufferView_pimpl.C: update layout choice on a mouse
8825 2003-03-23 John Levon <levon@movementarian.org>
8827 * Makefile.am: fix commandtags.h reference
8829 2003-03-22 John Levon <levon@movementarian.org>
8831 * BufferView_pimpl.C:
8836 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8838 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8841 * text.C: take the rtl methods out of line
8843 2003-03-21 André Pönitz <poenitz@gmx.net>
8845 * metricsinfo.[Ch]: new files containing structures to be passed around
8846 during the two-phase-drawing...
8848 2003-03-21 André Pönitz <poenitz@gmx.net>
8850 * lyxtextclass.C: read 'environment' tag.
8852 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8854 * text2.C (removeRow): fix bug 964
8856 2003-03-20 John Levon <levon@movementarian.org>
8860 * text2.C: paint cleanups. Inset::update() dropped font
8863 2003-03-19 John Levon <levon@movementarian.org>
8865 * lyxfunc.C: only fitcursor/markDirty if available()
8867 2003-03-19 John Levon <levon@movementarian.org>
8869 * commandtags.h: rename to ...
8871 * lfuns.h: ... this, and renumber / cleanup
8873 2003-03-19 John Levon <levon@movementarian.org>
8875 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8876 fit the cursor after an lfun
8880 * BufferView_pimpl.h:
8881 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8883 * LyXAction.C: layout-character should have ReadOnly
8885 * ParagraphParameters.C:
8887 * bufferview_funcs.C:
8894 * undo_funcs.C: changes from above
8896 2003-03-18 John Levon <levon@movementarian.org>
8898 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8899 remove it from update()
8901 * lyxfunc.C: update layout choice after an lfun
8903 * text3.C: remove extra updateLayoutChoice()s
8905 2003-03-18 John Levon <levon@movementarian.org>
8907 * text.C: top_y change means full repaint, fix
8908 a drawing bug with cursor movement
8910 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8914 * text2.C: anchor row on setCursor
8916 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8918 * lyxtext.h: remove almost all mutable keywords
8921 * text3.C: remove const keywords accordingly
8923 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8925 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8927 (TeXEnvironment): ditto
8930 2003-03-17 John Levon <levon@movementarian.org>
8932 * text.C (rowBreakPoint): remove attempt to fix displayed
8933 math insets inside a manual label
8935 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8937 * lyxtext.h: remove BufferView* as first arg from almost all class
8939 * other files: adjust.
8941 2003-03-17 John Levon <levon@movementarian.org>
8945 * text2.C: more paint cleanups
8947 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8950 * rowpainter.C: remove "smart" background painting code
8952 2003-03-16 John Levon <levon@movementarian.org>
8957 * text3.C: add helper functions for setting refresh_row/y
8959 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8961 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8962 newline inset which *can* get inserted in the pass_thru layouts.
8963 This is primarily for literate documents.
8965 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8967 * buffer.C: increment LYX_FORMAT to 223
8969 2003-03-14 André Pönitz <poenitz@gmx.net>
8971 * textclass.h: prepare for environment handling, ws changes
8972 * lyxlayout.C: read latexheader and latexfooter tags
8974 2003-03-14 John Levon <levon@movementarian.org>
8976 * text2.C: rewrite ::status() a bit
8978 2003-03-13 John Levon <levon@movementarian.org>
8980 * lyxtext.h: add some docs
8982 2003-03-13 John Levon <levon@movementarian.org>
8987 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8989 2003-03-13 John Levon <levon@movementarian.org>
8991 * text3.C: fix appendix redrawing
8993 2003-03-13 John Levon <levon@movementarian.org>
8995 * text.C (setHeightOfRow):
8997 * rowpainter.C: make appendix mark have the text
8998 "Appendix" so the user knows what it is
9001 * LColor.C: s/appendixline/appendix/ from above
9003 2003-03-13 John Levon <levon@movementarian.org>
9005 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9007 * text.C: fix a getChar(pos) bug properly
9009 2003-03-13 Angus Leeming <leeming@lyx.org>
9012 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9013 Probably only temporary. Let's see how things pan out.
9015 * BufferView.C (unlockInset):
9016 * BufferView_pimpl.C (fitCursor):
9017 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9019 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9020 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9022 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9023 new functions that convert ParagraphParameters to and from a string.
9025 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9026 BufferView::Pimpl's dispatch.
9027 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9029 2003-03-13 André Pönitz <poenitz@gmx.net>
9033 * factory.C: make it aware of InsetEnv
9035 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9037 * text2.C (setCursor): never ask for one past last
9038 (setCursor): add some debugging messages.
9040 * text.C (singleWidth): never ask for one past last
9041 (singleWidth): ditto
9043 (rightMargin): ditto
9044 (rowBreakPoint): ditto
9045 (setHeightOfRow): ditto
9046 (prepareToPrint): ditto
9048 * rowpainter.C (paintBackground): never ask for one past last
9049 (paintText): never ask for one past last
9051 * paragraph_pimpl.C (getChar): make the assert stricter, never
9052 allow the one past last pos to be taken
9054 * paragraph.C (getChar): ws changes only
9056 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9057 (numberOfSeparators): ditto
9058 (numberOfHfills): ditto
9060 2003-03-12 John Levon <levon@movementarian.org>
9066 * paragraph_funcs.C: fix per-buffer authorlists
9068 2003-03-12 John Levon <levon@movementarian.org>
9070 * text.C: fix newline in right address
9072 2003-03-12 Angus Leeming <leeming@lyx.org>
9074 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9075 duplicate those in LyXFunc::dispatch.
9079 * ToolbarDefaults.C:
9080 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9081 Add LFUN_FONTFREE_UPDATE.
9083 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9084 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9086 * bufferview_func.[Ch]: several new functions to facilliate
9087 transfer of data to and from the character dialog.
9089 2003-03-12 John Levon <levon@movementarian.org>
9094 * paragraph_funcs.C:
9095 * paragraph_pimpl.C:
9099 * text3.C: remove META_NEWLINE in favour of an inset
9102 * rowpainter.C: remove paintNewline (done by inset)
9104 2003-03-12 John Levon <levon@movementarian.org>
9106 * paragraph_pimpl.C: complain about bad getChar()s
9107 for a while at least
9109 2003-03-12 John Levon <levon@movementarian.org>
9112 * buffer.C: move paragraph read into a separate function,
9113 a little renaming to reflect that.
9116 * bufferparams.C: remove the author_ids map, not necessary now
9119 * factory.C: moved Buffer::readInset to here
9121 * paragraph_funcs.h:
9122 * paragraph_funcs.C: readParagraph free function moved from
9125 * tabular.C: name change
9127 2003-03-12 John Levon <levon@movementarian.org>
9130 * ParagraphParameters.C: move par params input to
9133 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9134 behave like a normal read from the stream wrt reading
9135 a line vs. a \\token
9137 2003-03-12 John Levon <levon@movementarian.org>
9140 * ParagraphParameters.h:
9141 * ParagraphParameters.C: move output code to a
9144 2003-03-12 John Levon <levon@movementarian.org>
9146 * BufferView.C (insertLyXFile):
9149 * tabular.C: use a parlist iterator for creating the
9152 2003-03-12 John Levon <levon@movementarian.org>
9154 * buffer.C: make current_change static local not
9157 2003-03-12 John Levon <levon@movementarian.org>
9159 * buffer.C: fix insertStringAsLines for change tracking
9161 2003-03-12 John Levon <levon@movementarian.org>
9168 * bufferparams.C: move author list into params. Rename some
9169 functions. Move the header reading into a separate token
9170 loop. Move the header token reading into BufferParams.
9172 2003-03-12 John Levon <levon@movementarian.org>
9174 * changes.C: put debug inside lyxerr.debugging() checks
9176 2003-03-11 André Pönitz <poenitz@gmx.net>
9178 * factory.C: make it aware of InsetHFill
9180 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9182 * buffer.C (latexParagraphs): move function from here...
9183 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9186 2003-03-10 Angus Leeming <leeming@lyx.org>
9188 * LyXAction.C (init): fix bug in poplating array with multiple entries
9189 with the same LFUN (spotted by JMarc).
9191 2003-03-10 John Levon <levon@movementarian.org>
9194 * text2.C: move getColumnNearX() near its
9197 2003-03-10 John Levon <levon@movementarian.org>
9199 * text.C: fix break before a minipage
9201 2003-03-10 John Levon <levon@movementarian.org>
9203 * text.C: fix the last commit
9205 2003-03-09 John Levon <levon@movementarian.org>
9209 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9210 bug 365 (don't break before insets unless needed). Don't
9211 return a value > last under any circumstances.
9213 2003-03-09 Angus Leeming <leeming@lyx.org>
9215 * BufferView_pimpl.C (trackChanges, dispatch): call
9216 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9218 2003-03-09 Angus Leeming <leeming@lyx.org>
9220 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9221 than Dialogs::showAboutlyx().
9223 2003-03-09 Angus Leeming <leeming@lyx.org>
9225 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9226 than Dialogs::showTabularCreate().
9228 2003-03-09 John Levon <levon@movementarian.org>
9232 * text2.C: 3rd arg to nextBreakPoint was always the same.
9235 2003-03-08 John Levon <levon@movementarian.org>
9242 * text2.C: Remove the "main" bit from the "main body"
9245 2003-03-08 John Levon <levon@movementarian.org>
9247 * text.C (leftMargin): The left margin of an empty
9248 manual label paragraph should not include the label width
9251 * text.C (prepareToPrint): don't attempt to measure hfills
9252 for empty manual label paragraphs - the answer should be 0
9254 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9256 * CutAndPaste.C: remove commented code and reindent.
9258 2003-03-08 John Levon <levon@movementarian.org>
9261 * lyxfunc.C: move reloadBuffer()
9264 * BufferView.C: to here
9266 * lyxvc.C: add comment
9269 * vc-backend.C: call bv->reload() to avoid
9270 getStatus() check on MENURELOAD
9272 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9274 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9275 to an old format .dep file.
9277 2003-03-07 Angus Leeming <leeming@lyx.org>
9279 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9280 when the LFUN_MOUSE_RELEASE should have been handled by
9281 inset->localDispatch.
9283 2003-03-07 Angus Leeming <leeming@lyx.org>
9285 * BufferView_pimpl.C (dispatch):
9286 * LyXAction.C (init):
9287 * ToolbarDefaults.C (init):
9289 * lyxfunc.C (getStatus):
9290 remove LFUN_INSET_GRAPHICS.
9292 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9294 2003-03-07 Angus Leeming <leeming@lyx.org>
9297 * LyXAction.C (init):
9298 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9300 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9303 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9305 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9306 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9308 2003-03-07 Angus Leeming <leeming@lyx.org>
9310 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9313 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9315 * ParagraphList.C (front): new function
9318 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9320 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9321 and top_row_offset_. removed var first_y.
9323 * text2.C (LyXText, removeRow):
9325 * BufferView_pimpl.C:
9326 use these methods instead of using first_y
9328 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9330 * text2.C (pasteSelection): adjust for checkPastePossible
9332 * CutAndPaste.C: remove Paragraph * buf and replace with
9333 ParagraphList paragraphs.
9334 (DeleteBuffer): delete
9335 (cutSelection): change the tc type to textclass_type
9336 (copySelection): change the tc type to textclass_type
9337 (copySelection): adjust for ParagraphList
9338 (pasteSelection): change the tc type to textclass_type
9339 (pasteSelection): adjust for Paragraphlist
9340 (nrOfParagraphs): simplify for ParagraphList
9341 (checkPastePossible): simplify for ParagraphList
9342 (checkPastePossible): remove unused arg
9344 * ParagraphList.C (insert): handle the case where there are no
9347 * CutAndPaste.h: make CutAndPaste a namespace.
9349 * text3.C (dispatch): adjust
9351 * text.C (breakParagraph): add a ParagraphList as arg
9353 * paragraph_funcs.C (breakParagraph): change to take a
9354 BufferParams and a ParagraphList as args.
9355 (breakParagraphConservative): ditto
9356 (mergeParagraph): ditto
9357 (TeXDeeper): add a ParagraphList arg
9358 (TeXEnvironment): ditto
9361 * buffer.C (readLyXformat2): adjust
9362 (insertStringAsLines): adjust
9363 (latexParagraphs): adjust
9365 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9366 (cutSelection): adjust
9367 (pasteSelection): adjust
9369 * BufferView_pimpl.C (insertInset): adjust
9371 2003-03-05 Angus Leeming <leeming@lyx.org>
9374 * LyXAction.C (init):
9375 * BufferView_pimpl.C (dispatch):
9376 * lyxfunc.C (getStatus):
9377 remove LFUN_CHILD_INSERT.
9379 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9381 2003-03-05 Angus Leeming <leeming@lyx.org>
9384 * LyXAction.C (init):
9385 * src/factory.C (createInset):
9386 * lyxfunc.C (getStatus):
9387 * text3.C (dispatch):
9388 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9390 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9392 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9394 * ParagraphList.C (insert): handle insert right before end()
9395 (erase): fix cases where it can be first or last paragraph.
9397 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9399 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9400 Paragraph::next and Paragraph::previous
9403 * text.C (breakParagraph): adjust
9405 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9406 BufferParams& as arg.
9407 (breakParagraph): use ParagraphList::insert
9408 (breakParagraphConservative): take a Buffer* instead of a
9409 BufferParams& as arg.
9410 (breakParagraphConservative): use ParagraphList::insert.
9412 * buffer.C (insertStringAsLines): un-const it
9413 (insertStringAsLines): adjust
9415 * ParagraphList.C (insert): new function
9417 * CutAndPaste.C (pasteSelection): adjust
9419 * text.C (backspace): adjust
9421 * tabular.C (SetMultiColumn): adjust
9423 * CutAndPaste.C (cutSelection): adjust
9424 (pasteSelection): adjust
9426 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9427 Buffer const * as arg
9429 * ParagraphList.C (erase): new function
9430 * paragraph_funcs.C (mergeParagraph): use it
9431 (mergeParagraph): make it take a Buffer* instead of a
9432 BufferParams* as arg
9434 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9436 (breakParagraphConservative): ditto
9438 * paragraph.h: remove the breakParagraph friend
9440 * paragraph.C (eraseIntern): new function
9441 (setChange): new function
9443 * paragraph_funcs.C (mergeParagraph): make it take a
9444 ParagraphList::iterator instead of a Paragraph *, adjust
9447 * paragraph.h: move an #endif so that the change tracking stuff
9448 also works in the NO_NEXT case.
9450 2003-03-04 Angus Leeming <leeming@lyx.org>
9453 * LyXAction.C: new LFUN_INSET_MODIFY.
9455 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9456 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9458 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9460 * several files: ws changes only
9462 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9463 (TeXEnvironment): ditto
9466 * buffer.C (makeLaTeXFile): adjust
9467 (latexParagraphs): make it take ParagraphList::iterator as args
9469 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9471 * buffer.C (latexParagraphs): adjust
9473 * paragraph.C (TeXOnePar): move function...
9474 (optArgInset): move function...
9475 (TeXEnvironment): move function...
9476 * paragraph_pimpl.C (TeXDeeper): move function...
9477 * paragraph_funcs.C: ...here
9479 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9481 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9483 * buffer.C (readInset): remove compability code for old Figure and
9486 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9488 * buffer.C: ws changes
9491 * BufferView_pimpl.C: ditto
9494 * bufferlist.h: ditto
9498 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9500 * converter.[Ch]: split into itself +
9503 * Makefile.am: += graph.[Ch] + format.[Ch]
9510 * lyxrc.C: added #include "format.h"
9512 2003-02-27 Angus Leeming <leeming@lyx.org>
9514 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9517 * factory.C (createInset): add "label" to the factory.
9519 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9520 string and do no more.
9522 2003-02-27 Angus Leeming <leeming@lyx.org>
9525 * LyXAction.C (init):
9526 * factory.C (createInset):
9527 * BufferView_pimpl.C (dispatch):
9528 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9530 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9532 * lyxfunc.C (dispatch):
9533 * text3.C (dispatch): pass name to params2string.
9535 2003-02-26 Angus Leeming <leeming@lyx.org>
9537 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9539 Rearrange the ~includes. Strip out the unnecessary ones.
9541 * factory.C (createInset): reformat.
9542 create new insets for the various LFUN_XYZ_APPLY lfuns.
9544 2003-02-26 John Levon <levon@movementarian.org>
9547 * lyxrow.C: add isParStart,isParEnd helpers
9549 * paragraph.h: make isInserted/DeletedText take refs
9551 * paragraph_funcs.h:
9552 * paragraph_funcs.C: remove #if 0'd code
9557 * text.C: use lyxrow helpers above.
9558 Move draw and paint routines to RowPainter.
9559 Make several methods use refs not pointers.
9560 Make backgroundColor() const.
9561 Add markChangeInDraw(), isInInset().
9562 Merge changeRegionCase into changeCase.
9563 Make workWidth() shouldn't-happen code into an Assert.
9566 * rowpainter.C: new class for painting a row.
9569 * vspace.C: make inPixels take a ref
9571 2003-02-26 Angus Leeming <leeming@lyx.org>
9573 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9576 2003-02-25 John Levon <levon@movementarian.org>
9578 * ispell.C: give the forked command a more accurate name
9580 2003-02-22 John Levon <levon@movementarian.org>
9583 * toc.C: make TocItem store an id not a Paragraph *
9586 2003-02-21 Angus Leeming <leeming@lyx.org>
9588 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9589 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9590 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9591 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9592 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9593 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9595 * BufferView_pimpl.C (dispatch):
9596 * LyXAction.C (init):
9597 * factory.C (createInset):
9598 * lyxfunc.C (getStatus, dispatch):
9599 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9601 2003-02-21 Angus Leeming <leeming@lyx.org>
9603 * BufferView_pimpl.C (MenuInsertLyXFile):
9604 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9605 * lyxfunc.C (menuNew, open, doImport):
9606 no longer pass a LyXView & to fileDlg.
9608 2003-02-21 Angus Leeming <leeming@lyx.org>
9610 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9611 * LyXAction.C: change, BIBKEY to BIBITEM.
9612 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9613 Change InsetBibKey to InsetBibitem.
9614 Change BIBKEY_CODE to BIBITEM_CODE.
9615 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9616 * factory.C: replace insetbib.h with insetbibitem.h.
9617 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9618 * paragraph.C: replace insetbib.h with insetbibitem.h.
9619 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9620 Change bibkey() to bibitem().
9621 * text.C: remove insetbib.h.
9622 * text2.C: replace insetbib.h with insetbibitem.h.
9623 change bibkey() to bibitem().
9624 * text3.C: remove insetbib.h.
9625 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9627 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9629 * lyxrc.C (output): enclose user email in quotes (in case there are
9632 2003-02-18 John Levon <levon@movementarian.org>
9634 * buffer.h: add std::
9636 2003-02-17 John Levon <levon@movementarian.org>
9642 * pspell.C: reworking. Especially in ispell, a large
9643 number of clean ups and bug fixes.
9645 * lyxfunc.C: fix revert to behave sensibly
9647 2003-02-17 André Pönitz <poenitz@gmx.net>
9650 * commandtags.h: new LFUN_INSERT_BIBKEY
9660 * paragraph_func.C: remove special bibkey handling
9662 2003-02-17 John Levon <levon@movementarian.org>
9664 * text.C (Delete): fix case where delete at the end of
9665 the very first paragraph would not merge the pars
9667 2003-02-17 John Levon <levon@movementarian.org>
9669 * lyxrow.C: fix lastPrintablePos()
9671 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9673 * bufferparams.C (writeLaTeX): add a std:here
9675 * buffer.C: and remove a using directive there
9677 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9679 * buffer.C (makeLaTeXFile): move the code that generates the
9682 * bufferparams.C (writeLaTeX): ... in this new method
9684 * LaTeXFeatures.C (getEncodingSet): make const
9685 (getLanguages): make const
9687 * MenuBackend.C (binding): returns the binding associated to this
9689 (add): sets the status of each item by calling getStatus. Adds
9691 (read): add support for OptSubMenu
9692 (expand): remove extra separator at the end of expanded menu
9694 2003-02-15 John Levon <levon@movementarian.org>
9697 * BufferView_pimpl.C:
9699 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9700 inset code that had no actual effect. Remove unneeded status
9703 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9705 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9708 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9710 * text.C (drawLengthMarker): also draw an arrow marker for
9711 symbolic lengths (medskip...)
9713 2003-02-14 John Levon <levon@movementarian.org>
9716 * tabular.C: better method names
9718 2003-02-14 John Levon <levon@movementarian.org>
9720 * BufferView_pimpl.C:
9725 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9726 it's a more accurate name. Remove some pointless uses.
9728 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9730 * text2.C (LyXText): change order of initilizers to shut off
9733 2003-02-14 John Levon <levon@movementarian.org>
9735 * buffer.C: use ParIterator for getParFromID()
9739 * paragraph_pimpl.h:
9740 * paragraph_pimpl.C: remove unused getParFromID()
9742 2003-02-14 John Levon <levon@movementarian.org>
9744 * buffer.C: remove some very old #if 0'd parse code
9746 2003-02-13 John Levon <levon@movementarian.org>
9750 * text2.C: move hfillExpansion(), numberOfSeparators(),
9751 rowLast(), rowLastPrintable(), numberofHfills(),
9752 numberOfLabelHfills() ...
9755 * lyxrow.C: ... to member functions here.
9760 * text.C: remove LyXText::beginningOfMainBody(), and call
9761 p->beginningOfMainBody() directly. Move the check for
9762 LABEL_MANUAL into the latter.
9769 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9775 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9776 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9778 2003-02-13 John Levon <levon@movementarian.org>
9780 * CutAndPaste.C: remove debug
9782 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9784 * paragraph.C (asString): remove two unused variables
9786 * lyxtextclass.C (readTitleType):
9788 (LyXTextClass): handle new members titletype_ and titlename_
9790 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9792 2003-02-09 John Levon <levon@movementarian.org>
9795 * buffer.C: replace hand-coded list with a map for the dep clean
9797 2003-02-08 John Levon <levon@movementarian.org>
9799 * LaTeX.C: consolidate code into showRunMessage() helper
9801 2003-02-08 John Levon <levon@movementarian.org>
9806 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9807 and pass the size in explicitly
9809 * BufferView_pimpl.h:
9810 * BufferView_pimpl.C:
9812 * BufferView.C: add getCurrentChange()
9814 * BufferView_pimpl.h:
9815 * BufferView_pimpl.C: handle change lfuns
9817 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9818 for changes. Mark pasted paragraphs as new.
9820 * support/lyxtime.h:
9821 * support/lyxtime.C:
9822 * DepTable.C: abstract time_t as lyx::time_type
9825 * LColor.C: add colours for new text, deleted text, changebars
9827 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9828 package use "usenames" option.
9832 * LyXAction.C: add change lfuns
9836 * author.C: author handling
9839 * buffer.C: add a per-buffer author list, with first entry as
9840 current author. Handle new .lyx tokens for change tracking. Output
9841 author list to .lyx file. Output dvipost stuff to .tex preamble.
9842 Bump lyx format to 222.
9845 * bufferlist.C: add setCurrentAuthor() to reset current author details
9849 * bufferparams.C: add param for tracking
9851 * bufferview_funcs.C: output change info in minibuffer
9855 * changes.C: add change-tracking structure
9858 * debug.C: add CHANGES debug flag
9861 * lyxfind.C: add code for finding the next change piece
9864 * lyxrc.C: add user_name and user_email
9867 * lyxrow.C: add a metric for the top of the text line
9870 * text.C: implement accept/rejectChange()
9873 * text.C: paint changebars. Paint new/deleted text in the chosen
9874 colours. Strike through deleted text.
9878 * paragraph_pimpl.h:
9879 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9880 in the current change to the insert functions. Rework erase to
9881 mark text as deleted, adding an eraseIntern() and a range-based
9882 erase(). Implement per-paragraph change lookup and
9885 * paragraph_funcs.C: Fixup paste for change tracking.
9887 * tabular.C: mark added row/columns as new.
9889 * text.C: fix rowLast() to never return -1. Don't allow
9890 spellchecking of deleted text. Track transpose changes. Don't
9891 allow paragraph break or merge where appropriate.
9893 * text2.C: leave cursor at end of selection after a cut.
9895 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9897 * text.C (getLengthMarkerHeight):
9898 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9899 visible on screen too.
9901 2003-02-07 John Levon <levon@movementarian.org>
9903 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9905 2003-02-05 Angus Leeming <leeming@lyx.org>
9907 * lyxserver.C (read_ready): revert my patch of 11 September last year
9908 as it sends PC cpu through the roof. Presumably this means that
9909 the lyxserver will no longer run on an Alpha...
9911 2003-01-30 Angus Leeming <leeming@lyx.org>
9913 * factory.C (createInset): create an InsetCommandParam of type "index"
9914 and use it to 'do the right thing'.
9916 * text2.C (getStringToIndex): ensure that cursor position is always
9917 reset to the reset_cursor position.
9919 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9921 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9924 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9928 * lyxfunc.C: Output messages with identical spelling, punctuation,
9931 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9933 * MenuBackend.C (expandFormats): List only viewable export formats
9936 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9939 * lyxfunc.C (getStatus): Make sure that formats other than
9940 "fax" can also be disabled
9942 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9944 * text3.C (dispatch): put the lfuns that insert insets in 3
9945 groups, and call doInsertInset with appropriate arguments.
9946 (doInsertInset): new function, that creates an inset and inserts
9947 it according to some boolean parameters.
9949 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9951 * buffer.C (readFile): remember to pass on 'par' when calling
9952 readFile recursively.
9954 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9956 * MenuBackend.C (expandFormats): add "..." to import formats.
9958 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9960 * paragraph.C (asString): Remove XForms RTL hacks.
9962 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9963 * buffer.C: fix typo
9965 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9967 * Makefile.am (LIBS): delete var
9968 (lyx_LDADD): add @LIBS@ here instead.
9970 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9972 * Clarify the meaning of "wheel mouse jump"
9974 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9976 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9979 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9981 * importer.C (Loaders): do not preallocate 3 elements in the
9982 vector, since one ends up with 6 elements otherwise
9984 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9986 * DepTable.C (write): write the file name as last element of the
9987 .dep file (because it may contain spaces)
9988 (read): read info in the right order
9990 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9992 * paragraph_pimpl.C (simpleTeXBlanks):
9993 (simpleTeXSpecialChars):
9994 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9996 * tabular.C (latex): add some missing case statements. Reindent.
9998 * MenuBackend.C (expandToc): remove unused variable.
10000 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10009 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10012 2003-01-05 John Levon <levon@movementarian.org>
10015 * BufferView.C: add getEncoding()
10018 * kbsequence.C: do not store last keypress
10021 * lyxfunc.C: store last keypress here instead. Pass encoding
10024 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10026 * lyx_main.C (init): remove annoying error message when following
10027 symbolic links (bug #780)
10029 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10031 * text.C (insertChar):
10032 * lyxrc.C (getDescription): remove extra spaces
10034 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10036 * lyxrc.C (getDescription): remove extra spaces
10038 2002-12-20 John Levon <levon@movementarian.org>
10040 * text3.C: hack fix for page up/down across tall rows
10042 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10044 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10047 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10049 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10050 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10051 thesaurus is not compiled in
10053 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10055 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10057 2002-12-16 Angus Leeming <leeming@lyx.org>
10060 * lyx_main.C (init): remove override_x_deadkeys stuff.
10062 2002-12-12 John Levon <levon@movementarian.org>
10064 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10065 insert. Only remove shift modifier under strict
10068 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10070 * MenuBackend.C (expandToc): fix crash.
10072 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10074 * MenuBackend.C (expandToc): gettext on float names.
10076 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10078 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10079 implement bool empty() [bug 490]
10081 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10083 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10085 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10087 * several files: ws changes
10089 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10091 * text2.C (setCounter): clean up a bit, use boost.format.
10092 (updateCounters): initialize par upon declaration.
10094 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10095 if the layout exists. We do not just store the layout any more.
10096 (SwitchLayoutsBetweenClasses): use boost.format
10098 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10100 * converter.C (convert): if from and to files are the same, use a
10101 temporary files as intermediary
10103 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10106 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10108 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10110 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10112 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10114 * tabular.C (asciiPrintCell): use string(size, char) instead of
10117 * sgml.C (openTag): fix order of arguments to string constructor
10120 * lyxfunc.C (dispatch): use boost.format
10122 * lots of files: change "c" -> 'c'
10124 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10126 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10128 2002-11-25 Angus Leeming <leeming@lyx.org>
10130 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10132 * lyx_main.C (init): compile fix.
10134 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10136 * lyx_cb.C (start): boost.formatify
10137 do not include <iostream>
10139 * lengthcommon.C: ws only
10141 * boost-inst.C,BoostFormat.h: add more explict instantations
10143 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10145 * lots of files: handle USE_BOOST_FORMAT
10147 2002-11-21 John Levon <levon@movementarian.org>
10149 * pspell.C: fix compile
10151 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10153 * lyxfunc.C (dispatch): use boost::format
10157 * lyxfont.C (stateText): use boost::format
10159 * lyx_main.C (LyX): use boost::format
10161 (queryUserLyXDir): ditto
10162 (readRcFile): ditto
10164 (typedef boost::function): use the recommened syntax.
10166 * importer.C (Import): use boost::format
10168 * debug.C (showLevel): use boost::format
10170 * converter.C (view): use boost::format
10175 * bufferview_funcs.C (currentState): use boost::format
10177 * bufferlist.C (emergencyWrite): use boost::format
10179 * buffer.C (readLyXformat2): use boost::format
10180 (parseSingleLyXformat2Token): ditto
10182 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10184 * LaTeX.C (run): use boost::format
10186 * Chktex.C (scanLogFile): use boost::format
10188 * BufferView_pimpl.C (savePosition): use boost::format
10189 (restorePosition): ditto
10190 (MenuInsertLyXFile): ditto
10192 * BoostFormat.h: help file for explicit instation.
10194 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10196 * tabular.C (latex): Support for block alignment in fixed width
10199 2002-11-17 John Levon <levon@movementarian.org>
10201 * BufferView_pimpl.C:
10203 * lyxfunc.C: split filedialog into open/save
10205 2002-11-08 Juergen Vigna <jug@sad.it>
10207 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10208 by my last patch (hopefully).
10210 2002-11-08 John Levon <levon@movementarian.org>
10219 * toc.C: ParConstIterator, and use it (from Lars)
10221 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10223 * lyxtextclass.[Ch]: revise and add doxygen comments
10225 2002-11-07 John Levon <levon@movementarian.org>
10227 * text.C: fix progress value for spellchecker
10229 * toc.C: fix navigate menu for insetwrap inside minipage
10231 * paragraph_funcs.C: added FIXME for suspect code
10233 2002-11-07 John Levon <levon@movementarian.org>
10235 * BufferView_pimpl.C: fix redrawing of insets
10238 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10240 * text2.C (updateCounters): fix bug 668
10242 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10244 * text3.C (dispatch): Do not make the buffer dirty when moving the
10247 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10249 * vc-backend.C: STRCONV
10250 (scanMaster): ditto
10252 * text2.C (setCounter): STRCONV
10254 * paragraph.C (asString): STRCONV
10256 * lyxlength.C (asString): STRCONV
10257 (asLatexString): ditto
10259 * lyxgluelength.C (asString): STRCONV
10260 (asLatexString): ditto
10262 * lyxfunc.C (dispatch): STRCONV
10265 * lyxfont.C (stateText): STRCONV
10267 * importer.C (Import): STRCONV
10269 * counters.C (labelItem): STRCONV
10270 (numberLabel): ditto
10271 (numberLabel): remove unused ostringstream o
10276 * bufferview_funcs.C (currentState): STRCONV
10278 * buffer.C (readFile): STRCONV
10279 (asciiParagraph): ditto
10280 (makeLaTeXFile): ditto
10282 * Spacing.C (writeEnvirBegin): STRCONV
10284 * LaTeXFeatures.C (getLanguages): STRCONV
10285 (getPackages): ditto
10287 (getBabelOptions): ditto
10288 (getTClassPreamble): ditto
10289 (getLyXSGMLEntities): ditto
10290 (getIncludedFiles): ditto
10294 (scanAuxFile): ditto
10297 * LString.h: add the STRCONV macros
10299 * BufferView_pimpl.C (savePosition): STRCONV
10300 (restorePosition): ditto
10301 (MenuInsertLyXFile): ditto
10303 * vc-backend.C (scanMaster): change from submatch[...] to
10306 * funcrequest.C: include config.h
10308 * factory.C: include config.h
10310 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10312 * box.C: include config.h
10314 * LaTeX.C (scanAuxFile): change from submatch[...] to
10318 2002-10-25 Angus Leeming <leeming@lyx.org>
10320 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10322 * ispell.[Ch] (setError): new method.
10323 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10324 Use setError() insetead of goto END.
10326 * lyx_cb.C (AutoSave): move out child process into new class
10329 2002-10-30 John Levon <levon@movementarian.org>
10331 * text3.C: make start appendix undoable
10333 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10335 * lyxlength.C (inPixels): Fix returned value.
10337 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10340 2002-10-24 Angus Leeming <leeming@lyx.org>
10342 * lyxgluelength.h: no need to forward declare BufferParams
10343 or BufferView, so don't.
10345 2002-10-21 John Levon <levon@movementarian.org>
10347 * BufferView.C: menuUndo ->undo, redo
10349 * BufferView.h: document, remove dead, make some methods private
10351 * paragraph_funcs.h:
10352 * paragraph_funcs.C:
10353 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10358 * sgml.C: move sgml open/close tag into sgml.C
10360 * bufferview_funcs.h: unused prototype
10363 * lyxfunc.C: remove unused
10366 * text.C: remove unused
10368 2002-10-21 John Levon <levon@movementarian.org>
10372 * BufferView_pimpl.h:
10373 * BufferView_pimpl.C: fix mouse wheel handling based on
10374 patch from Darren Freeman
10376 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10378 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10380 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10382 * lyxlength.C (inPixels): Fix hanfling of negative length.
10383 Fix LyXLength::MU case.
10385 2002-10-16 John Levon <levon@movementarian.org>
10387 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10389 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10391 * converter.C (view): add support for $$i (file name) and $$p
10392 (file path) for the viewer command. If $$i is not specified, then
10393 it is appended to the command (for compatibility with old syntax)
10395 2002-10-14 Juergen Vigna <jug@sad.it>
10397 * undo_funcs.C (textHandleUndo): alter the order in which the
10398 new undopar is added to the LyXText, as we have to set first
10399 the right prev/next and then add it as otherwise the rebuild of
10400 LyXText is not correct. Also reset the cursor to the right paragraph,
10401 with this IMO we could remove the hack in "redoParagraphs()".
10403 2002-10-09 Angus Leeming <leeming@lyx.org>
10405 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10406 to turn off an optimisation if a new inset is to be inserted.
10408 2002-10-11 André Pönitz <poenitz@gmx.net>
10410 * lyxtext.h: make some functions public to allow access
10411 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10413 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10415 * text3.C (dispatch): when changing layout, avoid an infinite loop
10418 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10420 * lyxrc.C (read): treat a viewer or converter command of "none" as
10423 * MenuBackend.C (expandFormats): for an update, also allow the
10424 formats that are not viewable
10426 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10427 script if it is newer than the lyxrc.defaults in user directory
10429 2002-10-07 André Pönitz <poenitz@gmx.net>
10431 * text.C: Vitaly Lipatov's small i18n fix
10433 2002-09-25 Angus Leeming <leeming@lyx.org>
10435 * ispell.h: doxygen fix.
10437 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10439 * buffer.h (readFile): Add a new argument to the method, to allow
10440 reading of old-format templates.
10442 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10444 * toc.C (getTocList): Get TOC from InsetWrap.
10446 2002-09-16 John Levon <levon@movementarian.org>
10448 * lyxfunc.C: check tabular for cut/copy too
10450 2002-09-12 John Levon <levon@movementarian.org>
10452 * LyXAction.C: tidy
10455 * factory.C: add header
10457 * paragraph_funcs.h:
10458 * paragraph_funcs.C: cleanup
10460 2002-09-11 John Levon <levon@movementarian.org>
10462 * PrinterParams.h: odd/even default to true
10464 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10466 * PrinterParams.h: update printer parameters for new xforms dialog
10468 2002-09-11 Angus Leeming <leeming@lyx.org>
10470 * lyxserver.C (read_ready): re-write to make it more transparent
10471 and to make it work in coherent fashion under Tru64 Unix.
10473 2002-09-11 André Pönitz <poenitz@gmx.net>
10477 * text3.C: implement LFUN_WORDSEL
10479 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10481 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10482 make floatlist_ a boost::shared_ptr<FloatList>
10484 * lyxtextclass.C: include FloatList.h
10485 (LyXTextClass): initialize floatlist_
10486 (TextClassTags): add TC_NOFLOAT
10487 (Read): match "nofloat" to TC_NOFLOAT and use it.
10488 (readFloat): modify call to floatlist_
10492 * FloatList.[Ch] (FloatList): remove commented out float
10494 (erase): new function
10496 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10498 * MenuBackend.C (expandToc): fix crash when there is no document
10501 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10503 * many files: Add insetwrap.
10505 2002-09-09 John Levon <levon@movementarian.org>
10507 * text2.C: remove confusing and awkward depth wraparound
10509 2002-09-09 John Levon <levon@movementarian.org>
10511 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10514 * buffer.C: remove getIncludeonlyList()
10517 * lyxfunc.C: remove headers
10519 2002-09-09 Juergen Vigna <jug@sad.it>
10521 * text.C (getColumnNearX): fix form Michael this is most
10522 probably a cut&paste bug.
10524 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10526 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10528 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10529 references, ws changes.
10531 * text2.C (init): update counters after init
10532 (insertParagraph): no need to set counter on idividual paragraphs.
10533 (setCounter): access the counters object in the textclass object
10534 on in the buffer object.
10535 (updateCounters): ditto
10537 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10538 shared_ptr<Counters> to avoid loading counters.h in all
10540 (LyXTextClass): initialize ctrs_
10541 (TextClassTags): add TC_COUNTER, and ...
10542 (Read): use it here.
10543 (CounterTags): new tags
10544 (readCounter): new function
10545 (counters): new funtion
10546 (defaultLayoutName): return a const reference
10548 * counters.C (Counters): remove contructor
10549 (newCounter): remove a couple of unneeded statements.
10550 (newCounter): simplify a bit.
10551 (numberLabel): some small formatting changes.
10553 * buffer.[Ch]: remove all traces of counters, move the Counters
10554 object to the LyXTextClass.
10556 2002-09-06 Alain Castera <castera@in2p3.fr>
10558 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10559 package to set the horizontal alignment on fixed width columns.
10562 * lyx_sty.h: added tabularnewline macro def.
10564 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10566 2002-09-06 John Levon <levon@movementarian.org>
10568 * LyXAction.C: tooltips for sub/superscript
10570 * MenuBackend.C: a bit more verbose
10572 * lyxfunc.C: tiny clean
10574 * undo_funcs.C: document undo_frozen
10576 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10578 * counters.C (Counters): add missing algorithm counter.
10580 * text2.C (setCounter): lookup the counter with layouts latexname
10581 instead of by section number.
10582 (setCounter): use a hackish way to lookup the correct enum
10584 a float name->type change
10585 reset enum couners with counter name directly instead of depth value.
10587 * counters.C (Counters): remove the push_backs, change to use the
10588 float type not the float name.
10589 (labelItem): remove unused string, float name->type change
10591 * counters.h: don't include vector, loose the enums and sects vectors
10593 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10595 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10596 (Read): add float->TC_FLOAT to textclassTags
10597 (Read): and handle it in the switch
10598 (readFloat): new function
10600 * FloatList.C (FloatList): comment out the hardcoded float
10603 * lyxlayout.h: ws change.
10605 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10607 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10609 2002-09-03 Angus Leeming <leeming@lyx.org>
10611 * BufferView_pimpl.h: qualified name is not allowed in member
10612 declaration: WorkArea & Pimpl::workarea() const;
10614 * factory.C: added using std::endl directive.
10616 * text3.C: added using std::find and std::vector directives.
10618 2002-08-29 André Pönitz <poenitz@gmx.net>
10621 * text2.C: remove unused member number_of_rows
10624 * BufferView2.C: remove file, move contents to...
10625 * BufferView.C: ... here
10627 * BufferView_pimpl.C:
10628 * factory.C: move more inset creation to factory
10630 * vspace.C: avoid direct usage of LyXText, ws changes
10633 don't provide direct access to WorkArea, use two simple
10634 acessors haveSelction() and workHeight() instead
10637 2002-08-29 John Levon <levon@movementarian.org>
10639 * BufferView_pimpl.C (dispatch): do not continue when
10642 2002-08-28 André Pönitz <poenitz@gmx.net>
10644 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10647 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10649 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10651 * buffer.C: increment LYX_FORMAT to 221
10653 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10654 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10656 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10658 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10660 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10662 * factory.C (createInset): use LyXTextClass::floats
10664 * MenuBackend.C (expandFloatListInsert):
10665 (expandFloatInsert):
10668 * text2.C (setCounter):
10670 * LaTeXFeatures.C (useFloat):
10671 (getFloatDefinitions):
10673 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10675 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10676 floatlist_, with accessor floats().
10678 * FloatList.h: remove global FloatList
10680 2002-08-26 André Pönitz <poenitz@gmx.net>
10682 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10686 * BufferView_pimpl.C:
10687 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10689 2002-08-25 John Levon <levon@movementarian.org>
10691 * LyXAction.C: fix margin note description
10693 2002-08-24 John Levon <levon@movementarian.org>
10697 * bufferview_funcs.C:
10699 * undo_funcs.C: cleanups
10701 * lyxfunc.C: disable CUT/COPY when no selection
10703 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10705 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10706 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10708 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10709 Add backward compatibility to "mono", "gray" and "no".
10711 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10713 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10714 (and file_format >= 200).
10716 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10718 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10720 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10722 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10724 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10726 * BufferView_pimpl.C:
10733 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10734 inset and code to make it work with the paragraph code. The inset
10735 can be anywhere in the paragraph, but will only do the expected
10736 thing in LaTeX if the layout file contains the parameter line
10738 (or more generally, a nonzero value) for that layout.
10740 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10742 * paragraph.h: remove the declaration of undefined counters class
10745 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10747 * text2.C (setCounter): fixed enumeration mis-count as reported by
10748 Dr. Richard Hawkins.
10750 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10752 * paragraph_funcs.h: remove some unneeded includes
10754 * text.C (backspace): pasteParagraph now in global scipe
10756 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10757 (pasteSelection): ditto
10759 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10760 * paragraph_funcs.C (pasteParagraph): ... here
10762 2002-08-20 André Pönitz <poenitz@gmx.net>
10764 * commandtags.h: new LFUNs for swapping/copying table row/colums
10767 * lyxfunc.C: support for new lfuns
10769 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10772 * buffer.[Ch]: remove NO_COMPABILITY stuff
10774 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10776 * boost.C (throw_exception): new file, with helper function for
10777 boost compiled without exceptions.
10782 * ParameterStruct.h:
10783 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10785 * bufferlist.C (emergencyWriteAll): use boost bind
10787 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10789 * text.C: include paragraph_funcs.h
10790 (breakParagraph): breakParagraph is now in global scope
10792 * paragraph_funcs.[Ch]: new files
10794 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10797 * buffer.C: include paragraph_funcs.h
10798 (insertStringAsLines): breakParagraph is now in global scope
10800 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10803 * CutAndPaste.C: include paragraph_funcs.h
10804 (cutSelection): breakParagraphConservative is now in global scope
10805 (pasteSelection): ditto
10807 * buffer.h: declare oprator== and operator!= for
10808 Buffer::inset_iterator
10810 * bufferlist.C (emergencyWrite): don't use fmt(...)
10812 * text3.C: add using std::endl
10814 * BufferView.C (moveCursorUpdate): remove default arg
10816 2002-08-20 André Pönitz <poenitz@gmx.net>
10818 * buffer.[Ch]: move inline functions to .C
10821 * BufferView_pimpl.C:
10823 * buffer.[Ch]: use improved inset_iterator
10826 * paragraph.[Ch]: write one paragraph at a time
10828 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10830 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10831 style if style is not specified.
10833 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10835 * text2.C (setCounter): when searching for right label for a
10836 caption, make sure to recurse to parent insets (so that a caption
10837 in a minipage in a figure float works) (bug #568)
10839 2002-08-20 André Pönitz <poenitz@gmx.net>
10841 * text3.C: new file for LyXText::dispatch() and helpers
10843 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10845 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10847 2002-08-19 André Pönitz <poenitz@gmx.net>
10850 * text.C: new LyXText::dispatch()
10852 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10854 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10856 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10858 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10861 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10863 * Makefile.am: use $(variables) instead of @substitutions@
10865 2002-08-15 André Pönitz <poenitz@gmx.net>
10868 * BufferView_pimpl.C: streamlining mathed <-> outer world
10872 * LyXAction.C: remove unused LFUN_MATH
10874 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10876 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10878 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10880 * paragraph.C (Paragraph): reformat a bit
10881 (cutIntoMinibuffer): use builtin InsetList function instad of
10885 * buffer.C: include boost/bind.hpp, add using std::for_each
10886 (writeFileAscii): use ParagraphList iterators
10887 (validate): use for_each for validate traversal of paragraphs
10888 (getBibkeyList): use ParagraphList iterators
10889 (resizeInsets): use for_each to resizeInsetsLyXText for all
10891 (getParFromID): use ParagraphList iterators
10893 * BufferView2.C (lockInset): use paragraph list and iterators
10895 2002-08-14 John Levon <levon@movementarian.org>
10897 * lyxserver.C: remove spurious xforms include
10899 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10901 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10903 2002-08-13 André Pönitz <poenitz@gmx.net>
10906 * lyxfunc.C: further cleaning
10908 2002-08-13 André Pönitz <poenitz@gmx.net>
10910 * funcrequest.h: new constructor
10912 * funcrequest.C: move stuff here from .h
10915 * BufferView_pimpl.C:
10918 * lyxfunc.C: subsequent changes
10920 * lyxfunc.h: new view() member function
10922 * lyxfunc.C: subsequent changes
10924 2002-08-13 Angus Leeming <leeming@lyx.org>
10927 * BufferView_pimpl.C:
10935 changes due to the changed LyXView interface that now returns references
10936 to member variables not pointers.
10938 2002-08-13 Angus Leeming <leeming@lyx.org>
10940 * WordLangTuple (word, lang_code): return references to strings,
10945 * lyxtext.h: forward-declare WordLangTuple.
10950 * text.C: #include "WordLangTuple.h".
10953 * text.C: (selectNextWordToSpellcheck): constify return type.
10955 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10961 * paragraph_pimpl.h:
10964 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10965 suggested by Angus.
10966 Made updateCounter always count from start of buffer, and removed
10967 second argument (par).
10968 Reverted floats number display to '#'. Perhaps I'll try again when the
10969 code base is sanitized a bit.
10971 2002-08-12 Angus Leeming <leeming@lyx.org>
10973 * buffer.[Ch] (getLabelList): constify.
10975 2002-08-07 André Pönitz <poenitz@gmx.net>
10977 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10979 * funcrequest.h: extension to keep mouse (x,y) position
10981 2002-08-12 Juergen Vigna <jug@sad.it>
10983 * BufferView2.C (insertErrors): forbid undo when inserting error
10986 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10988 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10990 * ParagraphList.[Ch]: new files
10992 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10994 * BufferView2.C (lockInset): ParagraphList changes
10997 * bufferlist.C: ditto
11001 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11003 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11004 unused class variable counter_,
11006 * paragraph.[Ch] (getFirstCounter): delete unused function
11008 * counters.C: include LAssert.h
11009 (reset): add a new function with no arg, change other version to
11010 not have def. arg and to not allow empty arg.
11012 * text2.C (setCounter): remove empty arg from call to Counters::reset
11014 2002-08-11 John Levon <levon@movementarian.org>
11016 * Makefile.am: add WordLangTuple.h
11018 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11020 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11021 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11023 * insets/insettext.C: InsetList changes
11025 * graphics/GraphicsSupport.C (operator()): InsetList changes
11027 * toc.C (getTocList): InsetList changes
11029 * paragraph_pimpl.[Ch]: InsetList changes
11031 * paragraph.[Ch]: InsetList changes
11033 * buffer.C (inset_iterator): InsetList changes
11034 (setParagraph): ditto
11035 * buffer.h (inset_iterator): ditto
11036 * iterators.C (operator++): ditto
11037 * iterators.h: ditto
11039 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11041 * InsetList.[Ch]: new files, most InsetList handling moved out of
11044 * BufferView2.C (removeAutoInsets): InsetList changes
11046 (ChangeInsets): ditto
11048 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11050 * paragraph_pimpl.h (empty): new function
11052 * paragraph.[Ch] (empty): new function
11054 * other files: use the new Paragraph::empty function
11056 2002-08-09 John Levon <levon@movementarian.org>
11058 * lyxtext.h: remove unused refresh_height
11060 2002-08-09 John Levon <levon@movementarian.org>
11067 * paragraph.C: move sgml char escaping out of paragraph
11070 * paragraph.C: remove id setter
11074 * paragraph_pimpl.C: remove dead tex_code_break_column
11076 * bufferview_funcs.C: small cleanup
11078 * lyxfunc.C: remove dead proto
11080 * lyxtext.h: make some stuff private. Remove some dead stuff.
11082 * lyxgluelength.C: make as[LyX]String() readable
11084 2002-08-08 John Levon <levon@movementarian.org>
11089 * ToolbarDefaults.C:
11092 * toc.C: lyxaction cleanup
11094 2002-08-08 John Levon <levon@movementarian.org>
11096 * BufferView2.C: small cleanup
11099 * lyxfind.C: move unnecessary header into the .C
11101 2002-08-08 John Levon <levon@movementarian.org>
11103 * funcrequest.h: just tedious nonsense
11106 * lyx_main.C: cleanups
11109 * vspace.C: remove dead header lyx_main.h
11111 2002-08-07 Angus Leeming <leeming@lyx.org>
11114 * paragraph_pimpl.h:
11115 Forward declare class Counters in paragraph.h by moving the ctrs member
11116 variable into Paragraph::Pimpl.
11117 (counters): new method, returning a reference to pimpl_->ctrs.
11119 * text2.C: ensuing changes.
11121 2002-08-07 John Levon <levon@movementarian.org>
11123 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11125 * BufferView_pimpl.C: announce X selection on double/triple
11128 * lyx_main.C: use correct bool in batch dispatch
11130 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11132 2002-08-07 André Pönitz <poenitz@gmx.net>
11134 * funcrequest.h: new class to wrap a kb_action and its argument
11137 * BufferView_pimpl[Ch]:
11141 * lyxrc.C: subsequent changes
11144 2002-08-07 John Levon <levon@movementarian.org>
11146 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11147 document options change.
11149 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11154 * makefile.am: move counters functionality over from
11155 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11157 2002-08-06 John Levon <levon@movementarian.org>
11159 * WordLangTuple.h: new file for word + language code tuple
11170 * BufferView2.C: use WordLangTuple
11173 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11175 2002-08-06 John Levon <levon@movementarian.org>
11177 * lyx_main.C: fix cmdline batch handling
11179 2002-08-06 André Pönitz <poenitz@gmx.net>
11181 * lyxrc.C: set default for show_banner to true
11183 2002-08-06 John Levon <levon@movementarian.org>
11185 * pspell.C: fix a crash, and allow new aspell to work
11187 2002-08-06 John Levon <levon@movementarian.org>
11190 * kbmap.C: small cleanup
11193 * vspace.C: add const
11195 2002-08-05 John Levon <levon@movementarian.org>
11197 * LyXAction.C: back to tabular-insert
11199 2002-08-04 John Levon <levon@movementarian.org>
11202 * BufferView.C: cosmetic change
11204 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11214 * BufferView2.C: purge all "Lyx" not "LyX" strings
11217 * lyxcursor.C: attempt to add some documentation
11222 * ToolbarDefaults.C:
11223 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11224 merge with LFUN_TABULAR_INSERT
11231 * pspell.C: split up i/pspell implementations into separate
11232 files, many cleanups
11234 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11236 * text2.C: some cleanup
11238 * lyxfunc.C: don't check for isp_command == "none" any more, it
11239 didn't make any sense
11241 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11246 * makefile.am: move counters functionality over
11247 from text2.C/paragraph.[Ch] to counters.[Ch], and
11249 2002-08-02 John Levon <levon@movementarian.org>
11251 * buffer.C: s/lyxconvert/lyx2lyx/
11253 2002-08-02 Angus Leeming <leeming@lyx.org>
11255 * lyxlex.C: revert John's change as it breaks reading of the user
11258 2002-08-02 Angus Leeming <leeming@lyx.org>
11260 * importer.C (Import):
11261 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11262 changes due to LyXView::view() now returning a boost::shared_ptr.
11264 2002-08-02 John Levon <levon@movementarian.org>
11266 * lyxlex.C: small cleanup
11268 2002-08-02 John Levon <levon@movementarian.org>
11270 * text2.C (status): small cleanup, no logic change
11272 2002-08-01 John Levon <levon@movementarian.org>
11275 * buffer.C (writeFile): don't output alerts, caller
11279 * lyx_cb.C: from above
11281 * lyxfunc.C: allow to open non-existent files
11283 2002-07-31 John Levon <levon@movementarian.org>
11285 * lyxserver.C: don't let incidental errors get
11288 2002-07-30 John Levon <levon@movementarian.org>
11290 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11292 2002-07-30 John Levon <levon@movementarian.org>
11295 * lyxserver.C: remove I/O callback too
11297 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11299 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11302 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11304 * many files: strip,frontStrip -> trim,ltrim,rtrim
11306 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11308 * PrinterParams.h: remove extern containsOnly, and include
11309 support/lstrings.h instead.
11311 * LaTeX.C (scanAuxFile): modify because of strip changes
11313 * buffer.C (makeLaTeXFile): ditto
11314 * bufferparams.C (writeFile): ditt
11315 * lyxfont.C (stateText): ditto
11316 * lyxserver.C (read_ready): ditto
11317 * vc-backend.C (scanMaster): ditto
11319 * BufferView_pimpl.h: ws changes
11321 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11323 2002-07-26 André Pönitz <poenitz@gmx.net>
11325 * kb_sequence.C: remove unnedred usings
11327 2002-07-26 Juergen Vigna <jug@sad.it>
11329 * lyxfind.C (LyXReplace): we have to check better if the returned
11330 text is not of theLockingInset()->getLockingInset().
11332 2002-07-25 Juergen Vigna <jug@sad.it>
11334 * lyxfind.C (LyXReplace): don't replace if we don't get the
11337 * undo_funcs.C (createUndo): remove debugging code.
11339 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11341 * buffer.C (parseSingleLyXformat2Token): Use default placement
11342 when reading old floats.
11344 * FloatList.C (FloatList): Change the default placement of figure
11345 and tables to "tbp".
11347 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11349 * MenuBackend.C: using std::max
11351 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11353 * MenuBackend.C (expandToc):
11354 (expandToc2): code moved from xforms menu frontend. It is now
11355 generic and TOCs are transparent to menu frontends.
11357 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11359 * toc.C (getTocList): protect against buf=0
11361 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11362 Menu as first parameter. Now, this calls itself recursively to
11363 expand a whole tree (this will be useful for TOC handling)
11364 (expandFloatInsert): remove 'wide' version of floats
11366 * MenuBackend.h (submenuname): returns the name of the submenu.
11367 (submenu): returns the submenu itself, provided it has been
11368 created by MenuBackend::expand
11370 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11372 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11373 insets which have noFontChange == true. (bug #172)
11375 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11377 * BufferView_pimpl.C: add connection objects and use them...
11380 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11382 * MenuBackend.C (expandLastfiles):
11385 (expandFloatListInsert):
11386 (expandFloatInsert):
11387 (expand): split expand in parts
11389 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11391 * lyx_gui.C: use lyx_gui::exit()
11393 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11395 * LyXAction.C: show the failing pseudo action
11397 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11399 * buffer.C (readFile): Run the lyxconvert script in order to read
11402 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11406 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11408 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11412 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11414 2002-07-22 Herbert Voss <voss@lyx.org>
11417 * lyxlength.[Ch]: add support for the vertical lengths
11419 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11421 * toc.[Ch]: std:: fixes
11423 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11425 * lyxrc.C: do not include lyx_main.h
11427 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11433 * BufferView2.C: include "lyxlex.h"
11436 * bufferparams.h: do not #include "lyxlex.h"
11438 * lyxtextclasslist.C (Add): remove method
11439 (classlist): renamed to classlist_
11441 * paragraph_pimpl.C:
11445 * bufferview_funcs.C:
11450 * toc.C (getTocList): use BufferParams::getLyXTextClass
11452 * toc.C (getTocList): use InsetFloat::addToToc
11454 * toc.[Ch]: new files, containing helper functions to handle table
11457 * lyxfunc.C (dispatch): no need to remove spaces around command
11459 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11460 first command of the sequence; it is not very clever, but I do not
11461 have a better idea, actually
11463 * LyXAction.C (LookupFunc): make sure to remove space at the
11464 beginning and end of the command
11466 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11468 * MenuBackend.C (getMenubar): new method: return the menubar of
11470 (read): treat differently reading of menu and menubar (in
11471 particular, the menubar has no name now)
11472 (Menu::menubar): remove
11474 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11477 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11479 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11480 a bibitem inset in a RTL paragraph.
11482 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11484 * paragraph_pimpl.C: constify
11486 * BufferView_pimpl.C:
11488 * lyxfunc.C: fix dispatch in a nicer way
11490 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11492 * lyxfunc.C (dispatch):
11493 * BufferView_pimpl.C:
11494 * BufferView_pimpl.h:
11496 * BufferView.h: rename Dispatch() to dispatch()
11498 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11500 * lyxlayout.C (Read): honor DependsOn tag
11502 * lyxlayout.[Ch] (depends_on): new method
11504 * version.C.in: update lyx_docversion
11506 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11508 * paragraph.C (validate): remove from here...
11509 * paragraph_pimpl.C (validate): ... and move here
11510 (isTextAt): make it const
11512 * buffer.C (getLists): ws cleanup
11514 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11516 * language.C (read): Use iso8859-1 encoding in latex_lang
11517 (this prevents LyX from crashing when using iso10646-1 encoding).
11519 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11521 * text2.C (toggleInset): if cursor is inside an inset, close the
11522 inset and leave cursor _after_ it
11524 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11526 * lyxfunc.C: move minibuffer completion handling out of here
11528 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11530 * BufferView_pimpl.C:
11531 * LaTeX.C: fix dispatch calls
11533 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11535 * text.C (drawChars): Fix Arabic text rendering.
11537 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11541 * lyxfunc.C: remove message-push/pop
11545 * lyxfunc.C: rationalise some code by removing verboseDispatch
11546 in favour of a bool argument to dispatch()
11548 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11550 * lyx_main.C (init): make sure to read symlinks as absolute paths
11552 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11555 * lyxfunc.C: no need for commandshortcut to be a member
11557 2002-07-15 André Pönitz <poenitz@gmx.net>
11559 * converter.C: add support for $$s (scripts from lib/scripts dir)
11560 * lyx_main.C: white space
11562 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11566 * lyxrc.C: remove second exit confirmation
11568 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11573 * BufferView_pimpl.h:
11574 * BufferView_pimpl.C:
11575 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11577 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11579 * MenuBackend.C (expand): add numeric shortcuts to document menu
11581 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11583 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11585 * lyxfont.C (setLyXFamily):
11592 * buffer.C (asciiParagraph): use ascii_lowercase
11594 2002-07-15 Mike Fabian <mfabian@suse.de>
11596 * lyxlex_pimpl.C (search_kw):
11597 * lyxlex.C (getLongString):
11598 * converter.h (operator<):
11599 * converter.C (operator<):
11600 * buffer.C (parseSingleLyXformat2Token):
11602 * ToolbarDefaults.C (read):
11603 * MenuBackend.C (checkShortcuts):
11605 * LColor.C (getFromGUIName):
11606 (getFromLyXName): use the compare_ascii_no_case instead of
11607 compare_no_case, because in turkish, 'i' is not the lowercase
11608 version of 'I', and thus turkish locale breaks parsing of tags.
11610 2002-07-16 Angus Leeming <leeming@lyx.org>
11612 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11613 now takes a Buffer const & argument.
11615 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11617 * BufferView.C (resize): check there's a buffer to resize
11619 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11621 * lyxfunc.C: remove dead code
11624 * lyxserver.C: use lyx_guii::set_read_callback
11626 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11628 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11629 an inset in a RTL paragraph.
11631 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11633 * lyxfunc.C: repaint after a font size update
11635 2002-07-15 André Pönitz <poenitz@gmx.net>
11637 * lyxlength.C: inBP should be able to return negative values
11639 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11641 * lyxfunc.C: use lyx_gui::update_fonts()
11643 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11645 * lyxfunc.C: use lyx_gui::update_color()
11647 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11653 * lyxrc.C: remove file->new asks for name option, and let
11654 buffer-new take an argument
11656 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11658 * BufferView_pimpl.C: remove unneeded extra repaint()
11660 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11662 * LyXAction.C: allow command-sequence with NoBuffer
11664 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11666 2002-07-10 Angus Leeming <leeming@lyx.org>
11668 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11670 2002-07-09 Angus Leeming <leeming@lyx.org>
11672 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11674 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11676 * lengthcommon.h: whitespace
11678 * lyxfunc.C: update scrollbar after goto paragraph
11680 * lyxtext.h: factor out page break drawing, and fix it so
11681 page break/added space paints as selected nicely
11683 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11685 * BufferView_pimpl.C: add FIXMEs, clean up a little
11687 2002-07-09 André Pönitz <poenitz@gmx.net>
11689 * lyxfont.[Ch]: support for wasy symbols
11691 2002-07-08 André Pönitz <poenitz@gmx.net>
11693 * BufferView_pimpl.C: apply John's patch for #93.
11695 2002-07-05 Angus Leeming <leeming@lyx.org>
11697 * BufferView_pimpl.C (buffer): generate previews if desired.
11699 * LColor.h: add "preview" to the color enum.
11701 * LColor.C (LColor): add a corresponding entry to the items array.
11703 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11706 2002-07-05 Angus Leeming <leeming@lyx.org>
11708 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11709 The body of the code is now in the method that is passed an ostream &
11710 rather than a file name.
11711 Pass an additional only_preamble parameter, useful for the forthcoming
11714 2002-07-03 André Pönitz <poenitz@gmx.net>
11716 * lyxfunc.C: simplify getStatus() a bit for math stuff
11718 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11720 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11722 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11724 * text.C (changeRegionCase): do not change case of all the
11725 document when region ends at paragraph end (bug #461)
11727 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11729 * paragraph.C (startTeXParParams):
11730 (endTeXParParams): add \protect when necessary
11732 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11734 * BufferView_pimpl.C (workAreaExpose): remove warning
11736 2002-06-27 Angus Leeming <leeming@lyx.org>
11738 * Makefile.am: add lyxlayout_ptr_fwd.h.
11740 2002-06-26 André Pönitz <poenitz@gmx.net>
11742 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11744 2002-06-25 Angus Leeming <leeming@lyx.org>
11746 * lyxfunc.C (dispatch): Comment out the call to
11747 grfx::GCache::changeDisplay. The method no longer exists now that the
11748 pixmap generation part of the graphics loader has been moved into
11751 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11753 * text2.C: layout as layout
11755 * text.C: layout as layout
11757 * tabular.C (OldFormatRead): layout as layout
11759 * paragraph_pimpl.C (TeXDeeper): layout as layout
11760 (realizeFont): layout as layout
11762 * paragraph.C (writeFile): layout as layout
11763 (validate): layout as layout
11764 (getFont): layout as layout
11765 (getLabelFont): layout as layout
11766 (getLayoutFont): layout as layout
11767 (breakParagraph): layout as layout
11768 (stripLeadingSpaces): layout as layout
11769 (getEndLabel): layout as layout
11770 (getMaxDepthAfter): layout as layout
11771 (applyLayout): layout as layout
11772 (TeXOnePar): layout as layout
11773 (simpleTeXOnePar): layout as layout
11774 (TeXEnvironment): layout as layout
11775 (layout): layout as layout
11776 (layout): layout as layout
11778 * lyxtextclass.C (compare_name): new functor to work with
11779 shared_ptr, layout as layout
11780 (Read): layout as layout
11781 (hasLayout): layout as layout
11782 (operator): layout as layout
11783 (delete_layout): layout as layout
11784 (defaultLayout): layout as layout
11786 * lyxlayout_ptr_fwd.h: new file
11788 * lyxlayout.C (Read): layout as layout
11790 * lyx_cb.C (MenuInsertLabel): layout as layout
11792 * bufferlist.C (newFile): layout as layout
11794 * buffer.C (readLyXformat2): layout as layout
11795 (parseSingleLyXformat2Token): layout as layout
11796 (insertStringAsLines): layout as layout
11797 (asciiParagraph): layout as layout
11798 (latexParagraphs): layout as layout
11799 (makeLinuxDocFile): layout as layout
11800 (simpleLinuxDocOnePar): layout as layout
11801 (makeDocBookFile): layout as layout
11802 (simpleDocBookOnePar): layout as layout
11803 (getLists): layout as layout
11805 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11807 * CutAndPaste.C (cutSelection): layout as layout
11808 (pasteSelection): layout as layout
11809 (SwitchLayoutsBetweenClasses): layout as layout
11811 * BufferView_pimpl.C (Dispatch): layout as layout
11812 (smartQuote): layout as layout
11814 * BufferView2.C (unlockInset): layout as layout
11816 2002-06-24 André Pönitz <poenitz@gmx.net>
11818 * lyxfunc.C: fix #487
11820 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11824 * lyxfunc.C: remove display_shortcuts, show_banner
11826 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11828 * Buffer_pimpl.C: oops, update on resize
11830 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11837 * BufferView.C: use repaint()
11839 * BufferView_pimpl.h:
11840 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11841 as it's a clearer description. Remove superfluous
11844 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11846 * text.C: fix bug 488. Not ideal, but getting
11847 getWord() to work properly for the insets that
11848 matter is more difficult ...
11850 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11852 * BufferView_pimpl.C:
11855 * lyxfunc.C: remove the six million index lyxfuncs to just
11856 one, and DTRT (bug 458)
11858 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11862 * BufferView_pimpl.h:
11863 * BufferView_pimpl.C: clean up resize() stuff,
11864 and unnecessary updateScreen()s
11866 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11870 * BufferView_pimpl.h:
11871 * BufferView_pimpl.C:
11874 * minibuffer.C: remove focus management of workarea,
11875 not needed. Use screen's greyOut()
11877 2002-06-17 Herbert Voss <voss@lyx.org>
11879 * converter.C: (convert) do not post a message, when converting
11880 fails, let the calling function decide what to do in this case
11882 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11884 * lyxfunc.C: tidy up a little
11886 2002-06-16 <alstrup@diku.dk>
11888 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11889 Got rid of FORMS_H_LOCATION include. Now we are
11892 2002-06-15 LyX Development team <lyx@rilke>
11894 * buffer.[Ch] (sgmlOpenTag):
11895 (sgmlCloseTag): Added support for avoiding pernicious mixed
11896 content. Return number of lines written.
11898 (makeLinuxDocFile):
11899 (makeDocBookFile): Fixed calls to sgml*Tag.
11900 Simple white space clean.
11902 (simpleDocBookOnePar): Simple white space clean.
11904 * tabular.[Ch] (docBook): Renamed to docbook and got another
11905 argument to related with the pernicious mixed content.
11907 (docbookRow): Fixed calls for docbook inset method.
11909 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11911 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11912 so it's X11 independent.
11916 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11918 2002-06-15 Lyx Development team <lyx@electronia>
11920 * intl.h: Renamed getTrans to getTransManager.
11922 2002-06-14 Angus Leeming <leeming@lyx.org>
11924 * Makefile.am: nuke forgotten stl_string_fwd.h.
11926 2002-06-12 Angus Leeming <leeming@lyx.org>
11928 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11930 2002-06-13 Angus Leeming <leeming@lyx.org>
11933 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11935 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11937 * kbmap.C (getiso): add support for cyrillic and greek
11939 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11943 * BufferView_pimpl.h:
11944 * BufferView_pimpl.C: move bogus scrolling logic
11947 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11950 * BufferView_pimpl.C: view->resize() change
11952 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11954 * BufferView_pimpl.C: topCursorVisible
11957 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11961 * lyx_gui.C: move to frontends/
11965 * lyx_main.C: changes from above
11967 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11974 * lyx_main.C: minor tidy
11976 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11978 * BufferView_pimpl.h:
11979 * BufferView_pimpl.C:
11981 * BufferView.C: make painter() const,
11984 * BufferView2.C: use screen() accessor
11987 * lyx_main.C: some minor cleanup
11989 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11991 * BufferView_pimpl.h:
11992 * BufferView_pimpl.C: remove enter/leaveView,
11995 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12000 * BufferView_pimpl.h:
12001 * BufferView_pimpl.C: only construct screen once,
12004 * lyxrc.C: remove pointless comment
12006 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12009 * BufferView.C: remove active() and belowMouse()
12011 * BufferView_pimpl.h:
12012 * BufferView_pimpl.C: use workarea() not workarea_,
12013 and make it use a scoped_ptr instead
12015 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12017 * lyx_gui.C: add debug message on BadWindow
12019 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12021 * sp_spell.C: fdopen is not part of the C++ standard.
12023 * paragraph.C (InsetIterator): use >= instead of ==
12025 2002-06-07 Angus Leeming <leeming@lyx.org>
12027 Fixes needed to compile with Compaq cxx 6.5.
12028 * BufferView_pimpl.C:
12035 * lyxtextclasslist.C:
12040 all c-library variables have been moved into namespace std. Wrap
12041 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12046 Add a using std::abs declaration.
12048 * kbmap.h (modifier_pair):
12049 * paragraph.h (InsetTable, InsetList):
12050 * lyxfont.h (FontBits):
12051 type definition made public.
12053 * bufferlist.C (emergencyWriteAll): the compiler complains that
12054 there is more than one possible lyx::class_fun template to choose from.
12055 I re-named the void specialisation as lyx::void_class_fun.
12057 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12059 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12060 the compiler is is unable to find tostr in write_attribute.
12062 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12064 * buffer.C (sgmlError): hide #warning
12066 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12068 * xtl/*: get rid of xtl, which is not in use anyway
12070 * LyXAction.C (init):
12071 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12072 were unimplemented xtl experimentation
12074 2002-06-04 André Pönitz <poenitz@gmx.net>
12076 * lyxfunc.C: disable array operation on simple formulae
12078 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12080 * converter.C: constify a bit
12082 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12084 * lyx_gui.C: check xforms version correctly
12086 2002-04-30 Herbert Voss <voss@lyx.org>
12088 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12091 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12093 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12094 attempt to register it with a VCS)
12096 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12098 * lyx_main.C (init): honor variables LYX_DIR_13x and
12101 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12105 * lyx_main.C: fix a crash on bad command line,
12106 and give a useful exit status on error
12108 * lyxfunc.C (doImport): allow -i lyx to work
12110 2002-03-30 André Pönitz <poenitz@gmx.net>
12112 * lyxfunc.C: mathed font changes
12114 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12129 * trans_mgr.h: srcdocs, and some minor cleanups
12131 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12133 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12134 call getFont all the time)
12136 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12138 * switch from SigC signals to boost::signals
12140 2002-05-29 André Pönitz <poenitz@gmx.net>
12142 * paragraph_pimpl.C (getChar): don't call size() too often...
12144 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12146 * paragraph_pimpl.C (insertChar): do not try to update tables when
12147 appending (pos == size())
12149 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12150 in order to reduce drastically the number of comparisons needed to
12151 parse a large document
12153 2002-05-29 André Pönitz <poenitz@gmx.net>
12159 * textclasslist.[Ch]:
12160 * sp_ispell.h: whitespace change
12162 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12164 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12165 lyxaction directly now.
12167 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12171 * lyxvc.C: remove unused headers
12173 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12180 * undo_funcs.C: some cleanups. Use shared_ptr
12181 and a template for the undo stacks.
12183 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12185 * BufferView_pimpl.h:
12186 * BufferView_pimpl.C:
12193 * text2.C: use key_state/mouse_state
12195 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12197 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12200 * chset.C: change include order
12201 (loadFile): use boost regex and get rid of LRegex and LSubstring
12203 * Makefile.am (BOOST_LIBS): new variable
12204 (lyx_LDADD): use it
12206 * LaTeX.C: change include order.
12207 (scanAuxFile): use boost regex and get rid of LRegex and
12211 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12216 * FontInfo.C: moved to frontends/xforms/
12219 * FontLoader.C: moved into frontends for GUIIzation
12224 * lyxfunc.C: changes from above
12226 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12228 * LColor.C: remove spurious X include
12230 * BufferView_pimpl.C:
12235 * text2.C: move font metrics to frontends/
12237 2002-05-24 Juergen Vigna <jug@sad.it>
12239 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12240 setting the undo_cursor.
12242 * ParagraphParameters.h: include local includes first.
12244 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12246 * BufferView_pimpl.C:
12247 * BufferView_pimpl.h:
12251 * screen.C: move WorkArea into frontends/
12257 * BufferView2.C: move LyXScreen into frontends/
12261 * lyx_gui.C: move lyxlookup into frontends/xforms/
12263 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12266 * BufferView_pimpl.C:
12276 * bufferview_funcs.C:
12289 * vc-backend.C: move LyX/XFormsView into frontends/
12291 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12303 * text2.C: move Painter to frontends/
12305 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12307 * buffer.C: comment out some some code that depend upon lyx_format
12310 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12311 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12313 * buffer.h (NO_COMPABILITY): turn off compability
12315 * ColorHandler.C: include scoped_array.hpp
12317 * font.C: Use more specific smart_ptr header.
12320 * ShareContainer.h: ditto
12321 * lyx_main.h: ditto
12323 * FontInfo.h: ditto
12324 * BufferView_pimpl.h: ditto
12325 * ColorHandler.h: ditto
12327 * kbmap.C (defkey): change call to shared_ptr::reset
12329 2002-05-21 Juergen Vigna <jug@sad.it>
12331 * buffer.C (insertErtContents): fix to insert ert asis if it is
12332 non empty. Skip it completely if it contains only whitespaces.
12334 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12336 * BufferView_pimpl.C:
12337 * BufferView2.C: clear selection on paste (bug 393)
12339 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12341 * DepTable.C: include ctime
12343 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12345 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12347 2002-05-14 Juergen Vigna <jug@sad.it>
12349 * text.C (breakParagraph): fixed function to honor the keepempty
12350 layout in the right maner and also to permit the right breaking
12351 algorithm on empty or non empyt keepempty paragraphs.
12353 * paragraph.C (breakParagraph): we have to check also if the par
12354 is really empty (!size()) for isempty otherwise we do the wrong
12357 2002-05-10 Juergen Vigna <jug@sad.it>
12359 * buffer.[Ch] : The following are only changes to the ert
12360 compatibility read reading old LaTeX layout and font stuff and
12361 convert it to ERTInsets.
12363 * buffer.h: added isErtInset().
12365 * buffer.C (struct ErtComp): add a fromlayout bool to check
12366 if we're inside a LaTeX layout.
12367 (isErtInset): new helper function.
12368 (insertErtContents): look for other ert insets before this one
12369 and insert the contents there, so that we don't have subsequent
12370 ERT insets with nothing between them. This way we create only one
12371 inset with multiple paragraphs. Also check if we don't insert only
12372 spaces ' ' as they are ignored anyway afterwards in the .tex file
12373 so if we have only spaces we will ignore this latex part in the
12375 (parseSingleLyXformat2Token \\layout): better compatibility when
12376 reading layout-latex stuff.
12377 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12379 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12380 stuff after reading the inset only get the information back from
12383 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12385 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12387 * LaTeXFeatures.C (getBabelOptions): New method.
12389 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12391 * BufferView_pimpl.C (Dispatch): work around missing argument for
12394 2002-05-08 Juergen Vigna <jug@sad.it>
12396 * text.C (leftMargin): handle paragraph leftindent.
12398 * paragraph.C (writeFile): write the new \\leftindent tag.
12399 (validate): handle leftindent code.
12400 (TeXEnvironment): handle paragraphleftindent code again.
12402 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12404 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12405 for paragrap_extra indent code and new token \\leftindent.
12406 (latexParagraphs): handle the leftindent as environment.
12408 * ParameterStruct.h: added leftindent support.
12410 * ParagraphParameters.C (leftIndent): added support functions for
12411 the paragraph left indent.
12413 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12416 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12418 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12421 * text.C (computeBidiTables): No bidi in insetERT.
12423 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12426 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12428 * version.C.in: pre 5
12430 2002-05-02 José Matos <jamatos@fep.up.pt>
12431 * buffer.C (makeDocBookFile): white space changes, add newline to
12433 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12435 * tabular.C (docBook): fix typo.
12437 2002-05-03 Juergen Vigna <jug@sad.it>
12439 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12440 change in LyXText as we can not be sure it was not freed.
12441 (drawOneRow): remove unused code.
12443 * text.C (drawInset): redo the calculation of the need_break_row as
12444 it could have a row which was already freed.
12445 (draw): look at the return value of drawInset and return false if
12446 it also returned false.
12447 (paintRowText): look at the return value of draw and return false if
12448 it also returned false.
12450 * lyxtext.h: added bool return type to drawInset() and draw() so that
12451 if we have a change in the row so that the rowbreak has to be redone
12452 we abort drawing as it will be called again.
12454 2002-05-02 Juergen Vigna <jug@sad.it>
12456 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12457 a change in the maintext also if we're inside an inset.
12458 (Dispatch): set the cursor again after a break line and after the
12459 screen has been updated as it could be we're in a different row.
12461 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12462 to set the cursor behind the pargraph with > size().
12463 (setCursor): check also for the same paragraph when checking where
12464 to put the cursor if we have a NFR inset.
12466 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12467 parts of layout read further up as it still was in the wrong
12470 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12472 * screen.C (drawFromTo): change sine fullRebreak always return
12475 * buffer.C (parseSingleLyXformat2Token): reindent some
12477 * BufferView_pimpl.C (update): change since fullRebreak always
12479 (Dispatch): git rid of the last hardcoded "Standard"s.
12481 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12483 * text2.[Ch] (fullRebreak): make it return void now that we always
12486 2002-04-30 Juergen Vigna <jug@sad.it>
12488 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12489 ert compatibility check for "latex" layout.
12491 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12493 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12494 minipages: use col% instead of p%, and also use the current font.
12495 (makeLaTeXFile): Fix use babel condition.
12496 (parseSingleLyXformat2Token): Correct font when reading old floats.
12498 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12500 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12501 inserting list of floats.
12503 2002-04-25 Herbert Voss <voss@lyx.org>
12505 * MenuBackend.C (expand): don't add the graphics extensions to the
12508 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12510 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12511 non-existing layout, do not complain if it was the default layout
12512 of the original class (bug #342)
12514 2002-04-24 Juergen Vigna <jug@sad.it>
12516 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12517 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12519 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12521 * buffer.C (getBibkeyList): If using \bibliography, return the
12522 option field with the reference itself. Enables us to provide natbib
12523 support when using \bibliography.
12525 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12527 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12529 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12530 natbib is provided by the LaTeX class.
12532 2002-04-23 Juergen Vigna <jug@sad.it>
12534 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12537 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12539 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12541 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12543 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12544 ensuremath around textordmasculine, textordfeminine and
12547 2002-04-19 Juergen Vigna <jug@sad.it>
12549 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12550 reinitializing the buffer otherwise row-dimensions may be wrong.
12551 (update): reset also the selection cursors if they do exits otherwise
12552 their x/y positions may be wrong.
12554 * text2.C (cursorDown): don't enter the inset if we came from a row
12555 above and are one row over the inset.
12557 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12558 really leaving an inset.
12560 2002-04-18 Juergen Vigna <jug@sad.it>
12562 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12563 of the selected paragraph does not have the selected layout also if
12566 * text2.C (setLayout): fixed bug which did not change last selected
12569 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12570 changed the read and substituted \\end_float with \\end_inset!
12572 * BufferView_pimpl.C (cursorPrevious):
12573 (cursorNext): fixed to make it work with rows heigher than the work
12574 area without moving the cursor only the draw of the row.
12575 (workAreaMotionNotify): fix jumping over high rows.
12577 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12579 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12582 2002-04-16 Juergen Vigna <jug@sad.it>
12584 * text2.C (setCursor): set also the irow().
12585 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12587 (cursorDown): support for locking an inset if the x_fix value goes
12588 inside it. That way I can transverse insets too with cursor up/down.
12590 * lyxrow.h: added irow helper function same as other (i) functions.
12592 * BufferView_pimpl.C (cursorPrevious):
12593 (cursorNext): fixed for insets!
12595 2002-04-15 Juergen Vigna <jug@sad.it>
12597 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12598 position otherwise it is wrong in some cases.
12600 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12601 inside the inset before the call.
12603 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12605 * buffer.[Ch] (getBibkeyList): make it const.
12607 2002-04-12 Juergen Vigna <jug@sad.it>
12609 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12611 * text2.C (getCursorX): new helper function
12612 (setCursor): compute also ix_
12613 (setCursorFromCoordinates): set also ix.
12615 * lyxcursor.h: added ix_ and helper functions.
12617 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12619 * buffer.C (insertStringAsLines): dont break paragraph if the this
12620 paragraph is inside an inset which does not permit it!
12622 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12623 also with no chars on this paragraph.
12624 (paintRowText): only paint stuff if it's inside the workarea!
12626 * paragraph.C (breakParagraph): honor keepempty flag and break the
12627 paragraph always below not above.
12629 * BufferView2.C (unlockInset): update the paragraph layout on inset
12630 unlock as we changed paragraph in such a case.
12632 * lyxfind.C (LyXFind): clear the former selection if not found!
12634 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12635 again called in insertChar().
12637 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12638 an inset which uses the whole row!
12639 (rightMargin): ditto.
12640 (insertChar): force a rebreak if we inserted an inset!
12642 2002-03-28 Herbert Voss <voss@lyx.org>
12644 * lyxlength.[Ch]: add inBP() to get the right PS-point
12645 units (BigPoint). With inPixels we have rounding errors
12647 2002-04-11 Juergen Vigna <jug@sad.it>
12649 * text2.C (setCursorFromCoordinates): set iy to the right value.
12650 (setCursor): add check if row->previous exists!
12652 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12653 an old float_type as this was the case in the old code!
12655 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12657 * BufferView2.C (showLockedInsetCursor): use iy
12658 (fitLockedInsetCursor): ditto
12660 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12661 locked insets as there we have the right value now.
12663 * lyxcursor.C: added iy_ variable and iy functions to set to the
12664 baseline of cursor-y of the locked inset.
12666 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12667 (setCursor): fixed for insets which need a full row.
12669 * text.C (rowLastPrintable): don't ignore the last space when before
12670 an inset which needs a full row.
12671 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12672 as last character of a row when before a inset which needs a full row.
12674 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12676 * version.C.in: update date
12678 * text2.C (fullRebreak): try to always return true and see what
12681 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12683 * MenuBackend.C (expand): use Floating::listName
12685 * FloatList.C (FloatList): add listName argument to the built-in
12688 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12689 text associated with the float.
12691 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12693 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12695 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12697 * ShareContainer.h: add a couple of missing typenames.
12699 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12701 * lyxrc.C (getDescription): use _() correctly rather than N_().
12703 2002-03-28 Herbert Voss <voss@lyx.org>
12705 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12706 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12708 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12710 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12711 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12713 2002-03-29 Juergen Vigna <jug@sad.it>
12715 * lyxfunc.C (dispatch): add a missing fitCursor call.
12717 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12718 it was scrolled by a cursor move, so return the bool status.
12720 * BufferView.C (fitCursor): return the bool flag also to the outside
12721 world as this is needed.
12723 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12725 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12726 call the edit() as it is not needed (and wrong) IMO.
12727 (workAreaButtonPress): set the screen_first variable before evt.
12728 unlock the inset as this may change screen_first and then we have
12729 a wrong y position for the click!
12731 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12733 * MenuBackend.C (expand): another translation that I missed
12735 2002-03-28 Juergen Vigna <jug@sad.it>
12737 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12739 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12741 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12743 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12745 * MenuBackend.C (expand): fix export/view/update when there is no
12748 2002-03-27 Herbert Voss <voss@lyx.org>
12750 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12753 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12755 * bufferview_funcs.C (currentState): only show paragraph number
12756 for is DEVEL_VERSION is set.
12758 * lyxfunc.C (dispatch): put warning in INFO channel
12760 * MenuBackend.C (expand): translate the name of floats
12762 * FloatList.C (FloatList): mark the float names for translation
12764 * converter.C (convert): use LibScriptSearch
12766 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12768 * MenuBackend.C (defaults): fix default menu (we might as well get
12771 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12773 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12776 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12778 * lyxvc.C: reorder includes.
12780 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12782 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12785 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12787 * CutAndPaste.C: change layouts earlier on paste
12788 to avoid crashing when calling getFont()
12790 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12792 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12795 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12797 * WorkArea.C: remove 'Pending' debug message.
12799 * most files: ws cleanup
12801 * buffer.[Ch]: ws changes
12803 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12805 2002-03-21 Juergen Vigna <jug@sad.it>
12807 * tabular.C (SetMultiColumn): collapse also the contents of the
12808 cells and set the last border right. Added a Buffer const * param.
12810 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12812 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12815 2002-03-19 Juergen Vigna <jug@sad.it>
12817 * text2.C (clearSelection): reset also xsel_cache.
12819 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12820 where it needs to be called (John tells us to do so too :)
12821 (selectionLost): reset sel_cache.
12823 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12825 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12827 * text2.C (setCursorIntern): put debuging code in INSETS channel
12829 2002-03-19 André Pönitz <poenitz@gmx.net>
12831 * lyxfunc.C: tiny whitespace change
12833 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12835 * ToolbarDefaults.C (init):
12836 * LyXAction.C (init):
12838 * BufferView_pimpl.C (Dispatch):
12839 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12841 2002-03-19 Allan Rae <rae@lyx.org>
12843 * exporter.C (Export): removeAutoInsets before doing anything else.
12844 While I've just introduced a dependency on BufferView this really is
12845 the best place to clean the buffer otherwise you need to cleanup in
12846 a dozen places before calling export or cleanup in a dozen functions
12849 * converter.C (runLaTeX):
12850 (scanLog): Better handling of removeAutoInsets and screen updates.
12852 * lyxfunc.C (dispatch): small whitespace changes
12854 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12856 * WorkArea.C (C_WorkAreaEvent): return a value.
12857 (event_cb): return 1 if we handled the event, 0 otherwise.
12859 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12861 2002-03-18 Juergen Vigna <jug@sad.it>
12863 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12864 (GetAdditionalWidth): ditto.
12865 (RightLine): ditto.
12868 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12869 inset if we're there actually (probably not used right now but this
12870 is the direction to go for unifying code).
12871 (paste): disable code to clear the selection.
12873 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12874 inside an InsetText and move the check further up as it is in the
12877 * text2.C (pasteSelection): set a selection over the pasted text.
12879 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12881 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12882 and libgraphics to build on Cygwin.
12884 2002-03-15 Juergen Vigna <jug@sad.it>
12886 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12887 inserting an Inset into the paragraph. I know this is not the best
12888 fix but we already use current_view in CutAndPaste so we will remove
12889 all of it's using at the same time.
12891 * buffer.C (sgmlError): deactivated function till it is rewritten in
12892 the right mode, now it can create problems.
12894 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12895 before accessing it.
12897 2002-03-14 Juergen Vigna <jug@sad.it>
12899 * undo_funcs.C (textHandleUndo): do the right thing when updating
12900 the inset after the undo/redo.
12902 * text2.C (setCursor): just some testcode for #44 not ready yet.
12904 * undo_funcs.C (textHandleUndo): set the next() and previous()
12905 pointers of the paragraph to 0 before deleting otherwise we have
12906 problems with the Paragraph::[destructor].
12908 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12909 on a paragraph insertion.
12911 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12913 * buffer.C (asciiParagraph): use += operator for char append to
12916 * paragraph.C (getFontSettings): compare >= not just >
12917 (highestFontInRange): ditto
12920 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12922 * paragraph.C: change several algorithm to be more appripriate for
12923 the problem domain. This is lookip in FontList and in the InsetList.
12925 2002-03-13 André Pönitz <poenitz@gmx.net>
12928 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12930 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12935 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12937 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12939 * Painter.C (display): anon helper function, adjust code for this
12941 (pixmap): remove function.
12943 * Painter.h: remove private display variable.
12945 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12947 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12949 * WorkArea.[Ch]: remove figinset_canvas cruft.
12951 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12953 * lyxtextclass.C (operator): add one item cache optimization.
12955 * bufferlist.h: doxy changes
12957 * bufferlist.C: ws changes
12959 * DepTable.[Ch] (ext_exist): place const in the right spot.
12961 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12963 (workAreaExpose): call resizeInsets when the with BufferView changes.
12964 (Dispatch): adjust for protectedBlank removal
12965 (specialChar): call updateInset if the insert went ok.
12967 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12968 specialChar instead.
12970 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12972 * BufferView.h: doxy change
12974 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12976 * lyxtextclass.C (operator[]): remove non-const version
12977 (defaultLayout): remove non-const version
12979 2002-03-12 Juergen Vigna <jug@sad.it>
12981 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12982 did resize the LyXText too.
12984 * buffer.C (readLyXformat2): set layout information on newly allocated
12987 * tabular.C (OldFormatRead): set layout information on the paragraph.
12989 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
12991 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12993 2002-03-11 Juergen Vigna <jug@sad.it>
12995 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12997 (resizeCurrentBuffer): force also the insets to resize themselfes.
12998 (moveCursorUpdate): fixed up for InsetText.
13000 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13003 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13004 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13005 value of Dialogs::tooltipsEnabled().
13006 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13008 2002-03-08 Juergen Vigna <jug@sad.it>
13010 * BufferView_pimpl.C (updateInset): update inset inside inset also
13011 if it isn't inside theLockingInset().
13013 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13015 * buffer.C (asciiParagraph): redo some of the word and line length
13017 (getLists): look for Caption instead of caption.
13019 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13021 * buffer.C (Buffer): initialize niceFile to true
13023 (makeLinuxDocFile):
13024 (makeDocBookFile): make sure niceFile is true on exit
13026 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13028 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13030 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13032 * LyXSendto.C: remove.
13033 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13034 * lyx_gui.C: remove now-redundant comment.
13035 * ColorHandler.h: remove forward declaration of class WorkArea.
13036 * lyxfunc.C: remove #include "WorkArea.h".
13038 2002-03-07 Juergen Vigna <jug@sad.it>
13040 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13041 got moved away with the DEPM and also set the inset_owner always
13042 right which before could have been omitted.
13044 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13046 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13047 wanted layout is not found.
13049 2002-03-07 Juergen Vigna <jug@sad.it>
13051 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13053 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13055 * paragraph.C (breakParagraph): use default layout not layout of
13057 (Paragraph): clear ParagraphParameters.
13059 2002-03-06 Juergen Vigna <jug@sad.it>
13061 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13062 otherwise it would not be a valid lenght. Fixed a special case in
13063 the minipage compatibility read where we end the document with a
13066 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13067 was set as it could be 0 for InsetTexts first entry.
13069 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13071 * paragraph.C (writeFile): if layout is empty write out
13072 defaultLayoutName().
13074 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13075 file without named layout we set layout to defaultLayoutName().
13077 2002-03-06 Juergen Vigna <jug@sad.it>
13079 * CutAndPaste.C (copySelection): set layout for new paragraph.
13081 * text.C (prepareToPrint): leave ERT inset left aligned
13082 (leftMargin): don't indent paragraphs inside ERT insets
13084 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13086 * paragraph.C (breakParagraph): dont call clear do the work manually
13088 * paragraph.[Ch] (clear): remove function
13090 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13092 * paragraph.C (Paragraph): dont call clear, the work has already
13095 * lyxtextclass.C (operator): assert if n is empty
13097 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13098 work manually instead.
13100 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13102 * BufferView_pimpl.C: protect selectionLost against text == 0
13104 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13106 * text.C (breakParagraph): fix a setting layout to '0' problem.
13108 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13110 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13111 final location of file, for the included files, and graphics.
13113 2002-03-05 Juergen Vigna <jug@sad.it>
13115 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13117 2002-03-04 Juergen Vigna <jug@sad.it>
13119 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13121 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13122 last column of multicolumn cells.
13123 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13125 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13127 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13128 file if it doesn't go to a temporary file.
13130 * buffer.C (sgmlOpenTag):
13131 (sgmlCloseTag): remove extra newline insertion.
13133 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13135 * text.C (getRowNearY): comment out debug msg
13137 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13139 * text2.C: first -> first_y
13141 * text.C (getRowNearY): add some attemts at a possible
13142 optimization, not working.
13144 * tabular.[Ch]: add BufferParams to several function so that newly
13145 created paragraph can be initialized to he default layotu for the
13148 * tabular-old.C (ReadOld): add buf->params to call of Init
13150 * screen.C: rename text->first to text->first_y
13152 * paragraph.C (breakParagraph): always set layout in the broken
13155 * lyxtextclass.C (Read): remove lowercase
13158 (delete_layout): ditto
13160 * lyxtext.h: rename first -> first_y
13162 * lyxlayout.C (Read): remove lowercase
13165 (obsoleted_by): ditto
13167 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13169 * buffer.C (insertErtContents): add params are to InsetERT
13170 (parseSingleLyXformat2Token): add code to check if a paragraphs
13171 layout really exist.
13172 (parseSingleLyXformat2Token): add params to several inset
13174 (asciiParagraph): remove lowercase, do the layout comparisons with
13177 * BufferView_pimpl.C (cursorNext): first -> first_y
13178 (resizeCurrentBuffer): first -> first_y
13179 (updateScrollbar): first -> first_y
13180 (scrollCB): first -> first_y
13181 (workAreaMotionNotify): first -> first_y
13182 (workAreaButtonPress): first -> first_y
13183 (checkInsetHit): first -> first_y
13184 (cursorPrevious): first -> first_y
13185 (cursorNext): first -> first_y
13186 (Dispatch): add buffer_->params to severl inset contructors
13188 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13190 * lyxlayout.C (Read): remove some debug info that I forgot.
13192 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13193 clean up the code slightly.
13194 (makeLinuxDocFile): ditto
13195 (makeDocBookFile): ditto
13197 * text2.C: layout as string
13199 * text.C: layout as string
13201 * paragraph_pimpl.C: layout as string
13203 * paragraph.[Ch]: layout as string
13205 * lyxtextclasslist.[Ch]: layout as string
13207 * lyxtextclass.[Ch]: layout as string
13209 * lyxtext.h: layout as string
13211 * lyxlayout.[Ch]: layout as string
13213 * lyx_cb.C: layout as string
13215 * bufferview_funcs.C: layout as string
13217 * bufferparams.C: layout as string
13219 * buffer.C: layout as string
13221 * LyXView.[Ch]: layout as string
13223 * LaTeXFeatures.[Ch]: layout as string
13225 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13227 * BufferView_pimpl.C: change current_layout to string, remove
13232 (workAreaButtonRelease): layout as string
13234 * BufferView2.C (unlockInset): adjust
13236 * vspace.C (asLatexCommand): use an explict temp variable.
13238 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13240 * Makefile.am: use FRONTEND_*
13242 2002-03-01 Juergen Vigna <jug@sad.it>
13244 * tabular.C (SetWidthOfMulticolCell): changed to something better
13245 I hope but still work in progress.
13246 (recalculateMulticolumnsOfColumn): renamed function from
13247 recalculateMulticolCells as it is more appropriate now.
13248 (SetWidthOfCell): calculate multicols better.
13250 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13252 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13254 * lyxfunc.C (processKeySym): print sequence also if it is
13255 `deleted' (complete)
13257 * kbsequence.C (print): print sequence even if it is deleted
13258 (complete would be a better word, actually).
13260 * lyxfunc.C (dispatch): print complete options after a prefix key
13262 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13264 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13266 * text2.C (setCharFont): eliminate setCharFont code duplication.
13268 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13270 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13271 LFUN_TABULAR_FEATURE (bug #177)
13273 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13275 * Makefile.am: remove figure.h
13277 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13279 * Bufferview_pimpl.C:
13291 * text2.C: remove #include "lyx_gui_misc.h".
13293 * LaTeX.C: added #include <cstdio>
13295 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13297 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13298 that the paragraph following this one can have.
13300 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13302 * vspace.C (asLatexCommand): fix bogus gcc warning
13304 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13306 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13308 * text2.C (setLayout): get rid of redundant code
13310 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13312 * text2.C (incDepth): make sure depth cannot be increased beyond
13315 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13317 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13318 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13320 * PainterBase.h (image):
13321 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13322 a LyXImage const *.
13324 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13328 * BufferView_pimpl.C:
13329 * BufferView_pimpl.h:
13349 * sp_spell.C: remove fig inset, and the crap house of
13350 cards that follows it
13352 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13357 * os2_errortable.h:
13358 * nt_defines.h: move .h into support/
13360 * vms_defines.h: remove
13362 * WorkArea.C: add space in debug output
13366 * buffer.C: add WITH_WARNINGS
13370 * bufferlist.C: s/retrive/retrieve/, add docs
13379 * chset.C: add docs
13381 * lyxgui.C: add ID to X error handler
13383 * lyxtestclass.c: fix typo
13385 2002-02-26 Juergen Vigna <jug@sad.it>
13387 * tabular_funcs.C (write_attribute): changed so that some default
13388 attributes are not written at all.
13389 (getTokenValue): set default values before trying to read the
13390 value so we have the return value always set as default if we don't
13391 find the token we search for.
13393 * tabular.C (Write): write bools as bools not as strings!
13395 2002-02-22 Juergen Vigna <jug@sad.it>
13397 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13398 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13400 * text.C (leftMargin): don't add an indent for paragraphs inside
13401 tabular cells (fix #208).
13403 2002-02-21 José Matos <jamatos@fep.up.pt>
13405 * tabular.C (docBook): fixed support for long tables.
13407 2002-02-20 Juergen Vigna <jug@sad.it>
13409 * text2.C (getFont): get the drawing font of the Inset if this
13410 paragraph is inside an inset (only important for InsetERT for now).
13412 * buffer.C (insertErtContents): use new lanugage params in ERT
13415 * CutAndPaste.C: commenting out seemingly uneeded code.
13417 2002-02-19 Allan Rae <rae@lyx.org>
13419 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13420 Iterators might be simple to use but they also get invalidated.
13421 (removeAutoInsets): renamed saved cursor tracking variables and added
13422 some comments to clarify what everything does.
13424 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13431 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13432 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13435 * vc-backend.h: remove #include "support/syscall.h"
13439 * converter.C: rearrange #includes in Lars' approved fashion.
13441 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13442 forward declare class Timeout in the header file.
13444 * XFormsView.C: changes due to the above.
13446 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13447 similar to LyXView.
13449 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13450 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13452 2002-02-18 José Matos <jamatos@fep.up.pt>
13454 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13457 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13459 * a lot of small ws changes
13460 * add a lot of using std::XXX
13461 * use std construcs some places where approp.
13462 * use some exisint stuff from lyxfunctional where approp.
13463 * Make file changes to use partial linking (lets test this now...)
13465 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13469 remove #include "support/syscontr.h" as it's redundant. Always has been.
13477 change Systemcalls::System to Systemcalls::Wait and
13478 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13479 No change of functionality, just reflects the stripped down Systemcalls
13482 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13484 * debug.[Ch]: add a GRAPHICS type to the enum.
13486 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13488 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13490 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13493 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13495 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13496 match the changes below.
13498 * text2.C (toggleInset): if there is not editable inset at cursor
13499 position, try to see if cursor is _inside_ a collapsable inset
13502 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13504 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13505 document menu has a nice checkbox
13507 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13509 * lyxlength.C (asLatexString): change PW to output as percent of
13512 * lengthcommon.C: change '%' to 't%'
13514 * lyxfunc.C (dispatch): a few comments from Martin
13516 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13520 * BufferView_pimpl.h:
13521 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13524 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13526 * vspace.C (inPixels): fix compiler warning
13528 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13530 * lyxfunc.C (getStatus): fix status message for disabled commands.
13532 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13534 * BufferView_pimpl.C: fix crash on close buffer
13535 during selection (#227)
13537 2002-01-27 Herbert Voss <voss@lyx.org>
13539 * buffer.C: link old Figure to new graphic inset
13541 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13543 * FontLoader.C (getFontinfo): Change the latex font names in order
13544 to match the names of type1inst.
13546 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13548 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13550 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13551 (extchanged): ditto
13553 (remove_files_with_extension): ditto
13554 (remove_file): ditto
13557 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13558 document is smaller than the work area height. Do not initialize
13559 static variables to 0.
13561 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13563 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13565 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13566 LFUN_LAYOUT_PARAGRAPHS.
13568 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13569 tabular. It is possible to provide a possible cell, which will
13570 typically be the actcell from the corresponding insettabular
13572 * lyxfunc.C (getStatus): small cleanup; disable
13573 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13576 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13578 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13580 * paragraph.C (startTeXParParams):
13581 (endTeXParParams): new methods. The LaTeX code to
13582 start/end paragraph formatting
13583 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13584 empty (fixes bug #200)
13586 * vspace.C (inPixels): adapt to the change below
13587 (inPixels): [later] more cleanups (remove unused variables)
13589 * lyxlength.C (inPixels): change to use a width and a height as
13592 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13594 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13595 Replaced with \paperwidth
13597 * DepTable.C (insert): add std:: qualifier
13599 2002-01-18 Allan Rae <rae@lyx.org>
13601 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13604 * text.C (drawInset): Turned out I didn't know enough about how
13605 rebreaking worked. This fixes most of the redraw problems. I see
13606 an occasional cursor trail when a line is broken now and the cursor
13607 placement can seem out by a few pixels also after a rebreak.
13609 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13611 * buffer.C (parseSingleLyXformat2Token): update because minipage
13612 width is now a LyXLength
13614 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13616 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13619 2002-01-17 Juergen Vigna <jug@sad.it>
13621 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13623 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13624 is set correctly and the inset is updated correctly.
13626 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13628 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13629 the beginning of the loop.
13631 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13633 * lyxrc.C: improve help for use_scalable_fonts
13635 2002-01-17 Allan Rae <rae@lyx.org>
13637 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13639 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13641 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13642 make sure to set their inset_owner to the right value (bug #171)
13644 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13647 * DepTable.C: Implement mtime checking to reduce time spent doing
13650 2002-01-16 Juergen Vigna <jug@sad.it>
13652 * tabular.C (GetAdditionalHeight): one of error fixed.
13654 * lyxrc.C (output): small fix in writing use_pspell.
13656 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13658 * sp_base.h: #include LString.h
13660 2002-01-16 Allan Rae <rae@lyx.org>
13662 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13663 Can someone check this please?
13665 * text.C (drawInset): It was possible that p.row would be removed by
13666 breakAgainOneRow upsetting a few other settings. There may be another
13667 small tweak possible by setting need_break_row = 0 when p.row has been
13668 removed but I don't know enough about the logic here.
13670 2002-01-15 Allan Rae <rae@lyx.org>
13672 * text.C (insertChar): removed conditional truism.
13674 * BufferView2.C (removeAutoInsets): More tweaks.
13675 cur_par_prev could be a stray pointer. Check for trailing empty line
13676 in case last line was cur_par and only had an error inset on it.
13678 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13680 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13683 * vc-backend.C (most methods):
13684 * exporter.C (Export):
13685 * converter.C (convert):
13687 * LyXSendto.C (SendtoApplyCB):
13688 * lyxfunc.C (dispatch):
13692 * lyx_cb.C (AutoSave):
13694 * BufferView_pimpl.C (MenuInsertLyXFile):
13695 * buffer.C (runChktex): use Buffer::filePath().
13697 * buffer.h: rename filename to filename_; rename filepath to
13698 filepath_ and make it private
13699 (filePath): new method
13701 * buffer.C (writeFile): use fileName()
13704 * lyx_main.C (init): fix starting of LyX when the binary is a
13705 link from so,ewhere else.
13707 * minibuffer.C: include <cctype> for isprint
13709 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13711 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13712 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13713 name clash with InsetCollapsable's width function.
13715 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13717 * lastfiles.C: include <iterator>
13719 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13721 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13724 * buffer.C (makeLaTeXFile): ditto.
13725 Also make loop operation more transparent.
13727 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13729 * ToolbarDefaults.C: remove trailing comma closing namespace.
13731 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13733 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13736 * trans.C (Load): comment out unused variable, allowed.
13738 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13740 * minibuffer.[Ch] (append_char): new method to recieve input from the
13741 drop-down completion browser. If a key was pressed, then recieve this
13742 char and append it to the existing string.
13743 (peek_event): modify the positioning data passed to the completion
13744 browser so that it can be placed above the minibuffer rather than below.
13745 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13747 * LyXAction.C (init): alloe error-next for readonly documents.
13749 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13752 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13754 * bufferlist.C (readFile): create the buffer _after_ checking that
13757 * lyxfunc.C (verboseDispatch): fix handling of arguments
13759 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13761 * lyxrc.C: use string::erase() instead of initializing to "".
13764 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13766 * BufferView_pimpl.h:
13767 * BufferView_pimpl.C:
13770 * text2.C: tell X when we have made a selection for copying
13772 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13774 * BufferView_pimpl.C (MenuInsertLyXFile):
13775 * lyxfunc.C (menuNew):
13777 (doImport): add shortcuts to directory buttons
13779 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13782 * lyxfunc.C (setStatusMessage):
13783 (getStatusMessage): new methods
13784 (getStatus):use setStatusMessage instead of setErrorMessage
13785 (dispatch): when function is disabled, set error message here
13786 [instead of in getStatus previously]
13788 * BufferView_pimpl.C (workAreaButtonRelease): update
13789 toolbar/menubar here too.
13791 2002-01-13 Allan Rae <rae@lyx.org>
13793 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13794 Now seems indestructible. Remaining task is to audit all other
13795 code affected by deleteEmptyParagraphMechanism. One small quirk
13796 left is that an empty document with an error in the preamble can
13797 be made to report an error but no error box appears. I don't know
13799 (removeAutoInsets): Improved comments.
13801 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13804 * Thesaurus.C: update for Aiksaurus 0.14
13806 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13808 * text2.C (firstParagraph): removed member function, all uses
13809 replaces with ownerParagraph
13810 (redoParagraphs): here
13811 (updateInset): here
13812 (toggleAppendix): here
13813 * BufferView2.C (insertErrors): here
13814 (setCursorFromRow): here
13816 2002-01-13 Allan Rae <rae@lyx.org>
13818 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13819 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13820 There is still a way to segfault this although you may have to do this
13821 multiple times: Have an InsetERT with an unknown command in it.
13822 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13823 <down-arrow>, <Enter> again, View->DVI, BANG!
13825 * text2.C (setCursor):
13826 (deleteEmptyParagraphMechanism):
13827 * lyxtext.h (setCursor):
13828 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13829 Making use of the return value may help fix other bugs.
13831 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13833 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13835 * LyXView.C (updateMenubar): call MenuBar::update here
13836 (updateToolbar): but not here
13837 (showState): do not update toolbar/menubar
13839 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13840 should need to care about that.
13842 * lyxfunc.C (verboseDispatch): simplify a bit
13843 (getStatus): have a version which takes a pseudoaction, and
13844 another which requires a (kb_action,string).
13846 * LyXAction.C (retrieveActionArg): make it work also when action
13847 is not a pseudo-action.
13848 (getActionName): simplify a bit
13851 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13853 * lyxfunc.C (verboseDispatch): new families of methods with
13854 several ways to specify a command and a bool to indicate whether
13855 the command name and shortcut should be displayed in minibuffer
13856 (eventually, we could extend that to a finer bitmask like
13857 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13858 (dispatch): the pristine dispatch command which just, well,
13859 dispatchs! Note it still sets its result to minibuffer; I'm not
13862 * lyxfunc.h: remove setHintMessage
13864 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13866 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13868 * BufferView_pimpl.C (specialChar): delete new inset if we have
13869 not been able to insert it.
13871 * kbmap.C: revert to using int instead of kb_action, since all we
13872 are dealing with is pseudo-actions.
13874 * LyXAction.C (searchActionArg): change to return int instead of
13875 kb_action, since the result is a pseudoaction.
13877 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13879 * buffer.C (insertErtContents): Fix (partially) the font bug.
13881 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13883 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13884 as the other one is broken on my machine!
13886 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13889 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13891 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13893 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13894 reflect their actual use. Provide compatibility code for older lyxrc
13897 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13899 change names of popup font variables in line with the changes to lyxrc.C
13901 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13903 * buffer.C (asciiParagraph): avoid outputing a word twice after
13906 * lyxrc.C (getDescription): document that document_path and
13907 template_path can be empty.
13909 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13911 * LaTeXFeatures.C (getMacros):
13912 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13914 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13916 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13918 (getPackages): rename feature "floats" to "float". Use an array to
13919 iterate over 'simple' features (i.e. just a \usepackage). Add
13920 handling of "amsmath" (renamed from "amsstyle").
13922 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13924 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13927 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13929 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13930 FuncStaus::FuncStatus & FuncStaus::some_method().
13932 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13934 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13935 of the func_satus stuff. Edited and massaged in various ways by
13938 * lyxfunc.C (getStatus): use FuncStatus
13940 2002-01-08 Juergen Vigna <jug@sad.it>
13942 * text.C (nextBreakPoint): use function Inset::isChar().
13944 * paragraph.C (TeXOnePar): use function
13945 Inset::forceDefaultParagraphs.
13947 * buffer.C (latexParagraphs): use function
13948 Inset::forceDefaultParagraphs.
13950 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13952 * lyx_gui.C (init): set the style of the menu popups to
13953 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13955 2002-01-07 Juergen Vigna <jug@sad.it>
13957 * text.C (setHeightOfRow): small fix
13958 (prepareToPrint): don't look at alignment if we don't have the place
13961 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13963 * box.C: New file. Move the Box methods and functions out of box.h,
13964 following Lars' suggestion.
13966 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13968 * box.h: #include "support/LOstream.h", needed for inlined function.
13971 * lyxtextclasslist.C: added some using std declarations.
13973 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13975 * box.h: make signed dimensions to allow insets wider than
13976 the screen (bug #162)
13978 * BufferView_pimpl.C: add some insetHit debug
13980 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13982 * vc-backend.C: add FIXME
13984 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13986 * lyxfunc.C (getStatus): enable code for showing math font status
13989 2002-01-07 Juergen Vigna <jug@sad.it>
13991 * text.C (nextBreakPoint): removed debug output not needed anymore.
13993 2002-01-06 Juergen Vigna <jug@sad.it>
13995 * text.C (nextBreakPoint): fixed up this function we had this bug
13996 since ever but now hopefully we break row better.
13997 (insertChar): we have to check if an inset is the next char as it
13998 could now happen that a large inset is causing a break.
14000 2002-01-05 Juergen Vigna <jug@sad.it>
14002 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14003 if it doesn't like to be drawed.
14005 2002-01-04 Juergen Vigna <jug@sad.it>
14007 * BufferView2.C (lockInset): forgot to set a cursor.
14009 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14011 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14013 * FormMathsPanel.C:
14016 * form_maths_panel.C:
14017 * form_maths_panel.h:
14018 * form_maths_panel.fd: implemented sub- and super- buttons in math
14021 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14022 (or ^ space) to be used as in TeX (req'd by Andr�.
14024 * lyxfunc.C: Allow ^ and _ again to be used both as
14025 super/subscript (mathed) and as themselves (in text).
14027 2002-01-03 Allan Rae <rae@lyx.org>
14029 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14030 "LyX" or the filename of the current buffer if it has one. This is a
14031 modified form of John Levon's patch.
14033 * XFormsView.C (setWindowTitle): also set icon title.
14035 * LyXView.h (setWindowTitle): signature changed.
14036 * XFormsView.h (setWindowTitle): ditto.
14038 2002-01-02 Juergen Vigna <jug@sad.it>
14040 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14042 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14044 * screen.C (topCursorVisible): introduce a temp var for
14045 text->cursor.row(), handle the case where this row is null. (kindo
14048 * text2.C (setCursor): add a couple of asserts.
14050 * paragraph.h (inset_iterator): add -> operator
14052 * paragraph.[Ch] (autoDeleteInsets): remove member function
14054 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14055 cursor pos correctly and handle inset deletion by itself.
14056 (insertErrors): move iterator declaration out of for expression
14058 * lyxtextclass.C: add <algorithm>
14060 * Makefile.am: added the new files to sources, removed layout.C
14062 * layout.C: removed file
14064 * layout.h: remove LYX_DUMMY_LAYOUT
14066 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14070 * lyxtextclass.[Ch]:
14071 * lyxtextclasslist.[Ch]: new files
14073 * include order changes to a lot of files, also changes because of
14076 2001-12-27 Juergen Vigna <jug@sad.it>
14078 * buffer.C (asciiParagraph): more fixes.
14080 * tabular.C (ascii): make ascii export support export of only the
14081 data separated by a column-delimiter.
14082 (ascii): better support for ascii export.
14084 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14086 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14088 * tabular_funcs.C: use a "using std::getline" instead of the
14089 previous fix from Angus (necessary for cxx + lyxstring)
14091 2001-12-24 Juergen Vigna <jug@sad.it>
14093 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14095 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14096 problems. First check a minipage also if we have some ert-contents
14097 (not only on par->size(), second set the right depth of the paragraph
14098 on the relink to the root-paragraph-list!
14100 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14101 which then did not anymore update the main paragraphs on undo/redo!
14103 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14105 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14106 code. Support all font-changing funcs (even those which are not in
14107 menu currently). Support for reporting font settings in
14108 mathed (disabled until Andre provides a function on mathed's side).
14110 * func_status.h (toggle): small helper function to set toggle
14113 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14115 * tabular_funcs.C: getline -> std::getline
14117 2001-12-21 Juergen Vigna <jug@sad.it>
14119 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14120 accessed and could be 0 (I couldn't generate this but it seems
14123 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14125 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14126 * tabular_funcs.h: here and include iosfwd
14128 2001-12-20 Juergen Vigna <jug@sad.it>
14130 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14131 inside inset but undo_par was.
14133 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14135 * Thesaurus.C: always include <config.h> in sources.
14139 * box.h: do not include <config.h> in header files
14141 * text.C (paintLastRow): remove unused variable
14143 * text.C (transformChar):
14145 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14147 * Painter.C (text):
14148 * font.C (width): rewrite to use uppercase() instead of
14151 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14153 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14155 * lyxfind.C: clean up of find failure position change
14157 2001-12-20 Juergen Vigna <jug@sad.it>
14159 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14161 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14162 (TeXRow): added to LaTeX a single tabular row.
14163 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14164 (Latex): simplified and finally good LT-h/f support.
14165 (various_functions): just small adaptions for LT-h/f support.
14167 * tabular_funcs.[hC]: added and moved here all not classfunctions
14170 2001-12-19 Juergen Vigna <jug@sad.it>
14172 * tabular.[Ch]: better support for longtabular options (not finished
14175 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14177 * text.C (paintLastRow): use the label font instead of the font of
14178 the last character to compute the size of *_BOX. This makes more
14179 sense and avoids a crash with empty paragraphs.
14180 Use Painter::rectangle to draw EMPTY_BOX.
14182 2001-12-19 Juergen Vigna <jug@sad.it>
14184 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14185 the paragraphs if the replaced paragraph is not the first one!
14186 Tried to delete not used paragraphs but does not work yet so for
14187 now it's inside #ifdef's and by default off!
14189 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14191 * MenuBackend.C: include "lyx_main.h" instead of declaring
14192 lastfiles (actually was declared as LastFiles* instead of a
14195 2001-12-17 Juergen Vigna <jug@sad.it>
14197 * tabular.C (AppendColumn): applied John's fix
14199 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14203 * BufferView_pimpl.h:
14204 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14207 * box.h: new start of class for above
14209 * lyxfunc.C: ignore space-only minibuffer dispatches.
14210 Show the command name when it doesn't exist
14212 * minibuffer.C: don't add empty lines to the history
14214 * minibuffer.C: add a space on dropdown completion
14216 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14218 * text.C: fix line above/below drawing in insets
14220 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14222 * lyxlength.C (LyXLength): Initialize private variables.
14224 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14226 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14227 when inserting error insets.
14229 2001-12-13 Juergen Vigna <jug@sad.it>
14231 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14232 actually sometimes the before-paragraph.
14233 (setUndo): don't clear the redostack if we're not actually undoing!
14235 2001-12-06 Juergen Vigna <jug@sad.it>
14237 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14238 and fixed redoing of main paragraph, so we can use it now ;)
14240 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14242 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14244 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14247 2001-12-13 André Pönitz <poenitz@gmx.net>
14250 * undo_func.C: minor cleanup
14252 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14254 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14255 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14256 font in urw-fonts package which is marked as -urw-fontspecific and
14257 does not work (incidentally, changing the encoding in the
14258 fonts.dir of this package to -adobe-fontspecific fixes the
14261 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14262 is a crash when undoing first paragraph (Juergen, please take a
14263 look). THis does not mean the undo fix is wrong, just that it
14266 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14267 the (Paragraph*) version when needed instead of duplicating the
14270 * text.C (workWidth): use Inset::parOwner to find out where the
14271 inset has been inserted. This is a huge performance gain for large
14272 documents with lots of insets. If Inset::parOwner is not set, fall
14273 back on the brute force method
14275 * paragraph_pimpl.C (insertInset):
14276 * paragraph.C (Paragraph):
14277 (cutIntoMinibuffer): set parOwner of insets when
14278 inserting/removing them
14280 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14282 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14288 * mathed/formulabase.C:
14289 * mathed/math_cursor.[Ch]:
14290 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14293 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14295 * lyxlength.[Ch] (operator!=): new function
14297 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14299 * text.C (workWidth): use Inset::parOwner to find out where the
14300 inset has been inserted. This is a huge performance gain for large
14301 documents with lots of insets. If Inset::parOwner is not set, fall
14302 back on the brute force method
14304 * paragraph_pimpl.C (insertInset):
14305 * paragraph.C (Paragraph):
14306 (cutIntoMinibuffer): set parOwner of insets when
14307 inserting/removing them
14309 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14311 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14313 * tabular-old.C (getTokenValue):
14314 * tabular.C (getTokenValue):
14315 (write_attribute): new versions for LyXLength
14316 (everywhere): adjust the use of widths
14318 * tabular.h: change the type of widths from string to LyXLength
14320 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14322 * paragraph.C: fixed missing line number count when exporting
14323 Environments to LaTeX file
14325 * buffer.C: added informational message for checking line numbers.
14327 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14329 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14330 paragraph, do the 'double space' part, but not the 'empty
14333 * text.C (workWidth): small optimization
14334 (getLengthMarkerHeight): use minimal size for negative lengths.
14336 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14338 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14340 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14342 2001-12-11 André Pönitz <poenitz@gmx.net>
14345 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14347 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14349 * text2.C: keep selection on a setFont()
14351 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14353 * lyx_cb.C: another bv->text misuse, from insert label
14355 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14358 * kbsequence.C: re-instate nmodifier mask
14360 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14362 * lyx_main.h: make lyxGUI private.
14364 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14366 * lyxfind.C: place the cursor correctly on failed search
14368 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14370 * text.C (getLengthMarkerHeight): for small heights, the arrows
14371 are not always on top/bottom of the text
14372 (drawLengthMarker): smaller arrows; take the left margin in
14373 account; draw also vfills.
14375 (paintLastRow): remove special code for vfill and standard spaces,
14376 since everything is handled in drawLengthMarker now.
14378 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14380 * buffer.C (insertErtContents): try to handle font and language
14381 interaction a bit better.g
14383 * ColorHandler.C (updateColor): change the hash to cover the whole
14384 LColor enum, ws cleanup
14385 (getGCLinepars): ditto
14386 (getGCLinepars): only lookup in the linecache once.
14388 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14390 * iterators.C (operator++): Make the iterator more robust
14392 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14394 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14396 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14399 * text.C: better added space drawing
14401 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14404 * BufferView2.C: fix layout combo update on inset unlock
14406 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14408 * Makefile.am: don't compile unused files
14410 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14414 * LyXAction.C: remove old LFUN_LAYOUTNO
14416 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14418 * paragraph_pimpl.h:
14419 * paragraph_pimpl.C: isTextAt() doesn't need font param
14421 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14424 * lyxlex.C: little cleanup
14426 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14428 * BufferView_pimpl.C: fix insertAscii for insets
14430 2001-12-05 Juergen Vigna <jug@sad.it>
14432 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14433 set the right font on the "multi" paragraph paste!
14435 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14441 * lyxlength.C: remove out-commented code.
14443 * BufferView_pimpl:
14457 * vc-backend.C: change "while(" to "while ("
14459 * lyxlength.[Ch]: add zero function to check if length is zero or
14461 * lyxgluelength.C: use it
14463 2001-12-05 Allan Rae <rae@lyx.org>
14465 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14466 Works for 2.95.3, from what I understand of Garst's reports this should
14467 work for other g++ versions. We're screwed if the abs(int) definition
14468 changed between bugfix releases of gcc.
14470 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14472 * text.C: fix chapter label offset !
14474 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14477 * text.C: fix hfill at end of line, clean up
14479 2001-12-04 Juergen Vigna <jug@sad.it>
14481 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14482 that we force an update of the inset and it's owners if neccessary.
14484 2001-12-03 Juergen Vigna <jug@sad.it>
14486 * text.C (rowLast): simplified code
14488 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14490 * lyxfunc.C: fix show options on timeout
14492 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14494 * screen.C (topCursorVisible): scroll half a page when the cursor
14495 reached top of bottom of screen
14497 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14499 * minibuffer.C: deactivate on loss of focus
14501 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14503 * vspace.[Ch] (operator!=): add operator.
14505 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14507 * BufferView_pimpl.C: refuse to open an inset when
14508 there's a selection.
14510 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14512 * BufferView_pimpl.C: allow to click on RHS of full row insets
14514 2001-11-30 Juergen Vigna <jug@sad.it>
14516 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14517 insets for undo reasons.
14519 2001-11-28 André Pönitz <poenitz@gmx.net>
14521 * vspace.[Ch]: cosmetical changes
14523 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14533 * kbsequence.C: part re-write of old kb code
14536 * WorkArea.C: remove Lgb_bug_find_hack
14538 2001-11-30 José Matos <jamatos@fep.up.pt>
14540 * buffer.C (makeDocBookFile): add a comment to point a hack.
14541 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14542 Fixed a double write of labels.
14544 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14547 * LaTeX.h Fixed bug in LaTeX class where it would not
14548 re-run latex if no depfiles were changed, but the .dvi was removed.
14550 2001-11-28 André Pönitz <poenitz@gmx.net>
14552 * all the files from the change on 2001/11/26:
14553 use lyx::layout_type instead of LyXTextClass::size_type
14554 use lyx::textclass_type instead of LyXTextClassList::size_type
14556 2001-11-29 Juergen Vigna <jug@sad.it>
14558 * text.C: added support for paragraph::isFreeSpacing()
14560 * buffer.C: same as above
14562 * paragraph.h: inserted isFreeSpacing() function to enable
14563 FreeSpacing inside InsetERT.
14565 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14566 of the paragraph's in the cut/copy buffer to 0!
14568 * text2.C (removeRow): remove the assert as it can!
14570 * lyxtext.h: added helper function firstRow returning firstrow and
14571 made firstrow private again.
14573 * BufferView2.C (lockInset): don't relock if we're already locked!
14575 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14576 the only paragraph.
14577 (removeRow): added Assert::(firstrow)
14579 * debug.C: forgot to add INSETTEXT here.
14581 2001-11-28 Juergen Vigna <jug@sad.it>
14583 * sp_spell.C (initialize): changed error text to more general
14584 spellchecker command use (not only ispell!)
14586 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14588 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14590 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14592 * vspace.C: initialise lyxgluelength on failure
14594 2001-11-28 Allan Rae <rae@lyx.org>
14596 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14597 declaration & definition that looks like a function declaration.
14599 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14601 * BufferView2.C (copy):
14602 (copyEnvironment): do not clear the selection when doing a copy.
14604 * text.C (paintFirstRow): compilation fix
14606 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14608 * tabular.C (Latex): correct line count when writing latex.
14610 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14612 * paragraph_pimpl.h:
14613 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14616 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14620 * LColor.C: change vfillline->added_space
14622 * text.C: add markers and text for added space
14624 * vspace.C: fix comment
14626 2001-11-28 André Pönitz <poenitz@gmx.net>
14628 * paragraph.C: whitespace changes
14629 * all the other files from the change on 2001/11/26:
14630 change *::pos_type into lyx::pos_type
14632 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14634 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14635 language of the document when inserting error insets.
14637 2001-11-26 André Pönitz <poenitz@gmx.net>
14639 * BufferView_pimpl.[Ch]:
14647 * paragraph_pimpl.[Ch]:
14650 * text2.C: reduce header dependencies, introduce type for positions
14652 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14654 * <various>: change to use Alert.h
14656 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14658 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14659 when encountering an unknown token.
14660 (readLyXformat2): Show an error message if there were unknown tokens.
14662 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14665 * BufferView_pimpl.C:
14669 * text2.C: use par->isInset()
14671 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14673 * paragraph_pimpl.h:
14674 * paragraph_pimpl.C: cleanup
14676 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14678 * text2.C (removeRow):
14679 * text.C (setHeightOfRow): remove useless (and costly) call to
14682 2001-11-20 Allan Rae <rae@lyx.org>
14684 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14685 Now need Inset*::checkInsertChar() to return true for appropriate
14686 cases so that the characters in the minibuffer will actually be
14689 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14691 * text.C: change the order of the includes.
14692 (workWidth): initialize it at once.
14693 (workWidth): make maxw unsigned
14694 (setHeightOfRow): remove unused variable (inset)
14695 (selectSelectedWord): remove unused variable (inset)
14696 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14698 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14700 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14701 server is not running.
14703 (closeConnection): add debug info when server is disabled.
14705 * ColorHandler.C (getGCForeground): send debug message to GUI
14708 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14710 * kbmap.C (bind): modify because return conventions of
14711 kb_sequence::parse have changed.
14713 * kbsequence.C (parse): only ignore spaces and not any stupid
14714 control character. This avoids tests like s[i] <= ' ', which are
14715 guaranteed to fail with 8bit characters and signed chars.
14716 Change return code to string::npos when there have been no error
14717 (0 was a bad idea when error is at first character)
14719 2001-11-14 José Matos <jamatos@fep.up.pt>
14722 * buffer.C (simpleDocBookOnePar): removed unused argument.
14724 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14726 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14727 insets which are part of a word. Paragraph::isLetter takes care of
14728 that now. Use Paragraph::isInset to identify insets.
14729 (selectSelectedWord): do not test for hyphenation break.
14731 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14732 that protected spaces are considered as spaces.
14734 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14737 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14740 * lyxserver.C: fix it. and small cleanup.
14742 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14744 * BufferView_pimpl.C: use inline helpers
14747 * LaTeXFeatures.C: fix typos
14750 * Spacing.C: move spacing_string into class
14752 * ToolbarDefaults.C: move stuff into namespace anon
14754 * layout.h: update enum
14756 * lyxfunc.C: use better debug
14758 * minibuffer.h: fix typo
14762 * WorkArea.C: add and use Debug::WORKAREA
14766 * text2.C: code re-organisation, inline helpers
14768 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14770 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14771 std::vector.empty().
14773 2001-11-09 Allan Rae <rae@lyx.org>
14775 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14776 '\n's after tables. Tabular and ERT inset work now makes this no
14779 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14782 * minibuffer.C: fix crash, improve drop-down completion
14784 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14787 * lyxserver.C: invalidate fd's when doing endPipe()
14789 2001-11-08 José Matos <jamatos@fep.up.pt>
14791 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14792 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14795 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14797 2001-11-07 José Matos <jamatos@fep.up.pt>
14800 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14803 * buffer.C (sgmlOpenTag):
14804 * buffer.C (sgmlCloseTag): removed debug info.
14806 * buffer.h (sgmlOpenTag):
14807 * buffer.h (sgmlCloseTag): made public.
14809 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14811 * buffer.C (saveParamsAsDefaults):
14812 * lyx_cb.C (MenuLayoutSave): remove
14814 * LyXAction.C (init):
14816 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14818 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14820 * buffer.C (setPaperStuff): removed from here...
14822 * bufferparams.C (setPaperStuff): ... and moved there.
14824 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14828 * XFormsView.C: add support for drop-down completion
14830 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14832 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14835 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14837 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14840 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14842 * lyx_main.C: change ref to known bugs
14844 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14846 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14847 to work around older babel problems.
14849 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14851 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14853 2001-10-24 Juergen Vigna <jug@sad.it>
14855 * tabular-old.C (ReadOld): below variable changes reflected.
14857 * tabular.[Ch]: added ltType struct for longtable header/footer
14858 defines and changed all instances where they are used. Added
14859 future support for double top/bottom rows.
14861 2001-10-24 José Matos <jamatos@fep.up.pt>
14863 * buffer.h (docbookHandleCaption):
14864 * buffer.C (docbookHandleCaption): removed unused function.
14865 (makeDocBookFile): moved docbook supported version to v4.1.
14867 2001-10-24 José Matos <jamatos@fep.up.pt>
14870 * tabular.C (docbookRow): new function to export docbook code of a row.
14871 (DocBook): now honors the longtable flags.
14873 2001-10-23 José Matos <jamatos@fep.up.pt>
14876 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14877 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14879 * buffer.C (makeLinuxDocFile):
14880 (makeDocBookFile): reworked the preamble, more clean, and with
14881 support for lyx defined entities. Changed the document declaration
14882 to be more XML friendly.
14884 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14885 if we need to output XML that should be done with a filter.
14887 2001-10-22 Juergen Vigna <jug@sad.it>
14889 * sp_pspell.h (class PSpell): add alive function needed in the
14890 controller to see if the spellchecker could be started.
14892 2001-10-22 Juergen Vigna <jug@sad.it>
14894 * buffer.C (insertStringAsLines): modify the font for inserting
14895 chars in certain conditions by calling checkInsertChar(font).
14897 2001-10-19 Juergen Vigna <jug@sad.it>
14899 * text.C (workWidth): use getRow instead of wrong algorithm.
14900 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14902 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14907 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14909 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14911 * text.C (workWidth): do not search for the exact row when
14912 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14913 optimization for big documents.
14915 2001-10-18 Juergen Vigna <jug@sad.it>
14917 * text.C (workWidth): new function with added Inset * parameter.
14919 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14921 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14923 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14924 change return type of getColumnNearX.
14927 * text.C (changeRegionCase): use uppercase/lowercase instead of
14930 (rightMargin): simplify code by factoring out the uses of
14935 (appendParagraph): use Paragraph::size_type
14937 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14939 * vspace.C (asLatexString): add a missing break
14941 2001-10-15 Herbert Voss <voss@perce.de>
14943 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14945 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14947 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14950 2001-10-10 André Pönitz <poenitz@gmx.net>
14952 * lyxfunc.C: removed greek_kb_flag.
14954 2001-10-10 Herbert Voss <voss@perce.de>
14956 * lyx_main.C: delete global string help_lyxdir.
14958 2001-10-09 Herbert Voss <voss@perce.de>
14960 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14962 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14964 * lyx_main.C: added global string help_lyxdir.
14966 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14968 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14970 * lyxrc.C (set_font_norm_type): support iso8859-4
14972 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14974 * LaTeX.C (deplog): add another regex for MikTeX
14976 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14978 * lyxrc.C (set_font_norm_type): support iso8859-3
14980 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14982 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14984 * LaTeXFeatures.C: remove special case of french and index
14986 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14987 before \begin{document}). This solves several incompatibilities.
14989 2001-10-03 Garst Reese <reese@isn.net>
14991 * lyx_cb.C: change CheckTex error msg.
14993 2001-10-03 José Matos <jamatos@fep.up.pt>
14995 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14997 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14999 * .cvsignore: update
15001 * lyx_main.C (commandLineVersionInfo): use new style version info.
15003 * buffer.C (writeFile):
15005 (makeLinuxDocFile):
15006 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15008 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15010 * version.h: update to use stuff in version.C
15012 * version.C.in: new file. Contains version information determined
15013 at compile time. This is a merging of version.h and
15016 2001-10-03 Juergen Vigna <jug@sad.it>
15018 * BufferView_pimpl.C (update): don't change "dirty" status in
15021 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15023 * WorkArea.C (c-tor): re-position version string slightly.
15025 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15027 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15028 revert to previous code.
15030 WorkArea.[Ch]: (show, destroySplash): methods removed.
15032 WorkArea.C: rework code so that it's an amalgam of the codes before and
15033 after the splash screen was moved to WorkArea.
15035 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15038 * vspace.C (inPixels):
15041 * buffer.C (insertStringAsLines):
15042 (asciiParagraph): fix types to be large enough
15044 * lyxlex_pimpl.h: change member status from short to int
15046 * layout.h: fix type of endlabeltype
15049 * kbsequence.C (parse): change return type to string::size_type
15051 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15054 * Bullet.C (bulletSize):
15055 (bulletEntry): do not use short ints as parameters
15057 * BufferView2.C (insertLyXFile): change a char to an int.
15059 * WorkArea.C (WorkArea): remove unneeded floats in computation
15061 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15063 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15065 * paragraph.C (asString): Do not ignore newline/hfill chars when
15066 copying to the clipboard.
15068 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15070 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15071 after a multi-line inset.
15073 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15075 * paragraph.C (validate): Set NeedLyXFootnoteCode
15077 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15079 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15080 and decrease-error to decrease.
15082 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15084 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15085 it more readable (should be equivalent)
15087 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15089 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15091 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15093 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15094 of a cursor (row, etc.) after a character has been deleted
15095 (deleteEmptyParagraphMechanism): call the method above on _all_
15096 cursors held by the LyXText when a double space has been
15099 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15101 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15103 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15105 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15106 background. Use greyOut() and the new show() methods to toggle between
15107 the foreground and background. Add code to remove the splash after
15108 its initial showing.
15110 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15111 (create_forms): no longer call Dialogs::showSplash.
15113 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15115 * .cvsignore: add version_info.h
15117 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15119 * version_info.h.in: new file
15121 * Makefile.am: add version_info.h.in
15123 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15124 version_info.h instead of VERSION_INFO
15126 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15128 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15129 The ERT inset now returns string().
15131 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15133 * lyxtext.h, text.C (selectNextWord): renamed as
15134 selectNextWordToSpellcheck.
15136 * text.C (selectNextWordToSpellcheck): Modified to not select
15137 words inside an ERT inset.
15139 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15141 * lyx_cb.C (MenuLayoutSave): change a bit the question
15143 * sp_base.h: include <sys/types.h>
15145 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15147 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15149 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15151 * several files: fix typos in user-visible strings
15153 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15155 * text2.C (pasteSelection): do not set the selection, since it
15156 will be cleared later. Actually, the intent was to fix the way the
15157 selection was set, but I figured rmoving the code was just as good.
15159 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15161 * FontLoader.C (available): Check if font is available without
15164 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15166 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15168 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15170 * lyxrc.[Ch]: added display_graphics variable and associated code.
15172 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15174 * bufferparams.C (hasClassDefaults): new method. Returns true if
15175 the buffer parameters correspond to known class defaults
15177 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15179 * XFormsView.C (show): set minimum size to the main window.
15181 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15183 * text2.C (copySelection):
15185 * lyxfind.C (LyXReplace):
15186 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15187 LyXText::selectionAsString.
15189 * paragraph.C (asString): add "label" argument to the second form
15191 * text2.C (selectionAsString): add "label" argument and pass it to
15192 Paragraph::asString.
15194 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15196 * lyx_main.C (commandLineHelp): remove version information
15198 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15200 * lyx_main.C: add -version commandline option
15202 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15204 * paragraph.h: make the optional constructor arg required instead.
15205 some modifications to other files because of this.
15207 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15209 * lyxserver.C (C_LyXComm_callback): make it static
15211 * lyx_main.C (error_handler): make it static
15213 * lyx_gui.C (LyX_XErrHandler): make it static
15215 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15217 * WorkArea.C: make the extern "C" methods static.
15219 * Makefile.am (lyx_LDADD): simplify
15221 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15223 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15224 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15226 * LyXAction.C (init):
15227 * lyxfunc.C (dispatch): associated code removal.
15229 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15231 * lyxfont.h (isSymbolFont): shut off warning
15233 * text.C (setHeightOfRow):
15234 (getVisibleRow): fix crash with empty paragraphs which have a
15237 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15239 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15242 2001-09-04 José Matos <jamatos@fep.up.pt>
15245 * tabular.C (docbook): rename docBook method to docbook.
15247 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15249 * Makefile.am: add dependencies to main.o.
15251 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15253 * FontLoader.C (available): Return false if !lyxrc.use_gui
15255 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15257 * FontInfo.C (query):
15258 * converter.C (view):
15259 * importer.C (Import):
15260 * exporter.C (Export): Can not -> cannot.
15262 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15264 * BufferView_pimpl.C: allow to create index inset even if
15267 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15269 * buffer.C (getLists): replace boost::tie code with an explicit pair
15270 as boost::tie can break some compilers.
15272 * iterators.h: Added a std:: declaration to the return type of
15275 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15277 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15280 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15282 * iterators.[Ch]: New files. Provide paragraph iterators.
15284 * buffer.C (changeLanguage): Use paragraph iterators.
15285 (isMultiLingual): ditto
15287 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15289 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15291 * FontLoader.C: Support for cmr font.
15293 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15295 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15296 (available): New method.
15298 * FontInfo.C (getFontname): Use scalable fonts even when
15299 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15302 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15304 * converter.C (Formats::view): reverted! Incorrect fix.
15306 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15308 * converter.C (Formats::view): only output the -paper option
15309 if the dvi viewer is xdvi, thereby fixing bug #233429.
15311 2001-08-23 Herbert Voss <voss@perce>
15313 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15315 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15317 * Spacing.h (Spacing): Set space to Default on in the default
15320 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15322 * vc-backend.h (RCS::versionString): add RCS to version
15323 (CVS::versionString): add CVS to version
15325 * vc-backend.C (scanMaster): do not add CVS to version.
15326 (scanMaster): do not add RCS to version
15328 * lyxvc.C (versionString): new method
15330 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15332 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15334 * Spacing.C (set): initialize fval
15336 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15338 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15341 2001-08-16 Juergen Vigna <jug@sad.it>
15343 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15345 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15347 * BufferView_pimpl.C:
15350 * text2.C: setParagraph takes linespacing now
15352 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15354 * LyxAction.C: add internal LFUN_CITATION_INSERT
15356 * LyXView.C: actually apply fix
15358 * bufferlist.C: fix open non-existent file
15360 * lyxfind.C: fix indentation
15362 * lyxfunc.C: remove unneeded assert, fix typo
15364 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15366 * MenuBackend.C: use "Floatname List"
15368 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15370 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15371 when converting LaTeX layout to insetERT.
15372 Generate a non-collapsed float when reading old float
15374 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15376 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15379 2001-08-13 Juergen Vigna <jug@sad.it>
15381 * text.C (fill): return 0 instead of 20 as this seems to be the more
15384 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15386 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15389 2001-08-13 Juergen Vigna <jug@sad.it>
15391 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15393 (SearchBackward): comment out the unlocking of the inset_owner this
15394 should not be needed!
15396 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15398 * Many files: Remove inherit_language, and add latex_language
15400 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15401 collapsible insets.
15403 2001-08-10 Juergen Vigna <jug@sad.it>
15405 * text.C (prepareToPrint): fixed hfill-width in draw!
15407 * BufferView2.C (selectLastWord): save the selection cursor as this
15408 now is cleared in the function LyXText::clearSelection!
15410 2001-08-08 Juergen Vigna <jug@sad.it>
15412 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15413 BACKSPACE type functions.
15415 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15416 is only cutted from the document but not put in the cut-buffer, where
15417 still the old stuff should be.
15419 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15421 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15423 * tabular.C (SetWidthOfCell): fixed special case where the width
15425 (LeftLine): handle '|' in align_special.
15427 (LeftAlreadyDrawed): ditto
15428 (SetWidthOfCell): ditto
15430 2001-08-07 Juergen Vigna <jug@sad.it>
15432 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15434 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15436 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15437 * lyxlex.[hC]: ditto
15439 2001-08-06 Juergen Vigna <jug@sad.it>
15441 * text.C (getVisibleRow): fix up row clearing a bit.
15443 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15445 * minibuffer.C: make sure the X server sees the changes in the input.
15447 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15449 * paragraph.C (getFont): split into...
15450 (getLabelFont): this
15451 (getLayoutFont): and this
15452 * paragraph_pimpl.C (realizeFont): calling this
15454 * text2.C (getFont): split into...
15455 (getLayoutFont): this
15456 (getLabelFont): and this
15457 (realizeFont): all three calling this
15459 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15462 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15464 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15466 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15468 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15469 layouts from the Quote inset insertion.
15471 2001-08-03 Juergen Vigna <jug@sad.it>
15473 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15475 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15476 only if status not is already CHANGED_IN_DRAW (second level).
15478 * text.C (draw): don't set the need_break_row when inside an
15481 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15483 * buffer.C (parseSingleLyXformat2Token): handle more latex
15486 * bufferview_funcs.[hC]: change function names to
15487 begin with small char, adjust other files.
15489 2001-08-02 André Pönitz <poenitz@gmx.net>
15492 BufferView_pimpl.C: remove broken special code for math-greek
15494 2001-08-02 Juergen Vigna <jug@sad.it>
15496 * BufferView_pimpl.C (update): redone this function so that we
15497 update the text again if there was a CHANGE_IN_DRAW.
15499 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15500 (drawFromTo): added a new internal bool which is used by draw() and
15502 (general): some cursor drawing problems fixed.
15504 2001-08-01 Juergen Vigna <jug@sad.it>
15506 * lyxfind.C (LyXFind): fixed
15507 (SearchForward): ditto
15508 (SearchBackward): ditto
15510 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15511 spurius drawing of the cursor in the main area.
15513 * text2.C (status): small fix which could lead to a segfault!
15514 (clearSelection): remove unneeded BufferView param.
15516 2001-08-01 André Pönitz <poenitz@gmx.net>
15518 * lyxfunc.C: small change due to changed mathed interface
15520 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15522 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15524 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15526 * lyxfunc.c: fail gracefully if file doesn't exist
15531 * BufferView_pimpl.C: IsDirWriteable() proto changed
15533 * LyXView.C: fix updateWindowTitle() to store the last title
15535 2001-07-31 Juergen Vigna <jug@sad.it>
15537 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15538 the font (wrong since using of Paragraph::highestFontInRange).
15540 * paragraph.C (highestFontInRange): added a default_size parameter.
15542 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15543 (setHeightOfRow): reformat
15545 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15547 * converter.[hC] + affected files: move to (inital-char)lowercase
15550 * ParagraphParameters.C (ParagraphParameters): remove commented code
15552 * PainterBase.[Ch]: remove commented code
15554 * LaTeXFeatures.h: add "bool floats" for float.sty
15556 * LaTeXFeatures.C (LaTeXFeatures): init floats
15557 (require): handle float
15558 (getPackages): do it with floats
15560 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15562 * BufferView_pimpl.C (Dispatch): improve handling of
15563 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15565 * commandtags.h: #include lyxfont.h here temporarily to avoid
15568 * bufferlist.h: include LString.h here.
15570 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15572 * text2.C (getStringToIndex): new method.
15574 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15576 * *: Reduced header file dependencies all over.
15578 2001-07-30 Baruch Even <baruch@lyx.org>
15580 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15582 2001-07-29 Baruch Even <baruch@lyx.org>
15584 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15586 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15588 * ParameterStruct.h (endif): add a default constructor to make
15589 sure that all variables is initialized.
15591 * ParagraphParameters.C (ParagraphParameters): adjust
15593 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15595 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15596 index; also, check that there is something to index, and that it
15597 does not span over several paragraphs.
15598 (doubleClick): use WHOLE_WORD_STRICT for double click.
15600 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15602 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15605 2001-07-26 Baruch Even <baruch@lyx.org>
15607 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15608 an InsetFig figure, backwards compatible reading of old figure code.
15610 2001-07-27 Juergen Vigna <jug@sad.it>
15612 * text2.C: font.realize function adaption.
15614 * text.C (draw): add a warnings lyxerr text if needed.
15616 * layout.C: font.realize function adaption.
15618 * language.C: add inherit_language and implement it's handlings
15620 * bufferview_funcs.C (StyleReset): remove language parameter from
15621 font creation (should be language_inherit now).
15623 * bufferparams.C (writeFile): handle ignore_language.
15625 * paragraph.C (getFontSettings): the language has to be resolved
15626 otherwise we have problems in LyXFont!
15628 * lyxfont.C (lyxWriteChanges): added document_language parameter
15629 (update): removed unneeded language parameter
15631 * paragraph.C (validate): fixed wrong output of color-package when
15632 using interface colors for certain fonts in certain environments,
15633 which should not seen as that on the final output.
15635 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15637 * BufferView_pimpl.C:
15642 * LyXAction.C: add thesaurus support
15645 * lyxfind.C: add "once" parameter, for thesaurus, to not
15646 move to the next match
15648 2001-07-26 Juergen Vigna <jug@sad.it>
15650 * lyxfont.C (realize): honor ignore_language too!
15653 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15655 * text.C (draw): one place more for ignore_language to not draw
15658 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15660 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15662 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15664 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15665 the minipage conversion problem.
15667 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15669 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15672 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15674 * BufferView.h: don't forward declare WorkArea
15676 * BufferView.C: don't include WorkArea.h
15678 2001-07-25 André Pönitz <poenitz@gmx.net>
15682 * lyxfunc.C: new LFUN 'math-space'
15684 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15686 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15688 * text2.C (toggleInset): call open/close
15690 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15692 * lyxfunc.C (dispatch): add debug for the disabled case
15694 * font.C (buttonText): make similar to rectText
15696 * buffer.C (readInset): comment out parsing of insetlist and
15699 * PainterBase.C (rectText): small correction
15701 * BufferView_pimpl.C: comment out insettheorem and insetlist
15702 * LyXAction.C: ditto
15703 * commandtags.h: ditto
15705 2001-07-24 Juergen Vigna <jug@sad.it>
15707 * text.C (draw): honor the ignore_language.
15709 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15711 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15713 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15716 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15718 * lyxtext.h: remove unused (and unimplemented) methods
15720 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15722 * text.C (getVisibleRow): honor background color
15725 * Painter.h: remove default color argument for fillRectangle
15727 * text.C (backgroundColor): new method
15729 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15731 * text.C (getVisibleRow): adjust
15733 * font.[Ch] (rectText): new method, metrics
15734 (buttonText): new method, metrics
15736 * PainterBase.[hC]: make rectText and buttonText always draw and take
15739 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15741 * ToolbarDefaults.C (read):
15742 * MenuBackend.C (read): allow escaping in all strings
15744 * BufferView_pimpl.C (insertAndEditInset): new method.
15745 (Dispatch): use insertAndEditInset whenever appropriate.
15747 * BufferView_pimpl.C (insertNote): removed
15749 * BufferView_pimpl.C (smartQuote): new method, moved from
15750 BufferView; if an insetquote cannot be inserted, insert a '"'
15753 * BufferView2.C: remove insertCorrectQuote();
15755 * lyxfunc.C (getStatus): Add support for all remaingin
15756 inset-insert lfuns.
15758 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15760 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15761 command (necessary to pass " as parameter of self-insert.
15763 * text.C (selectWordWhenUnderCursor):
15764 (selectWord): add word_location parameter
15765 (selectWordWhenUnderCursor): same + remove special code for word
15767 (selectNextWord): use kind() to guess type of insetspecialchar,
15770 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15771 (insertErtContents): create ert insets as collapsed.
15772 (readInset): better compatibility code for Info inset.
15774 2001-07-20 Juergen Vigna <jug@sad.it>
15776 * lyxfunc.C (dispatch): use always LyXFind now!
15778 * text2.C (init): add a reinit flag so that the LyXText can be
15779 reinited instead of deleted and reallocated (used in InsetText).
15781 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15787 2001-07-18 Juergen Vigna <jug@sad.it>
15789 * text.C (selectNextWord): handle insets inside inset by calling
15790 always the bv->text functions so that we can go up the_locking_inset!
15792 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15793 in strange locations when inside an inset!
15795 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15796 handling to include insets.
15798 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15800 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15802 * LyXAction.C (init):
15804 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15805 LIGATURE_BREAK, since the name is so stupid.
15807 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15809 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15812 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15814 * sp_form.[Ch]: remove.
15816 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15818 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15821 * src/buffer.C (readInset): ditto.
15823 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15825 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15826 menuSeparator(), endOfSentenceDot(), ldots() and
15827 hyphenationPoint(), which are therefore removed.
15828 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15830 * LyXAction.C (init):
15831 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15833 * paragraph.C (getWord): removed.
15835 * BufferView_pimpl.C (Dispatch): use last word or selection for
15836 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15838 * lyx_main.C (queryUserLyXDir): do not ask before creating
15839 user_dir, except if it has been named explicitely.
15841 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15843 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15844 a document of zero size.
15846 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15848 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15849 approriately in the c-tor and in require().
15850 (getPackages): output the appropriate LaTeX for natbib support.
15852 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15853 variables "use_natbib" and "use_numerical_citations" when reading the
15855 (readInset): read the various natbib cite commands.
15856 (validate): white-space change.
15858 * bufferparams.[Ch]: new variables "bool use_natbib" and
15859 "bool use_numerical_citations".
15860 (writeFile): output them in the LyX file.
15862 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15864 * lyxfunc.C (getStatus): add support for all the inset insertion
15867 * text2.C (insertInset):
15868 * paragraph.C (insetAllowed):
15869 * BufferView_pimpl.C (insertInset): update to take in account the
15870 renaming of insertInsetAllowed
15872 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15874 * text2.C (getInset): new method. returns inset at cursor position.
15876 * BufferView_pimpl.C (Dispatch): changes because of this.
15878 * LyXAction.C (init): rename open-stuff to inset-toggle.
15880 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15882 * text2.C (toggleInset): renamed from openStuff; use
15885 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15887 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15889 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15891 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15893 * buffer.C (readLyXformat2): Add filename to the error dialog
15895 2001-07-18 Juergen Vigna <jug@sad.it>
15897 * tabular.C (GetCellNumber): put an assert here instead of the check!
15899 2001-07-17 Juergen Vigna <jug@sad.it>
15901 * BufferView_pimpl.C (toggleSelection): adapted too.
15903 * text.C (selectNextWord): adapted for use with insets.
15904 (selectSelectedWord): ditto
15906 2001-07-17 Juergen Vigna <jug@sad.it>
15908 * sp_spell.C (PSpell): fix initialitation order.
15910 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15912 * paragraph.C: spacing
15914 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15916 * sp_spell.C: repair language selection for pspell
15918 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15920 * lyxfunc.h: change more methods to begin with lower char.
15922 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15924 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15925 for unknown layouts.
15927 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15929 * buffer.C (readLyXformat2): Generate an error dialog if there are
15932 2001-07-16 Juergen Vigna <jug@sad.it>
15934 * sp_spell.C: always compile ISpell part.
15936 * lyxrc.C: added use_pspell entry and it's handling.
15938 2001-07-13 Juergen Vigna <jug@sad.it>
15940 * sp_spell.C: removed double includes.
15942 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15944 Consistent use of Lsstream.h:
15945 * Lsstream.h: added using std::stringstream for consistencies sake.
15947 * buffer.C: removed using std::stringstream
15949 * lyxfont.C (stateText):
15950 * paragraph.C (asString):
15951 * text.C (selectNextWord, selectSelectedWord):
15952 * text2.C (setCounter):
15953 * vspace.C (asString, asLatexString):
15954 std::ostringstream -> ostringstream.
15956 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15958 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15959 * commandtags.h: add LFUN_HELP_ABOUTLYX
15960 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15962 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15964 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15966 * lyx_gui_misc.C: remove spellchecker
15967 * lyxfunc.C: showSpellchecker
15969 * sp_ispell.h: added
15970 * sp_pspell.h: added
15971 * sp_spell.C: added
15972 * sp_form.[Ch]: removed
15973 * spellchecker.[Ch]: removed
15975 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15977 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15979 (simpleTeXSpecialChars): Simply print the input character without
15980 any special translation if pass_thru is set.
15982 * layout.h: Added bool pass_thru to layout class for being able to
15983 implement pass through of a paragraph for Literate Programming.
15985 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15986 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15987 * layout.C (Read): add "passthru" to list of layout tags and add
15988 code to set the pass_thru boolean when it is read.
15990 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15992 * trans_decl.h: remove allowed from KmodInfo
15994 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15995 remove allowed code
15998 * paragraph_pimpl.C (erase): use boost::prior
16000 * Painter.C (text): use data() instead of c_str() when length is
16002 * WorkArea.C (putClipboard): ditto
16003 * font.h (width): ditto
16005 * BufferView2.C: use it-> instead of (*it). for iterators
16007 * paragraph_pimpl.C: ditto
16008 * paragraph.C: ditto
16009 * minibuffer.C: ditto
16010 * language.C: ditto
16012 * encoding.C: ditto
16013 * counters.C: ditto
16014 * converter.C: ditto
16016 * Variables.C: ditto
16017 * TextCache.C: ditto
16018 * MenuBackend.C: ditto
16019 * LyXAction.C: ditto
16021 * FloatList.C: ditto
16022 * DepTable.C: ditto
16023 * ColorHandler.C (LyXColorHandler): ditto
16025 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16027 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16029 * text2.C (openStuff): reintroduce this method (which had been
16030 nuked in NEW_INSETS frenzy).
16032 * lyxfunc.C (Dispatch): when an action has not been handled, use
16033 its name in the error message, not its number.
16035 * paragraph.C (inInset): change method name to begin with lowercase.
16038 * text2.C: updates because of this.
16040 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16042 * ToolbarDefaults.C (add): add spaces in error message
16044 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16046 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16047 (readLyXformat2): rename return_par to first_par, use lyxlex's
16048 pushToken and remove the manual push handling.
16049 (parseSingleLyXformat2Token): add another ert comp. variable:
16050 in_tabular, rename return_par to first_par. handle newlines better
16052 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16054 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16056 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16058 * text2.C (getParFromID): removed
16060 * buffer.C (getParFromID): new method moved form lyxtext.
16061 * BufferView2.C (insertErrors): adjust
16062 (setCursorFromRow): adjust
16063 * BufferView_pimpl.C (restorePosition): adjust
16064 * lyxfunc.C (Dispatch): adjust
16065 * undo_funcs.C (textUndo): adjust
16067 (textHandleUndo): adjust
16068 (textHandleUndo): adjust
16070 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16072 * buffer.C: up' the LYX_FORMAT
16074 * lyxfont.h: turn NO_LATEX on as default
16076 * buffer.C (insertErtContents): new methods of tex style compability.
16077 (parseSingleLyXformat2Token): use it several places.
16078 * tabular.C (OldFormatRead): and here
16080 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16082 * text2.C: remove some commented code.
16085 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16086 * trans.C: changes because of the above.
16088 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16090 * text2.C (setCounter): Fix counters bug with bibliography layout.
16092 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16094 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16095 own member functions
16096 (simpleTeXSpecialChars): ditto
16098 2001-07-06 Juergen Vigna <jug@sad.it>
16100 * a lot of files: changed the access to LyXText::status and the
16101 call of undo-functions.
16103 * undo.[Ch]: added a inset_id to the undo informations.
16105 * undo_funcs.[Ch]: added and moved here all undo functions.
16107 * lyxtext.h: give the status enum a weight, made status_ a private
16108 variable and made accessor functions for it, removed the whole bunch
16109 of undo-functions as they are now in their own file, make some
16110 functions publically available. Added function ownerParagraph with
16113 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16114 made InInset() a const function, added getParFromID() function.
16116 * buffer.[Ch]: added const version for inset_iterator functions,
16117 added getInsetFromID() function.
16119 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16120 changed undo functions for new version.
16122 2001-07-05 Juergen Vigna <jug@sad.it>
16124 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16125 unknow mechanism does not call the proper constructor but only this
16126 one also if I request the other!?
16128 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16130 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16132 * text2.C (LyXText): use initialization lists.
16134 * lyxtext.h (Selection): initialize set_ and mark_
16135 (init): remove method
16137 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16139 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16141 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16143 * screen.[Ch]: change method names to begin with lowercase
16145 * BufferView_pimpl.C (updateScrollbar): simplify further and
16146 hopefully make it a bit faster.
16148 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16150 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16151 calling directly xforms functions.
16153 * Painter.C (Painter):
16154 * lyx_cb.C (MenuWrite):
16155 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16158 * lyx_gui.C: remove bogus guiruntime extern declaration.
16160 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16162 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16164 (redoDrawingOfParagraph): ditto
16165 (redoParagraphs): ditto
16166 (cutSelection): don't create a object for CutAndPaste use the
16167 static method directly
16168 (pasteSelection): ditto
16170 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16173 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16175 * modifications to some other files because of this.
16177 * Makefile.am (lyx_SOURCES): add XFormsView
16179 * XFormsView.[Ch]: new files
16181 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16182 the main window. Move the gui dependent stuff to XFormsView
16184 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16186 * tabular.C (GetCellInset): update cur_cell also in the row/col
16187 version of this function.
16189 * lyxfunc.C: no need to include figure_form.h here.
16195 * lyxvc.C: no need to include forms.h here.
16197 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16199 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16201 * lyxfunc.C (Dispatch):
16203 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16204 constructor argument.
16206 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16208 * paragraph.C (Paragraph): dont't clear, and just set layout.
16209 (makeSameLayout): use params's copy contructor.
16211 * ParagraphParameters.[Ch] (makeSame): delete method
16213 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16215 * Variables.[Ch]: fix indentation, rename set to isSet
16217 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16219 * lyxfunc.C (Dispatch): fix typo
16221 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16223 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16226 * bufferlist.C: include assert.h for emergencyWrite().
16228 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16230 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16231 give up at last (bug #425202) !
16233 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16239 * spellchecker.C: strip spellchecker options and bring up
16240 preferences tab instead
16242 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16244 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16245 the istringstream constructor
16247 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16249 * paragraph.C (getLayout): fix return value
16251 * paragraph.h: do not declare getLayout as inline.
16253 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16255 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16257 * lyxcursor.h (operator<): new func
16258 (operator>): new func
16259 (operator>=): new func
16260 (operator<=): new func
16262 * text.C (changeCase): use selection.start and selection.end
16263 (changeRegionCase): require from to be <= to. Require par to be a
16266 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16268 2001-06-27 Juergen Vigna <jug@sad.it>
16270 * text.C (cursorLeftOneWord): changed to return the cursor and added
16271 overlay with BufferView * parameter which calls this one.
16273 (selectWord): use new getWord function.
16274 (changeCase): renamed from changeWordCase as and extended to work
16275 also on selections.
16277 * lyxtext.h: added enum word_location
16279 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16280 changeCase as this operates now also on selections.
16282 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16284 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16286 * many files: send debug output to Debug::INFO instead of
16289 * converter.C (View):
16291 (Move): send debug output to Debug::FILES instead of console.
16293 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16295 * lyxfunc.C (getStatus): use func_status
16297 * func_status.h: new header, describing the results of
16298 LyXFunc::getStatus;
16300 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16303 2001-06-25 The LyX Project <jug@sad.it>
16305 * buffer.C (sgmlOpenTag):
16307 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16309 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16311 * text2.C: remove some dead code
16313 * tabular.C (GetCellInset): store the last cell checked (gotten)
16315 * tabular.h: add the helper for the speedup
16317 * lyxtext.h: remove some dead code
16319 2001-06-26 The LyX Project <Asger>
16321 * paragraph.C: Change export to LaTeX of alignment to
16322 \begin{center} and family for better roundtrip work with reLyX.
16324 * Tune the math drawing a bit.
16326 2001-06-25 The LyX Project <Asger>
16328 * LColor.C (LColor): New color for math background. New color
16331 2001-06-25 The LyX Project <jug@sad.it>
16333 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16335 * lyxfunc.C (Open):
16336 * bufferlist.C (newFile): do not restrict to files ending with
16339 * BufferView_pimpl.C (MenuInsertLyXFile):
16341 2001-06-24 The LyX Project <jug@sad.it>
16343 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16346 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16348 * lyxtext.h: rename most methods to begin with a small char.
16349 Lots of changes because of this.
16351 * paragraph.C (Paragraph): do not call fitToSize
16352 (erase): call Pimpl::erase
16353 (insertChar): call Pimpl::insertChar
16354 (insertInset): call Pipl::insertInset
16355 (breakParagraph): do not call fitToSize
16356 (breakParagraphConservative): do not call fitToSize
16357 (fitToSize): remove method
16359 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16361 2001-06-24 The LyX Project <Asger>
16363 * Fix Qt compilation^2
16365 2001-06-24 The LyX Project <jug@sad.it>
16367 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16368 depthHook(getDepth()-1).
16371 * ParagraphParameters.h:
16372 * ParameterStruct.h: change type of depth to unsigned int ==
16373 depth_type. Many adaptations to other files before of that.
16375 2001-06-24 The LyX Project <Asger>
16377 * Fix Qt compilation.
16379 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16381 * paragraph.h: renamed several methods to begin with small letter.
16382 several changes to many parts of the code because of this.
16384 2001-06-23 The LyX Project <jug@sad.it>
16386 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16387 rewritten to discard all double spaces when KeepEmpty is off
16388 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16389 to only handle newlines but not fiddle with spaces and friends.
16391 * lyxfunc.C (MenuNew): when doing 'new from template', use
16392 template_path as default directory
16394 2001-06-23 The LyX Project <Asger>
16396 * Clean-up of header file includes all over
16397 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16399 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16401 * paragraph.h: renamed from lyxparagraph.h
16403 2001-06-23 Asger <lyx@violet.home.sad.it>
16405 * Buffer.h: Removed Buffer::resize
16406 * BufferList.h: Removed BufferList::resize
16407 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16408 the document lazily when we change the width, or the font settings.
16410 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16412 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16414 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16416 * buffer.h: remove out of date comment
16418 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16421 * screen.C: fix "theoretical" GC leak
16423 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16425 * LaTeX.C (scanAuxFile):
16426 (deplog): remove trailing \r when reading stream (useful under
16429 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16431 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16432 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16433 and BufferView::theLockingInset(Inset*), so should use them and not
16434 access bv_->text->the_locking_inset directly.
16436 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16438 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16441 * tex-defs.h: remove old unused file
16443 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16445 * BufferView_pimpl.C: fix typo, remove minibuffer message
16446 when buffer has loaded
16448 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16450 * lyxfunc.C (Dispatch): use stringstream
16451 (MenuNew): use stringstream
16452 (Open): use stringstream
16454 * importer.C (Import): use stringstream
16456 * bufferview_funcs.C (CurrentState): use stringstream
16458 * LaTeX.C (run): use stringstream
16460 * BufferView_pimpl.C (savePosition): use stringstream
16461 (restorePosition): use stringstream
16462 (MenuInsertLyXFile): use stringstream
16464 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16477 * vspace.C: removed // -*- C++ -*- as first line.
16480 * version.h: added // -*- C++ -*- as first line.
16482 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16484 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16486 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16489 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16491 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16494 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16496 * gettext.C: include LString.h even when --disable-nls is on.
16498 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16500 * converter.h (Get): changed argument type from int to
16501 FormatList::size_type to avoid unnecessary conversion.
16503 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16506 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16508 * gettext.h: include LString.h even when --disable-nls is on.
16510 2001-06-07 Juergen Vigna <jug@sad.it>
16512 * text.C (BreakAgain): subst spaces with tabs.
16514 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16515 (resizeInsetsLyXText): set force on resizeLyXText.
16517 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16519 * gettext.h (gettext_init):
16520 (locale_init): use a real definition instead of a macro
16522 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16524 * Bufferview_pimpl.C:
16526 * LColor.C: further lcolor tidies
16528 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16530 * BufferView_pimpl.C (updateScrollbar): simplify.
16532 * BufferView2.C: don't include insets/insetinfo.h, change
16533 prototype for insertInset and call the Pimpl version. let
16534 updateInset call Pimpl version.
16536 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16537 gotoInset to BufferView::Pimpl
16539 2001-06-01 Juergen Vigna <jug@sad.it>
16541 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16542 inside a LockingInset (is the update needed at all?).
16544 2001-05-31 Juergen Vigna <jug@sad.it>
16546 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16547 here not the old one otherwise how should we compare it afterwards
16550 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16555 * FontInfo.C: bring C functions into global namespace when
16558 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16560 * LString.h: make sure config.h has been loaded before LString.h.
16562 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16563 (one for each char read by EatLine!).
16565 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16568 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16570 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16571 to the same as the par we break from
16573 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16575 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16577 * MenuBackend.C (expand): also create menu entries for wide
16578 versions of the floats.
16580 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16582 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16584 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16585 frontends/Makefile.am
16591 * tabular.C (getTokenValue): add std::
16593 * tabular-old.C (getTokenValue): add std::
16594 (getTokenValue): ditto
16595 (getTokenValue): ditto
16597 * screen.C (ToggleSelection): adjust
16599 * lyxtext.h: put selection cursors inside a Selection struct.
16601 * lyxfunc.C (moveCursorUpdate): adjust
16603 * lyxfont.C (latexWriteStartChanges): add std::
16605 * lyxfind.C: adjust
16607 * font.h: delete with(char const *, LyXFont const &)
16609 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16611 * FontInfo.C (getFontname): add std::
16613 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16614 (workAreaButtonPress): adjust
16615 (tripleClick): adjust
16617 (moveCursorUpdate): adjust
16620 * BufferView2.C (gotoInset): adjust
16622 2001-05-30 Juergen Vigna <jug@sad.it>
16624 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16625 to check pspell I add this as default as I now have new pspell
16626 libraries and they seem to use this.
16628 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16630 * text2.C (CutSelection): make the cursor valid before the call to
16633 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16635 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16636 relied on 0 terminated strings and other horrors. Bug found due to
16637 the new assert in lyxstring!
16639 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16642 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16644 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16647 * lyxfunc.C (processKeySym): change method of getting to the
16650 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16651 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16652 * BufferView_pimpl.[Ch]: here as private methods.
16654 2001-05-28 Juergen Vigna <jug@sad.it>
16656 * text.C (SetHeightOfRow): added the update() call again as it is
16657 needed to initialize inset dimensions!
16659 2001-05-16 Juergen Vigna <jug@sad.it>
16661 * text2.C (SetCharFont): Add new function with BufferView * and
16662 bool toggleall parameters for setting insets internal fonts.
16663 (SetFont): Freeze the undo as we may change fonts in Insets and
16664 all this change should be inside only one Undo!
16666 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16667 setting font's in insets as for them we have the SetFont function!
16669 2001-05-15 Juergen Vigna <jug@sad.it>
16671 * text2.C (ClearSelection): to be sure we REALLY don't have any
16674 * tabular.C (TeXCellPreamble): fixed the left border problem for
16677 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16679 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16682 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16684 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16685 LFUN_BREAKPARAGRAPH.
16687 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16688 help test to "internal only", similar for LFUN_INSERT_URL
16690 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16691 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16692 auto_region_delete and deadkeys.
16694 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16697 * LColor.C: remove some dead entries, tidy a little
16699 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16701 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16703 (Dispatch): implement LFUN_ESCAPE
16705 * commandtags.h: add LFUN_ESCAPE
16707 * LyXAction.C (init): add entry for LFUN_ESCAPE
16709 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16710 Remove commented code.
16711 (insertNote): moved here
16712 (open_new_inset): moved here
16714 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16717 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16719 * kbmap.C (findbinding): clean it up and make it work correctly.
16721 * lyx_main.C (init): do not pass argc and argv as parameters
16723 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16725 * buffer.C: fix path for OS/2 & Win32
16729 * lyx_main.C: Added os:: class.
16731 * os2_defines.h: update
16733 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16735 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16736 better by trying again with reduced state.
16738 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16740 * lyxrc.C (read): print error about invalid key sequence only when
16741 debugging (because not all latinX keysyms are known to some X
16744 * kbsequence.C (getiso): add a few std:: qualifiers
16745 (getiso): comment out extra return statement.
16747 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16749 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16751 (Dispatch): enhance the accent inset a bit. (not perfect)
16753 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16755 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16757 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16759 * bufferlist.C (emergencyWrite): fix assert() call
16761 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16763 * text.C (InsertChar): Added trivial patch to only send the "you
16764 can not do multiple spaces this way" message once during a
16767 2001-05-08 Baruch Even <baruch@lyx.org>
16769 * Makefile.am: Changed order of libraries to get LyX to link properly
16770 with the gnome frontend.
16772 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16774 * LaTeXFeatures.h: add a std:: qualifier
16776 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16778 * paragraph.C (String): use stringstream
16780 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16782 * paragraph.C (writeFile): remove footflag arg
16784 * buffer.C (makeLaTeXFile): use stringstream
16785 (latexParagraphs): remove footnot gurba
16787 * LaTeXFeatures.C (getPackages): use stringstream
16788 (getMacros): likewise
16789 (getTClassPreamble): likewise
16790 (getFloatDefinitions): new method
16792 * paragraph.C (writeFile): reindent
16795 * WorkArea.h: revert the xpos + etc changes.
16797 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16799 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16801 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16802 (pasteSelection): likewise
16803 * text2.C (CreateUndo): likewise
16805 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16807 * minibuffer.C (peek_event): temporarily reduce the functionality
16808 of the minibuffer (to allow args on lfuns)
16810 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16811 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16813 * buffer.C (readInset): add compability reading of old float
16814 lists, add reading of new style float list.
16815 (readInset): avoid reevaluation of inscmd.getCmdName()
16816 (getLists): reindent
16818 * MenuBackend.C (MenuItem): implement parsing of
16819 md_floatlistinsert and md_floatinsert.
16820 (expand::LastFiles): move initalizaton of iterators out of loop,
16821 avoid reevaluation.
16822 (expand::Documents): introduce typdedef vector<string> Strings,
16824 (expand::ExportFormats): introduce typedef vector<Format const *>
16825 Formats, and use it.
16826 (expand): implement FloatListInsert and FloatInsert.
16828 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16829 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16830 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16832 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16834 (Dispatch::LFUN_FLOAT_LIST): implement
16836 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16838 * LaTeX.C (run): Fix problem with --export code.
16840 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16842 * BufferView.[Ch] (workarea): removed.
16843 (getClipboard) new method; wrapper for workarea()->getClipboard()
16845 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16848 * WorkArea.h (width, height, xpos, ypos): These methods all
16849 returned the dimensions of the work_area sub-area of WorkArea,
16850 resulting in a position error if the WorkArea were resized. Now
16851 return the dimensions of the entire WorkArea.
16853 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16855 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16857 * LaTeX.C (deplog): correct the syntax of regex reg1
16859 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16861 * undo.C: remove !NEW_INSETS cruft
16863 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16865 * text2.C: remove !NEW_INSETS cruft
16867 * text.C: remove !NEW_INSETS cruft
16869 * tabular.C: remove !NEW_INSETS cruft
16871 * spellchecker.C: remove !NEW_INSETS cruft
16873 * lyxtext.h: remove !NEW_INSETS cruft
16875 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16877 * lyxfunc.C: remove !NEW_INSETS cruft
16879 * lyxfind.C: remove !NEW_INSETS cruft
16881 * lyx_cb.C: remove !NEW_INSETS cruft
16883 * figureForm.C: remove !NEW_INSETS cruft
16885 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16887 * buffer.[Ch]: remove !NEW_INSETS cruft
16889 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16891 * CutAndPaste.C: remove !NEW_INSETS cruft
16893 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16895 * BufferView2.C: remove !NEW_INSETS cruft
16897 * BufferView.h: remove !NEW_INSETS cruft
16899 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16901 * Lsstream.h: include LString.h before the sstream headers to
16902 fix problem with gcc 2.95.3 and lyxstring
16904 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16906 * lyx_main.C: add using directives when needed for C functions
16907 declared in std:: namespace.
16909 2001-04-27 Juergen Vigna <jug@sad.it>
16911 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16912 (SetHeightOfRow): comment out the update call should not be needed!
16914 2001-04-13 Juergen Vigna <jug@sad.it>
16916 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16917 (LyXTabular): tried to minimize operator= operations (and realized
16918 hopfully Lars wish).
16920 2001-04-27 Juergen Vigna <jug@sad.it>
16922 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16924 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16926 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16928 * buffer.C (readInset): hack to make listof algorithm work
16930 * BufferView_pimpl.C: hack to make listof algorithm work
16932 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16934 * LyXAction.C: removed all !NEW_INSETS cruft
16935 (init): moved lfun_item in method
16937 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16939 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16941 * BufferView2.C (theLockingInset): white space.
16943 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16945 * minibuffer.C: include <iostream>
16947 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16949 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16951 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16953 * text.[Ch] (TransposeChars): new method
16955 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16957 * call message directly through LyXView instead of through LyXFunc
16958 * BufferView2.C: adjust
16959 * BufferView_pimpl.C: adjust
16960 * FontLoader.C: adjust
16962 * bufferview_funcs.C: adjust
16963 * converter.C: adjust
16964 * figureForm.C: adjust
16965 * importer.C: adjust
16967 * lyx_gui_misc.C: adjust
16968 * lyxfunc.C: adjust
16971 + more files in subdirs
16973 * lyxparagraph.h (size): move up int file
16976 * adjust all uses of Assert to lyx::Assert.
16978 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16979 lyxfunctional in namespace lyx
16980 * layout.C (hasLayout): ditto
16983 (delete_layout): ditto
16984 (NumberOfClass): ditto
16985 * converter.C (GetFormat): ditto
16990 * bufferlist.C (getFileNames): ditto
16991 (emergencyWriteAll): ditto
16994 * MenuBackend.C (hasSubmenu): ditto
16997 * BufferView_pimpl.C (getInsetByCode): ditto
16999 2001-04-18 Juergen Vigna <jug@sad.it>
17001 * vspace.C (asLatexString): fixed the 100% problem.
17003 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17005 * lyxfunc.C (Dispatch):
17007 * minibuffer.h: add a few std:: qualifiers
17009 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17011 * minibuffer.[Ch]: reimplement so that commands is initiated and
17012 run from lyxfunc, simplified som handling, and made the completion
17013 and history code for complete. wip.
17015 * lyxfunc.C (processKeySym): call message
17016 (miniDispatch): new temporary method
17017 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17018 (LFUN_MESSAGE): implement
17019 (LFUN_MESSAGE_PUSH): implement
17020 (LFUN_MESSAGE_POP): implement
17021 (initMiniBuffer): the initial/defualt minibuffer message.
17023 * lyxfont.[Ch]: inline some more getters
17025 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17027 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17029 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17030 (AutoSave): use LFUN_MESSAGE
17031 (Reconfigure): ditto
17033 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17035 * figureForm.C: use LFUN_MESSAGE
17037 * converter.C (runLaTeX): use LFUN_MESSAGE
17039 * bufferview_funcs.C: use LFUN_MESSAGE
17041 (changeDepth): ditto
17043 * bufferparams.h: use boost::
17045 * bufferlist.h: inherit privately from noncopyable
17047 * bufferlist.C (loadLyXFile): remove some commented code.
17049 * buffer.C (runChktex): use LFUN_MESSAGE
17051 * ShareContainer.h: inherit privately from noncopyable
17053 * ParagraphParameters.[hC] (depth): inline it.
17055 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17057 (message): new method
17058 (messagePush): ditto
17059 (messagePop): ditto
17060 (show): init minibuffer
17061 (showState): direct call
17063 * LaTeX.[Ch]: inherit privately from noncopyable
17064 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17065 instead of WriteStatus.
17067 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17069 * BufferView_pimpl.C (buffer): don't init minibuffer
17070 (workAreaButtonPress): use LFUN_MESSAGE
17071 (workAreaButtonRelease): ditto
17072 (savePosition): ditto
17073 (restorePosition): ditto
17074 (MenuInsertLyXFile): ditto
17075 (workAreaExpose): don't init minibuffer
17076 (update): remove commented code, simplify
17078 * BufferView2.C (openStuff): use LFUN_MESSAGE
17079 (toggleFloat): ditto
17082 (copyEnvironment): ditto
17083 (pasteEnvironment): ditto
17088 (updateInset): remove some commented code
17090 * lastfiles.h: inherit privately from noncopyable
17093 * lyx_main.h: ditto
17095 * lyxlex_pimpl.h: ditto
17097 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17098 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17099 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17101 * LyXAction.h: inherit privately from noncopyable, add methods
17102 func_begin, func_end, returning iterators to the func map.
17104 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17105 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17106 (func_begin): new method
17107 (func_end): new method
17109 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17111 (copySelection): ditto
17112 (pasteSelection): ditto
17114 * BufferView.C: whitespace change
17115 * BufferView.h: inherit privately from noncopyable
17117 2001-04-16 Allan Rae <rae@lyx.org>
17119 * tabular-old.C (l_getline):
17120 * spellchecker.C (sc_check_word):
17121 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17122 an unrecognised preprocessor directive. So ensure they're wrapped.
17124 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17126 * src/exporter.C (Export): Give an error message when path to file
17129 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17131 * LaTeX.C (deplog): Always check that foundfile exists.
17133 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17136 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17138 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17140 * tabular.[Ch] (getLabelList): implement new method
17142 * minibuffer.h: comment ouf setTiimer
17144 * minibuffer.C (ExecutingCB): constify res
17145 (peek_event): constify s
17146 (Set): constify ntext
17147 (Init): constify nicename
17149 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17151 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17152 (savePosition): use two params to Minibuffer::Set
17153 (restorePosition): ditto
17155 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17157 * lyx_main.C: include language.h
17159 * Makefile.am (lyx_main.o): add language.h
17161 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17167 * CutAndPaste.C: include gettext.h
17169 * lyxfont.h: remove old hack with ON and OFF.
17172 * lyxfont.h: do not include language.h...
17177 * bufferview_funcs.C:
17183 * paragraph.C: ... but do it here instead
17185 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17187 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17189 * tabular.C: small reformat
17191 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17194 (BreakParagraph): ditto
17195 (SetOnlyLayout): ditto
17198 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17201 * lastfiles.C: removed most using decl, add std:: where needed
17203 * buffer.C: ws changes
17205 * MenuBackend.C (class compare_format): put into anon namespace
17206 (expand): constify label, names, action, action2
17209 * text.C (SingleWidth): constify font
17210 (IsBoundary): constify rtl2
17211 (GetVisibleRow): constify ww
17213 * LaTeX.C (deplog): constify logfile
17215 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17217 (workAreaExpose): constify widthChange, heightChange
17219 * lyxrow.C (par): moved
17222 * lyxrow.h: as inlines here
17224 * lyxfont.h (shape): moved from lyxfont.C
17225 (emph): moved from lyxfont.C
17227 * lyxfont.C (LyXFont): use initialization list for all
17229 (shape): move to lyxfont.h as inline
17230 (emph): move to lyxfont.h as inline
17233 2001-04-04 Juergen Vigna <jug@sad.it>
17235 * vspace.C: had to include stdio.h for use of sscanf
17237 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17240 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17241 independent of xforms.
17243 2001-04-02 Juergen Vigna <jug@sad.it>
17245 * spellchecker.C: fixed namespace placing!
17247 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17249 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17250 the LyXParagraph * is 0.
17252 2001-03-29 Juergen Vigna <jug@sad.it>
17254 * vspace.C: added support for %, c%, p%, l%.
17255 (stringFromUnit): added helper function.
17256 (asLatexString): changed to give right results for the %-values.
17258 * buffer.C: convert the widthp in a width%.
17260 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17262 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17265 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17266 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17268 * lyx_cb.[Ch]: see above.
17270 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17274 * lyx.[Ch]: replaced by figure_form.[Ch].
17278 * lyxfunc.C: changed headers associated with above changes.
17280 2001-03-27 Juergen Vigna <jug@sad.it>
17282 * BufferView_pimpl.C: set the temporary cursor right!
17284 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17286 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17288 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17290 * LString.h: removed "using std::getline"!
17292 * BufferView_pimpl.C (Dispatch): changes due to changes in
17293 InsetInclude::Params.
17295 * buffer.C (tag_name): removed redundant break statements as they were
17296 producing lots of warnings with my compiler.
17298 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17300 * LString.h: add "using std::getline" when using the real <string>.
17302 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17304 * buffer.C: removed bitset usage.
17305 PAR_TAG moved to an anonymous name space.
17306 (tag_name): new funtion, also in the anonymous namespace.
17307 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17308 (makeDocBookFile): clean code. Completed transition from string arrays
17310 (SimpleDocBookOnePar): code clean.
17312 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17314 * tabular.C: add some comments.
17316 2001-03-22 Juergen Vigna <jug@sad.it>
17318 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17319 compatibility read a bit and fixed bug with minipage in different
17322 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17324 * buffer.C (pop_tag): removed.
17325 (push_tag): removed.
17326 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17327 array replaced with vector. Added support for CDATA sections.
17328 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17330 (makeDocBookFile): XML conformant declaration of CDATA section,
17331 fixed bug related to <emphasis> in the first paragraph char.
17332 (sgmlOpenTag): exclude empty tags.
17333 (sgmlCloseTag): ditto.
17335 * buffer.h (pop_tag): removed.
17336 (push_tag): removed.
17338 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17340 * language.h (Languages): added size_type and size().
17342 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17344 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17345 response on compability reading of minipages. One probliem is that
17346 the old usage of minipages was flertydig
17348 * several files here and in subdirs: don't use static at file
17349 scope use anon namespaces instead.
17351 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17353 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17354 LaTeX output. This is necessary for Literate document
17357 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17359 * buffer.C: insert hfill when needed.
17361 * tabular.C (l_getline): use string::erase, small whitespace change.
17363 * BufferView_pimpl.C: try the anon namespace.
17364 * WorkArea.C: ditto
17366 2001-03-16 Juergen Vigna <jug@sad.it>
17368 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17369 otherwise it won't open options-dialogs.
17371 * buffer.C: honor pextraWidth(p) on converting minipages.
17373 * tabular.C (l_getline): changed the functions to strip trailing \r.
17375 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17377 * BufferView_pimpl.C:
17378 * minibuffer..C: added "using SigC::slot" declaration.
17380 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17382 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17388 * paragraph.C: ditto
17390 * lyxtext.h: NO_PEXTRA
17392 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17394 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17395 * ParameterStruct.h: ditto
17396 * ParagraphParameters.h: ditto
17397 * lyxparagraph.h: ditto
17399 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17401 * buffer.C: add compability for minipage alignment.
17402 (latexParagraphs): remove unwanted pextra check.
17404 * several files: remove CXX_WORKING_NAMESPACES
17406 * buffer.C (pop_tag): tie is in namespace boost
17408 * BufferView.h: noncopyable is in namespace boost
17410 * lyx_main.h: ditto
17413 * lastfiles.h: ditto
17414 * bufferlist.h: ditto
17415 * ShareContainer.h: ditto
17417 * LyXAction.h: ditto
17420 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17422 * Merging changes from BRANCH_MVC back into HEAD.
17424 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17426 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17428 * BufferView_pimpl.C: change from intl.C
17432 * Makefile.am: move combox.*
17438 * intl.C: remove dialog (covered by prefs)
17440 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17442 * lyxfunc.C (Dispatch): removed redundant break statement.
17444 2001-03-14 Juergen Vigna <jug@sad.it>
17446 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17448 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17450 * buffer.C: add hack to fix compability reading of minipages.
17452 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17454 * buffer.C (getLists): Cleanup.
17456 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17458 * lyxfont.C (update): don't honor toggleall on font size.
17460 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17464 * Makefile.am: moved to frontends/xforms/
17468 * BufferView_pimpl.C: changes for moved mathpanel
17470 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17472 * gettext.h: fix gettext_init() in --disable-nls
17474 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17476 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17478 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17481 * lyx.h: strip external form
17483 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17485 * BufferView_pimpl.C: add comment, destroySplash()
17487 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17489 * BufferView_pimpl.C:
17493 * lyxfunc.C: use re-worked insetinclude
17495 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17497 * buffer.C: add using std::stringstream.
17499 * lyx_cb.C: readd using std::ios.
17501 * buffer.C: add using std::map.
17503 * BufferView_pimpl.C: add using std::vector.
17505 * ShareContainer.h: add std:: to swap.
17507 * buffer.h: add some typedefs
17508 * buffer.C (getLists): use them
17509 (getLists): renamed from getTocList.
17510 add a counter for the different float types and use it in the
17512 (getLists): use the same counter for the NEW_INSETS and the "non"
17515 * lyx_cb.h: remove unused items, includes, using etc.
17517 * ShareContainer.h: remove some commented code, add more comments
17518 and "documentation".
17520 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17522 * buffer.C (getTocList): make the list also when NEW_INSETS is
17525 * buffer.h: remove TocType
17527 * buffer.C (getTocList): change to return a map<string,
17528 vector<TocItem> >, implement for dynamic number of list.
17530 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17531 * text2.C (PasteSelection): adjust
17532 * CutAndPaste.C (pasteSelection): adjust
17534 * FloatList.C (FloatList): update from the new_insets branch.
17535 * Floating.[Ch]: ditto
17536 * LaTeXFeatures.C: ditto
17538 * lyxlex_pimpl.C: ditto
17540 * paragraph.C (Last): remove when NEW_INSETS is defined.
17542 * other file: changes because of the above.
17544 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17546 * lyxparagraph.h: rename next to next_, previous to previous_,
17547 make them private for NEW_INSETS. Rename Next() to next(),
17548 Previous() to previous().
17550 * other files: changes because of the above.
17552 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17555 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17558 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17560 * main.C (main): pass lyx_localedir to gettext_init().
17562 * gettext.h: remove locale_init and gettext_init macros
17564 * gettext.C (locale_init): new function
17565 (gettext_init): new function
17567 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17570 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17572 * Moved credits to frontends:
17573 * credits.[Ch]: removed
17574 * credits_form.[Ch]: removed
17575 * lyx_gui_misc.C: remove credits stuff
17578 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17580 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17582 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17583 unneeded destructor.
17585 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17586 a standalone pointer again.
17588 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17590 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17596 * ToolbarDefaults.C:
17605 * BufferView_pimpl.C: use new file dialog in GUII
17608 * lyx_cb.C: remove LayoutsCB to Toolbar
17610 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17612 * ShareContainer.h (get): add std:: qualifier
17614 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17616 * ShareContainer.h: define a proper ShareContainer::value_type
17617 type (and use typename to please compaq cxx)
17619 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17621 * lyxparagraph.h: move serveral local vars to
17622 ParameterStruct/ParagraphParameters., use ShareContainer in
17623 FontTable., make vars in FontTable private and add getter and
17626 * paragraph.C: changes because of the above.
17628 * lyxfont.h: remove copy constructor and copy assignment. (the
17629 default ones is ok), move number inside FontBits. move inlines to
17632 * lyxfont.C: add number to initializaton of statics, move several
17633 inlines here. constify several local vars. some whitespace
17634 cleanup. Dont hide outerscope variables.
17636 * Spacing.h: add two new constructors to match the set methods.
17638 * ShareContainer.h: new file, will perhaps be moved to support
17640 * ParameterStruct.h: new file
17642 * ParagraphParameters.h: new file
17644 * ParagraphParameters.C: new file
17646 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17647 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17649 * BufferView_pimpl.C: ParagraphParameter changes.
17650 * buffer.C: Likewise.
17651 * bufferview_funcs.C: Likewise.
17652 * text.C: Likewise.
17653 * text2.C: Likewise.
17655 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17657 * lyxfind.C (LyXReplace): do not redefine default argument in
17659 (IsStringInText): ditto
17660 (SearchForward): ditto
17661 (SearchBackward): ditto
17663 2001-03-06 Juergen Vigna <jug@sad.it>
17665 * lyxfind.C (IsStringInText): put parentes around expressions.
17667 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17669 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17671 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17673 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17675 * stl_string_fwd.h: add comment
17677 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17680 * tabular.C: remove unused DocBook methods
17686 killed DO_USE_DEFAULT_LANGUAGE
17688 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17690 * lyx_gui.C: do not include language.h.
17692 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17693 arguments in function implementation.
17695 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17697 * BufferView_pimpl.C: add <ctime>
17699 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17701 * BufferView_pimpl.C: add using std::find_if
17703 2001-02-27 José Matos <jamatos@fep.up.pt>
17705 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17708 2001-02-11 José Matos <jamatos@fep.up.pt>
17710 * buffer.C (makeDocBookFile): command styles now have a parameter as
17711 "title" by default.
17713 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17715 * layout_forms.[Ch]: removed
17716 * lyx_cb.[Ch]: out character
17717 * lyx_gui.C: out character
17718 * lyx_gui_misc.C: out character
17719 * bufferview_funcs.C: : out character,
17720 added toggleall as parameter in ToggleAndShow
17722 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17724 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17726 * text2.C (SetCurrentFont): Disable number property at boundary.
17728 2001-02-26 Juergen Vigna <jug@sad.it>
17730 * lyxfunc.C (getStatus): added a string argument override function so
17731 that this is correctly called from LyXFunc::Dispatch if it contains a
17732 do_not_use_argument which is used!
17733 (Dispatch): added check for "custom" export and call appropriate func.
17735 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17737 * lyxrc.C: Add language_command_local, language_use_babel and
17738 language_global_options.
17740 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17742 * buffer.C (makeLaTeXFile): Use language_use_babel and
17743 language_global_options.
17745 2001-02-23 Juergen Vigna <jug@sad.it>
17747 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17748 which works with LyXText and putted it inside BufferView. Here now we
17749 only call for that part the BufferView::Dispatch() function.
17751 * BufferView.C (Dispatch): added.
17753 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17754 functions which needs to use a LyXText over from LyXFunc.
17755 (MenuInsertLyXFile): added
17756 (getInsetByCode): added
17757 (moveCursorUpdate): added
17758 (static TEXT): added
17760 2001-02-22 Juergen Vigna <jug@sad.it>
17762 * BufferView_pimpl.C (update): call a status update to see if LyXText
17765 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17767 * vc-backend.C (revert): implement for CVS
17768 (getLog): implement for CVS
17770 2001-02-20 Juergen Vigna <jug@sad.it>
17772 * text2.C (ClearSelection): added BufferView param for inset_owner call
17774 * lyxfunc.C (TEXT): added this function and use it instead of
17775 directly owner->view()-text of getLyXText().
17777 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17779 * src/layout_forms.C: out preamble
17780 * src/layout_forms.h: out preamble
17781 * src/lyx_cb.C: out preamble
17782 * src/lyx_cb.h: out preamble
17783 * src/lyx_gui.C: out preamble
17784 * src/lyx_gui_misc.C: out preamble
17785 * src/lyxfunc.C: connect with guii preamble
17787 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17789 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17791 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17793 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17794 whether to run bibtex.
17796 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17798 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17800 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17802 * Makefile.am (lyx_SOURCES): removed bibforms.h
17804 * vspace.h: doxygen
17806 * text.C (GetVisibleRow): make several local vars const
17808 * tabular.C: small cleanup.
17810 * lyxserver.C (callback): use compare instead of strncmp
17812 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17813 inlines to after class or to paragraph.C
17815 * lyxfont.h: remove friend operator!=
17817 * converter.h: move friend bool operator< to non friend and after
17820 * combox.h: small cleanup
17822 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17823 to inlines after class def.
17825 * buffer.C (pop_tag): use string operations instead of strcmp
17827 * bmtable.c: doxygen, small cleanup
17829 * LaTeX.h: remove friend operator==
17831 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17843 * BufferView_pimpl.C:
17844 * BufferView.[Ch]: remove cruft
17846 2001-02-14 Juergen Vigna <jug@sad.it>
17848 * lyxfunc.C: removed #if 0 unused code
17850 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17852 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17854 * text2.C (SetSelection): added a BufferView * parameter
17856 2001-02-13 Juergen Vigna <jug@sad.it>
17858 * lyxfunc.C (Dispatch): fixed protected blank problem.
17859 * BufferView2.C (protectedBlank): added LyxText * parameter.
17861 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17862 (AppendColumn): same as above for column_info.
17864 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17865 (moveCursorUpdate): use a LyXText param for support of InsetText.
17867 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17868 (tripleClick): ditto
17870 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17872 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17874 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17876 * text2.C (SetSelection): set correct update status if inset_owner
17877 (ToggleFree): ditto
17879 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17881 * tabular.C: remove some commented code.
17883 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17885 * BufferView_pimpl.C: call hideSplash()
17887 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17890 * bibforms.h: remove
17893 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17894 add LFUN_CHILD_CREATE
17896 * counters.h: fix tiny typo
17901 * lyx.C: move splash to frontends/xforms/
17903 * lyx_gui_misc.C: move Include and Bibform to frontends
17905 * lyxvc.h: clarify comment
17907 * vspace.C: tiny housekeeping
17909 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17911 * text.C (PrepareToPrint): RTL Fix.
17913 * paragraph.C (GetUChar): New method.
17914 (String): Use GetUChar.
17916 * buffer.C (asciiParagraph): Use GetUChar.
17918 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17920 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17922 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17925 * buffer.C: rename to getLogName(), handle
17926 build log / latex log nicely
17928 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17931 * MenuBackend.h: remove support for reference menuitem type.
17933 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17935 * BufferView_pimpl.C: housekeeping
17936 * BufferView_pimpl.h:
17941 * minibuffer.h: move Timeout GUI-I
17943 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17945 * lyxrc.C (read): Update converters data-structures.
17947 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17949 * LaTeX.h (operator!=): add operator != for Aux_Info
17951 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17953 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17955 * LaTeXLog.C: deleted, useful code moved to Buffer
17958 * buffer.C: new function getLatexLogName()
17964 * lyxfunc.C: use frontends for LaTeX and VC logs
17966 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17968 * LaTeX.h: yet another std:: that Allan forgot.
17970 * Variables.C (set): renamed from isset(), because this clashes
17971 with some HP-UX macros (grr).
17973 2001-02-06 Allan Rae <rae@lyx.org>
17975 * LaTeX.h: Another bug fix. Missing std:: this time.
17977 2001-02-04 Allan Rae <rae@lyx.org>
17979 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17980 floats problem. I've left it commented out because it's not quite
17981 correct. It should also test that the current object is a table or
17982 figure inset. But I haven't gotten around to figuring out how to do
17983 that. I *think* it'll be something like: "table" == inset.type()
17985 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17988 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17990 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17991 all the citation/databases/styles in the auxilary file.
17992 (run): Rerun latex if there was a babel language error.
17994 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17996 * text.C (Backspace): Preserve the font when changing newline char
17998 (BreakParagraph): If the cursor is before a space, delete the space.
18000 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18002 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18004 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18005 new argument (code).
18006 (ChangeCitationsIfUnique): New method.
18008 * paragraph.C (GetPositionOfInset): Handle bibkey.
18010 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18012 * BufferView_pimpl.h: change type of Position::par_pos to
18013 LyXParagraph::size_type.
18015 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18017 * BufferView_pimpl.C (savePosition, restorePosition): Write
18018 messages to minibuffer.
18020 2001-01-28 José Matos <jamatos@fep.up.pt>
18022 * buffer.C (makeDocBookFile): adds support for document language.
18023 A silly restriction on the name of LatexCommand types where removed.
18024 Added support for CDATA sections, allows to chars unescaped, used
18025 among others in code, to avoid escape < and >.
18027 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18029 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18030 saved positions instrad of a stack. Furthermore, a position is
18031 stored using paragraph id/paragraph position.
18033 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18034 Remove LFUN_REF_BACK.
18036 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18038 * converter.C (dvipdfm_options): New method.
18040 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18042 * vspace.C (isValidLength): Fix for empty input string.
18044 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18046 * LyXAction.C (init): change description of LFUN_FIGURE to
18049 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18051 * LaTeX.C: add using directive
18053 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18055 * MenuBackend.C (expand): Fix the sorting of the formats.
18057 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18059 * lyx_main.C: tiny error message fix
18061 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18063 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18064 calling fl_initialize(). This fixes the problem with ',' as
18065 decimal separator in text files.
18067 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18069 * trans.C (process): Fix the keymap bug.
18071 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18073 * LaTeX.C (scanAuxFiles): New method. Provides support for
18074 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18075 (scanLogFile) Scan for "run BibTeX" messages.
18077 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18078 OT1 font encoding. Also, load the aecompl package if the ae
18081 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18083 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18085 * texrow.C (increasePos): turn two error messages into debug
18088 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18090 * LaTeX.C (scanAux): Handle the \@input macro.
18091 (runBibTeX): Use scanAux().
18093 * language.C (latex_options_): New field.
18095 * LaTeXFeatures.C (getMacros): Add language macros.
18097 * buffer.C (makeLaTeXFile): Small fix.
18099 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18101 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18103 * text2.C: add a using directive.
18105 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18110 * lyxfunc.C: kill LyXBell.
18112 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18114 * text.C (IsBoundary): Remove the error message
18116 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18118 * lyxrc.C (setDefaults): Correct initialization value for
18121 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18123 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18126 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18127 and GotoNextNote().
18129 * src/LyXAction.C: Added reference-next.
18131 * text.C (InsertChar): Use contains instead of strchr.
18133 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18135 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18137 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18138 alignment commands (when needed).
18140 * text.C (InsertChar): Add ':' to number separator chars.