1 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
6 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
8 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
10 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12 * text.C (insertChar):
13 * text2.C (deleteEmptyParagraphMechanism): take care whether
14 a blank has been deleted (in change tracking mode) (bug 1254).
16 2005-07-20 John Levon <levon@movementarian.org>
18 * text2.C (insertStringAsLines): remove old dubious code,
21 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
23 * MenuBackend.C (expandToc): use Floating::listName() as title of
26 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
28 * toc.[Ch]: Do not use translatable strings (bug 1870).
30 2005-07-20 John Levon <levon@movementarian.org>
32 * tabular.C: fix 1748 - setting multicolumn adds
33 left line to the first cell
35 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
38 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
41 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
43 * messages.C: supress some lyxerr messages
45 2005-07-18 Juergen Vigna <jug@lyx.org>
47 * text.C (drawSelection): honor boundary when asking for cursorX.
49 2005-07-17 José Matos <jamatos@fc.up.pt>
51 * tabular.C (recalculateMulticolumns): fix handling of one column
54 2005-07-17 Juergen Vigna <jug@lyx.org>
56 * text.C (Delete, backspace): fixed so that paragraph with the
57 same layout can be merged by Delete/Backspace.
59 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
61 * text.C (readParToken): fix spelling.
63 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
65 * text2.C: fix counter update for DEPM problem reported by
68 2005-07-17 Juergen Vigna <jug@lyx.org>
70 * BufferView_pimpl.C (setBuffer): save/restore the
71 cursor/selection when switching buffers
74 * buffer.C (saveCursor): add saveDocumentIterators to save the
75 cursor when switching buffer.
77 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
80 * buffer.C: clarify message
82 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
84 * dociterator.C (DocIterator): fix initialization order
86 2005-07-17 Juergen Vigna <jug@lyx.org>
88 * text2.C (cursorHome):
89 * text.C (drawSelection, cursorX):
90 * dociterator.C (textRow): add boundary to getRow() call
92 * paragraph.C (getRow): implementation of below
94 * paragraph.h: add parameter boundary for getRow() function
96 2005-07-17 José Matos <jamatos@fc.up.pt>
100 * tex-strings.[Ch]: new file format, remove support for a4.sty,
101 a4wide.sty and a4widemargins.
103 2005-07-17 Juergen Vigna <jug@lyx.org>
105 * text2.C (cursorLeft): fix one of error
107 2005-07-17 Juergen Vigna <jug@lyx.org>
109 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
111 more fixes for boundary handling
113 * text3.C (dispatch): don't reset cursor if boundary has changed
116 2005-07-16 Juergen Vigna <jug@lyx.org>
118 * text2.C (getColumnNearX): hopefully got it right now,
119 check if we are on column 0 for special case.
121 2005-07-16 Juergen Vigna <jug@lyx.org>
123 * text2.C (getColumnNearX): handle special case Newline Inset
125 * text.C (singleWidth): Just remove bogus check
127 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
129 * funcrequest.C (split): avoid reading uninitialized char c
131 2005-07-16 José Matos <jamatos@fc.up.pt>
137 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
138 single papersize variable.
140 2005-07-16 Juergen Vigna <jug@lyx.org>
142 * text3.C (dispatch): honor boundary when checking if a cursor
143 movement has been done
145 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
146 (setCursor, setCursorIntern): fix cursor movement with boundary
148 2005-07-16 Juergen Vigna <jug@lyx.org>
150 * text.C (currentState): output the actual Boundary
152 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
154 * factory.C (createInset): fix bad logic for tabular creation
156 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
158 * lyx_main.C (init): change some reLyX reference to tex2lyx
160 2005-07-16 Juergen Vigna <jug@lyx.org>
162 * dociterator.C (DocIterator): initialize boundary
164 2005-07-16 Juergen Vigna <jug@lyx.org>
166 * text2.C (getColumnNearX): Consider rows without trailing blank.
168 2005-07-16 André Pönitz <poenitz@gmx.net>
170 * lyxfont.h: Change order of declarations to give the compiler
171 a better chance to inline things
173 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
174 questions on unsaved docs for better scritability
176 2005-07-16 André Pönitz <poenitz@gmx.net>
178 * paragraph.h (getChar): remove asserts as the same kind of security
179 can be achieved by using a suitable standard library implementation
180 and the function was in the critical path (25.9% in profiler)
182 2005-07-16 Juergen Vigna <jug@lyx.org>
184 * cursor.C (bruteFind2):
185 * bufferview_funcs.C (coordOffset):
186 * text.C (cursorX,cursorY): Handle cursor position after last char
187 in row before a inset which uses a whole row.
189 2005-07-15 José Matos <jamatos@lyx.org>
191 * output_plaintext.[Ch] (writeFileAscii): control reference title
193 (asciiParagraph): noparbreak was already deal and was incorrectly
196 2005-07-15 Juergen Vigna <jug@lyx.org>
198 * lyxfunc.C (dispatch): save and restore the cursor after a
201 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
203 * text.C (backspace): bug 806 for empty keepempty paragraphs we
204 change the layout to default before letting DEPM do its thing.
206 * paragraph_funcs.C (breakParagraph): dont reset the layout on
209 * text.C (setCursorFromCoordinates): add a debug statement
211 * text2.C (getColumnNearX): bug 1825 make sure that we don't
212 return a pos that is not on the row
214 * output_latex.C (TeXDeeper): get rid of potential dereferencing
215 of past the end iterator
217 2005-07-14 André Pönitz <poenitz@gmx.net>
219 * undo.C (recordUndoFullBuffer): implement undo for
222 2005-07-14 André Pönitz <poenitz@gmx.net>
224 * cursor.C (setSelection): open insets when selection is set there
225 to avoid crashs with cold coord cache
227 2005-07-14 André Pönitz <poenitz@gmx.net>
229 * trans_mgr.C (insert): move cursor to the right after inserting
232 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
234 * BufferView_pimpl.C (update): dampen some of the debug blabbering
235 * factory.C (readInset): ditto
236 * text.C, text2.C: ditto
238 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
240 * buffer.C: format incremented to 242. There is no file format per
241 se, but the "frenchb" language has been removed from lib/language
242 and has to be translated to "french" by lyx2lyx.
244 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
246 * cursor_slice.h, dociterator.h: add some documentation
247 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
249 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
251 * text.C (leftMargin): do not add identation to display() style
252 insets, because they are always centered (bug 1293).
254 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
256 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
257 formatted_time methods in support/lyxtime.
259 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
261 * toc.[Ch]: new method getGuiName, which is used by the frontends
262 to set the toc combo (fixes bug 1870). Make TOC string translatable.
264 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
266 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
267 StableDocIterator const &)
268 * undo.C (recordUndo): use the above instead of cell.size() comparison
269 (fixes bug 1808; instructed by Andr�.
271 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
274 * dociterator.h: Fix the assert when copying rows/cols in math
276 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
278 * BufferView_pimpl.C:
280 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
282 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
283 (findInset): new functions, refactored from goto Inset that return
284 the position of a certain inset without setting the buffer's cursor
286 (gotoInset): rewrite to call findInset and then set the cursor
289 2005-06-16 Angus Leeming <leeming@lyx.org>
291 * lyxrc.C (output, read): wrap all input and output of paths with
292 calls to os::internal_path and os::external_path, respectively.
293 (output): wrap bind_file inside quotes.
295 * format.C (view): enable the viewer to use the '$$s' placeholder.
297 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
299 * LColor.[Ch] (getFromLaTeXName): new
301 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
303 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
305 2005-06-14 Angus Leeming <leeming@lyx.org>
307 * lyx_main.C (init): ensure that the LyX binary dir is the first
308 element in the PATH on non-POSIX builds.
310 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
312 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
314 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
316 * rowpainter.C (paintInset, paintHebrewComposeChar)
317 (paintArabicComposeChar, paintChars): add a LyXFont argument.
318 (paintChars): use getFontSpan to reduce calls to getFont to a
319 minimum; use Paragraph::lookupChange instead of isXXXText.
320 (paintForeignMark): rename LyXFont argument.
321 (paintFromPos): pass a LyXFont object to the various paintXXX
324 * FontIterator.C (FontIterator, operator++): use
325 Paragraph::getFontSpan
327 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
328 version that returns the font span as a pair.
330 2005-06-09 Angus Leeming <leeming@lyx.org>
332 * converter.C (convert): Don't forget "outfile = real_outfile" as
333 the final step in a conversion where the input and output file names
334 are the same. Otherwise, future conversion steps won't work...
336 2005-06-09 Angus Leeming <leeming@lyx.org>
338 * lyxsocket.C: remove stub code as it isn't needed by
339 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
341 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
343 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
344 effectively disabled -x
346 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
348 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
349 when it actually makes sense.
351 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
353 * BufferView_pimpl.C: revert to showCursor in connection with
354 Lars's front-end stack
356 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
358 * text.C (redoParagraph): move cursor right after a bibitem
361 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
363 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
365 * buffer_funcs.C (bufferErrors): fix computation of the end of an
368 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
370 * BufferView.[Ch] (update):
371 * BufferView_pimpl.[Ch] (update, metrics):
372 * dimension.h (operator==):
373 * lyxfunc.C (dispatch):
374 * metricsinfo.h (ViewMetricsInfo):
375 * rowpainter.C (paintText):
377 * text.C (redoParagraph):
378 * text3.C (dispatch): Make LyX only repaint current paragraph in
379 case of character insert --> speedup. Also fix cursor draw
382 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
384 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
385 avoid a crash (bug 1891)
387 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
391 * text2.C (getStringToIndex): constify cur argument.
393 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
394 argument has been given
395 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
396 try to invoke LFUN_INSET_APPLY).
398 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
399 if no inset was created by doInsertInset
400 (doInsertInset): return true if an inset has been inserted.
402 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
404 * vspace.C (asGUIName): new method. A version of the space
405 suitable for showing on screen.
407 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
410 * lyxrc.C: rename "ASCII" to "Plain Text"
412 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
414 * buffer_funcs.C (expandLabel): take a Buffer as argument;
415 translate the labelstring.
416 (setCounter): translate labelstring as needed.
418 * output_docbook.C (makeCommand): fix expandLabel invokation
420 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
422 * BufferView.C: fix dialog title
424 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
426 * lyx_main.C (priv_exec): fix logic error with help from Angus
427 * lyx_main.C (parse_execute): set is_gui = false and remove now
428 obsolete comment about a segfault
430 2005-05-18 Angus Leeming <leeming@lyx.org>
432 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
434 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
436 * tabular.[hC]: added setCellInset to fix tabular paste.
438 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
440 * buffer.C (save): check if destination is writable before trying
443 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
445 * BufferView_pimpl.C (update): fix processEvents -caused update
448 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
450 * buffer_funcs.C (setCounter): fix test for numbering of
453 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
454 depth correctly; use optional argument when it exists
456 * lyxtextclass.C: remove unused MaxCounterTags enum
457 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
458 (max_toclevel, min_toclevel): new methods.
460 * MenuBackend.C (expandToc2): fix case where depth is smaller than
461 the smallest depth in toc.
463 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
464 layouts that should not appear in a table of contents.
466 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
468 * cursor.h (undispatched, noUpdate): add comments from Andr�
469 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
473 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
475 2005-05-07 André Pönitz <poenitz@gmx.net>
477 * cursor.[Ch] (leaveInset): new function
479 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
481 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
483 2005-05-04 Angus Leeming <leeming@lyx.org>
485 * lyxfunc.C (getStatus): disable the spell checker dialog if
486 none of USE_[AIP]SPELL are defined.
488 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
490 * tabular.C (setWidthOfCell): remove obsolete comment
492 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
494 * paragraph.C (bibitem):
495 * buffer_funcs.C (setCounter):
496 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
498 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
500 * text3.C (getStatus): immediately return after setOnOff
502 * rowpainter.C: fix drawing of appendix start
504 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
506 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
507 SwitchBetweenClasses and remove the unused return value.
508 Handle character styles, too
510 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
512 * factory.C (createInset): handle undefined character styles
514 2005-05-02 Angus Leeming <leeming@lyx.org>
516 * buffer.C: protect the #include of utime.h with a preprocessor
519 2005-05-02 Angus Leeming <leeming@lyx.org>
521 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
522 function so that auto-saving works, albeit in a blocking manner.
524 * Makefile.am: make compilation of the client sub directory, of
525 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
526 on conditionals set at configure time.
528 * SpellBase.[Ch]: no longer an abstract base class. Instead,
529 it can be compiled in its own right but has no-op functionality.
531 * aspell.C, pspell.C: remove preprocessor guards. The files should
532 be compiled only if the necessary functionality exists.
534 * lyxserver.C, lyxsocket.C: disable on Windows.
536 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
538 * text.C (leftMargin): Fix the parindent use bug (1764)
541 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
543 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
546 2005-04-25 Angus Leeming <leeming@lyx.org>
554 include <config.h> in .C files, not .h ones.
556 protect headers inside preprocessor guards.
558 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
560 * FuncStatus.h (StatusCodes): document
562 2005-04-21 André Pönitz <poenitz@gmx.net>
564 * FuncStatus.h (enabled, onoff): document
566 2005-04-19 Angus Leeming <leeming@lyx.org>
568 * BufferView_pimpl.C (cursorToggle): no longer test whether
569 any child processes have been reaped before calling
570 handleCompletedProcesses().
572 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
574 * text3.C (dispatch): fix, finally fix, the language problem in
575 new lyxtexts, without disabling on-the-fly font changes (Helge's
578 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
580 * text3.C (dispatch): set cursor on double/triple click events
583 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
585 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
586 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
588 * rowpainter.C (paintFirst): simplify the code a little bit. In
589 particular, remove the test for secnumdepth.
590 * text.C (setHeightOfRow): only allocate space for chapter number
591 when updateCounters provided an actual label, instead of looking
592 at secnumdepth directly.
594 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
596 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
597 paragraphs when secnumdepth is large enough or, for environments,
598 when they are not the first in a sequence.
600 2005-04-17 Angus Leeming <leeming@lyx.org>
602 * buffer.C (makeLaTeXFile): replace code to manipulate a path
603 containing space and '~' characters with a call to latex_path().
605 2005-04-17 Angus Leeming <leeming@lyx.org>
607 * converter.C (convert): protect all args of convertDefault.sh
610 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
612 * text3.C (dispatch): change the layout to "Caption" after inserting
615 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
617 * text3.C (dispatch): fix language problem in newly created
618 textinsets (and main text) in non-english docs
620 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
622 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
623 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
624 * text3.C (getStatus): disable LFUN_INSET_MODIFY
626 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
631 * rowpainter.C (getFont): Fix metrics bug introduced by inset
634 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
636 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
637 output of \item arguments without trailing text.
639 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
641 * FontIterator.C (operator*): avoid a copy of the font.
643 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
645 * rowpainter.C (getFont): fix language bug from previous fix
647 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
649 * rowpainter.C (RowPainter, getFont): fix font inside inset
652 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
654 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
655 preventing inserted font, deco, delim insets jumping to start of
658 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
660 * lyxfunc.C (dispatch): translate message before sending it to the
663 2005-03-29 Angus Leeming <leeming@lyx.org>
665 * lyx_main.C (priv_exec): call os::internal_path on each file passed
666 to LyX on the command line.
668 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
670 * vc-backend.C: use QuoteName to protect file names wherever
673 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
676 * BranchList.h: fix bugs 1844,1845: document settings don't
679 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
681 * lyxrc.C (setDefaults, read, output, getDescription): add support
682 for tex_allows_spaces.
684 * exporter.C (Export): allows files in directory containing spaces
685 if tex_allows_spaces is true.
687 * buffer.C (makeLaTeXFile): if the document path contains spaces,
688 output it in double quotes.
690 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
692 * rowpainter.C: use default text height for drawing change tracker
695 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
697 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
699 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
701 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
702 directory is missing.
704 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
706 * text2.C: fixed the fix, extended to other case.
708 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
710 * text2.C: fix for cursor up/down stuck in math [bug 1792]
712 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
714 * text2.C (cursorUp): get rid of a crash
715 * text.C (x2pos): add an assert
717 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
719 * lyxfunc.C (getStatus): fix warning when assertions are disabled
723 * dociterator.C: include <boost/current_function.hpp>, which is
724 needed when assertions are disabled.
726 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
728 * text2.C: fix for stuck cursor when traversing two
729 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
731 2005-02-25 Andreas Vox <avox@arcor.de>
733 * output_docbook.C (makeParagraph): suppress trailing newline
734 after a run of paragraphs
736 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
738 * paragraph.C: fix for confused change tracker when pasting
739 text that begins with a lineseparator. [bug 1827]
740 (setChange(0, Change::INSERTED);)
742 * paragraph_funcs.C: fix for lost changes on triple-paste
743 in change tracking mode [bug 1827] (par.setChange()).
745 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
747 * text2.C (updateCounters, setCounter, expandLabel): move to
750 * buffer_funcs.C (updateCounters): turn into a free standing
751 function and add a buffer parameter. Remove dead code for tracking
753 (setCounter): change into a free-standing function which gets a
754 dociterator as argument. Use this iterator to fix captions in a
755 simple way. When no float is found above the caption, use the
756 labelstring of the caption layout as default.
758 * text.C (breakParagraph, backspace):
759 * text2.C (init, setLayout, changeDepth):
760 * text3.C (dispatch):
761 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
764 * dociterator.C (forwardPar): make it much faster by calling
765 forwardPos() only when really necessary.
767 * output_docbook.C (makeCommand): adapt to expandLabel move.
769 * cursor.C: remove unused variable
771 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
773 * paragraph_funcs.C: fix crash when pasting insets in change
774 tracking mode [bug 1277] (honour change type in moveItem).
776 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
778 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
780 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
782 * BufferView.C (setCursor): change to use a DocIterator.
783 (gotoLabel): use BufferView::setCursor (other part of bug 781).
784 (putSelectionAt): adapt to BufferView::setCursor change.
786 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
787 moved here from LyXText and rewritten to use proper cursor
788 methods. Fixes bug 1787, 616 and 835.
790 * BufferView_pimpl.C (restorePosition): set the cursor correctly
791 when inside an inset (part of bug 781).
792 (dispatch): adapt to change of BufferView::setCursor.
793 (getStatus, dispatch): handle LFUN_GOTOERROR,
794 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
796 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
797 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
798 * text3.C (gotoNextInset, gotoInset): removed.
800 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
802 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
804 2005-02-15 Angus Leeming <leeming@lyx.org>
806 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
807 can be used meaningfully in a comparison.
809 2005-02-13 André Pönitz <poenitz@gmx.net>
811 * bufferview_funcs.C (coordOffset): improve cursor drawing
813 2005-02-13 André Pönitz <poenitz@gmx.net>
815 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
816 * Cursor.C (dispatch): use fixIfBroken
817 * lyxfunc.C (getStatus): use fixIfBroken
819 2005-02-15 Angus Leeming <leeming@lyx.org>
821 * lyx_main.C (error_handler):
823 * lyxrc.C (setDefaults):
825 #include "environment.h".
827 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
829 2005-02-15 Angus Leeming <leeming@lyx.org>
831 * lyxserver.C (startPipe): squash MSVC warning "local variable
832 'fd' used without having been initialized".
834 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
836 * BufferView_pimpl.C: revert accidental commit.
838 2005-02-14 André Pönitz <poenitz@gmx.net>
840 * dociterator.[Ch]: new member forwardPosNoDescent(),
841 which doesn't enter nested insets.
842 * text2.C (setFont): use forwardPosNoDescent() instead
843 of ForwardPos() (fixes crash on font change).
845 2005-02-13 Angus Leeming <leeming@lyx.org>
847 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
848 only if lyxrc.path_prefix is not empty.
850 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
852 * bufferparams.C (readGraphicsDriver): prevent crash
854 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
856 * text2.C (setCounter): check for inInset() == 0
858 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
860 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
861 but use update() to get correct screen display; use convert
862 instead of istringstream.
863 (getStatus): handle LFUN_GOTO_PARAGRAPH
865 * lyxfunc.C (dispatch, getStatus): do not handle
866 LFUN_GOTO_PARAGRAPH here.
868 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
870 * text3.C (dispatch): size() -> depth()
872 * text2.C: remove some debug output
874 * paragraph.C: ws changes only
876 * lyxfunc.C (getStatus): size() -> depth()
878 * dociterator.h (clear, push_back, pop_back, internalData,
879 operator[], resize, empty): new functions
880 Make StableDocIterator and operator== be friends. Don't inherit
881 from std::vector use a privat class variable slices_ instead.
884 * dociterator.C: update because of not inheriting from std::vector
885 anymore. Call explictly to slices_ instead. Use depth() instead of
886 size() and top() instead of back()
888 * cursor.C: chagne size() -> depth and back() -> top(). Also
889 remove some direct operator[](i) calls in favour of foo[i]
890 (getFont): remove some dead code
892 * bufferview_funcs.C (coordOffset): size() -> depth()
894 * buffer.C: ws changes only
896 * CutAndPaste.C (eraseSelection): back() -> top()
898 * BufferView_pimpl.C (selectionRequested): back() -> top()
900 * BufferView.C (setCursor): size() -> depth()
902 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
904 * text3.C (cursorPrevious): return true if depm changed something
906 (dispatch): rename sl to oldTopSlice, remove moving use the new
907 NoUpdate func attrib instead. Make sure that needsUpdate is set
908 for function that have NoUpdate, but where depm might have changed
911 * text2.C (cursorLeft): make us return true if depm changed
914 (cursorUpParagraph): ditto
915 (curosrDownParagraph): ditto
916 (cursorUp, cursorDown): ditto, make sure to read comments in code
917 (deleteEmptyParagraphMechanism): remove an assert, also return
918 true if just a single char was deleted.
920 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
921 cursor that we modify, to avoid modifying an active cursor before
922 we call setCursor. This allows depm to run. Also return true if
923 depm deleted something.
925 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
926 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
927 cursorDownParagraph, cursorPrevious and cursorNext, return true if
928 something was changed in the buffer because of them (ie. depm run)
930 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
931 debug messages. Make update by default be false. Make sure that
932 the result of update is retained throught several calls down to
935 * LyXAction.h: add a new func_attrib: NoUpdate
937 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
938 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
939 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
941 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
943 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
945 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
946 bv_->owner(), bv_->buffer() by direct references to the private
948 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
949 (getStatus): isSavedPosition() is in BufferView::Pimpl.
950 (fitCursor): center() is in BufferView::Pimpl.
951 (getStatus, trackChanges, dispatch): no need for a temporary buf
953 (fitCursor, workAreaDispatch): use workarea().workheight()
955 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
957 * CutAndPaste.C (pasteSelectionHelper): fix a crash
959 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
961 * buffer.C: format up to 241.
962 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
963 break if pasting into ERT
964 * lyxfunc.C (getStatus): suppress mathpanel and
965 LFUN_DIALOG_SHOW_NEW_INSET in ERT
967 2005-02-01 Angus Leeming <leeming@lyx.org>
969 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
971 2005-02-01 Angus Leeming <leeming@lyx.org>
973 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
974 calling fs::is_directory().
976 2005-01-31 Angus Leeming <leeming@lyx.org>
978 * lyx_main.C (priv_exec): specify explicitly the relative location
979 of the top level build directory when run in-place.
981 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
983 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
984 LyXText containing the cursor, not the top-level one.
986 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
988 (insertStringAsLines): rename par to pit; use temporary variable
989 par to hold a Paragraph; do not store par.layout() in a variable,
990 since the pointer may die when breaking paragraphs; pass pars to
991 breakParagraph() instead of Buffer::paragraphs().
993 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
995 * lyxlex_pimpl.h: #include <fstream>.
997 * BufferView.[Ch] (getLyXText): add a const version.
999 * BufferView_pimpl.C: add debug aids.
1004 * paragraph_funcs.h: add commentary explaining what the class does.
1007 * coordcache.[Ch]: add lots of commentary.
1008 (startUpdating, doneUpdating): debug aids.
1009 (arrays, insets, parPos, getParPos): accessors to private data.
1011 * cursor_slice.[Ch] (text): add a const version.
1012 * dociterator.[Ch] (text, innerText): add const versions.
1014 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1017 * paragraph.C (getRow, pos2ros): add asserts.
1019 * paragraph.h: add commentary. Lots of.
1021 * paragraph.[Ch] (metrucs, draw): removed.
1024 * rowpainter.[Ch]: const-correct changes.
1026 * text.C: various obvious clean-ups. Removal of ancient cruft.
1029 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1031 * vc-backend.C (find_file): rewrite to use boost.filesystem
1034 * main.C (main): set default name check for boost.filesystem to
1037 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1040 (actOnUpdatedPrefs): ditto
1042 * lyx_main.C (init): rewrite to use boost.filesystem
1043 (queryUserLyXDir): ditto
1045 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1046 (getContentsOfAsciiFile): ditto
1048 * lastfiles.C (readFile): rewrite to use boost.filesystem
1050 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1052 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1053 (loadLyXFile): ditto
1055 * buffer.C (Buffer): adjust for destroydir
1056 (getLogName): rewrite to use boost.filesystem
1057 (setFileName): ditto
1058 (save): use fs::copy_file (from fs_extras)
1060 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1062 * LaTeX.C (run): rewrite to use boost.filesystem
1063 (scanAuxFiles): ditto
1064 (handleFoundFile): ditto
1066 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1068 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1070 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1072 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1074 * lyxlayout.[Ch]: change some vars from float to double
1076 * buffer.C (readFile): make a local var const
1078 * Several files: use convert<> instead of atoi,strToXXX and friends
1080 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1082 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1083 holds the contents of packages.lst. New functions getAvailable
1084 and isAvailable to parse and check that list, resp.
1088 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1090 * bufferparams.[Ch]: new param output_changes.
1092 * Buffer.C: increase file format to 240.
1093 Use output_changes and isVailable.
1097 * paragraph_pimpl.C: Use output_changes and isVailable.
1099 2005-01-23 Angus Leeming <leeming@lyx.org>
1101 * output_latex.C: #include "insetbibitem.h", rather than
1102 forward declare function bibitemWidest.
1104 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1106 * lyx_main.C (init): make it compile on the Mac.
1108 2005-01-20 Angus Leeming <leeming@lyx.org>
1110 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1111 (setLyXMisc): (char string literal) != (char string literal) is
1112 performing a comparison on the addresses. Convert one operand
1113 explicitly to string to guarantee expected behaviour.
1116 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1119 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1121 * output_plaintext.C: remove unneeded #include gzstream.h.
1123 2005-01-20 Angus Leeming <leeming@lyx.org>
1125 * SpellBase.h: rename some of the elements of the Result enum.
1132 * pspell.C (check): ditto
1134 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1136 * buffer.C: add #include <fstream>.
1138 * lyx_main.C (init): Compile fix.
1140 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1142 2005-01-20 Angus Leeming <leeming@lyx.org>
1144 * mover.h: change commentary to reflect the changed meaning of
1145 the $$s placeholder.
1147 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1149 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1151 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1153 2005-01-20 Angus Leeming <leeming@lyx.org>
1155 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1156 printing diagnostic data by not dereferecing an iterator past the
1159 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1161 * buffer.C (readHeader): use "&&" rather than "and".
1163 * lyxserver.h (inPipeName, outPipeName): make these const.
1165 2005-01-19 Angus Leeming <leeming@lyx.org>
1167 * lyx_main.C (error_handler, init): protect SIGHUP with
1168 #ifdef SIGHUP guards.
1170 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1172 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1174 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1176 * text.C (setHeightOfRow): add a margin at the top and bottom of
1177 the document (bug 1761)
1179 2005-01-17 Angus Leeming <leeming@lyx.org>
1181 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1182 with "python ". Workaround for a brain-dead Windows.
1184 2005-01-16 Angus Leeming <leeming@lyx.org>
1186 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1187 for MacOSX and Windows to use prependEnvPath.
1188 Strip out the hard-coded block to add elements to the PATH for
1189 MacOSX and replace it with a call to prependEnvPath using the
1190 contents of LyXRC::path_prefix.
1191 (queryUserLyXDir): strip out the code to run reconfigure, instead
1192 returning a boolean indicating the necessity to do so.
1193 (reconfigureUserLyXDir): contains the code to reconfigure the
1194 user support directory. Is now called after the various LyXRC data
1195 files have been read.
1197 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1199 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1201 * converter.[Ch] (convert): take a new parameter try_default. Use
1202 a default converter (imagemagick) if try_default is true.
1204 2005-01-13 Angus Leeming <leeming@lyx.org>
1206 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1207 os::cygwin_path_fix.
1208 (write): output LyXRC::cygwin_path_fix as necessary.
1210 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1213 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1215 2005-01-12 Angus Leeming <leeming@lyx.org>
1217 * lyx_main.C (init): set the PATH variable to include the
1218 directory containing the LyX binary when running on Mac or Windows.
1220 2005-01-12 Angus Leeming <leeming@lyx.org>
1222 * lyx_main.C (init): remove cruft that purports to set the locale
1223 dir. It doesn't and is not needed anyway.
1225 2005-01-10 Angus Leeming <leeming@lyx.org>
1227 * Makefile.am: remove the lyx_main.C special casing.
1229 * BufferView_pimpl.C:
1235 * messages.C: use support/package.h to provide the paths to the
1236 various directories used by LyX.
1238 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1240 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1241 layout if pasting into an empty paragraph)
1243 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1245 * tex-accent.C: add <string>
1247 2005-01-06 José Matos <jamatos@lyx.org>
1249 * ParagraphParameters.C (write): put every parameter in its own line.
1250 * paragraph.C (write): reduce number of consecutive empty lines exported.
1251 * buffer.C (LYX_FORMAT): increase file format to 239.
1253 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1255 * everywhere: change support/tostr.h -> support/convert.h
1257 * tabular.C: make all write_attributes templates, tostr -> convert
1259 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1260 (emptyTag): and -> &&, and fix type for ret from getChar
1261 (getFirstWord): fix type for ret from getChar
1262 (onlyText): and -> &&
1263 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1266 * toc.C (goTo, action):
1267 * text3.C (dispatch):
1268 * text.C (currentState):
1269 * tex-accent.C (DoAccent):
1272 * lyxfunc.C (menuNew):
1273 * lyxfinc.C (replace):
1274 * counters.C (laberItem):
1275 * bufferview_funcs.C (font2string):
1276 * bufferparams.C (writeFile):
1277 * buffer.C (readFile):
1279 * MenuBackend.C: tostr -> convert
1281 * LaTeX.C (runMessage): fix format
1282 (scanAuxFiles): tostr -> convert
1284 * BufferView_pimpl.C (savePosition): fix format
1285 (restorePosition): ditto
1288 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1290 * Spacing.[Ch]: New method getValueAsString().
1294 * ParagraphParameters.C:
1297 * text3.C: store/read spacing value as string.
1299 * rowpainter.C: change float value (spacing_val) to double.
1301 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1302 broken custom document spacing).
1304 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1306 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1307 namespace, also more use of temp references and const
1309 * cursor.[Ch] (getStatus): move to lyxfunc.C
1311 * bufferparams.C: reformat slightly
1313 * bufferview_funcs.C (font2string): constify arg
1319 * buffer_funcs.C: (many funcs): constify arg on function
1320 definitions, also make more local vars const, also add ASSERTS on
1323 * buffer.C (LYX_FORMAT): put const in correct place
1324 (many funcs): constify arg on function definitions, also make
1325 more local vars const
1327 * aspell_local.h: remove "struct" from typdef setup
1329 * aspell.C (check): make word_ok const
1330 (nextMiss): simplify slightly
1333 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1335 * lyxrc.[Ch]: store all float values as strings.
1336 use int (not float) for lyxrc.dpi.
1338 2005-01-04 Angus Leeming <leeming@lyx.org>
1340 * lyx_cb.C (Reconfigure):
1341 * lyx_main.C (queryUserLyXDir):
1342 to run the <system_lyxdir>/configure correctly on Windows, prefix
1343 the path to the script with "sh " when generating the string that
1344 is passed to system().
1346 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1348 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1350 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1352 * lyxlength.C (asLatexString): get rid of setprecision
1354 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1356 * text2.C (setLayout): remove unused variable endpit.
1357 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1359 * paragraph.C (onlyText): remove unused variable style.
1361 * cursor.C (bruteFind): remove unused variables beg and end.
1363 * Makefile.am (dist_noinset_DATA): not needed anymore
1365 * cheaders/*: remove.
1367 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1369 * text3.C: fix LFUN_MATH_MODE.
1371 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1373 * buffer_funcs.C (countWords): new function. Counts words between
1376 * BufferView_pimpl.C (getStatus, dispatch): handle
1379 * LyXAction.C (init):
1380 * lfuns.h: add LFUN_WORDS_COUNT.
1382 2004-12-19 Angus Leeming <leeming@lyx.org>
1384 * buffer.C (save): s/slashify_path/internal_path/.
1386 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1388 * lyxfind.C (findChange): do not search for end of pars, because
1389 the change tracker cannot handle this (fixes bug 1719).
1391 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1393 * paragraph.[Ch] (autoBreakRows): remove
1395 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1397 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1398 avoid using the paragraph one
1400 * text2.C (LyXText, insertStringAsLines): adjust
1402 2004-12-16 Angus Leeming <leeming@lyx.org>
1406 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1408 2004-12-14 Angus Leeming <leeming@lyx.org>
1410 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1412 * bufferlist.C (emergencyWrite):
1413 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1416 2004-12-14 Angus Leeming <leeming@lyx.org>
1418 * main.C: (main): no longer pass pointers to os::init.
1420 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1422 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1423 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1425 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1428 * text3.C: remove selection_possible global flag
1430 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1432 * text2.C (getSelectionSpan): remove
1433 (changeDepth, changeDepthAllowed): adjust
1435 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1437 * Makefile.am (BOOST_LIBS): use boost variables
1439 2004-12-03 José Matos <jamatos@lyx.org>
1441 * buffer.C: format up to 238.
1443 2004-12-03 José Matos <jamatos@lyx.org>
1445 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1447 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1449 * cursor.C (goUpDown): remove call to idxUpDown2
1451 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1453 * tabular.[Ch]: use size_t-like types for cell, row and column
1456 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1458 * lyxfunc.C (getStatus): do not lose previous information when
1459 calling BufferView::getStatus; do not set a default "Command
1460 disabled" message at the beginning, but just before returning.
1462 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1464 * cursor.h (getStatus): add better comment from src/cursor.C
1466 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1468 * text3.C (getStatus): return false when the lfun is not handled
1470 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1472 * broken_headers.h: remove
1474 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1476 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1478 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1479 offset_ref accessors
1481 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1482 top_y_, merge fitcursor with update
1483 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1485 (metrics): introduce
1486 (workAreaDispatch): adapt to new coord scheme
1487 (redoCurrentBuffer): remove
1489 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1491 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1494 * coordcache.[Ch]: add paragraph cache and helpers
1496 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1499 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1500 (targetX, setTargetX): introduce
1502 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1503 baseline -> ascent, as the rest of lyx
1505 * lyxtext.h: remove redoParagraphs, updateParPositions,
1506 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1507 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1508 have ascent/descent (ascent is ascent of first par)
1510 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1513 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1515 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1517 * pariterator.C: fix infinite loop introduced in par->pit renaming
1519 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1520 in insets and LyXText, draw two off-screen paragraphs using
1521 NullPainter, and adapt to new coord scheme
1525 * text3.C: adapt lfun handlers to the new coord scheme, which
1526 means: there's only guaranteed coord information for onscreen pars
1527 plus one above and one below. This implies that one can do search
1528 from y coordinates in the range [-1,workHeight]
1530 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1532 * rename a lot of InsetOld to InsetBase
1534 2004-11-25 Angus Leeming <leeming@lyx.org>
1536 * BufferView_pimpl.C:
1538 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1540 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1542 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1543 call BufferView::getStatus if LCursor::getStatus did nothing
1544 (setStatusMessage, getStatusMessage): removed.
1546 * FuncStatus.C (message): new methods. Used to provide an error
1547 message indicating why a command is disabled.
1548 (clear, |=, FuncStatus): update for message.
1550 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1552 * lyxfunc.C (dispatch): always call sendDispatchMessage
1554 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1557 * BufferView_pimpl.C:
1562 * cursor_slice.[Ch]:
1565 * paragraph_funcs.C:
1571 * undo.C: par->pit renaming
1573 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1575 * tabular.C (cellstruct): use initialization, store a shared_ptr
1576 to insettext instead of the insettext directly, adjust to fit.
1577 (operator=): new function
1578 (swap): new function
1579 (rowstruct): use initialization
1580 (columnstruct): use initialization
1581 (ltType): use initialization
1584 * lyxlength.h (swap): new function
1586 * LColor.[Ch] (operator=): use the common semantics
1588 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1590 * lyxfind.C (findNextChange): update the bufferview after setting
1593 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1595 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1596 number of InsetOptArgs has already been inserted.
1598 * output_latex.C (latexOptArgInsets): new method. This outputs all
1599 the optarg insets, up to the limit defined in the layout file.
1600 (optArgInset): removed
1601 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1603 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1605 * paragraph.C (isLetter): remove special spellchecker-related
1606 code; return true also for digits
1607 (isWord, isKomma): remove
1609 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1610 * lyxfind.C (MatchString()): use isLetter instead of isWord
1612 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1614 * pariterator.h (operatir=): comment out un-implemented member
1617 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1620 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1622 * lyxfont.h: include LColor.h to satisfy concept checks.
1624 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1626 * pariterator.h: add typdefs for value_type, difference_type,
1627 pointer and reference to satisfy concept checks. Also add default
1628 constructor for same reason.
1630 * pariterator.C (operator++): add post-increment operator to
1631 satisfy concept checks.
1633 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1636 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1638 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1639 checks. Also rename base_type to BaseType to follow naming
1642 * FloatList.h: include Floating.h to satisfy concept checks.
1644 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1646 * lyxfunc.C (getStatus): when the origin of the request is menu or
1647 toolbar, and the LyXView does not have focus, do as if there was
1648 no buffer (bug 1720)
1650 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1651 FuncRequest to individual entries of LFUN_SEQUENCE
1653 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1655 * output_latex.C (TeXOnePar): override runparams.moving_arg
1656 according to the needprotect value of the current paragraph (bug
1659 * paragraph.C (simpleTeXOnePar): no need to override
1660 runparams.moving_args here
1662 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1664 * vspace.C: fix off-by-one-error, related to fix #1682
1666 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1668 * lengthcommon.C: a more general fix for bug 1682
1670 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1672 * text.C (backspace): fix crash
1674 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1676 * format.[Ch] (getFormatFromFile): new method
1677 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1679 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1681 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1683 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1685 * lyxfunc.C (dispatch): remove the verbose argument
1686 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1689 * kbmap.C (defkey): set the origin of func to KEYBOARD
1691 * MenuBackend.C (MenuItem):
1692 * ToolbarBackend.C (add): set the origin of func to UI
1694 * funcrequest.[Ch]: add origin member, which indicates which part
1695 of LyX requests an action
1697 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1699 * converter.C (move): don't lie in the error message
1700 * converter.h (isReachable, move): document
1702 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1704 * buffer.C: remove unused using lyx::support::atoi
1705 * paragraph_funcs.C: ditto
1707 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1709 * bufferlist.C (exists): use bind and equal_to instead of
1712 * lyxtextclasslist.C (NumberOfClass): ditto
1714 * cursor.C (insert): use for_each instead of explicit for loop
1716 * bufferlist.C (getFileNames): use std::transform and
1717 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1719 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1722 * buffer.C (changeLanguage): use for_each instead of explicit for
1724 (hasParWithID): implement using getParFromID
1726 * LaTeXFeatures.C: ws change only
1728 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1731 * BufferView_pimpl.C (trackChanges): use for_each instead of
1734 2004-11-04 André Pönitz <poenitz@gmx.net>
1737 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1739 * dociterator.C (asDocIterator): use hard assert again.
1741 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1743 * lyxlength.C (asLatexString): rewrite so that it does not use
1746 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1748 * text3.C (specialChar, dispatch): make sure cursor moves to the
1749 right after inserting an inset
1751 2004-11-02 José Matos <jamatos@lyx.org>
1753 * output_docbook.C (docbook):
1754 * paragraph.C (getID):
1755 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1756 garantee that the output is always legal.
1758 * tabular.C (docbook):
1759 * outputprams.[Ch]: remove mixed contents.
1761 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1763 * text2.C (setCounter): prevent endless loop
1765 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1767 * exporter.C (copyFile): use the mover instead of support::copy()
1768 * exporter.C (Export): pass format and latex name to copyFile()
1769 * exporter.h (addExternalFile): document
1770 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1772 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1774 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1776 2004-10-30 José Matos <jamatos@lyx.org>
1778 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1779 text and no inset or font change. This allows to use CDATA
1780 sections just for the whole paragraph.
1782 2004-10-30 José Matos <jamatos@lyx.org>
1784 * paragraph.C (getFirstWord): remove unused variable.
1786 2004-10-30 José Matos <jamatos@lyx.org>
1788 * paragraph.C (getFirstWord): the content should always be escaped
1790 (simpleDocBookOnePar):
1791 * output_docbook.C (makeEnvironment): replace reference to CDATA
1794 2004-10-30 José Matos <jamatos@lyx.org>
1796 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1798 2004-10-30 José Matos <jamatos@lyx.org>
1800 * output_docbook.C (makeParagraphs):
1801 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1802 standard paragraph has only a given type of content drop the wrapper.
1804 2004-10-29 José Matos <jamatos@lyx.org>
1806 * output_docbook.C (makeEnvironment):
1808 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1810 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1812 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1813 (cleanID): sanitize any id.
1815 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1817 * buffer.C, lyxlex_pimpl.C:
1818 * lyxlex_pimpl.C (setFile):
1819 s/getExtFromContents/getFormatFromContents/
1821 2004-10-28 José Matos <jamatos@lyx.org>
1823 * output_docbook.C (makeEnvironment): move id to broadest possible
1826 * sgml.C (openTag): apply substitution of <> for all attributes.
1828 2004-10-28 José Matos <jamatos@lyx.org>
1830 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1831 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1832 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1834 * sgml.[Ch]: new version for open and closeTag for paragraph and
1835 for strings. Now they handle the ids of paragraphs.
1837 2004-10-26 Angus Leeming <leeming@lyx.org>
1839 * Makefile.am: add mover.[Ch].
1841 * converter.C (convert, move): use the new Movers to move external
1842 files to the temp directory.
1844 * lyx_main.C (init): ensure that the global system_movers data
1847 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1850 * mover.[Ch]: new files, defining a Mover as a utility to move an
1851 external file between directories and, if necessary, manipulate this
1852 file using a helper script.
1854 2004-10-25 José Matos <jamatos@lyx.org>
1856 * output_docbook.C (makeCommand): merge two if's that tested the
1859 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1861 * sgml.C (escapeString): fix warning in a better way
1863 2004-10-25 José Matos <jamatos@lyx.org>
1865 * sgml.C (escapeString): import the require boosts header file for
1866 tie, and avoid a signed unsigned comparison.
1868 2004-10-25 José Matos <jamatos@lyx.org>
1870 * sgml.h: add #include <string>
1872 2004-10-25 José Matos <jamatos@lyx.org>
1874 * sgml.[Ch] (escapeString): new function to escape all the string.
1876 2004-10-24 José Matos <jamatos@lyx.org>
1878 * paragraph.[Ch] (getFirstWord): new function to get the first
1879 word. Useful for description.
1880 (simpleDocBookOnePar): remove depth argument, add another that
1881 says where to start the paragraph.
1883 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1884 use the new functions to fix cleanly the support for descriptions.
1886 2004-10-24 José Matos <jamatos@lyx.org>
1888 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1889 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1890 * output_linuxdoc.C (linuxdocParagraphs):
1891 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1892 add buffer as argument.
1894 2004-10-24 José Matos <jamatos@lyx.org>
1896 * output_docbook.C (makeEnvironment, searchEnvironment): place
1897 CDATA inside paragraphs and fix scope for listitems.
1899 2004-10-24 José Matos <jamatos@lyx.org>
1901 * output_docbook.C: remove using statement for stack.
1903 2004-10-23 José Matos <jamatos@lyx.org>
1905 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1906 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1907 docbook. The new scheme is recursive and makes use of iterators, the
1908 same as latex export works.
1909 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1910 directly with the paragraph contents. This code was moved up to
1911 output_docbook.C (docbookParagraphs).
1912 * sgml.C (openTag, closeTag): removed unneeded newlines.
1913 (closeEnvTags) removed.
1915 2004-10-23 André Pönitz <poenitz@gmx.net>
1917 * undo.C (textUndoOrRedo):
1918 * dociterator.C (asDocIterator): work around crash
1920 * cursor.C (getStatus): replace ASSERT by more verbose error message
1921 and manual correction of the problem. Should increase stability
1922 while providing more sensible information.
1924 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1926 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1928 * bufferlist.C (previous, next): new methods
1931 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1933 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1935 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1936 entities to preamble.
1938 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1940 * messages.C (Pimpl): strip off translation context information
1942 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1944 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1945 the cursor is correct (bug 1694)
1947 2004-10-13 José Matos <jamatos@lyx.org>
1949 * output_docbook.C (docbookParagraphs): fix closing tags in the
1950 end of the document.
1952 2004-10-09 José Matos <jamatos@lyx.org>
1954 * buffer.C: format up to 237.
1955 * bufferparams.C (write): use tostr to convert booleans to strings.
1957 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1959 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1961 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1963 * LaTeX.C: implement use of babel language in xindy.
1965 2004-10-05 José Matos <jamatos@lyx.org>
1967 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1968 Add new translators to help reading and writing the lyx file.
1970 2004-10-05 José Matos <jamatos@lyx.org>
1972 * ParagraphParameters.C (read):
1973 * text.C (readParToken): replace nexToken by more appropriate lex
1976 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1978 * LaTeX.C (runMakeIndex):
1979 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1980 (usually 'makeindex') configurable.
1982 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1983 with a variable rather than with a number.
1985 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1987 * output_latex.C (TeXOnePar): make sure font setting is the first
1988 thing that gets output (and the last at the end). Should fix bug
1991 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1993 * pch.h: use proper signal include
1995 * LaTeX.h: Use preferred calling of Boost.Signal
1998 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2000 * pch.h: dont include <boost/function/function0.hpp>
2002 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2004 * paragraph_pimpl.h: remove usage of ShareContainer
2006 * paragraph_pimpl.C: remove initialization of ShareContainer.
2008 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2012 * BufferView.C (putSelectionAt): change the semantics when
2013 backwards == true: now, this just swaps cursor and anchor wrt the
2016 * BufferView.h (putSelectionAt): add some documentation
2018 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2019 make sure backwardChar is done at least once (to avoid getting
2021 (findNextChange): use putSelectionAt in the forward direction
2022 (operator()): use Paragraph::isWord
2024 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2026 * Spacing.C (set): c_str fix
2028 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2030 * lyx_cb.C (Reconfigure): quote the name of configure script in
2031 case it contains spaces
2033 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2037 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2038 (BOOST_LIBS): use top_buildir when looking for the file
2040 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2042 * pch.h: do not use include boost/format.hpp, multiple symbols
2043 will result (gcc bug)
2046 2004-08-23 José Matos <jamatos@lyx.org>
2048 * bufferparams.C (readToken): fix reading of the author field.
2050 2004-08-20 José Matos <jamatos@lyx.org>
2052 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2054 2004-08-20 José Matos <jamatos@lyx.org>
2056 * lyxlex.[Ch] (findToken): remove function.
2058 * ParagraphParameters.C (findToken):
2059 * bufferparams.C (findToken): replace call for previous function
2060 with local copy. This local function has one more argument, the
2061 read string argument.
2063 2004-08-16 José Matos <jamatos@lyx.org>
2065 * ParagraphParameters.C (write):
2066 * Spacing.C (writeFile):
2067 * bufferparams.C (writeLaTeX):
2068 * lyx_cb.C (Reconfigure):
2069 * paragraph.C (write):
2070 * tabular.C (write): remove unnecessary space at end of line.
2073 2004-08-16 José Matos <jamatos@lyx.org>
2075 * text.C (readParagraph): remove debug message.
2077 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2079 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2082 * output_plaintext.C (asciiParagraph): set depth correctly
2084 * outputparams.h: add member depth
2086 * paragraph_funcs.C (ownerPar): remove.
2088 * text2.C (setCounter): remove first_pit; comment out some
2089 non-working code that uses ownerPar
2091 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2094 2004-08-16 José Matos <jamatos@lyx.org>
2096 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2097 For the same level of importance use the same chanel to report problems.
2098 (read): add code to deal with \begin_body and \end_body.
2101 2004-08-15 José Matos <jamatos@lyx.org>
2103 * lyxlex.C (getString): fix comment, buffer::readBody is now
2104 buffer:readDocument.
2106 * tex-strings.C (string_papersize): Default -> default,
2107 Custom -> custom, for consistency with other options.
2109 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2113 * Makefile.am: support pch
2115 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2117 * text.C (readParToken): remove the static LyXFont variable and
2118 pass it as a parameter instead. This fixes a nasty bug where an
2119 inset will be inserted with a bad font in some situations
2120 (readParagraph): adapt
2122 * text2.C (setCounter): reduce number of calls to pars_[pit]
2124 * text.C (singleWidth): add an assert, fix a test
2126 * rowpainter.C (paintText): reduce number of calls to singleWidth
2128 * paragraph.C (isHfill):
2129 (isNewline): ws only
2131 2004-08-14 André Pönitz <poenitz@gmx.net>
2136 * lyxtext.h (several functions): use a Paragraph & argument
2139 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2141 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2143 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2145 * text.C (singleWidth): remove useless test
2147 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2149 * tabular.h: remove bogus comments
2151 * tabular.C (getDescentOfRow):
2152 (isPartOfMultiColumn): add assertions
2154 * lyxlength.C (inPixels): remove #warning
2156 2004-08-14 André Pönitz <poenitz@gmx.net>
2158 * paragraph.h: inline getChar()
2160 * BufferView.h: remove unused declarations
2162 2004-08-14 José Matos <jamatos@lyx.org>
2164 * Buffer.[Ch] (readDocument): new name for old readBody.
2165 * Buffer.C: new file format, new keywords: \begin_document,
2166 \begin_header, \begin_body, \end_body.
2168 * bufferparams.C (readToken): replace all calls to lex.nextToken
2169 by lex.next(). Do the same to eatLine except where really needed.
2171 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2172 line when writing to the lyx file.
2174 * output_plaintext.C (asciiParagraph): fix Bibliography style
2177 * text.C (read): fix end of file handling.
2179 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2181 * MenuBackend.C (Menu::operator[]): new method to access
2182 individual menu items
2183 (Menu::hasFunc): new method. search for an item that corresponds
2185 (MenuBackend::specialMenu): new method
2186 (MenuBackend::expand): if a special menu has been set, skip
2187 entries whose func() appears in this menu
2189 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2191 * text3.C: use Debug::DEBUG a bit more
2193 * text.C (leftMargin): try to simplify a tiny bit change var x to
2194 l_margin. Dont output the wide margins always.
2195 (rightMargin): no margin in inner texts
2197 * rowpainter.h (nestMargin): new func
2198 (changebarMargin): new func
2199 (rightMargin): new func
2201 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2205 * factory.C (createInset): modify setDrawFrame
2207 * cursor.C: use Debug::DEBUG a bit more
2209 2004-08-14 André Pönitz <poenitz@gmx.net>
2212 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2213 cache for all insets in (at least partially) visible (top-level)
2216 * BufferView_pimpl.C: reset external coord cache before every update.
2217 This means the coord cache only contains valid entries.
2219 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2222 * BufferView_pimpl.C (getInsetByCode): move function out of class
2223 and change in to a template in anon namespace. Also fix to do what
2226 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2229 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2231 (breakParagraph): rename par to par_offset and use a local
2232 reference. Add code to keep the language over a rebreak.
2233 (breakParagraphConservative): rename par to par_offset, use a
2235 (mergeParagraph): ditto
2237 (isFirstInSequence): ditto
2238 (outerFont): rename pit to par_offset
2240 * paragraph.C: ws change
2241 * paragraph.h: ditto
2245 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2247 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2250 * paragraph.C (simpleTeXOnePar): when we have a \item with
2251 optional argument, enclose the argument with curly brackets (in
2252 case it contains a closing square bracket)
2256 * text3.C (checkInsetHit): constify
2258 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2260 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2261 documents (bug 1629)
2263 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2265 Fix toggling of collapsable insets with the mouse (bug 1558)
2267 * lyxfunc.C (dispatch): adapt to LCursor changes
2269 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2270 make sure that dispatch is not invoked twice
2272 * cursor.C (needsUpdate): new method
2273 (dispatch): return void
2274 (result): new method, to access the DispatchResult of the cursor.
2276 2004-08-13 José Matos <jamatos@lyx.org>
2278 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2280 2004-08-13 André Pönitz <poenitz@gmx.net>
2282 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2284 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2287 2004-08-12 André Pönitz <poenitz@gmx.net>
2289 * text3.C: take out the 'cursor right' form insertInset and only
2290 do it in those places when it is really needed. Fixes crash on
2293 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2295 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2297 * BufferView_pimpl.C (setBuffer): initialize the current font of
2298 the underlying LyXText
2300 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2302 * kbsequence.C (print): use UI native formatting for menu
2305 * text.C (insertChar): call Paragraph::insertChar with a font
2308 * paragraph.C (insertInset, insertChar): the version that takes a
2309 LyXFont argument is now a wrapper around the other one (the
2310 opposite used to be true).
2312 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2313 argument. Font setting is done in Paragraph now.
2315 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2317 * outputparams.h: add new members intitle and lang.
2319 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2320 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2322 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2324 * text3.C (dispatch): remove special handling of button 4 and 5,
2325 it is now taken care of in the frontend code.
2327 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2329 * Spacing.h: add <string> (STLPort compile fix)
2331 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2333 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2335 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2337 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2340 * converter.C (showMessage): inherit from unary_function, make
2343 * buffer.C (writeFile): initialize retval
2345 * InsetList.h: rename private variable list to list_
2346 * InsetList.[Ch]: adjust accordingly.
2348 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2350 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2351 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2352 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2353 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2354 * ParagraphParameters.C, LaTeXFeatures.C: replace
2355 "support/std_sstream.h" with <sstream>
2357 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2359 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2360 * lyxsocket.C (LyXServerSocket): ditto
2361 (serverCallback): ditto
2363 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2365 * LaTeXFeatures.C: check release date when loading jurabib.
2367 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2369 * lyxserver.C (startPipe): call register_socket_callback
2370 (endPipe): call unregister_socket_callback
2372 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2374 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2375 (LyXServerSocket): register the callback
2376 (LyXServerSocket): unregister the callback
2377 (fd): delete function
2378 (serverCallback): improve error checking and setup the callbacks.
2379 (dataCallback): change arg to fd.
2380 (writeln): new func (copied fro the client socket) used for server
2382 (LyXDataSocket): simplify
2383 (~LyXDataSocket): close ann unregiser callback
2384 (server): delete function
2385 (fd): delete function
2386 (readln): small changes, improve some std::string usage
2387 (writeln): constify a bit
2389 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2391 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2394 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2396 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2397 after it has been populated
2399 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2401 * text2.C (insertInset): move cursor when inserting inset.
2403 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2405 * kbmap.C (findbindings): a couple of new methods. returns a
2406 container of kb_sequence objects. The real work is done by the
2407 private recursive version
2408 (printbindings): uses findbindings to print out a bracketed list
2409 of bindings (renamed from findbinding).
2411 * MenuBackend.C (binding): use kb_keymap::findbindings
2413 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2415 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2417 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2419 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2421 * paragraph.C (isWord): return true on insets that report
2424 * text.C (getWord): use Paragraph::isWord to decide what is in a
2425 word and what is not; fix bug 1609.
2427 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2429 * tex-strings.C: add "none" to string_paperpackages[], fixes
2430 off-by-one-error in the paperpackage selection.
2433 * tex-strings.[Ch]: char const * string[n]
2434 -> char const * const string[]
2436 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2438 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2439 command, return early.
2441 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2443 * debug.h: add DEBUG to enum and fix size of ANY.
2445 * debug.C: add support for Debug::DEBUG
2446 (showTags): cast errorTags.level to unsigned int
2448 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2449 (redoCurrentBuffer): ditto
2450 (updateScrollbar): ditto
2451 * cursor.C (dispatch): ditto
2452 * text2.C (setLayout): ditto
2454 (updateCounters): ditto
2456 (deleteEmptyParagraphMechanism): ditto
2458 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2460 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2461 annotations to cleanup the Makefile slightly.
2463 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2465 * lyxrc.C: do not set user_email to a default value but use empty
2466 instead. The entry used to be translated, which does not work
2467 since at the point where lyxrc is constructed there is no
2468 translation service available
2470 * messages.C (getLocaleDir): remove and use directly
2471 lyx_localedir() instead
2473 2004-06-02 Angus Leeming <leeming@lyx.org>
2475 Fix crash caused by dereferencing null pointer 'exportdata' in
2476 OutputParams by creating a new ExportData variable on the heap,
2477 storing it in a boost::shared_ptr.
2478 The crash was triggered when generating an Instant Preview
2479 of an external inset.
2481 * Makefile.am: add outputparams.C
2483 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2484 (c-tor): allocate memory to it.
2486 * exporter.C (c-tor): associated changes.
2488 2004-06-01 Angus Leeming <leeming@lyx.org>
2490 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2491 contains data before calling isInset(0). (Bug 1513.)
2493 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2495 * exporter.C (checkOverwrite): new method
2496 * exporter.C (copyFile): new method
2497 * exporter.C (Export): copy referenced files to the document dir
2498 * exporter.[Ch]: new class ExportedFile
2499 * exporter.[Ch]: new class ExportData. Contains currently the
2500 names of referenced external files
2501 * outputparams.h: add exportdata member.
2503 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2505 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2508 2004-05-19 Angus Leeming <leeming@lyx.org>
2513 * lyxfunc.C: small changes due to the introduction of namespace
2514 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2516 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2518 * text3.C (dispatch): supress update when only moving the cursor
2519 * cursor.C (selHandle): remove commented code
2521 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2523 * paragraph.C (startTeXParParams): correct column count
2524 * CutAndPaste.C (pasteSelection): remove const_cast
2525 * output_docbook.C (docbookParagraphs): remove const_cast
2526 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2527 const_cast and return ParagraphList::const_iterator
2528 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2529 * output_plaintext.C (writeFileAscii): remove const_cast
2530 * paragraph.[Ch] (simpleTeXOnePar): make const
2531 * paragraph_funcs.C (outerPar): use const iterators
2532 * paragraph_pimpl.C (validate): use const iterators
2533 * text.C (setHeightOfRow): use const iterators
2535 2004-05-17 Angus Leeming <leeming@lyx.org>
2538 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2540 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2541 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2542 if the citation engine has changed.
2544 2004-05-14 José Matos <jamatos@lyx.org>
2546 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2547 if the textclass does not provide it. Have it different for sgml and
2549 support the language of document.
2550 * output_docbook.C (docbookParagraphs):
2551 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2552 first anchor as the id of the paragraph, remove special case code.
2553 * sgml.C (escapeChar): escape only < & >.
2555 2004-05-14 Angus Leeming <leeming@lyx.org>
2557 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2558 dependencies on src/frontends/controllers/biblio.h. Define a
2559 CiteEngine_enum wrapper class to enable the enum to be forward
2562 2004-05-12 Angus Leeming <leeming@lyx.org>
2564 * buffer.C: up LYX_FORMAT to 234.
2565 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2566 use_numerical_citations with a single biblio::CiteEngine cite_engine
2568 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2570 2004-05-13 José Matos <jamatos@lyx.org>
2573 * converter.C (Converter, readFlags): add xml member.
2574 * outputparams.h: add XML flavor.
2575 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2577 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2579 * lyxfunc.C (dispatch):
2580 (getStatus): fix handling of LFUN_SEQUENCE
2582 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2584 * debug.C (showLevel): do not forget the end-of-line marker
2586 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2588 * kbmap.C (read): do not stop parsing a bind file when an error
2591 2004-04-29 Angus Leeming <leeming@lyx.org>
2596 * text2.C: wrap a bunch of #warning statements
2597 inside #ifdef WITH_WARNINGS blocks.
2599 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2601 * buffer.C: increment format to 233.
2603 2004-04-28 Angus Leeming <leeming@lyx.org>
2605 * BufferView_pimpl.C:
2608 s/updateToolbar()/updateToolbars()/
2609 s/Toolbar.h/Toolbars.h/
2611 2004-04-28 Angus Leeming <leeming@lyx.org>
2613 * BufferView.[Ch] (c-tor):
2614 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2615 No longer passes these data to the WorkArea generator.
2617 2004-04-28 Angus Leeming <leeming@lyx.org>
2619 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2621 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2623 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2625 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2627 * output_latex.C (TeXEnvironment): make sure that there is a line
2628 break before \end{foo} for the last paragraph of a document
2629 (TeXOnePar): if the paragraph is at the end of the document (or
2630 inset) and the language has to be reset, then make sure that the
2631 line break is _before_ the language command, not after (fixes bug
2632 1225); also make sure that the language reset command is the first
2633 thing after the paragraph (to ensure proper nesting of
2634 environments and thus fix bug 1404)
2636 2004-04-21 John Levon <levon@movementarian.org>
2639 * ToolbarBackend.C: make "name" be a programmatic name
2640 and a gui_name field.
2642 * lyxfunc.C: display the minibuffer on M-x
2644 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2646 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2649 2004-04-19 Angus Leeming <leeming@lyx.org>
2651 * BufferView_pimpl.C (setBuffer): changed preview interface.
2653 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2656 2004-04-19 John Levon <levon@movementarian.org>
2658 * BufferView_pimpl.C:
2659 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2661 2004-04-05 Angus Leeming <leeming@lyx.org>
2663 * text.C (redoParagraphs): add call to updateCounters(), thereby
2664 fixing the missing "Figure #:" label from the caption of a
2667 2004-04-13 Angus Leeming <leeming@lyx.org>
2669 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2670 cursor is clicked out of an inset.
2672 2004-04-13 Angus Leeming <leeming@lyx.org>
2674 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2675 than an InsetOld one.
2677 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2679 * format.[Ch]: add editor to Format
2680 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2681 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2683 2004-04-08 André Pönitz <poenitz@gmx.net>
2685 * metricsinfo.h: remove PainterInfo::width member
2687 2004-04-08 Angus Leeming <leeming@lyx.org>
2689 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2690 "\providecommand" rather than "\newcommand", thereby preventing
2691 clashes with packages that define "\boldsymbol" themselves.
2694 2004-04-08 Angus Leeming <leeming@lyx.org>
2696 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2697 thereby squashing an unnecessary warning.
2699 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2701 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2704 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2706 * BufferView.C (setCursor): call redoParagraph (some insets could
2708 (putSelectionAt): remove the 'double update' trick
2710 * BufferView_pimpl.C (fitCursor): call refreshPar
2711 (workAreaDispatch): remove an uneeded update call
2712 (dispatch): remove some manual update calls
2714 * cursor.[Ch]: remove cached_y_, updatePos
2715 (selHandle): set noUpdate when appropriate
2717 * lyxfunc.C (dispatch): track if we need an update
2719 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2721 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2722 (paintSelection): cheap optimization, do not call cursorX when not
2724 (paintPars): change signature
2727 (paintTextInset): adjust
2731 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2733 * lengthcommon.C: compilation fix: remove explicit array size from
2734 unit_name[] and friends
2736 2004-04-05 Angus Leeming <leeming@lyx.org>
2738 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2740 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2741 present only for the preferences dialog.
2742 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2744 2004-04-05 Angus Leeming <leeming@lyx.org>
2746 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2747 to enable the frontends to export changes to lyxrc correctly.
2749 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2751 2004-04-07 André Pönitz <poenitz@gmx.net>
2753 * cursor.[Ch] (selClear, adjust): remove math
2755 * cursor_slice.C: more agressive assert
2758 * BufferView_pimpl.C: rework mouse event dispatch
2765 2004-04-05 André Pönitz <poenitz@gmx.net>
2767 * cursor.[Ch] (valign, halign...): remove unneeded functions
2769 2004-04-05 Angus Leeming <leeming@lyx.org>
2771 * lyxlength.[Ch] (unit_name et al.): const-correct.
2773 2004-04-05 Angus Leeming <leeming@lyx.org>
2775 * BufferView_pimpl.C:
2784 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2786 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2788 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2790 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2792 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2793 * BufferView_pimpl.[Ch] (getStatus)
2794 * BufferView.[Ch] (getStatus): add
2795 * lyxfunc.C (getStatus): move lfuns handled in
2796 BufferView::dispatch to te function above
2797 * Cursor.C (setSelection): set selection() = true
2799 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2801 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2803 2004-03-31 Angus Leeming <leeming@lyx.org>
2805 * lyxfunc.C (dispatch): Fall through to the generic
2806 Dialogs::show("preamble").
2808 2004-03-31 Angus Leeming <leeming@lyx.org>
2810 * lyxfunc.C (dispatch): Fall through to the generic
2811 Dialogs::show("spellchecker").
2813 2004-03-31 Angus Leeming <leeming@lyx.org>
2815 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2818 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2823 * insetiterator.[Ch]:
2828 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2830 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2832 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2833 insets where we are putting the cursor.
2835 2004-03-31 Angus Leeming <leeming@lyx.org>
2838 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2840 * lyxrc.[Ch] (read, write): overloaded member functions taking
2841 a std::[io]stream arguments.
2843 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2845 2004-03-31 Angus Leeming <leeming@lyx.org>
2847 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2848 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2850 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2851 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2853 2004-03-31 Angus Leeming <leeming@lyx.org>
2855 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2856 the LFUN_ALL_INSETS_TOGGLE code.
2858 2004-03-30 Angus Leeming <leeming@lyx.org>
2860 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2861 has died. Fall through to the generic Dialogs::show("document").
2863 2004-03-30 Angus Leeming <leeming@lyx.org>
2866 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2867 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2869 * lyxfunc.C (getStatus, dispatch): define the actions for these
2870 lfuns. Little more than a cut and pste job from ControlDocument.C
2872 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2874 2004-03-30 Angus Leeming <leeming@lyx.org>
2877 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2878 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2880 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2881 open/closed state of ollapsable insets. Usage:
2883 all-inset-toggle <state> <name>, where
2884 <state> == "open" || "closed" || "toggle" and
2885 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2887 * lyxtext.h, text2.C (toggleInset): removed.
2889 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2890 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2891 now passes LFUN_INSET_TOGGLE to the found inset.
2893 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2894 is now invoked as "all-insets-toggle toggle branch".
2896 2004-03-30 Angus Leeming <leeming@lyx.org>
2900 * pariterator.[Ch]: added/corrected header blurb.
2902 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2904 * dociterator.[Ch]: add an inset_ member
2905 (backwardPos): implemented
2906 (backwardPos, forwardPos): use inset_ when the stack is empty.
2907 (doc_iterator_begin, doc_iterator_end): implemented
2908 * pariterator.[Ch]: adjust, add begin, end
2909 * insetiterator.[Ch]: adjust, add begin, end
2913 * BufferView_pimpl.C:
2914 * CutAndPaste.C: adjust
2916 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2918 * buffer.C: increment file format to 232.
2919 * LaTeXFeatures.C: add bibtopic package.
2920 * bufferparams.[Ch]: param \use_bibtopic.
2922 * lyxrc.[Ch]: add lyxrc bibtex_command
2923 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2925 * buffer.C: increment file format to 231.
2927 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2929 * dociterator.C: implement forwardPar
2930 * iterators.[Ch]: remove, replaced by
2931 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2933 * BufferView_pimpl.C:
2936 * bufferview_funcs.C:
2942 * Makefile.am: adjust
2944 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2946 * CutAndPaste.C (pasteSelection): fix 2 crashes
2947 (eraseSelection): fix a crash
2948 * paragraph_funcs.C: remove a warning
2950 2004-03-28 Angus Leeming <leeming@lyx.org>
2953 * LyXAction.C (init): new LFUN_PRINT.
2955 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2957 2004-03-27 Angus Leeming <leeming@lyx.org>
2960 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2962 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2964 2004-03-27 Angus Leeming <leeming@lyx.org>
2966 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2967 insetlist always contains non-null pointers to insets.
2969 2004-03-26 Angus Leeming <leeming@lyx.org>
2971 * src/BufferView_pimpl.C:
2972 * src/CutAndPaste.C:
2975 * src/output_plaintext.C:
2976 * src/outputparams.h:
2977 * src/paragraph_funcs.C:
2981 * src/frontends/controllers/ControlErrorList.C:
2982 * src/frontends/gtk/FileDialogPrivate.C:
2983 * src/frontends/gtk/GPainter.C:
2984 * src/frontends/gtk/GToolbar.C:
2985 * src/frontends/qt2/QRef.C:
2986 * src/mathed/math_scriptinset.C: squash compiler warnings.
2988 2004-03-26 Angus Leeming <leeming@lyx.org>
2990 * ispell.C (LaunchIspell::start):
2991 * lyx_cb.C (AutoSaveBuffer::start):
2992 invoke run(DontWait) rather than runNonBlocking().
2994 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2996 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2998 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3000 * kbsequence.C (print): adjust
3002 * kbmap.C (printKeySym): rename and change signature
3003 (printKey): use LyXKeySym::print()
3005 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3007 * undo.C: add using std::advance to compile for stlport
3009 2004-03-24 Angus Leeming <leeming@lyx.org>
3011 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3012 it leads to a crash when no buffer is present.
3014 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3015 Martin Vermeer <martin.vermeer@hut.fi>
3017 * lyxfunc.C (dispatch):
3018 * bufferparams.C (readToken): use the new LColor::setColor
3020 * LColor.[Ch] (setColor): new version that takes two strings as
3021 argument and creates a new color entry if necessary
3023 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3025 * buffer.C (makeLaTeXFile): if the main latex file that is
3026 processed is usually a subdocument of some master, then pretend
3027 for a while that it is actually the master
3029 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3031 * buffer.C (getLabelList):
3032 (getBibkeyList): use getMasterBuffer()
3033 (getMasterBuffer): new method. Returns the main document in the
3034 case where one is using included documents.
3036 2004-03-25 André Pönitz <poenitz@gmx.net>
3040 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3042 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3044 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3045 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3047 * ParameterStruct.h: merge with ParagraphParameters
3049 * lyxtext.h: remove LyXText::parOffset() and getPar()
3051 * text3.C: Remove all 'manual' update calls. We do now one per user
3052 interaction which is completely sufficient.
3056 * BufferView_pimpl.C:
3057 * FontIterator.[Ch]:
3059 * ParagraphParameters.[Ch]:
3064 * cursor_slice.[Ch]:
3071 * output_docbook.[Ch]:
3072 * output_latex.[Ch]:
3073 * output_linuxdoc.[Ch]:
3074 * output_plaintext.[Ch]:
3076 * paragraph_funcs.[Ch]:
3077 * paragraph_pimpl.[Ch]:
3085 * frontends/controllers/ControlDocument.C:
3086 * frontends/controllers/ControlErrorList.C:
3087 * frontends/controllers/ControlSpellchecker.C:
3090 * insets/insetbase.h:
3091 * insets/insetbibitem.C:
3092 * insets/insetbox.C:
3093 * insets/insetbranch.C:
3094 * insets/insetcaption.C:
3095 * insets/insetcharstyle.C:
3096 * insets/insetcharstyle.h:
3097 * insets/insetcollapsable.C:
3098 * insets/insetcollapsable.h:
3099 * insets/insetert.C:
3100 * insets/insetfloat.C:
3101 * insets/insetfoot.C:
3102 * insets/insetmarginal.C:
3103 * insets/insetnote.C:
3104 * insets/insetoptarg.C:
3105 * insets/insettabular.C:
3106 * insets/insettext.C:
3107 * insets/insettext.h:
3108 * insets/insetwrap.C:
3109 * mathed/math_mboxinset.C:
3110 * mathed/math_nestinset.C:
3111 * mathed/math_scriptinset.C:
3112 * mathed/math_scriptinset.h:
3115 2004-03-24 Angus Leeming <leeming@lyx.org>
3117 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3118 deal with any child processes that have finished but are waiting to
3119 communicate this fact to the rest of LyX.
3121 2004-03-24 Angus Leeming <leeming@lyx.org>
3123 64-bit compile fixes.
3125 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3126 (c-tor): pass lyx::pos_types rather than ints.
3128 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3131 * text.C (Delete): compile fix.
3132 (getPar): ensure that function declaration is the same as that in
3135 2004-03-23 Angus Leeming <leeming@lyx.org>
3137 * ispell.C (LaunchIspell):
3138 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3139 a boost::shred_ptr rather than a std::auto_ptr.
3141 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3143 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3144 handle LFUN_FILE_INSERT_*
3146 * lyxrc.C (setDefaults, getDescription, output, read):
3147 * lyxrc.h: remove ps_command
3149 2004-03-22 Angus Leeming <leeming@lyx.org>
3151 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3152 Ensure that error_handler is processed once only and that all data
3153 is saved before attempting to output any warning messages.
3155 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3157 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3159 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3161 2004-03-19 André Pönitz <poenitz@gmx.net>
3163 * cursor.[Ch] (reset): take main text inset as argument
3165 * BufferView: adjust
3166 * BufferView_pimpl.C: adjust
3168 * paragraph.[Ch]: fix completely broken operator=()
3170 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3172 * LColor.C (getFromLyXName): make sure that the color name is used
3175 2004-03-17 Angus Leeming <leeming@lyx.org>
3178 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3180 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3181 dialog and to kill a forked process.
3183 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3185 * text2.C (setCursorFromCoordinates): fix font problem
3187 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3189 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3190 bogus "rebuild cursor" code
3192 2004-03-11 André Pönitz <poenitz@gmx.net>
3194 * buffer.[Ch]: use InsetText instead of LyXText as container for
3197 * dociterator.[Ch]: drop the BufferView * member which is not needed
3198 anymore after the change to buffer.C
3200 * paragraph_funcs.C:
3204 * BufferView_pimpl.[Ch]:
3206 * cursor_slice.[Ch]: adjust
3208 * text3.C: fix bug in mathDispatch
3210 2004-03-08 André Pönitz <poenitz@gmx.net>
3212 * undo.[Ch]: use 'StableDocumentIterator' as base for
3215 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3218 * bufferparams.[Ch]: add jurabib support and param.
3220 * LaTeX.C: add FIXME/comment.
3222 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3224 * buffer.C: increment file format to 230.
3226 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3228 * cursor.C (dispatch): avoid infinite loops
3230 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3232 * rowpainter.C (paintSelection): fix x coordinates
3234 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3236 * text.C (rowBreakPoint): fix breaking before displayed insets
3238 2004-03-01 André Pönitz <poenitz@gmx.net>
3240 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3242 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3246 * BufferView_pimpl.C:
3254 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3260 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3261 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3263 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3265 * Bidi.[Ch] (computeTables): const correctness
3266 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3267 fill_hfill, fill_label_hfill and x from Row
3268 * lyxtext.h: prepareToPrint returns a RowMetrics
3269 * rowPainter.C: adjust
3270 * text.C (prepareToPrint): use width, not textWidth. adjust
3271 (redoParagraphInternal, cursorX): adjust
3272 * text2.C (getColumnNearX): adjust
3273 (init): put a default value to the top LyXText::width
3275 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3277 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3279 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3281 * lyxtext.h: add FontIterator class
3283 * text.C (FontIterator, operator*, operator->, operator++): add
3284 (rowBreakPoint, setRowWidth): adjust (fixing a
3287 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3289 * BufferView_pimpl.C (workAreaDispatch): allow also
3290 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3292 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3294 * text.C (rowBreakPoint): fix a bug showing with very large insets
3296 2004-02-25 André Pönitz <poenitz@gmx.net>
3299 * cursor.[Ch]: move some mathed specific code to mathed
3301 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3303 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3304 use_tempdir in preferences
3305 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3307 * lyx_main.C: ensure that tempdir is valid
3308 * lyxlex.h: correct typo
3309 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3310 * paragraph.[Ch] (isMultiLingual): make const
3311 * cursor.[Ch] (openable): make const
3313 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3315 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3317 2004-02-20 André Pönitz <poenitz@gmx.net>
3319 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3321 * cursor.[Ch]: prepare for localized getStatus()
3327 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3329 2004-02-20 André Pönitz <poenitz@gmx.net>
3331 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3333 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3335 * text2.C (setCursorFromCoordinates): switch to absolute coords
3337 (cursorDown): adjust
3338 * text3.C (dispatch): adjust
3340 2004-02-16 André Pönitz <poenitz@gmx.net>
3342 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3345 * cursor_slice.[Ch]: remove unneeded acessor function
3347 * lyxtext.h: rename rtl() to isRTL()
3355 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3357 * rowpainter.C (paintSelection): coord fix
3359 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3361 * Spacing.C: compile fix
3363 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3365 * cursor.C (dispatch): restore current_ before returning
3367 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3369 * text2.C (cursorUp, cursorDown): fix coords
3372 2004-02-12 André Pönitz <poenitz@gmx.net>
3377 * text3.C: add LCursor & parameter to most cursor movement functions
3378 remove usage of LyXText::cursorRow() and cursorPar()
3380 * cursor.[Ch]: add textRow() needed members
3383 * BufferView_pimpl.C:
3386 * BufferView_pimpl.C: adjust
3388 2004-02-11 André Pönitz <poenitz@gmx.net>
3392 * BufferView_pimpl.C: shift undo/redo handling
3394 * cursor.[Ch]: fix mathed crash
3397 * lyxtext.h: move selectionAsText to LCursor
3405 * rowpainter.C: fix excessive drawing
3407 2004-02-06 André Pönitz <poenitz@gmx.net>
3410 * BufferView_pimpl.[Ch]:
3411 * text3.C: move some text specific LFUN handling
3413 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3415 * text3.C (checkInsetHit): adjust coords
3416 * text2.C (getColumnNearX): adjust coords
3417 (edit): adjust coords
3418 * text.C (getRowNearY): add two asserts
3420 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3423 * format.C: add using std::distance to compile on gcc 2.95/stlport
3425 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3427 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3429 2004-02-04 André Pönitz <poenitz@gmx.net>
3431 * BufferView.[Ch] (insertInset):
3432 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3437 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3439 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3440 on the default clause of the switch
3441 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3442 wasn't catched by LCursor::dispatch
3444 2004-02-03 André Pönitz <poenitz@gmx.net>
3447 * cursor.[Ch]: some additional asserts
3449 * undo.[Ch]: remove LyXText dependency in interface
3453 * lyxtext.h (firstPar, lastPar): remove dead functions
3458 * paragraph.[Ch]: adjust
3460 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3462 * lyxfind.C (find): fix argument order in call to ::find
3464 2004-02-02 André Pönitz <poenitz@gmx.net>
3466 * cursor.[Ch]: remove direct access to anchor
3468 * text.C: remove findText() hack
3470 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3472 * iterators.[Ch] (lockPath): remove in favour of...
3473 * BufferView.[Ch] (setCursor): this addition
3474 * BufferView.C (putSelectionAt): adjust
3475 * undo.C (performUndoOrRedo): adjust
3476 * lyxfunc.C (dispatch): adjust
3478 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3480 * iterators.C (lockPath): add a missing slice
3481 * undo.C (performUndoOrRedo): remove redundant positioning code
3483 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3485 * vc-backend.C (scanMaster): ";" -> ';'
3487 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3489 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3490 std::binary_function
3492 * lyxtextclass.C (compare_name): rename to...
3493 (LayoutNamesEqual): ...this
3495 * lyxlex_pimpl.C (compare_tags): inherit from
3496 std::binary_function, put back into anon namespace
3498 * lyxfind.C (MatchString): inherig from std::binary_function
3499 (findChange): use empty() istead of !size()
3501 * format.C (FormatNamesEqual): new functor
3508 * converter.C (compare_Converter): rename to...
3509 (ConverterEqual): ...this, and fixup a bit.
3510 (getConverter): use it, and make function const
3511 (getNumber): use it, and make function const
3515 * bufferlist.C: add using boost::bind
3517 * MenuBackend.C (MenuNamesEqual): new functor
3518 (hasMenu): use it, and make function const
3519 (hasSubmenu): use nested bind to get rid of compare_memfun.
3521 2004-01-30 André Pönitz <poenitz@gmx.net>
3523 * BufferView_pimpl.C:
3526 * cursor_slice.[Ch]:
3529 * paragraph_funcs.C:
3530 * paragraph_funcs.h:
3534 * text3.C: move some of the edit(x,y) handling to the insets
3535 some coordinate changes.
3537 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3539 * text.C: add using statements for std::advance and std::distance
3541 * paragraph.C: add using statement for std::distance
3543 * lyxfind.C: add using statement for std::advance
3545 * cursor.C (region): remove std:: from swap
3546 (openable): use nucleus in stead of operator->
3548 * BufferView.C: add using statements for std::distance and std::swap
3550 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3552 * iterators.C: Remove the pimple, move the needed structures to
3553 the header file. Create accessor for the positions stack.
3554 (asPosIterator): remove function
3556 * PosIterator.C (PosIterator): move constructors to top of file
3557 (PosIterator): reimplement the constructor taking a ParIterator in
3559 (setFrom): new function
3560 (operator!=): inline it
3562 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3564 * lyxfind.C (replaceAll): use std::advance
3566 * iterators.h: inherit from std::iterator.
3568 * PosIterator.C (advance, distance): remove
3569 * PosIterator.h: interit from std::iterator.
3571 2004-01-26 André Pönitz <poenitz@gmx.net>
3574 * BufferView_pimpl.[Ch]:
3578 * bufferview_funcs.C:
3588 * output_linuxdoc.C:
3589 * output_plaintext.C:
3591 * paragraph_funcs.[Ch]:
3592 * paragraph_pimpl.[Ch]:
3598 * text3.C: more IU: dumps most of the rest of the mathcursor
3599 implementation into cursor.[Ch]; "globalize" a bit of it.
3601 2004-01-25 Angus Leeming <leeming@lyx.org>
3603 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3605 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3607 * LaTeXFeatures.h: add nice_ and nice() const
3608 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3610 2004-01-20 André Pönitz <poenitz@gmx.net>
3613 * BufferView_pimpl.C:
3615 * bufferview_funcs.C:
3617 * cursor_slice.[Ch]:
3628 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3629 LCursor and mathcursor parts to LCursor and InsetBase.
3631 2004-01-15 André Pönitz <poenitz@gmx.net>
3633 * cursor_slice.[Ch]: add a few covienience functions
3635 * funcrequest.[Ch]: remove BufferView * member
3637 * BufferView_pimpl.C:
3644 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3646 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3648 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3649 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3651 2004-01-13 André Pönitz <poenitz@gmx.net>
3654 * lyxtext.h: hide cursor and selection anchor behind accessor function
3657 * BufferView_pimpl.[Ch]:
3659 * bufferview_funcs.C:
3669 * cursor_slice.[Ch]: some integer type changes for inset unification
3671 * lyxcursor.[hC]: remove, it's CursorSlice now.
3674 * BufferView_pimpl.[Ch]:
3675 * bufferview_funcs.C:
3681 * textcursor.[Ch]: adjust
3683 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3685 * text2.C (undoSpan): add and use
3686 * text.C (breakParagraph): use undoSpan (fix bug 578)
3689 2004-01-08 Angus Leeming <leeming@lyx.org>
3691 * BufferView_pimpl.C (MenuInsertLyXFile):
3692 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3693 * lyxfunc.C (menuNew, open, doImport):
3694 FileFilterList change to the FileDialog open and save functions.
3696 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3698 * ShareContainer.h: make isEqual and isUnique adaptable
3700 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3702 2004-01-07 Angus Leeming <leeming@lyx.org>
3705 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3707 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3709 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3710 functions replacing find, replace and replaceAll.
3712 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3713 LFUN_WORDFIND(FORWARD|BACKWARD).
3715 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3717 * text.C (breakParagraph): remove an outdated #warning
3719 2004-01-07 André Pönitz <poenitz@gmx.net>
3721 * lyxfind.C: somewhat clearer logic
3723 * text.C: prevent crash in cursorX on unitialized row cache
3725 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3727 * lyxcursor.[Ch] (operator>): add
3728 * textcursor.C (selStart, selEnd): use std::min and std::max
3730 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3732 * Chktex.C: include boost/format.hpp
3734 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3736 * InsetList.C: replace functor MathcIt with adaptable functor
3738 (insetIterator): modify accordingly
3740 * BranchList.h: move the BranchNamesEqual functor here from...
3741 * BranchList.C: ... to here
3743 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3745 (add): replace a finding loop with std::find_if.
3747 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3749 * output_docbook.C: moving LatexParam functionality into
3752 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3754 * buffer.C: increment format to 229.
3756 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3759 * lyx_sty.[Ch]: remove minipageindent_def
3765 * text3.C: remove LFUN_INSET_MINIPAGE
3767 2003-12-28 Angus Leeming <leeming@lyx.org>
3769 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3771 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3773 * text2.C (setParagraph): fix off-by-one crash
3775 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3777 * output_docbook.C: header stuff for AGU
3779 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3781 * text2.C (redoCursor): remove
3784 * BufferView_pimpl.C: remove calls to redoCursor and
3785 setCursor(cursor.par(), cursor.pos()) all around
3787 2003-12-15 Angus Leeming <leeming@lyx.org>
3789 * buffer.C: up the format to 228.
3791 2003-12-15 André Pönitz <poenitz@gmx.net>
3793 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3798 * BufferView_pimpl.C:
3807 2003-12-15 Angus Leeming <leeming@lyx.org>
3809 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3810 than getFromGUIName to manipulate the color.
3812 2003-12-14 Angus Leeming <leeming@lyx.org>
3814 * BranchList.[Ch]: minimize the API.
3815 (Branch::getBranch, getColor): now return a 'const &'.
3816 (Branch::setSelected) now returns a bool set to true if the
3817 selection status changes.
3818 (BranchList::clear, size, getColor, setColor, setSelected,
3819 allBranches, allSelected, separator): removed.
3820 (BranchList::find): new functions, returning the Branch with
3822 (BranchList::add, remove): return a bool indicating that
3823 the operation was successful.
3825 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3826 new InsetBranch::isBranchSlected member function.
3828 * LColor.[Ch]: mimimize the API.
3829 (fill): renamed as addColor and made private.
3830 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3831 versions of these functions taking a string arg have been removed.
3833 * bufferparams.C (readToken):
3834 * lyxfunc.C (dispatch):
3835 * lyxrc.C (read): changes due to the altered BranchList and
3838 * factory.C (createInset, readInset): changes due to altered
3841 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3844 * lyxfunc.C: remove insetminipage. "minipage-insert"
3845 now produces a frameless minipage box inset.
3847 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3849 * textcursor.[Ch] (selStart,selEnd): add new methods
3850 remove selection::start, end, use LyXCursor::operator<
3851 * lyxcursor.[Ch] (operator<): add
3852 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3853 * BufferView.[Ch] (unsetXSel): add
3854 * text2.C (clearSelection): use unsetXSel,adjust
3857 * rowpainter.C: adjust
3858 * bufferview_funcs.C (put_selection_at): adjust
3860 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3862 * BufferView_pimpl.C: small coord. correction
3864 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3866 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3867 dragging over the splash screen.
3869 2003-12-11 Angus Leeming <leeming@lyx.org>
3871 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3872 as it is now handled in LyXText::dispatch.
3874 * text3.C (doInsertInset): remove a level of nesting.
3876 2003-12-11 Angus Leeming <leeming@lyx.org>
3878 * factory.C (createInset): changes due to the changed interface to
3879 InsetCommandMailer::string2params.
3881 2003-12-10 Angus Leeming <leeming@lyx.org>
3883 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3884 'dialog-show-new-inset <inset name>'
3886 2003-12-10 Angus Leeming <leeming@lyx.org>
3888 * buffer.C: up the format to 227.
3890 * factory.C: the box inset is now identified simply by 'Box'.
3892 2003-12-10 Angus Leeming <leeming@lyx.org>
3894 * buffer.C: up the format to 226.
3896 * factory.C: the note inset is now identified simply by 'Note'.
3898 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3900 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3901 when a pit is enough. Standarize a couple of loops.
3903 2003-12-05 Angus Leeming <leeming@lyx.org>
3905 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3906 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3907 data to the re-worked "log" dialog.
3909 2003-12-03 André Pönitz <poenitz@gmx.net>
3915 * paragraph_funcs.C:
3917 * text2.C: use Inset::getText instead of Inset::getParagraph
3919 2003-12-03 André Pönitz <poenitz@gmx.net>
3923 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3924 InsetText::read() as LyXText::read()
3926 2003-12-02 Angus Leeming <leeming@lyx.org>
3928 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3929 type. Add a comment in the implementation that the function uses
3930 the stream's bad() function rather than fail() as the std::streams
3933 2003-12-02 André Pönitz <poenitz@gmx.net>
3935 * lyxlex.[Ch]: make interface more similar to std::stream
3937 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3939 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3941 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3943 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3945 * vspace.[Ch]: remove VSpace::NONE
3947 2003-12-01 André Pönitz <poenitz@gmx.net>
3950 * lyxtext.h: move ParagraphList member to LyXText
3951 rename LyXText::ownerParagraphs to LyXText::paragraph
3954 * bufferview_funcs.C:
3964 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3966 * undo.C: fix cursor positioning
3968 2003-12-01 John Levon <levon@movementarian.org>
3970 * BufferView_pimpl.C: fix a crash on exit with
3973 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3975 * BranchList.C: fix setSelected() method.
3977 2003-11-28 André Pönitz <poenitz@gmx.net>
3979 * ParagraphParameters.[Ch]:
3980 * ParameterStruct.h: remove space above/below from Paragraph to
3983 * BufferView_pimpl.C:
3989 * paragraph_funcs.C:
3995 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3997 * factory.C: Syntax change for CharStyles
3999 2003-11-28 André Pönitz <poenitz@gmx.net>
4004 * buffer.[Ch]: move LyXText member
4006 2003-11-28 André Pönitz <poenitz@gmx.net>
4008 * BufferView.[Ch]: make LyXText * text a private member
4010 * BufferView_pimpl.C:
4021 * output_plaintext.C: cleanup
4023 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4026 * lyxtextclass.[Ch]: parametrize SGML document header
4028 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4031 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4034 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4036 * text2.C (setFont): rework using PosIterator (no more recursive)
4037 (setCharFont): no more needed
4038 (setLayout): no more selection cursors fiddling (done by redoCursor)
4039 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4040 destroy remaining ones)
4042 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4044 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4046 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4049 * text3.C: adjust + re-allow multi par depth changes
4050 * textcursor.C: simplify a bit
4052 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4058 * src/output_docbook.C:
4059 * src/output_latex.C:
4064 * src/text2.C: Introducing a number of tags parametrizing various
4065 XML formats that we may want to support
4067 2003-11-25 André Pönitz <poenitz@gmx.net>
4069 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4071 * lyxtext.h (leftMargin/rightMargin): simplify interface
4078 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4080 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4081 master file to any child files. Fixes bug 546.
4083 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4085 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4087 2003-11-24 André Pönitz <poenitz@gmx.net>
4089 * rowpainter.C: simplification
4091 * text2.C (updateCounters): remove call to redoParagraph on
4092 changed labels as this is far too expensive.
4094 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4096 * converter.C (convert): fix a crash: this function gets
4097 called with buffer == 0 from importer code.
4099 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4101 * text3.C (cursorPrevious): make sure that we do not compare
4102 iterators form different containers.
4105 * rowpainter.C (paintSelection): make sure that we do not compare
4106 iterators from different containers.
4108 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4109 iterators from different ParagraphList containers.
4112 * text2.C (LyXText): change order of initialization slightly
4113 (operator=): new function. copy all variables except cache_par_
4114 (moveUp): make sure that we do not compare iterators from
4115 different ParagraphList constainers.
4118 * text.C (firstPar): new function
4119 (lastPar): new function
4120 (endPar): new function
4122 * lyxtext.h: move things around and group public functions, public
4123 variables, private functions, private variables
4125 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4127 * factory.C: change call to InsetERT constructor to avoid
4128 additional invocation of method status
4129 * text2.C (toggleInset): remove redundant update() call
4130 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4131 instead of a Bufferview pointer
4133 2003-11-21 André Pönitz <poenitz@gmx.net>
4135 * rowpainter.C: simplification
4137 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4139 * text3.C (dispatch): make possible to extend a word/row selection
4142 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4144 * lyxtext.h: x0_,y0_ -> xo_,yo_
4145 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4146 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4147 * rowpainter.C (paintRows): paint full paragraphs
4149 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4151 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4154 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4156 * lyxtext.h: add x0_, y0_
4157 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4158 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4160 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4162 * text2.C (setCursorIntern): move the x_target update here *
4163 * text3.C: change some bv() to true/false in calls to
4164 cursorUp/Down/Right/Left
4165 * cursor.C: use helper function.
4167 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4169 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4170 * paragraph_funcs.[Ch]: correct comment
4171 * rowpainter.C: do not paint selections away from bv->cursor()
4172 Fix a long standing selection painting bug.
4173 * text3.C: generalize mouse-selection code to LyXTexts other that
4175 * textcursor.C: do not use y coords if we can use par offsets
4177 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4179 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4180 cursor position after e.g. inset insert)
4182 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4184 * lyxfind.C (replace): adjust to locking removal + some
4187 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4189 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4192 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4195 * output_docbook.C: XML sanitation: new layout
4196 parameters InnerTag and CommandDepth
4198 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4200 * BufferView_pimpl.C:
4202 * text3.C: Fix the insertion and modification of button-style
4205 2003-11-13 André Pönitz <poenitz@gmx.net>
4207 * InsetList.[Ch]: remove deleteLyXText
4209 * paragraph.[Ch]: cache beginOfBody position
4214 * text3.C: remove superfluous update() calls
4218 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4220 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4221 * BufferView.C (fitLockedInsetCursor): remove
4222 * cursor.[Ch] (getDim): add
4223 * text.C (getRowNearY): add faster version
4224 * text3.C: remove some update calls
4226 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4238 * text3.C: The Character Style /XML short element patch.
4240 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4243 * factory.C: Small step to solving 'unable to insert some insets'
4246 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4248 * cursor.[Ch] (updatePos): new function for updating the y
4249 position of the tip inset
4250 * bufferview_funcs.C (put_selection_at):
4251 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4253 2003-11-11 André Pönitz <poenitz@gmx.net>
4255 * text.C: remove big comment on invalid Paragraph pointers as it is
4258 2003-11-11 André Pönitz <poenitz@gmx.net>
4260 * text_funcs.[Ch]: merge with ...
4268 * Makefile.am: remove text_funcs.[Ch]
4270 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4272 * cursor.C (getPos): return absolute cached y coord
4274 * BufferView_pimpl.C (fitCursor): new simplistic code
4275 (workAreaDispatch): add a fitCursor call
4277 2003-11-10 André Pönitz <poenitz@gmx.net>
4280 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4282 2003-11-10 André Pönitz <poenitz@gmx.net>
4284 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4285 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4286 indicate that the cursor needs to leave an inset
4288 * lyxtext.h: remove inset locking
4290 * cursor.[Ch]: re-implement functionality provided by inset locking
4293 * BufferView_pimpl.[Ch]:
4295 * bufferview_funcs.[Ch]:
4307 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4309 * PosIterator.[Ch]: replace the stack with a vector, add inset
4311 * iterators.[C]: adjust
4313 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4315 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4317 * paragraph_funcs.C (readParToken): put the correct id in the
4318 error item, not the id of the top paragraph
4320 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4322 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4323 * bufferview_funcs.C (put_selection_at): use the above
4325 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4327 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4329 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4331 * output_linuxdoc.h:
4332 * output_plaintext.h:
4334 * output_docbook.h: add #include statements
4336 2003-11-05 José Matos <jamatos@lyx.org>
4338 * output_docbook.[Ch]:
4339 * output_latex.[Ch]:
4340 * output_linuxdoc.[Ch]:
4341 * output_plaintext.[Ch]: New files for output formats.
4342 * output.[Ch]: New file for helper functions.
4345 * paragraph_funcs.[Ch]: output functions moved to new files.
4347 * outputparams.h: rename of latexrunparams.h
4355 * paragraph_funcs.[Ch]:
4356 * paragraph_pimpl.[Ch]:
4357 * tabular.[Ch]: rename ascii to plaintext
4358 and LatexRunParams to OutputParams.
4360 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4362 * iterators.[Ch] (text): require bv argument
4363 * undo.C (recordUndo):
4364 * lyxfunc.C (dispatch):
4365 * bufferview_funcs.C (put_selection_at): adjust
4367 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4369 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4371 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4373 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4376 2003-11-04 André Pönitz <poenitz@gmx.net>
4378 * cursor.[Ch]: restructure
4381 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4383 * iterators.[Ch] (asCursor): remove
4385 * lfuns.h: remove LFUN_INSET_EDIT
4391 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4393 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4395 * lyxfind.[Ch]: complete overhaul
4396 * BufferView_pimpl.C:
4398 * paragraph.[Ch] (insert): add
4400 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4404 * text.C: remove dead spellcheck code
4406 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4408 * dispatchresult.h: add a val setter
4410 * cursor.C (dispatch): use a tempvar for data_[i]
4412 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4414 * PosIterator.[Ch]: compile fix
4416 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4418 * text.C (cursorPar): deactivate the cursor cache
4420 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4422 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4424 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4426 * text3.C (dispatch): adjust for new DisptchResult semantics.
4428 * lyxfunc.C (dispatch): handle update when return from
4429 Cursor::dispatch, adjust for new DispatchResult semantics.
4431 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4432 DispatchResult(true) mean to not update. Add class functions for
4433 setting dispatched and update, as well as reading.
4435 * cursor.C (dispatch): don't handle update here
4437 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4439 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4440 * trans_mgr.C: adjust
4442 * paragraph_funcs.C (readParToken): exception safety
4444 * lyxvc.h: store the vcs pointer in a scoped_ptr
4447 * lyxsocket.C (serverCallback): exception safety
4449 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4451 * ispell.C (clone): make it return a auto_ptr
4453 * factory.C (createInset): exception safety
4454 (readInset): exception safety
4456 * bufferlist.C (newBuffer): exception safety
4458 * Thesaurus.C (Thesaurus): use initialization for aik_
4460 * MenuBackend.C (expandToc): exception safety.
4462 2003-11-03 André Pönitz <poenitz@gmx.net>
4466 * bufferview_funcs.C: remove getInsetFromId()
4469 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4475 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4477 * PosIterator.C (distance, advance): new
4478 * bufferview_funcs.[Ch] (put_selection_at): new
4479 * iterators.[Ch] (lockPath): new
4481 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4483 * iterators.[Ch] (asPosIterator): added
4484 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4485 * PosIterator.[Ch]: added
4487 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4491 * cursor.C (dispatch):
4492 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4494 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4495 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4496 contructor, add a class function dispatched. Remove operator>=
4498 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4500 * debug.C: only use the default constructor for debugstream
4503 * main.C (main): include debug.h and setup the lyxerr streambuf
4506 2003-10-31 José Matos <jamatos@lyx.org>
4508 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4510 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4511 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4512 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4513 * paragraph_pimpl.C (simpleTeXSpecialC):
4514 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4515 add LatexRunParams argument.
4517 * exporter.C (Export): change call accordingly.
4519 * latexrunparams.h: add new member to take care of the other backends.
4520 2003-10-30 José Matos <jamatos@lyx.org>
4522 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4523 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4524 factorise code for paragraph output.
4526 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4529 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4531 * text3.C (dispatch):
4532 * lyxfunc.C (dispatch):
4533 * cursor.C (dispatch):
4534 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4536 * dispatchresult.h: make the dispatch_result_t ctor explicit
4538 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4541 * buffer.C: small refactoring of docbook stuff
4543 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4545 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4548 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4550 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4551 operator dispatch_result_t, and operators for == != and >=
4553 * cursor.C (dispatch): adjust for operator dispatch_result_t
4554 removal. comment out call to update
4556 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4558 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4566 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4569 * dispatchresult.h: new file, DispatchResult broken out of
4572 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4574 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4576 * text.C (rowBreakPoint): put a hack inside #if 0
4578 2003-10-28 André Pönitz <poenitz@gmx.net>
4582 * paragraph_funcs.C:
4585 * text2.C: general cleanup (lots of small stuff)
4587 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4589 * text2.C (cursorEnd): simple fix to the "end key goes to one
4590 before the end on last row" bug
4592 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4594 * text.C (backspace): fix the "zombie characters"
4596 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4598 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4600 2003-10-27 André Pönitz <poenitz@gmx.net>
4602 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4604 * factory.C: handle new InsetPagebreak, InsetLine
4606 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4607 and move handling into new InsetPagebreak, InsetLine
4609 * BufferView_pimpl.C:
4611 * ParagraphParameters.C:
4612 * ParameterStruct.h:
4617 * paragraph_funcs.C:
4618 * paragraph_pimpl.C:
4624 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4627 * lyxrow_funcs.[Ch]:
4633 * text3.C: remove lastPos uses in favour of Row::endpos
4635 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4637 * undo.C (performUndoOrRedo): fix two crashes by setting a
4638 cursor by hand and reordering some calls. Use bv->lockInset instead
4639 of inset->edit because the latter loses cursor information
4641 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4643 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4645 (rowBreakPoint): fix width. change point to point + 1.
4646 Add a missing check.
4648 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4651 * lyxfunc.C: fix (at least partly) the problems
4652 with the Nav menu and headers inside branch insets
4655 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4657 * paragraph.C (getChar): add strong asserts
4659 * lyxrow_funcs.C (lastPos): remove hideous hack
4661 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4662 (fill): adjust to that (avoid an infinite loop)
4664 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4666 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4668 2003-10-23 André Pönitz <poenitz@gmx.net>
4670 * RowList_fwd.h: change list<> to vector<> to gain speed
4671 after suggestion from Alfredo
4673 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4675 * lyxtext.h: move the bidi stuff from here...
4678 * Bidi.[Ch]: ... to here
4680 2003-10-23 André Pönitz <poenitz@gmx.net>
4683 * text.C (isLastRow, isFirstRow): new functions
4685 * paragraph.h: new width cache member
4687 * rowpainter.C: replace RowList::iterator with Row & where possible
4689 * lyxfunc.C: replace several view()->text with a single call
4691 * toc.C: fix 'unused' warning
4693 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4695 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4696 when woring with stream::pos_type
4697 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4699 2003-10-22 André Pönitz <poenitz@gmx.net>
4702 * text.C: use Row & instead of RowList::iterator
4704 * lyxrow.h: rename end() to endpos()
4710 2003-10-22 Angus Leeming <leeming@lyx.org>
4712 * buffer.[Ch] (fully_loaded): new member function, returning true
4713 only when the file has been loaded fully.
4714 Used to prevent the premature generation of previews and by the
4715 citation inset to prevent computation of the natbib-style label.
4717 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4718 templates are all set up.
4720 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4722 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4724 * text.C: fixed an "oops" in the "is a bit silly"
4727 2003-10-21 André Pönitz <poenitz@gmx.net>
4729 * FuncStatus.[Ch]: small stuff, whitespace
4731 * lyxfont.[Ch]: operator<<() for debug reasons
4735 * lyxtext.h: whitespace, spelling
4737 * paragraph.C: naming of variables
4740 * text2.C: small stuff
4743 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4745 * text.C: (1) finish off the inset display() work;
4746 (2) fix the "is a bit silly" bug (accessing char
4749 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4751 * text.C: re-introduce display() for insets, fixing the
4752 various bugs (stretch of line above, math inset
4755 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4757 * text.C (rightMargin): remove spurious semicolon
4759 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4762 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4764 * text3.C: fix one crash due to wrong cursor def
4766 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4768 * vc-backend.C (scanMaster): make the regex static
4770 * LaTeX.C (scanAuxFile): make the regexs static
4772 * text3.C (doInsertInset, dispatch, dispatch):
4773 * text2.C (cursorUp, cursorDown):
4774 * text.C (selectNextWordToSpellcheck):
4775 * BufferView_pimpl.C (dispatch):
4776 * lyxfunc.C (dispatch): localDispatch -> dispatch
4778 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4780 * lyxsocket.C: include <cerrno>
4782 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4784 * lyxfunc.C (dispatch): remove textcache stuff
4786 * bufferlist.C (release): remove textcache stuff
4789 * TextCache.C: delete file
4790 * TextCache.h: delete file
4792 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4794 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4795 delete of the bv_->text.
4796 (resizeCurrentBuffer): remove texcache stuff
4797 (workAreaResize): ditto
4799 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4801 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4804 2003-10-16 André Pönitz <poenitz@gmx.net>
4811 * text3.C: speed up by storing y positions per paragraph plus per-row
4812 offset instead of having a 'full' y position in the row.
4814 2003-10-15 André Pönitz <poenitz@gmx.net>
4818 * undo.[Ch]: make undo aware of inner insets
4820 2003-10-14 Angus Leeming <leeming@lyx.org>
4822 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4823 static member functions LyX::ref() and LyX::cref.
4824 (lastfiles): new accessor functions for the new lastfiles_ member var.
4825 (addLyXView, views_): add a new LyXView to the list of views_.
4826 (updateInset): loop over all LyXViews to call their own updateInset
4827 member function, returning a pointer to the Buffer owning the inset.
4829 * BufferView_pimpl.C (loadLyXFile):
4830 * MenuBackend.C (expandLastfiles):
4831 * bufferlist.C (MenuWrite, QuitLyX):
4832 lastfiles is no longer a global variable.
4833 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4835 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4836 static function. Access through LyX::cref().emergencyCleanup().
4838 2003-10-14 André Pönitz <poenitz@gmx.net>
4840 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4842 * undo.[Ch]: restoring part of 'undo in insets'
4845 * undo_funcs.[Ch]: merge with undo.[Ch]
4847 * tabular.C: small cleansing stuff
4849 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4851 * paragraph_funcs.C (readParToken): report unknown insets as error
4852 boxes. Use the outer paragraph as location (also for unknown
4855 * factory.C (readInset): do not abort on reading an unknown inset.
4856 Eat it and return 0.
4858 2003-10-13 Angus Leeming <leeming@lyx.org>
4860 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4862 * lyxrc.C: displayTranslator is now a function,
4863 declared in GraphicsTypes.h.
4865 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4867 * format.C: new placeholder $$a to pass the socket address.
4869 * bufferlist.[Ch]: new function getBufferFromTmp.
4871 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4872 files in the temporary dir.
4874 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4876 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4878 * Makefile.am: add lyxsocket.[Ch].
4880 * lyx_main.C (error_handler): handle SIGPIPE.
4882 2003-10-13 André Pönitz <poenitz@gmx.net>
4884 * BufferView_pimpl.C:
4889 * undo_funcs.[Ch]: use paroffset_type instead of
4890 ParagraphList::iterators to prevent multiple conversion
4891 (and get a more robust interface)
4893 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4895 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4897 * text3.C (dispatch): ditto
4899 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4901 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4902 move the onlyfile, use onlyfile instead of foundfile in a couple
4905 * DepTable.C (update): flush the error stream a bit more
4907 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4909 * lyxserver.C (callback): adjust
4911 * lyxfunc.C (getStatus): add a missing brace in commented code
4912 (ensureBufferClean): reindent
4913 (dispatch): delete version taking a string
4915 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4917 * LaTeX.C (deplog): move found file handlig from here...
4918 (handleFoundFile): .. to new function here.
4919 (deplog): make sure to discover several files mentioned on the
4922 2003-10-10 André Pönitz <poenitz@gmx.net>
4929 * text3.C: fix some of the tabular crashes
4931 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4933 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4935 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4937 2003-10-09 André Pönitz <poenitz@gmx.net>
4939 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4942 * BufferView_pimpl.C:
4943 * bufferview_funcs.C:
4954 * undo_funcs.C: adjust
4956 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4958 * text2.C (incrementItemDepth): new function, use a backtracking
4959 algorithm to discover the correct item depth.
4960 (resetEnumCounterIfNeeded): new function, use a backtracking
4961 algorithm to discover if counter reset is needed.
4962 (setCounter): use them. Simplify a bit. Add different labels for
4963 different item depths for itemize.
4965 * paragraph.C (Paragraph): remove initialization of enumdepth
4968 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4969 enumerate and itemize. Change the type of itemdepth to signed char.
4971 2003-10-08 André Pönitz <poenitz@gmx.net>
4973 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4978 * tabular.[Ch]: fix crash after 'row-insert'
4980 2003-10-08 Angus Leeming <leeming@lyx.org>
4982 Fix doxygen warnings.
4984 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4985 Remove CutAndPaste:: prefix from header file declaration.
4987 * LColor.h (fill): remove LColor:: prefix from declaration.
4989 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4990 use lyx::depth_type rather than Paragraph::depth_type so that
4991 header file and .C file match.
4993 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4995 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4996 * aspell.C: \file aspell_local.C -> \file aspell.C
4997 * gettext.C: \file gettext.C -> \file src/gettext.C
4998 * gettext.h: \file gettext.h -> \file src/gettext.h
4999 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5000 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5001 * text.C: \file text.C -> \file src/text.C
5003 * toc.C: move comment so that doxygen is not confused.
5005 2003-10-07 Angus Leeming <leeming@lyx.org>
5007 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5009 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5012 * aspell_local.h: add forgotten std::string's.
5014 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5021 * text3.C: The Box patch. Fancybox support, minipage, parbox
5023 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5029 * ParagraphParameters.h:
5039 * lyxtextclasslist.h:
5042 * paragraph_pimpl.C:
5043 * textcursor.h: add <string> and other small fixes to make Lars'
5044 std::string patch compile with STLport.
5046 2003-10-06 Angus Leeming <leeming@lyx.org>
5048 * LColor.h: Add missing #include <string>.
5050 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5052 * All most all file in all subdirs: Make <string> be the prefered
5053 way of getting to std::string, add using declarations.
5055 2003-10-06 André Pönitz <poenitz@gmx.net>
5057 * metricsinfo.C: initialize LyXFont before changing attribute.
5058 (fixes the 'math in \emph is upright' bug)
5060 2003-10-06 André Pönitz <poenitz@gmx.net>
5062 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5064 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5067 * paragraph_pimpl.C: Small fixes to build using STLport
5069 2003-10-02 André Pönitz <poenitz@gmx.net>
5072 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5074 2003-10-01 André Pönitz <poenitz@gmx.net>
5076 * factory.C: assert early
5078 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5080 * lyx_main.C: remove the global debug object
5082 * debug.h: adjust for new debugstream
5084 * debug.C: adjust for new debugstream and keep the global debug
5087 2003-09-22 Angus Leeming <leeming@lyx.org>
5089 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5090 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5091 an incomplete class LyXFont.
5093 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5095 * factory.C: bug fix in branches
5097 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5099 * lyxfunc.C (processKeySym): adjust
5101 (dispatch): change arg name from ev to func, adjust
5102 (sendDispatchMessage): ditto
5104 * lyx_main.C (defaultKeyBindings): adjust keybindings
5105 (deadKeyBindings): ditto
5107 * kbsequence.C (addkey): return a FuncRequest
5109 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5111 * kbmap.C (bind): take a FuncRequest as arg, adjust
5114 (defkey): change to take a FuncRequest as arg, adjust
5115 (findbinding): take a FuncRequest as arg, adjust.
5117 * funcrequest.h (operator=): added
5119 * funcrequest.C (FuncRequest): default kb_action changed from
5120 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5122 * buffer.C (dispatch): simplify
5123 (dispatch): adjust to take a FuncRequest as arg, adjust
5125 * boost.C (assertion_failed): change assertion message slightly
5127 * ToolbarBackend.C (read): simplify
5129 * MenuBackend.C (binding): adjust call to findbinding, add a
5130 message if no binding is found.
5132 (expandToc): correct by adding a empty FuncRequest
5134 * LyXAction.C: include <boost/assert.hpp>
5135 (isPseudoAction): delete function
5136 (LookupFunc): change name to...
5137 (lookupFunc): this. change return type to FuncRequest.
5138 (getActionName): take kb_action as arg, simplify
5139 (funcHasFlag): add an assert, simplify.
5141 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5143 * toc.C (action): return a FuncRequest, simplify
5145 * lyxfunc.C (processKeySym): adjust
5146 (getStatus): delete version that takes an int.
5148 (dispatch): delete version that takes action as int
5150 (sendDispatchMessage): simplify and adjust
5152 * funcrequest.C (getArg): take unsigned int as arg
5154 * ToolbarBackend.C (read): adjust
5155 (add): delete version that takes func as a string.
5156 (getIton): take a FuncRequest as arg
5158 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5161 * MenuBackend.C (MenuItem): add a new construct that only takes a
5162 Kind, simplify the constructor use for submenus.
5164 (expandLastfiles): adjust
5165 (expandDocuments): adjust
5166 (expandFormats): adjust
5167 (expandFloatListInsert): adjust
5168 (expandFloatInsert): adjust
5169 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5171 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5172 Remove class variables lyx_pseudo_map and lyx_arg_map
5174 * LyXAction.C (searchActionArg): delete function
5175 (getPseudoAction): delete function
5176 (retrieveActionArg): delete function
5177 (LookupFunc): make it return kb_action, simplify.
5178 (getActionName): simplify
5180 * factory.C (createInset): fix new bug
5182 2003-09-19 Angus Leeming <leeming@lyx.org>
5184 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5185 masterFilename_ parameter in the include inset.
5187 * factory.C (createInset): changes due to the changes to InsetInclude.
5189 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5191 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5193 2003-09-18 Angus Leeming <leeming@lyx.org>
5196 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5197 Inset::fillWithBibKeys.
5198 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5200 2003-09-18 Angus Leeming <leeming@lyx.org>
5202 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5204 (ctor): pass and store a 'Buffer const &'
5205 (buffer): new member function.
5207 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5208 '*this' to the LaTeXFeatures ctor.
5210 2003-09-18 Angus Leeming <leeming@lyx.org>
5216 * text.C: rename EnumLColor as LColor_color.
5218 2003-09-18 Angus Leeming <leeming@lyx.org>
5220 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5221 remove #include "insets/insetbase.h" from cursor.h.
5223 2003-09-18 Angus Leeming <leeming@lyx.org>
5225 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5226 InsetOld_code to remove #include "inset.h".
5228 * iterators.C: add #include "insets/inset.h"
5230 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5232 * BufferView.C: remove more locking stuff that apparently doesn't
5233 do anything sensible.
5235 2003-09-16 André Pönitz <poenitz@gmx.net>
5238 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5241 2003-09-16 Angus Leeming <leeming@lyx.org>
5243 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5245 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5248 * paragraph.h: remove #include "lyxfont.h". Forward declare
5251 2003-09-16 Angus Leeming <leeming@lyx.org>
5253 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5254 of support/textutils.h.
5255 (isWord): move the contents of support/textutils.h's IsWordChar here.
5261 * text2.C: add #include "paragraph.h".
5264 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5266 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5272 * LaTeX.C: use namespace alias for lyx::support::os
5274 2003-09-16 Angus Leeming <leeming@lyx.org>
5277 * bufferview_funcs.C:
5280 * paragraph_pimpl.C:
5282 * text.C: add #include "LColor.h".
5284 2003-09-16 Angus Leeming <leeming@lyx.org>
5286 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5287 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5289 Store the FontBits::color variable as an int rather than as an
5290 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5293 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5294 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5295 string calls together.
5297 * lyxrc.C: add #include "LColor.h".
5299 2003-09-15 Angus Leeming <leeming@lyx.org>
5301 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5304 2003-09-15 Angus Leeming <leeming@lyx.org>
5306 * LColor.h: add an EnumLColor wrapper for LColor::color.
5308 * lyxfont.[Ch] (color, setColor, realColor):
5309 * lyxtext.h, text.C (backgroundColor):
5310 pass EnumLColor args to/from the functions, rather than LColor::color
5314 * lyxtext.h: forward declare EnumLColor.
5316 * lyx_main.C: add #include "LColor.h".
5318 2003-09-15 Angus Leeming <leeming@lyx.org>
5320 * .cvsignore: add lyx-gtk.
5322 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5327 * ParagraphParameters.C
5331 * bufferview_funcs.C
5341 * vc-backend.C: remove usage of STRCONV
5343 2003-09-15 Angus Leeming <leeming@lyx.org>
5345 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5346 explicitly define the color passed to the painter.
5348 2003-09-15 Angus Leeming <leeming@lyx.org>
5350 * bufferparams.C (BufferParams): reorder member initializers to avoid
5353 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5355 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5356 * text.C (updateRowPositions): remove an unusual nop
5358 2003-09-12 André Pönitz <poenitz@gmx.net>
5360 * BufferView_pimpl.C:
5369 * Counters.[Ch]: finish the 'automatic counters' job
5371 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5373 * aspell.C: include <boost/assert.cpp> (compile fix)
5375 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5377 * boost.C (assertion_failed): use lyx::support::abort instead of
5380 2003-09-10 Angus Leeming <leeming@lyx.org>
5382 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5383 with their _fwd progeny.
5385 2003-09-09 Angus Leeming <leeming@lyx.org>
5387 134 files throughtout the source tree: replace 'using namespace abc;'
5388 directives with the appropriate 'using abc::xyz;' declarations.
5390 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5392 * boost.C (emergencyCleanup): moved here from LAssert.c
5393 (assertion_failed): new function, called by BOOST_ASSERT
5395 * several files: change Assert to BOOST_ASSERT
5397 2003-09-09 Angus Leeming <leeming@lyx.org>
5399 * buffer.[Ch]: Add an Impl class and move Buffer's member
5400 variables into it. As a result move several header files out of
5403 Add header files to lots of .C files all over the tree as a result.
5405 2003-09-09 Angus Leeming <leeming@lyx.org>
5407 * buffer.[Ch]: make Buffer's member variables private. Add
5410 Lots of changes all over the tree as a result.
5412 2003-09-08 Angus Leeming <leeming@lyx.org>
5414 * graph.C: #include <config.h>.
5416 2003-09-08 Angus Leeming <leeming@lyx.org>
5420 * BufferView_pimpl.C:
5449 * toc.C: remove redundant using directives.
5451 2003-09-07 Angus Leeming <leeming@lyx.org>
5453 * LaTeXFeatures.h: remove #include "support/types.h".
5454 * ToolbarBackend.h: remove #include <algorithm>.
5455 * changes.h: remove #include <ctime>.
5456 * debug.h: remove #include <iosfwd>.
5457 * graph.h: remove #include "support/std_string.h".
5458 * lyx_main.h: remove #include <csignal>.
5459 * lyxlex_pimpl.h: remove #include <fstream>.
5460 * sgml.h: remove #include <algorithm>, <utility>.
5461 * toc.h: remove #include "support/std_ostream.h".
5462 Add #include <iosfwd>.
5464 2003-09-07 Angus Leeming <leeming@lyx.org>
5466 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5468 * converter.h: forward declare LatexRunParams.
5469 * encoding.h: remove #include "lyxrc.h".
5470 * lyxtext.h: remove #include "LColor.h".
5471 * lyxtextclass.h: remove #include "support/types.h".
5472 * trans.h: remove #include "tex-accent.h".
5473 * trans_mgr.h: remove #include "tex-accent.h".
5474 * insets/inset.h: remove #include "support/types.h", <vector>.
5475 * insets/insetcollapsable.h: remove #include "LColor.h".
5476 * insets/insetinclude.h: remove #include "dimension.h".
5477 * insets/insetlatexaccent.h: remove #include "dimension.h".
5478 * insets/insetoptarg.h:: remove #include "insettext.h".
5479 * insets/insettext.h: remove #include "dimension.h",
5480 <boost/shared_ptr.hpp>
5482 * insets/renderers.h: add #include "dimension.h".
5483 * insets/updatableinset.h: add #include "support/types.h".
5485 * many .C files: Associated changes.
5487 2003-09-06 Angus Leeming <leeming@lyx.org>
5489 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5490 one, inside testInvariant.
5492 * PrinterParams.C: new file.
5493 * PrinterParams.[Ch]: move the function bodies out of line.
5495 2003-09-06 Angus Leeming <leeming@lyx.org>
5497 * ParagraphParameters.h: forward declare ParameterStruct rather than
5498 including its header file.
5499 (depth): moved out-of-line.
5501 2003-09-06 Angus Leeming <leeming@lyx.org>
5503 * BufferView_pimpl.h:
5506 * lyxfunc.h: forward declare LyXKeySym rather than
5507 #include "frontends/LyXKeySym.h".
5509 * BufferView_pimpl.C:
5512 * lyxfunc.C: associated changes.
5514 2003-09-06 Angus Leeming <leeming@lyx.org>
5516 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5517 As a result, can remove the #include "insets/inset.h" from BufferView.h
5519 2003-09-06 Angus Leeming <leeming@lyx.org>
5521 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5522 As a result, can remove the #include "insets/inset.h" from BufferView.h
5524 2003-09-06 Angus Leeming <leeming@lyx.org>
5530 * bufferview_funcs.C:
5531 * BufferView_pimpl.C:
5536 * ParagraphParameters.C:
5541 * frontends/controllers/ControlDocument.C:
5542 * insets/insetcaption.C: rearrange the #includes into some sort of
5545 * buffer.h: remove #includes ErrorList.h, undo.h
5547 2003-09-06 Angus Leeming <leeming@lyx.org>
5549 * support/types.h: add a 'depth_type' typedef, used to store the
5550 nesting depth of a paragraph.
5553 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5554 defining explicitly.
5557 * paragraph_funcs.h:
5558 * ParagraphParameters.h:
5559 * sgml.h: use lyx::depth_type rather than Paragraph or
5560 ParameterStruct's depth_type.
5563 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5566 * BufferView_pimpl.C:
5568 * ParagraphParameters.C:
5571 * bufferview_funcs.C:
5578 * frontends/LyXView.C:
5579 * frontends/controllers/ControlDocument.C:
5580 * frontends/controllers/ControlErrorList.C:
5581 * insets/insetbibitem.C:
5582 * insets/insetbranch.C:
5583 * insets/insetcaption.C:
5584 * insets/insetcollapsable.C:
5585 * insets/insetenv.C:
5586 * insets/insetert.C:
5587 * insets/insetfloat.C:
5588 * insets/insetfoot.C:
5589 * insets/insetfootlike.C:
5590 * insets/insetnewline.C:
5591 * insets/insetquotes.C:
5592 * insets/insettabular.C:
5593 * insets/insettext.C:
5594 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5596 * frontends/controllers/ControlChanges.C: #include "changes.h".
5598 2003-09-06 Angus Leeming <leeming@lyx.org>
5600 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5601 than #including paragraph.h.
5604 * RowList.h: deleted. Superfluous.
5614 * insets/insettext.h: use ParagraphList_fwd.h rather than
5617 * paragraph.h: don't forward declare ParagraphList.
5620 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5621 rather than ParagraphList.h. paragraph.h is still needed for the
5622 Paragraph::depth_type parameters.
5624 * textcursor.h: enable it to compile stand-alone in light of the
5627 * bufferview_funcs.C:
5639 * frontends/controllers/ControlParagraph.C:
5640 * frontends/controllers/ControlTabular.C:
5641 * insets/insetmarginal.C:
5642 * insets/insetminipage.C:
5643 * insets/insetnote.C:
5644 * insets/insetoptarg.C: add header files needed to compile again.
5646 2003-09-06 Angus Leeming <leeming@lyx.org>
5648 * RowList_fwd.h: new file, forward-declaring Row rather than
5649 #including lyxrow.h.
5654 * insets/insettext.h: use it instead of RowList.h
5656 * bufferview_funcs.C:
5663 * text3.C: #include "RowList.h".
5665 2003-09-05 Angus Leeming <leeming@lyx.org>
5667 * factory.C (createInset):
5668 * vspace.C (c-tor): replace sscanf call with an istringstream.
5669 * ispell.C: re-add missing HP/UX headers.
5670 * lyxserver.C: re-add missing os2 headers.
5672 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5681 * text3.C: re-add missing system headers, needed for 2.95.2.
5683 2003-09-05 Angus Leeming <leeming@lyx.org>
5685 Changes most place everywhere due to the removal of using directives
5686 from support/std_sstream.h.
5688 2003-09-05 Angus Leeming <leeming@lyx.org>
5690 Replace LString.h with support/std_string.h,
5691 Lsstream.h with support/std_sstream.h,
5692 support/LIstream.h with support/std_istream.h,
5693 support/LOstream.h with support/std_ostream.h.
5695 Changes resulting throughout the tree.
5697 2003-09-05 Angus Leeming <leeming@lyx.org>
5699 * sgml.h: ensure that the header file can be compiled stand-alone.
5700 * *.C: strip out redundant #includes. (320 in total.)
5702 2003-09-04 Angus Leeming <leeming@lyx.org>
5704 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5705 here (from getPackages).
5707 * debug.[Ch]: add a new EXTERNAL tag.
5709 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5711 * text2.C (cursorEnd): simplify
5713 (getColumnNearX): adjust
5715 * text.C (computeBidiTables): adjust
5718 * rowpainter.C (paintChars): adjust
5719 (paintSelection): adjust
5720 (paintChangeBar): adjust
5723 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5725 (numberOfSeparators): adjust
5727 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5733 * text3.C: Restricts the mouse click functionality
5734 of insets like bibtex, include, toc and floatlist to the visible
5735 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5736 up the dialogs. Cursor has to be in front of the inset (i.e.
5737 start of row) for this to function.
5739 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5741 * bufferview_funcs.C (currentState): output row information
5743 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5745 * bufferview_funcs.C (currentState): output paragraph position
5747 2003-09-04 Angus Leeming <leeming@lyx.org>
5749 * FloatList.h: move out #include "Floating.h".
5750 * LaTeX.h: move out #include "DepTable.h".
5751 * LyXAction.h: move out #include "funcrequest.h".
5752 * buffer.h: move out #include "author.h", "iterators.h".
5753 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5754 * lyx_main.h: move out #include "errorlist.h".
5755 * lyxfunc.h: move out #include "FuncStatus.h".
5756 * lyxtext: move out #include "lyxcursor.h".
5757 * paragraph_pimpl.h: move out #include "counters.h".
5759 2003-09-03 Angus Leeming <leeming@lyx.org>
5761 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5762 preamble_snippets list, enabling us to add snippets to the preamble
5763 only if the snippet was not there already.
5765 2003-09-04 Angus Leeming <leeming@lyx.org>
5767 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5769 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5771 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5774 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5776 * BranchList.C: point fix, earlier forgotten
5778 2003-09-02 Angus Leeming <leeming@lyx.org>
5780 * box.C (contains): renamed from 'contained' after a fantastic
5783 2003-09-02 John Levon <levon@movementarian.org>
5789 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5791 2003-09-02 John Levon <levon@movementarian.org>
5793 * text2.C: simplification of cursorEnd(), including partial
5796 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5798 * buffer.C (readFile): add a space
5800 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5802 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5804 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5806 * buffer.C (readFile): new function, take a filename and a
5807 ParagraphList::iterator
5809 (readFile): adjust, make it private. don't use setStream, make
5810 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5811 always contain the filename.
5813 * BufferView.C (insertLyXFile): simplify and make it work for
5816 2003-08-30 John Levon <levon@movementarian.org>
5818 * Makefile.am: fix dist (from Kayvan)
5820 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5822 * most files: change to use const Buffer refs
5824 2003-08-27 André Pönitz <poenitz@gmx.net>
5826 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5827 on top of ownerPar().
5829 2003-08-27 John Levon <levon@movementarian.org>
5831 * funcrequest.C: properly initialise POD members
5833 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5835 * lyxtext.h (top_y): move top_y from here
5840 * BufferView_pimpl.[Ch]: to here
5841 * frontends/screen.C:
5842 * insets/insettabular.C:
5843 * insets/insettext.C: adjust
5844 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5846 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5849 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5851 2003-08-26 André Pönitz <poenitz@gmx.net>
5853 * paragraph_func.[Ch] (outerPar): new function
5856 * paragraph_funcs.C:
5857 * paragraph_funcs.h:
5858 * paragraph_pimpl.C:
5859 * text2.C: remove Inset::par_owner
5861 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5866 * text2.C: eliminates the needFullRow/display() stuff
5867 altogether, putting the logic in metrics/draw in the insets.
5869 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5871 * text2.C (redoParagraphInternal, redoParagraphs):
5872 * text.C (redoParagraph): add a call to updateRowPositions at the
5873 end of each 'metrics-like' call. Remove all others.
5874 (getRow): remove the 'y-computing' version.
5875 (getRowNearY): do not compute nor return the real y. Solve the
5876 'y < 0' problem and simplify.
5878 2003-08-22 Angus Leeming <leeming@lyx.org>
5880 * *.[Ch]: clean-up of licence and author blurbs.
5881 Also move config.h out of a few .h files and into a few .C files.
5883 2003-08-22 André Pönitz <poenitz@gmx.net>
5885 * lyxrow.[Ch]: add x_ and *fill_ members
5890 * text2.C: adjust/remove prepareToPrint() calls
5892 2003-08-22 André Pönitz <poenitz@gmx.net>
5894 * lyxrow.[Ch]: add end_ member
5896 * lyxrow_funcs.C: use LyXRow::end_
5898 * lyxtext.h (singleWidth): add LyXFont parameter
5901 * text2.C: adjust LyXText::singleWidth() calls
5903 * text.C (redoParagraph): simplify row breaking logic
5906 2003-08-19 André Pönitz <poenitz@gmx.net>
5908 * funcrequest.C: initialize button_ member
5911 * rowpainter.[Ch]: interface consolidation
5913 2003-08-18 André Pönitz <poenitz@gmx.net>
5916 * BufferView_pimpl.C:
5918 * paragraph_funcs.C:
5920 * text3.C: remove LyXScreen::draw() and fitCursor calls
5922 * BranchList.h: remove spurious semicolons
5924 * MenuBackend.C: fix branchlist related crash
5926 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5934 * bufferparams.[Ch]:
5938 * text3.C: implements the 'branch inset'
5939 idea. This allows the output of various versions of a document
5940 from a single source version, selectively outputing or suppressing
5941 output of parts of the text.
5942 This implementation contains a 'branch list editor' in a separate
5943 tab of the document settings dialog. Branches are user definable
5944 and have a "display colour" to distinguish them on-screen.
5946 ColorHandler was somewhat cleaned up.
5947 (1) make possible a dynamically growing LColor list by allowing
5948 the graphic context cache to grow along (vector);
5949 (2) eliminate an IMHO unnecessary step in colour allocation.
5951 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5953 * BufferView_pimpl.C: compile fix
5955 2003-08-15 André Pönitz <poenitz@gmx.net>
5957 * rowpainter.C: remove extra metrics calls
5959 * lyxtext.h: merge the two constructors into a single one,
5960 pass reference to owner's par list
5962 * BufferView_pimpl.C:
5966 2003-08-15 André Pönitz <poenitz@gmx.net>
5968 * lyxrow_funcs.[Ch]:
5971 * paragraph_funcs.C:
5976 * text_funcs.C: split LyXText::rowlist_ into individual
5977 Paragraph::rows_ chunks
5980 * BufferView_pimpl.[Ch]:
5983 * text3.C: remove toggleSelection()
5985 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5987 * bufferlist.C: beautify two alerts (shorter text of buttons)
5988 * buffer.C: Remove redundant ' ' from message
5990 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5991 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5992 rename VALIGN_CENTER to VALIGN_MIDDLE
5994 2003-08-11 André Pönitz <poenitz@gmx.net>
5996 * lyxtext.h (getPar):
5997 * text.C: new function
5999 2003-08-11 André Pönitz <poenitz@gmx.net>
6002 * tracer.[Ch]: remove unneeded files
6004 * InsetList.[Ch]: remove resizeInsetsLyXText()
6009 * text3.C: merge insertParagraphs() and appendParagraph()
6010 remove breakAgain(), update()
6012 * BufferView_pimpl.[Ch]:
6013 * bufferview_funcs.[Ch]:
6017 * tabular.C: adjust after text & InsetList changes.
6019 2003-08-08 André Pönitz <poenitz@gmx.net>
6021 * text.C (insertChar, backspace): replace rowlist fiddling
6022 with rebreak of full par
6025 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6026 checkParagraph, updateInset): removed
6028 2003-08-07 André Pönitz <poenitz@gmx.net>
6031 * text3.C: merge some LFUN handlers, remove dead code
6033 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6035 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6037 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6039 * text2.C (DEPM): fix part of bug 1255 and 1256
6041 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6043 * BufferView_pimpl.C (workAreaDispatch): change to use
6044 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6045 that are no mouse related.
6047 2003-08-05 André Pönitz <poenitz@gmx.net>
6050 * BufferView_pimpl.[Ch]:
6051 * bufferview_funcs.C:
6053 * text3.C: rip out "deep update"
6055 * textcursor.[Ch] (last_sel_cursor): remove unused member
6057 2003-08-04 André Pönitz <poenitz@gmx.net>
6060 * BufferView_pimpl.[Ch]:
6061 * ParagraphParameters.C:
6062 * bufferview_funcs.C:
6068 * text3.C: replace "complicated" BufferView::update(...) calls with
6071 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6073 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6075 * Makefile.am (lyx_SOURCES): add paper.h
6077 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6079 * Makefile.am: move things around so that both lyx-qt and
6080 lyx-xforms can be built (according to --with-frontend). Then lyx
6081 is a symbolic link to lyx-[firstfrontend]
6083 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6085 * Always use std::endl with lyxerr
6087 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6089 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6091 2003-08-01 André Pönitz <poenitz@gmx.net>
6094 * BufferView_pimpl.[Ch]:
6096 * text3.C: merge BufferView::repaint() and BufferView::update()
6098 2003-08-01 José Matos <jamatos@lyx.org>
6100 * buffer.[Ch]: file_format is no longer a buffer data element.
6102 2003-08-01 André Pönitz <poenitz@gmx.net>
6107 * text2.C: make redoParagraph more independent of current cursor
6109 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6111 * text2.C: remove unneeded members
6113 2003-07-30 André Pönitz <poenitz@gmx.net>
6115 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6117 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6118 create a single function...
6120 * paragraph_funcs.C (moveItem): ... here.
6123 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6125 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6127 * LColor.[Ch]: Add comment and greyedout logical colors.
6129 2003-07-30 André Pönitz <poenitz@gmx.net>
6131 * tabular.C: don't use Assert too heavily. This crashes where it
6134 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6136 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6137 is disabled (bug 1232)
6139 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6141 * factory.C: limited 'arg' scope
6143 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6145 * factory.C: fixed Note submenu issues
6147 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6149 * factory.C: submenu for Note/Comment/Greyedout
6151 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6154 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6156 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6159 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6160 greyedout. Patch provided by Jürgen Spitzmüller.
6162 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6164 * kbmap.C (read): fix error message when reading bind files
6166 2003-07-29 Angus Leeming <leeming@lyx.org>
6168 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6169 certainly does not do what it purports to do. I am doing it, and
6170 us, a favour by killing it.
6172 2003-07-28 José Matos <jamatos@lyx.org>
6174 * buffer.C (readBody, do_writeFile):
6175 * paragraph.C(readParagraph): \end_document replaces \the_end.
6177 2003-07-29 André Pönitz <poenitz@gmx.net>
6180 * BufferView_pimpl.[Ch]:
6184 * textcursor.[Ch]: remove toggleToggle & Co
6186 2003-07-28 José Matos <jamatos@fep.up.pt>
6188 * buffer.C (readParagraph):
6189 * params_func (readParToken, readParagraph):
6190 * paragraph.C (write): \layout -> \begin_layout.
6192 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6194 * lyxlex_pimpl.C (setFile): clean up slightly.
6196 * bufferparams.h: add compressed var
6198 * buffer_funcs.C (readFile): adjust for LyXLex change
6199 (newFile): ditto + simplify
6201 * buffer.C (writeFile): handle writing of compressed files
6203 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6204 Check if the file is compressed and set a bufferparm if so.
6206 * Makefile.am (lyx_LDADD): remove explicit -lz
6208 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6210 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6211 makeDocBookFile): put the real LyX version in the first line of
6215 * version.C.in: remove lyx_docversion
6217 * tabular.C (write_attribute): add a template-based version to
6218 write enums properly
6220 2003-07-28 André Pönitz <poenitz@gmx.net>
6225 * text3.C: use doubles again for x-coordinates. They are needed.
6227 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6229 * messages.C (getLocaleDir): use lyx_localedir()
6231 * lyxlex_pimpl.C (setFile): compress stuff
6233 * buffer.C (writeFile): add some compression stuff
6234 (do_writeFile): new func, dont call expliti close... will this
6237 * Makefile.am (lyx_LDADD): add -lz
6239 2003-07-28 José Matos <jamatos@fep.up.pt>
6241 * buffer.C: increment file format.
6242 * paragraph_funcs (readParagraph, readParToken):
6243 * paragraph.C (readParagraph): add \end_layout.
6245 2003-07-27 Angus Leeming <leeming@lyx.org>
6247 * Makefile.am: remove special casing for configure-time setting of
6248 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6250 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6251 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6253 2003-07-26 André Pönitz <poenitz@gmx.net>
6255 * paragraph_func.[Ch]:
6256 * paragraph.C (realizeFont): inline it whereever it is used
6261 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6264 2003-07-26 André Pönitz <poenitz@gmx.net>
6268 * text2.C: get rid of LyXText::need_break_row
6270 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6272 * toc.[Ch]: put namespace toc inside namespace lyx
6274 * MenuBackend.C (expandToc2): adjust for lyx::toc
6277 * lyxfunc.C (dispatch): adjust for lyx::find
6279 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6280 lyx::find instead. Reorganize a bit.
6281 (LyXReplace): rename to replace
6282 (LyXFind): rename to find
6284 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6287 2003-07-26 André Pönitz <poenitz@gmx.net>
6289 * text.C (setHeightOfRow): restrict scope of temporary variable
6291 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6292 code (never has been used?)
6294 2003-07-27 Asger Alstrup <alstrup@local>
6296 * text.C (fill): Optimise algorithm to exploit that we can reuse
6297 the LyXFont for many characters.
6298 (setHeightOfRow): Same thing.
6299 (rowBreakPoint): Same thing.
6301 2003-07-26 Asger Alstrup <alstrup@local>
6303 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6305 * text.C (singleWidth): Spurious font copying in hot-spot
6306 singleWidth avoided. Reorder tests for arabic for efficiency.
6308 * text.C (fill): handle empty paragraphs better.
6310 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6313 * encoding.h: add includes
6315 * lyxrc.C: remove reading of bind files
6317 * lyx_main.C (init): setup bindings and menus only if we have a
6320 * kbmap.C (read): new method. Do the actual reading of bind
6323 * converter.C (dvipdfm_options):
6326 (output): adapt PAPER_* enums.
6328 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6330 * bufferparams.h: remove paper-related enums from there
6332 * paper.h: New file. A trivial header file to hold paper-related
6333 enums. It should later expand to contain many paper-related
6336 * lyxrc.C: declare extern displayTranslator
6338 2003-07-27 José Matos <jamatos@fep.up.pt>
6340 * tabular.[Ch] (linuxdoc): add support for tables and figures
6343 2003-07-27 José Matos <jamatos@fep.up.pt>
6345 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6346 consistency in both functions.
6347 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6349 2003-07-26 Asger Alstrup <alstrup@local>
6351 * rowpainter.C (paintRows): Change algorithm to work directly on
6352 the insets rather than asking every character in the document
6353 whether its an inset.
6355 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6357 * buffer.C (openFileWrite): factorize some code
6359 2003-07-26 Angus Leeming <leeming@lyx.org>
6362 * lyx_main.[Ch]: replace occurances of system_tempdir with
6365 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6367 * rename Inset to InsetOld
6369 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6371 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6372 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6373 which I think is a bit clearer. EDIT is gone, since it was
6374 premature optimisation, and broken for mathed anyway.
6375 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6376 with cursor positioning in insets as well (math insets still do not
6377 work, but that's a different story anyway.) It mysteriously
6378 crashes sometimes with undo in the first paragraph, but I'm fairly
6379 confident that this is a compiler bug.
6381 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6383 * paragraph.C (Paragraph): adjust for new clone return type
6385 (copyIntoMinibuffer): ditto
6387 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6389 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6390 by not having a special case, and always doing a full rebreak of
6391 the document after undo.
6393 2003-07-23 Angus Leeming <leeming@lyx.org>
6395 * factory.C (createInset): InsetExternal::setParams now takes a
6398 2003-07-23 Angus Leeming <leeming@lyx.org>
6400 * factory.C (createInset): changed interface to the external and
6401 graphics mailers' string2params functions.
6403 2003-07-23 Angus Leeming <leeming@lyx.org>
6405 * factory.C (createInset): pass a
6406 Buffer const * parameter to InsetExternalMailer's string2params.
6408 2003-07-22 John Levon <levon@movementarian.org>
6410 * Thesaurus.h: include the right aiksaurus header
6412 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6414 * MenuBackend.C (expand): check menu shortcuts unconditionally
6416 2003-07-21 Angus Leeming <leeming@lyx.org>
6418 * factory.C (createInset): pass a
6419 buffer_path parameter to InsetGraphicsMailer's string2params.
6421 2003-07-21 Angus Leeming <leeming@lyx.org>
6423 * BufferView_pimpl.C (buffer):
6426 * lyxfunc.C (dispatch):
6427 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6428 rather than the grfx shortcut.
6430 2003-07-21 André Pönitz <poenitz@gmx.net>
6432 * rowpainter.C: remove unused variables
6435 * tabular_funcs.h: move to tabular.C
6436 * Makefile.am: adjust
6438 * tabular.[Ch]: basic optical cleaning
6440 * author.h: pass references, not values
6442 2003-07-18 André Pönitz <poenitz@gmx.net>
6450 * text3.C: two-phase drawing for InsetText and InsetTabular
6451 some float -> int changes.
6453 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6455 * lyx_main.C: fix the fix
6457 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6459 * lyx_main.C: fix a crash in batch mode if no files specified
6462 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6464 * format.[Ch] (papersize): moved to BufferParams
6465 * converter.[Ch] (dvips_options): moved to BufferParams
6466 (dvipdfm_options): moved to anon namespace
6467 * bufferparams.[Ch]: added above functions.
6469 2003-07-17 André Pönitz <poenitz@gmx.net>
6473 * text2.C: don't call inset->update() anymore
6475 * metricsinfo.[Ch]: add convenience constructor
6477 2003-07-16 André Pönitz <poenitz@gmx.net>
6482 * text2.C: replace the LyXCursor::irow_ member with
6483 on-demand computation of the value
6485 2003-07-16 John Levon <levon@movementarian.org>
6487 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6489 2003-07-15 André Pönitz <poenitz@gmx.net>
6492 * text2.C: remove no more needed refresh_row
6494 2003-07-15 André Pönitz <poenitz@gmx.net>
6499 * text3.C: refresh_status tristate -> need_update bool
6501 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6503 * lyxtext.h (init): remove reinit argument (act as if always true)
6504 * text2.C: adjust to that
6506 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6508 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6509 * text3.C: use it to delete selections in some cases
6510 (bugs 441, 673, 702, 954).
6512 2003-07-14 André Pönitz <poenitz@gmx.net>
6514 * rowpainter.[Ch]: reduce interface
6516 2003-07-14 André Pönitz <poenitz@gmx.net>
6518 * BufferView_pimpl.C:
6519 * text2.C: adjust after removing unused BufferView * argument
6521 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6523 * text2.C (init): fix a crash fired on resize
6525 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6527 * buffer.[Ch]: added new closing signal
6528 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6529 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6530 BufferView::Pimpl via the closing the signal
6532 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6534 * buffer.[Ch]: take out all bv-related from buffer
6536 * BufferView_pimpl.[Ch]: connect to new signals
6537 * CutAndPaste.C: removed useless asserts
6538 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6541 * lyxfunc.C: moved view-related funciontality from vc here
6542 * paragraph.C: removed outdated comments
6545 2003-07-10 André Pönitz <poenitz@gmx.net>
6547 * BufferView_pimpl.C:
6551 * text2.C: remove InsetText::InnerCache, clean up consequences
6553 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6555 * ispell.C: fix two typos in error messages
6557 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6559 * Extend Note inset to other forms of annotation like Comment
6560 and Greyedout. Right button click gives dialog.
6562 Files modified or added (+):
6566 * ControlNote.[Ch] +
6568 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6569 frontends/controllers
6573 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6575 * aspell.C: add missing namespace lyx::support
6577 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6579 * BufferView.[Ch] (newFile): Add
6580 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6581 * LaTeX.[Ch] (message): added this signal and use it
6582 * buffer.[Ch] (busy, message): added these signals and use them
6583 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6587 * importer.C: use buffer signals instead of direct bv calling
6588 * lyx_cb.[Ch] (ShowMessage): removed
6591 * paragraph_funcs.C:
6592 * text2.C: use buffer signals
6594 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6596 * introduce namespace lyx::graphics
6598 2003-07-02 André Pönitz <poenitz@gmx.net>
6600 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6602 2003-07-01 André Pönitz <poenitz@gmx.net>
6609 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6610 text*.C to text_func.C
6612 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6614 * introduce namespace lyx::support
6616 2003-06-30 André Pönitz <poenitz@gmx.net>
6621 * text.C: re-enable --with-included-string
6623 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6625 * textcursor.C: add <config.h>
6627 * text.C (getWord): remove const from word_location arg
6629 * lyxvc.C (getLogFile): fix const type order
6631 * lyxtext.h: remove const from word_location arg, add arg name
6633 * lyxlayout.h: currect type on labeltype.
6635 * importer.C: correct \file
6637 * converter.C (intToFormat): use std:: on ret val, ws changes
6639 * bufferlist.h: correct \file
6641 * buffer.C (makeLinuxDocFile): fix const type order
6642 (makeDocBookFile): ditto
6643 (fillWithBibKeys): use std:: on stdlib args.
6645 * CutAndPaste.C: fix authors.
6646 (availableSelections): use std:: on return vector
6648 2003-06-27 André Pönitz <poenitz@gmx.net>
6650 * BufferView_pimpl.C:
6651 * bufferview_funcs.C:
6659 * text3.C: remove LyXCursor::row_ member
6662 * text.C: rename fullRebreak() to partialRebreak() and implement
6663 a fullRebreak() that really bereks fully
6665 * textcursor.h: new struct for cursor-related data
6667 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6669 * lyx_main.C (LyX): get full path of document loaded on the
6672 2003-06-26 André Pönitz <poenitz@gmx.net>
6674 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6675 remove unused/broken operator>,<,>=.
6677 * text.C: remove only use of broken operator<= in an Assert().
6679 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6681 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6682 moved errorlist_.clear to showErrorList
6684 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6686 * converter.C (scanLog, runLaTeX):
6687 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6688 move the bv->showErrorList call to the callers
6689 * lyxfunc.C: i.e. here...
6691 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6692 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6693 namespace, the second to...
6694 * buffer_funcs (BufferFormat, parseErrors): added
6695 * errorlist.C (ErrorList(TeXErrors const &)): removed
6697 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6699 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6701 2003-06-24 "Garst R. Reese" <reese@isn.net>
6705 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6707 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6709 * version.C.in: change docversion to 1.4
6711 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6713 * buffer.C: fix a bug just introduced
6715 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6717 * buffer.[Ch]: added the parseError signal and use it, removed
6719 * BufferView.[Ch] (addError): moved to ...
6720 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6721 to the Buffer::parseError signal to catch (guess what) parse errors
6722 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6724 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6726 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6727 ability to create a buffer and to return an existing one from
6728 the list. Moved these functions to...
6729 * buffer_funcs.[Ch]: added
6730 * BufferView.[Ch] (loadLyXFile): added
6731 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6732 job removed from bufferlist::loadLyXFile.
6733 * buffer.C (setReadOnly): make it work without view
6734 (i.e added an if (users))
6736 2003-06-19 Angus Leeming <leeming@lyx.org>
6739 * LyXAction.C (init):
6740 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6741 with LFUN_DIALOG_SHOW <name> <data>.
6743 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6745 * CutAndPaste.C (availableSelections): small compilation fix for
6746 ancient (gcc 2.9x) compilers
6748 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6750 * text3.C (cursorNext): add tmp var
6752 * text2.C (updateCounters): for function calling out of for clause
6753 (replaceSelectionWithString): ditto
6754 (insertStringAsParagraphs): ditto
6755 (getColumnNearX): add tmp var
6756 (setCursorFromCoordinates): add tmp var
6757 (cursorDownParagraph): add tmp var
6758 (deleteEmptyParagraphMechanism): add tmp var
6760 * text.C (insertChar): add tmp var
6762 * rowpainter.C (paintDepthBar): add tmp var
6764 * CutAndPaste.C (availableSelections): potentially check all
6765 paragraphs in a cut to fill the shown strings.
6767 2003-06-18 André Pönitz <poenitz@gmx.net>
6769 * kbmap.[Ch]: use vector<> instead of list<>
6771 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6773 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6774 pasteSelection with index
6776 * text2.C (pasteSelection): modify, call pasteSelection with index
6778 * paragraph.C (asString): reimplement version with no interval to
6779 call the one with interval.
6781 * lyxtext.h: add index arg to pasteSelection
6783 * MenuBackend.C (MenuItem): handle PasteRecent
6784 (Menu::read::Menutags): add md_pasterecent
6786 (expandPasteRecent): new function
6789 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6791 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6793 (availableSelections): new function
6795 2003-06-17 Angus Leeming <leeming@lyx.org>
6797 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6799 2003-06-17 Angus Leeming <leeming@lyx.org>
6802 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6804 * lyxfunc.C (dispatch): invoke it.
6806 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6808 * iterators.C (operator++, ParPosition): reintroduce some
6809 const_cast for the benefit of older compilers.
6811 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6813 * text3.C (dispatch): do not modify clipboard when doing
6814 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6815 LFUN_DELETE_SKIP on a selection selection
6817 2003-06-16 André Pönitz <poenitz@gmx.net>
6823 * tabular.[Ch]: IU of clone() and getLabelList();
6825 2003-06-13 André Pönitz <poenitz@gmx.net>
6827 * tabular.h: compactification
6829 2003-06-12 André Pönitz <poenitz@gmx.net>
6833 * tabular_funcs.h: some renaming plus whitespace
6835 2003-06-12 André Pönitz <poenitz@gmx.net>
6838 * BufferView_pimpl.C:
6844 * toc.C: Return a Paragraph & for ParIterator::operator*()
6846 2003-06-11 John Levon <levon@movementarian.org>
6850 * ToolbarBackend.C: add "Toolbars" section and
6853 2003-06-10 Angus Leeming <leeming@lyx.org>
6856 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6858 * lyxfunc.C (dispatch): invoke it.
6860 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6862 * main.C: protect <ios> with HAVE_IOS
6863 (main): protect sync_with_stdio with HAVE_IOS
6865 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6867 * text2.C (cutSelection): adjust
6868 (pasteSelection): adjust
6870 * messages.C: handle get of empty string
6872 * main.C (main): use sync_with_stdio(false)
6874 * lyxfunc.C (dispatch): adjust
6876 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6877 (WriteAs): remove unneeded BufferView arg.
6879 * bufferparams.h: use correct types on papersize, papersize2 and
6882 * bufferparams.C (readToken): adjust for type
6883 (writeLaTeX): add missing cases to switch.
6885 * bufferlist.C (quitWriteBuffer): adjust
6888 * buffer.C (asciiParagraph): remove some commented code.
6890 * CutAndPaste.C: remove current_view extern variable.
6891 (cutSelection): add BufferParams arg.
6892 (eraseSelection): add BufferParams arg.
6893 (pasteSelection): add Buffer const & arg
6895 2003-06-07 John Levon <levon@movementarian.org>
6898 * paragraph_funcs.C:
6899 * paragraph_pimpl.C:
6903 * paragraph.C: allow InsetERT to freely space lines,
6904 and some consolidation of code
6906 2003-06-06 José Matos <jamatos@fep.up.pt>
6908 * buffer.C (makeDocBookFile): fix bug #821
6910 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6912 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6914 2003-06-04 Angus Leeming <leeming@lyx.org>
6916 * buffer.C: bump format to 224.
6918 2003-06-05 André Pönitz <poenitz@gmx.net>
6920 * text2.C (redoParagraphs): remove two const_cast<>
6922 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6924 * ParagraphList.h: remove last remnants of NO_STD_LIST
6926 2003-06-03 Angus Leeming <leeming@lyx.org>
6928 * factory.C (createInset): small change to the way InsetExternal's params
6931 2003-06-04 André Pönitz <poenitz@gmx.net>
6933 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6935 * paragraph_pimpl.h:
6936 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6938 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6940 * undo_funcs.C: make some simple cases of undo work again
6942 2003-06-03 John Levon <levon@movementarian.org>
6944 * ispell.C: HPUX doesn't have sys/select.h
6947 2003-06-03 John Levon <levon@movementarian.org>
6949 * CutAndPaste.C: update tabular and include inset
6954 * paragraph.C: remove owningBuffer(), don't pass Buffer
6957 * factory.C: insetGraphicsParams changed
6959 2003-06-02 John Levon <levon@movementarian.org>
6965 * text3.C: remove insetparent
6967 2003-06-02 John Levon <levon@movementarian.org>
6970 * buffer.C: fix inset_iterator.end(), move out of line
6973 2003-06-01 John Levon <levon@movementarian.org>
6975 * text3.C: use a proper cut/paste when doing inset
6976 insert (from Jürgen Spitzmüller)
6978 2003-06-01 John Levon <levon@movementarian.org>
6980 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6982 2003-05-30 André Pönitz <poenitz@gmx.net>
6984 * rowpainter.C: unify second drawing phase
6986 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6988 * trans_mgr.C: remove one case of current_view
6990 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6992 * paragraph_funcs.h: remove paragraph.h include
6994 * paragraph.h: delete NO_STD_LIST stuff
6996 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6998 * buffer.h: remove paragraph.h include
7000 * ParagraphList.C: delete file
7002 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7004 * toc.C (getTocList): adjust
7006 * paragraph_pimpl.C (validate): adjust
7008 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7010 * paragraph.C (Paragraph): adjust
7011 (getPositionOfInset): use const_iterator, adjust
7012 (bibitem): use const_iterator, adjust
7013 (setInsetOwner): adjust
7015 * iterators.C (operator++): adjust
7017 * InsetList.[Ch]: Replace selfmade iterator with standard
7018 vector::iterator also introduce const_iterator. Remove getPos,
7019 getInset and setInset from InsetTable. Adjust accordingly.
7021 * BufferView.C (lockInset): adjust
7022 (ChangeInsets): adjust
7024 * tabular.[Ch]: delete commented same_id functions
7026 2003-05-28 John Levon <levon@movementarian.org>
7028 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7030 2003-05-28 André Pönitz <poenitz@gmx.net>
7032 * metricsinfo.[Ch]: remove 'fullredraw' member
7034 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7036 * lyxtextclass.C (operator): remove caching.
7038 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7042 * text2.C (cursorBottom): adjust
7043 (setCounter): use ParagraphList::find, adjust
7045 * text.C (workWidth): use ParagraphList::find, adjust
7047 * lyxcursor.C (LyXCursor): adjust
7049 * buffer.C (inset_iterator): adjust
7051 * ParagraphList.h: make iterator(value_type) private, make
7052 ParagraphList a friend of iterator.
7054 * ParagraphList.C (find): new function
7056 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7058 2003-05-27 André Pönitz <poenitz@gmx.net>
7060 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7062 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7064 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7066 2003-05-26 John Levon <levon@movementarian.org>
7068 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7070 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7072 * remove same_id from function signatures, adjust.
7074 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7076 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7078 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7080 * paragraph.C (Paragraph): get rid of same_ids parameter
7082 * ParagraphList.C (insert): adjust
7085 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7087 * paragraph_funcs.C (breakParagraph): adjust
7088 (breakParagraphConservative): adjust
7090 * buffer.C (readParagraph): adjust
7092 * ParagraphList.C (insert): take a reference instead of a pointer
7095 * paragraph.[Ch] (id): new function
7097 * bufferlist.C (newFile): adjust
7099 * ParagraphList.C (ParagraphList): adjust
7101 (push_back): take a reference instead of a pointer.
7103 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7105 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7108 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7109 set else use old code.
7111 * ParagraphList.C: remove all NO_NEXT code and only compile this
7112 code of NO_STD_LIST is set.
7114 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7116 * BufferView_pimpl.C:
7126 * graphics/GraphicsConverter.C:
7127 * graphics/PreviewLoader.C: header adjustment
7129 2003-05-23 Angus Leeming <leeming@lyx.org>
7131 * LaTeXFeatures.[Ch] (useBabel): new method.
7132 * bufferparams.C (writeLaTeX): use it.
7134 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7136 * ParagraphList.h (set): remove unused function.
7138 2003-05-23 André Pönitz <poenitz@gmx.net>
7141 * BufferView_pimpl.C:
7145 * undo_funcs.C: setUndo reworked
7147 * iterators.[Ch]: add access to topmost ParagraphList
7149 * lyxtext.[Ch] (workWidth): add a const
7151 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7153 * texrow.[Ch] (increasePos): remove function
7154 * exporter.C (export): removed unused var and outdated comment
7156 2003-05-23 Angus Leeming <leeming@lyx.org>
7158 * latexrunparams.h: rename fragile as moving_arg.
7159 * paragraph.C (simpleTeXOnePar): ditto.
7160 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7162 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7164 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7166 (textUndoOrRedo): comment out a currently unused var.
7168 * paragraph.h (NO_NEXT): enable NO_NEXT
7170 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7172 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7174 * exporter.C (Export): adjust for removeAutoInsets removal.
7176 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7178 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7180 * BufferView.[Ch] (removeAutoInsets): delete function
7182 2003-05-22 Angus Leeming <leeming@lyx.org>
7184 * latexrunparams.h: add a free_spacing variable.
7186 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7187 to pass moving_arg, as the data is stored in runparams.fragile.
7189 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7190 to Inset::latexOptional or to simpleTeXOnePar.
7192 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7193 free_spacing arg to Inset::latexOptional.
7195 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7198 2003-05-22 Angus Leeming <leeming@lyx.org>
7200 * latexrunparams.h: add fragile and use_babel variables.
7202 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7203 * buffer.C (makeLaTeXFile): store this returned value in
7204 runparams.use_babel, thus passing it to the inset::latex methods.
7206 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7207 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7209 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7210 longer has a fragile arg, as it is stored in runparams.fragile.
7212 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7213 moving_arg parameter as the data is stored in runparams.fragile.
7215 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7216 a fragile parameter as the data is stored in runparams.fragile.
7218 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7220 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7222 2003-05-22 Angus Leeming <leeming@lyx.org>
7224 * latexrunparams.h: add a 'bool nice' which defaults to false.
7226 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7227 now encapsulated within runparams.
7229 * bufferlist.C (updateIncludedTeXfiles):
7230 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7232 2003-05-22 Angus Leeming <leeming@lyx.org>
7234 * latexrunparams.h: new file containing struct LatexRunParams.
7235 * Makefile.am: add new file.
7237 * LaTeX.[Ch] (c-tor, run):
7238 * buffer.[Ch] (makeLaTeXFile):
7239 * bufferlist.[Ch] (updateIncludedTeXfiles):
7240 * converter.C (convert, scanLog):
7241 * converter.[Ch] (runLaTeX):
7242 * exporter.C (Export):
7243 * paragraph.[Ch] (simpleTeXOnePar):
7244 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7245 * paragraph_funcs.[Ch] (latexParagraphs):
7246 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7247 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7248 pass around a LatexRunParams parameter.
7250 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7252 * paragraph.[Ch]: remove unused constructor
7254 * ParagraphList.C (erase): new function, taking two iterators
7256 2003-05-22 André Pönitz <poenitz@gmx.net>
7258 * undo_funcs.C: remove duplicated code
7260 * iterator.[Ch]: operator=
7262 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7264 * tabular.C (SetMultiColumn): ws changes
7266 * rowpainter.C (paintFirst): get rid of a ->previous
7268 * lyx_cb.C (getPossibleLabel): parlist simplification
7270 * BufferView.C (ChangeInsets): simplify slightly.
7272 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7274 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7275 * lfuns.h: new LFUN_SPACE
7276 * lyxfunc.C: protected space has a new lfun
7277 * paragraph_funcs.C: read new space insets
7279 * factory.C: handle new space insets
7281 2003-05-22 André Pönitz <poenitz@gmx.net>
7284 * BufferView_pimpl.C:
7287 * undo_funcs.C: return a ParIterator from getParFromID.
7289 * iterators.[Ch]: add two const's
7291 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7293 * toc.C (getTocList): adjust
7295 * iterators.[Ch]: rework for parlist
7297 * buffer.C (par_iterator_begin): adjust
7298 (par_iterator_end): adjust
7300 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7302 * BufferView.C (removeAutoInsets): adjust
7303 (ChangeInsets): adjust
7305 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7307 * text.C (top_y): fix bug 1110
7309 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7311 * errorlist.[Ch]: added
7314 * BufferView_pimpl.C:
7315 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7318 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7320 * Makefile.am: ensure that lyx is relinked upon changes to the
7321 various "convenience" libs.
7323 2003-05-20 Angus Leeming <leeming@lyx.org>
7325 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7326 files are compiled in alphabetical order again.
7328 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7330 2003-05-19 Angus Leeming <leeming@lyx.org>
7332 * gettext.[Ch]: remove "char const * _(char const *)".
7334 2003-05-19 André Pönitz <poenitz@gmx.net>
7336 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7345 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7347 2003-05-19 André Pönitz <poenitz@gmx.net>
7351 * lyxtextclass.[Ch]:
7353 * paragraph_funcs.[Ch]:
7355 * text3.C: more insetenv work
7357 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7359 * ParagraphParameters.C (params2string): small bug fixed
7361 2003-05-16 André Pönitz <poenitz@gmx.net>
7364 * bufferview_funcs.C: patch from Kornel Benko to prevent
7365 crash when _(...) is called twice in a statement
7367 2003-05-16 André Pönitz <poenitz@gmx.net>
7374 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7376 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7378 * lyx_main.C (init): remove spurious static_cast
7380 2003-05-14 André Pönitz <poenitz@gmx.net>
7382 * BufferView.C: fix format string
7384 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7386 * BufferView.[Ch] (insertErrors): removed
7387 * BufferView.[Ch] (showErrorList): added
7388 * buffer.C (runChkTeX):
7389 * converter.C (scanLog): call showErrorList instead of inserterrors
7391 2003-05-13 André Pönitz <poenitz@gmx.net>
7393 * BufferView_pimpl.C:
7395 * bufferview_func.C:
7402 * tabular_funcs.h: tostr() from its own header
7404 * ParagraphParameters.C:
7409 * text3.C: STRCONV()
7411 2003-05-12 André Pönitz <poenitz@gmx.net>
7414 * BufferView_pimpl.C:
7418 * ParagraphParameters.C:
7422 * bufferview_funcs.C:
7435 * paragraph_funcs.C:
7439 * text3.C: boost::format -> bformat all over the place
7442 2003-05-09 André Pönitz <poenitz@gmx.net>
7444 * LColor.[Ch]: Pimpl the #include <map> away
7446 2003-05-09 John Levon <levon@movementarian.org>
7448 * bufferlist.C: never remove emergency saves
7450 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7452 * Makefile.am: better lib building
7454 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7456 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7458 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7459 (simpleTeXSpecialChars): adjust
7460 (simpleTeXSpecialChars): adjust
7461 * paragraph.C (simpleTeXOnePar): adjust
7462 * buffer.C (makeLaTeXFile): adjust
7464 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7466 * text2.C (changeDepth): parlist cleanup
7467 (getColumnNearX): ditto
7469 * rowpainter.C (getLabelFont): parlist cleanup
7471 * bufferlist.C (newFile): parlist cleanup
7473 * CutAndPaste.C (eraseSelection): parlist cleanup
7475 * BufferView_pimpl.C (trackChanges): parlist cleanup
7478 * BufferView.C (lockInset): parlist cleanup.
7479 (ChangeInsets): ditto
7481 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7483 * CutAndPaste.h: Update file header.
7485 * CutAndPaste.C: Update file header.
7486 Store the parts cut out of the Document in a limited_stack.
7487 (copySelection): adjust
7488 (pasteSelection): new function, takes the index in the limited stack.
7489 (nrOfParagraphs): adjust
7490 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7491 simplify error inset insertion.
7492 (checkPastePossible): adjust
7494 2003-05-06 John Levon <levon@movementarian.org>
7496 * text2.C: don't cast wrap inset to float
7498 2003-05-05 André Pönitz <poenitz@gmx.net>
7501 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7503 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7504 few naked Paragraph *.
7506 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7508 * bufferparams.C: Output warning if a document with missing
7509 TeX document class is loaded
7510 * exporter.C: Disable TeX exports if the document class is missing
7513 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7514 isTeXClassAvailable()
7516 2003-05-03 John Levon <levon@movementarian.org>
7519 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7520 explicit cursor show/hide
7522 * BufferView_pimpl.h:
7523 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7524 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7526 * lyxfunc.C: hide cursor before dispatching.
7531 * text3.C: remove explicit cursor hides
7533 2003-05-02 André Pönitz <poenitz@gmx.net>
7535 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7538 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7541 * text2.C: tiny whitespace
7543 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7545 * undo_funcs.C: almost only ws changes.
7547 * ParagraphList.C (splice): just return if pl is empty.
7549 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7551 * ParagraphList.C (splice): new function.
7553 * CutAndPaste.C (pasteSelection): use it
7555 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7557 * CutAndPaste.C (pasteSelection): remove the last next and
7558 previous from this file.
7560 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7562 * CutAndPaste.C (pasteSelection): more clean up, user proper
7563 ParagraphList functions for pasteing.
7565 * ParagraphList.C (insert): new function, three arg insert
7567 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7569 * ParagraphList.C (insert): new function, three arg insert
7571 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7574 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7576 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7578 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7580 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7582 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7584 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7585 (copySelection): clean up a bit.
7586 (pasteSelection): use make_pair
7588 * ParagraphList.C (ParagraphList): implement copy constructor
7589 (operator=): implement, base on copy constructor.
7592 * paragraph.C (erase): return a bool
7594 * paragraph_pimpl.C (erasePos): remove function, move contents...
7595 (erase): ... here. Return a bool.
7596 (erase): call erase instead of erasePos.
7598 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7600 * ParagraphList.h: define PitPosPair
7601 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7602 ParagraphList, fix a bug on pasting multiple pars
7603 * text2.C: change interface to C&P
7605 2003-04-30 André Pönitz <poenitz@gmx.net>
7607 * undo_func.C: revert part of yesterday's patch 2
7609 2003-04-30 John Levon <levon@movementarian.org>
7611 * LColor.C: s/tabular/table/
7613 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7615 * text3.C (dispatch): do not convert iterator -> pointer
7616 * undo_funcs.C (setCursorParUndo): ditto
7617 * text_funcs.C (transposeChars): ditto
7619 * text2.C (setLayout): ws changes only
7621 * text.C (breakParagraph): do not convert iterator -> pointer
7623 (acceptChange): ditto
7624 (rejectChange): ditto
7629 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7632 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7634 * text3.C (gotoInset): YABG (yet another bad getChar)
7636 2003-04-29 André Pönitz <poenitz@gmx.net>
7638 * paragraph.h: make operator= private unimplemented as long as
7641 * ParagraphList.C: whitespace
7644 * paragraph_pimpl.[Ch]:
7645 * paragraph_funcs.C:
7647 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7650 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7652 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7654 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7655 * paragraph.[Ch] (erase):
7656 * paragraph_pimpl.[Ch] (erase): change return type and value
7657 * text2.C (cutSelection): some rework
7659 2003-04-28 John Levon <levon@movementarian.org>
7661 * bufferlist.C: changes for unsaved changes dialog
7663 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7665 * bufferlist.C (newFile): set language (messages_) for new
7668 * buffer.C (readFile): ws changes only.
7670 2003-04-28 André Pönitz <poenitz@gmx.net>
7675 * BufferView_pimpl.C:
7676 * BufferView.C: getParFromID related ParagraphList::iterator changes
7678 2003-04-28 André Pönitz <poenitz@gmx.net>
7680 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7683 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7685 * messages.C: remove one more localedir class variable.
7687 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7689 * messages.C (getLocaleDir): singleton generation function
7691 (Messages): add a default constructor.
7693 * main.C (main): do not setup localedir here, do not call
7696 * gettext.C (_): use it.
7697 (gettext_init): delete funciton
7699 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7701 * gettext.C (getLyXMessages): new singleton generating function.
7703 * buffer.C (updateDocLang): adjust
7705 * Makefile.am (messages.o): add target
7706 (main.o): remove target
7708 2003-04-27 John Levon <levon@movementarian.org>
7713 * lyxvc.C: specify cancel button in Alert::prompt
7715 2003-04-26 John Levon <levon@movementarian.org>
7720 * LyXAction.C: add LFUN_INSET_SETTINGS
7722 * lyxfunc.C: don't enable tabular-feature when there's
7723 just any locking inset
7725 2003-04-26 John Levon <levon@movementarian.org>
7727 * bufferlist.C: re-add Cancel to buffer close question
7729 * lyxfunc.C: fix import UI a bit
7731 2003-04-25 John Levon <levon@movementarian.org>
7733 * gettext.C: remove the broken asserts for now
7735 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7737 * messages.C: make case where setlocale cannot comply work better.
7739 * buffer.C (updateDocLang): new function
7740 (changeLanguage): use it
7743 * text2.C (setCounter): use B_ a bit.
7745 * lyxlayout.C (Read): be sure to trim the label strings.
7747 * messages.C (Messages): fix typo in comment
7749 * buffer.C (readFile): set message_ after file is loaded.
7750 (makeDocBookFile): remove double return
7751 (changeLanguage): reset message_ upon language change.
7752 (B_): new func, use this to get translated buffer strings.
7754 * main.C: add myself and Jean Marc as authors.
7756 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7758 * messages.[hC]: pimplify Messages, and three different pimpls to be
7759 used in different circumstances.
7761 * gettext.[Ch]: change for use with new message code.
7763 2003-04-24 André Pönitz <poenitz@gmx.net>
7765 * factory.C: support for eqref
7767 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7769 * messages.[Ch]: add missing char
7771 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7773 * messages.[Ch]: New files
7775 2003-04-18 John Levon <levon@movementarian.org>
7779 * BufferView_pimpl.C:
7783 * text2.C: remove layout-copy/paste (bug 778)
7785 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7787 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7789 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7791 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7792 if they succeed. Act accordingly.
7794 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7796 * text2.C (setCharFont): adjust
7797 (setCounter): adjust
7798 (insertStringAsLines): adjust
7800 * text.C (leftMargin): adjust
7801 (setHeightOfRow): adjust
7803 * rowpainter.C (paintFirst): adjust
7806 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7808 (isFirstInSequence): ditto
7809 (getEndLabel): ditto
7812 * paragraph.C (getParLanguage): comment out some hard stuff.
7814 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7816 (simpleDocBookOnePar): ditto
7817 (makeDocBookFile): use ParagraphList::iterator
7819 * CutAndPaste.C (pasteSelection): adjust
7821 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7823 * text2.C (getFont): adjust
7824 (getLayoutFont): adjust
7825 (getLabelFont): adjust
7827 * paragraph_funcs.C (TeXOnePar): adjust
7829 * buffer.C (simpleLinuxDocOnePar): adjust
7830 (simpleDocBookOnePar): adjust
7832 * CutAndPaste.C (pasteSelection): adjust
7834 * BufferView.C (getEncoding): adjust
7836 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7838 2003-04-16 John Levon <levon@movementarian.org>
7840 * lyxfind.C: use parlist stuff for search/changes
7842 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7844 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7846 * text2.C (deleteEmptyParagraphMechanism): adjust
7848 * text2.[Ch] (ownerParagraph): delete func (both of them
7850 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7852 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7854 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7856 * ParagraphList.C: prepare for NO_NEXT
7858 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7860 * text2.C (getFont): adjust
7861 (getLayoutFont): adjust
7862 (getLabelFont): adjust
7864 * paragraph.C (getFont): adjust
7865 (getLabelFont): adjust
7866 (getLayoutFont): adjust
7868 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7870 2003-04-15 John Levon <levon@movementarian.org>
7874 * lyx_main.C: handle Include in .ui files
7876 2003-04-15 John Levon <levon@movementarian.org>
7878 * MenuBackend.C: make the doc files length shorter
7881 * ToolbarBackend.C: handle toolbar placement flags,
7884 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7886 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7889 * paragraph_funcs.C (TeXOnePar): adjust
7891 * paragraph.C (getLabelFont): add outerfont arg, adjust
7892 (getLayoutFont): ditto
7893 (simpleTeXOnePar): adjust
7895 * paragraph_pimpl.C (realizeFont): delete func
7897 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7899 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7900 row argument, constify cur argument.
7902 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7904 * text2.C (getFont): adjust
7905 (getLayoutFont): adjust
7906 (getLabelFont): adjust
7908 * paragraph_funcs.C (TeXOnePar): adjust
7909 (outerFont): new func...
7910 (realizeFont): ...moved out from here, changed this to facilitate
7913 * paragraph.C (getFont): take outerfont as arg, adjust
7914 (simpleTeXOnePar): add outerfont arg, adjust
7916 * buffer.C (simpleLinuxDocOnePar): adjust
7917 (simpleDocBookOnePar): adjust
7919 * CutAndPaste.C (pasteSelection): adjust
7921 * BufferView.C (getEncoding): adjust
7923 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7925 * text2.C (setCharFont): adjust
7926 (setCounter): adjust
7928 * text.C (leftMargin): adjust
7929 (setHeightOfRow): adjust
7931 * rowpainter.C (paintFirst): adjust
7934 * paragraph_pimpl.C (realizeFont): adjust
7936 * paragraph.C (isFirstInSequence): move from here...
7937 * paragraph_funcs.C (isFirstInSequence): ...to here
7939 * paragraph.C (outerHook): move from here...
7940 * paragraph_funcs.C (outerHook): ...to here
7942 * paragraph.C (depthHook): move from here...
7943 * paragraph_funcs.C (depthHook): ...to here
7945 * paragraph.C (getEndLabel): move from here...
7946 * paragraph_funcs.C (getEndLabel): ...to here
7948 * text2.C (realizeFont): move from here...
7949 * paragraph_funcs.C (realizeFont): ...to here
7951 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7953 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7955 2003-04-14 Angus Leeming <leeming@lyx.org>
7957 * LColor.[Ch]: scrap LColor mathcursor.
7959 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7961 * lyxlex.[Ch] (text): delete function
7962 * trans.C (Load): adjust
7963 * paragraph_funcs.C (readParToken): adjust
7965 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7967 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7968 vector<char> instead of a char[].
7970 * lyxlex_pimpl.C (getString): adjust
7972 (lex): use getString
7976 * lyxlex.C (text): use pimpl_->getString()
7980 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7982 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7983 (makeFontEntriesLayoutSpecific): temp var for par.size()
7984 (setLayout): temp var for ownerParagraphs().end()
7985 (fullRebreak): temp var for rows().end()
7986 (selectionAsString): temp var for boost::next(startpit), realize
7987 that the while really is a regular for loop.
7988 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7989 setCursor in one place.
7990 (setParagraph): temp vr for ownerParagraphs().end()
7991 (updateCounters): make the while loop a for loop
7992 (cutSelection): temp var for ownerParagraphs().end()
7993 (updateInset): make the do {} while() a regular for loop
7994 (getCursorX): use temp vars
7995 (setCurrentFont): use temp vars
7996 (getColumnNearX): use temp vars
7998 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8000 * text.C (transformChar): use temp var for getChar
8001 (computeBidiTables): use temp var for row->par()
8002 (fill): move temp vars for row->par() and pit->layout() earlier in
8004 (labelFill): use temp var for row->par()
8005 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8006 asc and desc, realize that pit never changes and that firstpit is
8007 just a duplicate and not needed. Exchange rit->par() with pit in a
8009 (breakAgain): use a temp var for boost::next(rit)
8010 (breakAgainOneRow): ditto
8011 (breakParagraph): use a temp var for rows().begin()
8012 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8013 (cursorRightOneWord): use temp var for cursor.par() and
8014 cursor.pos(), remove usage of tmpcursor.
8015 (cursorLeftOneWord): use temp var for cursor.par() and
8016 cursor.pos() only set cur at end of function.
8018 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8020 * text.C, text2.C: exchange all usage of Paragraph::next with
8021 boost::next(ParagraphList::iterator)
8023 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8025 * text2.C (cursorTop): simplify implementation
8026 (cursorBottom): ditto
8027 (setParagraph): use ParagraphList::iterator
8028 (setCurrentFont): adjust
8029 (getColumnNearX): adjust
8030 (cursorRight): adjust
8031 (cursorLeft): remove usage of Paragraph::previous
8032 (cursorUpParagraph): ditto
8033 (deleteEmptyParagraphMechanism): slight cleanup
8035 * text.C (isBoundary): take a Paragraph const & instead of a
8037 (addressBreakPoint): ditto
8038 (leftMargin): remove usage of Paragraph::previous.
8039 (setHeightOfRow): ditto
8040 (cursorLeftOneWord): ditto
8041 (selectNextWordToSpellcheck): ditto
8044 (breakParagraph): remove one usage of Paragraph::next
8045 (redoParagraph): ditto
8046 (acceptChange): ditto
8047 (insertChar): adjust
8048 (rowBreakPoint): adjust
8050 * bufferview_funcs.C (toggleAndShow): adjust
8052 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8054 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8055 methods to access it.
8057 * text.C: Added updateRowPositions to compute all row positions.
8058 Make top_y and getRowNearY() to use the cached y position
8060 2003-04-11 John Levon <levon@movementarian.org>
8062 * text.C (rowBreakPoint): reintroduce the labelEnd
8063 checks, code copied from the row fill stuff. Deep voodoo.
8065 * text.C (fill): add a comment and debugging for the
8068 2003-04-11 John Levon <levon@movementarian.org>
8070 * text.C: make sure fullrow insets get wrapped to the next line,
8071 even when they're in a manual label
8073 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8075 * text2.C (insertParagraph): make it take ParagraphList::iterator
8077 (setLayout): make it return ParagraphList::iterator
8078 (redoParagraphs): ditto
8080 (checkParagraph): ditto
8082 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8084 * text2.C: adjust several funcs.
8085 (realizeFont): take a ParagraphList::iterator as arg.
8086 (getLayoutFont): ditto
8087 (getLabelFont): ditto
8088 (setCharFont): ditto
8090 * text.C: adjust several funcs.
8092 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8094 * text.C (selectNextWordToSpellcheck): don't accidentally
8097 2003-04-10 John Levon <levon@movementarian.org>
8099 * ToolbarBackend.C (getIcon): special handling for
8102 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8104 * text2.C (cursorRight): a getChar assert fixed
8106 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8108 * text2.C (getFont): change to take a ParagraphList::iterator
8109 instead of Paragraph*
8110 Adjust several functions.
8112 * text.C (transformChar): change to take a ParagraphList::iterator
8113 instead of Paragraph*
8114 (singleWidth): ditto
8115 Adjust several functions.
8117 * rowpainter.C: adjust several functions
8118 * rowpainter.h:store a ParagraphList::iterator and not a
8122 2003-04-09 John Levon <levon@movementarian.org>
8127 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8128 and the "help" bits as well
8130 2003-04-09 John Levon <levon@movementarian.org>
8133 * ToolbarBackend.C: allow multiple toolbars
8135 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8137 * undo_funcs.C (setCursorParUndo): adjust
8139 * text_funcs.C (transposeChars): adjust
8141 * text3.C (gotoNextInset): adjust
8144 * text2.C (setLayout): adjust
8145 (changeDepth): adjust
8147 (redoParagraphs): adjust
8148 (selectionAsString): adjust
8149 (setParagraph): adjust
8150 (insertInset): adjust
8151 (cutSelection): adjust
8152 (copySelection): adjust
8153 (pasteSelection): adjust
8154 (insertStringAsLines): adjust
8155 (updateInset): adjust
8156 (setCursor): change to take a ParagraphList::iterator parameter
8157 (setCursorIntern): change to take a ParagraphList::iterator parameter
8158 (setCurrentFont): adjust
8159 (cursorLeft): adjust
8160 (cursorRight): adjust
8161 (deleteEmptyParagraphMechanism): adjust
8163 * text.C (breakParagraph): adjust
8164 (insertChar): adjust
8165 (acceptChange): adjust
8166 (rejectChange): adjust
8167 (selectNextWordToSpellcheck): adjust
8168 (changeCase): adjust
8172 * lyxfind.C (SearchForward): adjust
8173 (SearchBackward): adjust
8174 (nextChange): adjust
8176 * lyxcursor.C (par): adjust
8178 * lyxcursor.h: store a ParagraphList::iterator instead of a
8181 * lyx_cb.C (getPossibleLabel): adjust
8183 * bufferview_funcs.C (toggleAndShow): adjust
8185 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8188 * BufferView.C (removeAutoInsets): adjust
8189 (lockedInsetStoreUndo): adjust
8191 2003-04-09 John Levon <levon@movementarian.org>
8193 * ToolbarBackend.C: try icon without argument
8194 if with argument fails
8196 2003-04-08 John Levon <levon@movementarian.org>
8199 * ToolbarBackend.C: add getIcon(), handle tooltip,
8200 and change from "Icon" to "Item".
8202 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8204 * BufferView.C (lockInset): another bad getchar crunched
8206 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8208 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8211 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8213 * lyxfind.C (searchForward, searchBackwards): bug 782
8215 2003-04-07 John Levon <levon@movementarian.org>
8217 * paragraph.C: remove dead comment
8219 * text.C: remove troublesome depth-fiddling code
8220 in leftMargin() and rightMargin() (bug 1017)
8222 * text.C: fix breaking of rows in nested lists
8225 * text2.C (updateCounters): fix up depth values
8228 2003-04-07 John Levon <levon@movementarian.org>
8230 * BufferView_pimpl.C: clear message when doc finishes resizing,
8231 and after a mouse event
8233 * lyxfunc.C: clear message after exiting inset
8235 2003-04-07 John Levon <levon@movementarian.org>
8237 * bufferview_funcs.C: show math status not outside
8238 status in the statusbar
8240 2003-04-07 John Levon <levon@movementarian.org>
8242 * lyxfunc.C: note status changed after a depth change
8244 2003-04-04 Angus Leeming <leeming@lyx.org>
8246 * LaTeX.h: move AuxInfo operator==, != out of line.
8247 Remove LaTeX virtual destructor; nothing derives from it.
8248 Move operator()() out of public area and rename it startscript().
8249 Change protected for private.
8251 2003-04-04 Angus Leeming <leeming@lyx.org>
8254 * text2.C: remove unneeded #includes.
8256 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8258 * text2.C (dEPM): fix the heigth of the next row
8260 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8262 * text.C: squashed an invalid getChar requester + some ws changes
8264 2003-04-03 John Levon <levon@movementarian.org>
8266 * bufferview_funcs.h:
8267 * bufferview_funcs.C:
8270 * text2.C: make getStatus work for the env depth lfuns
8272 2003-04-03 John Levon <levon@movementarian.org>
8274 * bufferview_funcs.h:
8275 * bufferview_funcs.C:
8278 * text2.C: parlistize decDepth(), by merging it with incDepth()
8280 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8282 * lyxrow.h: store a ParagraphList::iterator instead of a
8283 Paragraph* and adjust other class functions to suit.
8285 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8288 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8290 * text2.C (setCursor): do not anchor to cursor row for the time being
8292 2003-04-02 John Levon <levon@movementarian.org>
8299 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8301 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8303 * paragraph.h: make ParagraphList and ParagraphList::iterator
8304 friends of Paragraph.
8306 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8308 * ParagraphList.C: Use the private next_ and previous_ from
8311 2003-04-01 John Levon <levon@movementarian.org>
8315 * Makefile.am: rename, remove defaults gunk
8318 * MenuBackend.C: remove defaults gunk
8321 * Languages.C: remove defaults gunk
8324 * lyx_main.C: error out if files couldn't be found.
8326 2003-04-02 John Levon <levon@movementarian.org>
8328 * text2.C: make incDepth() use parlist
8330 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8332 * undo_funcs.C (firstUndoParagraph): adjust
8334 * text3.C (gotoInset): adjust
8335 (dispatch): adjust, and rewrite loop.
8337 * text2.C (init): adjust, and rewrite loop.
8338 (redoParagraphs): adjust
8339 (updateInset): adjust, and rewrite loop.
8340 (deleteEmptyParagraphMechanism): adjust
8342 * tabular.C (LyXTabular): adjust
8343 (SetMultiColumn): adjust
8346 * lyxtext.[Ch] (ownerParagraph): delete function
8347 (ownerParagraphs): new function returns a ParagraphList.
8349 * BufferView.C (removeAutoInsets): adjust
8350 (insertErrors): adjust
8351 (setCursorFromRow): adjust
8353 2003-04-01 Angus Leeming <leeming@lyx.org>
8355 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8358 2003-04-02 John Levon <levon@movementarian.org>
8364 * text_funcs.C: make transposeChars a free function
8366 * lyxrow_funcs.C: remove wrong comment
8368 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8371 * rowpainter.C: adjust
8376 * lyxrow_funcs. [Ch]: new files
8378 * lyxrow.[Ch]: remove next and previous pointers
8379 (next,previous): remove accessor functions
8380 (isParEnd): move to lyxrow_funcs
8381 (lastPos): move to lyxrow_funcs
8382 (nextRowIsAllInset): move to lyxrow_funcs
8383 (lastPrintablePos): move to lyxrow_funcs
8384 (numberOfSeparators): move to lyxrow_funcs
8385 (numberOfHfills): move to lyxrow_funcs
8386 (numberOfLabelHfills): move to lyxrow_funcs
8387 (hfillExpansion): move to lyxrow_funcs
8391 * bufferview_funcs.C (toggleAndShow): adjust
8393 * RowList.h: Remove class RowList from file leave just a
8396 * RowList.C: delete file
8398 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8401 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8403 * text3.C (cursorPrevious): adjust
8404 (cursorNext): adjust
8407 * text2.C (redoHeightOfParagraph): adjust
8408 (redoDrawingOfParagraph): adjust
8411 * text.C (breakParagraph): adjust
8412 (insertChar): adjust
8415 * rowpainter.C (RowPainter): adjust
8416 (leftMargin): simplify and adjust
8417 (most rowpainter functions): adjust.
8419 * rowpainter.h: store the row as RowList::iterator not as Row*
8421 * lyxcursor.C (row): taka RowList::iterator as arg
8424 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8427 2003-04-01 Angus Leeming <leeming@lyx.org>
8429 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8430 stuff like bool Bool.
8432 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8434 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8437 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8439 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8442 * lyxtext.h (rows): drop one version and leve a const variant that
8443 returns a RowList::iterator.
8445 2003-03-31 Angus Leeming <leeming@lyx.org>
8447 * text.C (fill): ensure that the signature is the same as that in the
8450 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8452 * text2.C (redoParagraphs): adjust
8453 (updateCounters): adjust
8454 (checkParagraph): adjust
8455 (getColumnNearX): adjust and reformat a bit.
8457 * text.C (top_y): adjust
8459 (leftMargin): adjust
8460 (prepareToPrint): adjust
8462 (getRowNearY): adjust
8464 * lyxtext.h: make rowlist_ mutable.
8466 * RowList.h: add const_iterator
8467 * RowList.C: adjust for RowList::const_iterator.
8469 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8472 2003-03-31 John Levon <levon@movementarian.org>
8475 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8477 * lyx_main.C: set default fonts from using lyx_gui funcs
8479 * exporter.C: pdf_mode moved from lyxrc
8482 * lyxfunc.C: changes from above
8484 2003-03-31 John Levon <levon@movementarian.org>
8486 * lyx_main.C: fix to the last fix
8488 2003-03-31 John Levon <levon@movementarian.org>
8490 * bufferlist.C: "Load original" -> "Load Original"
8496 * format.C: more Alert cleanups
8498 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8500 * text2.C (removeParagraph): make it take a RowList::iterator as
8502 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8503 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8505 * text.C (anchor_row): make it take a RowList::iterator as arg,
8507 (computeBidiTables): make it take a const reference to Row instead
8508 of Row pointer, adjust.
8509 (leftMargin): make it take a RowList::iterator as arg, adjust.
8510 (rowBreakPoint): adjust
8511 (breakAgainOneRow): make it take a RowList::iterator as arg,
8513 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8515 * bufferview_funcs.C (toggleAndShow): adjust
8517 2003-03-30 John Levon <levon@movementarian.org>
8521 * boost-inst.C: moved to support
8523 * several files: changes as a result
8525 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8527 * text2.C (LyXText): adjust.
8529 (removeRow): make it take a RowList::iterator as arg, adjust.
8530 (fullRebreak): adjust
8531 (deleteEmptyParagraphMechanism): adjust
8532 (clearPaint): adjust
8535 * text.C (top_y): adjust
8536 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8537 (breakAgain): make it take a RowList::iterator as arg, adjust.
8538 (breakParagraph): adjust
8539 (insertChar): adjust
8542 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8543 need_break_row, and refresh_row.
8545 * text3.C (dispatch): adjust
8547 * text2.C (checkParagraph): adjust
8549 (setCursorFromCoordinates): adjust
8551 * text.C (top_y): adjust
8553 (getRow): make it return a RowList::iterator, adjust
8554 (getRowNearY): make it return a RowList::iterator, adjust
8556 * text2.C (init): adjust
8557 (insertRow): remove function
8558 (insertParagraph): adjust
8559 (redoParagraphs): adjust
8560 (fullRebreak): adjust
8561 (updateCounters): adjust
8563 * text.C (top_y): rewrite to use RowList iterators.
8565 (setHeightOfRow): rewrite to sue RowList iterators.
8566 (appendParagraph): adjust
8567 (breakAgain): adjust
8568 (breakAgainOneRow): adjust
8569 (breakParagraph): adjust
8571 (getRowNearY): adjust, and remove commented code.
8573 * lyxtext.h (firstRow): delete function
8574 (lastRow): delete function
8575 (rows): new function (const and non-const versions.)
8576 (insertRow): delete function
8578 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8580 2003-03-29 John Levon <levon@movementarian.org>
8582 * BufferView_pimpl.C: always update scrollbar top
8583 because pasting text when we're anchored could mean we
8584 miss an update altogether
8586 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8588 * text2.C (init): use rowlist_.end() and not 0.
8589 (insertRow): change to take a RowList::iterator as arg, adjust
8591 (insertParagraph): change to take a RowList::iterator as arg,
8593 (redoParagraphs): remove some debug msgs.
8595 * text.C (appendParagraph): change to take a RowList::iterator
8596 arg, adjust for this.
8597 (breakAgain): add an assert
8598 (breakAgainOneRow): ditto
8600 2003-03-29 John Levon <levon@movementarian.org>
8602 * text2.C: do not clear selection after inc/decDepth
8605 2003-03-29 John Levon <levon@movementarian.org>
8608 * buffer.C: fix broken strerrors according to Lars
8610 2003-03-29 John Levon <levon@movementarian.org>
8612 * converters.C: more Alert cleanups
8614 2003-03-29 John Levon <levon@movementarian.org>
8616 * bufferview_funcs.C: remove pointless Alert
8618 * buffer.C: fix confusing error message when
8619 a template is chmoded 000
8621 2003-03-29 John Levon <levon@movementarian.org>
8625 * BufferView_pimpl.C: Alert fixes
8629 * tabular-old.C: remove unused table compat reading
8631 2003-03-29 John Levon <levon@movementarian.org>
8636 * lyx_cb.C: more Alert cleanups
8638 * lyxfunc.C: don't allow chktex if not latex document
8640 2003-03-29 John Levon <levon@movementarian.org>
8644 * buffer.C: warnings pushed down from support/,
8647 2003-03-29 John Levon <levon@movementarian.org>
8649 * lyxfunc.C: safety check for C-r (revert)
8651 2003-03-29 John Levon <levon@movementarian.org>
8654 * bufferlist.C: several UI fixes using Alert::prompt.
8655 Fix the pointless looping quit code. Fix stupid revert
8660 * lyx_cb.C: use Alert::prompt
8662 * lyx_main.C: remove a silly question
8664 * lyxfunc.C: remove a couple of silly questions,
8667 2003-03-28 John Levon <levon@movementarian.org>
8669 * text2.C: fix bug 974 (End on empty par)
8671 2003-03-28 John Levon <levon@movementarian.org>
8673 * BufferView_pimpl.C:
8675 * lfuns.h: remove do-nothing math greek lfuns
8677 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8679 * lyxgluelength.h (isValidGlueLength): add default arg on
8680 parameter 2. Remove default arg from friend in class.
8682 * lyxlength.h (isValidLength): add default arg on parameter 2.
8683 Remove default arg from friend in class.
8685 * text2.C (LyXText): adjust, initialize refresh_row.
8689 (insertParagraph): adjst
8690 (redoParagraphs): adjust
8691 (fullRebreak): adjust
8692 (updateCounters): adjust
8693 (deleteEmptyParagraphMechanism): first attempt at fixing a
8696 * text.C (top_y): adjust
8697 (setHeightOfRow): adjust
8699 (getRowNearY): adjust
8701 * lyxtext.h: include RowList.h
8702 (~LyXText): not needed anymore, deleted.
8703 (firstRow): modify for RowList
8704 (lastRow): new function
8705 Delete firstrow and lastrow class variables, add a Rowlist
8706 rowlist_ class variable.
8708 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8711 * RowList.C (insert): fix case where it == begin().
8713 2003-03-26 Angus Leeming <leeming@lyx.org>
8715 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8716 the thesaurus dialog.
8718 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8720 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8722 * RowList.[Ch]: new files
8724 * ParagraphList.C (erase): handle the case where it == begin
8727 2003-03-25 John Levon <levon@movementarian.org>
8731 * aspell.C: add new aspell support
8734 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8737 2003-03-25 Angus Leeming <leeming@lyx.org>
8740 * LyXAction.C (init): new LFUN_INSET_INSERT.
8742 * BufferView_pimpl.C (dispatch): split out part of the
8743 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8745 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8748 2003-03-25 Angus Leeming <leeming@lyx.org>
8750 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8752 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8755 * text3.C: remove useless row->height(0)
8757 2003-03-25 John Levon <levon@movementarian.org>
8761 * text3.C: rename the refreshing stuff to better names
8763 2003-03-24 John Levon <levon@movementarian.org>
8765 * BufferView_pimpl.h:
8766 * BufferView_pimpl.C: update layout choice on a mouse
8769 2003-03-23 John Levon <levon@movementarian.org>
8771 * Makefile.am: fix commandtags.h reference
8773 2003-03-22 John Levon <levon@movementarian.org>
8775 * BufferView_pimpl.C:
8780 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8782 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8785 * text.C: take the rtl methods out of line
8787 2003-03-21 André Pönitz <poenitz@gmx.net>
8789 * metricsinfo.[Ch]: new files containing structures to be passed around
8790 during the two-phase-drawing...
8792 2003-03-21 André Pönitz <poenitz@gmx.net>
8794 * lyxtextclass.C: read 'environment' tag.
8796 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8798 * text2.C (removeRow): fix bug 964
8800 2003-03-20 John Levon <levon@movementarian.org>
8804 * text2.C: paint cleanups. Inset::update() dropped font
8807 2003-03-19 John Levon <levon@movementarian.org>
8809 * lyxfunc.C: only fitcursor/markDirty if available()
8811 2003-03-19 John Levon <levon@movementarian.org>
8813 * commandtags.h: rename to ...
8815 * lfuns.h: ... this, and renumber / cleanup
8817 2003-03-19 John Levon <levon@movementarian.org>
8819 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8820 fit the cursor after an lfun
8824 * BufferView_pimpl.h:
8825 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8827 * LyXAction.C: layout-character should have ReadOnly
8829 * ParagraphParameters.C:
8831 * bufferview_funcs.C:
8838 * undo_funcs.C: changes from above
8840 2003-03-18 John Levon <levon@movementarian.org>
8842 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8843 remove it from update()
8845 * lyxfunc.C: update layout choice after an lfun
8847 * text3.C: remove extra updateLayoutChoice()s
8849 2003-03-18 John Levon <levon@movementarian.org>
8851 * text.C: top_y change means full repaint, fix
8852 a drawing bug with cursor movement
8854 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8858 * text2.C: anchor row on setCursor
8860 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8862 * lyxtext.h: remove almost all mutable keywords
8865 * text3.C: remove const keywords accordingly
8867 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8869 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8871 (TeXEnvironment): ditto
8874 2003-03-17 John Levon <levon@movementarian.org>
8876 * text.C (rowBreakPoint): remove attempt to fix displayed
8877 math insets inside a manual label
8879 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8881 * lyxtext.h: remove BufferView* as first arg from almost all class
8883 * other files: adjust.
8885 2003-03-17 John Levon <levon@movementarian.org>
8889 * text2.C: more paint cleanups
8891 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8894 * rowpainter.C: remove "smart" background painting code
8896 2003-03-16 John Levon <levon@movementarian.org>
8901 * text3.C: add helper functions for setting refresh_row/y
8903 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8905 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8906 newline inset which *can* get inserted in the pass_thru layouts.
8907 This is primarily for literate documents.
8909 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8911 * buffer.C: increment LYX_FORMAT to 223
8913 2003-03-14 André Pönitz <poenitz@gmx.net>
8915 * textclass.h: prepare for environment handling, ws changes
8916 * lyxlayout.C: read latexheader and latexfooter tags
8918 2003-03-14 John Levon <levon@movementarian.org>
8920 * text2.C: rewrite ::status() a bit
8922 2003-03-13 John Levon <levon@movementarian.org>
8924 * lyxtext.h: add some docs
8926 2003-03-13 John Levon <levon@movementarian.org>
8931 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8933 2003-03-13 John Levon <levon@movementarian.org>
8935 * text3.C: fix appendix redrawing
8937 2003-03-13 John Levon <levon@movementarian.org>
8939 * text.C (setHeightOfRow):
8941 * rowpainter.C: make appendix mark have the text
8942 "Appendix" so the user knows what it is
8945 * LColor.C: s/appendixline/appendix/ from above
8947 2003-03-13 John Levon <levon@movementarian.org>
8949 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8951 * text.C: fix a getChar(pos) bug properly
8953 2003-03-13 Angus Leeming <leeming@lyx.org>
8956 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8957 Probably only temporary. Let's see how things pan out.
8959 * BufferView.C (unlockInset):
8960 * BufferView_pimpl.C (fitCursor):
8961 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8963 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8964 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8966 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8967 new functions that convert ParagraphParameters to and from a string.
8969 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8970 BufferView::Pimpl's dispatch.
8971 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8973 2003-03-13 André Pönitz <poenitz@gmx.net>
8977 * factory.C: make it aware of InsetEnv
8979 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8981 * text2.C (setCursor): never ask for one past last
8982 (setCursor): add some debugging messages.
8984 * text.C (singleWidth): never ask for one past last
8985 (singleWidth): ditto
8987 (rightMargin): ditto
8988 (rowBreakPoint): ditto
8989 (setHeightOfRow): ditto
8990 (prepareToPrint): ditto
8992 * rowpainter.C (paintBackground): never ask for one past last
8993 (paintText): never ask for one past last
8995 * paragraph_pimpl.C (getChar): make the assert stricter, never
8996 allow the one past last pos to be taken
8998 * paragraph.C (getChar): ws changes only
9000 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9001 (numberOfSeparators): ditto
9002 (numberOfHfills): ditto
9004 2003-03-12 John Levon <levon@movementarian.org>
9010 * paragraph_funcs.C: fix per-buffer authorlists
9012 2003-03-12 John Levon <levon@movementarian.org>
9014 * text.C: fix newline in right address
9016 2003-03-12 Angus Leeming <leeming@lyx.org>
9018 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9019 duplicate those in LyXFunc::dispatch.
9023 * ToolbarDefaults.C:
9024 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9025 Add LFUN_FONTFREE_UPDATE.
9027 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9028 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9030 * bufferview_func.[Ch]: several new functions to facilliate
9031 transfer of data to and from the character dialog.
9033 2003-03-12 John Levon <levon@movementarian.org>
9038 * paragraph_funcs.C:
9039 * paragraph_pimpl.C:
9043 * text3.C: remove META_NEWLINE in favour of an inset
9046 * rowpainter.C: remove paintNewline (done by inset)
9048 2003-03-12 John Levon <levon@movementarian.org>
9050 * paragraph_pimpl.C: complain about bad getChar()s
9051 for a while at least
9053 2003-03-12 John Levon <levon@movementarian.org>
9056 * buffer.C: move paragraph read into a separate function,
9057 a little renaming to reflect that.
9060 * bufferparams.C: remove the author_ids map, not necessary now
9063 * factory.C: moved Buffer::readInset to here
9065 * paragraph_funcs.h:
9066 * paragraph_funcs.C: readParagraph free function moved from
9069 * tabular.C: name change
9071 2003-03-12 John Levon <levon@movementarian.org>
9074 * ParagraphParameters.C: move par params input to
9077 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9078 behave like a normal read from the stream wrt reading
9079 a line vs. a \\token
9081 2003-03-12 John Levon <levon@movementarian.org>
9084 * ParagraphParameters.h:
9085 * ParagraphParameters.C: move output code to a
9088 2003-03-12 John Levon <levon@movementarian.org>
9090 * BufferView.C (insertLyXFile):
9093 * tabular.C: use a parlist iterator for creating the
9096 2003-03-12 John Levon <levon@movementarian.org>
9098 * buffer.C: make current_change static local not
9101 2003-03-12 John Levon <levon@movementarian.org>
9103 * buffer.C: fix insertStringAsLines for change tracking
9105 2003-03-12 John Levon <levon@movementarian.org>
9112 * bufferparams.C: move author list into params. Rename some
9113 functions. Move the header reading into a separate token
9114 loop. Move the header token reading into BufferParams.
9116 2003-03-12 John Levon <levon@movementarian.org>
9118 * changes.C: put debug inside lyxerr.debugging() checks
9120 2003-03-11 André Pönitz <poenitz@gmx.net>
9122 * factory.C: make it aware of InsetHFill
9124 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9126 * buffer.C (latexParagraphs): move function from here...
9127 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9130 2003-03-10 Angus Leeming <leeming@lyx.org>
9132 * LyXAction.C (init): fix bug in poplating array with multiple entries
9133 with the same LFUN (spotted by JMarc).
9135 2003-03-10 John Levon <levon@movementarian.org>
9138 * text2.C: move getColumnNearX() near its
9141 2003-03-10 John Levon <levon@movementarian.org>
9143 * text.C: fix break before a minipage
9145 2003-03-10 John Levon <levon@movementarian.org>
9147 * text.C: fix the last commit
9149 2003-03-09 John Levon <levon@movementarian.org>
9153 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9154 bug 365 (don't break before insets unless needed). Don't
9155 return a value > last under any circumstances.
9157 2003-03-09 Angus Leeming <leeming@lyx.org>
9159 * BufferView_pimpl.C (trackChanges, dispatch): call
9160 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9162 2003-03-09 Angus Leeming <leeming@lyx.org>
9164 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9165 than Dialogs::showAboutlyx().
9167 2003-03-09 Angus Leeming <leeming@lyx.org>
9169 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9170 than Dialogs::showTabularCreate().
9172 2003-03-09 John Levon <levon@movementarian.org>
9176 * text2.C: 3rd arg to nextBreakPoint was always the same.
9179 2003-03-08 John Levon <levon@movementarian.org>
9186 * text2.C: Remove the "main" bit from the "main body"
9189 2003-03-08 John Levon <levon@movementarian.org>
9191 * text.C (leftMargin): The left margin of an empty
9192 manual label paragraph should not include the label width
9195 * text.C (prepareToPrint): don't attempt to measure hfills
9196 for empty manual label paragraphs - the answer should be 0
9198 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9200 * CutAndPaste.C: remove commented code and reindent.
9202 2003-03-08 John Levon <levon@movementarian.org>
9205 * lyxfunc.C: move reloadBuffer()
9208 * BufferView.C: to here
9210 * lyxvc.C: add comment
9213 * vc-backend.C: call bv->reload() to avoid
9214 getStatus() check on MENURELOAD
9216 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9218 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9219 to an old format .dep file.
9221 2003-03-07 Angus Leeming <leeming@lyx.org>
9223 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9224 when the LFUN_MOUSE_RELEASE should have been handled by
9225 inset->localDispatch.
9227 2003-03-07 Angus Leeming <leeming@lyx.org>
9229 * BufferView_pimpl.C (dispatch):
9230 * LyXAction.C (init):
9231 * ToolbarDefaults.C (init):
9233 * lyxfunc.C (getStatus):
9234 remove LFUN_INSET_GRAPHICS.
9236 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9238 2003-03-07 Angus Leeming <leeming@lyx.org>
9241 * LyXAction.C (init):
9242 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9244 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9247 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9249 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9250 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9252 2003-03-07 Angus Leeming <leeming@lyx.org>
9254 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9257 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9259 * ParagraphList.C (front): new function
9262 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9264 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9265 and top_row_offset_. removed var first_y.
9267 * text2.C (LyXText, removeRow):
9269 * BufferView_pimpl.C:
9270 use these methods instead of using first_y
9272 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9274 * text2.C (pasteSelection): adjust for checkPastePossible
9276 * CutAndPaste.C: remove Paragraph * buf and replace with
9277 ParagraphList paragraphs.
9278 (DeleteBuffer): delete
9279 (cutSelection): change the tc type to textclass_type
9280 (copySelection): change the tc type to textclass_type
9281 (copySelection): adjust for ParagraphList
9282 (pasteSelection): change the tc type to textclass_type
9283 (pasteSelection): adjust for Paragraphlist
9284 (nrOfParagraphs): simplify for ParagraphList
9285 (checkPastePossible): simplify for ParagraphList
9286 (checkPastePossible): remove unused arg
9288 * ParagraphList.C (insert): handle the case where there are no
9291 * CutAndPaste.h: make CutAndPaste a namespace.
9293 * text3.C (dispatch): adjust
9295 * text.C (breakParagraph): add a ParagraphList as arg
9297 * paragraph_funcs.C (breakParagraph): change to take a
9298 BufferParams and a ParagraphList as args.
9299 (breakParagraphConservative): ditto
9300 (mergeParagraph): ditto
9301 (TeXDeeper): add a ParagraphList arg
9302 (TeXEnvironment): ditto
9305 * buffer.C (readLyXformat2): adjust
9306 (insertStringAsLines): adjust
9307 (latexParagraphs): adjust
9309 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9310 (cutSelection): adjust
9311 (pasteSelection): adjust
9313 * BufferView_pimpl.C (insertInset): adjust
9315 2003-03-05 Angus Leeming <leeming@lyx.org>
9318 * LyXAction.C (init):
9319 * BufferView_pimpl.C (dispatch):
9320 * lyxfunc.C (getStatus):
9321 remove LFUN_CHILD_INSERT.
9323 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9325 2003-03-05 Angus Leeming <leeming@lyx.org>
9328 * LyXAction.C (init):
9329 * src/factory.C (createInset):
9330 * lyxfunc.C (getStatus):
9331 * text3.C (dispatch):
9332 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9334 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9336 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9338 * ParagraphList.C (insert): handle insert right before end()
9339 (erase): fix cases where it can be first or last paragraph.
9341 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9343 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9344 Paragraph::next and Paragraph::previous
9347 * text.C (breakParagraph): adjust
9349 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9350 BufferParams& as arg.
9351 (breakParagraph): use ParagraphList::insert
9352 (breakParagraphConservative): take a Buffer* instead of a
9353 BufferParams& as arg.
9354 (breakParagraphConservative): use ParagraphList::insert.
9356 * buffer.C (insertStringAsLines): un-const it
9357 (insertStringAsLines): adjust
9359 * ParagraphList.C (insert): new function
9361 * CutAndPaste.C (pasteSelection): adjust
9363 * text.C (backspace): adjust
9365 * tabular.C (SetMultiColumn): adjust
9367 * CutAndPaste.C (cutSelection): adjust
9368 (pasteSelection): adjust
9370 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9371 Buffer const * as arg
9373 * ParagraphList.C (erase): new function
9374 * paragraph_funcs.C (mergeParagraph): use it
9375 (mergeParagraph): make it take a Buffer* instead of a
9376 BufferParams* as arg
9378 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9380 (breakParagraphConservative): ditto
9382 * paragraph.h: remove the breakParagraph friend
9384 * paragraph.C (eraseIntern): new function
9385 (setChange): new function
9387 * paragraph_funcs.C (mergeParagraph): make it take a
9388 ParagraphList::iterator instead of a Paragraph *, adjust
9391 * paragraph.h: move an #endif so that the change tracking stuff
9392 also works in the NO_NEXT case.
9394 2003-03-04 Angus Leeming <leeming@lyx.org>
9397 * LyXAction.C: new LFUN_INSET_MODIFY.
9399 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9400 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9402 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9404 * several files: ws changes only
9406 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9407 (TeXEnvironment): ditto
9410 * buffer.C (makeLaTeXFile): adjust
9411 (latexParagraphs): make it take ParagraphList::iterator as args
9413 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9415 * buffer.C (latexParagraphs): adjust
9417 * paragraph.C (TeXOnePar): move function...
9418 (optArgInset): move function...
9419 (TeXEnvironment): move function...
9420 * paragraph_pimpl.C (TeXDeeper): move function...
9421 * paragraph_funcs.C: ...here
9423 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9425 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9427 * buffer.C (readInset): remove compability code for old Figure and
9430 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9432 * buffer.C: ws changes
9435 * BufferView_pimpl.C: ditto
9438 * bufferlist.h: ditto
9442 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9444 * converter.[Ch]: split into itself +
9447 * Makefile.am: += graph.[Ch] + format.[Ch]
9454 * lyxrc.C: added #include "format.h"
9456 2003-02-27 Angus Leeming <leeming@lyx.org>
9458 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9461 * factory.C (createInset): add "label" to the factory.
9463 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9464 string and do no more.
9466 2003-02-27 Angus Leeming <leeming@lyx.org>
9469 * LyXAction.C (init):
9470 * factory.C (createInset):
9471 * BufferView_pimpl.C (dispatch):
9472 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9474 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9476 * lyxfunc.C (dispatch):
9477 * text3.C (dispatch): pass name to params2string.
9479 2003-02-26 Angus Leeming <leeming@lyx.org>
9481 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9483 Rearrange the ~includes. Strip out the unnecessary ones.
9485 * factory.C (createInset): reformat.
9486 create new insets for the various LFUN_XYZ_APPLY lfuns.
9488 2003-02-26 John Levon <levon@movementarian.org>
9491 * lyxrow.C: add isParStart,isParEnd helpers
9493 * paragraph.h: make isInserted/DeletedText take refs
9495 * paragraph_funcs.h:
9496 * paragraph_funcs.C: remove #if 0'd code
9501 * text.C: use lyxrow helpers above.
9502 Move draw and paint routines to RowPainter.
9503 Make several methods use refs not pointers.
9504 Make backgroundColor() const.
9505 Add markChangeInDraw(), isInInset().
9506 Merge changeRegionCase into changeCase.
9507 Make workWidth() shouldn't-happen code into an Assert.
9510 * rowpainter.C: new class for painting a row.
9513 * vspace.C: make inPixels take a ref
9515 2003-02-26 Angus Leeming <leeming@lyx.org>
9517 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9520 2003-02-25 John Levon <levon@movementarian.org>
9522 * ispell.C: give the forked command a more accurate name
9524 2003-02-22 John Levon <levon@movementarian.org>
9527 * toc.C: make TocItem store an id not a Paragraph *
9530 2003-02-21 Angus Leeming <leeming@lyx.org>
9532 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9533 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9534 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9535 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9536 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9537 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9539 * BufferView_pimpl.C (dispatch):
9540 * LyXAction.C (init):
9541 * factory.C (createInset):
9542 * lyxfunc.C (getStatus, dispatch):
9543 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9545 2003-02-21 Angus Leeming <leeming@lyx.org>
9547 * BufferView_pimpl.C (MenuInsertLyXFile):
9548 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9549 * lyxfunc.C (menuNew, open, doImport):
9550 no longer pass a LyXView & to fileDlg.
9552 2003-02-21 Angus Leeming <leeming@lyx.org>
9554 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9555 * LyXAction.C: change, BIBKEY to BIBITEM.
9556 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9557 Change InsetBibKey to InsetBibitem.
9558 Change BIBKEY_CODE to BIBITEM_CODE.
9559 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9560 * factory.C: replace insetbib.h with insetbibitem.h.
9561 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9562 * paragraph.C: replace insetbib.h with insetbibitem.h.
9563 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9564 Change bibkey() to bibitem().
9565 * text.C: remove insetbib.h.
9566 * text2.C: replace insetbib.h with insetbibitem.h.
9567 change bibkey() to bibitem().
9568 * text3.C: remove insetbib.h.
9569 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9571 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9573 * lyxrc.C (output): enclose user email in quotes (in case there are
9576 2003-02-18 John Levon <levon@movementarian.org>
9578 * buffer.h: add std::
9580 2003-02-17 John Levon <levon@movementarian.org>
9586 * pspell.C: reworking. Especially in ispell, a large
9587 number of clean ups and bug fixes.
9589 * lyxfunc.C: fix revert to behave sensibly
9591 2003-02-17 André Pönitz <poenitz@gmx.net>
9594 * commandtags.h: new LFUN_INSERT_BIBKEY
9604 * paragraph_func.C: remove special bibkey handling
9606 2003-02-17 John Levon <levon@movementarian.org>
9608 * text.C (Delete): fix case where delete at the end of
9609 the very first paragraph would not merge the pars
9611 2003-02-17 John Levon <levon@movementarian.org>
9613 * lyxrow.C: fix lastPrintablePos()
9615 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9617 * bufferparams.C (writeLaTeX): add a std:here
9619 * buffer.C: and remove a using directive there
9621 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9623 * buffer.C (makeLaTeXFile): move the code that generates the
9626 * bufferparams.C (writeLaTeX): ... in this new method
9628 * LaTeXFeatures.C (getEncodingSet): make const
9629 (getLanguages): make const
9631 * MenuBackend.C (binding): returns the binding associated to this
9633 (add): sets the status of each item by calling getStatus. Adds
9635 (read): add support for OptSubMenu
9636 (expand): remove extra separator at the end of expanded menu
9638 2003-02-15 John Levon <levon@movementarian.org>
9641 * BufferView_pimpl.C:
9643 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9644 inset code that had no actual effect. Remove unneeded status
9647 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9649 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9652 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9654 * text.C (drawLengthMarker): also draw an arrow marker for
9655 symbolic lengths (medskip...)
9657 2003-02-14 John Levon <levon@movementarian.org>
9660 * tabular.C: better method names
9662 2003-02-14 John Levon <levon@movementarian.org>
9664 * BufferView_pimpl.C:
9669 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9670 it's a more accurate name. Remove some pointless uses.
9672 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9674 * text2.C (LyXText): change order of initilizers to shut off
9677 2003-02-14 John Levon <levon@movementarian.org>
9679 * buffer.C: use ParIterator for getParFromID()
9683 * paragraph_pimpl.h:
9684 * paragraph_pimpl.C: remove unused getParFromID()
9686 2003-02-14 John Levon <levon@movementarian.org>
9688 * buffer.C: remove some very old #if 0'd parse code
9690 2003-02-13 John Levon <levon@movementarian.org>
9694 * text2.C: move hfillExpansion(), numberOfSeparators(),
9695 rowLast(), rowLastPrintable(), numberofHfills(),
9696 numberOfLabelHfills() ...
9699 * lyxrow.C: ... to member functions here.
9704 * text.C: remove LyXText::beginningOfMainBody(), and call
9705 p->beginningOfMainBody() directly. Move the check for
9706 LABEL_MANUAL into the latter.
9713 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9719 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9720 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9722 2003-02-13 John Levon <levon@movementarian.org>
9724 * CutAndPaste.C: remove debug
9726 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9728 * paragraph.C (asString): remove two unused variables
9730 * lyxtextclass.C (readTitleType):
9732 (LyXTextClass): handle new members titletype_ and titlename_
9734 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9736 2003-02-09 John Levon <levon@movementarian.org>
9739 * buffer.C: replace hand-coded list with a map for the dep clean
9741 2003-02-08 John Levon <levon@movementarian.org>
9743 * LaTeX.C: consolidate code into showRunMessage() helper
9745 2003-02-08 John Levon <levon@movementarian.org>
9750 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9751 and pass the size in explicitly
9753 * BufferView_pimpl.h:
9754 * BufferView_pimpl.C:
9756 * BufferView.C: add getCurrentChange()
9758 * BufferView_pimpl.h:
9759 * BufferView_pimpl.C: handle change lfuns
9761 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9762 for changes. Mark pasted paragraphs as new.
9764 * support/lyxtime.h:
9765 * support/lyxtime.C:
9766 * DepTable.C: abstract time_t as lyx::time_type
9769 * LColor.C: add colours for new text, deleted text, changebars
9771 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9772 package use "usenames" option.
9776 * LyXAction.C: add change lfuns
9780 * author.C: author handling
9783 * buffer.C: add a per-buffer author list, with first entry as
9784 current author. Handle new .lyx tokens for change tracking. Output
9785 author list to .lyx file. Output dvipost stuff to .tex preamble.
9786 Bump lyx format to 222.
9789 * bufferlist.C: add setCurrentAuthor() to reset current author details
9793 * bufferparams.C: add param for tracking
9795 * bufferview_funcs.C: output change info in minibuffer
9799 * changes.C: add change-tracking structure
9802 * debug.C: add CHANGES debug flag
9805 * lyxfind.C: add code for finding the next change piece
9808 * lyxrc.C: add user_name and user_email
9811 * lyxrow.C: add a metric for the top of the text line
9814 * text.C: implement accept/rejectChange()
9817 * text.C: paint changebars. Paint new/deleted text in the chosen
9818 colours. Strike through deleted text.
9822 * paragraph_pimpl.h:
9823 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9824 in the current change to the insert functions. Rework erase to
9825 mark text as deleted, adding an eraseIntern() and a range-based
9826 erase(). Implement per-paragraph change lookup and
9829 * paragraph_funcs.C: Fixup paste for change tracking.
9831 * tabular.C: mark added row/columns as new.
9833 * text.C: fix rowLast() to never return -1. Don't allow
9834 spellchecking of deleted text. Track transpose changes. Don't
9835 allow paragraph break or merge where appropriate.
9837 * text2.C: leave cursor at end of selection after a cut.
9839 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9841 * text.C (getLengthMarkerHeight):
9842 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9843 visible on screen too.
9845 2003-02-07 John Levon <levon@movementarian.org>
9847 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9849 2003-02-05 Angus Leeming <leeming@lyx.org>
9851 * lyxserver.C (read_ready): revert my patch of 11 September last year
9852 as it sends PC cpu through the roof. Presumably this means that
9853 the lyxserver will no longer run on an Alpha...
9855 2003-01-30 Angus Leeming <leeming@lyx.org>
9857 * factory.C (createInset): create an InsetCommandParam of type "index"
9858 and use it to 'do the right thing'.
9860 * text2.C (getStringToIndex): ensure that cursor position is always
9861 reset to the reset_cursor position.
9863 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9865 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9868 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9872 * lyxfunc.C: Output messages with identical spelling, punctuation,
9875 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9877 * MenuBackend.C (expandFormats): List only viewable export formats
9880 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9883 * lyxfunc.C (getStatus): Make sure that formats other than
9884 "fax" can also be disabled
9886 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9888 * text3.C (dispatch): put the lfuns that insert insets in 3
9889 groups, and call doInsertInset with appropriate arguments.
9890 (doInsertInset): new function, that creates an inset and inserts
9891 it according to some boolean parameters.
9893 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9895 * buffer.C (readFile): remember to pass on 'par' when calling
9896 readFile recursively.
9898 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9900 * MenuBackend.C (expandFormats): add "..." to import formats.
9902 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9904 * paragraph.C (asString): Remove XForms RTL hacks.
9906 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9907 * buffer.C: fix typo
9909 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9911 * Makefile.am (LIBS): delete var
9912 (lyx_LDADD): add @LIBS@ here instead.
9914 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9916 * Clarify the meaning of "wheel mouse jump"
9918 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9920 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9923 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9925 * importer.C (Loaders): do not preallocate 3 elements in the
9926 vector, since one ends up with 6 elements otherwise
9928 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9930 * DepTable.C (write): write the file name as last element of the
9931 .dep file (because it may contain spaces)
9932 (read): read info in the right order
9934 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9936 * paragraph_pimpl.C (simpleTeXBlanks):
9937 (simpleTeXSpecialChars):
9938 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9940 * tabular.C (latex): add some missing case statements. Reindent.
9942 * MenuBackend.C (expandToc): remove unused variable.
9944 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9953 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9956 2003-01-05 John Levon <levon@movementarian.org>
9959 * BufferView.C: add getEncoding()
9962 * kbsequence.C: do not store last keypress
9965 * lyxfunc.C: store last keypress here instead. Pass encoding
9968 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9970 * lyx_main.C (init): remove annoying error message when following
9971 symbolic links (bug #780)
9973 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9975 * text.C (insertChar):
9976 * lyxrc.C (getDescription): remove extra spaces
9978 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9980 * lyxrc.C (getDescription): remove extra spaces
9982 2002-12-20 John Levon <levon@movementarian.org>
9984 * text3.C: hack fix for page up/down across tall rows
9986 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9988 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9991 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9993 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9994 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9995 thesaurus is not compiled in
9997 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9999 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10001 2002-12-16 Angus Leeming <leeming@lyx.org>
10004 * lyx_main.C (init): remove override_x_deadkeys stuff.
10006 2002-12-12 John Levon <levon@movementarian.org>
10008 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10009 insert. Only remove shift modifier under strict
10012 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10014 * MenuBackend.C (expandToc): fix crash.
10016 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10018 * MenuBackend.C (expandToc): gettext on float names.
10020 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10022 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10023 implement bool empty() [bug 490]
10025 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10027 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10029 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10031 * several files: ws changes
10033 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10035 * text2.C (setCounter): clean up a bit, use boost.format.
10036 (updateCounters): initialize par upon declaration.
10038 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10039 if the layout exists. We do not just store the layout any more.
10040 (SwitchLayoutsBetweenClasses): use boost.format
10042 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10044 * converter.C (convert): if from and to files are the same, use a
10045 temporary files as intermediary
10047 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10050 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10052 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10054 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10056 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10058 * tabular.C (asciiPrintCell): use string(size, char) instead of
10061 * sgml.C (openTag): fix order of arguments to string constructor
10064 * lyxfunc.C (dispatch): use boost.format
10066 * lots of files: change "c" -> 'c'
10068 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10070 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10072 2002-11-25 Angus Leeming <leeming@lyx.org>
10074 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10076 * lyx_main.C (init): compile fix.
10078 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10080 * lyx_cb.C (start): boost.formatify
10081 do not include <iostream>
10083 * lengthcommon.C: ws only
10085 * boost-inst.C,BoostFormat.h: add more explict instantations
10087 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10089 * lots of files: handle USE_BOOST_FORMAT
10091 2002-11-21 John Levon <levon@movementarian.org>
10093 * pspell.C: fix compile
10095 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10097 * lyxfunc.C (dispatch): use boost::format
10101 * lyxfont.C (stateText): use boost::format
10103 * lyx_main.C (LyX): use boost::format
10105 (queryUserLyXDir): ditto
10106 (readRcFile): ditto
10108 (typedef boost::function): use the recommened syntax.
10110 * importer.C (Import): use boost::format
10112 * debug.C (showLevel): use boost::format
10114 * converter.C (view): use boost::format
10119 * bufferview_funcs.C (currentState): use boost::format
10121 * bufferlist.C (emergencyWrite): use boost::format
10123 * buffer.C (readLyXformat2): use boost::format
10124 (parseSingleLyXformat2Token): ditto
10126 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10128 * LaTeX.C (run): use boost::format
10130 * Chktex.C (scanLogFile): use boost::format
10132 * BufferView_pimpl.C (savePosition): use boost::format
10133 (restorePosition): ditto
10134 (MenuInsertLyXFile): ditto
10136 * BoostFormat.h: help file for explicit instation.
10138 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10140 * tabular.C (latex): Support for block alignment in fixed width
10143 2002-11-17 John Levon <levon@movementarian.org>
10145 * BufferView_pimpl.C:
10147 * lyxfunc.C: split filedialog into open/save
10149 2002-11-08 Juergen Vigna <jug@sad.it>
10151 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10152 by my last patch (hopefully).
10154 2002-11-08 John Levon <levon@movementarian.org>
10163 * toc.C: ParConstIterator, and use it (from Lars)
10165 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10167 * lyxtextclass.[Ch]: revise and add doxygen comments
10169 2002-11-07 John Levon <levon@movementarian.org>
10171 * text.C: fix progress value for spellchecker
10173 * toc.C: fix navigate menu for insetwrap inside minipage
10175 * paragraph_funcs.C: added FIXME for suspect code
10177 2002-11-07 John Levon <levon@movementarian.org>
10179 * BufferView_pimpl.C: fix redrawing of insets
10182 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10184 * text2.C (updateCounters): fix bug 668
10186 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10188 * text3.C (dispatch): Do not make the buffer dirty when moving the
10191 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10193 * vc-backend.C: STRCONV
10194 (scanMaster): ditto
10196 * text2.C (setCounter): STRCONV
10198 * paragraph.C (asString): STRCONV
10200 * lyxlength.C (asString): STRCONV
10201 (asLatexString): ditto
10203 * lyxgluelength.C (asString): STRCONV
10204 (asLatexString): ditto
10206 * lyxfunc.C (dispatch): STRCONV
10209 * lyxfont.C (stateText): STRCONV
10211 * importer.C (Import): STRCONV
10213 * counters.C (labelItem): STRCONV
10214 (numberLabel): ditto
10215 (numberLabel): remove unused ostringstream o
10220 * bufferview_funcs.C (currentState): STRCONV
10222 * buffer.C (readFile): STRCONV
10223 (asciiParagraph): ditto
10224 (makeLaTeXFile): ditto
10226 * Spacing.C (writeEnvirBegin): STRCONV
10228 * LaTeXFeatures.C (getLanguages): STRCONV
10229 (getPackages): ditto
10231 (getBabelOptions): ditto
10232 (getTClassPreamble): ditto
10233 (getLyXSGMLEntities): ditto
10234 (getIncludedFiles): ditto
10238 (scanAuxFile): ditto
10241 * LString.h: add the STRCONV macros
10243 * BufferView_pimpl.C (savePosition): STRCONV
10244 (restorePosition): ditto
10245 (MenuInsertLyXFile): ditto
10247 * vc-backend.C (scanMaster): change from submatch[...] to
10250 * funcrequest.C: include config.h
10252 * factory.C: include config.h
10254 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10256 * box.C: include config.h
10258 * LaTeX.C (scanAuxFile): change from submatch[...] to
10262 2002-10-25 Angus Leeming <leeming@lyx.org>
10264 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10266 * ispell.[Ch] (setError): new method.
10267 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10268 Use setError() insetead of goto END.
10270 * lyx_cb.C (AutoSave): move out child process into new class
10273 2002-10-30 John Levon <levon@movementarian.org>
10275 * text3.C: make start appendix undoable
10277 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10279 * lyxlength.C (inPixels): Fix returned value.
10281 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10284 2002-10-24 Angus Leeming <leeming@lyx.org>
10286 * lyxgluelength.h: no need to forward declare BufferParams
10287 or BufferView, so don't.
10289 2002-10-21 John Levon <levon@movementarian.org>
10291 * BufferView.C: menuUndo ->undo, redo
10293 * BufferView.h: document, remove dead, make some methods private
10295 * paragraph_funcs.h:
10296 * paragraph_funcs.C:
10297 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10302 * sgml.C: move sgml open/close tag into sgml.C
10304 * bufferview_funcs.h: unused prototype
10307 * lyxfunc.C: remove unused
10310 * text.C: remove unused
10312 2002-10-21 John Levon <levon@movementarian.org>
10316 * BufferView_pimpl.h:
10317 * BufferView_pimpl.C: fix mouse wheel handling based on
10318 patch from Darren Freeman
10320 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10322 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10324 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10326 * lyxlength.C (inPixels): Fix hanfling of negative length.
10327 Fix LyXLength::MU case.
10329 2002-10-16 John Levon <levon@movementarian.org>
10331 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10333 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10335 * converter.C (view): add support for $$i (file name) and $$p
10336 (file path) for the viewer command. If $$i is not specified, then
10337 it is appended to the command (for compatibility with old syntax)
10339 2002-10-14 Juergen Vigna <jug@sad.it>
10341 * undo_funcs.C (textHandleUndo): alter the order in which the
10342 new undopar is added to the LyXText, as we have to set first
10343 the right prev/next and then add it as otherwise the rebuild of
10344 LyXText is not correct. Also reset the cursor to the right paragraph,
10345 with this IMO we could remove the hack in "redoParagraphs()".
10347 2002-10-09 Angus Leeming <leeming@lyx.org>
10349 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10350 to turn off an optimisation if a new inset is to be inserted.
10352 2002-10-11 André Pönitz <poenitz@gmx.net>
10354 * lyxtext.h: make some functions public to allow access
10355 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10357 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10359 * text3.C (dispatch): when changing layout, avoid an infinite loop
10362 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10364 * lyxrc.C (read): treat a viewer or converter command of "none" as
10367 * MenuBackend.C (expandFormats): for an update, also allow the
10368 formats that are not viewable
10370 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10371 script if it is newer than the lyxrc.defaults in user directory
10373 2002-10-07 André Pönitz <poenitz@gmx.net>
10375 * text.C: Vitaly Lipatov's small i18n fix
10377 2002-09-25 Angus Leeming <leeming@lyx.org>
10379 * ispell.h: doxygen fix.
10381 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10383 * buffer.h (readFile): Add a new argument to the method, to allow
10384 reading of old-format templates.
10386 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10388 * toc.C (getTocList): Get TOC from InsetWrap.
10390 2002-09-16 John Levon <levon@movementarian.org>
10392 * lyxfunc.C: check tabular for cut/copy too
10394 2002-09-12 John Levon <levon@movementarian.org>
10396 * LyXAction.C: tidy
10399 * factory.C: add header
10401 * paragraph_funcs.h:
10402 * paragraph_funcs.C: cleanup
10404 2002-09-11 John Levon <levon@movementarian.org>
10406 * PrinterParams.h: odd/even default to true
10408 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10410 * PrinterParams.h: update printer parameters for new xforms dialog
10412 2002-09-11 Angus Leeming <leeming@lyx.org>
10414 * lyxserver.C (read_ready): re-write to make it more transparent
10415 and to make it work in coherent fashion under Tru64 Unix.
10417 2002-09-11 André Pönitz <poenitz@gmx.net>
10421 * text3.C: implement LFUN_WORDSEL
10423 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10425 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10426 make floatlist_ a boost::shared_ptr<FloatList>
10428 * lyxtextclass.C: include FloatList.h
10429 (LyXTextClass): initialize floatlist_
10430 (TextClassTags): add TC_NOFLOAT
10431 (Read): match "nofloat" to TC_NOFLOAT and use it.
10432 (readFloat): modify call to floatlist_
10436 * FloatList.[Ch] (FloatList): remove commented out float
10438 (erase): new function
10440 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10442 * MenuBackend.C (expandToc): fix crash when there is no document
10445 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10447 * many files: Add insetwrap.
10449 2002-09-09 John Levon <levon@movementarian.org>
10451 * text2.C: remove confusing and awkward depth wraparound
10453 2002-09-09 John Levon <levon@movementarian.org>
10455 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10458 * buffer.C: remove getIncludeonlyList()
10461 * lyxfunc.C: remove headers
10463 2002-09-09 Juergen Vigna <jug@sad.it>
10465 * text.C (getColumnNearX): fix form Michael this is most
10466 probably a cut&paste bug.
10468 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10470 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10472 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10473 references, ws changes.
10475 * text2.C (init): update counters after init
10476 (insertParagraph): no need to set counter on idividual paragraphs.
10477 (setCounter): access the counters object in the textclass object
10478 on in the buffer object.
10479 (updateCounters): ditto
10481 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10482 shared_ptr<Counters> to avoid loading counters.h in all
10484 (LyXTextClass): initialize ctrs_
10485 (TextClassTags): add TC_COUNTER, and ...
10486 (Read): use it here.
10487 (CounterTags): new tags
10488 (readCounter): new function
10489 (counters): new funtion
10490 (defaultLayoutName): return a const reference
10492 * counters.C (Counters): remove contructor
10493 (newCounter): remove a couple of unneeded statements.
10494 (newCounter): simplify a bit.
10495 (numberLabel): some small formatting changes.
10497 * buffer.[Ch]: remove all traces of counters, move the Counters
10498 object to the LyXTextClass.
10500 2002-09-06 Alain Castera <castera@in2p3.fr>
10502 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10503 package to set the horizontal alignment on fixed width columns.
10506 * lyx_sty.h: added tabularnewline macro def.
10508 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10510 2002-09-06 John Levon <levon@movementarian.org>
10512 * LyXAction.C: tooltips for sub/superscript
10514 * MenuBackend.C: a bit more verbose
10516 * lyxfunc.C: tiny clean
10518 * undo_funcs.C: document undo_frozen
10520 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10522 * counters.C (Counters): add missing algorithm counter.
10524 * text2.C (setCounter): lookup the counter with layouts latexname
10525 instead of by section number.
10526 (setCounter): use a hackish way to lookup the correct enum
10528 a float name->type change
10529 reset enum couners with counter name directly instead of depth value.
10531 * counters.C (Counters): remove the push_backs, change to use the
10532 float type not the float name.
10533 (labelItem): remove unused string, float name->type change
10535 * counters.h: don't include vector, loose the enums and sects vectors
10537 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10539 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10540 (Read): add float->TC_FLOAT to textclassTags
10541 (Read): and handle it in the switch
10542 (readFloat): new function
10544 * FloatList.C (FloatList): comment out the hardcoded float
10547 * lyxlayout.h: ws change.
10549 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10551 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10553 2002-09-03 Angus Leeming <leeming@lyx.org>
10555 * BufferView_pimpl.h: qualified name is not allowed in member
10556 declaration: WorkArea & Pimpl::workarea() const;
10558 * factory.C: added using std::endl directive.
10560 * text3.C: added using std::find and std::vector directives.
10562 2002-08-29 André Pönitz <poenitz@gmx.net>
10565 * text2.C: remove unused member number_of_rows
10568 * BufferView2.C: remove file, move contents to...
10569 * BufferView.C: ... here
10571 * BufferView_pimpl.C:
10572 * factory.C: move more inset creation to factory
10574 * vspace.C: avoid direct usage of LyXText, ws changes
10577 don't provide direct access to WorkArea, use two simple
10578 acessors haveSelction() and workHeight() instead
10581 2002-08-29 John Levon <levon@movementarian.org>
10583 * BufferView_pimpl.C (dispatch): do not continue when
10586 2002-08-28 André Pönitz <poenitz@gmx.net>
10588 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10591 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10593 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10595 * buffer.C: increment LYX_FORMAT to 221
10597 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10598 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10600 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10602 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10604 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10606 * factory.C (createInset): use LyXTextClass::floats
10608 * MenuBackend.C (expandFloatListInsert):
10609 (expandFloatInsert):
10612 * text2.C (setCounter):
10614 * LaTeXFeatures.C (useFloat):
10615 (getFloatDefinitions):
10617 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10619 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10620 floatlist_, with accessor floats().
10622 * FloatList.h: remove global FloatList
10624 2002-08-26 André Pönitz <poenitz@gmx.net>
10626 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10630 * BufferView_pimpl.C:
10631 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10633 2002-08-25 John Levon <levon@movementarian.org>
10635 * LyXAction.C: fix margin note description
10637 2002-08-24 John Levon <levon@movementarian.org>
10641 * bufferview_funcs.C:
10643 * undo_funcs.C: cleanups
10645 * lyxfunc.C: disable CUT/COPY when no selection
10647 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10649 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10650 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10652 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10653 Add backward compatibility to "mono", "gray" and "no".
10655 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10657 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10658 (and file_format >= 200).
10660 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10662 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10664 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10666 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10668 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10670 * BufferView_pimpl.C:
10677 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10678 inset and code to make it work with the paragraph code. The inset
10679 can be anywhere in the paragraph, but will only do the expected
10680 thing in LaTeX if the layout file contains the parameter line
10682 (or more generally, a nonzero value) for that layout.
10684 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10686 * paragraph.h: remove the declaration of undefined counters class
10689 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10691 * text2.C (setCounter): fixed enumeration mis-count as reported by
10692 Dr. Richard Hawkins.
10694 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10696 * paragraph_funcs.h: remove some unneeded includes
10698 * text.C (backspace): pasteParagraph now in global scipe
10700 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10701 (pasteSelection): ditto
10703 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10704 * paragraph_funcs.C (pasteParagraph): ... here
10706 2002-08-20 André Pönitz <poenitz@gmx.net>
10708 * commandtags.h: new LFUNs for swapping/copying table row/colums
10711 * lyxfunc.C: support for new lfuns
10713 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10716 * buffer.[Ch]: remove NO_COMPABILITY stuff
10718 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10720 * boost.C (throw_exception): new file, with helper function for
10721 boost compiled without exceptions.
10726 * ParameterStruct.h:
10727 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10729 * bufferlist.C (emergencyWriteAll): use boost bind
10731 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10733 * text.C: include paragraph_funcs.h
10734 (breakParagraph): breakParagraph is now in global scope
10736 * paragraph_funcs.[Ch]: new files
10738 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10741 * buffer.C: include paragraph_funcs.h
10742 (insertStringAsLines): breakParagraph is now in global scope
10744 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10747 * CutAndPaste.C: include paragraph_funcs.h
10748 (cutSelection): breakParagraphConservative is now in global scope
10749 (pasteSelection): ditto
10751 * buffer.h: declare oprator== and operator!= for
10752 Buffer::inset_iterator
10754 * bufferlist.C (emergencyWrite): don't use fmt(...)
10756 * text3.C: add using std::endl
10758 * BufferView.C (moveCursorUpdate): remove default arg
10760 2002-08-20 André Pönitz <poenitz@gmx.net>
10762 * buffer.[Ch]: move inline functions to .C
10765 * BufferView_pimpl.C:
10767 * buffer.[Ch]: use improved inset_iterator
10770 * paragraph.[Ch]: write one paragraph at a time
10772 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10774 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10775 style if style is not specified.
10777 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10779 * text2.C (setCounter): when searching for right label for a
10780 caption, make sure to recurse to parent insets (so that a caption
10781 in a minipage in a figure float works) (bug #568)
10783 2002-08-20 André Pönitz <poenitz@gmx.net>
10785 * text3.C: new file for LyXText::dispatch() and helpers
10787 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10789 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10791 2002-08-19 André Pönitz <poenitz@gmx.net>
10794 * text.C: new LyXText::dispatch()
10796 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10798 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10800 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10802 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10805 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10807 * Makefile.am: use $(variables) instead of @substitutions@
10809 2002-08-15 André Pönitz <poenitz@gmx.net>
10812 * BufferView_pimpl.C: streamlining mathed <-> outer world
10816 * LyXAction.C: remove unused LFUN_MATH
10818 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10820 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10822 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10824 * paragraph.C (Paragraph): reformat a bit
10825 (cutIntoMinibuffer): use builtin InsetList function instad of
10829 * buffer.C: include boost/bind.hpp, add using std::for_each
10830 (writeFileAscii): use ParagraphList iterators
10831 (validate): use for_each for validate traversal of paragraphs
10832 (getBibkeyList): use ParagraphList iterators
10833 (resizeInsets): use for_each to resizeInsetsLyXText for all
10835 (getParFromID): use ParagraphList iterators
10837 * BufferView2.C (lockInset): use paragraph list and iterators
10839 2002-08-14 John Levon <levon@movementarian.org>
10841 * lyxserver.C: remove spurious xforms include
10843 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10845 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10847 2002-08-13 André Pönitz <poenitz@gmx.net>
10850 * lyxfunc.C: further cleaning
10852 2002-08-13 André Pönitz <poenitz@gmx.net>
10854 * funcrequest.h: new constructor
10856 * funcrequest.C: move stuff here from .h
10859 * BufferView_pimpl.C:
10862 * lyxfunc.C: subsequent changes
10864 * lyxfunc.h: new view() member function
10866 * lyxfunc.C: subsequent changes
10868 2002-08-13 Angus Leeming <leeming@lyx.org>
10871 * BufferView_pimpl.C:
10879 changes due to the changed LyXView interface that now returns references
10880 to member variables not pointers.
10882 2002-08-13 Angus Leeming <leeming@lyx.org>
10884 * WordLangTuple (word, lang_code): return references to strings,
10889 * lyxtext.h: forward-declare WordLangTuple.
10894 * text.C: #include "WordLangTuple.h".
10897 * text.C: (selectNextWordToSpellcheck): constify return type.
10899 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10905 * paragraph_pimpl.h:
10908 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10909 suggested by Angus.
10910 Made updateCounter always count from start of buffer, and removed
10911 second argument (par).
10912 Reverted floats number display to '#'. Perhaps I'll try again when the
10913 code base is sanitized a bit.
10915 2002-08-12 Angus Leeming <leeming@lyx.org>
10917 * buffer.[Ch] (getLabelList): constify.
10919 2002-08-07 André Pönitz <poenitz@gmx.net>
10921 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10923 * funcrequest.h: extension to keep mouse (x,y) position
10925 2002-08-12 Juergen Vigna <jug@sad.it>
10927 * BufferView2.C (insertErrors): forbid undo when inserting error
10930 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10932 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10934 * ParagraphList.[Ch]: new files
10936 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10938 * BufferView2.C (lockInset): ParagraphList changes
10941 * bufferlist.C: ditto
10945 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10947 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10948 unused class variable counter_,
10950 * paragraph.[Ch] (getFirstCounter): delete unused function
10952 * counters.C: include LAssert.h
10953 (reset): add a new function with no arg, change other version to
10954 not have def. arg and to not allow empty arg.
10956 * text2.C (setCounter): remove empty arg from call to Counters::reset
10958 2002-08-11 John Levon <levon@movementarian.org>
10960 * Makefile.am: add WordLangTuple.h
10962 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10964 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10965 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10967 * insets/insettext.C: InsetList changes
10969 * graphics/GraphicsSupport.C (operator()): InsetList changes
10971 * toc.C (getTocList): InsetList changes
10973 * paragraph_pimpl.[Ch]: InsetList changes
10975 * paragraph.[Ch]: InsetList changes
10977 * buffer.C (inset_iterator): InsetList changes
10978 (setParagraph): ditto
10979 * buffer.h (inset_iterator): ditto
10980 * iterators.C (operator++): ditto
10981 * iterators.h: ditto
10983 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10985 * InsetList.[Ch]: new files, most InsetList handling moved out of
10988 * BufferView2.C (removeAutoInsets): InsetList changes
10990 (ChangeInsets): ditto
10992 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10994 * paragraph_pimpl.h (empty): new function
10996 * paragraph.[Ch] (empty): new function
10998 * other files: use the new Paragraph::empty function
11000 2002-08-09 John Levon <levon@movementarian.org>
11002 * lyxtext.h: remove unused refresh_height
11004 2002-08-09 John Levon <levon@movementarian.org>
11011 * paragraph.C: move sgml char escaping out of paragraph
11014 * paragraph.C: remove id setter
11018 * paragraph_pimpl.C: remove dead tex_code_break_column
11020 * bufferview_funcs.C: small cleanup
11022 * lyxfunc.C: remove dead proto
11024 * lyxtext.h: make some stuff private. Remove some dead stuff.
11026 * lyxgluelength.C: make as[LyX]String() readable
11028 2002-08-08 John Levon <levon@movementarian.org>
11033 * ToolbarDefaults.C:
11036 * toc.C: lyxaction cleanup
11038 2002-08-08 John Levon <levon@movementarian.org>
11040 * BufferView2.C: small cleanup
11043 * lyxfind.C: move unnecessary header into the .C
11045 2002-08-08 John Levon <levon@movementarian.org>
11047 * funcrequest.h: just tedious nonsense
11050 * lyx_main.C: cleanups
11053 * vspace.C: remove dead header lyx_main.h
11055 2002-08-07 Angus Leeming <leeming@lyx.org>
11058 * paragraph_pimpl.h:
11059 Forward declare class Counters in paragraph.h by moving the ctrs member
11060 variable into Paragraph::Pimpl.
11061 (counters): new method, returning a reference to pimpl_->ctrs.
11063 * text2.C: ensuing changes.
11065 2002-08-07 John Levon <levon@movementarian.org>
11067 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11069 * BufferView_pimpl.C: announce X selection on double/triple
11072 * lyx_main.C: use correct bool in batch dispatch
11074 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11076 2002-08-07 André Pönitz <poenitz@gmx.net>
11078 * funcrequest.h: new class to wrap a kb_action and its argument
11081 * BufferView_pimpl[Ch]:
11085 * lyxrc.C: subsequent changes
11088 2002-08-07 John Levon <levon@movementarian.org>
11090 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11091 document options change.
11093 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11098 * makefile.am: move counters functionality over from
11099 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11101 2002-08-06 John Levon <levon@movementarian.org>
11103 * WordLangTuple.h: new file for word + language code tuple
11114 * BufferView2.C: use WordLangTuple
11117 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11119 2002-08-06 John Levon <levon@movementarian.org>
11121 * lyx_main.C: fix cmdline batch handling
11123 2002-08-06 André Pönitz <poenitz@gmx.net>
11125 * lyxrc.C: set default for show_banner to true
11127 2002-08-06 John Levon <levon@movementarian.org>
11129 * pspell.C: fix a crash, and allow new aspell to work
11131 2002-08-06 John Levon <levon@movementarian.org>
11134 * kbmap.C: small cleanup
11137 * vspace.C: add const
11139 2002-08-05 John Levon <levon@movementarian.org>
11141 * LyXAction.C: back to tabular-insert
11143 2002-08-04 John Levon <levon@movementarian.org>
11146 * BufferView.C: cosmetic change
11148 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11158 * BufferView2.C: purge all "Lyx" not "LyX" strings
11161 * lyxcursor.C: attempt to add some documentation
11166 * ToolbarDefaults.C:
11167 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11168 merge with LFUN_TABULAR_INSERT
11175 * pspell.C: split up i/pspell implementations into separate
11176 files, many cleanups
11178 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11180 * text2.C: some cleanup
11182 * lyxfunc.C: don't check for isp_command == "none" any more, it
11183 didn't make any sense
11185 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11190 * makefile.am: move counters functionality over
11191 from text2.C/paragraph.[Ch] to counters.[Ch], and
11193 2002-08-02 John Levon <levon@movementarian.org>
11195 * buffer.C: s/lyxconvert/lyx2lyx/
11197 2002-08-02 Angus Leeming <leeming@lyx.org>
11199 * lyxlex.C: revert John's change as it breaks reading of the user
11202 2002-08-02 Angus Leeming <leeming@lyx.org>
11204 * importer.C (Import):
11205 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11206 changes due to LyXView::view() now returning a boost::shared_ptr.
11208 2002-08-02 John Levon <levon@movementarian.org>
11210 * lyxlex.C: small cleanup
11212 2002-08-02 John Levon <levon@movementarian.org>
11214 * text2.C (status): small cleanup, no logic change
11216 2002-08-01 John Levon <levon@movementarian.org>
11219 * buffer.C (writeFile): don't output alerts, caller
11223 * lyx_cb.C: from above
11225 * lyxfunc.C: allow to open non-existent files
11227 2002-07-31 John Levon <levon@movementarian.org>
11229 * lyxserver.C: don't let incidental errors get
11232 2002-07-30 John Levon <levon@movementarian.org>
11234 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11236 2002-07-30 John Levon <levon@movementarian.org>
11239 * lyxserver.C: remove I/O callback too
11241 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11243 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11246 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11248 * many files: strip,frontStrip -> trim,ltrim,rtrim
11250 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11252 * PrinterParams.h: remove extern containsOnly, and include
11253 support/lstrings.h instead.
11255 * LaTeX.C (scanAuxFile): modify because of strip changes
11257 * buffer.C (makeLaTeXFile): ditto
11258 * bufferparams.C (writeFile): ditt
11259 * lyxfont.C (stateText): ditto
11260 * lyxserver.C (read_ready): ditto
11261 * vc-backend.C (scanMaster): ditto
11263 * BufferView_pimpl.h: ws changes
11265 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11267 2002-07-26 André Pönitz <poenitz@gmx.net>
11269 * kb_sequence.C: remove unnedred usings
11271 2002-07-26 Juergen Vigna <jug@sad.it>
11273 * lyxfind.C (LyXReplace): we have to check better if the returned
11274 text is not of theLockingInset()->getLockingInset().
11276 2002-07-25 Juergen Vigna <jug@sad.it>
11278 * lyxfind.C (LyXReplace): don't replace if we don't get the
11281 * undo_funcs.C (createUndo): remove debugging code.
11283 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11285 * buffer.C (parseSingleLyXformat2Token): Use default placement
11286 when reading old floats.
11288 * FloatList.C (FloatList): Change the default placement of figure
11289 and tables to "tbp".
11291 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11293 * MenuBackend.C: using std::max
11295 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11297 * MenuBackend.C (expandToc):
11298 (expandToc2): code moved from xforms menu frontend. It is now
11299 generic and TOCs are transparent to menu frontends.
11301 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11303 * toc.C (getTocList): protect against buf=0
11305 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11306 Menu as first parameter. Now, this calls itself recursively to
11307 expand a whole tree (this will be useful for TOC handling)
11308 (expandFloatInsert): remove 'wide' version of floats
11310 * MenuBackend.h (submenuname): returns the name of the submenu.
11311 (submenu): returns the submenu itself, provided it has been
11312 created by MenuBackend::expand
11314 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11316 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11317 insets which have noFontChange == true. (bug #172)
11319 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11321 * BufferView_pimpl.C: add connection objects and use them...
11324 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11326 * MenuBackend.C (expandLastfiles):
11329 (expandFloatListInsert):
11330 (expandFloatInsert):
11331 (expand): split expand in parts
11333 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11335 * lyx_gui.C: use lyx_gui::exit()
11337 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11339 * LyXAction.C: show the failing pseudo action
11341 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11343 * buffer.C (readFile): Run the lyxconvert script in order to read
11346 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11350 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11352 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11356 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11358 2002-07-22 Herbert Voss <voss@lyx.org>
11361 * lyxlength.[Ch]: add support for the vertical lengths
11363 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11365 * toc.[Ch]: std:: fixes
11367 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11369 * lyxrc.C: do not include lyx_main.h
11371 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11377 * BufferView2.C: include "lyxlex.h"
11380 * bufferparams.h: do not #include "lyxlex.h"
11382 * lyxtextclasslist.C (Add): remove method
11383 (classlist): renamed to classlist_
11385 * paragraph_pimpl.C:
11389 * bufferview_funcs.C:
11394 * toc.C (getTocList): use BufferParams::getLyXTextClass
11396 * toc.C (getTocList): use InsetFloat::addToToc
11398 * toc.[Ch]: new files, containing helper functions to handle table
11401 * lyxfunc.C (dispatch): no need to remove spaces around command
11403 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11404 first command of the sequence; it is not very clever, but I do not
11405 have a better idea, actually
11407 * LyXAction.C (LookupFunc): make sure to remove space at the
11408 beginning and end of the command
11410 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11412 * MenuBackend.C (getMenubar): new method: return the menubar of
11414 (read): treat differently reading of menu and menubar (in
11415 particular, the menubar has no name now)
11416 (Menu::menubar): remove
11418 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11421 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11423 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11424 a bibitem inset in a RTL paragraph.
11426 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11428 * paragraph_pimpl.C: constify
11430 * BufferView_pimpl.C:
11432 * lyxfunc.C: fix dispatch in a nicer way
11434 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11436 * lyxfunc.C (dispatch):
11437 * BufferView_pimpl.C:
11438 * BufferView_pimpl.h:
11440 * BufferView.h: rename Dispatch() to dispatch()
11442 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11444 * lyxlayout.C (Read): honor DependsOn tag
11446 * lyxlayout.[Ch] (depends_on): new method
11448 * version.C.in: update lyx_docversion
11450 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11452 * paragraph.C (validate): remove from here...
11453 * paragraph_pimpl.C (validate): ... and move here
11454 (isTextAt): make it const
11456 * buffer.C (getLists): ws cleanup
11458 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11460 * language.C (read): Use iso8859-1 encoding in latex_lang
11461 (this prevents LyX from crashing when using iso10646-1 encoding).
11463 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11465 * text2.C (toggleInset): if cursor is inside an inset, close the
11466 inset and leave cursor _after_ it
11468 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11470 * lyxfunc.C: move minibuffer completion handling out of here
11472 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11474 * BufferView_pimpl.C:
11475 * LaTeX.C: fix dispatch calls
11477 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11479 * text.C (drawChars): Fix Arabic text rendering.
11481 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11485 * lyxfunc.C: remove message-push/pop
11489 * lyxfunc.C: rationalise some code by removing verboseDispatch
11490 in favour of a bool argument to dispatch()
11492 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11494 * lyx_main.C (init): make sure to read symlinks as absolute paths
11496 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11499 * lyxfunc.C: no need for commandshortcut to be a member
11501 2002-07-15 André Pönitz <poenitz@gmx.net>
11503 * converter.C: add support for $$s (scripts from lib/scripts dir)
11504 * lyx_main.C: white space
11506 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11510 * lyxrc.C: remove second exit confirmation
11512 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11517 * BufferView_pimpl.h:
11518 * BufferView_pimpl.C:
11519 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11521 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11523 * MenuBackend.C (expand): add numeric shortcuts to document menu
11525 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11527 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11529 * lyxfont.C (setLyXFamily):
11536 * buffer.C (asciiParagraph): use ascii_lowercase
11538 2002-07-15 Mike Fabian <mfabian@suse.de>
11540 * lyxlex_pimpl.C (search_kw):
11541 * lyxlex.C (getLongString):
11542 * converter.h (operator<):
11543 * converter.C (operator<):
11544 * buffer.C (parseSingleLyXformat2Token):
11546 * ToolbarDefaults.C (read):
11547 * MenuBackend.C (checkShortcuts):
11549 * LColor.C (getFromGUIName):
11550 (getFromLyXName): use the compare_ascii_no_case instead of
11551 compare_no_case, because in turkish, 'i' is not the lowercase
11552 version of 'I', and thus turkish locale breaks parsing of tags.
11554 2002-07-16 Angus Leeming <leeming@lyx.org>
11556 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11557 now takes a Buffer const & argument.
11559 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11561 * BufferView.C (resize): check there's a buffer to resize
11563 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11565 * lyxfunc.C: remove dead code
11568 * lyxserver.C: use lyx_guii::set_read_callback
11570 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11572 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11573 an inset in a RTL paragraph.
11575 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11577 * lyxfunc.C: repaint after a font size update
11579 2002-07-15 André Pönitz <poenitz@gmx.net>
11581 * lyxlength.C: inBP should be able to return negative values
11583 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11585 * lyxfunc.C: use lyx_gui::update_fonts()
11587 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11589 * lyxfunc.C: use lyx_gui::update_color()
11591 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11597 * lyxrc.C: remove file->new asks for name option, and let
11598 buffer-new take an argument
11600 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11602 * BufferView_pimpl.C: remove unneeded extra repaint()
11604 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11606 * LyXAction.C: allow command-sequence with NoBuffer
11608 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11610 2002-07-10 Angus Leeming <leeming@lyx.org>
11612 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11614 2002-07-09 Angus Leeming <leeming@lyx.org>
11616 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11618 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11620 * lengthcommon.h: whitespace
11622 * lyxfunc.C: update scrollbar after goto paragraph
11624 * lyxtext.h: factor out page break drawing, and fix it so
11625 page break/added space paints as selected nicely
11627 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11629 * BufferView_pimpl.C: add FIXMEs, clean up a little
11631 2002-07-09 André Pönitz <poenitz@gmx.net>
11633 * lyxfont.[Ch]: support for wasy symbols
11635 2002-07-08 André Pönitz <poenitz@gmx.net>
11637 * BufferView_pimpl.C: apply John's patch for #93.
11639 2002-07-05 Angus Leeming <leeming@lyx.org>
11641 * BufferView_pimpl.C (buffer): generate previews if desired.
11643 * LColor.h: add "preview" to the color enum.
11645 * LColor.C (LColor): add a corresponding entry to the items array.
11647 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11650 2002-07-05 Angus Leeming <leeming@lyx.org>
11652 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11653 The body of the code is now in the method that is passed an ostream &
11654 rather than a file name.
11655 Pass an additional only_preamble parameter, useful for the forthcoming
11658 2002-07-03 André Pönitz <poenitz@gmx.net>
11660 * lyxfunc.C: simplify getStatus() a bit for math stuff
11662 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11664 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11666 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11668 * text.C (changeRegionCase): do not change case of all the
11669 document when region ends at paragraph end (bug #461)
11671 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11673 * paragraph.C (startTeXParParams):
11674 (endTeXParParams): add \protect when necessary
11676 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11678 * BufferView_pimpl.C (workAreaExpose): remove warning
11680 2002-06-27 Angus Leeming <leeming@lyx.org>
11682 * Makefile.am: add lyxlayout_ptr_fwd.h.
11684 2002-06-26 André Pönitz <poenitz@gmx.net>
11686 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11688 2002-06-25 Angus Leeming <leeming@lyx.org>
11690 * lyxfunc.C (dispatch): Comment out the call to
11691 grfx::GCache::changeDisplay. The method no longer exists now that the
11692 pixmap generation part of the graphics loader has been moved into
11695 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11697 * text2.C: layout as layout
11699 * text.C: layout as layout
11701 * tabular.C (OldFormatRead): layout as layout
11703 * paragraph_pimpl.C (TeXDeeper): layout as layout
11704 (realizeFont): layout as layout
11706 * paragraph.C (writeFile): layout as layout
11707 (validate): layout as layout
11708 (getFont): layout as layout
11709 (getLabelFont): layout as layout
11710 (getLayoutFont): layout as layout
11711 (breakParagraph): layout as layout
11712 (stripLeadingSpaces): layout as layout
11713 (getEndLabel): layout as layout
11714 (getMaxDepthAfter): layout as layout
11715 (applyLayout): layout as layout
11716 (TeXOnePar): layout as layout
11717 (simpleTeXOnePar): layout as layout
11718 (TeXEnvironment): layout as layout
11719 (layout): layout as layout
11720 (layout): layout as layout
11722 * lyxtextclass.C (compare_name): new functor to work with
11723 shared_ptr, layout as layout
11724 (Read): layout as layout
11725 (hasLayout): layout as layout
11726 (operator): layout as layout
11727 (delete_layout): layout as layout
11728 (defaultLayout): layout as layout
11730 * lyxlayout_ptr_fwd.h: new file
11732 * lyxlayout.C (Read): layout as layout
11734 * lyx_cb.C (MenuInsertLabel): layout as layout
11736 * bufferlist.C (newFile): layout as layout
11738 * buffer.C (readLyXformat2): layout as layout
11739 (parseSingleLyXformat2Token): layout as layout
11740 (insertStringAsLines): layout as layout
11741 (asciiParagraph): layout as layout
11742 (latexParagraphs): layout as layout
11743 (makeLinuxDocFile): layout as layout
11744 (simpleLinuxDocOnePar): layout as layout
11745 (makeDocBookFile): layout as layout
11746 (simpleDocBookOnePar): layout as layout
11747 (getLists): layout as layout
11749 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11751 * CutAndPaste.C (cutSelection): layout as layout
11752 (pasteSelection): layout as layout
11753 (SwitchLayoutsBetweenClasses): layout as layout
11755 * BufferView_pimpl.C (Dispatch): layout as layout
11756 (smartQuote): layout as layout
11758 * BufferView2.C (unlockInset): layout as layout
11760 2002-06-24 André Pönitz <poenitz@gmx.net>
11762 * lyxfunc.C: fix #487
11764 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11768 * lyxfunc.C: remove display_shortcuts, show_banner
11770 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11772 * Buffer_pimpl.C: oops, update on resize
11774 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11781 * BufferView.C: use repaint()
11783 * BufferView_pimpl.h:
11784 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11785 as it's a clearer description. Remove superfluous
11788 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11790 * text.C: fix bug 488. Not ideal, but getting
11791 getWord() to work properly for the insets that
11792 matter is more difficult ...
11794 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11796 * BufferView_pimpl.C:
11799 * lyxfunc.C: remove the six million index lyxfuncs to just
11800 one, and DTRT (bug 458)
11802 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11806 * BufferView_pimpl.h:
11807 * BufferView_pimpl.C: clean up resize() stuff,
11808 and unnecessary updateScreen()s
11810 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11814 * BufferView_pimpl.h:
11815 * BufferView_pimpl.C:
11818 * minibuffer.C: remove focus management of workarea,
11819 not needed. Use screen's greyOut()
11821 2002-06-17 Herbert Voss <voss@lyx.org>
11823 * converter.C: (convert) do not post a message, when converting
11824 fails, let the calling function decide what to do in this case
11826 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11828 * lyxfunc.C: tidy up a little
11830 2002-06-16 <alstrup@diku.dk>
11832 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11833 Got rid of FORMS_H_LOCATION include. Now we are
11836 2002-06-15 LyX Development team <lyx@rilke>
11838 * buffer.[Ch] (sgmlOpenTag):
11839 (sgmlCloseTag): Added support for avoiding pernicious mixed
11840 content. Return number of lines written.
11842 (makeLinuxDocFile):
11843 (makeDocBookFile): Fixed calls to sgml*Tag.
11844 Simple white space clean.
11846 (simpleDocBookOnePar): Simple white space clean.
11848 * tabular.[Ch] (docBook): Renamed to docbook and got another
11849 argument to related with the pernicious mixed content.
11851 (docbookRow): Fixed calls for docbook inset method.
11853 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11855 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11856 so it's X11 independent.
11860 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11862 2002-06-15 Lyx Development team <lyx@electronia>
11864 * intl.h: Renamed getTrans to getTransManager.
11866 2002-06-14 Angus Leeming <leeming@lyx.org>
11868 * Makefile.am: nuke forgotten stl_string_fwd.h.
11870 2002-06-12 Angus Leeming <leeming@lyx.org>
11872 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11874 2002-06-13 Angus Leeming <leeming@lyx.org>
11877 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11879 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11881 * kbmap.C (getiso): add support for cyrillic and greek
11883 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11887 * BufferView_pimpl.h:
11888 * BufferView_pimpl.C: move bogus scrolling logic
11891 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11894 * BufferView_pimpl.C: view->resize() change
11896 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11898 * BufferView_pimpl.C: topCursorVisible
11901 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11905 * lyx_gui.C: move to frontends/
11909 * lyx_main.C: changes from above
11911 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11918 * lyx_main.C: minor tidy
11920 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11922 * BufferView_pimpl.h:
11923 * BufferView_pimpl.C:
11925 * BufferView.C: make painter() const,
11928 * BufferView2.C: use screen() accessor
11931 * lyx_main.C: some minor cleanup
11933 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11935 * BufferView_pimpl.h:
11936 * BufferView_pimpl.C: remove enter/leaveView,
11939 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11944 * BufferView_pimpl.h:
11945 * BufferView_pimpl.C: only construct screen once,
11948 * lyxrc.C: remove pointless comment
11950 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11953 * BufferView.C: remove active() and belowMouse()
11955 * BufferView_pimpl.h:
11956 * BufferView_pimpl.C: use workarea() not workarea_,
11957 and make it use a scoped_ptr instead
11959 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11961 * lyx_gui.C: add debug message on BadWindow
11963 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11965 * sp_spell.C: fdopen is not part of the C++ standard.
11967 * paragraph.C (InsetIterator): use >= instead of ==
11969 2002-06-07 Angus Leeming <leeming@lyx.org>
11971 Fixes needed to compile with Compaq cxx 6.5.
11972 * BufferView_pimpl.C:
11979 * lyxtextclasslist.C:
11984 all c-library variables have been moved into namespace std. Wrap
11985 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11990 Add a using std::abs declaration.
11992 * kbmap.h (modifier_pair):
11993 * paragraph.h (InsetTable, InsetList):
11994 * lyxfont.h (FontBits):
11995 type definition made public.
11997 * bufferlist.C (emergencyWriteAll): the compiler complains that
11998 there is more than one possible lyx::class_fun template to choose from.
11999 I re-named the void specialisation as lyx::void_class_fun.
12001 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12003 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12004 the compiler is is unable to find tostr in write_attribute.
12006 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12008 * buffer.C (sgmlError): hide #warning
12010 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12012 * xtl/*: get rid of xtl, which is not in use anyway
12014 * LyXAction.C (init):
12015 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12016 were unimplemented xtl experimentation
12018 2002-06-04 André Pönitz <poenitz@gmx.net>
12020 * lyxfunc.C: disable array operation on simple formulae
12022 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12024 * converter.C: constify a bit
12026 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12028 * lyx_gui.C: check xforms version correctly
12030 2002-04-30 Herbert Voss <voss@lyx.org>
12032 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12035 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12037 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12038 attempt to register it with a VCS)
12040 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12042 * lyx_main.C (init): honor variables LYX_DIR_13x and
12045 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12049 * lyx_main.C: fix a crash on bad command line,
12050 and give a useful exit status on error
12052 * lyxfunc.C (doImport): allow -i lyx to work
12054 2002-03-30 André Pönitz <poenitz@gmx.net>
12056 * lyxfunc.C: mathed font changes
12058 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12073 * trans_mgr.h: srcdocs, and some minor cleanups
12075 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12077 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12078 call getFont all the time)
12080 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12082 * switch from SigC signals to boost::signals
12084 2002-05-29 André Pönitz <poenitz@gmx.net>
12086 * paragraph_pimpl.C (getChar): don't call size() too often...
12088 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12090 * paragraph_pimpl.C (insertChar): do not try to update tables when
12091 appending (pos == size())
12093 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12094 in order to reduce drastically the number of comparisons needed to
12095 parse a large document
12097 2002-05-29 André Pönitz <poenitz@gmx.net>
12103 * textclasslist.[Ch]:
12104 * sp_ispell.h: whitespace change
12106 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12108 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12109 lyxaction directly now.
12111 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12115 * lyxvc.C: remove unused headers
12117 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12124 * undo_funcs.C: some cleanups. Use shared_ptr
12125 and a template for the undo stacks.
12127 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12129 * BufferView_pimpl.h:
12130 * BufferView_pimpl.C:
12137 * text2.C: use key_state/mouse_state
12139 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12141 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12144 * chset.C: change include order
12145 (loadFile): use boost regex and get rid of LRegex and LSubstring
12147 * Makefile.am (BOOST_LIBS): new variable
12148 (lyx_LDADD): use it
12150 * LaTeX.C: change include order.
12151 (scanAuxFile): use boost regex and get rid of LRegex and
12155 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12160 * FontInfo.C: moved to frontends/xforms/
12163 * FontLoader.C: moved into frontends for GUIIzation
12168 * lyxfunc.C: changes from above
12170 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12172 * LColor.C: remove spurious X include
12174 * BufferView_pimpl.C:
12179 * text2.C: move font metrics to frontends/
12181 2002-05-24 Juergen Vigna <jug@sad.it>
12183 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12184 setting the undo_cursor.
12186 * ParagraphParameters.h: include local includes first.
12188 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12190 * BufferView_pimpl.C:
12191 * BufferView_pimpl.h:
12195 * screen.C: move WorkArea into frontends/
12201 * BufferView2.C: move LyXScreen into frontends/
12205 * lyx_gui.C: move lyxlookup into frontends/xforms/
12207 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12210 * BufferView_pimpl.C:
12220 * bufferview_funcs.C:
12233 * vc-backend.C: move LyX/XFormsView into frontends/
12235 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12247 * text2.C: move Painter to frontends/
12249 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12251 * buffer.C: comment out some some code that depend upon lyx_format
12254 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12255 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12257 * buffer.h (NO_COMPABILITY): turn off compability
12259 * ColorHandler.C: include scoped_array.hpp
12261 * font.C: Use more specific smart_ptr header.
12264 * ShareContainer.h: ditto
12265 * lyx_main.h: ditto
12267 * FontInfo.h: ditto
12268 * BufferView_pimpl.h: ditto
12269 * ColorHandler.h: ditto
12271 * kbmap.C (defkey): change call to shared_ptr::reset
12273 2002-05-21 Juergen Vigna <jug@sad.it>
12275 * buffer.C (insertErtContents): fix to insert ert asis if it is
12276 non empty. Skip it completely if it contains only whitespaces.
12278 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12280 * BufferView_pimpl.C:
12281 * BufferView2.C: clear selection on paste (bug 393)
12283 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12285 * DepTable.C: include ctime
12287 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12289 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12291 2002-05-14 Juergen Vigna <jug@sad.it>
12293 * text.C (breakParagraph): fixed function to honor the keepempty
12294 layout in the right maner and also to permit the right breaking
12295 algorithm on empty or non empyt keepempty paragraphs.
12297 * paragraph.C (breakParagraph): we have to check also if the par
12298 is really empty (!size()) for isempty otherwise we do the wrong
12301 2002-05-10 Juergen Vigna <jug@sad.it>
12303 * buffer.[Ch] : The following are only changes to the ert
12304 compatibility read reading old LaTeX layout and font stuff and
12305 convert it to ERTInsets.
12307 * buffer.h: added isErtInset().
12309 * buffer.C (struct ErtComp): add a fromlayout bool to check
12310 if we're inside a LaTeX layout.
12311 (isErtInset): new helper function.
12312 (insertErtContents): look for other ert insets before this one
12313 and insert the contents there, so that we don't have subsequent
12314 ERT insets with nothing between them. This way we create only one
12315 inset with multiple paragraphs. Also check if we don't insert only
12316 spaces ' ' as they are ignored anyway afterwards in the .tex file
12317 so if we have only spaces we will ignore this latex part in the
12319 (parseSingleLyXformat2Token \\layout): better compatibility when
12320 reading layout-latex stuff.
12321 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12323 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12324 stuff after reading the inset only get the information back from
12327 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12329 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12331 * LaTeXFeatures.C (getBabelOptions): New method.
12333 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12335 * BufferView_pimpl.C (Dispatch): work around missing argument for
12338 2002-05-08 Juergen Vigna <jug@sad.it>
12340 * text.C (leftMargin): handle paragraph leftindent.
12342 * paragraph.C (writeFile): write the new \\leftindent tag.
12343 (validate): handle leftindent code.
12344 (TeXEnvironment): handle paragraphleftindent code again.
12346 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12348 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12349 for paragrap_extra indent code and new token \\leftindent.
12350 (latexParagraphs): handle the leftindent as environment.
12352 * ParameterStruct.h: added leftindent support.
12354 * ParagraphParameters.C (leftIndent): added support functions for
12355 the paragraph left indent.
12357 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12360 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12362 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12365 * text.C (computeBidiTables): No bidi in insetERT.
12367 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12370 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12372 * version.C.in: pre 5
12374 2002-05-02 José Matos <jamatos@fep.up.pt>
12375 * buffer.C (makeDocBookFile): white space changes, add newline to
12377 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12379 * tabular.C (docBook): fix typo.
12381 2002-05-03 Juergen Vigna <jug@sad.it>
12383 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12384 change in LyXText as we can not be sure it was not freed.
12385 (drawOneRow): remove unused code.
12387 * text.C (drawInset): redo the calculation of the need_break_row as
12388 it could have a row which was already freed.
12389 (draw): look at the return value of drawInset and return false if
12390 it also returned false.
12391 (paintRowText): look at the return value of draw and return false if
12392 it also returned false.
12394 * lyxtext.h: added bool return type to drawInset() and draw() so that
12395 if we have a change in the row so that the rowbreak has to be redone
12396 we abort drawing as it will be called again.
12398 2002-05-02 Juergen Vigna <jug@sad.it>
12400 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12401 a change in the maintext also if we're inside an inset.
12402 (Dispatch): set the cursor again after a break line and after the
12403 screen has been updated as it could be we're in a different row.
12405 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12406 to set the cursor behind the pargraph with > size().
12407 (setCursor): check also for the same paragraph when checking where
12408 to put the cursor if we have a NFR inset.
12410 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12411 parts of layout read further up as it still was in the wrong
12414 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12416 * screen.C (drawFromTo): change sine fullRebreak always return
12419 * buffer.C (parseSingleLyXformat2Token): reindent some
12421 * BufferView_pimpl.C (update): change since fullRebreak always
12423 (Dispatch): git rid of the last hardcoded "Standard"s.
12425 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12427 * text2.[Ch] (fullRebreak): make it return void now that we always
12430 2002-04-30 Juergen Vigna <jug@sad.it>
12432 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12433 ert compatibility check for "latex" layout.
12435 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12437 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12438 minipages: use col% instead of p%, and also use the current font.
12439 (makeLaTeXFile): Fix use babel condition.
12440 (parseSingleLyXformat2Token): Correct font when reading old floats.
12442 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12444 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12445 inserting list of floats.
12447 2002-04-25 Herbert Voss <voss@lyx.org>
12449 * MenuBackend.C (expand): don't add the graphics extensions to the
12452 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12454 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12455 non-existing layout, do not complain if it was the default layout
12456 of the original class (bug #342)
12458 2002-04-24 Juergen Vigna <jug@sad.it>
12460 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12461 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12463 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12465 * buffer.C (getBibkeyList): If using \bibliography, return the
12466 option field with the reference itself. Enables us to provide natbib
12467 support when using \bibliography.
12469 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12471 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12473 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12474 natbib is provided by the LaTeX class.
12476 2002-04-23 Juergen Vigna <jug@sad.it>
12478 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12481 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12483 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12485 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12487 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12488 ensuremath around textordmasculine, textordfeminine and
12491 2002-04-19 Juergen Vigna <jug@sad.it>
12493 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12494 reinitializing the buffer otherwise row-dimensions may be wrong.
12495 (update): reset also the selection cursors if they do exits otherwise
12496 their x/y positions may be wrong.
12498 * text2.C (cursorDown): don't enter the inset if we came from a row
12499 above and are one row over the inset.
12501 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12502 really leaving an inset.
12504 2002-04-18 Juergen Vigna <jug@sad.it>
12506 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12507 of the selected paragraph does not have the selected layout also if
12510 * text2.C (setLayout): fixed bug which did not change last selected
12513 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12514 changed the read and substituted \\end_float with \\end_inset!
12516 * BufferView_pimpl.C (cursorPrevious):
12517 (cursorNext): fixed to make it work with rows heigher than the work
12518 area without moving the cursor only the draw of the row.
12519 (workAreaMotionNotify): fix jumping over high rows.
12521 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12523 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12526 2002-04-16 Juergen Vigna <jug@sad.it>
12528 * text2.C (setCursor): set also the irow().
12529 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12531 (cursorDown): support for locking an inset if the x_fix value goes
12532 inside it. That way I can transverse insets too with cursor up/down.
12534 * lyxrow.h: added irow helper function same as other (i) functions.
12536 * BufferView_pimpl.C (cursorPrevious):
12537 (cursorNext): fixed for insets!
12539 2002-04-15 Juergen Vigna <jug@sad.it>
12541 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12542 position otherwise it is wrong in some cases.
12544 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12545 inside the inset before the call.
12547 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12549 * buffer.[Ch] (getBibkeyList): make it const.
12551 2002-04-12 Juergen Vigna <jug@sad.it>
12553 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12555 * text2.C (getCursorX): new helper function
12556 (setCursor): compute also ix_
12557 (setCursorFromCoordinates): set also ix.
12559 * lyxcursor.h: added ix_ and helper functions.
12561 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12563 * buffer.C (insertStringAsLines): dont break paragraph if the this
12564 paragraph is inside an inset which does not permit it!
12566 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12567 also with no chars on this paragraph.
12568 (paintRowText): only paint stuff if it's inside the workarea!
12570 * paragraph.C (breakParagraph): honor keepempty flag and break the
12571 paragraph always below not above.
12573 * BufferView2.C (unlockInset): update the paragraph layout on inset
12574 unlock as we changed paragraph in such a case.
12576 * lyxfind.C (LyXFind): clear the former selection if not found!
12578 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12579 again called in insertChar().
12581 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12582 an inset which uses the whole row!
12583 (rightMargin): ditto.
12584 (insertChar): force a rebreak if we inserted an inset!
12586 2002-03-28 Herbert Voss <voss@lyx.org>
12588 * lyxlength.[Ch]: add inBP() to get the right PS-point
12589 units (BigPoint). With inPixels we have rounding errors
12591 2002-04-11 Juergen Vigna <jug@sad.it>
12593 * text2.C (setCursorFromCoordinates): set iy to the right value.
12594 (setCursor): add check if row->previous exists!
12596 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12597 an old float_type as this was the case in the old code!
12599 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12601 * BufferView2.C (showLockedInsetCursor): use iy
12602 (fitLockedInsetCursor): ditto
12604 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12605 locked insets as there we have the right value now.
12607 * lyxcursor.C: added iy_ variable and iy functions to set to the
12608 baseline of cursor-y of the locked inset.
12610 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12611 (setCursor): fixed for insets which need a full row.
12613 * text.C (rowLastPrintable): don't ignore the last space when before
12614 an inset which needs a full row.
12615 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12616 as last character of a row when before a inset which needs a full row.
12618 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12620 * version.C.in: update date
12622 * text2.C (fullRebreak): try to always return true and see what
12625 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12627 * MenuBackend.C (expand): use Floating::listName
12629 * FloatList.C (FloatList): add listName argument to the built-in
12632 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12633 text associated with the float.
12635 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12637 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12639 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12641 * ShareContainer.h: add a couple of missing typenames.
12643 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12645 * lyxrc.C (getDescription): use _() correctly rather than N_().
12647 2002-03-28 Herbert Voss <voss@lyx.org>
12649 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12650 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12652 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12654 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12655 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12657 2002-03-29 Juergen Vigna <jug@sad.it>
12659 * lyxfunc.C (dispatch): add a missing fitCursor call.
12661 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12662 it was scrolled by a cursor move, so return the bool status.
12664 * BufferView.C (fitCursor): return the bool flag also to the outside
12665 world as this is needed.
12667 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12669 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12670 call the edit() as it is not needed (and wrong) IMO.
12671 (workAreaButtonPress): set the screen_first variable before evt.
12672 unlock the inset as this may change screen_first and then we have
12673 a wrong y position for the click!
12675 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12677 * MenuBackend.C (expand): another translation that I missed
12679 2002-03-28 Juergen Vigna <jug@sad.it>
12681 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12683 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12685 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12687 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12689 * MenuBackend.C (expand): fix export/view/update when there is no
12692 2002-03-27 Herbert Voss <voss@lyx.org>
12694 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12697 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12699 * bufferview_funcs.C (currentState): only show paragraph number
12700 for is DEVEL_VERSION is set.
12702 * lyxfunc.C (dispatch): put warning in INFO channel
12704 * MenuBackend.C (expand): translate the name of floats
12706 * FloatList.C (FloatList): mark the float names for translation
12708 * converter.C (convert): use LibScriptSearch
12710 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12712 * MenuBackend.C (defaults): fix default menu (we might as well get
12715 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12717 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12720 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12722 * lyxvc.C: reorder includes.
12724 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12726 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12729 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12731 * CutAndPaste.C: change layouts earlier on paste
12732 to avoid crashing when calling getFont()
12734 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12736 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12739 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12741 * WorkArea.C: remove 'Pending' debug message.
12743 * most files: ws cleanup
12745 * buffer.[Ch]: ws changes
12747 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12749 2002-03-21 Juergen Vigna <jug@sad.it>
12751 * tabular.C (SetMultiColumn): collapse also the contents of the
12752 cells and set the last border right. Added a Buffer const * param.
12754 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12756 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12759 2002-03-19 Juergen Vigna <jug@sad.it>
12761 * text2.C (clearSelection): reset also xsel_cache.
12763 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12764 where it needs to be called (John tells us to do so too :)
12765 (selectionLost): reset sel_cache.
12767 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12769 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12771 * text2.C (setCursorIntern): put debuging code in INSETS channel
12773 2002-03-19 André Pönitz <poenitz@gmx.net>
12775 * lyxfunc.C: tiny whitespace change
12777 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12779 * ToolbarDefaults.C (init):
12780 * LyXAction.C (init):
12782 * BufferView_pimpl.C (Dispatch):
12783 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12785 2002-03-19 Allan Rae <rae@lyx.org>
12787 * exporter.C (Export): removeAutoInsets before doing anything else.
12788 While I've just introduced a dependency on BufferView this really is
12789 the best place to clean the buffer otherwise you need to cleanup in
12790 a dozen places before calling export or cleanup in a dozen functions
12793 * converter.C (runLaTeX):
12794 (scanLog): Better handling of removeAutoInsets and screen updates.
12796 * lyxfunc.C (dispatch): small whitespace changes
12798 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12800 * WorkArea.C (C_WorkAreaEvent): return a value.
12801 (event_cb): return 1 if we handled the event, 0 otherwise.
12803 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12805 2002-03-18 Juergen Vigna <jug@sad.it>
12807 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12808 (GetAdditionalWidth): ditto.
12809 (RightLine): ditto.
12812 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12813 inset if we're there actually (probably not used right now but this
12814 is the direction to go for unifying code).
12815 (paste): disable code to clear the selection.
12817 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12818 inside an InsetText and move the check further up as it is in the
12821 * text2.C (pasteSelection): set a selection over the pasted text.
12823 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12825 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12826 and libgraphics to build on Cygwin.
12828 2002-03-15 Juergen Vigna <jug@sad.it>
12830 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12831 inserting an Inset into the paragraph. I know this is not the best
12832 fix but we already use current_view in CutAndPaste so we will remove
12833 all of it's using at the same time.
12835 * buffer.C (sgmlError): deactivated function till it is rewritten in
12836 the right mode, now it can create problems.
12838 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12839 before accessing it.
12841 2002-03-14 Juergen Vigna <jug@sad.it>
12843 * undo_funcs.C (textHandleUndo): do the right thing when updating
12844 the inset after the undo/redo.
12846 * text2.C (setCursor): just some testcode for #44 not ready yet.
12848 * undo_funcs.C (textHandleUndo): set the next() and previous()
12849 pointers of the paragraph to 0 before deleting otherwise we have
12850 problems with the Paragraph::[destructor].
12852 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12853 on a paragraph insertion.
12855 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12857 * buffer.C (asciiParagraph): use += operator for char append to
12860 * paragraph.C (getFontSettings): compare >= not just >
12861 (highestFontInRange): ditto
12864 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12866 * paragraph.C: change several algorithm to be more appripriate for
12867 the problem domain. This is lookip in FontList and in the InsetList.
12869 2002-03-13 André Pönitz <poenitz@gmx.net>
12872 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12874 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12879 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12881 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12883 * Painter.C (display): anon helper function, adjust code for this
12885 (pixmap): remove function.
12887 * Painter.h: remove private display variable.
12889 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12891 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12893 * WorkArea.[Ch]: remove figinset_canvas cruft.
12895 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12897 * lyxtextclass.C (operator): add one item cache optimization.
12899 * bufferlist.h: doxy changes
12901 * bufferlist.C: ws changes
12903 * DepTable.[Ch] (ext_exist): place const in the right spot.
12905 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12907 (workAreaExpose): call resizeInsets when the with BufferView changes.
12908 (Dispatch): adjust for protectedBlank removal
12909 (specialChar): call updateInset if the insert went ok.
12911 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12912 specialChar instead.
12914 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12916 * BufferView.h: doxy change
12918 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12920 * lyxtextclass.C (operator[]): remove non-const version
12921 (defaultLayout): remove non-const version
12923 2002-03-12 Juergen Vigna <jug@sad.it>
12925 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12926 did resize the LyXText too.
12928 * buffer.C (readLyXformat2): set layout information on newly allocated
12931 * tabular.C (OldFormatRead): set layout information on the paragraph.
12933 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
12935 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12937 2002-03-11 Juergen Vigna <jug@sad.it>
12939 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12941 (resizeCurrentBuffer): force also the insets to resize themselfes.
12942 (moveCursorUpdate): fixed up for InsetText.
12944 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12947 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12948 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12949 value of Dialogs::tooltipsEnabled().
12950 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12952 2002-03-08 Juergen Vigna <jug@sad.it>
12954 * BufferView_pimpl.C (updateInset): update inset inside inset also
12955 if it isn't inside theLockingInset().
12957 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12959 * buffer.C (asciiParagraph): redo some of the word and line length
12961 (getLists): look for Caption instead of caption.
12963 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12965 * buffer.C (Buffer): initialize niceFile to true
12967 (makeLinuxDocFile):
12968 (makeDocBookFile): make sure niceFile is true on exit
12970 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12972 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12974 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12976 * LyXSendto.C: remove.
12977 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12978 * lyx_gui.C: remove now-redundant comment.
12979 * ColorHandler.h: remove forward declaration of class WorkArea.
12980 * lyxfunc.C: remove #include "WorkArea.h".
12982 2002-03-07 Juergen Vigna <jug@sad.it>
12984 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12985 got moved away with the DEPM and also set the inset_owner always
12986 right which before could have been omitted.
12988 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12990 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12991 wanted layout is not found.
12993 2002-03-07 Juergen Vigna <jug@sad.it>
12995 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12997 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12999 * paragraph.C (breakParagraph): use default layout not layout of
13001 (Paragraph): clear ParagraphParameters.
13003 2002-03-06 Juergen Vigna <jug@sad.it>
13005 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13006 otherwise it would not be a valid lenght. Fixed a special case in
13007 the minipage compatibility read where we end the document with a
13010 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13011 was set as it could be 0 for InsetTexts first entry.
13013 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13015 * paragraph.C (writeFile): if layout is empty write out
13016 defaultLayoutName().
13018 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13019 file without named layout we set layout to defaultLayoutName().
13021 2002-03-06 Juergen Vigna <jug@sad.it>
13023 * CutAndPaste.C (copySelection): set layout for new paragraph.
13025 * text.C (prepareToPrint): leave ERT inset left aligned
13026 (leftMargin): don't indent paragraphs inside ERT insets
13028 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13030 * paragraph.C (breakParagraph): dont call clear do the work manually
13032 * paragraph.[Ch] (clear): remove function
13034 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13036 * paragraph.C (Paragraph): dont call clear, the work has already
13039 * lyxtextclass.C (operator): assert if n is empty
13041 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13042 work manually instead.
13044 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13046 * BufferView_pimpl.C: protect selectionLost against text == 0
13048 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13050 * text.C (breakParagraph): fix a setting layout to '0' problem.
13052 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13054 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13055 final location of file, for the included files, and graphics.
13057 2002-03-05 Juergen Vigna <jug@sad.it>
13059 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13061 2002-03-04 Juergen Vigna <jug@sad.it>
13063 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13065 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13066 last column of multicolumn cells.
13067 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13069 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13071 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13072 file if it doesn't go to a temporary file.
13074 * buffer.C (sgmlOpenTag):
13075 (sgmlCloseTag): remove extra newline insertion.
13077 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13079 * text.C (getRowNearY): comment out debug msg
13081 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13083 * text2.C: first -> first_y
13085 * text.C (getRowNearY): add some attemts at a possible
13086 optimization, not working.
13088 * tabular.[Ch]: add BufferParams to several function so that newly
13089 created paragraph can be initialized to he default layotu for the
13092 * tabular-old.C (ReadOld): add buf->params to call of Init
13094 * screen.C: rename text->first to text->first_y
13096 * paragraph.C (breakParagraph): always set layout in the broken
13099 * lyxtextclass.C (Read): remove lowercase
13102 (delete_layout): ditto
13104 * lyxtext.h: rename first -> first_y
13106 * lyxlayout.C (Read): remove lowercase
13109 (obsoleted_by): ditto
13111 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13113 * buffer.C (insertErtContents): add params are to InsetERT
13114 (parseSingleLyXformat2Token): add code to check if a paragraphs
13115 layout really exist.
13116 (parseSingleLyXformat2Token): add params to several inset
13118 (asciiParagraph): remove lowercase, do the layout comparisons with
13121 * BufferView_pimpl.C (cursorNext): first -> first_y
13122 (resizeCurrentBuffer): first -> first_y
13123 (updateScrollbar): first -> first_y
13124 (scrollCB): first -> first_y
13125 (workAreaMotionNotify): first -> first_y
13126 (workAreaButtonPress): first -> first_y
13127 (checkInsetHit): first -> first_y
13128 (cursorPrevious): first -> first_y
13129 (cursorNext): first -> first_y
13130 (Dispatch): add buffer_->params to severl inset contructors
13132 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13134 * lyxlayout.C (Read): remove some debug info that I forgot.
13136 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13137 clean up the code slightly.
13138 (makeLinuxDocFile): ditto
13139 (makeDocBookFile): ditto
13141 * text2.C: layout as string
13143 * text.C: layout as string
13145 * paragraph_pimpl.C: layout as string
13147 * paragraph.[Ch]: layout as string
13149 * lyxtextclasslist.[Ch]: layout as string
13151 * lyxtextclass.[Ch]: layout as string
13153 * lyxtext.h: layout as string
13155 * lyxlayout.[Ch]: layout as string
13157 * lyx_cb.C: layout as string
13159 * bufferview_funcs.C: layout as string
13161 * bufferparams.C: layout as string
13163 * buffer.C: layout as string
13165 * LyXView.[Ch]: layout as string
13167 * LaTeXFeatures.[Ch]: layout as string
13169 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13171 * BufferView_pimpl.C: change current_layout to string, remove
13176 (workAreaButtonRelease): layout as string
13178 * BufferView2.C (unlockInset): adjust
13180 * vspace.C (asLatexCommand): use an explict temp variable.
13182 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13184 * Makefile.am: use FRONTEND_*
13186 2002-03-01 Juergen Vigna <jug@sad.it>
13188 * tabular.C (SetWidthOfMulticolCell): changed to something better
13189 I hope but still work in progress.
13190 (recalculateMulticolumnsOfColumn): renamed function from
13191 recalculateMulticolCells as it is more appropriate now.
13192 (SetWidthOfCell): calculate multicols better.
13194 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13196 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13198 * lyxfunc.C (processKeySym): print sequence also if it is
13199 `deleted' (complete)
13201 * kbsequence.C (print): print sequence even if it is deleted
13202 (complete would be a better word, actually).
13204 * lyxfunc.C (dispatch): print complete options after a prefix key
13206 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13208 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13210 * text2.C (setCharFont): eliminate setCharFont code duplication.
13212 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13214 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13215 LFUN_TABULAR_FEATURE (bug #177)
13217 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13219 * Makefile.am: remove figure.h
13221 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13223 * Bufferview_pimpl.C:
13235 * text2.C: remove #include "lyx_gui_misc.h".
13237 * LaTeX.C: added #include <cstdio>
13239 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13241 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13242 that the paragraph following this one can have.
13244 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13246 * vspace.C (asLatexCommand): fix bogus gcc warning
13248 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13250 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13252 * text2.C (setLayout): get rid of redundant code
13254 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13256 * text2.C (incDepth): make sure depth cannot be increased beyond
13259 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13261 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13262 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13264 * PainterBase.h (image):
13265 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13266 a LyXImage const *.
13268 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13272 * BufferView_pimpl.C:
13273 * BufferView_pimpl.h:
13293 * sp_spell.C: remove fig inset, and the crap house of
13294 cards that follows it
13296 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13301 * os2_errortable.h:
13302 * nt_defines.h: move .h into support/
13304 * vms_defines.h: remove
13306 * WorkArea.C: add space in debug output
13310 * buffer.C: add WITH_WARNINGS
13314 * bufferlist.C: s/retrive/retrieve/, add docs
13323 * chset.C: add docs
13325 * lyxgui.C: add ID to X error handler
13327 * lyxtestclass.c: fix typo
13329 2002-02-26 Juergen Vigna <jug@sad.it>
13331 * tabular_funcs.C (write_attribute): changed so that some default
13332 attributes are not written at all.
13333 (getTokenValue): set default values before trying to read the
13334 value so we have the return value always set as default if we don't
13335 find the token we search for.
13337 * tabular.C (Write): write bools as bools not as strings!
13339 2002-02-22 Juergen Vigna <jug@sad.it>
13341 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13342 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13344 * text.C (leftMargin): don't add an indent for paragraphs inside
13345 tabular cells (fix #208).
13347 2002-02-21 José Matos <jamatos@fep.up.pt>
13349 * tabular.C (docBook): fixed support for long tables.
13351 2002-02-20 Juergen Vigna <jug@sad.it>
13353 * text2.C (getFont): get the drawing font of the Inset if this
13354 paragraph is inside an inset (only important for InsetERT for now).
13356 * buffer.C (insertErtContents): use new lanugage params in ERT
13359 * CutAndPaste.C: commenting out seemingly uneeded code.
13361 2002-02-19 Allan Rae <rae@lyx.org>
13363 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13364 Iterators might be simple to use but they also get invalidated.
13365 (removeAutoInsets): renamed saved cursor tracking variables and added
13366 some comments to clarify what everything does.
13368 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13375 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13376 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13379 * vc-backend.h: remove #include "support/syscall.h"
13383 * converter.C: rearrange #includes in Lars' approved fashion.
13385 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13386 forward declare class Timeout in the header file.
13388 * XFormsView.C: changes due to the above.
13390 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13391 similar to LyXView.
13393 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13394 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13396 2002-02-18 José Matos <jamatos@fep.up.pt>
13398 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13401 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13403 * a lot of small ws changes
13404 * add a lot of using std::XXX
13405 * use std construcs some places where approp.
13406 * use some exisint stuff from lyxfunctional where approp.
13407 * Make file changes to use partial linking (lets test this now...)
13409 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13413 remove #include "support/syscontr.h" as it's redundant. Always has been.
13421 change Systemcalls::System to Systemcalls::Wait and
13422 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13423 No change of functionality, just reflects the stripped down Systemcalls
13426 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13428 * debug.[Ch]: add a GRAPHICS type to the enum.
13430 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13432 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13434 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13437 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13439 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13440 match the changes below.
13442 * text2.C (toggleInset): if there is not editable inset at cursor
13443 position, try to see if cursor is _inside_ a collapsable inset
13446 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13448 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13449 document menu has a nice checkbox
13451 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13453 * lyxlength.C (asLatexString): change PW to output as percent of
13456 * lengthcommon.C: change '%' to 't%'
13458 * lyxfunc.C (dispatch): a few comments from Martin
13460 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13464 * BufferView_pimpl.h:
13465 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13468 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13470 * vspace.C (inPixels): fix compiler warning
13472 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13474 * lyxfunc.C (getStatus): fix status message for disabled commands.
13476 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13478 * BufferView_pimpl.C: fix crash on close buffer
13479 during selection (#227)
13481 2002-01-27 Herbert Voss <voss@lyx.org>
13483 * buffer.C: link old Figure to new graphic inset
13485 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13487 * FontLoader.C (getFontinfo): Change the latex font names in order
13488 to match the names of type1inst.
13490 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13492 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13494 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13495 (extchanged): ditto
13497 (remove_files_with_extension): ditto
13498 (remove_file): ditto
13501 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13502 document is smaller than the work area height. Do not initialize
13503 static variables to 0.
13505 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13507 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13509 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13510 LFUN_LAYOUT_PARAGRAPHS.
13512 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13513 tabular. It is possible to provide a possible cell, which will
13514 typically be the actcell from the corresponding insettabular
13516 * lyxfunc.C (getStatus): small cleanup; disable
13517 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13520 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13522 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13524 * paragraph.C (startTeXParParams):
13525 (endTeXParParams): new methods. The LaTeX code to
13526 start/end paragraph formatting
13527 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13528 empty (fixes bug #200)
13530 * vspace.C (inPixels): adapt to the change below
13531 (inPixels): [later] more cleanups (remove unused variables)
13533 * lyxlength.C (inPixels): change to use a width and a height as
13536 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13538 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13539 Replaced with \paperwidth
13541 * DepTable.C (insert): add std:: qualifier
13543 2002-01-18 Allan Rae <rae@lyx.org>
13545 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13548 * text.C (drawInset): Turned out I didn't know enough about how
13549 rebreaking worked. This fixes most of the redraw problems. I see
13550 an occasional cursor trail when a line is broken now and the cursor
13551 placement can seem out by a few pixels also after a rebreak.
13553 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13555 * buffer.C (parseSingleLyXformat2Token): update because minipage
13556 width is now a LyXLength
13558 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13560 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13563 2002-01-17 Juergen Vigna <jug@sad.it>
13565 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13567 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13568 is set correctly and the inset is updated correctly.
13570 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13572 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13573 the beginning of the loop.
13575 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13577 * lyxrc.C: improve help for use_scalable_fonts
13579 2002-01-17 Allan Rae <rae@lyx.org>
13581 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13583 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13585 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13586 make sure to set their inset_owner to the right value (bug #171)
13588 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13591 * DepTable.C: Implement mtime checking to reduce time spent doing
13594 2002-01-16 Juergen Vigna <jug@sad.it>
13596 * tabular.C (GetAdditionalHeight): one of error fixed.
13598 * lyxrc.C (output): small fix in writing use_pspell.
13600 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13602 * sp_base.h: #include LString.h
13604 2002-01-16 Allan Rae <rae@lyx.org>
13606 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13607 Can someone check this please?
13609 * text.C (drawInset): It was possible that p.row would be removed by
13610 breakAgainOneRow upsetting a few other settings. There may be another
13611 small tweak possible by setting need_break_row = 0 when p.row has been
13612 removed but I don't know enough about the logic here.
13614 2002-01-15 Allan Rae <rae@lyx.org>
13616 * text.C (insertChar): removed conditional truism.
13618 * BufferView2.C (removeAutoInsets): More tweaks.
13619 cur_par_prev could be a stray pointer. Check for trailing empty line
13620 in case last line was cur_par and only had an error inset on it.
13622 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13624 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13627 * vc-backend.C (most methods):
13628 * exporter.C (Export):
13629 * converter.C (convert):
13631 * LyXSendto.C (SendtoApplyCB):
13632 * lyxfunc.C (dispatch):
13636 * lyx_cb.C (AutoSave):
13638 * BufferView_pimpl.C (MenuInsertLyXFile):
13639 * buffer.C (runChktex): use Buffer::filePath().
13641 * buffer.h: rename filename to filename_; rename filepath to
13642 filepath_ and make it private
13643 (filePath): new method
13645 * buffer.C (writeFile): use fileName()
13648 * lyx_main.C (init): fix starting of LyX when the binary is a
13649 link from so,ewhere else.
13651 * minibuffer.C: include <cctype> for isprint
13653 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13655 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13656 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13657 name clash with InsetCollapsable's width function.
13659 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13661 * lastfiles.C: include <iterator>
13663 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13665 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13668 * buffer.C (makeLaTeXFile): ditto.
13669 Also make loop operation more transparent.
13671 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13673 * ToolbarDefaults.C: remove trailing comma closing namespace.
13675 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13677 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13680 * trans.C (Load): comment out unused variable, allowed.
13682 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13684 * minibuffer.[Ch] (append_char): new method to recieve input from the
13685 drop-down completion browser. If a key was pressed, then recieve this
13686 char and append it to the existing string.
13687 (peek_event): modify the positioning data passed to the completion
13688 browser so that it can be placed above the minibuffer rather than below.
13689 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13691 * LyXAction.C (init): alloe error-next for readonly documents.
13693 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13696 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13698 * bufferlist.C (readFile): create the buffer _after_ checking that
13701 * lyxfunc.C (verboseDispatch): fix handling of arguments
13703 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13705 * lyxrc.C: use string::erase() instead of initializing to "".
13708 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13710 * BufferView_pimpl.h:
13711 * BufferView_pimpl.C:
13714 * text2.C: tell X when we have made a selection for copying
13716 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13718 * BufferView_pimpl.C (MenuInsertLyXFile):
13719 * lyxfunc.C (menuNew):
13721 (doImport): add shortcuts to directory buttons
13723 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13726 * lyxfunc.C (setStatusMessage):
13727 (getStatusMessage): new methods
13728 (getStatus):use setStatusMessage instead of setErrorMessage
13729 (dispatch): when function is disabled, set error message here
13730 [instead of in getStatus previously]
13732 * BufferView_pimpl.C (workAreaButtonRelease): update
13733 toolbar/menubar here too.
13735 2002-01-13 Allan Rae <rae@lyx.org>
13737 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13738 Now seems indestructible. Remaining task is to audit all other
13739 code affected by deleteEmptyParagraphMechanism. One small quirk
13740 left is that an empty document with an error in the preamble can
13741 be made to report an error but no error box appears. I don't know
13743 (removeAutoInsets): Improved comments.
13745 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13748 * Thesaurus.C: update for Aiksaurus 0.14
13750 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13752 * text2.C (firstParagraph): removed member function, all uses
13753 replaces with ownerParagraph
13754 (redoParagraphs): here
13755 (updateInset): here
13756 (toggleAppendix): here
13757 * BufferView2.C (insertErrors): here
13758 (setCursorFromRow): here
13760 2002-01-13 Allan Rae <rae@lyx.org>
13762 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13763 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13764 There is still a way to segfault this although you may have to do this
13765 multiple times: Have an InsetERT with an unknown command in it.
13766 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13767 <down-arrow>, <Enter> again, View->DVI, BANG!
13769 * text2.C (setCursor):
13770 (deleteEmptyParagraphMechanism):
13771 * lyxtext.h (setCursor):
13772 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13773 Making use of the return value may help fix other bugs.
13775 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13777 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13779 * LyXView.C (updateMenubar): call MenuBar::update here
13780 (updateToolbar): but not here
13781 (showState): do not update toolbar/menubar
13783 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13784 should need to care about that.
13786 * lyxfunc.C (verboseDispatch): simplify a bit
13787 (getStatus): have a version which takes a pseudoaction, and
13788 another which requires a (kb_action,string).
13790 * LyXAction.C (retrieveActionArg): make it work also when action
13791 is not a pseudo-action.
13792 (getActionName): simplify a bit
13795 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13797 * lyxfunc.C (verboseDispatch): new families of methods with
13798 several ways to specify a command and a bool to indicate whether
13799 the command name and shortcut should be displayed in minibuffer
13800 (eventually, we could extend that to a finer bitmask like
13801 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13802 (dispatch): the pristine dispatch command which just, well,
13803 dispatchs! Note it still sets its result to minibuffer; I'm not
13806 * lyxfunc.h: remove setHintMessage
13808 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13810 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13812 * BufferView_pimpl.C (specialChar): delete new inset if we have
13813 not been able to insert it.
13815 * kbmap.C: revert to using int instead of kb_action, since all we
13816 are dealing with is pseudo-actions.
13818 * LyXAction.C (searchActionArg): change to return int instead of
13819 kb_action, since the result is a pseudoaction.
13821 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13823 * buffer.C (insertErtContents): Fix (partially) the font bug.
13825 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13827 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13828 as the other one is broken on my machine!
13830 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13833 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13835 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13837 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13838 reflect their actual use. Provide compatibility code for older lyxrc
13841 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13843 change names of popup font variables in line with the changes to lyxrc.C
13845 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13847 * buffer.C (asciiParagraph): avoid outputing a word twice after
13850 * lyxrc.C (getDescription): document that document_path and
13851 template_path can be empty.
13853 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13855 * LaTeXFeatures.C (getMacros):
13856 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13858 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13860 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13862 (getPackages): rename feature "floats" to "float". Use an array to
13863 iterate over 'simple' features (i.e. just a \usepackage). Add
13864 handling of "amsmath" (renamed from "amsstyle").
13866 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13868 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13871 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13873 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13874 FuncStaus::FuncStatus & FuncStaus::some_method().
13876 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13878 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13879 of the func_satus stuff. Edited and massaged in various ways by
13882 * lyxfunc.C (getStatus): use FuncStatus
13884 2002-01-08 Juergen Vigna <jug@sad.it>
13886 * text.C (nextBreakPoint): use function Inset::isChar().
13888 * paragraph.C (TeXOnePar): use function
13889 Inset::forceDefaultParagraphs.
13891 * buffer.C (latexParagraphs): use function
13892 Inset::forceDefaultParagraphs.
13894 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13896 * lyx_gui.C (init): set the style of the menu popups to
13897 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13899 2002-01-07 Juergen Vigna <jug@sad.it>
13901 * text.C (setHeightOfRow): small fix
13902 (prepareToPrint): don't look at alignment if we don't have the place
13905 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13907 * box.C: New file. Move the Box methods and functions out of box.h,
13908 following Lars' suggestion.
13910 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13912 * box.h: #include "support/LOstream.h", needed for inlined function.
13915 * lyxtextclasslist.C: added some using std declarations.
13917 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13919 * box.h: make signed dimensions to allow insets wider than
13920 the screen (bug #162)
13922 * BufferView_pimpl.C: add some insetHit debug
13924 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13926 * vc-backend.C: add FIXME
13928 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13930 * lyxfunc.C (getStatus): enable code for showing math font status
13933 2002-01-07 Juergen Vigna <jug@sad.it>
13935 * text.C (nextBreakPoint): removed debug output not needed anymore.
13937 2002-01-06 Juergen Vigna <jug@sad.it>
13939 * text.C (nextBreakPoint): fixed up this function we had this bug
13940 since ever but now hopefully we break row better.
13941 (insertChar): we have to check if an inset is the next char as it
13942 could now happen that a large inset is causing a break.
13944 2002-01-05 Juergen Vigna <jug@sad.it>
13946 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13947 if it doesn't like to be drawed.
13949 2002-01-04 Juergen Vigna <jug@sad.it>
13951 * BufferView2.C (lockInset): forgot to set a cursor.
13953 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13955 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13957 * FormMathsPanel.C:
13960 * form_maths_panel.C:
13961 * form_maths_panel.h:
13962 * form_maths_panel.fd: implemented sub- and super- buttons in math
13965 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13966 (or ^ space) to be used as in TeX (req'd by Andr�.
13968 * lyxfunc.C: Allow ^ and _ again to be used both as
13969 super/subscript (mathed) and as themselves (in text).
13971 2002-01-03 Allan Rae <rae@lyx.org>
13973 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13974 "LyX" or the filename of the current buffer if it has one. This is a
13975 modified form of John Levon's patch.
13977 * XFormsView.C (setWindowTitle): also set icon title.
13979 * LyXView.h (setWindowTitle): signature changed.
13980 * XFormsView.h (setWindowTitle): ditto.
13982 2002-01-02 Juergen Vigna <jug@sad.it>
13984 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13986 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13988 * screen.C (topCursorVisible): introduce a temp var for
13989 text->cursor.row(), handle the case where this row is null. (kindo
13992 * text2.C (setCursor): add a couple of asserts.
13994 * paragraph.h (inset_iterator): add -> operator
13996 * paragraph.[Ch] (autoDeleteInsets): remove member function
13998 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13999 cursor pos correctly and handle inset deletion by itself.
14000 (insertErrors): move iterator declaration out of for expression
14002 * lyxtextclass.C: add <algorithm>
14004 * Makefile.am: added the new files to sources, removed layout.C
14006 * layout.C: removed file
14008 * layout.h: remove LYX_DUMMY_LAYOUT
14010 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14014 * lyxtextclass.[Ch]:
14015 * lyxtextclasslist.[Ch]: new files
14017 * include order changes to a lot of files, also changes because of
14020 2001-12-27 Juergen Vigna <jug@sad.it>
14022 * buffer.C (asciiParagraph): more fixes.
14024 * tabular.C (ascii): make ascii export support export of only the
14025 data separated by a column-delimiter.
14026 (ascii): better support for ascii export.
14028 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14030 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14032 * tabular_funcs.C: use a "using std::getline" instead of the
14033 previous fix from Angus (necessary for cxx + lyxstring)
14035 2001-12-24 Juergen Vigna <jug@sad.it>
14037 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14039 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14040 problems. First check a minipage also if we have some ert-contents
14041 (not only on par->size(), second set the right depth of the paragraph
14042 on the relink to the root-paragraph-list!
14044 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14045 which then did not anymore update the main paragraphs on undo/redo!
14047 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14049 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14050 code. Support all font-changing funcs (even those which are not in
14051 menu currently). Support for reporting font settings in
14052 mathed (disabled until Andre provides a function on mathed's side).
14054 * func_status.h (toggle): small helper function to set toggle
14057 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14059 * tabular_funcs.C: getline -> std::getline
14061 2001-12-21 Juergen Vigna <jug@sad.it>
14063 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14064 accessed and could be 0 (I couldn't generate this but it seems
14067 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14069 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14070 * tabular_funcs.h: here and include iosfwd
14072 2001-12-20 Juergen Vigna <jug@sad.it>
14074 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14075 inside inset but undo_par was.
14077 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14079 * Thesaurus.C: always include <config.h> in sources.
14083 * box.h: do not include <config.h> in header files
14085 * text.C (paintLastRow): remove unused variable
14087 * text.C (transformChar):
14089 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14091 * Painter.C (text):
14092 * font.C (width): rewrite to use uppercase() instead of
14095 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14097 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14099 * lyxfind.C: clean up of find failure position change
14101 2001-12-20 Juergen Vigna <jug@sad.it>
14103 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14105 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14106 (TeXRow): added to LaTeX a single tabular row.
14107 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14108 (Latex): simplified and finally good LT-h/f support.
14109 (various_functions): just small adaptions for LT-h/f support.
14111 * tabular_funcs.[hC]: added and moved here all not classfunctions
14114 2001-12-19 Juergen Vigna <jug@sad.it>
14116 * tabular.[Ch]: better support for longtabular options (not finished
14119 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14121 * text.C (paintLastRow): use the label font instead of the font of
14122 the last character to compute the size of *_BOX. This makes more
14123 sense and avoids a crash with empty paragraphs.
14124 Use Painter::rectangle to draw EMPTY_BOX.
14126 2001-12-19 Juergen Vigna <jug@sad.it>
14128 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14129 the paragraphs if the replaced paragraph is not the first one!
14130 Tried to delete not used paragraphs but does not work yet so for
14131 now it's inside #ifdef's and by default off!
14133 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14135 * MenuBackend.C: include "lyx_main.h" instead of declaring
14136 lastfiles (actually was declared as LastFiles* instead of a
14139 2001-12-17 Juergen Vigna <jug@sad.it>
14141 * tabular.C (AppendColumn): applied John's fix
14143 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14147 * BufferView_pimpl.h:
14148 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14151 * box.h: new start of class for above
14153 * lyxfunc.C: ignore space-only minibuffer dispatches.
14154 Show the command name when it doesn't exist
14156 * minibuffer.C: don't add empty lines to the history
14158 * minibuffer.C: add a space on dropdown completion
14160 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14162 * text.C: fix line above/below drawing in insets
14164 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14166 * lyxlength.C (LyXLength): Initialize private variables.
14168 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14170 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14171 when inserting error insets.
14173 2001-12-13 Juergen Vigna <jug@sad.it>
14175 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14176 actually sometimes the before-paragraph.
14177 (setUndo): don't clear the redostack if we're not actually undoing!
14179 2001-12-06 Juergen Vigna <jug@sad.it>
14181 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14182 and fixed redoing of main paragraph, so we can use it now ;)
14184 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14186 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14188 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14191 2001-12-13 André Pönitz <poenitz@gmx.net>
14194 * undo_func.C: minor cleanup
14196 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14198 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14199 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14200 font in urw-fonts package which is marked as -urw-fontspecific and
14201 does not work (incidentally, changing the encoding in the
14202 fonts.dir of this package to -adobe-fontspecific fixes the
14205 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14206 is a crash when undoing first paragraph (Juergen, please take a
14207 look). THis does not mean the undo fix is wrong, just that it
14210 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14211 the (Paragraph*) version when needed instead of duplicating the
14214 * text.C (workWidth): use Inset::parOwner to find out where the
14215 inset has been inserted. This is a huge performance gain for large
14216 documents with lots of insets. If Inset::parOwner is not set, fall
14217 back on the brute force method
14219 * paragraph_pimpl.C (insertInset):
14220 * paragraph.C (Paragraph):
14221 (cutIntoMinibuffer): set parOwner of insets when
14222 inserting/removing them
14224 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14226 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14232 * mathed/formulabase.C:
14233 * mathed/math_cursor.[Ch]:
14234 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14237 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14239 * lyxlength.[Ch] (operator!=): new function
14241 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14243 * text.C (workWidth): use Inset::parOwner to find out where the
14244 inset has been inserted. This is a huge performance gain for large
14245 documents with lots of insets. If Inset::parOwner is not set, fall
14246 back on the brute force method
14248 * paragraph_pimpl.C (insertInset):
14249 * paragraph.C (Paragraph):
14250 (cutIntoMinibuffer): set parOwner of insets when
14251 inserting/removing them
14253 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14255 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14257 * tabular-old.C (getTokenValue):
14258 * tabular.C (getTokenValue):
14259 (write_attribute): new versions for LyXLength
14260 (everywhere): adjust the use of widths
14262 * tabular.h: change the type of widths from string to LyXLength
14264 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14266 * paragraph.C: fixed missing line number count when exporting
14267 Environments to LaTeX file
14269 * buffer.C: added informational message for checking line numbers.
14271 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14273 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14274 paragraph, do the 'double space' part, but not the 'empty
14277 * text.C (workWidth): small optimization
14278 (getLengthMarkerHeight): use minimal size for negative lengths.
14280 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14282 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14284 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14286 2001-12-11 André Pönitz <poenitz@gmx.net>
14289 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14291 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14293 * text2.C: keep selection on a setFont()
14295 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14297 * lyx_cb.C: another bv->text misuse, from insert label
14299 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14302 * kbsequence.C: re-instate nmodifier mask
14304 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14306 * lyx_main.h: make lyxGUI private.
14308 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14310 * lyxfind.C: place the cursor correctly on failed search
14312 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14314 * text.C (getLengthMarkerHeight): for small heights, the arrows
14315 are not always on top/bottom of the text
14316 (drawLengthMarker): smaller arrows; take the left margin in
14317 account; draw also vfills.
14319 (paintLastRow): remove special code for vfill and standard spaces,
14320 since everything is handled in drawLengthMarker now.
14322 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14324 * buffer.C (insertErtContents): try to handle font and language
14325 interaction a bit better.g
14327 * ColorHandler.C (updateColor): change the hash to cover the whole
14328 LColor enum, ws cleanup
14329 (getGCLinepars): ditto
14330 (getGCLinepars): only lookup in the linecache once.
14332 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14334 * iterators.C (operator++): Make the iterator more robust
14336 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14338 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14340 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14343 * text.C: better added space drawing
14345 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14348 * BufferView2.C: fix layout combo update on inset unlock
14350 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14352 * Makefile.am: don't compile unused files
14354 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14358 * LyXAction.C: remove old LFUN_LAYOUTNO
14360 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14362 * paragraph_pimpl.h:
14363 * paragraph_pimpl.C: isTextAt() doesn't need font param
14365 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14368 * lyxlex.C: little cleanup
14370 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14372 * BufferView_pimpl.C: fix insertAscii for insets
14374 2001-12-05 Juergen Vigna <jug@sad.it>
14376 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14377 set the right font on the "multi" paragraph paste!
14379 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14385 * lyxlength.C: remove out-commented code.
14387 * BufferView_pimpl:
14401 * vc-backend.C: change "while(" to "while ("
14403 * lyxlength.[Ch]: add zero function to check if length is zero or
14405 * lyxgluelength.C: use it
14407 2001-12-05 Allan Rae <rae@lyx.org>
14409 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14410 Works for 2.95.3, from what I understand of Garst's reports this should
14411 work for other g++ versions. We're screwed if the abs(int) definition
14412 changed between bugfix releases of gcc.
14414 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14416 * text.C: fix chapter label offset !
14418 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14421 * text.C: fix hfill at end of line, clean up
14423 2001-12-04 Juergen Vigna <jug@sad.it>
14425 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14426 that we force an update of the inset and it's owners if neccessary.
14428 2001-12-03 Juergen Vigna <jug@sad.it>
14430 * text.C (rowLast): simplified code
14432 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14434 * lyxfunc.C: fix show options on timeout
14436 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14438 * screen.C (topCursorVisible): scroll half a page when the cursor
14439 reached top of bottom of screen
14441 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14443 * minibuffer.C: deactivate on loss of focus
14445 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14447 * vspace.[Ch] (operator!=): add operator.
14449 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14451 * BufferView_pimpl.C: refuse to open an inset when
14452 there's a selection.
14454 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14456 * BufferView_pimpl.C: allow to click on RHS of full row insets
14458 2001-11-30 Juergen Vigna <jug@sad.it>
14460 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14461 insets for undo reasons.
14463 2001-11-28 André Pönitz <poenitz@gmx.net>
14465 * vspace.[Ch]: cosmetical changes
14467 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14477 * kbsequence.C: part re-write of old kb code
14480 * WorkArea.C: remove Lgb_bug_find_hack
14482 2001-11-30 José Matos <jamatos@fep.up.pt>
14484 * buffer.C (makeDocBookFile): add a comment to point a hack.
14485 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14486 Fixed a double write of labels.
14488 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14491 * LaTeX.h Fixed bug in LaTeX class where it would not
14492 re-run latex if no depfiles were changed, but the .dvi was removed.
14494 2001-11-28 André Pönitz <poenitz@gmx.net>
14496 * all the files from the change on 2001/11/26:
14497 use lyx::layout_type instead of LyXTextClass::size_type
14498 use lyx::textclass_type instead of LyXTextClassList::size_type
14500 2001-11-29 Juergen Vigna <jug@sad.it>
14502 * text.C: added support for paragraph::isFreeSpacing()
14504 * buffer.C: same as above
14506 * paragraph.h: inserted isFreeSpacing() function to enable
14507 FreeSpacing inside InsetERT.
14509 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14510 of the paragraph's in the cut/copy buffer to 0!
14512 * text2.C (removeRow): remove the assert as it can!
14514 * lyxtext.h: added helper function firstRow returning firstrow and
14515 made firstrow private again.
14517 * BufferView2.C (lockInset): don't relock if we're already locked!
14519 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14520 the only paragraph.
14521 (removeRow): added Assert::(firstrow)
14523 * debug.C: forgot to add INSETTEXT here.
14525 2001-11-28 Juergen Vigna <jug@sad.it>
14527 * sp_spell.C (initialize): changed error text to more general
14528 spellchecker command use (not only ispell!)
14530 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14532 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14534 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14536 * vspace.C: initialise lyxgluelength on failure
14538 2001-11-28 Allan Rae <rae@lyx.org>
14540 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14541 declaration & definition that looks like a function declaration.
14543 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14545 * BufferView2.C (copy):
14546 (copyEnvironment): do not clear the selection when doing a copy.
14548 * text.C (paintFirstRow): compilation fix
14550 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14552 * tabular.C (Latex): correct line count when writing latex.
14554 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14556 * paragraph_pimpl.h:
14557 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14560 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14564 * LColor.C: change vfillline->added_space
14566 * text.C: add markers and text for added space
14568 * vspace.C: fix comment
14570 2001-11-28 André Pönitz <poenitz@gmx.net>
14572 * paragraph.C: whitespace changes
14573 * all the other files from the change on 2001/11/26:
14574 change *::pos_type into lyx::pos_type
14576 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14578 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14579 language of the document when inserting error insets.
14581 2001-11-26 André Pönitz <poenitz@gmx.net>
14583 * BufferView_pimpl.[Ch]:
14591 * paragraph_pimpl.[Ch]:
14594 * text2.C: reduce header dependencies, introduce type for positions
14596 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14598 * <various>: change to use Alert.h
14600 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14602 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14603 when encountering an unknown token.
14604 (readLyXformat2): Show an error message if there were unknown tokens.
14606 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14609 * BufferView_pimpl.C:
14613 * text2.C: use par->isInset()
14615 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14617 * paragraph_pimpl.h:
14618 * paragraph_pimpl.C: cleanup
14620 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14622 * text2.C (removeRow):
14623 * text.C (setHeightOfRow): remove useless (and costly) call to
14626 2001-11-20 Allan Rae <rae@lyx.org>
14628 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14629 Now need Inset*::checkInsertChar() to return true for appropriate
14630 cases so that the characters in the minibuffer will actually be
14633 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14635 * text.C: change the order of the includes.
14636 (workWidth): initialize it at once.
14637 (workWidth): make maxw unsigned
14638 (setHeightOfRow): remove unused variable (inset)
14639 (selectSelectedWord): remove unused variable (inset)
14640 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14642 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14644 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14645 server is not running.
14647 (closeConnection): add debug info when server is disabled.
14649 * ColorHandler.C (getGCForeground): send debug message to GUI
14652 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14654 * kbmap.C (bind): modify because return conventions of
14655 kb_sequence::parse have changed.
14657 * kbsequence.C (parse): only ignore spaces and not any stupid
14658 control character. This avoids tests like s[i] <= ' ', which are
14659 guaranteed to fail with 8bit characters and signed chars.
14660 Change return code to string::npos when there have been no error
14661 (0 was a bad idea when error is at first character)
14663 2001-11-14 José Matos <jamatos@fep.up.pt>
14666 * buffer.C (simpleDocBookOnePar): removed unused argument.
14668 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14670 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14671 insets which are part of a word. Paragraph::isLetter takes care of
14672 that now. Use Paragraph::isInset to identify insets.
14673 (selectSelectedWord): do not test for hyphenation break.
14675 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14676 that protected spaces are considered as spaces.
14678 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14681 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14684 * lyxserver.C: fix it. and small cleanup.
14686 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14688 * BufferView_pimpl.C: use inline helpers
14691 * LaTeXFeatures.C: fix typos
14694 * Spacing.C: move spacing_string into class
14696 * ToolbarDefaults.C: move stuff into namespace anon
14698 * layout.h: update enum
14700 * lyxfunc.C: use better debug
14702 * minibuffer.h: fix typo
14706 * WorkArea.C: add and use Debug::WORKAREA
14710 * text2.C: code re-organisation, inline helpers
14712 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14714 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14715 std::vector.empty().
14717 2001-11-09 Allan Rae <rae@lyx.org>
14719 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14720 '\n's after tables. Tabular and ERT inset work now makes this no
14723 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14726 * minibuffer.C: fix crash, improve drop-down completion
14728 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14731 * lyxserver.C: invalidate fd's when doing endPipe()
14733 2001-11-08 José Matos <jamatos@fep.up.pt>
14735 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14736 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14739 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14741 2001-11-07 José Matos <jamatos@fep.up.pt>
14744 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14747 * buffer.C (sgmlOpenTag):
14748 * buffer.C (sgmlCloseTag): removed debug info.
14750 * buffer.h (sgmlOpenTag):
14751 * buffer.h (sgmlCloseTag): made public.
14753 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14755 * buffer.C (saveParamsAsDefaults):
14756 * lyx_cb.C (MenuLayoutSave): remove
14758 * LyXAction.C (init):
14760 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14762 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14764 * buffer.C (setPaperStuff): removed from here...
14766 * bufferparams.C (setPaperStuff): ... and moved there.
14768 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14772 * XFormsView.C: add support for drop-down completion
14774 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14776 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14779 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14781 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14784 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14786 * lyx_main.C: change ref to known bugs
14788 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14790 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14791 to work around older babel problems.
14793 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14795 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14797 2001-10-24 Juergen Vigna <jug@sad.it>
14799 * tabular-old.C (ReadOld): below variable changes reflected.
14801 * tabular.[Ch]: added ltType struct for longtable header/footer
14802 defines and changed all instances where they are used. Added
14803 future support for double top/bottom rows.
14805 2001-10-24 José Matos <jamatos@fep.up.pt>
14807 * buffer.h (docbookHandleCaption):
14808 * buffer.C (docbookHandleCaption): removed unused function.
14809 (makeDocBookFile): moved docbook supported version to v4.1.
14811 2001-10-24 José Matos <jamatos@fep.up.pt>
14814 * tabular.C (docbookRow): new function to export docbook code of a row.
14815 (DocBook): now honors the longtable flags.
14817 2001-10-23 José Matos <jamatos@fep.up.pt>
14820 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14821 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14823 * buffer.C (makeLinuxDocFile):
14824 (makeDocBookFile): reworked the preamble, more clean, and with
14825 support for lyx defined entities. Changed the document declaration
14826 to be more XML friendly.
14828 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14829 if we need to output XML that should be done with a filter.
14831 2001-10-22 Juergen Vigna <jug@sad.it>
14833 * sp_pspell.h (class PSpell): add alive function needed in the
14834 controller to see if the spellchecker could be started.
14836 2001-10-22 Juergen Vigna <jug@sad.it>
14838 * buffer.C (insertStringAsLines): modify the font for inserting
14839 chars in certain conditions by calling checkInsertChar(font).
14841 2001-10-19 Juergen Vigna <jug@sad.it>
14843 * text.C (workWidth): use getRow instead of wrong algorithm.
14844 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14846 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14851 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14853 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14855 * text.C (workWidth): do not search for the exact row when
14856 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14857 optimization for big documents.
14859 2001-10-18 Juergen Vigna <jug@sad.it>
14861 * text.C (workWidth): new function with added Inset * parameter.
14863 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14865 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14867 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14868 change return type of getColumnNearX.
14871 * text.C (changeRegionCase): use uppercase/lowercase instead of
14874 (rightMargin): simplify code by factoring out the uses of
14879 (appendParagraph): use Paragraph::size_type
14881 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14883 * vspace.C (asLatexString): add a missing break
14885 2001-10-15 Herbert Voss <voss@perce.de>
14887 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14889 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14891 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14894 2001-10-10 André Pönitz <poenitz@gmx.net>
14896 * lyxfunc.C: removed greek_kb_flag.
14898 2001-10-10 Herbert Voss <voss@perce.de>
14900 * lyx_main.C: delete global string help_lyxdir.
14902 2001-10-09 Herbert Voss <voss@perce.de>
14904 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14906 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14908 * lyx_main.C: added global string help_lyxdir.
14910 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14912 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14914 * lyxrc.C (set_font_norm_type): support iso8859-4
14916 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14918 * LaTeX.C (deplog): add another regex for MikTeX
14920 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14922 * lyxrc.C (set_font_norm_type): support iso8859-3
14924 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14926 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14928 * LaTeXFeatures.C: remove special case of french and index
14930 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14931 before \begin{document}). This solves several incompatibilities.
14933 2001-10-03 Garst Reese <reese@isn.net>
14935 * lyx_cb.C: change CheckTex error msg.
14937 2001-10-03 José Matos <jamatos@fep.up.pt>
14939 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14941 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14943 * .cvsignore: update
14945 * lyx_main.C (commandLineVersionInfo): use new style version info.
14947 * buffer.C (writeFile):
14949 (makeLinuxDocFile):
14950 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14952 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14954 * version.h: update to use stuff in version.C
14956 * version.C.in: new file. Contains version information determined
14957 at compile time. This is a merging of version.h and
14960 2001-10-03 Juergen Vigna <jug@sad.it>
14962 * BufferView_pimpl.C (update): don't change "dirty" status in
14965 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14967 * WorkArea.C (c-tor): re-position version string slightly.
14969 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14971 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14972 revert to previous code.
14974 WorkArea.[Ch]: (show, destroySplash): methods removed.
14976 WorkArea.C: rework code so that it's an amalgam of the codes before and
14977 after the splash screen was moved to WorkArea.
14979 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14982 * vspace.C (inPixels):
14985 * buffer.C (insertStringAsLines):
14986 (asciiParagraph): fix types to be large enough
14988 * lyxlex_pimpl.h: change member status from short to int
14990 * layout.h: fix type of endlabeltype
14993 * kbsequence.C (parse): change return type to string::size_type
14995 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14998 * Bullet.C (bulletSize):
14999 (bulletEntry): do not use short ints as parameters
15001 * BufferView2.C (insertLyXFile): change a char to an int.
15003 * WorkArea.C (WorkArea): remove unneeded floats in computation
15005 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15007 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15009 * paragraph.C (asString): Do not ignore newline/hfill chars when
15010 copying to the clipboard.
15012 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15014 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15015 after a multi-line inset.
15017 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15019 * paragraph.C (validate): Set NeedLyXFootnoteCode
15021 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15023 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15024 and decrease-error to decrease.
15026 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15028 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15029 it more readable (should be equivalent)
15031 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15033 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15035 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15037 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15038 of a cursor (row, etc.) after a character has been deleted
15039 (deleteEmptyParagraphMechanism): call the method above on _all_
15040 cursors held by the LyXText when a double space has been
15043 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15045 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15047 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15049 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15050 background. Use greyOut() and the new show() methods to toggle between
15051 the foreground and background. Add code to remove the splash after
15052 its initial showing.
15054 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15055 (create_forms): no longer call Dialogs::showSplash.
15057 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15059 * .cvsignore: add version_info.h
15061 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15063 * version_info.h.in: new file
15065 * Makefile.am: add version_info.h.in
15067 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15068 version_info.h instead of VERSION_INFO
15070 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15072 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15073 The ERT inset now returns string().
15075 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15077 * lyxtext.h, text.C (selectNextWord): renamed as
15078 selectNextWordToSpellcheck.
15080 * text.C (selectNextWordToSpellcheck): Modified to not select
15081 words inside an ERT inset.
15083 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15085 * lyx_cb.C (MenuLayoutSave): change a bit the question
15087 * sp_base.h: include <sys/types.h>
15089 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15091 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15093 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15095 * several files: fix typos in user-visible strings
15097 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15099 * text2.C (pasteSelection): do not set the selection, since it
15100 will be cleared later. Actually, the intent was to fix the way the
15101 selection was set, but I figured rmoving the code was just as good.
15103 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15105 * FontLoader.C (available): Check if font is available without
15108 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15110 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15112 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15114 * lyxrc.[Ch]: added display_graphics variable and associated code.
15116 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15118 * bufferparams.C (hasClassDefaults): new method. Returns true if
15119 the buffer parameters correspond to known class defaults
15121 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15123 * XFormsView.C (show): set minimum size to the main window.
15125 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15127 * text2.C (copySelection):
15129 * lyxfind.C (LyXReplace):
15130 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15131 LyXText::selectionAsString.
15133 * paragraph.C (asString): add "label" argument to the second form
15135 * text2.C (selectionAsString): add "label" argument and pass it to
15136 Paragraph::asString.
15138 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15140 * lyx_main.C (commandLineHelp): remove version information
15142 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15144 * lyx_main.C: add -version commandline option
15146 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15148 * paragraph.h: make the optional constructor arg required instead.
15149 some modifications to other files because of this.
15151 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15153 * lyxserver.C (C_LyXComm_callback): make it static
15155 * lyx_main.C (error_handler): make it static
15157 * lyx_gui.C (LyX_XErrHandler): make it static
15159 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15161 * WorkArea.C: make the extern "C" methods static.
15163 * Makefile.am (lyx_LDADD): simplify
15165 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15167 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15168 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15170 * LyXAction.C (init):
15171 * lyxfunc.C (dispatch): associated code removal.
15173 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15175 * lyxfont.h (isSymbolFont): shut off warning
15177 * text.C (setHeightOfRow):
15178 (getVisibleRow): fix crash with empty paragraphs which have a
15181 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15183 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15186 2001-09-04 José Matos <jamatos@fep.up.pt>
15189 * tabular.C (docbook): rename docBook method to docbook.
15191 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15193 * Makefile.am: add dependencies to main.o.
15195 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15197 * FontLoader.C (available): Return false if !lyxrc.use_gui
15199 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15201 * FontInfo.C (query):
15202 * converter.C (view):
15203 * importer.C (Import):
15204 * exporter.C (Export): Can not -> cannot.
15206 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15208 * BufferView_pimpl.C: allow to create index inset even if
15211 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15213 * buffer.C (getLists): replace boost::tie code with an explicit pair
15214 as boost::tie can break some compilers.
15216 * iterators.h: Added a std:: declaration to the return type of
15219 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15221 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15224 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15226 * iterators.[Ch]: New files. Provide paragraph iterators.
15228 * buffer.C (changeLanguage): Use paragraph iterators.
15229 (isMultiLingual): ditto
15231 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15233 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15235 * FontLoader.C: Support for cmr font.
15237 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15239 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15240 (available): New method.
15242 * FontInfo.C (getFontname): Use scalable fonts even when
15243 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15246 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15248 * converter.C (Formats::view): reverted! Incorrect fix.
15250 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15252 * converter.C (Formats::view): only output the -paper option
15253 if the dvi viewer is xdvi, thereby fixing bug #233429.
15255 2001-08-23 Herbert Voss <voss@perce>
15257 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15259 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15261 * Spacing.h (Spacing): Set space to Default on in the default
15264 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15266 * vc-backend.h (RCS::versionString): add RCS to version
15267 (CVS::versionString): add CVS to version
15269 * vc-backend.C (scanMaster): do not add CVS to version.
15270 (scanMaster): do not add RCS to version
15272 * lyxvc.C (versionString): new method
15274 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15276 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15278 * Spacing.C (set): initialize fval
15280 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15282 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15285 2001-08-16 Juergen Vigna <jug@sad.it>
15287 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15289 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15291 * BufferView_pimpl.C:
15294 * text2.C: setParagraph takes linespacing now
15296 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15298 * LyxAction.C: add internal LFUN_CITATION_INSERT
15300 * LyXView.C: actually apply fix
15302 * bufferlist.C: fix open non-existent file
15304 * lyxfind.C: fix indentation
15306 * lyxfunc.C: remove unneeded assert, fix typo
15308 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15310 * MenuBackend.C: use "Floatname List"
15312 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15314 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15315 when converting LaTeX layout to insetERT.
15316 Generate a non-collapsed float when reading old float
15318 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15320 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15323 2001-08-13 Juergen Vigna <jug@sad.it>
15325 * text.C (fill): return 0 instead of 20 as this seems to be the more
15328 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15330 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15333 2001-08-13 Juergen Vigna <jug@sad.it>
15335 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15337 (SearchBackward): comment out the unlocking of the inset_owner this
15338 should not be needed!
15340 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15342 * Many files: Remove inherit_language, and add latex_language
15344 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15345 collapsible insets.
15347 2001-08-10 Juergen Vigna <jug@sad.it>
15349 * text.C (prepareToPrint): fixed hfill-width in draw!
15351 * BufferView2.C (selectLastWord): save the selection cursor as this
15352 now is cleared in the function LyXText::clearSelection!
15354 2001-08-08 Juergen Vigna <jug@sad.it>
15356 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15357 BACKSPACE type functions.
15359 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15360 is only cutted from the document but not put in the cut-buffer, where
15361 still the old stuff should be.
15363 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15365 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15367 * tabular.C (SetWidthOfCell): fixed special case where the width
15369 (LeftLine): handle '|' in align_special.
15371 (LeftAlreadyDrawed): ditto
15372 (SetWidthOfCell): ditto
15374 2001-08-07 Juergen Vigna <jug@sad.it>
15376 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15378 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15380 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15381 * lyxlex.[hC]: ditto
15383 2001-08-06 Juergen Vigna <jug@sad.it>
15385 * text.C (getVisibleRow): fix up row clearing a bit.
15387 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15389 * minibuffer.C: make sure the X server sees the changes in the input.
15391 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15393 * paragraph.C (getFont): split into...
15394 (getLabelFont): this
15395 (getLayoutFont): and this
15396 * paragraph_pimpl.C (realizeFont): calling this
15398 * text2.C (getFont): split into...
15399 (getLayoutFont): this
15400 (getLabelFont): and this
15401 (realizeFont): all three calling this
15403 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15406 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15408 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15410 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15412 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15413 layouts from the Quote inset insertion.
15415 2001-08-03 Juergen Vigna <jug@sad.it>
15417 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15419 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15420 only if status not is already CHANGED_IN_DRAW (second level).
15422 * text.C (draw): don't set the need_break_row when inside an
15425 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15427 * buffer.C (parseSingleLyXformat2Token): handle more latex
15430 * bufferview_funcs.[hC]: change function names to
15431 begin with small char, adjust other files.
15433 2001-08-02 André Pönitz <poenitz@gmx.net>
15436 BufferView_pimpl.C: remove broken special code for math-greek
15438 2001-08-02 Juergen Vigna <jug@sad.it>
15440 * BufferView_pimpl.C (update): redone this function so that we
15441 update the text again if there was a CHANGE_IN_DRAW.
15443 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15444 (drawFromTo): added a new internal bool which is used by draw() and
15446 (general): some cursor drawing problems fixed.
15448 2001-08-01 Juergen Vigna <jug@sad.it>
15450 * lyxfind.C (LyXFind): fixed
15451 (SearchForward): ditto
15452 (SearchBackward): ditto
15454 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15455 spurius drawing of the cursor in the main area.
15457 * text2.C (status): small fix which could lead to a segfault!
15458 (clearSelection): remove unneeded BufferView param.
15460 2001-08-01 André Pönitz <poenitz@gmx.net>
15462 * lyxfunc.C: small change due to changed mathed interface
15464 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15466 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15468 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15470 * lyxfunc.c: fail gracefully if file doesn't exist
15475 * BufferView_pimpl.C: IsDirWriteable() proto changed
15477 * LyXView.C: fix updateWindowTitle() to store the last title
15479 2001-07-31 Juergen Vigna <jug@sad.it>
15481 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15482 the font (wrong since using of Paragraph::highestFontInRange).
15484 * paragraph.C (highestFontInRange): added a default_size parameter.
15486 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15487 (setHeightOfRow): reformat
15489 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15491 * converter.[hC] + affected files: move to (inital-char)lowercase
15494 * ParagraphParameters.C (ParagraphParameters): remove commented code
15496 * PainterBase.[Ch]: remove commented code
15498 * LaTeXFeatures.h: add "bool floats" for float.sty
15500 * LaTeXFeatures.C (LaTeXFeatures): init floats
15501 (require): handle float
15502 (getPackages): do it with floats
15504 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15506 * BufferView_pimpl.C (Dispatch): improve handling of
15507 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15509 * commandtags.h: #include lyxfont.h here temporarily to avoid
15512 * bufferlist.h: include LString.h here.
15514 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15516 * text2.C (getStringToIndex): new method.
15518 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15520 * *: Reduced header file dependencies all over.
15522 2001-07-30 Baruch Even <baruch@lyx.org>
15524 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15526 2001-07-29 Baruch Even <baruch@lyx.org>
15528 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15530 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15532 * ParameterStruct.h (endif): add a default constructor to make
15533 sure that all variables is initialized.
15535 * ParagraphParameters.C (ParagraphParameters): adjust
15537 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15539 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15540 index; also, check that there is something to index, and that it
15541 does not span over several paragraphs.
15542 (doubleClick): use WHOLE_WORD_STRICT for double click.
15544 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15546 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15549 2001-07-26 Baruch Even <baruch@lyx.org>
15551 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15552 an InsetFig figure, backwards compatible reading of old figure code.
15554 2001-07-27 Juergen Vigna <jug@sad.it>
15556 * text2.C: font.realize function adaption.
15558 * text.C (draw): add a warnings lyxerr text if needed.
15560 * layout.C: font.realize function adaption.
15562 * language.C: add inherit_language and implement it's handlings
15564 * bufferview_funcs.C (StyleReset): remove language parameter from
15565 font creation (should be language_inherit now).
15567 * bufferparams.C (writeFile): handle ignore_language.
15569 * paragraph.C (getFontSettings): the language has to be resolved
15570 otherwise we have problems in LyXFont!
15572 * lyxfont.C (lyxWriteChanges): added document_language parameter
15573 (update): removed unneeded language parameter
15575 * paragraph.C (validate): fixed wrong output of color-package when
15576 using interface colors for certain fonts in certain environments,
15577 which should not seen as that on the final output.
15579 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15581 * BufferView_pimpl.C:
15586 * LyXAction.C: add thesaurus support
15589 * lyxfind.C: add "once" parameter, for thesaurus, to not
15590 move to the next match
15592 2001-07-26 Juergen Vigna <jug@sad.it>
15594 * lyxfont.C (realize): honor ignore_language too!
15597 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15599 * text.C (draw): one place more for ignore_language to not draw
15602 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15604 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15606 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15608 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15609 the minipage conversion problem.
15611 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15613 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15616 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15618 * BufferView.h: don't forward declare WorkArea
15620 * BufferView.C: don't include WorkArea.h
15622 2001-07-25 André Pönitz <poenitz@gmx.net>
15626 * lyxfunc.C: new LFUN 'math-space'
15628 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15630 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15632 * text2.C (toggleInset): call open/close
15634 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15636 * lyxfunc.C (dispatch): add debug for the disabled case
15638 * font.C (buttonText): make similar to rectText
15640 * buffer.C (readInset): comment out parsing of insetlist and
15643 * PainterBase.C (rectText): small correction
15645 * BufferView_pimpl.C: comment out insettheorem and insetlist
15646 * LyXAction.C: ditto
15647 * commandtags.h: ditto
15649 2001-07-24 Juergen Vigna <jug@sad.it>
15651 * text.C (draw): honor the ignore_language.
15653 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15655 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15657 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15660 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15662 * lyxtext.h: remove unused (and unimplemented) methods
15664 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15666 * text.C (getVisibleRow): honor background color
15669 * Painter.h: remove default color argument for fillRectangle
15671 * text.C (backgroundColor): new method
15673 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15675 * text.C (getVisibleRow): adjust
15677 * font.[Ch] (rectText): new method, metrics
15678 (buttonText): new method, metrics
15680 * PainterBase.[hC]: make rectText and buttonText always draw and take
15683 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15685 * ToolbarDefaults.C (read):
15686 * MenuBackend.C (read): allow escaping in all strings
15688 * BufferView_pimpl.C (insertAndEditInset): new method.
15689 (Dispatch): use insertAndEditInset whenever appropriate.
15691 * BufferView_pimpl.C (insertNote): removed
15693 * BufferView_pimpl.C (smartQuote): new method, moved from
15694 BufferView; if an insetquote cannot be inserted, insert a '"'
15697 * BufferView2.C: remove insertCorrectQuote();
15699 * lyxfunc.C (getStatus): Add support for all remaingin
15700 inset-insert lfuns.
15702 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15704 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15705 command (necessary to pass " as parameter of self-insert.
15707 * text.C (selectWordWhenUnderCursor):
15708 (selectWord): add word_location parameter
15709 (selectWordWhenUnderCursor): same + remove special code for word
15711 (selectNextWord): use kind() to guess type of insetspecialchar,
15714 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15715 (insertErtContents): create ert insets as collapsed.
15716 (readInset): better compatibility code for Info inset.
15718 2001-07-20 Juergen Vigna <jug@sad.it>
15720 * lyxfunc.C (dispatch): use always LyXFind now!
15722 * text2.C (init): add a reinit flag so that the LyXText can be
15723 reinited instead of deleted and reallocated (used in InsetText).
15725 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15731 2001-07-18 Juergen Vigna <jug@sad.it>
15733 * text.C (selectNextWord): handle insets inside inset by calling
15734 always the bv->text functions so that we can go up the_locking_inset!
15736 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15737 in strange locations when inside an inset!
15739 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15740 handling to include insets.
15742 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15744 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15746 * LyXAction.C (init):
15748 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15749 LIGATURE_BREAK, since the name is so stupid.
15751 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15753 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15756 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15758 * sp_form.[Ch]: remove.
15760 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15762 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15765 * src/buffer.C (readInset): ditto.
15767 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15769 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15770 menuSeparator(), endOfSentenceDot(), ldots() and
15771 hyphenationPoint(), which are therefore removed.
15772 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15774 * LyXAction.C (init):
15775 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15777 * paragraph.C (getWord): removed.
15779 * BufferView_pimpl.C (Dispatch): use last word or selection for
15780 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15782 * lyx_main.C (queryUserLyXDir): do not ask before creating
15783 user_dir, except if it has been named explicitely.
15785 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15787 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15788 a document of zero size.
15790 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15792 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15793 approriately in the c-tor and in require().
15794 (getPackages): output the appropriate LaTeX for natbib support.
15796 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15797 variables "use_natbib" and "use_numerical_citations" when reading the
15799 (readInset): read the various natbib cite commands.
15800 (validate): white-space change.
15802 * bufferparams.[Ch]: new variables "bool use_natbib" and
15803 "bool use_numerical_citations".
15804 (writeFile): output them in the LyX file.
15806 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15808 * lyxfunc.C (getStatus): add support for all the inset insertion
15811 * text2.C (insertInset):
15812 * paragraph.C (insetAllowed):
15813 * BufferView_pimpl.C (insertInset): update to take in account the
15814 renaming of insertInsetAllowed
15816 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15818 * text2.C (getInset): new method. returns inset at cursor position.
15820 * BufferView_pimpl.C (Dispatch): changes because of this.
15822 * LyXAction.C (init): rename open-stuff to inset-toggle.
15824 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15826 * text2.C (toggleInset): renamed from openStuff; use
15829 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15831 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15833 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15835 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15837 * buffer.C (readLyXformat2): Add filename to the error dialog
15839 2001-07-18 Juergen Vigna <jug@sad.it>
15841 * tabular.C (GetCellNumber): put an assert here instead of the check!
15843 2001-07-17 Juergen Vigna <jug@sad.it>
15845 * BufferView_pimpl.C (toggleSelection): adapted too.
15847 * text.C (selectNextWord): adapted for use with insets.
15848 (selectSelectedWord): ditto
15850 2001-07-17 Juergen Vigna <jug@sad.it>
15852 * sp_spell.C (PSpell): fix initialitation order.
15854 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15856 * paragraph.C: spacing
15858 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15860 * sp_spell.C: repair language selection for pspell
15862 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15864 * lyxfunc.h: change more methods to begin with lower char.
15866 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15868 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15869 for unknown layouts.
15871 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15873 * buffer.C (readLyXformat2): Generate an error dialog if there are
15876 2001-07-16 Juergen Vigna <jug@sad.it>
15878 * sp_spell.C: always compile ISpell part.
15880 * lyxrc.C: added use_pspell entry and it's handling.
15882 2001-07-13 Juergen Vigna <jug@sad.it>
15884 * sp_spell.C: removed double includes.
15886 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15888 Consistent use of Lsstream.h:
15889 * Lsstream.h: added using std::stringstream for consistencies sake.
15891 * buffer.C: removed using std::stringstream
15893 * lyxfont.C (stateText):
15894 * paragraph.C (asString):
15895 * text.C (selectNextWord, selectSelectedWord):
15896 * text2.C (setCounter):
15897 * vspace.C (asString, asLatexString):
15898 std::ostringstream -> ostringstream.
15900 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15902 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15903 * commandtags.h: add LFUN_HELP_ABOUTLYX
15904 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15906 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15908 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15910 * lyx_gui_misc.C: remove spellchecker
15911 * lyxfunc.C: showSpellchecker
15913 * sp_ispell.h: added
15914 * sp_pspell.h: added
15915 * sp_spell.C: added
15916 * sp_form.[Ch]: removed
15917 * spellchecker.[Ch]: removed
15919 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15921 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15923 (simpleTeXSpecialChars): Simply print the input character without
15924 any special translation if pass_thru is set.
15926 * layout.h: Added bool pass_thru to layout class for being able to
15927 implement pass through of a paragraph for Literate Programming.
15929 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15930 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15931 * layout.C (Read): add "passthru" to list of layout tags and add
15932 code to set the pass_thru boolean when it is read.
15934 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15936 * trans_decl.h: remove allowed from KmodInfo
15938 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15939 remove allowed code
15942 * paragraph_pimpl.C (erase): use boost::prior
15944 * Painter.C (text): use data() instead of c_str() when length is
15946 * WorkArea.C (putClipboard): ditto
15947 * font.h (width): ditto
15949 * BufferView2.C: use it-> instead of (*it). for iterators
15951 * paragraph_pimpl.C: ditto
15952 * paragraph.C: ditto
15953 * minibuffer.C: ditto
15954 * language.C: ditto
15956 * encoding.C: ditto
15957 * counters.C: ditto
15958 * converter.C: ditto
15960 * Variables.C: ditto
15961 * TextCache.C: ditto
15962 * MenuBackend.C: ditto
15963 * LyXAction.C: ditto
15965 * FloatList.C: ditto
15966 * DepTable.C: ditto
15967 * ColorHandler.C (LyXColorHandler): ditto
15969 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15971 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15973 * text2.C (openStuff): reintroduce this method (which had been
15974 nuked in NEW_INSETS frenzy).
15976 * lyxfunc.C (Dispatch): when an action has not been handled, use
15977 its name in the error message, not its number.
15979 * paragraph.C (inInset): change method name to begin with lowercase.
15982 * text2.C: updates because of this.
15984 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15986 * ToolbarDefaults.C (add): add spaces in error message
15988 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15990 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15991 (readLyXformat2): rename return_par to first_par, use lyxlex's
15992 pushToken and remove the manual push handling.
15993 (parseSingleLyXformat2Token): add another ert comp. variable:
15994 in_tabular, rename return_par to first_par. handle newlines better
15996 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15998 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16000 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16002 * text2.C (getParFromID): removed
16004 * buffer.C (getParFromID): new method moved form lyxtext.
16005 * BufferView2.C (insertErrors): adjust
16006 (setCursorFromRow): adjust
16007 * BufferView_pimpl.C (restorePosition): adjust
16008 * lyxfunc.C (Dispatch): adjust
16009 * undo_funcs.C (textUndo): adjust
16011 (textHandleUndo): adjust
16012 (textHandleUndo): adjust
16014 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16016 * buffer.C: up' the LYX_FORMAT
16018 * lyxfont.h: turn NO_LATEX on as default
16020 * buffer.C (insertErtContents): new methods of tex style compability.
16021 (parseSingleLyXformat2Token): use it several places.
16022 * tabular.C (OldFormatRead): and here
16024 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16026 * text2.C: remove some commented code.
16029 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16030 * trans.C: changes because of the above.
16032 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16034 * text2.C (setCounter): Fix counters bug with bibliography layout.
16036 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16038 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16039 own member functions
16040 (simpleTeXSpecialChars): ditto
16042 2001-07-06 Juergen Vigna <jug@sad.it>
16044 * a lot of files: changed the access to LyXText::status and the
16045 call of undo-functions.
16047 * undo.[Ch]: added a inset_id to the undo informations.
16049 * undo_funcs.[Ch]: added and moved here all undo functions.
16051 * lyxtext.h: give the status enum a weight, made status_ a private
16052 variable and made accessor functions for it, removed the whole bunch
16053 of undo-functions as they are now in their own file, make some
16054 functions publically available. Added function ownerParagraph with
16057 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16058 made InInset() a const function, added getParFromID() function.
16060 * buffer.[Ch]: added const version for inset_iterator functions,
16061 added getInsetFromID() function.
16063 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16064 changed undo functions for new version.
16066 2001-07-05 Juergen Vigna <jug@sad.it>
16068 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16069 unknow mechanism does not call the proper constructor but only this
16070 one also if I request the other!?
16072 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16074 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16076 * text2.C (LyXText): use initialization lists.
16078 * lyxtext.h (Selection): initialize set_ and mark_
16079 (init): remove method
16081 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16083 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16085 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16087 * screen.[Ch]: change method names to begin with lowercase
16089 * BufferView_pimpl.C (updateScrollbar): simplify further and
16090 hopefully make it a bit faster.
16092 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16094 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16095 calling directly xforms functions.
16097 * Painter.C (Painter):
16098 * lyx_cb.C (MenuWrite):
16099 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16102 * lyx_gui.C: remove bogus guiruntime extern declaration.
16104 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16106 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16108 (redoDrawingOfParagraph): ditto
16109 (redoParagraphs): ditto
16110 (cutSelection): don't create a object for CutAndPaste use the
16111 static method directly
16112 (pasteSelection): ditto
16114 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16117 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16119 * modifications to some other files because of this.
16121 * Makefile.am (lyx_SOURCES): add XFormsView
16123 * XFormsView.[Ch]: new files
16125 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16126 the main window. Move the gui dependent stuff to XFormsView
16128 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16130 * tabular.C (GetCellInset): update cur_cell also in the row/col
16131 version of this function.
16133 * lyxfunc.C: no need to include figure_form.h here.
16139 * lyxvc.C: no need to include forms.h here.
16141 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16143 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16145 * lyxfunc.C (Dispatch):
16147 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16148 constructor argument.
16150 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16152 * paragraph.C (Paragraph): dont't clear, and just set layout.
16153 (makeSameLayout): use params's copy contructor.
16155 * ParagraphParameters.[Ch] (makeSame): delete method
16157 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16159 * Variables.[Ch]: fix indentation, rename set to isSet
16161 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16163 * lyxfunc.C (Dispatch): fix typo
16165 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16167 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16170 * bufferlist.C: include assert.h for emergencyWrite().
16172 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16174 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16175 give up at last (bug #425202) !
16177 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16183 * spellchecker.C: strip spellchecker options and bring up
16184 preferences tab instead
16186 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16188 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16189 the istringstream constructor
16191 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16193 * paragraph.C (getLayout): fix return value
16195 * paragraph.h: do not declare getLayout as inline.
16197 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16199 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16201 * lyxcursor.h (operator<): new func
16202 (operator>): new func
16203 (operator>=): new func
16204 (operator<=): new func
16206 * text.C (changeCase): use selection.start and selection.end
16207 (changeRegionCase): require from to be <= to. Require par to be a
16210 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16212 2001-06-27 Juergen Vigna <jug@sad.it>
16214 * text.C (cursorLeftOneWord): changed to return the cursor and added
16215 overlay with BufferView * parameter which calls this one.
16217 (selectWord): use new getWord function.
16218 (changeCase): renamed from changeWordCase as and extended to work
16219 also on selections.
16221 * lyxtext.h: added enum word_location
16223 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16224 changeCase as this operates now also on selections.
16226 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16228 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16230 * many files: send debug output to Debug::INFO instead of
16233 * converter.C (View):
16235 (Move): send debug output to Debug::FILES instead of console.
16237 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16239 * lyxfunc.C (getStatus): use func_status
16241 * func_status.h: new header, describing the results of
16242 LyXFunc::getStatus;
16244 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16247 2001-06-25 The LyX Project <jug@sad.it>
16249 * buffer.C (sgmlOpenTag):
16251 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16253 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16255 * text2.C: remove some dead code
16257 * tabular.C (GetCellInset): store the last cell checked (gotten)
16259 * tabular.h: add the helper for the speedup
16261 * lyxtext.h: remove some dead code
16263 2001-06-26 The LyX Project <Asger>
16265 * paragraph.C: Change export to LaTeX of alignment to
16266 \begin{center} and family for better roundtrip work with reLyX.
16268 * Tune the math drawing a bit.
16270 2001-06-25 The LyX Project <Asger>
16272 * LColor.C (LColor): New color for math background. New color
16275 2001-06-25 The LyX Project <jug@sad.it>
16277 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16279 * lyxfunc.C (Open):
16280 * bufferlist.C (newFile): do not restrict to files ending with
16283 * BufferView_pimpl.C (MenuInsertLyXFile):
16285 2001-06-24 The LyX Project <jug@sad.it>
16287 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16290 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16292 * lyxtext.h: rename most methods to begin with a small char.
16293 Lots of changes because of this.
16295 * paragraph.C (Paragraph): do not call fitToSize
16296 (erase): call Pimpl::erase
16297 (insertChar): call Pimpl::insertChar
16298 (insertInset): call Pipl::insertInset
16299 (breakParagraph): do not call fitToSize
16300 (breakParagraphConservative): do not call fitToSize
16301 (fitToSize): remove method
16303 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16305 2001-06-24 The LyX Project <Asger>
16307 * Fix Qt compilation^2
16309 2001-06-24 The LyX Project <jug@sad.it>
16311 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16312 depthHook(getDepth()-1).
16315 * ParagraphParameters.h:
16316 * ParameterStruct.h: change type of depth to unsigned int ==
16317 depth_type. Many adaptations to other files before of that.
16319 2001-06-24 The LyX Project <Asger>
16321 * Fix Qt compilation.
16323 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16325 * paragraph.h: renamed several methods to begin with small letter.
16326 several changes to many parts of the code because of this.
16328 2001-06-23 The LyX Project <jug@sad.it>
16330 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16331 rewritten to discard all double spaces when KeepEmpty is off
16332 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16333 to only handle newlines but not fiddle with spaces and friends.
16335 * lyxfunc.C (MenuNew): when doing 'new from template', use
16336 template_path as default directory
16338 2001-06-23 The LyX Project <Asger>
16340 * Clean-up of header file includes all over
16341 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16343 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16345 * paragraph.h: renamed from lyxparagraph.h
16347 2001-06-23 Asger <lyx@violet.home.sad.it>
16349 * Buffer.h: Removed Buffer::resize
16350 * BufferList.h: Removed BufferList::resize
16351 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16352 the document lazily when we change the width, or the font settings.
16354 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16356 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16358 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16360 * buffer.h: remove out of date comment
16362 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16365 * screen.C: fix "theoretical" GC leak
16367 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16369 * LaTeX.C (scanAuxFile):
16370 (deplog): remove trailing \r when reading stream (useful under
16373 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16375 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16376 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16377 and BufferView::theLockingInset(Inset*), so should use them and not
16378 access bv_->text->the_locking_inset directly.
16380 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16382 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16385 * tex-defs.h: remove old unused file
16387 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16389 * BufferView_pimpl.C: fix typo, remove minibuffer message
16390 when buffer has loaded
16392 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16394 * lyxfunc.C (Dispatch): use stringstream
16395 (MenuNew): use stringstream
16396 (Open): use stringstream
16398 * importer.C (Import): use stringstream
16400 * bufferview_funcs.C (CurrentState): use stringstream
16402 * LaTeX.C (run): use stringstream
16404 * BufferView_pimpl.C (savePosition): use stringstream
16405 (restorePosition): use stringstream
16406 (MenuInsertLyXFile): use stringstream
16408 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16421 * vspace.C: removed // -*- C++ -*- as first line.
16424 * version.h: added // -*- C++ -*- as first line.
16426 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16428 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16430 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16433 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16435 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16438 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16440 * gettext.C: include LString.h even when --disable-nls is on.
16442 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16444 * converter.h (Get): changed argument type from int to
16445 FormatList::size_type to avoid unnecessary conversion.
16447 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16450 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16452 * gettext.h: include LString.h even when --disable-nls is on.
16454 2001-06-07 Juergen Vigna <jug@sad.it>
16456 * text.C (BreakAgain): subst spaces with tabs.
16458 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16459 (resizeInsetsLyXText): set force on resizeLyXText.
16461 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16463 * gettext.h (gettext_init):
16464 (locale_init): use a real definition instead of a macro
16466 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16468 * Bufferview_pimpl.C:
16470 * LColor.C: further lcolor tidies
16472 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16474 * BufferView_pimpl.C (updateScrollbar): simplify.
16476 * BufferView2.C: don't include insets/insetinfo.h, change
16477 prototype for insertInset and call the Pimpl version. let
16478 updateInset call Pimpl version.
16480 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16481 gotoInset to BufferView::Pimpl
16483 2001-06-01 Juergen Vigna <jug@sad.it>
16485 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16486 inside a LockingInset (is the update needed at all?).
16488 2001-05-31 Juergen Vigna <jug@sad.it>
16490 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16491 here not the old one otherwise how should we compare it afterwards
16494 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16499 * FontInfo.C: bring C functions into global namespace when
16502 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16504 * LString.h: make sure config.h has been loaded before LString.h.
16506 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16507 (one for each char read by EatLine!).
16509 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16512 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16514 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16515 to the same as the par we break from
16517 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16519 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16521 * MenuBackend.C (expand): also create menu entries for wide
16522 versions of the floats.
16524 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16526 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16528 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16529 frontends/Makefile.am
16535 * tabular.C (getTokenValue): add std::
16537 * tabular-old.C (getTokenValue): add std::
16538 (getTokenValue): ditto
16539 (getTokenValue): ditto
16541 * screen.C (ToggleSelection): adjust
16543 * lyxtext.h: put selection cursors inside a Selection struct.
16545 * lyxfunc.C (moveCursorUpdate): adjust
16547 * lyxfont.C (latexWriteStartChanges): add std::
16549 * lyxfind.C: adjust
16551 * font.h: delete with(char const *, LyXFont const &)
16553 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16555 * FontInfo.C (getFontname): add std::
16557 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16558 (workAreaButtonPress): adjust
16559 (tripleClick): adjust
16561 (moveCursorUpdate): adjust
16564 * BufferView2.C (gotoInset): adjust
16566 2001-05-30 Juergen Vigna <jug@sad.it>
16568 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16569 to check pspell I add this as default as I now have new pspell
16570 libraries and they seem to use this.
16572 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16574 * text2.C (CutSelection): make the cursor valid before the call to
16577 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16579 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16580 relied on 0 terminated strings and other horrors. Bug found due to
16581 the new assert in lyxstring!
16583 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16586 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16588 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16591 * lyxfunc.C (processKeySym): change method of getting to the
16594 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16595 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16596 * BufferView_pimpl.[Ch]: here as private methods.
16598 2001-05-28 Juergen Vigna <jug@sad.it>
16600 * text.C (SetHeightOfRow): added the update() call again as it is
16601 needed to initialize inset dimensions!
16603 2001-05-16 Juergen Vigna <jug@sad.it>
16605 * text2.C (SetCharFont): Add new function with BufferView * and
16606 bool toggleall parameters for setting insets internal fonts.
16607 (SetFont): Freeze the undo as we may change fonts in Insets and
16608 all this change should be inside only one Undo!
16610 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16611 setting font's in insets as for them we have the SetFont function!
16613 2001-05-15 Juergen Vigna <jug@sad.it>
16615 * text2.C (ClearSelection): to be sure we REALLY don't have any
16618 * tabular.C (TeXCellPreamble): fixed the left border problem for
16621 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16623 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16626 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16628 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16629 LFUN_BREAKPARAGRAPH.
16631 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16632 help test to "internal only", similar for LFUN_INSERT_URL
16634 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16635 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16636 auto_region_delete and deadkeys.
16638 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16641 * LColor.C: remove some dead entries, tidy a little
16643 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16645 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16647 (Dispatch): implement LFUN_ESCAPE
16649 * commandtags.h: add LFUN_ESCAPE
16651 * LyXAction.C (init): add entry for LFUN_ESCAPE
16653 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16654 Remove commented code.
16655 (insertNote): moved here
16656 (open_new_inset): moved here
16658 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16661 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16663 * kbmap.C (findbinding): clean it up and make it work correctly.
16665 * lyx_main.C (init): do not pass argc and argv as parameters
16667 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16669 * buffer.C: fix path for OS/2 & Win32
16673 * lyx_main.C: Added os:: class.
16675 * os2_defines.h: update
16677 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16679 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16680 better by trying again with reduced state.
16682 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16684 * lyxrc.C (read): print error about invalid key sequence only when
16685 debugging (because not all latinX keysyms are known to some X
16688 * kbsequence.C (getiso): add a few std:: qualifiers
16689 (getiso): comment out extra return statement.
16691 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16693 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16695 (Dispatch): enhance the accent inset a bit. (not perfect)
16697 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16699 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16701 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16703 * bufferlist.C (emergencyWrite): fix assert() call
16705 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16707 * text.C (InsertChar): Added trivial patch to only send the "you
16708 can not do multiple spaces this way" message once during a
16711 2001-05-08 Baruch Even <baruch@lyx.org>
16713 * Makefile.am: Changed order of libraries to get LyX to link properly
16714 with the gnome frontend.
16716 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16718 * LaTeXFeatures.h: add a std:: qualifier
16720 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16722 * paragraph.C (String): use stringstream
16724 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16726 * paragraph.C (writeFile): remove footflag arg
16728 * buffer.C (makeLaTeXFile): use stringstream
16729 (latexParagraphs): remove footnot gurba
16731 * LaTeXFeatures.C (getPackages): use stringstream
16732 (getMacros): likewise
16733 (getTClassPreamble): likewise
16734 (getFloatDefinitions): new method
16736 * paragraph.C (writeFile): reindent
16739 * WorkArea.h: revert the xpos + etc changes.
16741 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16743 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16745 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16746 (pasteSelection): likewise
16747 * text2.C (CreateUndo): likewise
16749 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16751 * minibuffer.C (peek_event): temporarily reduce the functionality
16752 of the minibuffer (to allow args on lfuns)
16754 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16755 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16757 * buffer.C (readInset): add compability reading of old float
16758 lists, add reading of new style float list.
16759 (readInset): avoid reevaluation of inscmd.getCmdName()
16760 (getLists): reindent
16762 * MenuBackend.C (MenuItem): implement parsing of
16763 md_floatlistinsert and md_floatinsert.
16764 (expand::LastFiles): move initalizaton of iterators out of loop,
16765 avoid reevaluation.
16766 (expand::Documents): introduce typdedef vector<string> Strings,
16768 (expand::ExportFormats): introduce typedef vector<Format const *>
16769 Formats, and use it.
16770 (expand): implement FloatListInsert and FloatInsert.
16772 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16773 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16774 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16776 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16778 (Dispatch::LFUN_FLOAT_LIST): implement
16780 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16782 * LaTeX.C (run): Fix problem with --export code.
16784 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16786 * BufferView.[Ch] (workarea): removed.
16787 (getClipboard) new method; wrapper for workarea()->getClipboard()
16789 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16792 * WorkArea.h (width, height, xpos, ypos): These methods all
16793 returned the dimensions of the work_area sub-area of WorkArea,
16794 resulting in a position error if the WorkArea were resized. Now
16795 return the dimensions of the entire WorkArea.
16797 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16799 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16801 * LaTeX.C (deplog): correct the syntax of regex reg1
16803 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16805 * undo.C: remove !NEW_INSETS cruft
16807 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16809 * text2.C: remove !NEW_INSETS cruft
16811 * text.C: remove !NEW_INSETS cruft
16813 * tabular.C: remove !NEW_INSETS cruft
16815 * spellchecker.C: remove !NEW_INSETS cruft
16817 * lyxtext.h: remove !NEW_INSETS cruft
16819 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16821 * lyxfunc.C: remove !NEW_INSETS cruft
16823 * lyxfind.C: remove !NEW_INSETS cruft
16825 * lyx_cb.C: remove !NEW_INSETS cruft
16827 * figureForm.C: remove !NEW_INSETS cruft
16829 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16831 * buffer.[Ch]: remove !NEW_INSETS cruft
16833 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16835 * CutAndPaste.C: remove !NEW_INSETS cruft
16837 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16839 * BufferView2.C: remove !NEW_INSETS cruft
16841 * BufferView.h: remove !NEW_INSETS cruft
16843 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16845 * Lsstream.h: include LString.h before the sstream headers to
16846 fix problem with gcc 2.95.3 and lyxstring
16848 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16850 * lyx_main.C: add using directives when needed for C functions
16851 declared in std:: namespace.
16853 2001-04-27 Juergen Vigna <jug@sad.it>
16855 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16856 (SetHeightOfRow): comment out the update call should not be needed!
16858 2001-04-13 Juergen Vigna <jug@sad.it>
16860 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16861 (LyXTabular): tried to minimize operator= operations (and realized
16862 hopfully Lars wish).
16864 2001-04-27 Juergen Vigna <jug@sad.it>
16866 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16868 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16870 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16872 * buffer.C (readInset): hack to make listof algorithm work
16874 * BufferView_pimpl.C: hack to make listof algorithm work
16876 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16878 * LyXAction.C: removed all !NEW_INSETS cruft
16879 (init): moved lfun_item in method
16881 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16883 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16885 * BufferView2.C (theLockingInset): white space.
16887 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16889 * minibuffer.C: include <iostream>
16891 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16893 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16895 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16897 * text.[Ch] (TransposeChars): new method
16899 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16901 * call message directly through LyXView instead of through LyXFunc
16902 * BufferView2.C: adjust
16903 * BufferView_pimpl.C: adjust
16904 * FontLoader.C: adjust
16906 * bufferview_funcs.C: adjust
16907 * converter.C: adjust
16908 * figureForm.C: adjust
16909 * importer.C: adjust
16911 * lyx_gui_misc.C: adjust
16912 * lyxfunc.C: adjust
16915 + more files in subdirs
16917 * lyxparagraph.h (size): move up int file
16920 * adjust all uses of Assert to lyx::Assert.
16922 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16923 lyxfunctional in namespace lyx
16924 * layout.C (hasLayout): ditto
16927 (delete_layout): ditto
16928 (NumberOfClass): ditto
16929 * converter.C (GetFormat): ditto
16934 * bufferlist.C (getFileNames): ditto
16935 (emergencyWriteAll): ditto
16938 * MenuBackend.C (hasSubmenu): ditto
16941 * BufferView_pimpl.C (getInsetByCode): ditto
16943 2001-04-18 Juergen Vigna <jug@sad.it>
16945 * vspace.C (asLatexString): fixed the 100% problem.
16947 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16949 * lyxfunc.C (Dispatch):
16951 * minibuffer.h: add a few std:: qualifiers
16953 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16955 * minibuffer.[Ch]: reimplement so that commands is initiated and
16956 run from lyxfunc, simplified som handling, and made the completion
16957 and history code for complete. wip.
16959 * lyxfunc.C (processKeySym): call message
16960 (miniDispatch): new temporary method
16961 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16962 (LFUN_MESSAGE): implement
16963 (LFUN_MESSAGE_PUSH): implement
16964 (LFUN_MESSAGE_POP): implement
16965 (initMiniBuffer): the initial/defualt minibuffer message.
16967 * lyxfont.[Ch]: inline some more getters
16969 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16971 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16973 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16974 (AutoSave): use LFUN_MESSAGE
16975 (Reconfigure): ditto
16977 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16979 * figureForm.C: use LFUN_MESSAGE
16981 * converter.C (runLaTeX): use LFUN_MESSAGE
16983 * bufferview_funcs.C: use LFUN_MESSAGE
16985 (changeDepth): ditto
16987 * bufferparams.h: use boost::
16989 * bufferlist.h: inherit privately from noncopyable
16991 * bufferlist.C (loadLyXFile): remove some commented code.
16993 * buffer.C (runChktex): use LFUN_MESSAGE
16995 * ShareContainer.h: inherit privately from noncopyable
16997 * ParagraphParameters.[hC] (depth): inline it.
16999 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17001 (message): new method
17002 (messagePush): ditto
17003 (messagePop): ditto
17004 (show): init minibuffer
17005 (showState): direct call
17007 * LaTeX.[Ch]: inherit privately from noncopyable
17008 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17009 instead of WriteStatus.
17011 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17013 * BufferView_pimpl.C (buffer): don't init minibuffer
17014 (workAreaButtonPress): use LFUN_MESSAGE
17015 (workAreaButtonRelease): ditto
17016 (savePosition): ditto
17017 (restorePosition): ditto
17018 (MenuInsertLyXFile): ditto
17019 (workAreaExpose): don't init minibuffer
17020 (update): remove commented code, simplify
17022 * BufferView2.C (openStuff): use LFUN_MESSAGE
17023 (toggleFloat): ditto
17026 (copyEnvironment): ditto
17027 (pasteEnvironment): ditto
17032 (updateInset): remove some commented code
17034 * lastfiles.h: inherit privately from noncopyable
17037 * lyx_main.h: ditto
17039 * lyxlex_pimpl.h: ditto
17041 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17042 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17043 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17045 * LyXAction.h: inherit privately from noncopyable, add methods
17046 func_begin, func_end, returning iterators to the func map.
17048 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17049 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17050 (func_begin): new method
17051 (func_end): new method
17053 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17055 (copySelection): ditto
17056 (pasteSelection): ditto
17058 * BufferView.C: whitespace change
17059 * BufferView.h: inherit privately from noncopyable
17061 2001-04-16 Allan Rae <rae@lyx.org>
17063 * tabular-old.C (l_getline):
17064 * spellchecker.C (sc_check_word):
17065 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17066 an unrecognised preprocessor directive. So ensure they're wrapped.
17068 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17070 * src/exporter.C (Export): Give an error message when path to file
17073 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17075 * LaTeX.C (deplog): Always check that foundfile exists.
17077 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17080 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17082 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17084 * tabular.[Ch] (getLabelList): implement new method
17086 * minibuffer.h: comment ouf setTiimer
17088 * minibuffer.C (ExecutingCB): constify res
17089 (peek_event): constify s
17090 (Set): constify ntext
17091 (Init): constify nicename
17093 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17095 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17096 (savePosition): use two params to Minibuffer::Set
17097 (restorePosition): ditto
17099 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17101 * lyx_main.C: include language.h
17103 * Makefile.am (lyx_main.o): add language.h
17105 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17111 * CutAndPaste.C: include gettext.h
17113 * lyxfont.h: remove old hack with ON and OFF.
17116 * lyxfont.h: do not include language.h...
17121 * bufferview_funcs.C:
17127 * paragraph.C: ... but do it here instead
17129 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17131 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17133 * tabular.C: small reformat
17135 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17138 (BreakParagraph): ditto
17139 (SetOnlyLayout): ditto
17142 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17145 * lastfiles.C: removed most using decl, add std:: where needed
17147 * buffer.C: ws changes
17149 * MenuBackend.C (class compare_format): put into anon namespace
17150 (expand): constify label, names, action, action2
17153 * text.C (SingleWidth): constify font
17154 (IsBoundary): constify rtl2
17155 (GetVisibleRow): constify ww
17157 * LaTeX.C (deplog): constify logfile
17159 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17161 (workAreaExpose): constify widthChange, heightChange
17163 * lyxrow.C (par): moved
17166 * lyxrow.h: as inlines here
17168 * lyxfont.h (shape): moved from lyxfont.C
17169 (emph): moved from lyxfont.C
17171 * lyxfont.C (LyXFont): use initialization list for all
17173 (shape): move to lyxfont.h as inline
17174 (emph): move to lyxfont.h as inline
17177 2001-04-04 Juergen Vigna <jug@sad.it>
17179 * vspace.C: had to include stdio.h for use of sscanf
17181 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17184 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17185 independent of xforms.
17187 2001-04-02 Juergen Vigna <jug@sad.it>
17189 * spellchecker.C: fixed namespace placing!
17191 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17193 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17194 the LyXParagraph * is 0.
17196 2001-03-29 Juergen Vigna <jug@sad.it>
17198 * vspace.C: added support for %, c%, p%, l%.
17199 (stringFromUnit): added helper function.
17200 (asLatexString): changed to give right results for the %-values.
17202 * buffer.C: convert the widthp in a width%.
17204 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17206 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17209 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17210 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17212 * lyx_cb.[Ch]: see above.
17214 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17218 * lyx.[Ch]: replaced by figure_form.[Ch].
17222 * lyxfunc.C: changed headers associated with above changes.
17224 2001-03-27 Juergen Vigna <jug@sad.it>
17226 * BufferView_pimpl.C: set the temporary cursor right!
17228 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17230 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17232 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17234 * LString.h: removed "using std::getline"!
17236 * BufferView_pimpl.C (Dispatch): changes due to changes in
17237 InsetInclude::Params.
17239 * buffer.C (tag_name): removed redundant break statements as they were
17240 producing lots of warnings with my compiler.
17242 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17244 * LString.h: add "using std::getline" when using the real <string>.
17246 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17248 * buffer.C: removed bitset usage.
17249 PAR_TAG moved to an anonymous name space.
17250 (tag_name): new funtion, also in the anonymous namespace.
17251 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17252 (makeDocBookFile): clean code. Completed transition from string arrays
17254 (SimpleDocBookOnePar): code clean.
17256 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17258 * tabular.C: add some comments.
17260 2001-03-22 Juergen Vigna <jug@sad.it>
17262 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17263 compatibility read a bit and fixed bug with minipage in different
17266 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17268 * buffer.C (pop_tag): removed.
17269 (push_tag): removed.
17270 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17271 array replaced with vector. Added support for CDATA sections.
17272 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17274 (makeDocBookFile): XML conformant declaration of CDATA section,
17275 fixed bug related to <emphasis> in the first paragraph char.
17276 (sgmlOpenTag): exclude empty tags.
17277 (sgmlCloseTag): ditto.
17279 * buffer.h (pop_tag): removed.
17280 (push_tag): removed.
17282 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17284 * language.h (Languages): added size_type and size().
17286 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17288 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17289 response on compability reading of minipages. One probliem is that
17290 the old usage of minipages was flertydig
17292 * several files here and in subdirs: don't use static at file
17293 scope use anon namespaces instead.
17295 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17297 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17298 LaTeX output. This is necessary for Literate document
17301 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17303 * buffer.C: insert hfill when needed.
17305 * tabular.C (l_getline): use string::erase, small whitespace change.
17307 * BufferView_pimpl.C: try the anon namespace.
17308 * WorkArea.C: ditto
17310 2001-03-16 Juergen Vigna <jug@sad.it>
17312 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17313 otherwise it won't open options-dialogs.
17315 * buffer.C: honor pextraWidth(p) on converting minipages.
17317 * tabular.C (l_getline): changed the functions to strip trailing \r.
17319 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17321 * BufferView_pimpl.C:
17322 * minibuffer..C: added "using SigC::slot" declaration.
17324 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17326 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17332 * paragraph.C: ditto
17334 * lyxtext.h: NO_PEXTRA
17336 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17338 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17339 * ParameterStruct.h: ditto
17340 * ParagraphParameters.h: ditto
17341 * lyxparagraph.h: ditto
17343 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17345 * buffer.C: add compability for minipage alignment.
17346 (latexParagraphs): remove unwanted pextra check.
17348 * several files: remove CXX_WORKING_NAMESPACES
17350 * buffer.C (pop_tag): tie is in namespace boost
17352 * BufferView.h: noncopyable is in namespace boost
17354 * lyx_main.h: ditto
17357 * lastfiles.h: ditto
17358 * bufferlist.h: ditto
17359 * ShareContainer.h: ditto
17361 * LyXAction.h: ditto
17364 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17366 * Merging changes from BRANCH_MVC back into HEAD.
17368 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17370 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17372 * BufferView_pimpl.C: change from intl.C
17376 * Makefile.am: move combox.*
17382 * intl.C: remove dialog (covered by prefs)
17384 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17386 * lyxfunc.C (Dispatch): removed redundant break statement.
17388 2001-03-14 Juergen Vigna <jug@sad.it>
17390 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17392 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17394 * buffer.C: add hack to fix compability reading of minipages.
17396 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17398 * buffer.C (getLists): Cleanup.
17400 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17402 * lyxfont.C (update): don't honor toggleall on font size.
17404 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17408 * Makefile.am: moved to frontends/xforms/
17412 * BufferView_pimpl.C: changes for moved mathpanel
17414 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17416 * gettext.h: fix gettext_init() in --disable-nls
17418 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17420 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17422 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17425 * lyx.h: strip external form
17427 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17429 * BufferView_pimpl.C: add comment, destroySplash()
17431 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17433 * BufferView_pimpl.C:
17437 * lyxfunc.C: use re-worked insetinclude
17439 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17441 * buffer.C: add using std::stringstream.
17443 * lyx_cb.C: readd using std::ios.
17445 * buffer.C: add using std::map.
17447 * BufferView_pimpl.C: add using std::vector.
17449 * ShareContainer.h: add std:: to swap.
17451 * buffer.h: add some typedefs
17452 * buffer.C (getLists): use them
17453 (getLists): renamed from getTocList.
17454 add a counter for the different float types and use it in the
17456 (getLists): use the same counter for the NEW_INSETS and the "non"
17459 * lyx_cb.h: remove unused items, includes, using etc.
17461 * ShareContainer.h: remove some commented code, add more comments
17462 and "documentation".
17464 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17466 * buffer.C (getTocList): make the list also when NEW_INSETS is
17469 * buffer.h: remove TocType
17471 * buffer.C (getTocList): change to return a map<string,
17472 vector<TocItem> >, implement for dynamic number of list.
17474 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17475 * text2.C (PasteSelection): adjust
17476 * CutAndPaste.C (pasteSelection): adjust
17478 * FloatList.C (FloatList): update from the new_insets branch.
17479 * Floating.[Ch]: ditto
17480 * LaTeXFeatures.C: ditto
17482 * lyxlex_pimpl.C: ditto
17484 * paragraph.C (Last): remove when NEW_INSETS is defined.
17486 * other file: changes because of the above.
17488 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17490 * lyxparagraph.h: rename next to next_, previous to previous_,
17491 make them private for NEW_INSETS. Rename Next() to next(),
17492 Previous() to previous().
17494 * other files: changes because of the above.
17496 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17499 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17502 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17504 * main.C (main): pass lyx_localedir to gettext_init().
17506 * gettext.h: remove locale_init and gettext_init macros
17508 * gettext.C (locale_init): new function
17509 (gettext_init): new function
17511 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17514 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17516 * Moved credits to frontends:
17517 * credits.[Ch]: removed
17518 * credits_form.[Ch]: removed
17519 * lyx_gui_misc.C: remove credits stuff
17522 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17524 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17526 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17527 unneeded destructor.
17529 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17530 a standalone pointer again.
17532 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17534 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17540 * ToolbarDefaults.C:
17549 * BufferView_pimpl.C: use new file dialog in GUII
17552 * lyx_cb.C: remove LayoutsCB to Toolbar
17554 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17556 * ShareContainer.h (get): add std:: qualifier
17558 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17560 * ShareContainer.h: define a proper ShareContainer::value_type
17561 type (and use typename to please compaq cxx)
17563 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17565 * lyxparagraph.h: move serveral local vars to
17566 ParameterStruct/ParagraphParameters., use ShareContainer in
17567 FontTable., make vars in FontTable private and add getter and
17570 * paragraph.C: changes because of the above.
17572 * lyxfont.h: remove copy constructor and copy assignment. (the
17573 default ones is ok), move number inside FontBits. move inlines to
17576 * lyxfont.C: add number to initializaton of statics, move several
17577 inlines here. constify several local vars. some whitespace
17578 cleanup. Dont hide outerscope variables.
17580 * Spacing.h: add two new constructors to match the set methods.
17582 * ShareContainer.h: new file, will perhaps be moved to support
17584 * ParameterStruct.h: new file
17586 * ParagraphParameters.h: new file
17588 * ParagraphParameters.C: new file
17590 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17591 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17593 * BufferView_pimpl.C: ParagraphParameter changes.
17594 * buffer.C: Likewise.
17595 * bufferview_funcs.C: Likewise.
17596 * text.C: Likewise.
17597 * text2.C: Likewise.
17599 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17601 * lyxfind.C (LyXReplace): do not redefine default argument in
17603 (IsStringInText): ditto
17604 (SearchForward): ditto
17605 (SearchBackward): ditto
17607 2001-03-06 Juergen Vigna <jug@sad.it>
17609 * lyxfind.C (IsStringInText): put parentes around expressions.
17611 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17613 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17615 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17617 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17619 * stl_string_fwd.h: add comment
17621 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17624 * tabular.C: remove unused DocBook methods
17630 killed DO_USE_DEFAULT_LANGUAGE
17632 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17634 * lyx_gui.C: do not include language.h.
17636 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17637 arguments in function implementation.
17639 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17641 * BufferView_pimpl.C: add <ctime>
17643 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17645 * BufferView_pimpl.C: add using std::find_if
17647 2001-02-27 José Matos <jamatos@fep.up.pt>
17649 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17652 2001-02-11 José Matos <jamatos@fep.up.pt>
17654 * buffer.C (makeDocBookFile): command styles now have a parameter as
17655 "title" by default.
17657 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17659 * layout_forms.[Ch]: removed
17660 * lyx_cb.[Ch]: out character
17661 * lyx_gui.C: out character
17662 * lyx_gui_misc.C: out character
17663 * bufferview_funcs.C: : out character,
17664 added toggleall as parameter in ToggleAndShow
17666 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17668 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17670 * text2.C (SetCurrentFont): Disable number property at boundary.
17672 2001-02-26 Juergen Vigna <jug@sad.it>
17674 * lyxfunc.C (getStatus): added a string argument override function so
17675 that this is correctly called from LyXFunc::Dispatch if it contains a
17676 do_not_use_argument which is used!
17677 (Dispatch): added check for "custom" export and call appropriate func.
17679 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17681 * lyxrc.C: Add language_command_local, language_use_babel and
17682 language_global_options.
17684 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17686 * buffer.C (makeLaTeXFile): Use language_use_babel and
17687 language_global_options.
17689 2001-02-23 Juergen Vigna <jug@sad.it>
17691 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17692 which works with LyXText and putted it inside BufferView. Here now we
17693 only call for that part the BufferView::Dispatch() function.
17695 * BufferView.C (Dispatch): added.
17697 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17698 functions which needs to use a LyXText over from LyXFunc.
17699 (MenuInsertLyXFile): added
17700 (getInsetByCode): added
17701 (moveCursorUpdate): added
17702 (static TEXT): added
17704 2001-02-22 Juergen Vigna <jug@sad.it>
17706 * BufferView_pimpl.C (update): call a status update to see if LyXText
17709 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17711 * vc-backend.C (revert): implement for CVS
17712 (getLog): implement for CVS
17714 2001-02-20 Juergen Vigna <jug@sad.it>
17716 * text2.C (ClearSelection): added BufferView param for inset_owner call
17718 * lyxfunc.C (TEXT): added this function and use it instead of
17719 directly owner->view()-text of getLyXText().
17721 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17723 * src/layout_forms.C: out preamble
17724 * src/layout_forms.h: out preamble
17725 * src/lyx_cb.C: out preamble
17726 * src/lyx_cb.h: out preamble
17727 * src/lyx_gui.C: out preamble
17728 * src/lyx_gui_misc.C: out preamble
17729 * src/lyxfunc.C: connect with guii preamble
17731 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17733 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17735 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17737 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17738 whether to run bibtex.
17740 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17742 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17744 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17746 * Makefile.am (lyx_SOURCES): removed bibforms.h
17748 * vspace.h: doxygen
17750 * text.C (GetVisibleRow): make several local vars const
17752 * tabular.C: small cleanup.
17754 * lyxserver.C (callback): use compare instead of strncmp
17756 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17757 inlines to after class or to paragraph.C
17759 * lyxfont.h: remove friend operator!=
17761 * converter.h: move friend bool operator< to non friend and after
17764 * combox.h: small cleanup
17766 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17767 to inlines after class def.
17769 * buffer.C (pop_tag): use string operations instead of strcmp
17771 * bmtable.c: doxygen, small cleanup
17773 * LaTeX.h: remove friend operator==
17775 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17787 * BufferView_pimpl.C:
17788 * BufferView.[Ch]: remove cruft
17790 2001-02-14 Juergen Vigna <jug@sad.it>
17792 * lyxfunc.C: removed #if 0 unused code
17794 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17796 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17798 * text2.C (SetSelection): added a BufferView * parameter
17800 2001-02-13 Juergen Vigna <jug@sad.it>
17802 * lyxfunc.C (Dispatch): fixed protected blank problem.
17803 * BufferView2.C (protectedBlank): added LyxText * parameter.
17805 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17806 (AppendColumn): same as above for column_info.
17808 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17809 (moveCursorUpdate): use a LyXText param for support of InsetText.
17811 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17812 (tripleClick): ditto
17814 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17816 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17818 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17820 * text2.C (SetSelection): set correct update status if inset_owner
17821 (ToggleFree): ditto
17823 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17825 * tabular.C: remove some commented code.
17827 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17829 * BufferView_pimpl.C: call hideSplash()
17831 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17834 * bibforms.h: remove
17837 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17838 add LFUN_CHILD_CREATE
17840 * counters.h: fix tiny typo
17845 * lyx.C: move splash to frontends/xforms/
17847 * lyx_gui_misc.C: move Include and Bibform to frontends
17849 * lyxvc.h: clarify comment
17851 * vspace.C: tiny housekeeping
17853 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17855 * text.C (PrepareToPrint): RTL Fix.
17857 * paragraph.C (GetUChar): New method.
17858 (String): Use GetUChar.
17860 * buffer.C (asciiParagraph): Use GetUChar.
17862 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17864 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17866 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17869 * buffer.C: rename to getLogName(), handle
17870 build log / latex log nicely
17872 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17875 * MenuBackend.h: remove support for reference menuitem type.
17877 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17879 * BufferView_pimpl.C: housekeeping
17880 * BufferView_pimpl.h:
17885 * minibuffer.h: move Timeout GUI-I
17887 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17889 * lyxrc.C (read): Update converters data-structures.
17891 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17893 * LaTeX.h (operator!=): add operator != for Aux_Info
17895 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17897 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17899 * LaTeXLog.C: deleted, useful code moved to Buffer
17902 * buffer.C: new function getLatexLogName()
17908 * lyxfunc.C: use frontends for LaTeX and VC logs
17910 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17912 * LaTeX.h: yet another std:: that Allan forgot.
17914 * Variables.C (set): renamed from isset(), because this clashes
17915 with some HP-UX macros (grr).
17917 2001-02-06 Allan Rae <rae@lyx.org>
17919 * LaTeX.h: Another bug fix. Missing std:: this time.
17921 2001-02-04 Allan Rae <rae@lyx.org>
17923 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17924 floats problem. I've left it commented out because it's not quite
17925 correct. It should also test that the current object is a table or
17926 figure inset. But I haven't gotten around to figuring out how to do
17927 that. I *think* it'll be something like: "table" == inset.type()
17929 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17932 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17934 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17935 all the citation/databases/styles in the auxilary file.
17936 (run): Rerun latex if there was a babel language error.
17938 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17940 * text.C (Backspace): Preserve the font when changing newline char
17942 (BreakParagraph): If the cursor is before a space, delete the space.
17944 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17946 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17948 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17949 new argument (code).
17950 (ChangeCitationsIfUnique): New method.
17952 * paragraph.C (GetPositionOfInset): Handle bibkey.
17954 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17956 * BufferView_pimpl.h: change type of Position::par_pos to
17957 LyXParagraph::size_type.
17959 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17961 * BufferView_pimpl.C (savePosition, restorePosition): Write
17962 messages to minibuffer.
17964 2001-01-28 José Matos <jamatos@fep.up.pt>
17966 * buffer.C (makeDocBookFile): adds support for document language.
17967 A silly restriction on the name of LatexCommand types where removed.
17968 Added support for CDATA sections, allows to chars unescaped, used
17969 among others in code, to avoid escape < and >.
17971 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17973 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17974 saved positions instrad of a stack. Furthermore, a position is
17975 stored using paragraph id/paragraph position.
17977 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17978 Remove LFUN_REF_BACK.
17980 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17982 * converter.C (dvipdfm_options): New method.
17984 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17986 * vspace.C (isValidLength): Fix for empty input string.
17988 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17990 * LyXAction.C (init): change description of LFUN_FIGURE to
17993 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17995 * LaTeX.C: add using directive
17997 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17999 * MenuBackend.C (expand): Fix the sorting of the formats.
18001 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18003 * lyx_main.C: tiny error message fix
18005 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18007 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18008 calling fl_initialize(). This fixes the problem with ',' as
18009 decimal separator in text files.
18011 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18013 * trans.C (process): Fix the keymap bug.
18015 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18017 * LaTeX.C (scanAuxFiles): New method. Provides support for
18018 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18019 (scanLogFile) Scan for "run BibTeX" messages.
18021 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18022 OT1 font encoding. Also, load the aecompl package if the ae
18025 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18027 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18029 * texrow.C (increasePos): turn two error messages into debug
18032 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18034 * LaTeX.C (scanAux): Handle the \@input macro.
18035 (runBibTeX): Use scanAux().
18037 * language.C (latex_options_): New field.
18039 * LaTeXFeatures.C (getMacros): Add language macros.
18041 * buffer.C (makeLaTeXFile): Small fix.
18043 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18045 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18047 * text2.C: add a using directive.
18049 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18054 * lyxfunc.C: kill LyXBell.
18056 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18058 * text.C (IsBoundary): Remove the error message
18060 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18062 * lyxrc.C (setDefaults): Correct initialization value for
18065 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18067 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18070 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18071 and GotoNextNote().
18073 * src/LyXAction.C: Added reference-next.
18075 * text.C (InsertChar): Use contains instead of strchr.
18077 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18079 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18081 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18082 alignment commands (when needed).
18084 * text.C (InsertChar): Add ':' to number separator chars.