1 2005-07-18 Juergen Vigna <jug@lyx.org>
3 * text.C (drawSelection): honor boundary when asking for cursorX.
5 2005-07-17 José Matos <jamatos@fc.up.pt>
7 * tabular.C (recalculateMulticolumns): fix handling of one column
10 2005-07-17 Juergen Vigna <jug@lyx.org>
12 * text.C (Delete, backspace): fixed so that paragraph with the
13 same layout can be merged by Delete/Backspace.
15 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
17 * text.C (readParToken): fix spelling.
19 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
21 * text2.C: fix counter update for DEPM problem reported by
24 2005-07-17 Juergen Vigna <jug@lyx.org>
26 * BufferView_pimpl.C (setBuffer): save/restore the
27 cursor/selection when switching buffers
30 * buffer.C (saveCursor): add saveDocumentIterators to save the
31 cursor when switching buffer.
33 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
36 * buffer.C: clarify message
38 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
40 * dociterator.C (DocIterator): fix initialization order
42 2005-07-17 Juergen Vigna <jug@lyx.org>
44 * text2.C (cursorHome):
45 * text.C (drawSelection, cursorX):
46 * dociterator.C (textRow): add boundary to getRow() call
48 * paragraph.C (getRow): implementation of below
50 * paragraph.h: add parameter boundary for getRow() function
52 2005-07-17 José Matos <jamatos@fc.up.pt>
56 * tex-strings.[Ch]: new file format, remove support for a4.sty,
57 a4wide.sty and a4widemargins.
59 2005-07-17 Juergen Vigna <jug@lyx.org>
61 * text2.C (cursorLeft): fix one of error
63 2005-07-17 Juergen Vigna <jug@lyx.org>
65 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
67 more fixes for boundary handling
69 * text3.C (dispatch): don't reset cursor if boundary has changed
72 2005-07-16 Juergen Vigna <jug@lyx.org>
74 * text2.C (getColumnNearX): hopefully got it right now,
75 check if we are on column 0 for special case.
77 2005-07-16 Juergen Vigna <jug@lyx.org>
79 * text2.C (getColumnNearX): handle special case Newline Inset
81 * text.C (singleWidth): Just remove bogus check
83 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
85 * funcrequest.C (split): avoid reading uninitialized char c
87 2005-07-16 José Matos <jamatos@fc.up.pt>
93 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
94 single papersize variable.
96 2005-07-16 Juergen Vigna <jug@lyx.org>
98 * text3.C (dispatch): honor boundary when checking if a cursor
99 movement has been done
101 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
102 (setCursor, setCursorIntern): fix cursor movement with boundary
104 2005-07-16 Juergen Vigna <jug@lyx.org>
106 * text.C (currentState): output the actual Boundary
108 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
110 * factory.C (createInset): fix bad logic for tabular creation
112 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
114 * lyx_main.C (init): change some reLyX reference to tex2lyx
116 2005-07-16 Juergen Vigna <jug@lyx.org>
118 * dociterator.C (DocIterator): initialize boundary
120 2005-07-16 Juergen Vigna <jug@lyx.org>
122 * text2.C (getColumnNearX): Consider rows without trailing blank.
124 2005-07-16 André Pönitz <poenitz@gmx.net>
126 * lyxfont.h: Change order of declarations to give the compiler
127 a better chance to inline things
129 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
130 questions on unsaved docs for better scritability
132 2005-07-16 André Pönitz <poenitz@gmx.net>
134 * paragraph.h (getChar): remove asserts as the same kind of security
135 can be achieved by using a suitable standard library implementation
136 and the function was in the critical path (25.9% in profiler)
138 2005-07-16 Juergen Vigna <jug@lyx.org>
140 * cursor.C (bruteFind2):
141 * bufferview_funcs.C (coordOffset):
142 * text.C (cursorX,cursorY): Handle cursor position after last char
143 in row before a inset which uses a whole row.
145 2005-07-15 José Matos <jamatos@lyx.org>
147 * output_plaintext.[Ch] (writeFileAscii): control reference title
149 (asciiParagraph): noparbreak was already deal and was incorrectly
152 2005-07-15 Juergen Vigna <jug@lyx.org>
154 * lyxfunc.C (dispatch): save and restore the cursor after a
157 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
159 * text.C (backspace): bug 806 for empty keepempty paragraphs we
160 change the layout to default before letting DEPM do its thing.
162 * paragraph_funcs.C (breakParagraph): dont reset the layout on
165 * text.C (setCursorFromCoordinates): add a debug statement
167 * text2.C (getColumnNearX): bug 1825 make sure that we don't
168 return a pos that is not on the row
170 * output_latex.C (TeXDeeper): get rid of potential dereferencing
171 of past the end iterator
173 2005-07-14 André Pönitz <poenitz@gmx.net>
175 * undo.C (recordUndoFullBuffer): implement undo for
178 2005-07-14 André Pönitz <poenitz@gmx.net>
180 * cursor.C (setSelection): open insets when selection is set there
181 to avoid crashs with cold coord cache
183 2005-07-14 André Pönitz <poenitz@gmx.net>
185 * trans_mgr.C (insert): move cursor to the right after inserting
188 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
190 * BufferView_pimpl.C (update): dampen some of the debug blabbering
191 * factory.C (readInset): ditto
192 * text.C, text2.C: ditto
194 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
196 * buffer.C: format incremented to 242. There is no file format per
197 se, but the "frenchb" language has been removed from lib/language
198 and has to be translated to "french" by lyx2lyx.
200 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
202 * cursor_slice.h, dociterator.h: add some documentation
203 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
205 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
207 * text.C (leftMargin): do not add identation to display() style
208 insets, because they are always centered (bug 1293).
210 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
212 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
213 formatted_time methods in support/lyxtime.
215 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
217 * toc.[Ch]: new method getGuiName, which is used by the frontends
218 to set the toc combo (fixes bug 1870). Make TOC string translatable.
220 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
222 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
223 StableDocIterator const &)
224 * undo.C (recordUndo): use the above instead of cell.size() comparison
225 (fixes bug 1808; instructed by André).
227 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
230 * dociterator.h: Fix the assert when copying rows/cols in math
232 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
234 * BufferView_pimpl.C:
236 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
238 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
239 (findInset): new functions, refactored from goto Inset that return
240 the position of a certain inset without setting the buffer's cursor
242 (gotoInset): rewrite to call findInset and then set the cursor
245 2005-06-16 Angus Leeming <leeming@lyx.org>
247 * lyxrc.C (output, read): wrap all input and output of paths with
248 calls to os::internal_path and os::external_path, respectively.
249 (output): wrap bind_file inside quotes.
251 * format.C (view): enable the viewer to use the '$$s' placeholder.
253 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
255 * LColor.[Ch] (getFromLaTeXName): new
257 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
259 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
261 2005-06-14 Angus Leeming <leeming@lyx.org>
263 * lyx_main.C (init): ensure that the LyX binary dir is the first
264 element in the PATH on non-POSIX builds.
266 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
268 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
270 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
272 * rowpainter.C (paintInset, paintHebrewComposeChar)
273 (paintArabicComposeChar, paintChars): add a LyXFont argument.
274 (paintChars): use getFontSpan to reduce calls to getFont to a
275 minimum; use Paragraph::lookupChange instead of isXXXText.
276 (paintForeignMark): rename LyXFont argument.
277 (paintFromPos): pass a LyXFont object to the various paintXXX
280 * FontIterator.C (FontIterator, operator++): use
281 Paragraph::getFontSpan
283 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
284 version that returns the font span as a pair.
286 2005-06-09 Angus Leeming <leeming@lyx.org>
288 * converter.C (convert): Don't forget "outfile = real_outfile" as
289 the final step in a conversion where the input and output file names
290 are the same. Otherwise, future conversion steps won't work...
292 2005-06-09 Angus Leeming <leeming@lyx.org>
294 * lyxsocket.C: remove stub code as it isn't needed by
295 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
297 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
299 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
300 effectively disabled -x
302 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
304 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
305 when it actually makes sense.
307 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
309 * BufferView_pimpl.C: revert to showCursor in connection with
310 Lars's front-end stack
312 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
314 * text.C (redoParagraph): move cursor right after a bibitem
317 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
319 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
321 * buffer_funcs.C (bufferErrors): fix computation of the end of an
324 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
326 * BufferView.[Ch] (update):
327 * BufferView_pimpl.[Ch] (update, metrics):
328 * dimension.h (operator==):
329 * lyxfunc.C (dispatch):
330 * metricsinfo.h (ViewMetricsInfo):
331 * rowpainter.C (paintText):
333 * text.C (redoParagraph):
334 * text3.C (dispatch): Make LyX only repaint current paragraph in
335 case of character insert --> speedup. Also fix cursor draw
338 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
340 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
341 avoid a crash (bug 1891)
343 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
347 * text2.C (getStringToIndex): constify cur argument.
349 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
350 argument has been given
351 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
352 try to invoke LFUN_INSET_APPLY).
354 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
355 if no inset was created by doInsertInset
356 (doInsertInset): return true if an inset has been inserted.
358 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
360 * vspace.C (asGUIName): new method. A version of the space
361 suitable for showing on screen.
363 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
366 * lyxrc.C: rename "ASCII" to "Plain Text"
368 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
370 * buffer_funcs.C (expandLabel): take a Buffer as argument;
371 translate the labelstring.
372 (setCounter): translate labelstring as needed.
374 * output_docbook.C (makeCommand): fix expandLabel invokation
376 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
378 * BufferView.C: fix dialog title
380 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
382 * lyx_main.C (priv_exec): fix logic error with help from Angus
383 * lyx_main.C (parse_execute): set is_gui = false and remove now
384 obsolete comment about a segfault
386 2005-05-18 Angus Leeming <leeming@lyx.org>
388 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
390 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
392 * tabular.[hC]: added setCellInset to fix tabular paste.
394 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
396 * buffer.C (save): check if destination is writable before trying
399 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
401 * BufferView_pimpl.C (update): fix processEvents -caused update
404 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
406 * buffer_funcs.C (setCounter): fix test for numbering of
409 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
410 depth correctly; use optional argument when it exists
412 * lyxtextclass.C: remove unused MaxCounterTags enum
413 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
414 (max_toclevel, min_toclevel): new methods.
416 * MenuBackend.C (expandToc2): fix case where depth is smaller than
417 the smallest depth in toc.
419 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
420 layouts that should not appear in a table of contents.
422 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
424 * cursor.h (undispatched, noUpdate): add comments from André
426 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
430 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
432 2005-05-07 André Pönitz <poenitz@gmx.net>
434 * cursor.[Ch] (leaveInset): new function
436 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
438 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
440 2005-05-04 Angus Leeming <leeming@lyx.org>
442 * lyxfunc.C (getStatus): disable the spell checker dialog if
443 none of USE_[AIP]SPELL are defined.
445 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
447 * tabular.C (setWidthOfCell): remove obsolete comment
449 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
451 * paragraph.C (bibitem):
452 * buffer_funcs.C (setCounter):
453 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
455 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
457 * text3.C (getStatus): immediately return after setOnOff
459 * rowpainter.C: fix drawing of appendix start
461 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
463 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
464 SwitchBetweenClasses and remove the unused return value.
465 Handle character styles, too
467 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
469 * factory.C (createInset): handle undefined character styles
471 2005-05-02 Angus Leeming <leeming@lyx.org>
473 * buffer.C: protect the #include of utime.h with a preprocessor
476 2005-05-02 Angus Leeming <leeming@lyx.org>
478 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
479 function so that auto-saving works, albeit in a blocking manner.
481 * Makefile.am: make compilation of the client sub directory, of
482 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
483 on conditionals set at configure time.
485 * SpellBase.[Ch]: no longer an abstract base class. Instead,
486 it can be compiled in its own right but has no-op functionality.
488 * aspell.C, pspell.C: remove preprocessor guards. The files should
489 be compiled only if the necessary functionality exists.
491 * lyxserver.C, lyxsocket.C: disable on Windows.
493 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
495 * text.C (leftMargin): Fix the parindent use bug (1764)
498 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
500 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
503 2005-04-25 Angus Leeming <leeming@lyx.org>
511 include <config.h> in .C files, not .h ones.
513 protect headers inside preprocessor guards.
515 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
517 * FuncStatus.h (StatusCodes): document
519 2005-04-21 André Pönitz <poenitz@gmx.net>
521 * FuncStatus.h (enabled, onoff): document
523 2005-04-19 Angus Leeming <leeming@lyx.org>
525 * BufferView_pimpl.C (cursorToggle): no longer test whether
526 any child processes have been reaped before calling
527 handleCompletedProcesses().
529 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
531 * text3.C (dispatch): fix, finally fix, the language problem in
532 new lyxtexts, without disabling on-the-fly font changes (Helge's
535 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
537 * text3.C (dispatch): set cursor on double/triple click events
540 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
542 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
543 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
545 * rowpainter.C (paintFirst): simplify the code a little bit. In
546 particular, remove the test for secnumdepth.
547 * text.C (setHeightOfRow): only allocate space for chapter number
548 when updateCounters provided an actual label, instead of looking
549 at secnumdepth directly.
551 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
553 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
554 paragraphs when secnumdepth is large enough or, for environments,
555 when they are not the first in a sequence.
557 2005-04-17 Angus Leeming <leeming@lyx.org>
559 * buffer.C (makeLaTeXFile): replace code to manipulate a path
560 containing space and '~' characters with a call to latex_path().
562 2005-04-17 Angus Leeming <leeming@lyx.org>
564 * converter.C (convert): protect all args of convertDefault.sh
567 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
569 * text3.C (dispatch): change the layout to "Caption" after inserting
572 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
574 * text3.C (dispatch): fix language problem in newly created
575 textinsets (and main text) in non-english docs
577 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
579 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
580 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
581 * text3.C (getStatus): disable LFUN_INSET_MODIFY
583 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
588 * rowpainter.C (getFont): Fix metrics bug introduced by inset
591 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
593 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
594 output of \item arguments without trailing text.
596 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
598 * FontIterator.C (operator*): avoid a copy of the font.
600 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
602 * rowpainter.C (getFont): fix language bug from previous fix
604 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
606 * rowpainter.C (RowPainter, getFont): fix font inside inset
609 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
611 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
612 preventing inserted font, deco, delim insets jumping to start of
615 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
617 * lyxfunc.C (dispatch): translate message before sending it to the
620 2005-03-29 Angus Leeming <leeming@lyx.org>
622 * lyx_main.C (priv_exec): call os::internal_path on each file passed
623 to LyX on the command line.
625 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
627 * vc-backend.C: use QuoteName to protect file names wherever
630 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
633 * BranchList.h: fix bugs 1844,1845: document settings don't
636 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
638 * lyxrc.C (setDefaults, read, output, getDescription): add support
639 for tex_allows_spaces.
641 * exporter.C (Export): allows files in directory containing spaces
642 if tex_allows_spaces is true.
644 * buffer.C (makeLaTeXFile): if the document path contains spaces,
645 output it in double quotes.
647 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
649 * rowpainter.C: use default text height for drawing change tracker
652 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
654 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
656 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
658 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
659 directory is missing.
661 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
663 * text2.C: fixed the fix, extended to other case.
665 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
667 * text2.C: fix for cursor up/down stuck in math [bug 1792]
669 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
671 * text2.C (cursorUp): get rid of a crash
672 * text.C (x2pos): add an assert
674 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
676 * lyxfunc.C (getStatus): fix warning when assertions are disabled
680 * dociterator.C: include <boost/current_function.hpp>, which is
681 needed when assertions are disabled.
683 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
685 * text2.C: fix for stuck cursor when traversing two
686 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
688 2005-02-25 Andreas Vox <avox@arcor.de>
690 * output_docbook.C (makeParagraph): suppress trailing newline
691 after a run of paragraphs
693 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
695 * paragraph.C: fix for confused change tracker when pasting
696 text that begins with a lineseparator. [bug 1827]
697 (setChange(0, Change::INSERTED);)
699 * paragraph_funcs.C: fix for lost changes on triple-paste
700 in change tracking mode [bug 1827] (par.setChange()).
702 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
704 * text2.C (updateCounters, setCounter, expandLabel): move to
707 * buffer_funcs.C (updateCounters): turn into a free standing
708 function and add a buffer parameter. Remove dead code for tracking
710 (setCounter): change into a free-standing function which gets a
711 dociterator as argument. Use this iterator to fix captions in a
712 simple way. When no float is found above the caption, use the
713 labelstring of the caption layout as default.
715 * text.C (breakParagraph, backspace):
716 * text2.C (init, setLayout, changeDepth):
717 * text3.C (dispatch):
718 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
721 * dociterator.C (forwardPar): make it much faster by calling
722 forwardPos() only when really necessary.
724 * output_docbook.C (makeCommand): adapt to expandLabel move.
726 * cursor.C: remove unused variable
728 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
730 * paragraph_funcs.C: fix crash when pasting insets in change
731 tracking mode [bug 1277] (honour change type in moveItem).
733 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
735 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
737 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
739 * BufferView.C (setCursor): change to use a DocIterator.
740 (gotoLabel): use BufferView::setCursor (other part of bug 781).
741 (putSelectionAt): adapt to BufferView::setCursor change.
743 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
744 moved here from LyXText and rewritten to use proper cursor
745 methods. Fixes bug 1787, 616 and 835.
747 * BufferView_pimpl.C (restorePosition): set the cursor correctly
748 when inside an inset (part of bug 781).
749 (dispatch): adapt to change of BufferView::setCursor.
750 (getStatus, dispatch): handle LFUN_GOTOERROR,
751 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
753 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
754 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
755 * text3.C (gotoNextInset, gotoInset): removed.
757 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
759 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
761 2005-02-15 Angus Leeming <leeming@lyx.org>
763 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
764 can be used meaningfully in a comparison.
766 2005-02-13 André Pönitz <poenitz@gmx.net>
768 * bufferview_funcs.C (coordOffset): improve cursor drawing
770 2005-02-13 André Pönitz <poenitz@gmx.net>
772 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
773 * Cursor.C (dispatch): use fixIfBroken
774 * lyxfunc.C (getStatus): use fixIfBroken
776 2005-02-15 Angus Leeming <leeming@lyx.org>
778 * lyx_main.C (error_handler):
780 * lyxrc.C (setDefaults):
782 #include "environment.h".
784 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
786 2005-02-15 Angus Leeming <leeming@lyx.org>
788 * lyxserver.C (startPipe): squash MSVC warning "local variable
789 'fd' used without having been initialized".
791 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
793 * BufferView_pimpl.C: revert accidental commit.
795 2005-02-14 André Pönitz <poenitz@gmx.net>
797 * dociterator.[Ch]: new member forwardPosNoDescent(),
798 which doesn't enter nested insets.
799 * text2.C (setFont): use forwardPosNoDescent() instead
800 of ForwardPos() (fixes crash on font change).
802 2005-02-13 Angus Leeming <leeming@lyx.org>
804 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
805 only if lyxrc.path_prefix is not empty.
807 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
809 * bufferparams.C (readGraphicsDriver): prevent crash
811 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
813 * text2.C (setCounter): check for inInset() == 0
815 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
817 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
818 but use update() to get correct screen display; use convert
819 instead of istringstream.
820 (getStatus): handle LFUN_GOTO_PARAGRAPH
822 * lyxfunc.C (dispatch, getStatus): do not handle
823 LFUN_GOTO_PARAGRAPH here.
825 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
827 * text3.C (dispatch): size() -> depth()
829 * text2.C: remove some debug output
831 * paragraph.C: ws changes only
833 * lyxfunc.C (getStatus): size() -> depth()
835 * dociterator.h (clear, push_back, pop_back, internalData,
836 operator[], resize, empty): new functions
837 Make StableDocIterator and operator== be friends. Don't inherit
838 from std::vector use a privat class variable slices_ instead.
841 * dociterator.C: update because of not inheriting from std::vector
842 anymore. Call explictly to slices_ instead. Use depth() instead of
843 size() and top() instead of back()
845 * cursor.C: chagne size() -> depth and back() -> top(). Also
846 remove some direct operator[](i) calls in favour of foo[i]
847 (getFont): remove some dead code
849 * bufferview_funcs.C (coordOffset): size() -> depth()
851 * buffer.C: ws changes only
853 * CutAndPaste.C (eraseSelection): back() -> top()
855 * BufferView_pimpl.C (selectionRequested): back() -> top()
857 * BufferView.C (setCursor): size() -> depth()
859 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
861 * text3.C (cursorPrevious): return true if depm changed something
863 (dispatch): rename sl to oldTopSlice, remove moving use the new
864 NoUpdate func attrib instead. Make sure that needsUpdate is set
865 for function that have NoUpdate, but where depm might have changed
868 * text2.C (cursorLeft): make us return true if depm changed
871 (cursorUpParagraph): ditto
872 (curosrDownParagraph): ditto
873 (cursorUp, cursorDown): ditto, make sure to read comments in code
874 (deleteEmptyParagraphMechanism): remove an assert, also return
875 true if just a single char was deleted.
877 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
878 cursor that we modify, to avoid modifying an active cursor before
879 we call setCursor. This allows depm to run. Also return true if
880 depm deleted something.
882 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
883 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
884 cursorDownParagraph, cursorPrevious and cursorNext, return true if
885 something was changed in the buffer because of them (ie. depm run)
887 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
888 debug messages. Make update by default be false. Make sure that
889 the result of update is retained throught several calls down to
892 * LyXAction.h: add a new func_attrib: NoUpdate
894 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
895 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
896 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
898 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
900 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
902 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
903 bv_->owner(), bv_->buffer() by direct references to the private
905 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
906 (getStatus): isSavedPosition() is in BufferView::Pimpl.
907 (fitCursor): center() is in BufferView::Pimpl.
908 (getStatus, trackChanges, dispatch): no need for a temporary buf
910 (fitCursor, workAreaDispatch): use workarea().workheight()
912 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
914 * CutAndPaste.C (pasteSelectionHelper): fix a crash
916 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
918 * buffer.C: format up to 241.
919 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
920 break if pasting into ERT
921 * lyxfunc.C (getStatus): suppress mathpanel and
922 LFUN_DIALOG_SHOW_NEW_INSET in ERT
924 2005-02-01 Angus Leeming <leeming@lyx.org>
926 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
928 2005-02-01 Angus Leeming <leeming@lyx.org>
930 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
931 calling fs::is_directory().
933 2005-01-31 Angus Leeming <leeming@lyx.org>
935 * lyx_main.C (priv_exec): specify explicitly the relative location
936 of the top level build directory when run in-place.
938 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
940 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
941 LyXText containing the cursor, not the top-level one.
943 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
945 (insertStringAsLines): rename par to pit; use temporary variable
946 par to hold a Paragraph; do not store par.layout() in a variable,
947 since the pointer may die when breaking paragraphs; pass pars to
948 breakParagraph() instead of Buffer::paragraphs().
950 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
952 * lyxlex_pimpl.h: #include <fstream>.
954 * BufferView.[Ch] (getLyXText): add a const version.
956 * BufferView_pimpl.C: add debug aids.
961 * paragraph_funcs.h: add commentary explaining what the class does.
964 * coordcache.[Ch]: add lots of commentary.
965 (startUpdating, doneUpdating): debug aids.
966 (arrays, insets, parPos, getParPos): accessors to private data.
968 * cursor_slice.[Ch] (text): add a const version.
969 * dociterator.[Ch] (text, innerText): add const versions.
971 * lyxtext.h (breakParagraph): change the keep_layout arg to a
974 * paragraph.C (getRow, pos2ros): add asserts.
976 * paragraph.h: add commentary. Lots of.
978 * paragraph.[Ch] (metrucs, draw): removed.
981 * rowpainter.[Ch]: const-correct changes.
983 * text.C: various obvious clean-ups. Removal of ancient cruft.
986 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
988 * vc-backend.C (find_file): rewrite to use boost.filesystem
991 * main.C (main): set default name check for boost.filesystem to
994 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
997 (actOnUpdatedPrefs): ditto
999 * lyx_main.C (init): rewrite to use boost.filesystem
1000 (queryUserLyXDir): ditto
1002 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1003 (getContentsOfAsciiFile): ditto
1005 * lastfiles.C (readFile): rewrite to use boost.filesystem
1007 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1009 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1010 (loadLyXFile): ditto
1012 * buffer.C (Buffer): adjust for destroydir
1013 (getLogName): rewrite to use boost.filesystem
1014 (setFileName): ditto
1015 (save): use fs::copy_file (from fs_extras)
1017 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1019 * LaTeX.C (run): rewrite to use boost.filesystem
1020 (scanAuxFiles): ditto
1021 (handleFoundFile): ditto
1023 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1025 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1027 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1029 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1031 * lyxlayout.[Ch]: change some vars from float to double
1033 * buffer.C (readFile): make a local var const
1035 * Several files: use convert<> instead of atoi,strToXXX and friends
1037 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1039 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1040 holds the contents of packages.lst. New functions getAvailable
1041 and isAvailable to parse and check that list, resp.
1045 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1047 * bufferparams.[Ch]: new param output_changes.
1049 * Buffer.C: increase file format to 240.
1050 Use output_changes and isVailable.
1054 * paragraph_pimpl.C: Use output_changes and isVailable.
1056 2005-01-23 Angus Leeming <leeming@lyx.org>
1058 * output_latex.C: #include "insetbibitem.h", rather than
1059 forward declare function bibitemWidest.
1061 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1063 * lyx_main.C (init): make it compile on the Mac.
1065 2005-01-20 Angus Leeming <leeming@lyx.org>
1067 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1068 (setLyXMisc): (char string literal) != (char string literal) is
1069 performing a comparison on the addresses. Convert one operand
1070 explicitly to string to guarantee expected behaviour.
1073 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1076 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1078 * output_plaintext.C: remove unneeded #include gzstream.h.
1080 2005-01-20 Angus Leeming <leeming@lyx.org>
1082 * SpellBase.h: rename some of the elements of the Result enum.
1089 * pspell.C (check): ditto
1091 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1093 * buffer.C: add #include <fstream>.
1095 * lyx_main.C (init): Compile fix.
1097 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1099 2005-01-20 Angus Leeming <leeming@lyx.org>
1101 * mover.h: change commentary to reflect the changed meaning of
1102 the $$s placeholder.
1104 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1106 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1108 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1110 2005-01-20 Angus Leeming <leeming@lyx.org>
1112 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1113 printing diagnostic data by not dereferecing an iterator past the
1116 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1118 * buffer.C (readHeader): use "&&" rather than "and".
1120 * lyxserver.h (inPipeName, outPipeName): make these const.
1122 2005-01-19 Angus Leeming <leeming@lyx.org>
1124 * lyx_main.C (error_handler, init): protect SIGHUP with
1125 #ifdef SIGHUP guards.
1127 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1129 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1131 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1133 * text.C (setHeightOfRow): add a margin at the top and bottom of
1134 the document (bug 1761)
1136 2005-01-17 Angus Leeming <leeming@lyx.org>
1138 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1139 with "python ". Workaround for a brain-dead Windows.
1141 2005-01-16 Angus Leeming <leeming@lyx.org>
1143 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1144 for MacOSX and Windows to use prependEnvPath.
1145 Strip out the hard-coded block to add elements to the PATH for
1146 MacOSX and replace it with a call to prependEnvPath using the
1147 contents of LyXRC::path_prefix.
1148 (queryUserLyXDir): strip out the code to run reconfigure, instead
1149 returning a boolean indicating the necessity to do so.
1150 (reconfigureUserLyXDir): contains the code to reconfigure the
1151 user support directory. Is now called after the various LyXRC data
1152 files have been read.
1154 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1156 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1158 * converter.[Ch] (convert): take a new parameter try_default. Use
1159 a default converter (imagemagick) if try_default is true.
1161 2005-01-13 Angus Leeming <leeming@lyx.org>
1163 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1164 os::cygwin_path_fix.
1165 (write): output LyXRC::cygwin_path_fix as necessary.
1167 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1170 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1172 2005-01-12 Angus Leeming <leeming@lyx.org>
1174 * lyx_main.C (init): set the PATH variable to include the
1175 directory containing the LyX binary when running on Mac or Windows.
1177 2005-01-12 Angus Leeming <leeming@lyx.org>
1179 * lyx_main.C (init): remove cruft that purports to set the locale
1180 dir. It doesn't and is not needed anyway.
1182 2005-01-10 Angus Leeming <leeming@lyx.org>
1184 * Makefile.am: remove the lyx_main.C special casing.
1186 * BufferView_pimpl.C:
1192 * messages.C: use support/package.h to provide the paths to the
1193 various directories used by LyX.
1195 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1197 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1198 layout if pasting into an empty paragraph)
1200 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1202 * tex-accent.C: add <string>
1204 2005-01-06 José Matos <jamatos@lyx.org>
1206 * ParagraphParameters.C (write): put every parameter in its own line.
1207 * paragraph.C (write): reduce number of consecutive empty lines exported.
1208 * buffer.C (LYX_FORMAT): increase file format to 239.
1210 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1212 * everywhere: change support/tostr.h -> support/convert.h
1214 * tabular.C: make all write_attributes templates, tostr -> convert
1216 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1217 (emptyTag): and -> &&, and fix type for ret from getChar
1218 (getFirstWord): fix type for ret from getChar
1219 (onlyText): and -> &&
1220 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1223 * toc.C (goTo, action):
1224 * text3.C (dispatch):
1225 * text.C (currentState):
1226 * tex-accent.C (DoAccent):
1229 * lyxfunc.C (menuNew):
1230 * lyxfinc.C (replace):
1231 * counters.C (laberItem):
1232 * bufferview_funcs.C (font2string):
1233 * bufferparams.C (writeFile):
1234 * buffer.C (readFile):
1236 * MenuBackend.C: tostr -> convert
1238 * LaTeX.C (runMessage): fix format
1239 (scanAuxFiles): tostr -> convert
1241 * BufferView_pimpl.C (savePosition): fix format
1242 (restorePosition): ditto
1245 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1247 * Spacing.[Ch]: New method getValueAsString().
1251 * ParagraphParameters.C:
1254 * text3.C: store/read spacing value as string.
1256 * rowpainter.C: change float value (spacing_val) to double.
1258 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1259 broken custom document spacing).
1261 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1263 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1264 namespace, also more use of temp references and const
1266 * cursor.[Ch] (getStatus): move to lyxfunc.C
1268 * bufferparams.C: reformat slightly
1270 * bufferview_funcs.C (font2string): constify arg
1276 * buffer_funcs.C: (many funcs): constify arg on function
1277 definitions, also make more local vars const, also add ASSERTS on
1280 * buffer.C (LYX_FORMAT): put const in correct place
1281 (many funcs): constify arg on function definitions, also make
1282 more local vars const
1284 * aspell_local.h: remove "struct" from typdef setup
1286 * aspell.C (check): make word_ok const
1287 (nextMiss): simplify slightly
1290 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1292 * lyxrc.[Ch]: store all float values as strings.
1293 use int (not float) for lyxrc.dpi.
1295 2005-01-04 Angus Leeming <leeming@lyx.org>
1297 * lyx_cb.C (Reconfigure):
1298 * lyx_main.C (queryUserLyXDir):
1299 to run the <system_lyxdir>/configure correctly on Windows, prefix
1300 the path to the script with "sh " when generating the string that
1301 is passed to system().
1303 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1305 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1307 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1309 * lyxlength.C (asLatexString): get rid of setprecision
1311 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1313 * text2.C (setLayout): remove unused variable endpit.
1314 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1316 * paragraph.C (onlyText): remove unused variable style.
1318 * cursor.C (bruteFind): remove unused variables beg and end.
1320 * Makefile.am (dist_noinset_DATA): not needed anymore
1322 * cheaders/*: remove.
1324 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1326 * text3.C: fix LFUN_MATH_MODE.
1328 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1330 * buffer_funcs.C (countWords): new function. Counts words between
1333 * BufferView_pimpl.C (getStatus, dispatch): handle
1336 * LyXAction.C (init):
1337 * lfuns.h: add LFUN_WORDS_COUNT.
1339 2004-12-19 Angus Leeming <leeming@lyx.org>
1341 * buffer.C (save): s/slashify_path/internal_path/.
1343 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1345 * lyxfind.C (findChange): do not search for end of pars, because
1346 the change tracker cannot handle this (fixes bug 1719).
1348 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1350 * paragraph.[Ch] (autoBreakRows): remove
1352 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1354 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1355 avoid using the paragraph one
1357 * text2.C (LyXText, insertStringAsLines): adjust
1359 2004-12-16 Angus Leeming <leeming@lyx.org>
1363 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1365 2004-12-14 Angus Leeming <leeming@lyx.org>
1367 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1369 * bufferlist.C (emergencyWrite):
1370 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1373 2004-12-14 Angus Leeming <leeming@lyx.org>
1375 * main.C: (main): no longer pass pointers to os::init.
1377 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1379 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1380 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1382 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1385 * text3.C: remove selection_possible global flag
1387 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1389 * text2.C (getSelectionSpan): remove
1390 (changeDepth, changeDepthAllowed): adjust
1392 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1394 * Makefile.am (BOOST_LIBS): use boost variables
1396 2004-12-03 José Matos <jamatos@lyx.org>
1398 * buffer.C: format up to 238.
1400 2004-12-03 José Matos <jamatos@lyx.org>
1402 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1404 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1406 * cursor.C (goUpDown): remove call to idxUpDown2
1408 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1410 * tabular.[Ch]: use size_t-like types for cell, row and column
1413 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1415 * lyxfunc.C (getStatus): do not lose previous information when
1416 calling BufferView::getStatus; do not set a default "Command
1417 disabled" message at the beginning, but just before returning.
1419 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1421 * cursor.h (getStatus): add better comment from src/cursor.C
1423 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1425 * text3.C (getStatus): return false when the lfun is not handled
1427 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1429 * broken_headers.h: remove
1431 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1433 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1435 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1436 offset_ref accessors
1438 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1439 top_y_, merge fitcursor with update
1440 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1442 (metrics): introduce
1443 (workAreaDispatch): adapt to new coord scheme
1444 (redoCurrentBuffer): remove
1446 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1448 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1451 * coordcache.[Ch]: add paragraph cache and helpers
1453 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1456 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1457 (targetX, setTargetX): introduce
1459 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1460 baseline -> ascent, as the rest of lyx
1462 * lyxtext.h: remove redoParagraphs, updateParPositions,
1463 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1464 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1465 have ascent/descent (ascent is ascent of first par)
1467 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1470 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1472 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1474 * pariterator.C: fix infinite loop introduced in par->pit renaming
1476 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1477 in insets and LyXText, draw two off-screen paragraphs using
1478 NullPainter, and adapt to new coord scheme
1482 * text3.C: adapt lfun handlers to the new coord scheme, which
1483 means: there's only guaranteed coord information for onscreen pars
1484 plus one above and one below. This implies that one can do search
1485 from y coordinates in the range [-1,workHeight]
1487 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1489 * rename a lot of InsetOld to InsetBase
1491 2004-11-25 Angus Leeming <leeming@lyx.org>
1493 * BufferView_pimpl.C:
1495 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1497 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1499 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1500 call BufferView::getStatus if LCursor::getStatus did nothing
1501 (setStatusMessage, getStatusMessage): removed.
1503 * FuncStatus.C (message): new methods. Used to provide an error
1504 message indicating why a command is disabled.
1505 (clear, |=, FuncStatus): update for message.
1507 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1509 * lyxfunc.C (dispatch): always call sendDispatchMessage
1511 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1514 * BufferView_pimpl.C:
1519 * cursor_slice.[Ch]:
1522 * paragraph_funcs.C:
1528 * undo.C: par->pit renaming
1530 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1532 * tabular.C (cellstruct): use initialization, store a shared_ptr
1533 to insettext instead of the insettext directly, adjust to fit.
1534 (operator=): new function
1535 (swap): new function
1536 (rowstruct): use initialization
1537 (columnstruct): use initialization
1538 (ltType): use initialization
1541 * lyxlength.h (swap): new function
1543 * LColor.[Ch] (operator=): use the common semantics
1545 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1547 * lyxfind.C (findNextChange): update the bufferview after setting
1550 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1552 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1553 number of InsetOptArgs has already been inserted.
1555 * output_latex.C (latexOptArgInsets): new method. This outputs all
1556 the optarg insets, up to the limit defined in the layout file.
1557 (optArgInset): removed
1558 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1560 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1562 * paragraph.C (isLetter): remove special spellchecker-related
1563 code; return true also for digits
1564 (isWord, isKomma): remove
1566 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1567 * lyxfind.C (MatchString()): use isLetter instead of isWord
1569 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1571 * pariterator.h (operatir=): comment out un-implemented member
1574 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1577 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1579 * lyxfont.h: include LColor.h to satisfy concept checks.
1581 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1583 * pariterator.h: add typdefs for value_type, difference_type,
1584 pointer and reference to satisfy concept checks. Also add default
1585 constructor for same reason.
1587 * pariterator.C (operator++): add post-increment operator to
1588 satisfy concept checks.
1590 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1593 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1595 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1596 checks. Also rename base_type to BaseType to follow naming
1599 * FloatList.h: include Floating.h to satisfy concept checks.
1601 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1603 * lyxfunc.C (getStatus): when the origin of the request is menu or
1604 toolbar, and the LyXView does not have focus, do as if there was
1605 no buffer (bug 1720)
1607 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1608 FuncRequest to individual entries of LFUN_SEQUENCE
1610 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1612 * output_latex.C (TeXOnePar): override runparams.moving_arg
1613 according to the needprotect value of the current paragraph (bug
1616 * paragraph.C (simpleTeXOnePar): no need to override
1617 runparams.moving_args here
1619 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1621 * vspace.C: fix off-by-one-error, related to fix #1682
1623 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1625 * lengthcommon.C: a more general fix for bug 1682
1627 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1629 * text.C (backspace): fix crash
1631 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1633 * format.[Ch] (getFormatFromFile): new method
1634 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1636 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1638 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1640 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1642 * lyxfunc.C (dispatch): remove the verbose argument
1643 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1646 * kbmap.C (defkey): set the origin of func to KEYBOARD
1648 * MenuBackend.C (MenuItem):
1649 * ToolbarBackend.C (add): set the origin of func to UI
1651 * funcrequest.[Ch]: add origin member, which indicates which part
1652 of LyX requests an action
1654 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1656 * converter.C (move): don't lie in the error message
1657 * converter.h (isReachable, move): document
1659 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1661 * buffer.C: remove unused using lyx::support::atoi
1662 * paragraph_funcs.C: ditto
1664 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1666 * bufferlist.C (exists): use bind and equal_to instead of
1669 * lyxtextclasslist.C (NumberOfClass): ditto
1671 * cursor.C (insert): use for_each instead of explicit for loop
1673 * bufferlist.C (getFileNames): use std::transform and
1674 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1676 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1679 * buffer.C (changeLanguage): use for_each instead of explicit for
1681 (hasParWithID): implement using getParFromID
1683 * LaTeXFeatures.C: ws change only
1685 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1688 * BufferView_pimpl.C (trackChanges): use for_each instead of
1691 2004-11-04 André Pönitz <poenitz@gmx.net>
1694 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1696 * dociterator.C (asDocIterator): use hard assert again.
1698 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1700 * lyxlength.C (asLatexString): rewrite so that it does not use
1703 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1705 * text3.C (specialChar, dispatch): make sure cursor moves to the
1706 right after inserting an inset
1708 2004-11-02 José Matos <jamatos@lyx.org>
1710 * output_docbook.C (docbook):
1711 * paragraph.C (getID):
1712 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1713 garantee that the output is always legal.
1715 * tabular.C (docbook):
1716 * outputprams.[Ch]: remove mixed contents.
1718 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1720 * text2.C (setCounter): prevent endless loop
1722 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1724 * exporter.C (copyFile): use the mover instead of support::copy()
1725 * exporter.C (Export): pass format and latex name to copyFile()
1726 * exporter.h (addExternalFile): document
1727 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1729 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1731 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1733 2004-10-30 José Matos <jamatos@lyx.org>
1735 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1736 text and no inset or font change. This allows to use CDATA
1737 sections just for the whole paragraph.
1739 2004-10-30 José Matos <jamatos@lyx.org>
1741 * paragraph.C (getFirstWord): remove unused variable.
1743 2004-10-30 José Matos <jamatos@lyx.org>
1745 * paragraph.C (getFirstWord): the content should always be escaped
1747 (simpleDocBookOnePar):
1748 * output_docbook.C (makeEnvironment): replace reference to CDATA
1751 2004-10-30 José Matos <jamatos@lyx.org>
1753 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1755 2004-10-30 José Matos <jamatos@lyx.org>
1757 * output_docbook.C (makeParagraphs):
1758 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1759 standard paragraph has only a given type of content drop the wrapper.
1761 2004-10-29 José Matos <jamatos@lyx.org>
1763 * output_docbook.C (makeEnvironment):
1765 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1767 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1769 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1770 (cleanID): sanitize any id.
1772 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1774 * buffer.C, lyxlex_pimpl.C:
1775 * lyxlex_pimpl.C (setFile):
1776 s/getExtFromContents/getFormatFromContents/
1778 2004-10-28 José Matos <jamatos@lyx.org>
1780 * output_docbook.C (makeEnvironment): move id to broadest possible
1783 * sgml.C (openTag): apply substitution of <> for all attributes.
1785 2004-10-28 José Matos <jamatos@lyx.org>
1787 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1788 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1789 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1791 * sgml.[Ch]: new version for open and closeTag for paragraph and
1792 for strings. Now they handle the ids of paragraphs.
1794 2004-10-26 Angus Leeming <leeming@lyx.org>
1796 * Makefile.am: add mover.[Ch].
1798 * converter.C (convert, move): use the new Movers to move external
1799 files to the temp directory.
1801 * lyx_main.C (init): ensure that the global system_movers data
1804 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1807 * mover.[Ch]: new files, defining a Mover as a utility to move an
1808 external file between directories and, if necessary, manipulate this
1809 file using a helper script.
1811 2004-10-25 José Matos <jamatos@lyx.org>
1813 * output_docbook.C (makeCommand): merge two if's that tested the
1816 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1818 * sgml.C (escapeString): fix warning in a better way
1820 2004-10-25 José Matos <jamatos@lyx.org>
1822 * sgml.C (escapeString): import the require boosts header file for
1823 tie, and avoid a signed unsigned comparison.
1825 2004-10-25 José Matos <jamatos@lyx.org>
1827 * sgml.h: add #include <string>
1829 2004-10-25 José Matos <jamatos@lyx.org>
1831 * sgml.[Ch] (escapeString): new function to escape all the string.
1833 2004-10-24 José Matos <jamatos@lyx.org>
1835 * paragraph.[Ch] (getFirstWord): new function to get the first
1836 word. Useful for description.
1837 (simpleDocBookOnePar): remove depth argument, add another that
1838 says where to start the paragraph.
1840 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1841 use the new functions to fix cleanly the support for descriptions.
1843 2004-10-24 José Matos <jamatos@lyx.org>
1845 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1846 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1847 * output_linuxdoc.C (linuxdocParagraphs):
1848 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1849 add buffer as argument.
1851 2004-10-24 José Matos <jamatos@lyx.org>
1853 * output_docbook.C (makeEnvironment, searchEnvironment): place
1854 CDATA inside paragraphs and fix scope for listitems.
1856 2004-10-24 José Matos <jamatos@lyx.org>
1858 * output_docbook.C: remove using statement for stack.
1860 2004-10-23 José Matos <jamatos@lyx.org>
1862 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1863 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1864 docbook. The new scheme is recursive and makes use of iterators, the
1865 same as latex export works.
1866 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1867 directly with the paragraph contents. This code was moved up to
1868 output_docbook.C (docbookParagraphs).
1869 * sgml.C (openTag, closeTag): removed unneeded newlines.
1870 (closeEnvTags) removed.
1872 2004-10-23 André Pönitz <poenitz@gmx.net>
1874 * undo.C (textUndoOrRedo):
1875 * dociterator.C (asDocIterator): work around crash
1877 * cursor.C (getStatus): replace ASSERT by more verbose error message
1878 and manual correction of the problem. Should increase stability
1879 while providing more sensible information.
1881 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1883 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1885 * bufferlist.C (previous, next): new methods
1888 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1890 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1892 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1893 entities to preamble.
1895 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1897 * messages.C (Pimpl): strip off translation context information
1899 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1901 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1902 the cursor is correct (bug 1694)
1904 2004-10-13 José Matos <jamatos@lyx.org>
1906 * output_docbook.C (docbookParagraphs): fix closing tags in the
1907 end of the document.
1909 2004-10-09 José Matos <jamatos@lyx.org>
1911 * buffer.C: format up to 237.
1912 * bufferparams.C (write): use tostr to convert booleans to strings.
1914 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1916 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1918 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1920 * LaTeX.C: implement use of babel language in xindy.
1922 2004-10-05 José Matos <jamatos@lyx.org>
1924 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1925 Add new translators to help reading and writing the lyx file.
1927 2004-10-05 José Matos <jamatos@lyx.org>
1929 * ParagraphParameters.C (read):
1930 * text.C (readParToken): replace nexToken by more appropriate lex
1933 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1935 * LaTeX.C (runMakeIndex):
1936 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1937 (usually 'makeindex') configurable.
1939 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1940 with a variable rather than with a number.
1942 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1944 * output_latex.C (TeXOnePar): make sure font setting is the first
1945 thing that gets output (and the last at the end). Should fix bug
1948 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1950 * pch.h: use proper signal include
1952 * LaTeX.h: Use preferred calling of Boost.Signal
1955 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1957 * pch.h: dont include <boost/function/function0.hpp>
1959 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1961 * paragraph_pimpl.h: remove usage of ShareContainer
1963 * paragraph_pimpl.C: remove initialization of ShareContainer.
1965 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1969 * BufferView.C (putSelectionAt): change the semantics when
1970 backwards == true: now, this just swaps cursor and anchor wrt the
1973 * BufferView.h (putSelectionAt): add some documentation
1975 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1976 make sure backwardChar is done at least once (to avoid getting
1978 (findNextChange): use putSelectionAt in the forward direction
1979 (operator()): use Paragraph::isWord
1981 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1983 * Spacing.C (set): c_str fix
1985 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1987 * lyx_cb.C (Reconfigure): quote the name of configure script in
1988 case it contains spaces
1990 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1994 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1995 (BOOST_LIBS): use top_buildir when looking for the file
1997 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1999 * pch.h: do not use include boost/format.hpp, multiple symbols
2000 will result (gcc bug)
2003 2004-08-23 José Matos <jamatos@lyx.org>
2005 * bufferparams.C (readToken): fix reading of the author field.
2007 2004-08-20 José Matos <jamatos@lyx.org>
2009 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2011 2004-08-20 José Matos <jamatos@lyx.org>
2013 * lyxlex.[Ch] (findToken): remove function.
2015 * ParagraphParameters.C (findToken):
2016 * bufferparams.C (findToken): replace call for previous function
2017 with local copy. This local function has one more argument, the
2018 read string argument.
2020 2004-08-16 José Matos <jamatos@lyx.org>
2022 * ParagraphParameters.C (write):
2023 * Spacing.C (writeFile):
2024 * bufferparams.C (writeLaTeX):
2025 * lyx_cb.C (Reconfigure):
2026 * paragraph.C (write):
2027 * tabular.C (write): remove unnecessary space at end of line.
2030 2004-08-16 José Matos <jamatos@lyx.org>
2032 * text.C (readParagraph): remove debug message.
2034 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2036 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2039 * output_plaintext.C (asciiParagraph): set depth correctly
2041 * outputparams.h: add member depth
2043 * paragraph_funcs.C (ownerPar): remove.
2045 * text2.C (setCounter): remove first_pit; comment out some
2046 non-working code that uses ownerPar
2048 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2051 2004-08-16 José Matos <jamatos@lyx.org>
2053 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2054 For the same level of importance use the same chanel to report problems.
2055 (read): add code to deal with \begin_body and \end_body.
2058 2004-08-15 José Matos <jamatos@lyx.org>
2060 * lyxlex.C (getString): fix comment, buffer::readBody is now
2061 buffer:readDocument.
2063 * tex-strings.C (string_papersize): Default -> default,
2064 Custom -> custom, for consistency with other options.
2066 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2070 * Makefile.am: support pch
2072 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2074 * text.C (readParToken): remove the static LyXFont variable and
2075 pass it as a parameter instead. This fixes a nasty bug where an
2076 inset will be inserted with a bad font in some situations
2077 (readParagraph): adapt
2079 * text2.C (setCounter): reduce number of calls to pars_[pit]
2081 * text.C (singleWidth): add an assert, fix a test
2083 * rowpainter.C (paintText): reduce number of calls to singleWidth
2085 * paragraph.C (isHfill):
2086 (isNewline): ws only
2088 2004-08-14 André Pönitz <poenitz@gmx.net>
2093 * lyxtext.h (several functions): use a Paragraph & argument
2096 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2098 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2100 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2102 * text.C (singleWidth): remove useless test
2104 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2106 * tabular.h: remove bogus comments
2108 * tabular.C (getDescentOfRow):
2109 (isPartOfMultiColumn): add assertions
2111 * lyxlength.C (inPixels): remove #warning
2113 2004-08-14 André Pönitz <poenitz@gmx.net>
2115 * paragraph.h: inline getChar()
2117 * BufferView.h: remove unused declarations
2119 2004-08-14 José Matos <jamatos@lyx.org>
2121 * Buffer.[Ch] (readDocument): new name for old readBody.
2122 * Buffer.C: new file format, new keywords: \begin_document,
2123 \begin_header, \begin_body, \end_body.
2125 * bufferparams.C (readToken): replace all calls to lex.nextToken
2126 by lex.next(). Do the same to eatLine except where really needed.
2128 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2129 line when writing to the lyx file.
2131 * output_plaintext.C (asciiParagraph): fix Bibliography style
2134 * text.C (read): fix end of file handling.
2136 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2138 * MenuBackend.C (Menu::operator[]): new method to access
2139 individual menu items
2140 (Menu::hasFunc): new method. search for an item that corresponds
2142 (MenuBackend::specialMenu): new method
2143 (MenuBackend::expand): if a special menu has been set, skip
2144 entries whose func() appears in this menu
2146 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2148 * text3.C: use Debug::DEBUG a bit more
2150 * text.C (leftMargin): try to simplify a tiny bit change var x to
2151 l_margin. Dont output the wide margins always.
2152 (rightMargin): no margin in inner texts
2154 * rowpainter.h (nestMargin): new func
2155 (changebarMargin): new func
2156 (rightMargin): new func
2158 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2162 * factory.C (createInset): modify setDrawFrame
2164 * cursor.C: use Debug::DEBUG a bit more
2166 2004-08-14 André Pönitz <poenitz@gmx.net>
2169 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2170 cache for all insets in (at least partially) visible (top-level)
2173 * BufferView_pimpl.C: reset external coord cache before every update.
2174 This means the coord cache only contains valid entries.
2176 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2179 * BufferView_pimpl.C (getInsetByCode): move function out of class
2180 and change in to a template in anon namespace. Also fix to do what
2183 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2186 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2188 (breakParagraph): rename par to par_offset and use a local
2189 reference. Add code to keep the language over a rebreak.
2190 (breakParagraphConservative): rename par to par_offset, use a
2192 (mergeParagraph): ditto
2194 (isFirstInSequence): ditto
2195 (outerFont): rename pit to par_offset
2197 * paragraph.C: ws change
2198 * paragraph.h: ditto
2202 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2204 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2207 * paragraph.C (simpleTeXOnePar): when we have a \item with
2208 optional argument, enclose the argument with curly brackets (in
2209 case it contains a closing square bracket)
2213 * text3.C (checkInsetHit): constify
2215 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2217 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2218 documents (bug 1629)
2220 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2222 Fix toggling of collapsable insets with the mouse (bug 1558)
2224 * lyxfunc.C (dispatch): adapt to LCursor changes
2226 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2227 make sure that dispatch is not invoked twice
2229 * cursor.C (needsUpdate): new method
2230 (dispatch): return void
2231 (result): new method, to access the DispatchResult of the cursor.
2233 2004-08-13 José Matos <jamatos@lyx.org>
2235 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2237 2004-08-13 André Pönitz <poenitz@gmx.net>
2239 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2241 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2244 2004-08-12 André Pönitz <poenitz@gmx.net>
2246 * text3.C: take out the 'cursor right' form insertInset and only
2247 do it in those places when it is really needed. Fixes crash on
2250 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2252 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2254 * BufferView_pimpl.C (setBuffer): initialize the current font of
2255 the underlying LyXText
2257 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2259 * kbsequence.C (print): use UI native formatting for menu
2262 * text.C (insertChar): call Paragraph::insertChar with a font
2265 * paragraph.C (insertInset, insertChar): the version that takes a
2266 LyXFont argument is now a wrapper around the other one (the
2267 opposite used to be true).
2269 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2270 argument. Font setting is done in Paragraph now.
2272 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2274 * outputparams.h: add new members intitle and lang.
2276 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2277 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2279 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2281 * text3.C (dispatch): remove special handling of button 4 and 5,
2282 it is now taken care of in the frontend code.
2284 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2286 * Spacing.h: add <string> (STLPort compile fix)
2288 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2290 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2292 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2294 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2297 * converter.C (showMessage): inherit from unary_function, make
2300 * buffer.C (writeFile): initialize retval
2302 * InsetList.h: rename private variable list to list_
2303 * InsetList.[Ch]: adjust accordingly.
2305 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2307 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2308 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2309 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2310 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2311 * ParagraphParameters.C, LaTeXFeatures.C: replace
2312 "support/std_sstream.h" with <sstream>
2314 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2316 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2317 * lyxsocket.C (LyXServerSocket): ditto
2318 (serverCallback): ditto
2320 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2322 * LaTeXFeatures.C: check release date when loading jurabib.
2324 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2326 * lyxserver.C (startPipe): call register_socket_callback
2327 (endPipe): call unregister_socket_callback
2329 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2331 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2332 (LyXServerSocket): register the callback
2333 (LyXServerSocket): unregister the callback
2334 (fd): delete function
2335 (serverCallback): improve error checking and setup the callbacks.
2336 (dataCallback): change arg to fd.
2337 (writeln): new func (copied fro the client socket) used for server
2339 (LyXDataSocket): simplify
2340 (~LyXDataSocket): close ann unregiser callback
2341 (server): delete function
2342 (fd): delete function
2343 (readln): small changes, improve some std::string usage
2344 (writeln): constify a bit
2346 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2348 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2351 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2353 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2354 after it has been populated
2356 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2358 * text2.C (insertInset): move cursor when inserting inset.
2360 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2362 * kbmap.C (findbindings): a couple of new methods. returns a
2363 container of kb_sequence objects. The real work is done by the
2364 private recursive version
2365 (printbindings): uses findbindings to print out a bracketed list
2366 of bindings (renamed from findbinding).
2368 * MenuBackend.C (binding): use kb_keymap::findbindings
2370 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2372 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2374 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2376 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2378 * paragraph.C (isWord): return true on insets that report
2381 * text.C (getWord): use Paragraph::isWord to decide what is in a
2382 word and what is not; fix bug 1609.
2384 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2386 * tex-strings.C: add "none" to string_paperpackages[], fixes
2387 off-by-one-error in the paperpackage selection.
2390 * tex-strings.[Ch]: char const * string[n]
2391 -> char const * const string[]
2393 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2395 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2396 command, return early.
2398 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2400 * debug.h: add DEBUG to enum and fix size of ANY.
2402 * debug.C: add support for Debug::DEBUG
2403 (showTags): cast errorTags.level to unsigned int
2405 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2406 (redoCurrentBuffer): ditto
2407 (updateScrollbar): ditto
2408 * cursor.C (dispatch): ditto
2409 * text2.C (setLayout): ditto
2411 (updateCounters): ditto
2413 (deleteEmptyParagraphMechanism): ditto
2415 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2417 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2418 annotations to cleanup the Makefile slightly.
2420 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2422 * lyxrc.C: do not set user_email to a default value but use empty
2423 instead. The entry used to be translated, which does not work
2424 since at the point where lyxrc is constructed there is no
2425 translation service available
2427 * messages.C (getLocaleDir): remove and use directly
2428 lyx_localedir() instead
2430 2004-06-02 Angus Leeming <leeming@lyx.org>
2432 Fix crash caused by dereferencing null pointer 'exportdata' in
2433 OutputParams by creating a new ExportData variable on the heap,
2434 storing it in a boost::shared_ptr.
2435 The crash was triggered when generating an Instant Preview
2436 of an external inset.
2438 * Makefile.am: add outputparams.C
2440 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2441 (c-tor): allocate memory to it.
2443 * exporter.C (c-tor): associated changes.
2445 2004-06-01 Angus Leeming <leeming@lyx.org>
2447 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2448 contains data before calling isInset(0). (Bug 1513.)
2450 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2452 * exporter.C (checkOverwrite): new method
2453 * exporter.C (copyFile): new method
2454 * exporter.C (Export): copy referenced files to the document dir
2455 * exporter.[Ch]: new class ExportedFile
2456 * exporter.[Ch]: new class ExportData. Contains currently the
2457 names of referenced external files
2458 * outputparams.h: add exportdata member.
2460 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2462 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2465 2004-05-19 Angus Leeming <leeming@lyx.org>
2470 * lyxfunc.C: small changes due to the introduction of namespace
2471 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2473 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2475 * text3.C (dispatch): supress update when only moving the cursor
2476 * cursor.C (selHandle): remove commented code
2478 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2480 * paragraph.C (startTeXParParams): correct column count
2481 * CutAndPaste.C (pasteSelection): remove const_cast
2482 * output_docbook.C (docbookParagraphs): remove const_cast
2483 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2484 const_cast and return ParagraphList::const_iterator
2485 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2486 * output_plaintext.C (writeFileAscii): remove const_cast
2487 * paragraph.[Ch] (simpleTeXOnePar): make const
2488 * paragraph_funcs.C (outerPar): use const iterators
2489 * paragraph_pimpl.C (validate): use const iterators
2490 * text.C (setHeightOfRow): use const iterators
2492 2004-05-17 Angus Leeming <leeming@lyx.org>
2495 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2497 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2498 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2499 if the citation engine has changed.
2501 2004-05-14 José Matos <jamatos@lyx.org>
2503 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2504 if the textclass does not provide it. Have it different for sgml and
2506 support the language of document.
2507 * output_docbook.C (docbookParagraphs):
2508 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2509 first anchor as the id of the paragraph, remove special case code.
2510 * sgml.C (escapeChar): escape only < & >.
2512 2004-05-14 Angus Leeming <leeming@lyx.org>
2514 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2515 dependencies on src/frontends/controllers/biblio.h. Define a
2516 CiteEngine_enum wrapper class to enable the enum to be forward
2519 2004-05-12 Angus Leeming <leeming@lyx.org>
2521 * buffer.C: up LYX_FORMAT to 234.
2522 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2523 use_numerical_citations with a single biblio::CiteEngine cite_engine
2525 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2527 2004-05-13 José Matos <jamatos@lyx.org>
2530 * converter.C (Converter, readFlags): add xml member.
2531 * outputparams.h: add XML flavor.
2532 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2534 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2536 * lyxfunc.C (dispatch):
2537 (getStatus): fix handling of LFUN_SEQUENCE
2539 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2541 * debug.C (showLevel): do not forget the end-of-line marker
2543 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2545 * kbmap.C (read): do not stop parsing a bind file when an error
2548 2004-04-29 Angus Leeming <leeming@lyx.org>
2553 * text2.C: wrap a bunch of #warning statements
2554 inside #ifdef WITH_WARNINGS blocks.
2556 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2558 * buffer.C: increment format to 233.
2560 2004-04-28 Angus Leeming <leeming@lyx.org>
2562 * BufferView_pimpl.C:
2565 s/updateToolbar()/updateToolbars()/
2566 s/Toolbar.h/Toolbars.h/
2568 2004-04-28 Angus Leeming <leeming@lyx.org>
2570 * BufferView.[Ch] (c-tor):
2571 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2572 No longer passes these data to the WorkArea generator.
2574 2004-04-28 Angus Leeming <leeming@lyx.org>
2576 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2578 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2580 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2582 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2584 * output_latex.C (TeXEnvironment): make sure that there is a line
2585 break before \end{foo} for the last paragraph of a document
2586 (TeXOnePar): if the paragraph is at the end of the document (or
2587 inset) and the language has to be reset, then make sure that the
2588 line break is _before_ the language command, not after (fixes bug
2589 1225); also make sure that the language reset command is the first
2590 thing after the paragraph (to ensure proper nesting of
2591 environments and thus fix bug 1404)
2593 2004-04-21 John Levon <levon@movementarian.org>
2596 * ToolbarBackend.C: make "name" be a programmatic name
2597 and a gui_name field.
2599 * lyxfunc.C: display the minibuffer on M-x
2601 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2603 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2606 2004-04-19 Angus Leeming <leeming@lyx.org>
2608 * BufferView_pimpl.C (setBuffer): changed preview interface.
2610 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2613 2004-04-19 John Levon <levon@movementarian.org>
2615 * BufferView_pimpl.C:
2616 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2618 2004-04-05 Angus Leeming <leeming@lyx.org>
2620 * text.C (redoParagraphs): add call to updateCounters(), thereby
2621 fixing the missing "Figure #:" label from the caption of a
2624 2004-04-13 Angus Leeming <leeming@lyx.org>
2626 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2627 cursor is clicked out of an inset.
2629 2004-04-13 Angus Leeming <leeming@lyx.org>
2631 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2632 than an InsetOld one.
2634 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2636 * format.[Ch]: add editor to Format
2637 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2638 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2640 2004-04-08 André Pönitz <poenitz@gmx.net>
2642 * metricsinfo.h: remove PainterInfo::width member
2644 2004-04-08 Angus Leeming <leeming@lyx.org>
2646 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2647 "\providecommand" rather than "\newcommand", thereby preventing
2648 clashes with packages that define "\boldsymbol" themselves.
2651 2004-04-08 Angus Leeming <leeming@lyx.org>
2653 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2654 thereby squashing an unnecessary warning.
2656 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2658 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2661 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2663 * BufferView.C (setCursor): call redoParagraph (some insets could
2665 (putSelectionAt): remove the 'double update' trick
2667 * BufferView_pimpl.C (fitCursor): call refreshPar
2668 (workAreaDispatch): remove an uneeded update call
2669 (dispatch): remove some manual update calls
2671 * cursor.[Ch]: remove cached_y_, updatePos
2672 (selHandle): set noUpdate when appropriate
2674 * lyxfunc.C (dispatch): track if we need an update
2676 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2678 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2679 (paintSelection): cheap optimization, do not call cursorX when not
2681 (paintPars): change signature
2684 (paintTextInset): adjust
2688 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2690 * lengthcommon.C: compilation fix: remove explicit array size from
2691 unit_name[] and friends
2693 2004-04-05 Angus Leeming <leeming@lyx.org>
2695 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2697 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2698 present only for the preferences dialog.
2699 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2701 2004-04-05 Angus Leeming <leeming@lyx.org>
2703 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2704 to enable the frontends to export changes to lyxrc correctly.
2706 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2708 2004-04-07 André Pönitz <poenitz@gmx.net>
2710 * cursor.[Ch] (selClear, adjust): remove math
2712 * cursor_slice.C: more agressive assert
2715 * BufferView_pimpl.C: rework mouse event dispatch
2722 2004-04-05 André Pönitz <poenitz@gmx.net>
2724 * cursor.[Ch] (valign, halign...): remove unneeded functions
2726 2004-04-05 Angus Leeming <leeming@lyx.org>
2728 * lyxlength.[Ch] (unit_name et al.): const-correct.
2730 2004-04-05 Angus Leeming <leeming@lyx.org>
2732 * BufferView_pimpl.C:
2741 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2743 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2745 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2747 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2749 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2750 * BufferView_pimpl.[Ch] (getStatus)
2751 * BufferView.[Ch] (getStatus): add
2752 * lyxfunc.C (getStatus): move lfuns handled in
2753 BufferView::dispatch to te function above
2754 * Cursor.C (setSelection): set selection() = true
2756 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2758 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2760 2004-03-31 Angus Leeming <leeming@lyx.org>
2762 * lyxfunc.C (dispatch): Fall through to the generic
2763 Dialogs::show("preamble").
2765 2004-03-31 Angus Leeming <leeming@lyx.org>
2767 * lyxfunc.C (dispatch): Fall through to the generic
2768 Dialogs::show("spellchecker").
2770 2004-03-31 Angus Leeming <leeming@lyx.org>
2772 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2775 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2780 * insetiterator.[Ch]:
2785 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2787 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2789 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2790 insets where we are putting the cursor.
2792 2004-03-31 Angus Leeming <leeming@lyx.org>
2795 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2797 * lyxrc.[Ch] (read, write): overloaded member functions taking
2798 a std::[io]stream arguments.
2800 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2802 2004-03-31 Angus Leeming <leeming@lyx.org>
2804 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2805 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2807 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2808 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2810 2004-03-31 Angus Leeming <leeming@lyx.org>
2812 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2813 the LFUN_ALL_INSETS_TOGGLE code.
2815 2004-03-30 Angus Leeming <leeming@lyx.org>
2817 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2818 has died. Fall through to the generic Dialogs::show("document").
2820 2004-03-30 Angus Leeming <leeming@lyx.org>
2823 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2824 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2826 * lyxfunc.C (getStatus, dispatch): define the actions for these
2827 lfuns. Little more than a cut and pste job from ControlDocument.C
2829 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2831 2004-03-30 Angus Leeming <leeming@lyx.org>
2834 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2835 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2837 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2838 open/closed state of ollapsable insets. Usage:
2840 all-inset-toggle <state> <name>, where
2841 <state> == "open" || "closed" || "toggle" and
2842 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2844 * lyxtext.h, text2.C (toggleInset): removed.
2846 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2847 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2848 now passes LFUN_INSET_TOGGLE to the found inset.
2850 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2851 is now invoked as "all-insets-toggle toggle branch".
2853 2004-03-30 Angus Leeming <leeming@lyx.org>
2857 * pariterator.[Ch]: added/corrected header blurb.
2859 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2861 * dociterator.[Ch]: add an inset_ member
2862 (backwardPos): implemented
2863 (backwardPos, forwardPos): use inset_ when the stack is empty.
2864 (doc_iterator_begin, doc_iterator_end): implemented
2865 * pariterator.[Ch]: adjust, add begin, end
2866 * insetiterator.[Ch]: adjust, add begin, end
2870 * BufferView_pimpl.C:
2871 * CutAndPaste.C: adjust
2873 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2875 * buffer.C: increment file format to 232.
2876 * LaTeXFeatures.C: add bibtopic package.
2877 * bufferparams.[Ch]: param \use_bibtopic.
2879 * lyxrc.[Ch]: add lyxrc bibtex_command
2880 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2882 * buffer.C: increment file format to 231.
2884 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2886 * dociterator.C: implement forwardPar
2887 * iterators.[Ch]: remove, replaced by
2888 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2890 * BufferView_pimpl.C:
2893 * bufferview_funcs.C:
2899 * Makefile.am: adjust
2901 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2903 * CutAndPaste.C (pasteSelection): fix 2 crashes
2904 (eraseSelection): fix a crash
2905 * paragraph_funcs.C: remove a warning
2907 2004-03-28 Angus Leeming <leeming@lyx.org>
2910 * LyXAction.C (init): new LFUN_PRINT.
2912 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2914 2004-03-27 Angus Leeming <leeming@lyx.org>
2917 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2919 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2921 2004-03-27 Angus Leeming <leeming@lyx.org>
2923 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2924 insetlist always contains non-null pointers to insets.
2926 2004-03-26 Angus Leeming <leeming@lyx.org>
2928 * src/BufferView_pimpl.C:
2929 * src/CutAndPaste.C:
2932 * src/output_plaintext.C:
2933 * src/outputparams.h:
2934 * src/paragraph_funcs.C:
2938 * src/frontends/controllers/ControlErrorList.C:
2939 * src/frontends/gtk/FileDialogPrivate.C:
2940 * src/frontends/gtk/GPainter.C:
2941 * src/frontends/gtk/GToolbar.C:
2942 * src/frontends/qt2/QRef.C:
2943 * src/mathed/math_scriptinset.C: squash compiler warnings.
2945 2004-03-26 Angus Leeming <leeming@lyx.org>
2947 * ispell.C (LaunchIspell::start):
2948 * lyx_cb.C (AutoSaveBuffer::start):
2949 invoke run(DontWait) rather than runNonBlocking().
2951 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2953 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2955 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2957 * kbsequence.C (print): adjust
2959 * kbmap.C (printKeySym): rename and change signature
2960 (printKey): use LyXKeySym::print()
2962 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2964 * undo.C: add using std::advance to compile for stlport
2966 2004-03-24 Angus Leeming <leeming@lyx.org>
2968 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2969 it leads to a crash when no buffer is present.
2971 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2972 Martin Vermeer <martin.vermeer@hut.fi>
2974 * lyxfunc.C (dispatch):
2975 * bufferparams.C (readToken): use the new LColor::setColor
2977 * LColor.[Ch] (setColor): new version that takes two strings as
2978 argument and creates a new color entry if necessary
2980 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2982 * buffer.C (makeLaTeXFile): if the main latex file that is
2983 processed is usually a subdocument of some master, then pretend
2984 for a while that it is actually the master
2986 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2988 * buffer.C (getLabelList):
2989 (getBibkeyList): use getMasterBuffer()
2990 (getMasterBuffer): new method. Returns the main document in the
2991 case where one is using included documents.
2993 2004-03-25 André Pönitz <poenitz@gmx.net>
2997 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2999 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3001 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3002 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3004 * ParameterStruct.h: merge with ParagraphParameters
3006 * lyxtext.h: remove LyXText::parOffset() and getPar()
3008 * text3.C: Remove all 'manual' update calls. We do now one per user
3009 interaction which is completely sufficient.
3013 * BufferView_pimpl.C:
3014 * FontIterator.[Ch]:
3016 * ParagraphParameters.[Ch]:
3021 * cursor_slice.[Ch]:
3028 * output_docbook.[Ch]:
3029 * output_latex.[Ch]:
3030 * output_linuxdoc.[Ch]:
3031 * output_plaintext.[Ch]:
3033 * paragraph_funcs.[Ch]:
3034 * paragraph_pimpl.[Ch]:
3042 * frontends/controllers/ControlDocument.C:
3043 * frontends/controllers/ControlErrorList.C:
3044 * frontends/controllers/ControlSpellchecker.C:
3047 * insets/insetbase.h:
3048 * insets/insetbibitem.C:
3049 * insets/insetbox.C:
3050 * insets/insetbranch.C:
3051 * insets/insetcaption.C:
3052 * insets/insetcharstyle.C:
3053 * insets/insetcharstyle.h:
3054 * insets/insetcollapsable.C:
3055 * insets/insetcollapsable.h:
3056 * insets/insetert.C:
3057 * insets/insetfloat.C:
3058 * insets/insetfoot.C:
3059 * insets/insetmarginal.C:
3060 * insets/insetnote.C:
3061 * insets/insetoptarg.C:
3062 * insets/insettabular.C:
3063 * insets/insettext.C:
3064 * insets/insettext.h:
3065 * insets/insetwrap.C:
3066 * mathed/math_mboxinset.C:
3067 * mathed/math_nestinset.C:
3068 * mathed/math_scriptinset.C:
3069 * mathed/math_scriptinset.h:
3072 2004-03-24 Angus Leeming <leeming@lyx.org>
3074 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3075 deal with any child processes that have finished but are waiting to
3076 communicate this fact to the rest of LyX.
3078 2004-03-24 Angus Leeming <leeming@lyx.org>
3080 64-bit compile fixes.
3082 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3083 (c-tor): pass lyx::pos_types rather than ints.
3085 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3088 * text.C (Delete): compile fix.
3089 (getPar): ensure that function declaration is the same as that in
3092 2004-03-23 Angus Leeming <leeming@lyx.org>
3094 * ispell.C (LaunchIspell):
3095 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3096 a boost::shred_ptr rather than a std::auto_ptr.
3098 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3100 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3101 handle LFUN_FILE_INSERT_*
3103 * lyxrc.C (setDefaults, getDescription, output, read):
3104 * lyxrc.h: remove ps_command
3106 2004-03-22 Angus Leeming <leeming@lyx.org>
3108 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3109 Ensure that error_handler is processed once only and that all data
3110 is saved before attempting to output any warning messages.
3112 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3114 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3116 * tabular.C (TeXRow): crash fix (from Kayvan and André)
3118 2004-03-19 André Pönitz <poenitz@gmx.net>
3120 * cursor.[Ch] (reset): take main text inset as argument
3122 * BufferView: adjust
3123 * BufferView_pimpl.C: adjust
3125 * paragraph.[Ch]: fix completely broken operator=()
3127 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3129 * LColor.C (getFromLyXName): make sure that the color name is used
3132 2004-03-17 Angus Leeming <leeming@lyx.org>
3135 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3137 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3138 dialog and to kill a forked process.
3140 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3142 * text2.C (setCursorFromCoordinates): fix font problem
3144 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3146 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3147 bogus "rebuild cursor" code
3149 2004-03-11 André Pönitz <poenitz@gmx.net>
3151 * buffer.[Ch]: use InsetText instead of LyXText as container for
3154 * dociterator.[Ch]: drop the BufferView * member which is not needed
3155 anymore after the change to buffer.C
3157 * paragraph_funcs.C:
3161 * BufferView_pimpl.[Ch]:
3163 * cursor_slice.[Ch]: adjust
3165 * text3.C: fix bug in mathDispatch
3167 2004-03-08 André Pönitz <poenitz@gmx.net>
3169 * undo.[Ch]: use 'StableDocumentIterator' as base for
3172 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3175 * bufferparams.[Ch]: add jurabib support and param.
3177 * LaTeX.C: add FIXME/comment.
3179 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3181 * buffer.C: increment file format to 230.
3183 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3185 * cursor.C (dispatch): avoid infinite loops
3187 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3189 * rowpainter.C (paintSelection): fix x coordinates
3191 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3193 * text.C (rowBreakPoint): fix breaking before displayed insets
3195 2004-03-01 André Pönitz <poenitz@gmx.net>
3197 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3199 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3203 * BufferView_pimpl.C:
3211 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3217 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3218 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3220 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3222 * Bidi.[Ch] (computeTables): const correctness
3223 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3224 fill_hfill, fill_label_hfill and x from Row
3225 * lyxtext.h: prepareToPrint returns a RowMetrics
3226 * rowPainter.C: adjust
3227 * text.C (prepareToPrint): use width, not textWidth. adjust
3228 (redoParagraphInternal, cursorX): adjust
3229 * text2.C (getColumnNearX): adjust
3230 (init): put a default value to the top LyXText::width
3232 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3234 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3236 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3238 * lyxtext.h: add FontIterator class
3240 * text.C (FontIterator, operator*, operator->, operator++): add
3241 (rowBreakPoint, setRowWidth): adjust (fixing a
3244 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3246 * BufferView_pimpl.C (workAreaDispatch): allow also
3247 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3249 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3251 * text.C (rowBreakPoint): fix a bug showing with very large insets
3253 2004-02-25 André Pönitz <poenitz@gmx.net>
3256 * cursor.[Ch]: move some mathed specific code to mathed
3258 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3260 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3261 use_tempdir in preferences
3262 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3264 * lyx_main.C: ensure that tempdir is valid
3265 * lyxlex.h: correct typo
3266 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3267 * paragraph.[Ch] (isMultiLingual): make const
3268 * cursor.[Ch] (openable): make const
3270 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3272 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3274 2004-02-20 André Pönitz <poenitz@gmx.net>
3276 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3278 * cursor.[Ch]: prepare for localized getStatus()
3284 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3286 2004-02-20 André Pönitz <poenitz@gmx.net>
3288 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3290 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3292 * text2.C (setCursorFromCoordinates): switch to absolute coords
3294 (cursorDown): adjust
3295 * text3.C (dispatch): adjust
3297 2004-02-16 André Pönitz <poenitz@gmx.net>
3299 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3302 * cursor_slice.[Ch]: remove unneeded acessor function
3304 * lyxtext.h: rename rtl() to isRTL()
3312 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3314 * rowpainter.C (paintSelection): coord fix
3316 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3318 * Spacing.C: compile fix
3320 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3322 * cursor.C (dispatch): restore current_ before returning
3324 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3326 * text2.C (cursorUp, cursorDown): fix coords
3329 2004-02-12 André Pönitz <poenitz@gmx.net>
3334 * text3.C: add LCursor & parameter to most cursor movement functions
3335 remove usage of LyXText::cursorRow() and cursorPar()
3337 * cursor.[Ch]: add textRow() needed members
3340 * BufferView_pimpl.C:
3343 * BufferView_pimpl.C: adjust
3345 2004-02-11 André Pönitz <poenitz@gmx.net>
3349 * BufferView_pimpl.C: shift undo/redo handling
3351 * cursor.[Ch]: fix mathed crash
3354 * lyxtext.h: move selectionAsText to LCursor
3362 * rowpainter.C: fix excessive drawing
3364 2004-02-06 André Pönitz <poenitz@gmx.net>
3367 * BufferView_pimpl.[Ch]:
3368 * text3.C: move some text specific LFUN handling
3370 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3372 * text3.C (checkInsetHit): adjust coords
3373 * text2.C (getColumnNearX): adjust coords
3374 (edit): adjust coords
3375 * text.C (getRowNearY): add two asserts
3377 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3380 * format.C: add using std::distance to compile on gcc 2.95/stlport
3382 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3384 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3386 2004-02-04 André Pönitz <poenitz@gmx.net>
3388 * BufferView.[Ch] (insertInset):
3389 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3394 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3396 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3397 on the default clause of the switch
3398 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3399 wasn't catched by LCursor::dispatch
3401 2004-02-03 André Pönitz <poenitz@gmx.net>
3404 * cursor.[Ch]: some additional asserts
3406 * undo.[Ch]: remove LyXText dependency in interface
3410 * lyxtext.h (firstPar, lastPar): remove dead functions
3415 * paragraph.[Ch]: adjust
3417 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3419 * lyxfind.C (find): fix argument order in call to ::find
3421 2004-02-02 André Pönitz <poenitz@gmx.net>
3423 * cursor.[Ch]: remove direct access to anchor
3425 * text.C: remove findText() hack
3427 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3429 * iterators.[Ch] (lockPath): remove in favour of...
3430 * BufferView.[Ch] (setCursor): this addition
3431 * BufferView.C (putSelectionAt): adjust
3432 * undo.C (performUndoOrRedo): adjust
3433 * lyxfunc.C (dispatch): adjust
3435 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3437 * iterators.C (lockPath): add a missing slice
3438 * undo.C (performUndoOrRedo): remove redundant positioning code
3440 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3442 * vc-backend.C (scanMaster): ";" -> ';'
3444 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3446 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3447 std::binary_function
3449 * lyxtextclass.C (compare_name): rename to...
3450 (LayoutNamesEqual): ...this
3452 * lyxlex_pimpl.C (compare_tags): inherit from
3453 std::binary_function, put back into anon namespace
3455 * lyxfind.C (MatchString): inherig from std::binary_function
3456 (findChange): use empty() istead of !size()
3458 * format.C (FormatNamesEqual): new functor
3465 * converter.C (compare_Converter): rename to...
3466 (ConverterEqual): ...this, and fixup a bit.
3467 (getConverter): use it, and make function const
3468 (getNumber): use it, and make function const
3472 * bufferlist.C: add using boost::bind
3474 * MenuBackend.C (MenuNamesEqual): new functor
3475 (hasMenu): use it, and make function const
3476 (hasSubmenu): use nested bind to get rid of compare_memfun.
3478 2004-01-30 André Pönitz <poenitz@gmx.net>
3480 * BufferView_pimpl.C:
3483 * cursor_slice.[Ch]:
3486 * paragraph_funcs.C:
3487 * paragraph_funcs.h:
3491 * text3.C: move some of the edit(x,y) handling to the insets
3492 some coordinate changes.
3494 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3496 * text.C: add using statements for std::advance and std::distance
3498 * paragraph.C: add using statement for std::distance
3500 * lyxfind.C: add using statement for std::advance
3502 * cursor.C (region): remove std:: from swap
3503 (openable): use nucleus in stead of operator->
3505 * BufferView.C: add using statements for std::distance and std::swap
3507 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3509 * iterators.C: Remove the pimple, move the needed structures to
3510 the header file. Create accessor for the positions stack.
3511 (asPosIterator): remove function
3513 * PosIterator.C (PosIterator): move constructors to top of file
3514 (PosIterator): reimplement the constructor taking a ParIterator in
3516 (setFrom): new function
3517 (operator!=): inline it
3519 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3521 * lyxfind.C (replaceAll): use std::advance
3523 * iterators.h: inherit from std::iterator.
3525 * PosIterator.C (advance, distance): remove
3526 * PosIterator.h: interit from std::iterator.
3528 2004-01-26 André Pönitz <poenitz@gmx.net>
3531 * BufferView_pimpl.[Ch]:
3535 * bufferview_funcs.C:
3545 * output_linuxdoc.C:
3546 * output_plaintext.C:
3548 * paragraph_funcs.[Ch]:
3549 * paragraph_pimpl.[Ch]:
3555 * text3.C: more IU: dumps most of the rest of the mathcursor
3556 implementation into cursor.[Ch]; "globalize" a bit of it.
3558 2004-01-25 Angus Leeming <leeming@lyx.org>
3560 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3562 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3564 * LaTeXFeatures.h: add nice_ and nice() const
3565 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3567 2004-01-20 André Pönitz <poenitz@gmx.net>
3570 * BufferView_pimpl.C:
3572 * bufferview_funcs.C:
3574 * cursor_slice.[Ch]:
3585 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3586 LCursor and mathcursor parts to LCursor and InsetBase.
3588 2004-01-15 André Pönitz <poenitz@gmx.net>
3590 * cursor_slice.[Ch]: add a few covienience functions
3592 * funcrequest.[Ch]: remove BufferView * member
3594 * BufferView_pimpl.C:
3601 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3603 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3605 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3606 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3608 2004-01-13 André Pönitz <poenitz@gmx.net>
3611 * lyxtext.h: hide cursor and selection anchor behind accessor function
3614 * BufferView_pimpl.[Ch]:
3616 * bufferview_funcs.C:
3626 * cursor_slice.[Ch]: some integer type changes for inset unification
3628 * lyxcursor.[hC]: remove, it's CursorSlice now.
3631 * BufferView_pimpl.[Ch]:
3632 * bufferview_funcs.C:
3638 * textcursor.[Ch]: adjust
3640 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3642 * text2.C (undoSpan): add and use
3643 * text.C (breakParagraph): use undoSpan (fix bug 578)
3646 2004-01-08 Angus Leeming <leeming@lyx.org>
3648 * BufferView_pimpl.C (MenuInsertLyXFile):
3649 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3650 * lyxfunc.C (menuNew, open, doImport):
3651 FileFilterList change to the FileDialog open and save functions.
3653 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3655 * ShareContainer.h: make isEqual and isUnique adaptable
3657 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3659 2004-01-07 Angus Leeming <leeming@lyx.org>
3662 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3664 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3666 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3667 functions replacing find, replace and replaceAll.
3669 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3670 LFUN_WORDFIND(FORWARD|BACKWARD).
3672 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3674 * text.C (breakParagraph): remove an outdated #warning
3676 2004-01-07 André Pönitz <poenitz@gmx.net>
3678 * lyxfind.C: somewhat clearer logic
3680 * text.C: prevent crash in cursorX on unitialized row cache
3682 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3684 * lyxcursor.[Ch] (operator>): add
3685 * textcursor.C (selStart, selEnd): use std::min and std::max
3687 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3689 * Chktex.C: include boost/format.hpp
3691 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3693 * InsetList.C: replace functor MathcIt with adaptable functor
3695 (insetIterator): modify accordingly
3697 * BranchList.h: move the BranchNamesEqual functor here from...
3698 * BranchList.C: ... to here
3700 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3702 (add): replace a finding loop with std::find_if.
3704 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3706 * output_docbook.C: moving LatexParam functionality into
3709 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3711 * buffer.C: increment format to 229.
3713 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3716 * lyx_sty.[Ch]: remove minipageindent_def
3722 * text3.C: remove LFUN_INSET_MINIPAGE
3724 2003-12-28 Angus Leeming <leeming@lyx.org>
3726 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3728 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3730 * text2.C (setParagraph): fix off-by-one crash
3732 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3734 * output_docbook.C: header stuff for AGU
3736 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3738 * text2.C (redoCursor): remove
3741 * BufferView_pimpl.C: remove calls to redoCursor and
3742 setCursor(cursor.par(), cursor.pos()) all around
3744 2003-12-15 Angus Leeming <leeming@lyx.org>
3746 * buffer.C: up the format to 228.
3748 2003-12-15 André Pönitz <poenitz@gmx.net>
3750 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3755 * BufferView_pimpl.C:
3764 2003-12-15 Angus Leeming <leeming@lyx.org>
3766 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3767 than getFromGUIName to manipulate the color.
3769 2003-12-14 Angus Leeming <leeming@lyx.org>
3771 * BranchList.[Ch]: minimize the API.
3772 (Branch::getBranch, getColor): now return a 'const &'.
3773 (Branch::setSelected) now returns a bool set to true if the
3774 selection status changes.
3775 (BranchList::clear, size, getColor, setColor, setSelected,
3776 allBranches, allSelected, separator): removed.
3777 (BranchList::find): new functions, returning the Branch with
3779 (BranchList::add, remove): return a bool indicating that
3780 the operation was successful.
3782 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3783 new InsetBranch::isBranchSlected member function.
3785 * LColor.[Ch]: mimimize the API.
3786 (fill): renamed as addColor and made private.
3787 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3788 versions of these functions taking a string arg have been removed.
3790 * bufferparams.C (readToken):
3791 * lyxfunc.C (dispatch):
3792 * lyxrc.C (read): changes due to the altered BranchList and
3795 * factory.C (createInset, readInset): changes due to altered
3798 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3801 * lyxfunc.C: remove insetminipage. "minipage-insert"
3802 now produces a frameless minipage box inset.
3804 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3806 * textcursor.[Ch] (selStart,selEnd): add new methods
3807 remove selection::start, end, use LyXCursor::operator<
3808 * lyxcursor.[Ch] (operator<): add
3809 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3810 * BufferView.[Ch] (unsetXSel): add
3811 * text2.C (clearSelection): use unsetXSel,adjust
3814 * rowpainter.C: adjust
3815 * bufferview_funcs.C (put_selection_at): adjust
3817 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3819 * BufferView_pimpl.C: small coord. correction
3821 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3823 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3824 dragging over the splash screen.
3826 2003-12-11 Angus Leeming <leeming@lyx.org>
3828 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3829 as it is now handled in LyXText::dispatch.
3831 * text3.C (doInsertInset): remove a level of nesting.
3833 2003-12-11 Angus Leeming <leeming@lyx.org>
3835 * factory.C (createInset): changes due to the changed interface to
3836 InsetCommandMailer::string2params.
3838 2003-12-10 Angus Leeming <leeming@lyx.org>
3840 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3841 'dialog-show-new-inset <inset name>'
3843 2003-12-10 Angus Leeming <leeming@lyx.org>
3845 * buffer.C: up the format to 227.
3847 * factory.C: the box inset is now identified simply by 'Box'.
3849 2003-12-10 Angus Leeming <leeming@lyx.org>
3851 * buffer.C: up the format to 226.
3853 * factory.C: the note inset is now identified simply by 'Note'.
3855 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3857 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3858 when a pit is enough. Standarize a couple of loops.
3860 2003-12-05 Angus Leeming <leeming@lyx.org>
3862 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3863 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3864 data to the re-worked "log" dialog.
3866 2003-12-03 André Pönitz <poenitz@gmx.net>
3872 * paragraph_funcs.C:
3874 * text2.C: use Inset::getText instead of Inset::getParagraph
3876 2003-12-03 André Pönitz <poenitz@gmx.net>
3880 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3881 InsetText::read() as LyXText::read()
3883 2003-12-02 Angus Leeming <leeming@lyx.org>
3885 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3886 type. Add a comment in the implementation that the function uses
3887 the stream's bad() function rather than fail() as the std::streams
3890 2003-12-02 André Pönitz <poenitz@gmx.net>
3892 * lyxlex.[Ch]: make interface more similar to std::stream
3894 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3896 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3898 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3900 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3902 * vspace.[Ch]: remove VSpace::NONE
3904 2003-12-01 André Pönitz <poenitz@gmx.net>
3907 * lyxtext.h: move ParagraphList member to LyXText
3908 rename LyXText::ownerParagraphs to LyXText::paragraph
3911 * bufferview_funcs.C:
3921 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3923 * undo.C: fix cursor positioning
3925 2003-12-01 John Levon <levon@movementarian.org>
3927 * BufferView_pimpl.C: fix a crash on exit with
3930 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3932 * BranchList.C: fix setSelected() method.
3934 2003-11-28 André Pönitz <poenitz@gmx.net>
3936 * ParagraphParameters.[Ch]:
3937 * ParameterStruct.h: remove space above/below from Paragraph to
3940 * BufferView_pimpl.C:
3946 * paragraph_funcs.C:
3952 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3954 * factory.C: Syntax change for CharStyles
3956 2003-11-28 André Pönitz <poenitz@gmx.net>
3961 * buffer.[Ch]: move LyXText member
3963 2003-11-28 André Pönitz <poenitz@gmx.net>
3965 * BufferView.[Ch]: make LyXText * text a private member
3967 * BufferView_pimpl.C:
3978 * output_plaintext.C: cleanup
3980 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3983 * lyxtextclass.[Ch]: parametrize SGML document header
3985 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3988 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3991 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3993 * text2.C (setFont): rework using PosIterator (no more recursive)
3994 (setCharFont): no more needed
3995 (setLayout): no more selection cursors fiddling (done by redoCursor)
3996 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3997 destroy remaining ones)
3999 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4001 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4003 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4006 * text3.C: adjust + re-allow multi par depth changes
4007 * textcursor.C: simplify a bit
4009 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4015 * src/output_docbook.C:
4016 * src/output_latex.C:
4021 * src/text2.C: Introducing a number of tags parametrizing various
4022 XML formats that we may want to support
4024 2003-11-25 André Pönitz <poenitz@gmx.net>
4026 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4028 * lyxtext.h (leftMargin/rightMargin): simplify interface
4035 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4037 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4038 master file to any child files. Fixes bug 546.
4040 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4042 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4044 2003-11-24 André Pönitz <poenitz@gmx.net>
4046 * rowpainter.C: simplification
4048 * text2.C (updateCounters): remove call to redoParagraph on
4049 changed labels as this is far too expensive.
4051 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4053 * converter.C (convert): fix a crash: this function gets
4054 called with buffer == 0 from importer code.
4056 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4058 * text3.C (cursorPrevious): make sure that we do not compare
4059 iterators form different containers.
4062 * rowpainter.C (paintSelection): make sure that we do not compare
4063 iterators from different containers.
4065 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4066 iterators from different ParagraphList containers.
4069 * text2.C (LyXText): change order of initialization slightly
4070 (operator=): new function. copy all variables except cache_par_
4071 (moveUp): make sure that we do not compare iterators from
4072 different ParagraphList constainers.
4075 * text.C (firstPar): new function
4076 (lastPar): new function
4077 (endPar): new function
4079 * lyxtext.h: move things around and group public functions, public
4080 variables, private functions, private variables
4082 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4084 * factory.C: change call to InsetERT constructor to avoid
4085 additional invocation of method status
4086 * text2.C (toggleInset): remove redundant update() call
4087 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4088 instead of a Bufferview pointer
4090 2003-11-21 André Pönitz <poenitz@gmx.net>
4092 * rowpainter.C: simplification
4094 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4096 * text3.C (dispatch): make possible to extend a word/row selection
4099 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4101 * lyxtext.h: x0_,y0_ -> xo_,yo_
4102 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4103 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4104 * rowpainter.C (paintRows): paint full paragraphs
4106 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4108 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4111 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4113 * lyxtext.h: add x0_, y0_
4114 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4115 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4117 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4119 * text2.C (setCursorIntern): move the x_target update here *
4120 * text3.C: change some bv() to true/false in calls to
4121 cursorUp/Down/Right/Left
4122 * cursor.C: use helper function.
4124 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4126 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4127 * paragraph_funcs.[Ch]: correct comment
4128 * rowpainter.C: do not paint selections away from bv->cursor()
4129 Fix a long standing selection painting bug.
4130 * text3.C: generalize mouse-selection code to LyXTexts other that
4132 * textcursor.C: do not use y coords if we can use par offsets
4134 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4136 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4137 cursor position after e.g. inset insert)
4139 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4141 * lyxfind.C (replace): adjust to locking removal + some
4144 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4146 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4149 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4152 * output_docbook.C: XML sanitation: new layout
4153 parameters InnerTag and CommandDepth
4155 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4157 * BufferView_pimpl.C:
4159 * text3.C: Fix the insertion and modification of button-style
4162 2003-11-13 André Pönitz <poenitz@gmx.net>
4164 * InsetList.[Ch]: remove deleteLyXText
4166 * paragraph.[Ch]: cache beginOfBody position
4171 * text3.C: remove superfluous update() calls
4175 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4177 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4178 * BufferView.C (fitLockedInsetCursor): remove
4179 * cursor.[Ch] (getDim): add
4180 * text.C (getRowNearY): add faster version
4181 * text3.C: remove some update calls
4183 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4195 * text3.C: The Character Style /XML short element patch.
4197 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4200 * factory.C: Small step to solving 'unable to insert some insets'
4203 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4205 * cursor.[Ch] (updatePos): new function for updating the y
4206 position of the tip inset
4207 * bufferview_funcs.C (put_selection_at):
4208 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4210 2003-11-11 André Pönitz <poenitz@gmx.net>
4212 * text.C: remove big comment on invalid Paragraph pointers as it is
4215 2003-11-11 André Pönitz <poenitz@gmx.net>
4217 * text_funcs.[Ch]: merge with ...
4225 * Makefile.am: remove text_funcs.[Ch]
4227 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4229 * cursor.C (getPos): return absolute cached y coord
4231 * BufferView_pimpl.C (fitCursor): new simplistic code
4232 (workAreaDispatch): add a fitCursor call
4234 2003-11-10 André Pönitz <poenitz@gmx.net>
4237 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4239 2003-11-10 André Pönitz <poenitz@gmx.net>
4241 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4242 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4243 indicate that the cursor needs to leave an inset
4245 * lyxtext.h: remove inset locking
4247 * cursor.[Ch]: re-implement functionality provided by inset locking
4250 * BufferView_pimpl.[Ch]:
4252 * bufferview_funcs.[Ch]:
4264 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4266 * PosIterator.[Ch]: replace the stack with a vector, add inset
4268 * iterators.[C]: adjust
4270 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4272 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4274 * paragraph_funcs.C (readParToken): put the correct id in the
4275 error item, not the id of the top paragraph
4277 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4279 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4280 * bufferview_funcs.C (put_selection_at): use the above
4282 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4284 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4286 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4288 * output_linuxdoc.h:
4289 * output_plaintext.h:
4291 * output_docbook.h: add #include statements
4293 2003-11-05 José Matos <jamatos@lyx.org>
4295 * output_docbook.[Ch]:
4296 * output_latex.[Ch]:
4297 * output_linuxdoc.[Ch]:
4298 * output_plaintext.[Ch]: New files for output formats.
4299 * output.[Ch]: New file for helper functions.
4302 * paragraph_funcs.[Ch]: output functions moved to new files.
4304 * outputparams.h: rename of latexrunparams.h
4312 * paragraph_funcs.[Ch]:
4313 * paragraph_pimpl.[Ch]:
4314 * tabular.[Ch]: rename ascii to plaintext
4315 and LatexRunParams to OutputParams.
4317 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4319 * iterators.[Ch] (text): require bv argument
4320 * undo.C (recordUndo):
4321 * lyxfunc.C (dispatch):
4322 * bufferview_funcs.C (put_selection_at): adjust
4324 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
4326 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4328 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4330 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4333 2003-11-04 André Pönitz <poenitz@gmx.net>
4335 * cursor.[Ch]: restructure
4338 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4340 * iterators.[Ch] (asCursor): remove
4342 * lfuns.h: remove LFUN_INSET_EDIT
4348 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4350 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4352 * lyxfind.[Ch]: complete overhaul
4353 * BufferView_pimpl.C:
4355 * paragraph.[Ch] (insert): add
4357 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4361 * text.C: remove dead spellcheck code
4363 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4365 * dispatchresult.h: add a val setter
4367 * cursor.C (dispatch): use a tempvar for data_[i]
4369 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4371 * PosIterator.[Ch]: compile fix
4373 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4375 * text.C (cursorPar): deactivate the cursor cache
4377 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4379 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4381 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4383 * text3.C (dispatch): adjust for new DisptchResult semantics.
4385 * lyxfunc.C (dispatch): handle update when return from
4386 Cursor::dispatch, adjust for new DispatchResult semantics.
4388 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4389 DispatchResult(true) mean to not update. Add class functions for
4390 setting dispatched and update, as well as reading.
4392 * cursor.C (dispatch): don't handle update here
4394 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4396 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4397 * trans_mgr.C: adjust
4399 * paragraph_funcs.C (readParToken): exception safety
4401 * lyxvc.h: store the vcs pointer in a scoped_ptr
4404 * lyxsocket.C (serverCallback): exception safety
4406 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4408 * ispell.C (clone): make it return a auto_ptr
4410 * factory.C (createInset): exception safety
4411 (readInset): exception safety
4413 * bufferlist.C (newBuffer): exception safety
4415 * Thesaurus.C (Thesaurus): use initialization for aik_
4417 * MenuBackend.C (expandToc): exception safety.
4419 2003-11-03 André Pönitz <poenitz@gmx.net>
4423 * bufferview_funcs.C: remove getInsetFromId()
4426 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4432 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4434 * PosIterator.C (distance, advance): new
4435 * bufferview_funcs.[Ch] (put_selection_at): new
4436 * iterators.[Ch] (lockPath): new
4438 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4440 * iterators.[Ch] (asPosIterator): added
4441 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4442 * PosIterator.[Ch]: added
4444 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4448 * cursor.C (dispatch):
4449 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4451 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4452 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4453 contructor, add a class function dispatched. Remove operator>=
4455 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4457 * debug.C: only use the default constructor for debugstream
4460 * main.C (main): include debug.h and setup the lyxerr streambuf
4463 2003-10-31 José Matos <jamatos@lyx.org>
4465 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4467 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4468 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4469 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4470 * paragraph_pimpl.C (simpleTeXSpecialC):
4471 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4472 add LatexRunParams argument.
4474 * exporter.C (Export): change call accordingly.
4476 * latexrunparams.h: add new member to take care of the other backends.
4477 2003-10-30 José Matos <jamatos@lyx.org>
4479 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4480 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4481 factorise code for paragraph output.
4483 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4486 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4488 * text3.C (dispatch):
4489 * lyxfunc.C (dispatch):
4490 * cursor.C (dispatch):
4491 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4493 * dispatchresult.h: make the dispatch_result_t ctor explicit
4495 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4498 * buffer.C: small refactoring of docbook stuff
4500 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4502 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4505 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4507 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4508 operator dispatch_result_t, and operators for == != and >=
4510 * cursor.C (dispatch): adjust for operator dispatch_result_t
4511 removal. comment out call to update
4513 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4515 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4523 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4526 * dispatchresult.h: new file, DispatchResult broken out of
4529 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4531 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4533 * text.C (rowBreakPoint): put a hack inside #if 0
4535 2003-10-28 André Pönitz <poenitz@gmx.net>
4539 * paragraph_funcs.C:
4542 * text2.C: general cleanup (lots of small stuff)
4544 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4546 * text2.C (cursorEnd): simple fix to the "end key goes to one
4547 before the end on last row" bug
4549 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4551 * text.C (backspace): fix the "zombie characters"
4553 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4555 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4557 2003-10-27 André Pönitz <poenitz@gmx.net>
4559 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4561 * factory.C: handle new InsetPagebreak, InsetLine
4563 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4564 and move handling into new InsetPagebreak, InsetLine
4566 * BufferView_pimpl.C:
4568 * ParagraphParameters.C:
4569 * ParameterStruct.h:
4574 * paragraph_funcs.C:
4575 * paragraph_pimpl.C:
4581 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4584 * lyxrow_funcs.[Ch]:
4590 * text3.C: remove lastPos uses in favour of Row::endpos
4592 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4594 * undo.C (performUndoOrRedo): fix two crashes by setting a
4595 cursor by hand and reordering some calls. Use bv->lockInset instead
4596 of inset->edit because the latter loses cursor information
4598 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4600 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4602 (rowBreakPoint): fix width. change point to point + 1.
4603 Add a missing check.
4605 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4608 * lyxfunc.C: fix (at least partly) the problems
4609 with the Nav menu and headers inside branch insets
4612 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4614 * paragraph.C (getChar): add strong asserts
4616 * lyxrow_funcs.C (lastPos): remove hideous hack
4618 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4619 (fill): adjust to that (avoid an infinite loop)
4621 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4623 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4625 2003-10-23 André Pönitz <poenitz@gmx.net>
4627 * RowList_fwd.h: change list<> to vector<> to gain speed
4628 after suggestion from Alfredo
4630 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4632 * lyxtext.h: move the bidi stuff from here...
4635 * Bidi.[Ch]: ... to here
4637 2003-10-23 André Pönitz <poenitz@gmx.net>
4640 * text.C (isLastRow, isFirstRow): new functions
4642 * paragraph.h: new width cache member
4644 * rowpainter.C: replace RowList::iterator with Row & where possible
4646 * lyxfunc.C: replace several view()->text with a single call
4648 * toc.C: fix 'unused' warning
4650 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4652 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4653 when woring with stream::pos_type
4654 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4656 2003-10-22 André Pönitz <poenitz@gmx.net>
4659 * text.C: use Row & instead of RowList::iterator
4661 * lyxrow.h: rename end() to endpos()
4667 2003-10-22 Angus Leeming <leeming@lyx.org>
4669 * buffer.[Ch] (fully_loaded): new member function, returning true
4670 only when the file has been loaded fully.
4671 Used to prevent the premature generation of previews and by the
4672 citation inset to prevent computation of the natbib-style label.
4674 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4675 templates are all set up.
4677 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4679 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4681 * text.C: fixed an "oops" in the "is a bit silly"
4684 2003-10-21 André Pönitz <poenitz@gmx.net>
4686 * FuncStatus.[Ch]: small stuff, whitespace
4688 * lyxfont.[Ch]: operator<<() for debug reasons
4692 * lyxtext.h: whitespace, spelling
4694 * paragraph.C: naming of variables
4697 * text2.C: small stuff
4700 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4702 * text.C: (1) finish off the inset display() work;
4703 (2) fix the "is a bit silly" bug (accessing char
4706 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4708 * text.C: re-introduce display() for insets, fixing the
4709 various bugs (stretch of line above, math inset
4712 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4714 * text.C (rightMargin): remove spurious semicolon
4716 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4719 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4721 * text3.C: fix one crash due to wrong cursor def
4723 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4725 * vc-backend.C (scanMaster): make the regex static
4727 * LaTeX.C (scanAuxFile): make the regexs static
4729 * text3.C (doInsertInset, dispatch, dispatch):
4730 * text2.C (cursorUp, cursorDown):
4731 * text.C (selectNextWordToSpellcheck):
4732 * BufferView_pimpl.C (dispatch):
4733 * lyxfunc.C (dispatch): localDispatch -> dispatch
4735 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4737 * lyxsocket.C: include <cerrno>
4739 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4741 * lyxfunc.C (dispatch): remove textcache stuff
4743 * bufferlist.C (release): remove textcache stuff
4746 * TextCache.C: delete file
4747 * TextCache.h: delete file
4749 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4751 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4752 delete of the bv_->text.
4753 (resizeCurrentBuffer): remove texcache stuff
4754 (workAreaResize): ditto
4756 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4758 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4761 2003-10-16 André Pönitz <poenitz@gmx.net>
4768 * text3.C: speed up by storing y positions per paragraph plus per-row
4769 offset instead of having a 'full' y position in the row.
4771 2003-10-15 André Pönitz <poenitz@gmx.net>
4775 * undo.[Ch]: make undo aware of inner insets
4777 2003-10-14 Angus Leeming <leeming@lyx.org>
4779 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4780 static member functions LyX::ref() and LyX::cref.
4781 (lastfiles): new accessor functions for the new lastfiles_ member var.
4782 (addLyXView, views_): add a new LyXView to the list of views_.
4783 (updateInset): loop over all LyXViews to call their own updateInset
4784 member function, returning a pointer to the Buffer owning the inset.
4786 * BufferView_pimpl.C (loadLyXFile):
4787 * MenuBackend.C (expandLastfiles):
4788 * bufferlist.C (MenuWrite, QuitLyX):
4789 lastfiles is no longer a global variable.
4790 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4792 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4793 static function. Access through LyX::cref().emergencyCleanup().
4795 2003-10-14 André Pönitz <poenitz@gmx.net>
4797 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4799 * undo.[Ch]: restoring part of 'undo in insets'
4802 * undo_funcs.[Ch]: merge with undo.[Ch]
4804 * tabular.C: small cleansing stuff
4806 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4808 * paragraph_funcs.C (readParToken): report unknown insets as error
4809 boxes. Use the outer paragraph as location (also for unknown
4812 * factory.C (readInset): do not abort on reading an unknown inset.
4813 Eat it and return 0.
4815 2003-10-13 Angus Leeming <leeming@lyx.org>
4817 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4819 * lyxrc.C: displayTranslator is now a function,
4820 declared in GraphicsTypes.h.
4822 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4824 * format.C: new placeholder $$a to pass the socket address.
4826 * bufferlist.[Ch]: new function getBufferFromTmp.
4828 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4829 files in the temporary dir.
4831 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4833 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4835 * Makefile.am: add lyxsocket.[Ch].
4837 * lyx_main.C (error_handler): handle SIGPIPE.
4839 2003-10-13 André Pönitz <poenitz@gmx.net>
4841 * BufferView_pimpl.C:
4846 * undo_funcs.[Ch]: use paroffset_type instead of
4847 ParagraphList::iterators to prevent multiple conversion
4848 (and get a more robust interface)
4850 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4852 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4854 * text3.C (dispatch): ditto
4856 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4858 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4859 move the onlyfile, use onlyfile instead of foundfile in a couple
4862 * DepTable.C (update): flush the error stream a bit more
4864 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4866 * lyxserver.C (callback): adjust
4868 * lyxfunc.C (getStatus): add a missing brace in commented code
4869 (ensureBufferClean): reindent
4870 (dispatch): delete version taking a string
4872 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4874 * LaTeX.C (deplog): move found file handlig from here...
4875 (handleFoundFile): .. to new function here.
4876 (deplog): make sure to discover several files mentioned on the
4879 2003-10-10 André Pönitz <poenitz@gmx.net>
4886 * text3.C: fix some of the tabular crashes
4888 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4890 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4892 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4894 2003-10-09 André Pönitz <poenitz@gmx.net>
4896 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4899 * BufferView_pimpl.C:
4900 * bufferview_funcs.C:
4911 * undo_funcs.C: adjust
4913 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4915 * text2.C (incrementItemDepth): new function, use a backtracking
4916 algorithm to discover the correct item depth.
4917 (resetEnumCounterIfNeeded): new function, use a backtracking
4918 algorithm to discover if counter reset is needed.
4919 (setCounter): use them. Simplify a bit. Add different labels for
4920 different item depths for itemize.
4922 * paragraph.C (Paragraph): remove initialization of enumdepth
4925 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4926 enumerate and itemize. Change the type of itemdepth to signed char.
4928 2003-10-08 André Pönitz <poenitz@gmx.net>
4930 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4935 * tabular.[Ch]: fix crash after 'row-insert'
4937 2003-10-08 Angus Leeming <leeming@lyx.org>
4939 Fix doxygen warnings.
4941 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4942 Remove CutAndPaste:: prefix from header file declaration.
4944 * LColor.h (fill): remove LColor:: prefix from declaration.
4946 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4947 use lyx::depth_type rather than Paragraph::depth_type so that
4948 header file and .C file match.
4950 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4952 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4953 * aspell.C: \file aspell_local.C -> \file aspell.C
4954 * gettext.C: \file gettext.C -> \file src/gettext.C
4955 * gettext.h: \file gettext.h -> \file src/gettext.h
4956 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4957 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4958 * text.C: \file text.C -> \file src/text.C
4960 * toc.C: move comment so that doxygen is not confused.
4962 2003-10-07 Angus Leeming <leeming@lyx.org>
4964 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4966 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4969 * aspell_local.h: add forgotten std::string's.
4971 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4978 * text3.C: The Box patch. Fancybox support, minipage, parbox
4980 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4986 * ParagraphParameters.h:
4996 * lyxtextclasslist.h:
4999 * paragraph_pimpl.C:
5000 * textcursor.h: add <string> and other small fixes to make Lars'
5001 std::string patch compile with STLport.
5003 2003-10-06 Angus Leeming <leeming@lyx.org>
5005 * LColor.h: Add missing #include <string>.
5007 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5009 * All most all file in all subdirs: Make <string> be the prefered
5010 way of getting to std::string, add using declarations.
5012 2003-10-06 André Pönitz <poenitz@gmx.net>
5014 * metricsinfo.C: initialize LyXFont before changing attribute.
5015 (fixes the 'math in \emph is upright' bug)
5017 2003-10-06 André Pönitz <poenitz@gmx.net>
5019 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5021 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5024 * paragraph_pimpl.C: Small fixes to build using STLport
5026 2003-10-02 André Pönitz <poenitz@gmx.net>
5029 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5031 2003-10-01 André Pönitz <poenitz@gmx.net>
5033 * factory.C: assert early
5035 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5037 * lyx_main.C: remove the global debug object
5039 * debug.h: adjust for new debugstream
5041 * debug.C: adjust for new debugstream and keep the global debug
5044 2003-09-22 Angus Leeming <leeming@lyx.org>
5046 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5047 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5048 an incomplete class LyXFont.
5050 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5052 * factory.C: bug fix in branches
5054 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5056 * lyxfunc.C (processKeySym): adjust
5058 (dispatch): change arg name from ev to func, adjust
5059 (sendDispatchMessage): ditto
5061 * lyx_main.C (defaultKeyBindings): adjust keybindings
5062 (deadKeyBindings): ditto
5064 * kbsequence.C (addkey): return a FuncRequest
5066 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5068 * kbmap.C (bind): take a FuncRequest as arg, adjust
5071 (defkey): change to take a FuncRequest as arg, adjust
5072 (findbinding): take a FuncRequest as arg, adjust.
5074 * funcrequest.h (operator=): added
5076 * funcrequest.C (FuncRequest): default kb_action changed from
5077 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5079 * buffer.C (dispatch): simplify
5080 (dispatch): adjust to take a FuncRequest as arg, adjust
5082 * boost.C (assertion_failed): change assertion message slightly
5084 * ToolbarBackend.C (read): simplify
5086 * MenuBackend.C (binding): adjust call to findbinding, add a
5087 message if no binding is found.
5089 (expandToc): correct by adding a empty FuncRequest
5091 * LyXAction.C: include <boost/assert.hpp>
5092 (isPseudoAction): delete function
5093 (LookupFunc): change name to...
5094 (lookupFunc): this. change return type to FuncRequest.
5095 (getActionName): take kb_action as arg, simplify
5096 (funcHasFlag): add an assert, simplify.
5098 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5100 * toc.C (action): return a FuncRequest, simplify
5102 * lyxfunc.C (processKeySym): adjust
5103 (getStatus): delete version that takes an int.
5105 (dispatch): delete version that takes action as int
5107 (sendDispatchMessage): simplify and adjust
5109 * funcrequest.C (getArg): take unsigned int as arg
5111 * ToolbarBackend.C (read): adjust
5112 (add): delete version that takes func as a string.
5113 (getIton): take a FuncRequest as arg
5115 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5118 * MenuBackend.C (MenuItem): add a new construct that only takes a
5119 Kind, simplify the constructor use for submenus.
5121 (expandLastfiles): adjust
5122 (expandDocuments): adjust
5123 (expandFormats): adjust
5124 (expandFloatListInsert): adjust
5125 (expandFloatInsert): adjust
5126 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5128 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5129 Remove class variables lyx_pseudo_map and lyx_arg_map
5131 * LyXAction.C (searchActionArg): delete function
5132 (getPseudoAction): delete function
5133 (retrieveActionArg): delete function
5134 (LookupFunc): make it return kb_action, simplify.
5135 (getActionName): simplify
5137 * factory.C (createInset): fix new bug
5139 2003-09-19 Angus Leeming <leeming@lyx.org>
5141 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5142 masterFilename_ parameter in the include inset.
5144 * factory.C (createInset): changes due to the changes to InsetInclude.
5146 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5148 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5150 2003-09-18 Angus Leeming <leeming@lyx.org>
5153 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5154 Inset::fillWithBibKeys.
5155 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5157 2003-09-18 Angus Leeming <leeming@lyx.org>
5159 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5161 (ctor): pass and store a 'Buffer const &'
5162 (buffer): new member function.
5164 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5165 '*this' to the LaTeXFeatures ctor.
5167 2003-09-18 Angus Leeming <leeming@lyx.org>
5173 * text.C: rename EnumLColor as LColor_color.
5175 2003-09-18 Angus Leeming <leeming@lyx.org>
5177 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5178 remove #include "insets/insetbase.h" from cursor.h.
5180 2003-09-18 Angus Leeming <leeming@lyx.org>
5182 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5183 InsetOld_code to remove #include "inset.h".
5185 * iterators.C: add #include "insets/inset.h"
5187 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5189 * BufferView.C: remove more locking stuff that apparently doesn't
5190 do anything sensible.
5192 2003-09-16 André Pönitz <poenitz@gmx.net>
5195 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5198 2003-09-16 Angus Leeming <leeming@lyx.org>
5200 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5202 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5205 * paragraph.h: remove #include "lyxfont.h". Forward declare
5208 2003-09-16 Angus Leeming <leeming@lyx.org>
5210 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5211 of support/textutils.h.
5212 (isWord): move the contents of support/textutils.h's IsWordChar here.
5218 * text2.C: add #include "paragraph.h".
5221 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5223 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5229 * LaTeX.C: use namespace alias for lyx::support::os
5231 2003-09-16 Angus Leeming <leeming@lyx.org>
5234 * bufferview_funcs.C:
5237 * paragraph_pimpl.C:
5239 * text.C: add #include "LColor.h".
5241 2003-09-16 Angus Leeming <leeming@lyx.org>
5243 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5244 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5246 Store the FontBits::color variable as an int rather than as an
5247 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5250 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5251 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5252 string calls together.
5254 * lyxrc.C: add #include "LColor.h".
5256 2003-09-15 Angus Leeming <leeming@lyx.org>
5258 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5261 2003-09-15 Angus Leeming <leeming@lyx.org>
5263 * LColor.h: add an EnumLColor wrapper for LColor::color.
5265 * lyxfont.[Ch] (color, setColor, realColor):
5266 * lyxtext.h, text.C (backgroundColor):
5267 pass EnumLColor args to/from the functions, rather than LColor::color
5271 * lyxtext.h: forward declare EnumLColor.
5273 * lyx_main.C: add #include "LColor.h".
5275 2003-09-15 Angus Leeming <leeming@lyx.org>
5277 * .cvsignore: add lyx-gtk.
5279 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5284 * ParagraphParameters.C
5288 * bufferview_funcs.C
5298 * vc-backend.C: remove usage of STRCONV
5300 2003-09-15 Angus Leeming <leeming@lyx.org>
5302 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5303 explicitly define the color passed to the painter.
5305 2003-09-15 Angus Leeming <leeming@lyx.org>
5307 * bufferparams.C (BufferParams): reorder member initializers to avoid
5310 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5312 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5313 * text.C (updateRowPositions): remove an unusual nop
5315 2003-09-12 André Pönitz <poenitz@gmx.net>
5317 * BufferView_pimpl.C:
5326 * Counters.[Ch]: finish the 'automatic counters' job
5328 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5330 * aspell.C: include <boost/assert.cpp> (compile fix)
5332 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5334 * boost.C (assertion_failed): use lyx::support::abort instead of
5337 2003-09-10 Angus Leeming <leeming@lyx.org>
5339 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5340 with their _fwd progeny.
5342 2003-09-09 Angus Leeming <leeming@lyx.org>
5344 134 files throughtout the source tree: replace 'using namespace abc;'
5345 directives with the appropriate 'using abc::xyz;' declarations.
5347 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5349 * boost.C (emergencyCleanup): moved here from LAssert.c
5350 (assertion_failed): new function, called by BOOST_ASSERT
5352 * several files: change Assert to BOOST_ASSERT
5354 2003-09-09 Angus Leeming <leeming@lyx.org>
5356 * buffer.[Ch]: Add an Impl class and move Buffer's member
5357 variables into it. As a result move several header files out of
5360 Add header files to lots of .C files all over the tree as a result.
5362 2003-09-09 Angus Leeming <leeming@lyx.org>
5364 * buffer.[Ch]: make Buffer's member variables private. Add
5367 Lots of changes all over the tree as a result.
5369 2003-09-08 Angus Leeming <leeming@lyx.org>
5371 * graph.C: #include <config.h>.
5373 2003-09-08 Angus Leeming <leeming@lyx.org>
5377 * BufferView_pimpl.C:
5406 * toc.C: remove redundant using directives.
5408 2003-09-07 Angus Leeming <leeming@lyx.org>
5410 * LaTeXFeatures.h: remove #include "support/types.h".
5411 * ToolbarBackend.h: remove #include <algorithm>.
5412 * changes.h: remove #include <ctime>.
5413 * debug.h: remove #include <iosfwd>.
5414 * graph.h: remove #include "support/std_string.h".
5415 * lyx_main.h: remove #include <csignal>.
5416 * lyxlex_pimpl.h: remove #include <fstream>.
5417 * sgml.h: remove #include <algorithm>, <utility>.
5418 * toc.h: remove #include "support/std_ostream.h".
5419 Add #include <iosfwd>.
5421 2003-09-07 Angus Leeming <leeming@lyx.org>
5423 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5425 * converter.h: forward declare LatexRunParams.
5426 * encoding.h: remove #include "lyxrc.h".
5427 * lyxtext.h: remove #include "LColor.h".
5428 * lyxtextclass.h: remove #include "support/types.h".
5429 * trans.h: remove #include "tex-accent.h".
5430 * trans_mgr.h: remove #include "tex-accent.h".
5431 * insets/inset.h: remove #include "support/types.h", <vector>.
5432 * insets/insetcollapsable.h: remove #include "LColor.h".
5433 * insets/insetinclude.h: remove #include "dimension.h".
5434 * insets/insetlatexaccent.h: remove #include "dimension.h".
5435 * insets/insetoptarg.h:: remove #include "insettext.h".
5436 * insets/insettext.h: remove #include "dimension.h",
5437 <boost/shared_ptr.hpp>
5439 * insets/renderers.h: add #include "dimension.h".
5440 * insets/updatableinset.h: add #include "support/types.h".
5442 * many .C files: Associated changes.
5444 2003-09-06 Angus Leeming <leeming@lyx.org>
5446 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5447 one, inside testInvariant.
5449 * PrinterParams.C: new file.
5450 * PrinterParams.[Ch]: move the function bodies out of line.
5452 2003-09-06 Angus Leeming <leeming@lyx.org>
5454 * ParagraphParameters.h: forward declare ParameterStruct rather than
5455 including its header file.
5456 (depth): moved out-of-line.
5458 2003-09-06 Angus Leeming <leeming@lyx.org>
5460 * BufferView_pimpl.h:
5463 * lyxfunc.h: forward declare LyXKeySym rather than
5464 #include "frontends/LyXKeySym.h".
5466 * BufferView_pimpl.C:
5469 * lyxfunc.C: associated changes.
5471 2003-09-06 Angus Leeming <leeming@lyx.org>
5473 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5474 As a result, can remove the #include "insets/inset.h" from BufferView.h
5476 2003-09-06 Angus Leeming <leeming@lyx.org>
5478 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5479 As a result, can remove the #include "insets/inset.h" from BufferView.h
5481 2003-09-06 Angus Leeming <leeming@lyx.org>
5487 * bufferview_funcs.C:
5488 * BufferView_pimpl.C:
5493 * ParagraphParameters.C:
5498 * frontends/controllers/ControlDocument.C:
5499 * insets/insetcaption.C: rearrange the #includes into some sort of
5502 * buffer.h: remove #includes ErrorList.h, undo.h
5504 2003-09-06 Angus Leeming <leeming@lyx.org>
5506 * support/types.h: add a 'depth_type' typedef, used to store the
5507 nesting depth of a paragraph.
5510 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5511 defining explicitly.
5514 * paragraph_funcs.h:
5515 * ParagraphParameters.h:
5516 * sgml.h: use lyx::depth_type rather than Paragraph or
5517 ParameterStruct's depth_type.
5520 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5523 * BufferView_pimpl.C:
5525 * ParagraphParameters.C:
5528 * bufferview_funcs.C:
5535 * frontends/LyXView.C:
5536 * frontends/controllers/ControlDocument.C:
5537 * frontends/controllers/ControlErrorList.C:
5538 * insets/insetbibitem.C:
5539 * insets/insetbranch.C:
5540 * insets/insetcaption.C:
5541 * insets/insetcollapsable.C:
5542 * insets/insetenv.C:
5543 * insets/insetert.C:
5544 * insets/insetfloat.C:
5545 * insets/insetfoot.C:
5546 * insets/insetfootlike.C:
5547 * insets/insetnewline.C:
5548 * insets/insetquotes.C:
5549 * insets/insettabular.C:
5550 * insets/insettext.C:
5551 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5553 * frontends/controllers/ControlChanges.C: #include "changes.h".
5555 2003-09-06 Angus Leeming <leeming@lyx.org>
5557 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5558 than #including paragraph.h.
5561 * RowList.h: deleted. Superfluous.
5571 * insets/insettext.h: use ParagraphList_fwd.h rather than
5574 * paragraph.h: don't forward declare ParagraphList.
5577 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5578 rather than ParagraphList.h. paragraph.h is still needed for the
5579 Paragraph::depth_type parameters.
5581 * textcursor.h: enable it to compile stand-alone in light of the
5584 * bufferview_funcs.C:
5596 * frontends/controllers/ControlParagraph.C:
5597 * frontends/controllers/ControlTabular.C:
5598 * insets/insetmarginal.C:
5599 * insets/insetminipage.C:
5600 * insets/insetnote.C:
5601 * insets/insetoptarg.C: add header files needed to compile again.
5603 2003-09-06 Angus Leeming <leeming@lyx.org>
5605 * RowList_fwd.h: new file, forward-declaring Row rather than
5606 #including lyxrow.h.
5611 * insets/insettext.h: use it instead of RowList.h
5613 * bufferview_funcs.C:
5620 * text3.C: #include "RowList.h".
5622 2003-09-05 Angus Leeming <leeming@lyx.org>
5624 * factory.C (createInset):
5625 * vspace.C (c-tor): replace sscanf call with an istringstream.
5626 * ispell.C: re-add missing HP/UX headers.
5627 * lyxserver.C: re-add missing os2 headers.
5629 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5638 * text3.C: re-add missing system headers, needed for 2.95.2.
5640 2003-09-05 Angus Leeming <leeming@lyx.org>
5642 Changes most place everywhere due to the removal of using directives
5643 from support/std_sstream.h.
5645 2003-09-05 Angus Leeming <leeming@lyx.org>
5647 Replace LString.h with support/std_string.h,
5648 Lsstream.h with support/std_sstream.h,
5649 support/LIstream.h with support/std_istream.h,
5650 support/LOstream.h with support/std_ostream.h.
5652 Changes resulting throughout the tree.
5654 2003-09-05 Angus Leeming <leeming@lyx.org>
5656 * sgml.h: ensure that the header file can be compiled stand-alone.
5657 * *.C: strip out redundant #includes. (320 in total.)
5659 2003-09-04 Angus Leeming <leeming@lyx.org>
5661 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5662 here (from getPackages).
5664 * debug.[Ch]: add a new EXTERNAL tag.
5666 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5668 * text2.C (cursorEnd): simplify
5670 (getColumnNearX): adjust
5672 * text.C (computeBidiTables): adjust
5675 * rowpainter.C (paintChars): adjust
5676 (paintSelection): adjust
5677 (paintChangeBar): adjust
5680 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5682 (numberOfSeparators): adjust
5684 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5690 * text3.C: Restricts the mouse click functionality
5691 of insets like bibtex, include, toc and floatlist to the visible
5692 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5693 up the dialogs. Cursor has to be in front of the inset (i.e.
5694 start of row) for this to function.
5696 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5698 * bufferview_funcs.C (currentState): output row information
5700 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5702 * bufferview_funcs.C (currentState): output paragraph position
5704 2003-09-04 Angus Leeming <leeming@lyx.org>
5706 * FloatList.h: move out #include "Floating.h".
5707 * LaTeX.h: move out #include "DepTable.h".
5708 * LyXAction.h: move out #include "funcrequest.h".
5709 * buffer.h: move out #include "author.h", "iterators.h".
5710 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5711 * lyx_main.h: move out #include "errorlist.h".
5712 * lyxfunc.h: move out #include "FuncStatus.h".
5713 * lyxtext: move out #include "lyxcursor.h".
5714 * paragraph_pimpl.h: move out #include "counters.h".
5716 2003-09-03 Angus Leeming <leeming@lyx.org>
5718 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5719 preamble_snippets list, enabling us to add snippets to the preamble
5720 only if the snippet was not there already.
5722 2003-09-04 Angus Leeming <leeming@lyx.org>
5724 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5726 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5728 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5731 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5733 * BranchList.C: point fix, earlier forgotten
5735 2003-09-02 Angus Leeming <leeming@lyx.org>
5737 * box.C (contains): renamed from 'contained' after a fantastic
5740 2003-09-02 John Levon <levon@movementarian.org>
5746 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5748 2003-09-02 John Levon <levon@movementarian.org>
5750 * text2.C: simplification of cursorEnd(), including partial
5753 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5755 * buffer.C (readFile): add a space
5757 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5759 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5761 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5763 * buffer.C (readFile): new function, take a filename and a
5764 ParagraphList::iterator
5766 (readFile): adjust, make it private. don't use setStream, make
5767 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5768 always contain the filename.
5770 * BufferView.C (insertLyXFile): simplify and make it work for
5773 2003-08-30 John Levon <levon@movementarian.org>
5775 * Makefile.am: fix dist (from Kayvan)
5777 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5779 * most files: change to use const Buffer refs
5781 2003-08-27 André Pönitz <poenitz@gmx.net>
5783 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5784 on top of ownerPar().
5786 2003-08-27 John Levon <levon@movementarian.org>
5788 * funcrequest.C: properly initialise POD members
5790 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5792 * lyxtext.h (top_y): move top_y from here
5797 * BufferView_pimpl.[Ch]: to here
5798 * frontends/screen.C:
5799 * insets/insettabular.C:
5800 * insets/insettext.C: adjust
5801 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5803 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5806 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5808 2003-08-26 André Pönitz <poenitz@gmx.net>
5810 * paragraph_func.[Ch] (outerPar): new function
5813 * paragraph_funcs.C:
5814 * paragraph_funcs.h:
5815 * paragraph_pimpl.C:
5816 * text2.C: remove Inset::par_owner
5818 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5823 * text2.C: eliminates the needFullRow/display() stuff
5824 altogether, putting the logic in metrics/draw in the insets.
5826 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5828 * text2.C (redoParagraphInternal, redoParagraphs):
5829 * text.C (redoParagraph): add a call to updateRowPositions at the
5830 end of each 'metrics-like' call. Remove all others.
5831 (getRow): remove the 'y-computing' version.
5832 (getRowNearY): do not compute nor return the real y. Solve the
5833 'y < 0' problem and simplify.
5835 2003-08-22 Angus Leeming <leeming@lyx.org>
5837 * *.[Ch]: clean-up of licence and author blurbs.
5838 Also move config.h out of a few .h files and into a few .C files.
5840 2003-08-22 André Pönitz <poenitz@gmx.net>
5842 * lyxrow.[Ch]: add x_ and *fill_ members
5847 * text2.C: adjust/remove prepareToPrint() calls
5849 2003-08-22 André Pönitz <poenitz@gmx.net>
5851 * lyxrow.[Ch]: add end_ member
5853 * lyxrow_funcs.C: use LyXRow::end_
5855 * lyxtext.h (singleWidth): add LyXFont parameter
5858 * text2.C: adjust LyXText::singleWidth() calls
5860 * text.C (redoParagraph): simplify row breaking logic
5863 2003-08-19 André Pönitz <poenitz@gmx.net>
5865 * funcrequest.C: initialize button_ member
5868 * rowpainter.[Ch]: interface consolidation
5870 2003-08-18 André Pönitz <poenitz@gmx.net>
5873 * BufferView_pimpl.C:
5875 * paragraph_funcs.C:
5877 * text3.C: remove LyXScreen::draw() and fitCursor calls
5879 * BranchList.h: remove spurious semicolons
5881 * MenuBackend.C: fix branchlist related crash
5883 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5891 * bufferparams.[Ch]:
5895 * text3.C: implements the 'branch inset'
5896 idea. This allows the output of various versions of a document
5897 from a single source version, selectively outputing or suppressing
5898 output of parts of the text.
5899 This implementation contains a 'branch list editor' in a separate
5900 tab of the document settings dialog. Branches are user definable
5901 and have a "display colour" to distinguish them on-screen.
5903 ColorHandler was somewhat cleaned up.
5904 (1) make possible a dynamically growing LColor list by allowing
5905 the graphic context cache to grow along (vector);
5906 (2) eliminate an IMHO unnecessary step in colour allocation.
5908 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5910 * BufferView_pimpl.C: compile fix
5912 2003-08-15 André Pönitz <poenitz@gmx.net>
5914 * rowpainter.C: remove extra metrics calls
5916 * lyxtext.h: merge the two constructors into a single one,
5917 pass reference to owner's par list
5919 * BufferView_pimpl.C:
5923 2003-08-15 André Pönitz <poenitz@gmx.net>
5925 * lyxrow_funcs.[Ch]:
5928 * paragraph_funcs.C:
5933 * text_funcs.C: split LyXText::rowlist_ into individual
5934 Paragraph::rows_ chunks
5937 * BufferView_pimpl.[Ch]:
5940 * text3.C: remove toggleSelection()
5942 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5944 * bufferlist.C: beautify two alerts (shorter text of buttons)
5945 * buffer.C: Remove redundant ' ' from message
5947 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5948 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5949 rename VALIGN_CENTER to VALIGN_MIDDLE
5951 2003-08-11 André Pönitz <poenitz@gmx.net>
5953 * lyxtext.h (getPar):
5954 * text.C: new function
5956 2003-08-11 André Pönitz <poenitz@gmx.net>
5959 * tracer.[Ch]: remove unneeded files
5961 * InsetList.[Ch]: remove resizeInsetsLyXText()
5966 * text3.C: merge insertParagraphs() and appendParagraph()
5967 remove breakAgain(), update()
5969 * BufferView_pimpl.[Ch]:
5970 * bufferview_funcs.[Ch]:
5974 * tabular.C: adjust after text & InsetList changes.
5976 2003-08-08 André Pönitz <poenitz@gmx.net>
5978 * text.C (insertChar, backspace): replace rowlist fiddling
5979 with rebreak of full par
5982 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5983 checkParagraph, updateInset): removed
5985 2003-08-07 André Pönitz <poenitz@gmx.net>
5988 * text3.C: merge some LFUN handlers, remove dead code
5990 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5992 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5994 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5996 * text2.C (DEPM): fix part of bug 1255 and 1256
5998 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6000 * BufferView_pimpl.C (workAreaDispatch): change to use
6001 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6002 that are no mouse related.
6004 2003-08-05 André Pönitz <poenitz@gmx.net>
6007 * BufferView_pimpl.[Ch]:
6008 * bufferview_funcs.C:
6010 * text3.C: rip out "deep update"
6012 * textcursor.[Ch] (last_sel_cursor): remove unused member
6014 2003-08-04 André Pönitz <poenitz@gmx.net>
6017 * BufferView_pimpl.[Ch]:
6018 * ParagraphParameters.C:
6019 * bufferview_funcs.C:
6025 * text3.C: replace "complicated" BufferView::update(...) calls with
6028 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6030 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6032 * Makefile.am (lyx_SOURCES): add paper.h
6034 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6036 * Makefile.am: move things around so that both lyx-qt and
6037 lyx-xforms can be built (according to --with-frontend). Then lyx
6038 is a symbolic link to lyx-[firstfrontend]
6040 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6042 * Always use std::endl with lyxerr
6044 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6046 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6048 2003-08-01 André Pönitz <poenitz@gmx.net>
6051 * BufferView_pimpl.[Ch]:
6053 * text3.C: merge BufferView::repaint() and BufferView::update()
6055 2003-08-01 José Matos <jamatos@lyx.org>
6057 * buffer.[Ch]: file_format is no longer a buffer data element.
6059 2003-08-01 André Pönitz <poenitz@gmx.net>
6064 * text2.C: make redoParagraph more independent of current cursor
6066 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6068 * text2.C: remove unneeded members
6070 2003-07-30 André Pönitz <poenitz@gmx.net>
6072 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6074 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6075 create a single function...
6077 * paragraph_funcs.C (moveItem): ... here.
6080 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6082 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6084 * LColor.[Ch]: Add comment and greyedout logical colors.
6086 2003-07-30 André Pönitz <poenitz@gmx.net>
6088 * tabular.C: don't use Assert too heavily. This crashes where it
6091 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6093 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6094 is disabled (bug 1232)
6096 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6098 * factory.C: limited 'arg' scope
6100 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6102 * factory.C: fixed Note submenu issues
6104 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6106 * factory.C: submenu for Note/Comment/Greyedout
6108 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6111 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6113 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6116 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6117 greyedout. Patch provided by Jürgen Spitzmüller.
6119 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6121 * kbmap.C (read): fix error message when reading bind files
6123 2003-07-29 Angus Leeming <leeming@lyx.org>
6125 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6126 certainly does not do what it purports to do. I am doing it, and
6127 us, a favour by killing it.
6129 2003-07-28 José Matos <jamatos@lyx.org>
6131 * buffer.C (readBody, do_writeFile):
6132 * paragraph.C(readParagraph): \end_document replaces \the_end.
6134 2003-07-29 André Pönitz <poenitz@gmx.net>
6137 * BufferView_pimpl.[Ch]:
6141 * textcursor.[Ch]: remove toggleToggle & Co
6143 2003-07-28 José Matos <jamatos@fep.up.pt>
6145 * buffer.C (readParagraph):
6146 * params_func (readParToken, readParagraph):
6147 * paragraph.C (write): \layout -> \begin_layout.
6149 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6151 * lyxlex_pimpl.C (setFile): clean up slightly.
6153 * bufferparams.h: add compressed var
6155 * buffer_funcs.C (readFile): adjust for LyXLex change
6156 (newFile): ditto + simplify
6158 * buffer.C (writeFile): handle writing of compressed files
6160 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6161 Check if the file is compressed and set a bufferparm if so.
6163 * Makefile.am (lyx_LDADD): remove explicit -lz
6165 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6167 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6168 makeDocBookFile): put the real LyX version in the first line of
6172 * version.C.in: remove lyx_docversion
6174 * tabular.C (write_attribute): add a template-based version to
6175 write enums properly
6177 2003-07-28 André Pönitz <poenitz@gmx.net>
6182 * text3.C: use doubles again for x-coordinates. They are needed.
6184 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6186 * messages.C (getLocaleDir): use lyx_localedir()
6188 * lyxlex_pimpl.C (setFile): compress stuff
6190 * buffer.C (writeFile): add some compression stuff
6191 (do_writeFile): new func, dont call expliti close... will this
6194 * Makefile.am (lyx_LDADD): add -lz
6196 2003-07-28 José Matos <jamatos@fep.up.pt>
6198 * buffer.C: increment file format.
6199 * paragraph_funcs (readParagraph, readParToken):
6200 * paragraph.C (readParagraph): add \end_layout.
6202 2003-07-27 Angus Leeming <leeming@lyx.org>
6204 * Makefile.am: remove special casing for configure-time setting of
6205 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6207 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6208 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6210 2003-07-26 André Pönitz <poenitz@gmx.net>
6212 * paragraph_func.[Ch]:
6213 * paragraph.C (realizeFont): inline it whereever it is used
6218 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6221 2003-07-26 André Pönitz <poenitz@gmx.net>
6225 * text2.C: get rid of LyXText::need_break_row
6227 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6229 * toc.[Ch]: put namespace toc inside namespace lyx
6231 * MenuBackend.C (expandToc2): adjust for lyx::toc
6234 * lyxfunc.C (dispatch): adjust for lyx::find
6236 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6237 lyx::find instead. Reorganize a bit.
6238 (LyXReplace): rename to replace
6239 (LyXFind): rename to find
6241 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6244 2003-07-26 André Pönitz <poenitz@gmx.net>
6246 * text.C (setHeightOfRow): restrict scope of temporary variable
6248 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6249 code (never has been used?)
6251 2003-07-27 Asger Alstrup <alstrup@local>
6253 * text.C (fill): Optimise algorithm to exploit that we can reuse
6254 the LyXFont for many characters.
6255 (setHeightOfRow): Same thing.
6256 (rowBreakPoint): Same thing.
6258 2003-07-26 Asger Alstrup <alstrup@local>
6260 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6262 * text.C (singleWidth): Spurious font copying in hot-spot
6263 singleWidth avoided. Reorder tests for arabic for efficiency.
6265 * text.C (fill): handle empty paragraphs better.
6267 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6270 * encoding.h: add includes
6272 * lyxrc.C: remove reading of bind files
6274 * lyx_main.C (init): setup bindings and menus only if we have a
6277 * kbmap.C (read): new method. Do the actual reading of bind
6280 * converter.C (dvipdfm_options):
6283 (output): adapt PAPER_* enums.
6285 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6287 * bufferparams.h: remove paper-related enums from there
6289 * paper.h: New file. A trivial header file to hold paper-related
6290 enums. It should later expand to contain many paper-related
6293 * lyxrc.C: declare extern displayTranslator
6295 2003-07-27 José Matos <jamatos@fep.up.pt>
6297 * tabular.[Ch] (linuxdoc): add support for tables and figures
6300 2003-07-27 José Matos <jamatos@fep.up.pt>
6302 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6303 consistency in both functions.
6304 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6306 2003-07-26 Asger Alstrup <alstrup@local>
6308 * rowpainter.C (paintRows): Change algorithm to work directly on
6309 the insets rather than asking every character in the document
6310 whether its an inset.
6312 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6314 * buffer.C (openFileWrite): factorize some code
6316 2003-07-26 Angus Leeming <leeming@lyx.org>
6319 * lyx_main.[Ch]: replace occurances of system_tempdir with
6322 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6324 * rename Inset to InsetOld
6326 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6328 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6329 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6330 which I think is a bit clearer. EDIT is gone, since it was
6331 premature optimisation, and broken for mathed anyway.
6332 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6333 with cursor positioning in insets as well (math insets still do not
6334 work, but that's a different story anyway.) It mysteriously
6335 crashes sometimes with undo in the first paragraph, but I'm fairly
6336 confident that this is a compiler bug.
6338 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6340 * paragraph.C (Paragraph): adjust for new clone return type
6342 (copyIntoMinibuffer): ditto
6344 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6346 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6347 by not having a special case, and always doing a full rebreak of
6348 the document after undo.
6350 2003-07-23 Angus Leeming <leeming@lyx.org>
6352 * factory.C (createInset): InsetExternal::setParams now takes a
6355 2003-07-23 Angus Leeming <leeming@lyx.org>
6357 * factory.C (createInset): changed interface to the external and
6358 graphics mailers' string2params functions.
6360 2003-07-23 Angus Leeming <leeming@lyx.org>
6362 * factory.C (createInset): pass a
6363 Buffer const * parameter to InsetExternalMailer's string2params.
6365 2003-07-22 John Levon <levon@movementarian.org>
6367 * Thesaurus.h: include the right aiksaurus header
6369 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6371 * MenuBackend.C (expand): check menu shortcuts unconditionally
6373 2003-07-21 Angus Leeming <leeming@lyx.org>
6375 * factory.C (createInset): pass a
6376 buffer_path parameter to InsetGraphicsMailer's string2params.
6378 2003-07-21 Angus Leeming <leeming@lyx.org>
6380 * BufferView_pimpl.C (buffer):
6383 * lyxfunc.C (dispatch):
6384 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6385 rather than the grfx shortcut.
6387 2003-07-21 André Pönitz <poenitz@gmx.net>
6389 * rowpainter.C: remove unused variables
6392 * tabular_funcs.h: move to tabular.C
6393 * Makefile.am: adjust
6395 * tabular.[Ch]: basic optical cleaning
6397 * author.h: pass references, not values
6399 2003-07-18 André Pönitz <poenitz@gmx.net>
6407 * text3.C: two-phase drawing for InsetText and InsetTabular
6408 some float -> int changes.
6410 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6412 * lyx_main.C: fix the fix
6414 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6416 * lyx_main.C: fix a crash in batch mode if no files specified
6419 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6421 * format.[Ch] (papersize): moved to BufferParams
6422 * converter.[Ch] (dvips_options): moved to BufferParams
6423 (dvipdfm_options): moved to anon namespace
6424 * bufferparams.[Ch]: added above functions.
6426 2003-07-17 André Pönitz <poenitz@gmx.net>
6430 * text2.C: don't call inset->update() anymore
6432 * metricsinfo.[Ch]: add convenience constructor
6434 2003-07-16 André Pönitz <poenitz@gmx.net>
6439 * text2.C: replace the LyXCursor::irow_ member with
6440 on-demand computation of the value
6442 2003-07-16 John Levon <levon@movementarian.org>
6444 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6446 2003-07-15 André Pönitz <poenitz@gmx.net>
6449 * text2.C: remove no more needed refresh_row
6451 2003-07-15 André Pönitz <poenitz@gmx.net>
6456 * text3.C: refresh_status tristate -> need_update bool
6458 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6460 * lyxtext.h (init): remove reinit argument (act as if always true)
6461 * text2.C: adjust to that
6463 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6465 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6466 * text3.C: use it to delete selections in some cases
6467 (bugs 441, 673, 702, 954).
6469 2003-07-14 André Pönitz <poenitz@gmx.net>
6471 * rowpainter.[Ch]: reduce interface
6473 2003-07-14 André Pönitz <poenitz@gmx.net>
6475 * BufferView_pimpl.C:
6476 * text2.C: adjust after removing unused BufferView * argument
6478 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6480 * text2.C (init): fix a crash fired on resize
6482 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6484 * buffer.[Ch]: added new closing signal
6485 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6486 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6487 BufferView::Pimpl via the closing the signal
6489 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6491 * buffer.[Ch]: take out all bv-related from buffer
6493 * BufferView_pimpl.[Ch]: connect to new signals
6494 * CutAndPaste.C: removed useless asserts
6495 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6498 * lyxfunc.C: moved view-related funciontality from vc here
6499 * paragraph.C: removed outdated comments
6502 2003-07-10 André Pönitz <poenitz@gmx.net>
6504 * BufferView_pimpl.C:
6508 * text2.C: remove InsetText::InnerCache, clean up consequences
6510 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6512 * ispell.C: fix two typos in error messages
6514 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6516 * Extend Note inset to other forms of annotation like Comment
6517 and Greyedout. Right button click gives dialog.
6519 Files modified or added (+):
6523 * ControlNote.[Ch] +
6525 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6526 frontends/controllers
6530 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6532 * aspell.C: add missing namespace lyx::support
6534 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6536 * BufferView.[Ch] (newFile): Add
6537 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6538 * LaTeX.[Ch] (message): added this signal and use it
6539 * buffer.[Ch] (busy, message): added these signals and use them
6540 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6544 * importer.C: use buffer signals instead of direct bv calling
6545 * lyx_cb.[Ch] (ShowMessage): removed
6548 * paragraph_funcs.C:
6549 * text2.C: use buffer signals
6551 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6553 * introduce namespace lyx::graphics
6555 2003-07-02 André Pönitz <poenitz@gmx.net>
6557 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6559 2003-07-01 André Pönitz <poenitz@gmx.net>
6566 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6567 text*.C to text_func.C
6569 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6571 * introduce namespace lyx::support
6573 2003-06-30 André Pönitz <poenitz@gmx.net>
6578 * text.C: re-enable --with-included-string
6580 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6582 * textcursor.C: add <config.h>
6584 * text.C (getWord): remove const from word_location arg
6586 * lyxvc.C (getLogFile): fix const type order
6588 * lyxtext.h: remove const from word_location arg, add arg name
6590 * lyxlayout.h: currect type on labeltype.
6592 * importer.C: correct \file
6594 * converter.C (intToFormat): use std:: on ret val, ws changes
6596 * bufferlist.h: correct \file
6598 * buffer.C (makeLinuxDocFile): fix const type order
6599 (makeDocBookFile): ditto
6600 (fillWithBibKeys): use std:: on stdlib args.
6602 * CutAndPaste.C: fix authors.
6603 (availableSelections): use std:: on return vector
6605 2003-06-27 André Pönitz <poenitz@gmx.net>
6607 * BufferView_pimpl.C:
6608 * bufferview_funcs.C:
6616 * text3.C: remove LyXCursor::row_ member
6619 * text.C: rename fullRebreak() to partialRebreak() and implement
6620 a fullRebreak() that really bereks fully
6622 * textcursor.h: new struct for cursor-related data
6624 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6626 * lyx_main.C (LyX): get full path of document loaded on the
6629 2003-06-26 André Pönitz <poenitz@gmx.net>
6631 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6632 remove unused/broken operator>,<,>=.
6634 * text.C: remove only use of broken operator<= in an Assert().
6636 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6638 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6639 moved errorlist_.clear to showErrorList
6641 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6643 * converter.C (scanLog, runLaTeX):
6644 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6645 move the bv->showErrorList call to the callers
6646 * lyxfunc.C: i.e. here...
6648 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6649 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6650 namespace, the second to...
6651 * buffer_funcs (BufferFormat, parseErrors): added
6652 * errorlist.C (ErrorList(TeXErrors const &)): removed
6654 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6656 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6658 2003-06-24 "Garst R. Reese" <reese@isn.net>
6662 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6664 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6666 * version.C.in: change docversion to 1.4
6668 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6670 * buffer.C: fix a bug just introduced
6672 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6674 * buffer.[Ch]: added the parseError signal and use it, removed
6676 * BufferView.[Ch] (addError): moved to ...
6677 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6678 to the Buffer::parseError signal to catch (guess what) parse errors
6679 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6681 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6683 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6684 ability to create a buffer and to return an existing one from
6685 the list. Moved these functions to...
6686 * buffer_funcs.[Ch]: added
6687 * BufferView.[Ch] (loadLyXFile): added
6688 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6689 job removed from bufferlist::loadLyXFile.
6690 * buffer.C (setReadOnly): make it work without view
6691 (i.e added an if (users))
6693 2003-06-19 Angus Leeming <leeming@lyx.org>
6696 * LyXAction.C (init):
6697 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6698 with LFUN_DIALOG_SHOW <name> <data>.
6700 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6702 * CutAndPaste.C (availableSelections): small compilation fix for
6703 ancient (gcc 2.9x) compilers
6705 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6707 * text3.C (cursorNext): add tmp var
6709 * text2.C (updateCounters): for function calling out of for clause
6710 (replaceSelectionWithString): ditto
6711 (insertStringAsParagraphs): ditto
6712 (getColumnNearX): add tmp var
6713 (setCursorFromCoordinates): add tmp var
6714 (cursorDownParagraph): add tmp var
6715 (deleteEmptyParagraphMechanism): add tmp var
6717 * text.C (insertChar): add tmp var
6719 * rowpainter.C (paintDepthBar): add tmp var
6721 * CutAndPaste.C (availableSelections): potentially check all
6722 paragraphs in a cut to fill the shown strings.
6724 2003-06-18 André Pönitz <poenitz@gmx.net>
6726 * kbmap.[Ch]: use vector<> instead of list<>
6728 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6730 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6731 pasteSelection with index
6733 * text2.C (pasteSelection): modify, call pasteSelection with index
6735 * paragraph.C (asString): reimplement version with no interval to
6736 call the one with interval.
6738 * lyxtext.h: add index arg to pasteSelection
6740 * MenuBackend.C (MenuItem): handle PasteRecent
6741 (Menu::read::Menutags): add md_pasterecent
6743 (expandPasteRecent): new function
6746 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6748 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6750 (availableSelections): new function
6752 2003-06-17 Angus Leeming <leeming@lyx.org>
6754 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6756 2003-06-17 Angus Leeming <leeming@lyx.org>
6759 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6761 * lyxfunc.C (dispatch): invoke it.
6763 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6765 * iterators.C (operator++, ParPosition): reintroduce some
6766 const_cast for the benefit of older compilers.
6768 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6770 * text3.C (dispatch): do not modify clipboard when doing
6771 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6772 LFUN_DELETE_SKIP on a selection selection
6774 2003-06-16 André Pönitz <poenitz@gmx.net>
6780 * tabular.[Ch]: IU of clone() and getLabelList();
6782 2003-06-13 André Pönitz <poenitz@gmx.net>
6784 * tabular.h: compactification
6786 2003-06-12 André Pönitz <poenitz@gmx.net>
6790 * tabular_funcs.h: some renaming plus whitespace
6792 2003-06-12 André Pönitz <poenitz@gmx.net>
6795 * BufferView_pimpl.C:
6801 * toc.C: Return a Paragraph & for ParIterator::operator*()
6803 2003-06-11 John Levon <levon@movementarian.org>
6807 * ToolbarBackend.C: add "Toolbars" section and
6810 2003-06-10 Angus Leeming <leeming@lyx.org>
6813 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6815 * lyxfunc.C (dispatch): invoke it.
6817 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6819 * main.C: protect <ios> with HAVE_IOS
6820 (main): protect sync_with_stdio with HAVE_IOS
6822 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6824 * text2.C (cutSelection): adjust
6825 (pasteSelection): adjust
6827 * messages.C: handle get of empty string
6829 * main.C (main): use sync_with_stdio(false)
6831 * lyxfunc.C (dispatch): adjust
6833 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6834 (WriteAs): remove unneeded BufferView arg.
6836 * bufferparams.h: use correct types on papersize, papersize2 and
6839 * bufferparams.C (readToken): adjust for type
6840 (writeLaTeX): add missing cases to switch.
6842 * bufferlist.C (quitWriteBuffer): adjust
6845 * buffer.C (asciiParagraph): remove some commented code.
6847 * CutAndPaste.C: remove current_view extern variable.
6848 (cutSelection): add BufferParams arg.
6849 (eraseSelection): add BufferParams arg.
6850 (pasteSelection): add Buffer const & arg
6852 2003-06-07 John Levon <levon@movementarian.org>
6855 * paragraph_funcs.C:
6856 * paragraph_pimpl.C:
6860 * paragraph.C: allow InsetERT to freely space lines,
6861 and some consolidation of code
6863 2003-06-06 José Matos <jamatos@fep.up.pt>
6865 * buffer.C (makeDocBookFile): fix bug #821
6867 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6869 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6871 2003-06-04 Angus Leeming <leeming@lyx.org>
6873 * buffer.C: bump format to 224.
6875 2003-06-05 André Pönitz <poenitz@gmx.net>
6877 * text2.C (redoParagraphs): remove two const_cast<>
6879 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6881 * ParagraphList.h: remove last remnants of NO_STD_LIST
6883 2003-06-03 Angus Leeming <leeming@lyx.org>
6885 * factory.C (createInset): small change to the way InsetExternal's params
6888 2003-06-04 André Pönitz <poenitz@gmx.net>
6890 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6892 * paragraph_pimpl.h:
6893 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6895 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6897 * undo_funcs.C: make some simple cases of undo work again
6899 2003-06-03 John Levon <levon@movementarian.org>
6901 * ispell.C: HPUX doesn't have sys/select.h
6904 2003-06-03 John Levon <levon@movementarian.org>
6906 * CutAndPaste.C: update tabular and include inset
6911 * paragraph.C: remove owningBuffer(), don't pass Buffer
6914 * factory.C: insetGraphicsParams changed
6916 2003-06-02 John Levon <levon@movementarian.org>
6922 * text3.C: remove insetparent
6924 2003-06-02 John Levon <levon@movementarian.org>
6927 * buffer.C: fix inset_iterator.end(), move out of line
6930 2003-06-01 John Levon <levon@movementarian.org>
6932 * text3.C: use a proper cut/paste when doing inset
6933 insert (from Jürgen Spitzmüller)
6935 2003-06-01 John Levon <levon@movementarian.org>
6937 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6939 2003-05-30 André Pönitz <poenitz@gmx.net>
6941 * rowpainter.C: unify second drawing phase
6943 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6945 * trans_mgr.C: remove one case of current_view
6947 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6949 * paragraph_funcs.h: remove paragraph.h include
6951 * paragraph.h: delete NO_STD_LIST stuff
6953 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6955 * buffer.h: remove paragraph.h include
6957 * ParagraphList.C: delete file
6959 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6961 * toc.C (getTocList): adjust
6963 * paragraph_pimpl.C (validate): adjust
6965 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6967 * paragraph.C (Paragraph): adjust
6968 (getPositionOfInset): use const_iterator, adjust
6969 (bibitem): use const_iterator, adjust
6970 (setInsetOwner): adjust
6972 * iterators.C (operator++): adjust
6974 * InsetList.[Ch]: Replace selfmade iterator with standard
6975 vector::iterator also introduce const_iterator. Remove getPos,
6976 getInset and setInset from InsetTable. Adjust accordingly.
6978 * BufferView.C (lockInset): adjust
6979 (ChangeInsets): adjust
6981 * tabular.[Ch]: delete commented same_id functions
6983 2003-05-28 John Levon <levon@movementarian.org>
6985 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6987 2003-05-28 André Pönitz <poenitz@gmx.net>
6989 * metricsinfo.[Ch]: remove 'fullredraw' member
6991 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6993 * lyxtextclass.C (operator): remove caching.
6995 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6999 * text2.C (cursorBottom): adjust
7000 (setCounter): use ParagraphList::find, adjust
7002 * text.C (workWidth): use ParagraphList::find, adjust
7004 * lyxcursor.C (LyXCursor): adjust
7006 * buffer.C (inset_iterator): adjust
7008 * ParagraphList.h: make iterator(value_type) private, make
7009 ParagraphList a friend of iterator.
7011 * ParagraphList.C (find): new function
7013 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7015 2003-05-27 André Pönitz <poenitz@gmx.net>
7017 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7019 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7021 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7023 2003-05-26 John Levon <levon@movementarian.org>
7025 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7027 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7029 * remove same_id from function signatures, adjust.
7031 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7033 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7035 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7037 * paragraph.C (Paragraph): get rid of same_ids parameter
7039 * ParagraphList.C (insert): adjust
7042 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7044 * paragraph_funcs.C (breakParagraph): adjust
7045 (breakParagraphConservative): adjust
7047 * buffer.C (readParagraph): adjust
7049 * ParagraphList.C (insert): take a reference instead of a pointer
7052 * paragraph.[Ch] (id): new function
7054 * bufferlist.C (newFile): adjust
7056 * ParagraphList.C (ParagraphList): adjust
7058 (push_back): take a reference instead of a pointer.
7060 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7062 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7065 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7066 set else use old code.
7068 * ParagraphList.C: remove all NO_NEXT code and only compile this
7069 code of NO_STD_LIST is set.
7071 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7073 * BufferView_pimpl.C:
7083 * graphics/GraphicsConverter.C:
7084 * graphics/PreviewLoader.C: header adjustment
7086 2003-05-23 Angus Leeming <leeming@lyx.org>
7088 * LaTeXFeatures.[Ch] (useBabel): new method.
7089 * bufferparams.C (writeLaTeX): use it.
7091 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7093 * ParagraphList.h (set): remove unused function.
7095 2003-05-23 André Pönitz <poenitz@gmx.net>
7098 * BufferView_pimpl.C:
7102 * undo_funcs.C: setUndo reworked
7104 * iterators.[Ch]: add access to topmost ParagraphList
7106 * lyxtext.[Ch] (workWidth): add a const
7108 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7110 * texrow.[Ch] (increasePos): remove function
7111 * exporter.C (export): removed unused var and outdated comment
7113 2003-05-23 Angus Leeming <leeming@lyx.org>
7115 * latexrunparams.h: rename fragile as moving_arg.
7116 * paragraph.C (simpleTeXOnePar): ditto.
7117 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7119 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7121 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7123 (textUndoOrRedo): comment out a currently unused var.
7125 * paragraph.h (NO_NEXT): enable NO_NEXT
7127 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7129 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7131 * exporter.C (Export): adjust for removeAutoInsets removal.
7133 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7135 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7137 * BufferView.[Ch] (removeAutoInsets): delete function
7139 2003-05-22 Angus Leeming <leeming@lyx.org>
7141 * latexrunparams.h: add a free_spacing variable.
7143 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7144 to pass moving_arg, as the data is stored in runparams.fragile.
7146 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7147 to Inset::latexOptional or to simpleTeXOnePar.
7149 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7150 free_spacing arg to Inset::latexOptional.
7152 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7155 2003-05-22 Angus Leeming <leeming@lyx.org>
7157 * latexrunparams.h: add fragile and use_babel variables.
7159 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7160 * buffer.C (makeLaTeXFile): store this returned value in
7161 runparams.use_babel, thus passing it to the inset::latex methods.
7163 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7164 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7166 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7167 longer has a fragile arg, as it is stored in runparams.fragile.
7169 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7170 moving_arg parameter as the data is stored in runparams.fragile.
7172 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7173 a fragile parameter as the data is stored in runparams.fragile.
7175 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7177 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7179 2003-05-22 Angus Leeming <leeming@lyx.org>
7181 * latexrunparams.h: add a 'bool nice' which defaults to false.
7183 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7184 now encapsulated within runparams.
7186 * bufferlist.C (updateIncludedTeXfiles):
7187 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7189 2003-05-22 Angus Leeming <leeming@lyx.org>
7191 * latexrunparams.h: new file containing struct LatexRunParams.
7192 * Makefile.am: add new file.
7194 * LaTeX.[Ch] (c-tor, run):
7195 * buffer.[Ch] (makeLaTeXFile):
7196 * bufferlist.[Ch] (updateIncludedTeXfiles):
7197 * converter.C (convert, scanLog):
7198 * converter.[Ch] (runLaTeX):
7199 * exporter.C (Export):
7200 * paragraph.[Ch] (simpleTeXOnePar):
7201 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7202 * paragraph_funcs.[Ch] (latexParagraphs):
7203 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7204 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7205 pass around a LatexRunParams parameter.
7207 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7209 * paragraph.[Ch]: remove unused constructor
7211 * ParagraphList.C (erase): new function, taking two iterators
7213 2003-05-22 André Pönitz <poenitz@gmx.net>
7215 * undo_funcs.C: remove duplicated code
7217 * iterator.[Ch]: operator=
7219 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7221 * tabular.C (SetMultiColumn): ws changes
7223 * rowpainter.C (paintFirst): get rid of a ->previous
7225 * lyx_cb.C (getPossibleLabel): parlist simplification
7227 * BufferView.C (ChangeInsets): simplify slightly.
7229 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7231 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7232 * lfuns.h: new LFUN_SPACE
7233 * lyxfunc.C: protected space has a new lfun
7234 * paragraph_funcs.C: read new space insets
7236 * factory.C: handle new space insets
7238 2003-05-22 André Pönitz <poenitz@gmx.net>
7241 * BufferView_pimpl.C:
7244 * undo_funcs.C: return a ParIterator from getParFromID.
7246 * iterators.[Ch]: add two const's
7248 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7250 * toc.C (getTocList): adjust
7252 * iterators.[Ch]: rework for parlist
7254 * buffer.C (par_iterator_begin): adjust
7255 (par_iterator_end): adjust
7257 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7259 * BufferView.C (removeAutoInsets): adjust
7260 (ChangeInsets): adjust
7262 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7264 * text.C (top_y): fix bug 1110
7266 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7268 * errorlist.[Ch]: added
7271 * BufferView_pimpl.C:
7272 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7275 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7277 * Makefile.am: ensure that lyx is relinked upon changes to the
7278 various "convenience" libs.
7280 2003-05-20 Angus Leeming <leeming@lyx.org>
7282 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7283 files are compiled in alphabetical order again.
7285 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7287 2003-05-19 Angus Leeming <leeming@lyx.org>
7289 * gettext.[Ch]: remove "char const * _(char const *)".
7291 2003-05-19 André Pönitz <poenitz@gmx.net>
7293 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7302 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7304 2003-05-19 André Pönitz <poenitz@gmx.net>
7308 * lyxtextclass.[Ch]:
7310 * paragraph_funcs.[Ch]:
7312 * text3.C: more insetenv work
7314 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7316 * ParagraphParameters.C (params2string): small bug fixed
7318 2003-05-16 André Pönitz <poenitz@gmx.net>
7321 * bufferview_funcs.C: patch from Kornel Benko to prevent
7322 crash when _(...) is called twice in a statement
7324 2003-05-16 André Pönitz <poenitz@gmx.net>
7331 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7333 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7335 * lyx_main.C (init): remove spurious static_cast
7337 2003-05-14 André Pönitz <poenitz@gmx.net>
7339 * BufferView.C: fix format string
7341 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7343 * BufferView.[Ch] (insertErrors): removed
7344 * BufferView.[Ch] (showErrorList): added
7345 * buffer.C (runChkTeX):
7346 * converter.C (scanLog): call showErrorList instead of inserterrors
7348 2003-05-13 André Pönitz <poenitz@gmx.net>
7350 * BufferView_pimpl.C:
7352 * bufferview_func.C:
7359 * tabular_funcs.h: tostr() from its own header
7361 * ParagraphParameters.C:
7366 * text3.C: STRCONV()
7368 2003-05-12 André Pönitz <poenitz@gmx.net>
7371 * BufferView_pimpl.C:
7375 * ParagraphParameters.C:
7379 * bufferview_funcs.C:
7392 * paragraph_funcs.C:
7396 * text3.C: boost::format -> bformat all over the place
7399 2003-05-09 André Pönitz <poenitz@gmx.net>
7401 * LColor.[Ch]: Pimpl the #include <map> away
7403 2003-05-09 John Levon <levon@movementarian.org>
7405 * bufferlist.C: never remove emergency saves
7407 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7409 * Makefile.am: better lib building
7411 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7413 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7415 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7416 (simpleTeXSpecialChars): adjust
7417 (simpleTeXSpecialChars): adjust
7418 * paragraph.C (simpleTeXOnePar): adjust
7419 * buffer.C (makeLaTeXFile): adjust
7421 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7423 * text2.C (changeDepth): parlist cleanup
7424 (getColumnNearX): ditto
7426 * rowpainter.C (getLabelFont): parlist cleanup
7428 * bufferlist.C (newFile): parlist cleanup
7430 * CutAndPaste.C (eraseSelection): parlist cleanup
7432 * BufferView_pimpl.C (trackChanges): parlist cleanup
7435 * BufferView.C (lockInset): parlist cleanup.
7436 (ChangeInsets): ditto
7438 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7440 * CutAndPaste.h: Update file header.
7442 * CutAndPaste.C: Update file header.
7443 Store the parts cut out of the Document in a limited_stack.
7444 (copySelection): adjust
7445 (pasteSelection): new function, takes the index in the limited stack.
7446 (nrOfParagraphs): adjust
7447 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7448 simplify error inset insertion.
7449 (checkPastePossible): adjust
7451 2003-05-06 John Levon <levon@movementarian.org>
7453 * text2.C: don't cast wrap inset to float
7455 2003-05-05 André Pönitz <poenitz@gmx.net>
7458 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7460 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7461 few naked Paragraph *.
7463 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7465 * bufferparams.C: Output warning if a document with missing
7466 TeX document class is loaded
7467 * exporter.C: Disable TeX exports if the document class is missing
7470 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7471 isTeXClassAvailable()
7473 2003-05-03 John Levon <levon@movementarian.org>
7476 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7477 explicit cursor show/hide
7479 * BufferView_pimpl.h:
7480 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7481 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7483 * lyxfunc.C: hide cursor before dispatching.
7488 * text3.C: remove explicit cursor hides
7490 2003-05-02 André Pönitz <poenitz@gmx.net>
7492 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7495 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7498 * text2.C: tiny whitespace
7500 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7502 * undo_funcs.C: almost only ws changes.
7504 * ParagraphList.C (splice): just return if pl is empty.
7506 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7508 * ParagraphList.C (splice): new function.
7510 * CutAndPaste.C (pasteSelection): use it
7512 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7514 * CutAndPaste.C (pasteSelection): remove the last next and
7515 previous from this file.
7517 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7519 * CutAndPaste.C (pasteSelection): more clean up, user proper
7520 ParagraphList functions for pasteing.
7522 * ParagraphList.C (insert): new function, three arg insert
7524 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7526 * ParagraphList.C (insert): new function, three arg insert
7528 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7531 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7533 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7535 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7537 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7539 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7541 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7542 (copySelection): clean up a bit.
7543 (pasteSelection): use make_pair
7545 * ParagraphList.C (ParagraphList): implement copy constructor
7546 (operator=): implement, base on copy constructor.
7549 * paragraph.C (erase): return a bool
7551 * paragraph_pimpl.C (erasePos): remove function, move contents...
7552 (erase): ... here. Return a bool.
7553 (erase): call erase instead of erasePos.
7555 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7557 * ParagraphList.h: define PitPosPair
7558 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7559 ParagraphList, fix a bug on pasting multiple pars
7560 * text2.C: change interface to C&P
7562 2003-04-30 André Pönitz <poenitz@gmx.net>
7564 * undo_func.C: revert part of yesterday's patch 2
7566 2003-04-30 John Levon <levon@movementarian.org>
7568 * LColor.C: s/tabular/table/
7570 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7572 * text3.C (dispatch): do not convert iterator -> pointer
7573 * undo_funcs.C (setCursorParUndo): ditto
7574 * text_funcs.C (transposeChars): ditto
7576 * text2.C (setLayout): ws changes only
7578 * text.C (breakParagraph): do not convert iterator -> pointer
7580 (acceptChange): ditto
7581 (rejectChange): ditto
7586 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7589 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7591 * text3.C (gotoInset): YABG (yet another bad getChar)
7593 2003-04-29 André Pönitz <poenitz@gmx.net>
7595 * paragraph.h: make operator= private unimplemented as long as
7598 * ParagraphList.C: whitespace
7601 * paragraph_pimpl.[Ch]:
7602 * paragraph_funcs.C:
7604 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7607 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7609 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7611 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7612 * paragraph.[Ch] (erase):
7613 * paragraph_pimpl.[Ch] (erase): change return type and value
7614 * text2.C (cutSelection): some rework
7616 2003-04-28 John Levon <levon@movementarian.org>
7618 * bufferlist.C: changes for unsaved changes dialog
7620 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7622 * bufferlist.C (newFile): set language (messages_) for new
7625 * buffer.C (readFile): ws changes only.
7627 2003-04-28 André Pönitz <poenitz@gmx.net>
7632 * BufferView_pimpl.C:
7633 * BufferView.C: getParFromID related ParagraphList::iterator changes
7635 2003-04-28 André Pönitz <poenitz@gmx.net>
7637 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7640 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7642 * messages.C: remove one more localedir class variable.
7644 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7646 * messages.C (getLocaleDir): singleton generation function
7648 (Messages): add a default constructor.
7650 * main.C (main): do not setup localedir here, do not call
7653 * gettext.C (_): use it.
7654 (gettext_init): delete funciton
7656 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7658 * gettext.C (getLyXMessages): new singleton generating function.
7660 * buffer.C (updateDocLang): adjust
7662 * Makefile.am (messages.o): add target
7663 (main.o): remove target
7665 2003-04-27 John Levon <levon@movementarian.org>
7670 * lyxvc.C: specify cancel button in Alert::prompt
7672 2003-04-26 John Levon <levon@movementarian.org>
7677 * LyXAction.C: add LFUN_INSET_SETTINGS
7679 * lyxfunc.C: don't enable tabular-feature when there's
7680 just any locking inset
7682 2003-04-26 John Levon <levon@movementarian.org>
7684 * bufferlist.C: re-add Cancel to buffer close question
7686 * lyxfunc.C: fix import UI a bit
7688 2003-04-25 John Levon <levon@movementarian.org>
7690 * gettext.C: remove the broken asserts for now
7692 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7694 * messages.C: make case where setlocale cannot comply work better.
7696 * buffer.C (updateDocLang): new function
7697 (changeLanguage): use it
7700 * text2.C (setCounter): use B_ a bit.
7702 * lyxlayout.C (Read): be sure to trim the label strings.
7704 * messages.C (Messages): fix typo in comment
7706 * buffer.C (readFile): set message_ after file is loaded.
7707 (makeDocBookFile): remove double return
7708 (changeLanguage): reset message_ upon language change.
7709 (B_): new func, use this to get translated buffer strings.
7711 * main.C: add myself and Jean Marc as authors.
7713 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7715 * messages.[hC]: pimplify Messages, and three different pimpls to be
7716 used in different circumstances.
7718 * gettext.[Ch]: change for use with new message code.
7720 2003-04-24 André Pönitz <poenitz@gmx.net>
7722 * factory.C: support for eqref
7724 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7726 * messages.[Ch]: add missing char
7728 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7730 * messages.[Ch]: New files
7732 2003-04-18 John Levon <levon@movementarian.org>
7736 * BufferView_pimpl.C:
7740 * text2.C: remove layout-copy/paste (bug 778)
7742 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7744 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7746 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7748 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7749 if they succeed. Act accordingly.
7751 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7753 * text2.C (setCharFont): adjust
7754 (setCounter): adjust
7755 (insertStringAsLines): adjust
7757 * text.C (leftMargin): adjust
7758 (setHeightOfRow): adjust
7760 * rowpainter.C (paintFirst): adjust
7763 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7765 (isFirstInSequence): ditto
7766 (getEndLabel): ditto
7769 * paragraph.C (getParLanguage): comment out some hard stuff.
7771 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7773 (simpleDocBookOnePar): ditto
7774 (makeDocBookFile): use ParagraphList::iterator
7776 * CutAndPaste.C (pasteSelection): adjust
7778 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7780 * text2.C (getFont): adjust
7781 (getLayoutFont): adjust
7782 (getLabelFont): adjust
7784 * paragraph_funcs.C (TeXOnePar): adjust
7786 * buffer.C (simpleLinuxDocOnePar): adjust
7787 (simpleDocBookOnePar): adjust
7789 * CutAndPaste.C (pasteSelection): adjust
7791 * BufferView.C (getEncoding): adjust
7793 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7795 2003-04-16 John Levon <levon@movementarian.org>
7797 * lyxfind.C: use parlist stuff for search/changes
7799 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7801 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7803 * text2.C (deleteEmptyParagraphMechanism): adjust
7805 * text2.[Ch] (ownerParagraph): delete func (both of them
7807 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7809 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7811 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7813 * ParagraphList.C: prepare for NO_NEXT
7815 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7817 * text2.C (getFont): adjust
7818 (getLayoutFont): adjust
7819 (getLabelFont): adjust
7821 * paragraph.C (getFont): adjust
7822 (getLabelFont): adjust
7823 (getLayoutFont): adjust
7825 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7827 2003-04-15 John Levon <levon@movementarian.org>
7831 * lyx_main.C: handle Include in .ui files
7833 2003-04-15 John Levon <levon@movementarian.org>
7835 * MenuBackend.C: make the doc files length shorter
7838 * ToolbarBackend.C: handle toolbar placement flags,
7841 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7843 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7846 * paragraph_funcs.C (TeXOnePar): adjust
7848 * paragraph.C (getLabelFont): add outerfont arg, adjust
7849 (getLayoutFont): ditto
7850 (simpleTeXOnePar): adjust
7852 * paragraph_pimpl.C (realizeFont): delete func
7854 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7856 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7857 row argument, constify cur argument.
7859 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7861 * text2.C (getFont): adjust
7862 (getLayoutFont): adjust
7863 (getLabelFont): adjust
7865 * paragraph_funcs.C (TeXOnePar): adjust
7866 (outerFont): new func...
7867 (realizeFont): ...moved out from here, changed this to facilitate
7870 * paragraph.C (getFont): take outerfont as arg, adjust
7871 (simpleTeXOnePar): add outerfont arg, adjust
7873 * buffer.C (simpleLinuxDocOnePar): adjust
7874 (simpleDocBookOnePar): adjust
7876 * CutAndPaste.C (pasteSelection): adjust
7878 * BufferView.C (getEncoding): adjust
7880 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7882 * text2.C (setCharFont): adjust
7883 (setCounter): adjust
7885 * text.C (leftMargin): adjust
7886 (setHeightOfRow): adjust
7888 * rowpainter.C (paintFirst): adjust
7891 * paragraph_pimpl.C (realizeFont): adjust
7893 * paragraph.C (isFirstInSequence): move from here...
7894 * paragraph_funcs.C (isFirstInSequence): ...to here
7896 * paragraph.C (outerHook): move from here...
7897 * paragraph_funcs.C (outerHook): ...to here
7899 * paragraph.C (depthHook): move from here...
7900 * paragraph_funcs.C (depthHook): ...to here
7902 * paragraph.C (getEndLabel): move from here...
7903 * paragraph_funcs.C (getEndLabel): ...to here
7905 * text2.C (realizeFont): move from here...
7906 * paragraph_funcs.C (realizeFont): ...to here
7908 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7910 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7912 2003-04-14 Angus Leeming <leeming@lyx.org>
7914 * LColor.[Ch]: scrap LColor mathcursor.
7916 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7918 * lyxlex.[Ch] (text): delete function
7919 * trans.C (Load): adjust
7920 * paragraph_funcs.C (readParToken): adjust
7922 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7924 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7925 vector<char> instead of a char[].
7927 * lyxlex_pimpl.C (getString): adjust
7929 (lex): use getString
7933 * lyxlex.C (text): use pimpl_->getString()
7937 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7939 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7940 (makeFontEntriesLayoutSpecific): temp var for par.size()
7941 (setLayout): temp var for ownerParagraphs().end()
7942 (fullRebreak): temp var for rows().end()
7943 (selectionAsString): temp var for boost::next(startpit), realize
7944 that the while really is a regular for loop.
7945 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7946 setCursor in one place.
7947 (setParagraph): temp vr for ownerParagraphs().end()
7948 (updateCounters): make the while loop a for loop
7949 (cutSelection): temp var for ownerParagraphs().end()
7950 (updateInset): make the do {} while() a regular for loop
7951 (getCursorX): use temp vars
7952 (setCurrentFont): use temp vars
7953 (getColumnNearX): use temp vars
7955 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7957 * text.C (transformChar): use temp var for getChar
7958 (computeBidiTables): use temp var for row->par()
7959 (fill): move temp vars for row->par() and pit->layout() earlier in
7961 (labelFill): use temp var for row->par()
7962 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7963 asc and desc, realize that pit never changes and that firstpit is
7964 just a duplicate and not needed. Exchange rit->par() with pit in a
7966 (breakAgain): use a temp var for boost::next(rit)
7967 (breakAgainOneRow): ditto
7968 (breakParagraph): use a temp var for rows().begin()
7969 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7970 (cursorRightOneWord): use temp var for cursor.par() and
7971 cursor.pos(), remove usage of tmpcursor.
7972 (cursorLeftOneWord): use temp var for cursor.par() and
7973 cursor.pos() only set cur at end of function.
7975 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7977 * text.C, text2.C: exchange all usage of Paragraph::next with
7978 boost::next(ParagraphList::iterator)
7980 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7982 * text2.C (cursorTop): simplify implementation
7983 (cursorBottom): ditto
7984 (setParagraph): use ParagraphList::iterator
7985 (setCurrentFont): adjust
7986 (getColumnNearX): adjust
7987 (cursorRight): adjust
7988 (cursorLeft): remove usage of Paragraph::previous
7989 (cursorUpParagraph): ditto
7990 (deleteEmptyParagraphMechanism): slight cleanup
7992 * text.C (isBoundary): take a Paragraph const & instead of a
7994 (addressBreakPoint): ditto
7995 (leftMargin): remove usage of Paragraph::previous.
7996 (setHeightOfRow): ditto
7997 (cursorLeftOneWord): ditto
7998 (selectNextWordToSpellcheck): ditto
8001 (breakParagraph): remove one usage of Paragraph::next
8002 (redoParagraph): ditto
8003 (acceptChange): ditto
8004 (insertChar): adjust
8005 (rowBreakPoint): adjust
8007 * bufferview_funcs.C (toggleAndShow): adjust
8009 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8011 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8012 methods to access it.
8014 * text.C: Added updateRowPositions to compute all row positions.
8015 Make top_y and getRowNearY() to use the cached y position
8017 2003-04-11 John Levon <levon@movementarian.org>
8019 * text.C (rowBreakPoint): reintroduce the labelEnd
8020 checks, code copied from the row fill stuff. Deep voodoo.
8022 * text.C (fill): add a comment and debugging for the
8025 2003-04-11 John Levon <levon@movementarian.org>
8027 * text.C: make sure fullrow insets get wrapped to the next line,
8028 even when they're in a manual label
8030 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8032 * text2.C (insertParagraph): make it take ParagraphList::iterator
8034 (setLayout): make it return ParagraphList::iterator
8035 (redoParagraphs): ditto
8037 (checkParagraph): ditto
8039 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8041 * text2.C: adjust several funcs.
8042 (realizeFont): take a ParagraphList::iterator as arg.
8043 (getLayoutFont): ditto
8044 (getLabelFont): ditto
8045 (setCharFont): ditto
8047 * text.C: adjust several funcs.
8049 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8051 * text.C (selectNextWordToSpellcheck): don't accidentally
8054 2003-04-10 John Levon <levon@movementarian.org>
8056 * ToolbarBackend.C (getIcon): special handling for
8059 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8061 * text2.C (cursorRight): a getChar assert fixed
8063 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8065 * text2.C (getFont): change to take a ParagraphList::iterator
8066 instead of Paragraph*
8067 Adjust several functions.
8069 * text.C (transformChar): change to take a ParagraphList::iterator
8070 instead of Paragraph*
8071 (singleWidth): ditto
8072 Adjust several functions.
8074 * rowpainter.C: adjust several functions
8075 * rowpainter.h:store a ParagraphList::iterator and not a
8079 2003-04-09 John Levon <levon@movementarian.org>
8084 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8085 and the "help" bits as well
8087 2003-04-09 John Levon <levon@movementarian.org>
8090 * ToolbarBackend.C: allow multiple toolbars
8092 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8094 * undo_funcs.C (setCursorParUndo): adjust
8096 * text_funcs.C (transposeChars): adjust
8098 * text3.C (gotoNextInset): adjust
8101 * text2.C (setLayout): adjust
8102 (changeDepth): adjust
8104 (redoParagraphs): adjust
8105 (selectionAsString): adjust
8106 (setParagraph): adjust
8107 (insertInset): adjust
8108 (cutSelection): adjust
8109 (copySelection): adjust
8110 (pasteSelection): adjust
8111 (insertStringAsLines): adjust
8112 (updateInset): adjust
8113 (setCursor): change to take a ParagraphList::iterator parameter
8114 (setCursorIntern): change to take a ParagraphList::iterator parameter
8115 (setCurrentFont): adjust
8116 (cursorLeft): adjust
8117 (cursorRight): adjust
8118 (deleteEmptyParagraphMechanism): adjust
8120 * text.C (breakParagraph): adjust
8121 (insertChar): adjust
8122 (acceptChange): adjust
8123 (rejectChange): adjust
8124 (selectNextWordToSpellcheck): adjust
8125 (changeCase): adjust
8129 * lyxfind.C (SearchForward): adjust
8130 (SearchBackward): adjust
8131 (nextChange): adjust
8133 * lyxcursor.C (par): adjust
8135 * lyxcursor.h: store a ParagraphList::iterator instead of a
8138 * lyx_cb.C (getPossibleLabel): adjust
8140 * bufferview_funcs.C (toggleAndShow): adjust
8142 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8145 * BufferView.C (removeAutoInsets): adjust
8146 (lockedInsetStoreUndo): adjust
8148 2003-04-09 John Levon <levon@movementarian.org>
8150 * ToolbarBackend.C: try icon without argument
8151 if with argument fails
8153 2003-04-08 John Levon <levon@movementarian.org>
8156 * ToolbarBackend.C: add getIcon(), handle tooltip,
8157 and change from "Icon" to "Item".
8159 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8161 * BufferView.C (lockInset): another bad getchar crunched
8163 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8165 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8168 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8170 * lyxfind.C (searchForward, searchBackwards): bug 782
8172 2003-04-07 John Levon <levon@movementarian.org>
8174 * paragraph.C: remove dead comment
8176 * text.C: remove troublesome depth-fiddling code
8177 in leftMargin() and rightMargin() (bug 1017)
8179 * text.C: fix breaking of rows in nested lists
8182 * text2.C (updateCounters): fix up depth values
8185 2003-04-07 John Levon <levon@movementarian.org>
8187 * BufferView_pimpl.C: clear message when doc finishes resizing,
8188 and after a mouse event
8190 * lyxfunc.C: clear message after exiting inset
8192 2003-04-07 John Levon <levon@movementarian.org>
8194 * bufferview_funcs.C: show math status not outside
8195 status in the statusbar
8197 2003-04-07 John Levon <levon@movementarian.org>
8199 * lyxfunc.C: note status changed after a depth change
8201 2003-04-04 Angus Leeming <leeming@lyx.org>
8203 * LaTeX.h: move AuxInfo operator==, != out of line.
8204 Remove LaTeX virtual destructor; nothing derives from it.
8205 Move operator()() out of public area and rename it startscript().
8206 Change protected for private.
8208 2003-04-04 Angus Leeming <leeming@lyx.org>
8211 * text2.C: remove unneeded #includes.
8213 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8215 * text2.C (dEPM): fix the heigth of the next row
8217 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8219 * text.C: squashed an invalid getChar requester + some ws changes
8221 2003-04-03 John Levon <levon@movementarian.org>
8223 * bufferview_funcs.h:
8224 * bufferview_funcs.C:
8227 * text2.C: make getStatus work for the env depth lfuns
8229 2003-04-03 John Levon <levon@movementarian.org>
8231 * bufferview_funcs.h:
8232 * bufferview_funcs.C:
8235 * text2.C: parlistize decDepth(), by merging it with incDepth()
8237 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8239 * lyxrow.h: store a ParagraphList::iterator instead of a
8240 Paragraph* and adjust other class functions to suit.
8242 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8245 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8247 * text2.C (setCursor): do not anchor to cursor row for the time being
8249 2003-04-02 John Levon <levon@movementarian.org>
8256 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8258 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8260 * paragraph.h: make ParagraphList and ParagraphList::iterator
8261 friends of Paragraph.
8263 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8265 * ParagraphList.C: Use the private next_ and previous_ from
8268 2003-04-01 John Levon <levon@movementarian.org>
8272 * Makefile.am: rename, remove defaults gunk
8275 * MenuBackend.C: remove defaults gunk
8278 * Languages.C: remove defaults gunk
8281 * lyx_main.C: error out if files couldn't be found.
8283 2003-04-02 John Levon <levon@movementarian.org>
8285 * text2.C: make incDepth() use parlist
8287 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8289 * undo_funcs.C (firstUndoParagraph): adjust
8291 * text3.C (gotoInset): adjust
8292 (dispatch): adjust, and rewrite loop.
8294 * text2.C (init): adjust, and rewrite loop.
8295 (redoParagraphs): adjust
8296 (updateInset): adjust, and rewrite loop.
8297 (deleteEmptyParagraphMechanism): adjust
8299 * tabular.C (LyXTabular): adjust
8300 (SetMultiColumn): adjust
8303 * lyxtext.[Ch] (ownerParagraph): delete function
8304 (ownerParagraphs): new function returns a ParagraphList.
8306 * BufferView.C (removeAutoInsets): adjust
8307 (insertErrors): adjust
8308 (setCursorFromRow): adjust
8310 2003-04-01 Angus Leeming <leeming@lyx.org>
8312 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8315 2003-04-02 John Levon <levon@movementarian.org>
8321 * text_funcs.C: make transposeChars a free function
8323 * lyxrow_funcs.C: remove wrong comment
8325 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8328 * rowpainter.C: adjust
8333 * lyxrow_funcs. [Ch]: new files
8335 * lyxrow.[Ch]: remove next and previous pointers
8336 (next,previous): remove accessor functions
8337 (isParEnd): move to lyxrow_funcs
8338 (lastPos): move to lyxrow_funcs
8339 (nextRowIsAllInset): move to lyxrow_funcs
8340 (lastPrintablePos): move to lyxrow_funcs
8341 (numberOfSeparators): move to lyxrow_funcs
8342 (numberOfHfills): move to lyxrow_funcs
8343 (numberOfLabelHfills): move to lyxrow_funcs
8344 (hfillExpansion): move to lyxrow_funcs
8348 * bufferview_funcs.C (toggleAndShow): adjust
8350 * RowList.h: Remove class RowList from file leave just a
8353 * RowList.C: delete file
8355 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8358 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8360 * text3.C (cursorPrevious): adjust
8361 (cursorNext): adjust
8364 * text2.C (redoHeightOfParagraph): adjust
8365 (redoDrawingOfParagraph): adjust
8368 * text.C (breakParagraph): adjust
8369 (insertChar): adjust
8372 * rowpainter.C (RowPainter): adjust
8373 (leftMargin): simplify and adjust
8374 (most rowpainter functions): adjust.
8376 * rowpainter.h: store the row as RowList::iterator not as Row*
8378 * lyxcursor.C (row): taka RowList::iterator as arg
8381 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8384 2003-04-01 Angus Leeming <leeming@lyx.org>
8386 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8387 stuff like bool Bool.
8389 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8391 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8394 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8396 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8399 * lyxtext.h (rows): drop one version and leve a const variant that
8400 returns a RowList::iterator.
8402 2003-03-31 Angus Leeming <leeming@lyx.org>
8404 * text.C (fill): ensure that the signature is the same as that in the
8407 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8409 * text2.C (redoParagraphs): adjust
8410 (updateCounters): adjust
8411 (checkParagraph): adjust
8412 (getColumnNearX): adjust and reformat a bit.
8414 * text.C (top_y): adjust
8416 (leftMargin): adjust
8417 (prepareToPrint): adjust
8419 (getRowNearY): adjust
8421 * lyxtext.h: make rowlist_ mutable.
8423 * RowList.h: add const_iterator
8424 * RowList.C: adjust for RowList::const_iterator.
8426 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8429 2003-03-31 John Levon <levon@movementarian.org>
8432 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8434 * lyx_main.C: set default fonts from using lyx_gui funcs
8436 * exporter.C: pdf_mode moved from lyxrc
8439 * lyxfunc.C: changes from above
8441 2003-03-31 John Levon <levon@movementarian.org>
8443 * lyx_main.C: fix to the last fix
8445 2003-03-31 John Levon <levon@movementarian.org>
8447 * bufferlist.C: "Load original" -> "Load Original"
8453 * format.C: more Alert cleanups
8455 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8457 * text2.C (removeParagraph): make it take a RowList::iterator as
8459 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8460 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8462 * text.C (anchor_row): make it take a RowList::iterator as arg,
8464 (computeBidiTables): make it take a const reference to Row instead
8465 of Row pointer, adjust.
8466 (leftMargin): make it take a RowList::iterator as arg, adjust.
8467 (rowBreakPoint): adjust
8468 (breakAgainOneRow): make it take a RowList::iterator as arg,
8470 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8472 * bufferview_funcs.C (toggleAndShow): adjust
8474 2003-03-30 John Levon <levon@movementarian.org>
8478 * boost-inst.C: moved to support
8480 * several files: changes as a result
8482 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8484 * text2.C (LyXText): adjust.
8486 (removeRow): make it take a RowList::iterator as arg, adjust.
8487 (fullRebreak): adjust
8488 (deleteEmptyParagraphMechanism): adjust
8489 (clearPaint): adjust
8492 * text.C (top_y): adjust
8493 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8494 (breakAgain): make it take a RowList::iterator as arg, adjust.
8495 (breakParagraph): adjust
8496 (insertChar): adjust
8499 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8500 need_break_row, and refresh_row.
8502 * text3.C (dispatch): adjust
8504 * text2.C (checkParagraph): adjust
8506 (setCursorFromCoordinates): adjust
8508 * text.C (top_y): adjust
8510 (getRow): make it return a RowList::iterator, adjust
8511 (getRowNearY): make it return a RowList::iterator, adjust
8513 * text2.C (init): adjust
8514 (insertRow): remove function
8515 (insertParagraph): adjust
8516 (redoParagraphs): adjust
8517 (fullRebreak): adjust
8518 (updateCounters): adjust
8520 * text.C (top_y): rewrite to use RowList iterators.
8522 (setHeightOfRow): rewrite to sue RowList iterators.
8523 (appendParagraph): adjust
8524 (breakAgain): adjust
8525 (breakAgainOneRow): adjust
8526 (breakParagraph): adjust
8528 (getRowNearY): adjust, and remove commented code.
8530 * lyxtext.h (firstRow): delete function
8531 (lastRow): delete function
8532 (rows): new function (const and non-const versions.)
8533 (insertRow): delete function
8535 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8537 2003-03-29 John Levon <levon@movementarian.org>
8539 * BufferView_pimpl.C: always update scrollbar top
8540 because pasting text when we're anchored could mean we
8541 miss an update altogether
8543 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8545 * text2.C (init): use rowlist_.end() and not 0.
8546 (insertRow): change to take a RowList::iterator as arg, adjust
8548 (insertParagraph): change to take a RowList::iterator as arg,
8550 (redoParagraphs): remove some debug msgs.
8552 * text.C (appendParagraph): change to take a RowList::iterator
8553 arg, adjust for this.
8554 (breakAgain): add an assert
8555 (breakAgainOneRow): ditto
8557 2003-03-29 John Levon <levon@movementarian.org>
8559 * text2.C: do not clear selection after inc/decDepth
8562 2003-03-29 John Levon <levon@movementarian.org>
8565 * buffer.C: fix broken strerrors according to Lars
8567 2003-03-29 John Levon <levon@movementarian.org>
8569 * converters.C: more Alert cleanups
8571 2003-03-29 John Levon <levon@movementarian.org>
8573 * bufferview_funcs.C: remove pointless Alert
8575 * buffer.C: fix confusing error message when
8576 a template is chmoded 000
8578 2003-03-29 John Levon <levon@movementarian.org>
8582 * BufferView_pimpl.C: Alert fixes
8586 * tabular-old.C: remove unused table compat reading
8588 2003-03-29 John Levon <levon@movementarian.org>
8593 * lyx_cb.C: more Alert cleanups
8595 * lyxfunc.C: don't allow chktex if not latex document
8597 2003-03-29 John Levon <levon@movementarian.org>
8601 * buffer.C: warnings pushed down from support/,
8604 2003-03-29 John Levon <levon@movementarian.org>
8606 * lyxfunc.C: safety check for C-r (revert)
8608 2003-03-29 John Levon <levon@movementarian.org>
8611 * bufferlist.C: several UI fixes using Alert::prompt.
8612 Fix the pointless looping quit code. Fix stupid revert
8617 * lyx_cb.C: use Alert::prompt
8619 * lyx_main.C: remove a silly question
8621 * lyxfunc.C: remove a couple of silly questions,
8624 2003-03-28 John Levon <levon@movementarian.org>
8626 * text2.C: fix bug 974 (End on empty par)
8628 2003-03-28 John Levon <levon@movementarian.org>
8630 * BufferView_pimpl.C:
8632 * lfuns.h: remove do-nothing math greek lfuns
8634 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8636 * lyxgluelength.h (isValidGlueLength): add default arg on
8637 parameter 2. Remove default arg from friend in class.
8639 * lyxlength.h (isValidLength): add default arg on parameter 2.
8640 Remove default arg from friend in class.
8642 * text2.C (LyXText): adjust, initialize refresh_row.
8646 (insertParagraph): adjst
8647 (redoParagraphs): adjust
8648 (fullRebreak): adjust
8649 (updateCounters): adjust
8650 (deleteEmptyParagraphMechanism): first attempt at fixing a
8653 * text.C (top_y): adjust
8654 (setHeightOfRow): adjust
8656 (getRowNearY): adjust
8658 * lyxtext.h: include RowList.h
8659 (~LyXText): not needed anymore, deleted.
8660 (firstRow): modify for RowList
8661 (lastRow): new function
8662 Delete firstrow and lastrow class variables, add a Rowlist
8663 rowlist_ class variable.
8665 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8668 * RowList.C (insert): fix case where it == begin().
8670 2003-03-26 Angus Leeming <leeming@lyx.org>
8672 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8673 the thesaurus dialog.
8675 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8677 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8679 * RowList.[Ch]: new files
8681 * ParagraphList.C (erase): handle the case where it == begin
8684 2003-03-25 John Levon <levon@movementarian.org>
8688 * aspell.C: add new aspell support
8691 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8694 2003-03-25 Angus Leeming <leeming@lyx.org>
8697 * LyXAction.C (init): new LFUN_INSET_INSERT.
8699 * BufferView_pimpl.C (dispatch): split out part of the
8700 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8702 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8705 2003-03-25 Angus Leeming <leeming@lyx.org>
8707 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8709 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8712 * text3.C: remove useless row->height(0)
8714 2003-03-25 John Levon <levon@movementarian.org>
8718 * text3.C: rename the refreshing stuff to better names
8720 2003-03-24 John Levon <levon@movementarian.org>
8722 * BufferView_pimpl.h:
8723 * BufferView_pimpl.C: update layout choice on a mouse
8726 2003-03-23 John Levon <levon@movementarian.org>
8728 * Makefile.am: fix commandtags.h reference
8730 2003-03-22 John Levon <levon@movementarian.org>
8732 * BufferView_pimpl.C:
8737 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8739 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8742 * text.C: take the rtl methods out of line
8744 2003-03-21 André Pönitz <poenitz@gmx.net>
8746 * metricsinfo.[Ch]: new files containing structures to be passed around
8747 during the two-phase-drawing...
8749 2003-03-21 André Pönitz <poenitz@gmx.net>
8751 * lyxtextclass.C: read 'environment' tag.
8753 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8755 * text2.C (removeRow): fix bug 964
8757 2003-03-20 John Levon <levon@movementarian.org>
8761 * text2.C: paint cleanups. Inset::update() dropped font
8764 2003-03-19 John Levon <levon@movementarian.org>
8766 * lyxfunc.C: only fitcursor/markDirty if available()
8768 2003-03-19 John Levon <levon@movementarian.org>
8770 * commandtags.h: rename to ...
8772 * lfuns.h: ... this, and renumber / cleanup
8774 2003-03-19 John Levon <levon@movementarian.org>
8776 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8777 fit the cursor after an lfun
8781 * BufferView_pimpl.h:
8782 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8784 * LyXAction.C: layout-character should have ReadOnly
8786 * ParagraphParameters.C:
8788 * bufferview_funcs.C:
8795 * undo_funcs.C: changes from above
8797 2003-03-18 John Levon <levon@movementarian.org>
8799 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8800 remove it from update()
8802 * lyxfunc.C: update layout choice after an lfun
8804 * text3.C: remove extra updateLayoutChoice()s
8806 2003-03-18 John Levon <levon@movementarian.org>
8808 * text.C: top_y change means full repaint, fix
8809 a drawing bug with cursor movement
8811 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8815 * text2.C: anchor row on setCursor
8817 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8819 * lyxtext.h: remove almost all mutable keywords
8822 * text3.C: remove const keywords accordingly
8824 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8826 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8828 (TeXEnvironment): ditto
8831 2003-03-17 John Levon <levon@movementarian.org>
8833 * text.C (rowBreakPoint): remove attempt to fix displayed
8834 math insets inside a manual label
8836 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8838 * lyxtext.h: remove BufferView* as first arg from almost all class
8840 * other files: adjust.
8842 2003-03-17 John Levon <levon@movementarian.org>
8846 * text2.C: more paint cleanups
8848 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8851 * rowpainter.C: remove "smart" background painting code
8853 2003-03-16 John Levon <levon@movementarian.org>
8858 * text3.C: add helper functions for setting refresh_row/y
8860 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8862 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8863 newline inset which *can* get inserted in the pass_thru layouts.
8864 This is primarily for literate documents.
8866 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8868 * buffer.C: increment LYX_FORMAT to 223
8870 2003-03-14 André Pönitz <poenitz@gmx.net>
8872 * textclass.h: prepare for environment handling, ws changes
8873 * lyxlayout.C: read latexheader and latexfooter tags
8875 2003-03-14 John Levon <levon@movementarian.org>
8877 * text2.C: rewrite ::status() a bit
8879 2003-03-13 John Levon <levon@movementarian.org>
8881 * lyxtext.h: add some docs
8883 2003-03-13 John Levon <levon@movementarian.org>
8888 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8890 2003-03-13 John Levon <levon@movementarian.org>
8892 * text3.C: fix appendix redrawing
8894 2003-03-13 John Levon <levon@movementarian.org>
8896 * text.C (setHeightOfRow):
8898 * rowpainter.C: make appendix mark have the text
8899 "Appendix" so the user knows what it is
8902 * LColor.C: s/appendixline/appendix/ from above
8904 2003-03-13 John Levon <levon@movementarian.org>
8906 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8908 * text.C: fix a getChar(pos) bug properly
8910 2003-03-13 Angus Leeming <leeming@lyx.org>
8913 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8914 Probably only temporary. Let's see how things pan out.
8916 * BufferView.C (unlockInset):
8917 * BufferView_pimpl.C (fitCursor):
8918 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8920 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8921 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8923 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8924 new functions that convert ParagraphParameters to and from a string.
8926 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8927 BufferView::Pimpl's dispatch.
8928 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8930 2003-03-13 André Pönitz <poenitz@gmx.net>
8934 * factory.C: make it aware of InsetEnv
8936 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8938 * text2.C (setCursor): never ask for one past last
8939 (setCursor): add some debugging messages.
8941 * text.C (singleWidth): never ask for one past last
8942 (singleWidth): ditto
8944 (rightMargin): ditto
8945 (rowBreakPoint): ditto
8946 (setHeightOfRow): ditto
8947 (prepareToPrint): ditto
8949 * rowpainter.C (paintBackground): never ask for one past last
8950 (paintText): never ask for one past last
8952 * paragraph_pimpl.C (getChar): make the assert stricter, never
8953 allow the one past last pos to be taken
8955 * paragraph.C (getChar): ws changes only
8957 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8958 (numberOfSeparators): ditto
8959 (numberOfHfills): ditto
8961 2003-03-12 John Levon <levon@movementarian.org>
8967 * paragraph_funcs.C: fix per-buffer authorlists
8969 2003-03-12 John Levon <levon@movementarian.org>
8971 * text.C: fix newline in right address
8973 2003-03-12 Angus Leeming <leeming@lyx.org>
8975 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8976 duplicate those in LyXFunc::dispatch.
8980 * ToolbarDefaults.C:
8981 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8982 Add LFUN_FONTFREE_UPDATE.
8984 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8985 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8987 * bufferview_func.[Ch]: several new functions to facilliate
8988 transfer of data to and from the character dialog.
8990 2003-03-12 John Levon <levon@movementarian.org>
8995 * paragraph_funcs.C:
8996 * paragraph_pimpl.C:
9000 * text3.C: remove META_NEWLINE in favour of an inset
9003 * rowpainter.C: remove paintNewline (done by inset)
9005 2003-03-12 John Levon <levon@movementarian.org>
9007 * paragraph_pimpl.C: complain about bad getChar()s
9008 for a while at least
9010 2003-03-12 John Levon <levon@movementarian.org>
9013 * buffer.C: move paragraph read into a separate function,
9014 a little renaming to reflect that.
9017 * bufferparams.C: remove the author_ids map, not necessary now
9020 * factory.C: moved Buffer::readInset to here
9022 * paragraph_funcs.h:
9023 * paragraph_funcs.C: readParagraph free function moved from
9026 * tabular.C: name change
9028 2003-03-12 John Levon <levon@movementarian.org>
9031 * ParagraphParameters.C: move par params input to
9034 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9035 behave like a normal read from the stream wrt reading
9036 a line vs. a \\token
9038 2003-03-12 John Levon <levon@movementarian.org>
9041 * ParagraphParameters.h:
9042 * ParagraphParameters.C: move output code to a
9045 2003-03-12 John Levon <levon@movementarian.org>
9047 * BufferView.C (insertLyXFile):
9050 * tabular.C: use a parlist iterator for creating the
9053 2003-03-12 John Levon <levon@movementarian.org>
9055 * buffer.C: make current_change static local not
9058 2003-03-12 John Levon <levon@movementarian.org>
9060 * buffer.C: fix insertStringAsLines for change tracking
9062 2003-03-12 John Levon <levon@movementarian.org>
9069 * bufferparams.C: move author list into params. Rename some
9070 functions. Move the header reading into a separate token
9071 loop. Move the header token reading into BufferParams.
9073 2003-03-12 John Levon <levon@movementarian.org>
9075 * changes.C: put debug inside lyxerr.debugging() checks
9077 2003-03-11 André Pönitz <poenitz@gmx.net>
9079 * factory.C: make it aware of InsetHFill
9081 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9083 * buffer.C (latexParagraphs): move function from here...
9084 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9087 2003-03-10 Angus Leeming <leeming@lyx.org>
9089 * LyXAction.C (init): fix bug in poplating array with multiple entries
9090 with the same LFUN (spotted by JMarc).
9092 2003-03-10 John Levon <levon@movementarian.org>
9095 * text2.C: move getColumnNearX() near its
9098 2003-03-10 John Levon <levon@movementarian.org>
9100 * text.C: fix break before a minipage
9102 2003-03-10 John Levon <levon@movementarian.org>
9104 * text.C: fix the last commit
9106 2003-03-09 John Levon <levon@movementarian.org>
9110 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9111 bug 365 (don't break before insets unless needed). Don't
9112 return a value > last under any circumstances.
9114 2003-03-09 Angus Leeming <leeming@lyx.org>
9116 * BufferView_pimpl.C (trackChanges, dispatch): call
9117 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9119 2003-03-09 Angus Leeming <leeming@lyx.org>
9121 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9122 than Dialogs::showAboutlyx().
9124 2003-03-09 Angus Leeming <leeming@lyx.org>
9126 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9127 than Dialogs::showTabularCreate().
9129 2003-03-09 John Levon <levon@movementarian.org>
9133 * text2.C: 3rd arg to nextBreakPoint was always the same.
9136 2003-03-08 John Levon <levon@movementarian.org>
9143 * text2.C: Remove the "main" bit from the "main body"
9146 2003-03-08 John Levon <levon@movementarian.org>
9148 * text.C (leftMargin): The left margin of an empty
9149 manual label paragraph should not include the label width
9152 * text.C (prepareToPrint): don't attempt to measure hfills
9153 for empty manual label paragraphs - the answer should be 0
9155 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9157 * CutAndPaste.C: remove commented code and reindent.
9159 2003-03-08 John Levon <levon@movementarian.org>
9162 * lyxfunc.C: move reloadBuffer()
9165 * BufferView.C: to here
9167 * lyxvc.C: add comment
9170 * vc-backend.C: call bv->reload() to avoid
9171 getStatus() check on MENURELOAD
9173 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9175 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9176 to an old format .dep file.
9178 2003-03-07 Angus Leeming <leeming@lyx.org>
9180 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9181 when the LFUN_MOUSE_RELEASE should have been handled by
9182 inset->localDispatch.
9184 2003-03-07 Angus Leeming <leeming@lyx.org>
9186 * BufferView_pimpl.C (dispatch):
9187 * LyXAction.C (init):
9188 * ToolbarDefaults.C (init):
9190 * lyxfunc.C (getStatus):
9191 remove LFUN_INSET_GRAPHICS.
9193 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9195 2003-03-07 Angus Leeming <leeming@lyx.org>
9198 * LyXAction.C (init):
9199 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9201 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9204 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9206 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9207 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9209 2003-03-07 Angus Leeming <leeming@lyx.org>
9211 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9214 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9216 * ParagraphList.C (front): new function
9219 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9221 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9222 and top_row_offset_. removed var first_y.
9224 * text2.C (LyXText, removeRow):
9226 * BufferView_pimpl.C:
9227 use these methods instead of using first_y
9229 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9231 * text2.C (pasteSelection): adjust for checkPastePossible
9233 * CutAndPaste.C: remove Paragraph * buf and replace with
9234 ParagraphList paragraphs.
9235 (DeleteBuffer): delete
9236 (cutSelection): change the tc type to textclass_type
9237 (copySelection): change the tc type to textclass_type
9238 (copySelection): adjust for ParagraphList
9239 (pasteSelection): change the tc type to textclass_type
9240 (pasteSelection): adjust for Paragraphlist
9241 (nrOfParagraphs): simplify for ParagraphList
9242 (checkPastePossible): simplify for ParagraphList
9243 (checkPastePossible): remove unused arg
9245 * ParagraphList.C (insert): handle the case where there are no
9248 * CutAndPaste.h: make CutAndPaste a namespace.
9250 * text3.C (dispatch): adjust
9252 * text.C (breakParagraph): add a ParagraphList as arg
9254 * paragraph_funcs.C (breakParagraph): change to take a
9255 BufferParams and a ParagraphList as args.
9256 (breakParagraphConservative): ditto
9257 (mergeParagraph): ditto
9258 (TeXDeeper): add a ParagraphList arg
9259 (TeXEnvironment): ditto
9262 * buffer.C (readLyXformat2): adjust
9263 (insertStringAsLines): adjust
9264 (latexParagraphs): adjust
9266 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9267 (cutSelection): adjust
9268 (pasteSelection): adjust
9270 * BufferView_pimpl.C (insertInset): adjust
9272 2003-03-05 Angus Leeming <leeming@lyx.org>
9275 * LyXAction.C (init):
9276 * BufferView_pimpl.C (dispatch):
9277 * lyxfunc.C (getStatus):
9278 remove LFUN_CHILD_INSERT.
9280 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9282 2003-03-05 Angus Leeming <leeming@lyx.org>
9285 * LyXAction.C (init):
9286 * src/factory.C (createInset):
9287 * lyxfunc.C (getStatus):
9288 * text3.C (dispatch):
9289 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9291 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9293 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9295 * ParagraphList.C (insert): handle insert right before end()
9296 (erase): fix cases where it can be first or last paragraph.
9298 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9300 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9301 Paragraph::next and Paragraph::previous
9304 * text.C (breakParagraph): adjust
9306 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9307 BufferParams& as arg.
9308 (breakParagraph): use ParagraphList::insert
9309 (breakParagraphConservative): take a Buffer* instead of a
9310 BufferParams& as arg.
9311 (breakParagraphConservative): use ParagraphList::insert.
9313 * buffer.C (insertStringAsLines): un-const it
9314 (insertStringAsLines): adjust
9316 * ParagraphList.C (insert): new function
9318 * CutAndPaste.C (pasteSelection): adjust
9320 * text.C (backspace): adjust
9322 * tabular.C (SetMultiColumn): adjust
9324 * CutAndPaste.C (cutSelection): adjust
9325 (pasteSelection): adjust
9327 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9328 Buffer const * as arg
9330 * ParagraphList.C (erase): new function
9331 * paragraph_funcs.C (mergeParagraph): use it
9332 (mergeParagraph): make it take a Buffer* instead of a
9333 BufferParams* as arg
9335 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9337 (breakParagraphConservative): ditto
9339 * paragraph.h: remove the breakParagraph friend
9341 * paragraph.C (eraseIntern): new function
9342 (setChange): new function
9344 * paragraph_funcs.C (mergeParagraph): make it take a
9345 ParagraphList::iterator instead of a Paragraph *, adjust
9348 * paragraph.h: move an #endif so that the change tracking stuff
9349 also works in the NO_NEXT case.
9351 2003-03-04 Angus Leeming <leeming@lyx.org>
9354 * LyXAction.C: new LFUN_INSET_MODIFY.
9356 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9357 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9359 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9361 * several files: ws changes only
9363 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9364 (TeXEnvironment): ditto
9367 * buffer.C (makeLaTeXFile): adjust
9368 (latexParagraphs): make it take ParagraphList::iterator as args
9370 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9372 * buffer.C (latexParagraphs): adjust
9374 * paragraph.C (TeXOnePar): move function...
9375 (optArgInset): move function...
9376 (TeXEnvironment): move function...
9377 * paragraph_pimpl.C (TeXDeeper): move function...
9378 * paragraph_funcs.C: ...here
9380 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9382 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9384 * buffer.C (readInset): remove compability code for old Figure and
9387 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9389 * buffer.C: ws changes
9392 * BufferView_pimpl.C: ditto
9395 * bufferlist.h: ditto
9399 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9401 * converter.[Ch]: split into itself +
9404 * Makefile.am: += graph.[Ch] + format.[Ch]
9411 * lyxrc.C: added #include "format.h"
9413 2003-02-27 Angus Leeming <leeming@lyx.org>
9415 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9418 * factory.C (createInset): add "label" to the factory.
9420 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9421 string and do no more.
9423 2003-02-27 Angus Leeming <leeming@lyx.org>
9426 * LyXAction.C (init):
9427 * factory.C (createInset):
9428 * BufferView_pimpl.C (dispatch):
9429 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9431 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9433 * lyxfunc.C (dispatch):
9434 * text3.C (dispatch): pass name to params2string.
9436 2003-02-26 Angus Leeming <leeming@lyx.org>
9438 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9440 Rearrange the ~includes. Strip out the unnecessary ones.
9442 * factory.C (createInset): reformat.
9443 create new insets for the various LFUN_XYZ_APPLY lfuns.
9445 2003-02-26 John Levon <levon@movementarian.org>
9448 * lyxrow.C: add isParStart,isParEnd helpers
9450 * paragraph.h: make isInserted/DeletedText take refs
9452 * paragraph_funcs.h:
9453 * paragraph_funcs.C: remove #if 0'd code
9458 * text.C: use lyxrow helpers above.
9459 Move draw and paint routines to RowPainter.
9460 Make several methods use refs not pointers.
9461 Make backgroundColor() const.
9462 Add markChangeInDraw(), isInInset().
9463 Merge changeRegionCase into changeCase.
9464 Make workWidth() shouldn't-happen code into an Assert.
9467 * rowpainter.C: new class for painting a row.
9470 * vspace.C: make inPixels take a ref
9472 2003-02-26 Angus Leeming <leeming@lyx.org>
9474 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9477 2003-02-25 John Levon <levon@movementarian.org>
9479 * ispell.C: give the forked command a more accurate name
9481 2003-02-22 John Levon <levon@movementarian.org>
9484 * toc.C: make TocItem store an id not a Paragraph *
9487 2003-02-21 Angus Leeming <leeming@lyx.org>
9489 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9490 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9491 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9492 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9493 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9494 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9496 * BufferView_pimpl.C (dispatch):
9497 * LyXAction.C (init):
9498 * factory.C (createInset):
9499 * lyxfunc.C (getStatus, dispatch):
9500 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9502 2003-02-21 Angus Leeming <leeming@lyx.org>
9504 * BufferView_pimpl.C (MenuInsertLyXFile):
9505 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9506 * lyxfunc.C (menuNew, open, doImport):
9507 no longer pass a LyXView & to fileDlg.
9509 2003-02-21 Angus Leeming <leeming@lyx.org>
9511 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9512 * LyXAction.C: change, BIBKEY to BIBITEM.
9513 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9514 Change InsetBibKey to InsetBibitem.
9515 Change BIBKEY_CODE to BIBITEM_CODE.
9516 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9517 * factory.C: replace insetbib.h with insetbibitem.h.
9518 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9519 * paragraph.C: replace insetbib.h with insetbibitem.h.
9520 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9521 Change bibkey() to bibitem().
9522 * text.C: remove insetbib.h.
9523 * text2.C: replace insetbib.h with insetbibitem.h.
9524 change bibkey() to bibitem().
9525 * text3.C: remove insetbib.h.
9526 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9528 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9530 * lyxrc.C (output): enclose user email in quotes (in case there are
9533 2003-02-18 John Levon <levon@movementarian.org>
9535 * buffer.h: add std::
9537 2003-02-17 John Levon <levon@movementarian.org>
9543 * pspell.C: reworking. Especially in ispell, a large
9544 number of clean ups and bug fixes.
9546 * lyxfunc.C: fix revert to behave sensibly
9548 2003-02-17 André Pönitz <poenitz@gmx.net>
9551 * commandtags.h: new LFUN_INSERT_BIBKEY
9561 * paragraph_func.C: remove special bibkey handling
9563 2003-02-17 John Levon <levon@movementarian.org>
9565 * text.C (Delete): fix case where delete at the end of
9566 the very first paragraph would not merge the pars
9568 2003-02-17 John Levon <levon@movementarian.org>
9570 * lyxrow.C: fix lastPrintablePos()
9572 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9574 * bufferparams.C (writeLaTeX): add a std:here
9576 * buffer.C: and remove a using directive there
9578 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9580 * buffer.C (makeLaTeXFile): move the code that generates the
9583 * bufferparams.C (writeLaTeX): ... in this new method
9585 * LaTeXFeatures.C (getEncodingSet): make const
9586 (getLanguages): make const
9588 * MenuBackend.C (binding): returns the binding associated to this
9590 (add): sets the status of each item by calling getStatus. Adds
9592 (read): add support for OptSubMenu
9593 (expand): remove extra separator at the end of expanded menu
9595 2003-02-15 John Levon <levon@movementarian.org>
9598 * BufferView_pimpl.C:
9600 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9601 inset code that had no actual effect. Remove unneeded status
9604 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9606 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9609 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9611 * text.C (drawLengthMarker): also draw an arrow marker for
9612 symbolic lengths (medskip...)
9614 2003-02-14 John Levon <levon@movementarian.org>
9617 * tabular.C: better method names
9619 2003-02-14 John Levon <levon@movementarian.org>
9621 * BufferView_pimpl.C:
9626 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9627 it's a more accurate name. Remove some pointless uses.
9629 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9631 * text2.C (LyXText): change order of initilizers to shut off
9634 2003-02-14 John Levon <levon@movementarian.org>
9636 * buffer.C: use ParIterator for getParFromID()
9640 * paragraph_pimpl.h:
9641 * paragraph_pimpl.C: remove unused getParFromID()
9643 2003-02-14 John Levon <levon@movementarian.org>
9645 * buffer.C: remove some very old #if 0'd parse code
9647 2003-02-13 John Levon <levon@movementarian.org>
9651 * text2.C: move hfillExpansion(), numberOfSeparators(),
9652 rowLast(), rowLastPrintable(), numberofHfills(),
9653 numberOfLabelHfills() ...
9656 * lyxrow.C: ... to member functions here.
9661 * text.C: remove LyXText::beginningOfMainBody(), and call
9662 p->beginningOfMainBody() directly. Move the check for
9663 LABEL_MANUAL into the latter.
9670 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9676 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9677 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9679 2003-02-13 John Levon <levon@movementarian.org>
9681 * CutAndPaste.C: remove debug
9683 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9685 * paragraph.C (asString): remove two unused variables
9687 * lyxtextclass.C (readTitleType):
9689 (LyXTextClass): handle new members titletype_ and titlename_
9691 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9693 2003-02-09 John Levon <levon@movementarian.org>
9696 * buffer.C: replace hand-coded list with a map for the dep clean
9698 2003-02-08 John Levon <levon@movementarian.org>
9700 * LaTeX.C: consolidate code into showRunMessage() helper
9702 2003-02-08 John Levon <levon@movementarian.org>
9707 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9708 and pass the size in explicitly
9710 * BufferView_pimpl.h:
9711 * BufferView_pimpl.C:
9713 * BufferView.C: add getCurrentChange()
9715 * BufferView_pimpl.h:
9716 * BufferView_pimpl.C: handle change lfuns
9718 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9719 for changes. Mark pasted paragraphs as new.
9721 * support/lyxtime.h:
9722 * support/lyxtime.C:
9723 * DepTable.C: abstract time_t as lyx::time_type
9726 * LColor.C: add colours for new text, deleted text, changebars
9728 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9729 package use "usenames" option.
9733 * LyXAction.C: add change lfuns
9737 * author.C: author handling
9740 * buffer.C: add a per-buffer author list, with first entry as
9741 current author. Handle new .lyx tokens for change tracking. Output
9742 author list to .lyx file. Output dvipost stuff to .tex preamble.
9743 Bump lyx format to 222.
9746 * bufferlist.C: add setCurrentAuthor() to reset current author details
9750 * bufferparams.C: add param for tracking
9752 * bufferview_funcs.C: output change info in minibuffer
9756 * changes.C: add change-tracking structure
9759 * debug.C: add CHANGES debug flag
9762 * lyxfind.C: add code for finding the next change piece
9765 * lyxrc.C: add user_name and user_email
9768 * lyxrow.C: add a metric for the top of the text line
9771 * text.C: implement accept/rejectChange()
9774 * text.C: paint changebars. Paint new/deleted text in the chosen
9775 colours. Strike through deleted text.
9779 * paragraph_pimpl.h:
9780 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9781 in the current change to the insert functions. Rework erase to
9782 mark text as deleted, adding an eraseIntern() and a range-based
9783 erase(). Implement per-paragraph change lookup and
9786 * paragraph_funcs.C: Fixup paste for change tracking.
9788 * tabular.C: mark added row/columns as new.
9790 * text.C: fix rowLast() to never return -1. Don't allow
9791 spellchecking of deleted text. Track transpose changes. Don't
9792 allow paragraph break or merge where appropriate.
9794 * text2.C: leave cursor at end of selection after a cut.
9796 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9798 * text.C (getLengthMarkerHeight):
9799 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9800 visible on screen too.
9802 2003-02-07 John Levon <levon@movementarian.org>
9804 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9806 2003-02-05 Angus Leeming <leeming@lyx.org>
9808 * lyxserver.C (read_ready): revert my patch of 11 September last year
9809 as it sends PC cpu through the roof. Presumably this means that
9810 the lyxserver will no longer run on an Alpha...
9812 2003-01-30 Angus Leeming <leeming@lyx.org>
9814 * factory.C (createInset): create an InsetCommandParam of type "index"
9815 and use it to 'do the right thing'.
9817 * text2.C (getStringToIndex): ensure that cursor position is always
9818 reset to the reset_cursor position.
9820 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9822 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9825 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9829 * lyxfunc.C: Output messages with identical spelling, punctuation,
9832 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9834 * MenuBackend.C (expandFormats): List only viewable export formats
9837 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9840 * lyxfunc.C (getStatus): Make sure that formats other than
9841 "fax" can also be disabled
9843 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9845 * text3.C (dispatch): put the lfuns that insert insets in 3
9846 groups, and call doInsertInset with appropriate arguments.
9847 (doInsertInset): new function, that creates an inset and inserts
9848 it according to some boolean parameters.
9850 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9852 * buffer.C (readFile): remember to pass on 'par' when calling
9853 readFile recursively.
9855 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9857 * MenuBackend.C (expandFormats): add "..." to import formats.
9859 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9861 * paragraph.C (asString): Remove XForms RTL hacks.
9863 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9864 * buffer.C: fix typo
9866 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9868 * Makefile.am (LIBS): delete var
9869 (lyx_LDADD): add @LIBS@ here instead.
9871 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9873 * Clarify the meaning of "wheel mouse jump"
9875 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9877 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9880 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9882 * importer.C (Loaders): do not preallocate 3 elements in the
9883 vector, since one ends up with 6 elements otherwise
9885 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9887 * DepTable.C (write): write the file name as last element of the
9888 .dep file (because it may contain spaces)
9889 (read): read info in the right order
9891 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9893 * paragraph_pimpl.C (simpleTeXBlanks):
9894 (simpleTeXSpecialChars):
9895 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9897 * tabular.C (latex): add some missing case statements. Reindent.
9899 * MenuBackend.C (expandToc): remove unused variable.
9901 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9910 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9913 2003-01-05 John Levon <levon@movementarian.org>
9916 * BufferView.C: add getEncoding()
9919 * kbsequence.C: do not store last keypress
9922 * lyxfunc.C: store last keypress here instead. Pass encoding
9925 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9927 * lyx_main.C (init): remove annoying error message when following
9928 symbolic links (bug #780)
9930 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9932 * text.C (insertChar):
9933 * lyxrc.C (getDescription): remove extra spaces
9935 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9937 * lyxrc.C (getDescription): remove extra spaces
9939 2002-12-20 John Levon <levon@movementarian.org>
9941 * text3.C: hack fix for page up/down across tall rows
9943 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9945 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9948 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9950 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9951 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9952 thesaurus is not compiled in
9954 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9956 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9958 2002-12-16 Angus Leeming <leeming@lyx.org>
9961 * lyx_main.C (init): remove override_x_deadkeys stuff.
9963 2002-12-12 John Levon <levon@movementarian.org>
9965 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9966 insert. Only remove shift modifier under strict
9969 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9971 * MenuBackend.C (expandToc): fix crash.
9973 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9975 * MenuBackend.C (expandToc): gettext on float names.
9977 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9979 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9980 implement bool empty() [bug 490]
9982 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9984 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9986 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9988 * several files: ws changes
9990 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9992 * text2.C (setCounter): clean up a bit, use boost.format.
9993 (updateCounters): initialize par upon declaration.
9995 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9996 if the layout exists. We do not just store the layout any more.
9997 (SwitchLayoutsBetweenClasses): use boost.format
9999 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10001 * converter.C (convert): if from and to files are the same, use a
10002 temporary files as intermediary
10004 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10007 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10009 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10011 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10013 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10015 * tabular.C (asciiPrintCell): use string(size, char) instead of
10018 * sgml.C (openTag): fix order of arguments to string constructor
10021 * lyxfunc.C (dispatch): use boost.format
10023 * lots of files: change "c" -> 'c'
10025 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10027 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10029 2002-11-25 Angus Leeming <leeming@lyx.org>
10031 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10033 * lyx_main.C (init): compile fix.
10035 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10037 * lyx_cb.C (start): boost.formatify
10038 do not include <iostream>
10040 * lengthcommon.C: ws only
10042 * boost-inst.C,BoostFormat.h: add more explict instantations
10044 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10046 * lots of files: handle USE_BOOST_FORMAT
10048 2002-11-21 John Levon <levon@movementarian.org>
10050 * pspell.C: fix compile
10052 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10054 * lyxfunc.C (dispatch): use boost::format
10058 * lyxfont.C (stateText): use boost::format
10060 * lyx_main.C (LyX): use boost::format
10062 (queryUserLyXDir): ditto
10063 (readRcFile): ditto
10065 (typedef boost::function): use the recommened syntax.
10067 * importer.C (Import): use boost::format
10069 * debug.C (showLevel): use boost::format
10071 * converter.C (view): use boost::format
10076 * bufferview_funcs.C (currentState): use boost::format
10078 * bufferlist.C (emergencyWrite): use boost::format
10080 * buffer.C (readLyXformat2): use boost::format
10081 (parseSingleLyXformat2Token): ditto
10083 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10085 * LaTeX.C (run): use boost::format
10087 * Chktex.C (scanLogFile): use boost::format
10089 * BufferView_pimpl.C (savePosition): use boost::format
10090 (restorePosition): ditto
10091 (MenuInsertLyXFile): ditto
10093 * BoostFormat.h: help file for explicit instation.
10095 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10097 * tabular.C (latex): Support for block alignment in fixed width
10100 2002-11-17 John Levon <levon@movementarian.org>
10102 * BufferView_pimpl.C:
10104 * lyxfunc.C: split filedialog into open/save
10106 2002-11-08 Juergen Vigna <jug@sad.it>
10108 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10109 by my last patch (hopefully).
10111 2002-11-08 John Levon <levon@movementarian.org>
10120 * toc.C: ParConstIterator, and use it (from Lars)
10122 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10124 * lyxtextclass.[Ch]: revise and add doxygen comments
10126 2002-11-07 John Levon <levon@movementarian.org>
10128 * text.C: fix progress value for spellchecker
10130 * toc.C: fix navigate menu for insetwrap inside minipage
10132 * paragraph_funcs.C: added FIXME for suspect code
10134 2002-11-07 John Levon <levon@movementarian.org>
10136 * BufferView_pimpl.C: fix redrawing of insets
10139 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10141 * text2.C (updateCounters): fix bug 668
10143 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10145 * text3.C (dispatch): Do not make the buffer dirty when moving the
10148 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10150 * vc-backend.C: STRCONV
10151 (scanMaster): ditto
10153 * text2.C (setCounter): STRCONV
10155 * paragraph.C (asString): STRCONV
10157 * lyxlength.C (asString): STRCONV
10158 (asLatexString): ditto
10160 * lyxgluelength.C (asString): STRCONV
10161 (asLatexString): ditto
10163 * lyxfunc.C (dispatch): STRCONV
10166 * lyxfont.C (stateText): STRCONV
10168 * importer.C (Import): STRCONV
10170 * counters.C (labelItem): STRCONV
10171 (numberLabel): ditto
10172 (numberLabel): remove unused ostringstream o
10177 * bufferview_funcs.C (currentState): STRCONV
10179 * buffer.C (readFile): STRCONV
10180 (asciiParagraph): ditto
10181 (makeLaTeXFile): ditto
10183 * Spacing.C (writeEnvirBegin): STRCONV
10185 * LaTeXFeatures.C (getLanguages): STRCONV
10186 (getPackages): ditto
10188 (getBabelOptions): ditto
10189 (getTClassPreamble): ditto
10190 (getLyXSGMLEntities): ditto
10191 (getIncludedFiles): ditto
10195 (scanAuxFile): ditto
10198 * LString.h: add the STRCONV macros
10200 * BufferView_pimpl.C (savePosition): STRCONV
10201 (restorePosition): ditto
10202 (MenuInsertLyXFile): ditto
10204 * vc-backend.C (scanMaster): change from submatch[...] to
10207 * funcrequest.C: include config.h
10209 * factory.C: include config.h
10211 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10213 * box.C: include config.h
10215 * LaTeX.C (scanAuxFile): change from submatch[...] to
10219 2002-10-25 Angus Leeming <leeming@lyx.org>
10221 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10223 * ispell.[Ch] (setError): new method.
10224 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10225 Use setError() insetead of goto END.
10227 * lyx_cb.C (AutoSave): move out child process into new class
10230 2002-10-30 John Levon <levon@movementarian.org>
10232 * text3.C: make start appendix undoable
10234 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10236 * lyxlength.C (inPixels): Fix returned value.
10238 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10241 2002-10-24 Angus Leeming <leeming@lyx.org>
10243 * lyxgluelength.h: no need to forward declare BufferParams
10244 or BufferView, so don't.
10246 2002-10-21 John Levon <levon@movementarian.org>
10248 * BufferView.C: menuUndo ->undo, redo
10250 * BufferView.h: document, remove dead, make some methods private
10252 * paragraph_funcs.h:
10253 * paragraph_funcs.C:
10254 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10259 * sgml.C: move sgml open/close tag into sgml.C
10261 * bufferview_funcs.h: unused prototype
10264 * lyxfunc.C: remove unused
10267 * text.C: remove unused
10269 2002-10-21 John Levon <levon@movementarian.org>
10273 * BufferView_pimpl.h:
10274 * BufferView_pimpl.C: fix mouse wheel handling based on
10275 patch from Darren Freeman
10277 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10279 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10281 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10283 * lyxlength.C (inPixels): Fix hanfling of negative length.
10284 Fix LyXLength::MU case.
10286 2002-10-16 John Levon <levon@movementarian.org>
10288 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10290 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10292 * converter.C (view): add support for $$i (file name) and $$p
10293 (file path) for the viewer command. If $$i is not specified, then
10294 it is appended to the command (for compatibility with old syntax)
10296 2002-10-14 Juergen Vigna <jug@sad.it>
10298 * undo_funcs.C (textHandleUndo): alter the order in which the
10299 new undopar is added to the LyXText, as we have to set first
10300 the right prev/next and then add it as otherwise the rebuild of
10301 LyXText is not correct. Also reset the cursor to the right paragraph,
10302 with this IMO we could remove the hack in "redoParagraphs()".
10304 2002-10-09 Angus Leeming <leeming@lyx.org>
10306 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10307 to turn off an optimisation if a new inset is to be inserted.
10309 2002-10-11 André Pönitz <poenitz@gmx.net>
10311 * lyxtext.h: make some functions public to allow access
10312 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10314 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10316 * text3.C (dispatch): when changing layout, avoid an infinite loop
10319 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10321 * lyxrc.C (read): treat a viewer or converter command of "none" as
10324 * MenuBackend.C (expandFormats): for an update, also allow the
10325 formats that are not viewable
10327 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10328 script if it is newer than the lyxrc.defaults in user directory
10330 2002-10-07 André Pönitz <poenitz@gmx.net>
10332 * text.C: Vitaly Lipatov's small i18n fix
10334 2002-09-25 Angus Leeming <leeming@lyx.org>
10336 * ispell.h: doxygen fix.
10338 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10340 * buffer.h (readFile): Add a new argument to the method, to allow
10341 reading of old-format templates.
10343 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10345 * toc.C (getTocList): Get TOC from InsetWrap.
10347 2002-09-16 John Levon <levon@movementarian.org>
10349 * lyxfunc.C: check tabular for cut/copy too
10351 2002-09-12 John Levon <levon@movementarian.org>
10353 * LyXAction.C: tidy
10356 * factory.C: add header
10358 * paragraph_funcs.h:
10359 * paragraph_funcs.C: cleanup
10361 2002-09-11 John Levon <levon@movementarian.org>
10363 * PrinterParams.h: odd/even default to true
10365 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10367 * PrinterParams.h: update printer parameters for new xforms dialog
10369 2002-09-11 Angus Leeming <leeming@lyx.org>
10371 * lyxserver.C (read_ready): re-write to make it more transparent
10372 and to make it work in coherent fashion under Tru64 Unix.
10374 2002-09-11 André Pönitz <poenitz@gmx.net>
10378 * text3.C: implement LFUN_WORDSEL
10380 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10382 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10383 make floatlist_ a boost::shared_ptr<FloatList>
10385 * lyxtextclass.C: include FloatList.h
10386 (LyXTextClass): initialize floatlist_
10387 (TextClassTags): add TC_NOFLOAT
10388 (Read): match "nofloat" to TC_NOFLOAT and use it.
10389 (readFloat): modify call to floatlist_
10393 * FloatList.[Ch] (FloatList): remove commented out float
10395 (erase): new function
10397 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10399 * MenuBackend.C (expandToc): fix crash when there is no document
10402 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10404 * many files: Add insetwrap.
10406 2002-09-09 John Levon <levon@movementarian.org>
10408 * text2.C: remove confusing and awkward depth wraparound
10410 2002-09-09 John Levon <levon@movementarian.org>
10412 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10415 * buffer.C: remove getIncludeonlyList()
10418 * lyxfunc.C: remove headers
10420 2002-09-09 Juergen Vigna <jug@sad.it>
10422 * text.C (getColumnNearX): fix form Michael this is most
10423 probably a cut&paste bug.
10425 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10427 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10429 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10430 references, ws changes.
10432 * text2.C (init): update counters after init
10433 (insertParagraph): no need to set counter on idividual paragraphs.
10434 (setCounter): access the counters object in the textclass object
10435 on in the buffer object.
10436 (updateCounters): ditto
10438 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10439 shared_ptr<Counters> to avoid loading counters.h in all
10441 (LyXTextClass): initialize ctrs_
10442 (TextClassTags): add TC_COUNTER, and ...
10443 (Read): use it here.
10444 (CounterTags): new tags
10445 (readCounter): new function
10446 (counters): new funtion
10447 (defaultLayoutName): return a const reference
10449 * counters.C (Counters): remove contructor
10450 (newCounter): remove a couple of unneeded statements.
10451 (newCounter): simplify a bit.
10452 (numberLabel): some small formatting changes.
10454 * buffer.[Ch]: remove all traces of counters, move the Counters
10455 object to the LyXTextClass.
10457 2002-09-06 Alain Castera <castera@in2p3.fr>
10459 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10460 package to set the horizontal alignment on fixed width columns.
10463 * lyx_sty.h: added tabularnewline macro def.
10465 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10467 2002-09-06 John Levon <levon@movementarian.org>
10469 * LyXAction.C: tooltips for sub/superscript
10471 * MenuBackend.C: a bit more verbose
10473 * lyxfunc.C: tiny clean
10475 * undo_funcs.C: document undo_frozen
10477 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10479 * counters.C (Counters): add missing algorithm counter.
10481 * text2.C (setCounter): lookup the counter with layouts latexname
10482 instead of by section number.
10483 (setCounter): use a hackish way to lookup the correct enum
10485 a float name->type change
10486 reset enum couners with counter name directly instead of depth value.
10488 * counters.C (Counters): remove the push_backs, change to use the
10489 float type not the float name.
10490 (labelItem): remove unused string, float name->type change
10492 * counters.h: don't include vector, loose the enums and sects vectors
10494 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10496 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10497 (Read): add float->TC_FLOAT to textclassTags
10498 (Read): and handle it in the switch
10499 (readFloat): new function
10501 * FloatList.C (FloatList): comment out the hardcoded float
10504 * lyxlayout.h: ws change.
10506 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10508 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10510 2002-09-03 Angus Leeming <leeming@lyx.org>
10512 * BufferView_pimpl.h: qualified name is not allowed in member
10513 declaration: WorkArea & Pimpl::workarea() const;
10515 * factory.C: added using std::endl directive.
10517 * text3.C: added using std::find and std::vector directives.
10519 2002-08-29 André Pönitz <poenitz@gmx.net>
10522 * text2.C: remove unused member number_of_rows
10525 * BufferView2.C: remove file, move contents to...
10526 * BufferView.C: ... here
10528 * BufferView_pimpl.C:
10529 * factory.C: move more inset creation to factory
10531 * vspace.C: avoid direct usage of LyXText, ws changes
10534 don't provide direct access to WorkArea, use two simple
10535 acessors haveSelction() and workHeight() instead
10538 2002-08-29 John Levon <levon@movementarian.org>
10540 * BufferView_pimpl.C (dispatch): do not continue when
10543 2002-08-28 André Pönitz <poenitz@gmx.net>
10545 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10548 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10550 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10552 * buffer.C: increment LYX_FORMAT to 221
10554 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10555 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10557 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10559 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10561 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10563 * factory.C (createInset): use LyXTextClass::floats
10565 * MenuBackend.C (expandFloatListInsert):
10566 (expandFloatInsert):
10569 * text2.C (setCounter):
10571 * LaTeXFeatures.C (useFloat):
10572 (getFloatDefinitions):
10574 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10576 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10577 floatlist_, with accessor floats().
10579 * FloatList.h: remove global FloatList
10581 2002-08-26 André Pönitz <poenitz@gmx.net>
10583 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10587 * BufferView_pimpl.C:
10588 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10590 2002-08-25 John Levon <levon@movementarian.org>
10592 * LyXAction.C: fix margin note description
10594 2002-08-24 John Levon <levon@movementarian.org>
10598 * bufferview_funcs.C:
10600 * undo_funcs.C: cleanups
10602 * lyxfunc.C: disable CUT/COPY when no selection
10604 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10606 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10607 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10609 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10610 Add backward compatibility to "mono", "gray" and "no".
10612 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10614 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10615 (and file_format >= 200).
10617 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10619 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10621 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10623 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10625 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10627 * BufferView_pimpl.C:
10634 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10635 inset and code to make it work with the paragraph code. The inset
10636 can be anywhere in the paragraph, but will only do the expected
10637 thing in LaTeX if the layout file contains the parameter line
10639 (or more generally, a nonzero value) for that layout.
10641 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10643 * paragraph.h: remove the declaration of undefined counters class
10646 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10648 * text2.C (setCounter): fixed enumeration mis-count as reported by
10649 Dr. Richard Hawkins.
10651 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10653 * paragraph_funcs.h: remove some unneeded includes
10655 * text.C (backspace): pasteParagraph now in global scipe
10657 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10658 (pasteSelection): ditto
10660 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10661 * paragraph_funcs.C (pasteParagraph): ... here
10663 2002-08-20 André Pönitz <poenitz@gmx.net>
10665 * commandtags.h: new LFUNs for swapping/copying table row/colums
10668 * lyxfunc.C: support for new lfuns
10670 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10673 * buffer.[Ch]: remove NO_COMPABILITY stuff
10675 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10677 * boost.C (throw_exception): new file, with helper function for
10678 boost compiled without exceptions.
10683 * ParameterStruct.h:
10684 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10686 * bufferlist.C (emergencyWriteAll): use boost bind
10688 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10690 * text.C: include paragraph_funcs.h
10691 (breakParagraph): breakParagraph is now in global scope
10693 * paragraph_funcs.[Ch]: new files
10695 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10698 * buffer.C: include paragraph_funcs.h
10699 (insertStringAsLines): breakParagraph is now in global scope
10701 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10704 * CutAndPaste.C: include paragraph_funcs.h
10705 (cutSelection): breakParagraphConservative is now in global scope
10706 (pasteSelection): ditto
10708 * buffer.h: declare oprator== and operator!= for
10709 Buffer::inset_iterator
10711 * bufferlist.C (emergencyWrite): don't use fmt(...)
10713 * text3.C: add using std::endl
10715 * BufferView.C (moveCursorUpdate): remove default arg
10717 2002-08-20 André Pönitz <poenitz@gmx.net>
10719 * buffer.[Ch]: move inline functions to .C
10722 * BufferView_pimpl.C:
10724 * buffer.[Ch]: use improved inset_iterator
10727 * paragraph.[Ch]: write one paragraph at a time
10729 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10731 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10732 style if style is not specified.
10734 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10736 * text2.C (setCounter): when searching for right label for a
10737 caption, make sure to recurse to parent insets (so that a caption
10738 in a minipage in a figure float works) (bug #568)
10740 2002-08-20 André Pönitz <poenitz@gmx.net>
10742 * text3.C: new file for LyXText::dispatch() and helpers
10744 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10746 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10748 2002-08-19 André Pönitz <poenitz@gmx.net>
10751 * text.C: new LyXText::dispatch()
10753 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10755 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10757 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10759 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10762 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10764 * Makefile.am: use $(variables) instead of @substitutions@
10766 2002-08-15 André Pönitz <poenitz@gmx.net>
10769 * BufferView_pimpl.C: streamlining mathed <-> outer world
10773 * LyXAction.C: remove unused LFUN_MATH
10775 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10777 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10779 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10781 * paragraph.C (Paragraph): reformat a bit
10782 (cutIntoMinibuffer): use builtin InsetList function instad of
10786 * buffer.C: include boost/bind.hpp, add using std::for_each
10787 (writeFileAscii): use ParagraphList iterators
10788 (validate): use for_each for validate traversal of paragraphs
10789 (getBibkeyList): use ParagraphList iterators
10790 (resizeInsets): use for_each to resizeInsetsLyXText for all
10792 (getParFromID): use ParagraphList iterators
10794 * BufferView2.C (lockInset): use paragraph list and iterators
10796 2002-08-14 John Levon <levon@movementarian.org>
10798 * lyxserver.C: remove spurious xforms include
10800 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10802 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10804 2002-08-13 André Pönitz <poenitz@gmx.net>
10807 * lyxfunc.C: further cleaning
10809 2002-08-13 André Pönitz <poenitz@gmx.net>
10811 * funcrequest.h: new constructor
10813 * funcrequest.C: move stuff here from .h
10816 * BufferView_pimpl.C:
10819 * lyxfunc.C: subsequent changes
10821 * lyxfunc.h: new view() member function
10823 * lyxfunc.C: subsequent changes
10825 2002-08-13 Angus Leeming <leeming@lyx.org>
10828 * BufferView_pimpl.C:
10836 changes due to the changed LyXView interface that now returns references
10837 to member variables not pointers.
10839 2002-08-13 Angus Leeming <leeming@lyx.org>
10841 * WordLangTuple (word, lang_code): return references to strings,
10846 * lyxtext.h: forward-declare WordLangTuple.
10851 * text.C: #include "WordLangTuple.h".
10854 * text.C: (selectNextWordToSpellcheck): constify return type.
10856 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10862 * paragraph_pimpl.h:
10865 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10866 suggested by Angus.
10867 Made updateCounter always count from start of buffer, and removed
10868 second argument (par).
10869 Reverted floats number display to '#'. Perhaps I'll try again when the
10870 code base is sanitized a bit.
10872 2002-08-12 Angus Leeming <leeming@lyx.org>
10874 * buffer.[Ch] (getLabelList): constify.
10876 2002-08-07 André Pönitz <poenitz@gmx.net>
10878 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10880 * funcrequest.h: extension to keep mouse (x,y) position
10882 2002-08-12 Juergen Vigna <jug@sad.it>
10884 * BufferView2.C (insertErrors): forbid undo when inserting error
10887 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10889 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10891 * ParagraphList.[Ch]: new files
10893 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10895 * BufferView2.C (lockInset): ParagraphList changes
10898 * bufferlist.C: ditto
10902 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10904 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10905 unused class variable counter_,
10907 * paragraph.[Ch] (getFirstCounter): delete unused function
10909 * counters.C: include LAssert.h
10910 (reset): add a new function with no arg, change other version to
10911 not have def. arg and to not allow empty arg.
10913 * text2.C (setCounter): remove empty arg from call to Counters::reset
10915 2002-08-11 John Levon <levon@movementarian.org>
10917 * Makefile.am: add WordLangTuple.h
10919 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10921 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10922 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10924 * insets/insettext.C: InsetList changes
10926 * graphics/GraphicsSupport.C (operator()): InsetList changes
10928 * toc.C (getTocList): InsetList changes
10930 * paragraph_pimpl.[Ch]: InsetList changes
10932 * paragraph.[Ch]: InsetList changes
10934 * buffer.C (inset_iterator): InsetList changes
10935 (setParagraph): ditto
10936 * buffer.h (inset_iterator): ditto
10937 * iterators.C (operator++): ditto
10938 * iterators.h: ditto
10940 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10942 * InsetList.[Ch]: new files, most InsetList handling moved out of
10945 * BufferView2.C (removeAutoInsets): InsetList changes
10947 (ChangeInsets): ditto
10949 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10951 * paragraph_pimpl.h (empty): new function
10953 * paragraph.[Ch] (empty): new function
10955 * other files: use the new Paragraph::empty function
10957 2002-08-09 John Levon <levon@movementarian.org>
10959 * lyxtext.h: remove unused refresh_height
10961 2002-08-09 John Levon <levon@movementarian.org>
10968 * paragraph.C: move sgml char escaping out of paragraph
10971 * paragraph.C: remove id setter
10975 * paragraph_pimpl.C: remove dead tex_code_break_column
10977 * bufferview_funcs.C: small cleanup
10979 * lyxfunc.C: remove dead proto
10981 * lyxtext.h: make some stuff private. Remove some dead stuff.
10983 * lyxgluelength.C: make as[LyX]String() readable
10985 2002-08-08 John Levon <levon@movementarian.org>
10990 * ToolbarDefaults.C:
10993 * toc.C: lyxaction cleanup
10995 2002-08-08 John Levon <levon@movementarian.org>
10997 * BufferView2.C: small cleanup
11000 * lyxfind.C: move unnecessary header into the .C
11002 2002-08-08 John Levon <levon@movementarian.org>
11004 * funcrequest.h: just tedious nonsense
11007 * lyx_main.C: cleanups
11010 * vspace.C: remove dead header lyx_main.h
11012 2002-08-07 Angus Leeming <leeming@lyx.org>
11015 * paragraph_pimpl.h:
11016 Forward declare class Counters in paragraph.h by moving the ctrs member
11017 variable into Paragraph::Pimpl.
11018 (counters): new method, returning a reference to pimpl_->ctrs.
11020 * text2.C: ensuing changes.
11022 2002-08-07 John Levon <levon@movementarian.org>
11024 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11026 * BufferView_pimpl.C: announce X selection on double/triple
11029 * lyx_main.C: use correct bool in batch dispatch
11031 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11033 2002-08-07 André Pönitz <poenitz@gmx.net>
11035 * funcrequest.h: new class to wrap a kb_action and its argument
11038 * BufferView_pimpl[Ch]:
11042 * lyxrc.C: subsequent changes
11045 2002-08-07 John Levon <levon@movementarian.org>
11047 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11048 document options change.
11050 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11055 * makefile.am: move counters functionality over from
11056 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11058 2002-08-06 John Levon <levon@movementarian.org>
11060 * WordLangTuple.h: new file for word + language code tuple
11071 * BufferView2.C: use WordLangTuple
11074 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11076 2002-08-06 John Levon <levon@movementarian.org>
11078 * lyx_main.C: fix cmdline batch handling
11080 2002-08-06 André Pönitz <poenitz@gmx.net>
11082 * lyxrc.C: set default for show_banner to true
11084 2002-08-06 John Levon <levon@movementarian.org>
11086 * pspell.C: fix a crash, and allow new aspell to work
11088 2002-08-06 John Levon <levon@movementarian.org>
11091 * kbmap.C: small cleanup
11094 * vspace.C: add const
11096 2002-08-05 John Levon <levon@movementarian.org>
11098 * LyXAction.C: back to tabular-insert
11100 2002-08-04 John Levon <levon@movementarian.org>
11103 * BufferView.C: cosmetic change
11105 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11115 * BufferView2.C: purge all "Lyx" not "LyX" strings
11118 * lyxcursor.C: attempt to add some documentation
11123 * ToolbarDefaults.C:
11124 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11125 merge with LFUN_TABULAR_INSERT
11132 * pspell.C: split up i/pspell implementations into separate
11133 files, many cleanups
11135 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11137 * text2.C: some cleanup
11139 * lyxfunc.C: don't check for isp_command == "none" any more, it
11140 didn't make any sense
11142 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11147 * makefile.am: move counters functionality over
11148 from text2.C/paragraph.[Ch] to counters.[Ch], and
11150 2002-08-02 John Levon <levon@movementarian.org>
11152 * buffer.C: s/lyxconvert/lyx2lyx/
11154 2002-08-02 Angus Leeming <leeming@lyx.org>
11156 * lyxlex.C: revert John's change as it breaks reading of the user
11159 2002-08-02 Angus Leeming <leeming@lyx.org>
11161 * importer.C (Import):
11162 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11163 changes due to LyXView::view() now returning a boost::shared_ptr.
11165 2002-08-02 John Levon <levon@movementarian.org>
11167 * lyxlex.C: small cleanup
11169 2002-08-02 John Levon <levon@movementarian.org>
11171 * text2.C (status): small cleanup, no logic change
11173 2002-08-01 John Levon <levon@movementarian.org>
11176 * buffer.C (writeFile): don't output alerts, caller
11180 * lyx_cb.C: from above
11182 * lyxfunc.C: allow to open non-existent files
11184 2002-07-31 John Levon <levon@movementarian.org>
11186 * lyxserver.C: don't let incidental errors get
11189 2002-07-30 John Levon <levon@movementarian.org>
11191 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11193 2002-07-30 John Levon <levon@movementarian.org>
11196 * lyxserver.C: remove I/O callback too
11198 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11200 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11203 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11205 * many files: strip,frontStrip -> trim,ltrim,rtrim
11207 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11209 * PrinterParams.h: remove extern containsOnly, and include
11210 support/lstrings.h instead.
11212 * LaTeX.C (scanAuxFile): modify because of strip changes
11214 * buffer.C (makeLaTeXFile): ditto
11215 * bufferparams.C (writeFile): ditt
11216 * lyxfont.C (stateText): ditto
11217 * lyxserver.C (read_ready): ditto
11218 * vc-backend.C (scanMaster): ditto
11220 * BufferView_pimpl.h: ws changes
11222 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11224 2002-07-26 André Pönitz <poenitz@gmx.net>
11226 * kb_sequence.C: remove unnedred usings
11228 2002-07-26 Juergen Vigna <jug@sad.it>
11230 * lyxfind.C (LyXReplace): we have to check better if the returned
11231 text is not of theLockingInset()->getLockingInset().
11233 2002-07-25 Juergen Vigna <jug@sad.it>
11235 * lyxfind.C (LyXReplace): don't replace if we don't get the
11238 * undo_funcs.C (createUndo): remove debugging code.
11240 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11242 * buffer.C (parseSingleLyXformat2Token): Use default placement
11243 when reading old floats.
11245 * FloatList.C (FloatList): Change the default placement of figure
11246 and tables to "tbp".
11248 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11250 * MenuBackend.C: using std::max
11252 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11254 * MenuBackend.C (expandToc):
11255 (expandToc2): code moved from xforms menu frontend. It is now
11256 generic and TOCs are transparent to menu frontends.
11258 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11260 * toc.C (getTocList): protect against buf=0
11262 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11263 Menu as first parameter. Now, this calls itself recursively to
11264 expand a whole tree (this will be useful for TOC handling)
11265 (expandFloatInsert): remove 'wide' version of floats
11267 * MenuBackend.h (submenuname): returns the name of the submenu.
11268 (submenu): returns the submenu itself, provided it has been
11269 created by MenuBackend::expand
11271 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11273 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11274 insets which have noFontChange == true. (bug #172)
11276 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11278 * BufferView_pimpl.C: add connection objects and use them...
11281 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11283 * MenuBackend.C (expandLastfiles):
11286 (expandFloatListInsert):
11287 (expandFloatInsert):
11288 (expand): split expand in parts
11290 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11292 * lyx_gui.C: use lyx_gui::exit()
11294 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11296 * LyXAction.C: show the failing pseudo action
11298 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11300 * buffer.C (readFile): Run the lyxconvert script in order to read
11303 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11307 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11309 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11313 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11315 2002-07-22 Herbert Voss <voss@lyx.org>
11318 * lyxlength.[Ch]: add support for the vertical lengths
11320 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11322 * toc.[Ch]: std:: fixes
11324 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11326 * lyxrc.C: do not include lyx_main.h
11328 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11334 * BufferView2.C: include "lyxlex.h"
11337 * bufferparams.h: do not #include "lyxlex.h"
11339 * lyxtextclasslist.C (Add): remove method
11340 (classlist): renamed to classlist_
11342 * paragraph_pimpl.C:
11346 * bufferview_funcs.C:
11351 * toc.C (getTocList): use BufferParams::getLyXTextClass
11353 * toc.C (getTocList): use InsetFloat::addToToc
11355 * toc.[Ch]: new files, containing helper functions to handle table
11358 * lyxfunc.C (dispatch): no need to remove spaces around command
11360 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11361 first command of the sequence; it is not very clever, but I do not
11362 have a better idea, actually
11364 * LyXAction.C (LookupFunc): make sure to remove space at the
11365 beginning and end of the command
11367 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11369 * MenuBackend.C (getMenubar): new method: return the menubar of
11371 (read): treat differently reading of menu and menubar (in
11372 particular, the menubar has no name now)
11373 (Menu::menubar): remove
11375 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11378 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11380 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11381 a bibitem inset in a RTL paragraph.
11383 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11385 * paragraph_pimpl.C: constify
11387 * BufferView_pimpl.C:
11389 * lyxfunc.C: fix dispatch in a nicer way
11391 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11393 * lyxfunc.C (dispatch):
11394 * BufferView_pimpl.C:
11395 * BufferView_pimpl.h:
11397 * BufferView.h: rename Dispatch() to dispatch()
11399 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11401 * lyxlayout.C (Read): honor DependsOn tag
11403 * lyxlayout.[Ch] (depends_on): new method
11405 * version.C.in: update lyx_docversion
11407 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11409 * paragraph.C (validate): remove from here...
11410 * paragraph_pimpl.C (validate): ... and move here
11411 (isTextAt): make it const
11413 * buffer.C (getLists): ws cleanup
11415 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11417 * language.C (read): Use iso8859-1 encoding in latex_lang
11418 (this prevents LyX from crashing when using iso10646-1 encoding).
11420 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11422 * text2.C (toggleInset): if cursor is inside an inset, close the
11423 inset and leave cursor _after_ it
11425 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11427 * lyxfunc.C: move minibuffer completion handling out of here
11429 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11431 * BufferView_pimpl.C:
11432 * LaTeX.C: fix dispatch calls
11434 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11436 * text.C (drawChars): Fix Arabic text rendering.
11438 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11442 * lyxfunc.C: remove message-push/pop
11446 * lyxfunc.C: rationalise some code by removing verboseDispatch
11447 in favour of a bool argument to dispatch()
11449 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11451 * lyx_main.C (init): make sure to read symlinks as absolute paths
11453 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11456 * lyxfunc.C: no need for commandshortcut to be a member
11458 2002-07-15 André Pönitz <poenitz@gmx.net>
11460 * converter.C: add support for $$s (scripts from lib/scripts dir)
11461 * lyx_main.C: white space
11463 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11467 * lyxrc.C: remove second exit confirmation
11469 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11474 * BufferView_pimpl.h:
11475 * BufferView_pimpl.C:
11476 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11478 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11480 * MenuBackend.C (expand): add numeric shortcuts to document menu
11482 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11484 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11486 * lyxfont.C (setLyXFamily):
11493 * buffer.C (asciiParagraph): use ascii_lowercase
11495 2002-07-15 Mike Fabian <mfabian@suse.de>
11497 * lyxlex_pimpl.C (search_kw):
11498 * lyxlex.C (getLongString):
11499 * converter.h (operator<):
11500 * converter.C (operator<):
11501 * buffer.C (parseSingleLyXformat2Token):
11503 * ToolbarDefaults.C (read):
11504 * MenuBackend.C (checkShortcuts):
11506 * LColor.C (getFromGUIName):
11507 (getFromLyXName): use the compare_ascii_no_case instead of
11508 compare_no_case, because in turkish, 'i' is not the lowercase
11509 version of 'I', and thus turkish locale breaks parsing of tags.
11511 2002-07-16 Angus Leeming <leeming@lyx.org>
11513 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11514 now takes a Buffer const & argument.
11516 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11518 * BufferView.C (resize): check there's a buffer to resize
11520 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11522 * lyxfunc.C: remove dead code
11525 * lyxserver.C: use lyx_guii::set_read_callback
11527 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11529 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11530 an inset in a RTL paragraph.
11532 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11534 * lyxfunc.C: repaint after a font size update
11536 2002-07-15 André Pönitz <poenitz@gmx.net>
11538 * lyxlength.C: inBP should be able to return negative values
11540 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11542 * lyxfunc.C: use lyx_gui::update_fonts()
11544 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11546 * lyxfunc.C: use lyx_gui::update_color()
11548 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11554 * lyxrc.C: remove file->new asks for name option, and let
11555 buffer-new take an argument
11557 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11559 * BufferView_pimpl.C: remove unneeded extra repaint()
11561 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11563 * LyXAction.C: allow command-sequence with NoBuffer
11565 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11567 2002-07-10 Angus Leeming <leeming@lyx.org>
11569 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11571 2002-07-09 Angus Leeming <leeming@lyx.org>
11573 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11575 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11577 * lengthcommon.h: whitespace
11579 * lyxfunc.C: update scrollbar after goto paragraph
11581 * lyxtext.h: factor out page break drawing, and fix it so
11582 page break/added space paints as selected nicely
11584 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11586 * BufferView_pimpl.C: add FIXMEs, clean up a little
11588 2002-07-09 André Pönitz <poenitz@gmx.net>
11590 * lyxfont.[Ch]: support for wasy symbols
11592 2002-07-08 André Pönitz <poenitz@gmx.net>
11594 * BufferView_pimpl.C: apply John's patch for #93.
11596 2002-07-05 Angus Leeming <leeming@lyx.org>
11598 * BufferView_pimpl.C (buffer): generate previews if desired.
11600 * LColor.h: add "preview" to the color enum.
11602 * LColor.C (LColor): add a corresponding entry to the items array.
11604 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11607 2002-07-05 Angus Leeming <leeming@lyx.org>
11609 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11610 The body of the code is now in the method that is passed an ostream &
11611 rather than a file name.
11612 Pass an additional only_preamble parameter, useful for the forthcoming
11615 2002-07-03 André Pönitz <poenitz@gmx.net>
11617 * lyxfunc.C: simplify getStatus() a bit for math stuff
11619 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11621 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11623 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11625 * text.C (changeRegionCase): do not change case of all the
11626 document when region ends at paragraph end (bug #461)
11628 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11630 * paragraph.C (startTeXParParams):
11631 (endTeXParParams): add \protect when necessary
11633 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11635 * BufferView_pimpl.C (workAreaExpose): remove warning
11637 2002-06-27 Angus Leeming <leeming@lyx.org>
11639 * Makefile.am: add lyxlayout_ptr_fwd.h.
11641 2002-06-26 André Pönitz <poenitz@gmx.net>
11643 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11645 2002-06-25 Angus Leeming <leeming@lyx.org>
11647 * lyxfunc.C (dispatch): Comment out the call to
11648 grfx::GCache::changeDisplay. The method no longer exists now that the
11649 pixmap generation part of the graphics loader has been moved into
11652 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11654 * text2.C: layout as layout
11656 * text.C: layout as layout
11658 * tabular.C (OldFormatRead): layout as layout
11660 * paragraph_pimpl.C (TeXDeeper): layout as layout
11661 (realizeFont): layout as layout
11663 * paragraph.C (writeFile): layout as layout
11664 (validate): layout as layout
11665 (getFont): layout as layout
11666 (getLabelFont): layout as layout
11667 (getLayoutFont): layout as layout
11668 (breakParagraph): layout as layout
11669 (stripLeadingSpaces): layout as layout
11670 (getEndLabel): layout as layout
11671 (getMaxDepthAfter): layout as layout
11672 (applyLayout): layout as layout
11673 (TeXOnePar): layout as layout
11674 (simpleTeXOnePar): layout as layout
11675 (TeXEnvironment): layout as layout
11676 (layout): layout as layout
11677 (layout): layout as layout
11679 * lyxtextclass.C (compare_name): new functor to work with
11680 shared_ptr, layout as layout
11681 (Read): layout as layout
11682 (hasLayout): layout as layout
11683 (operator): layout as layout
11684 (delete_layout): layout as layout
11685 (defaultLayout): layout as layout
11687 * lyxlayout_ptr_fwd.h: new file
11689 * lyxlayout.C (Read): layout as layout
11691 * lyx_cb.C (MenuInsertLabel): layout as layout
11693 * bufferlist.C (newFile): layout as layout
11695 * buffer.C (readLyXformat2): layout as layout
11696 (parseSingleLyXformat2Token): layout as layout
11697 (insertStringAsLines): layout as layout
11698 (asciiParagraph): layout as layout
11699 (latexParagraphs): layout as layout
11700 (makeLinuxDocFile): layout as layout
11701 (simpleLinuxDocOnePar): layout as layout
11702 (makeDocBookFile): layout as layout
11703 (simpleDocBookOnePar): layout as layout
11704 (getLists): layout as layout
11706 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11708 * CutAndPaste.C (cutSelection): layout as layout
11709 (pasteSelection): layout as layout
11710 (SwitchLayoutsBetweenClasses): layout as layout
11712 * BufferView_pimpl.C (Dispatch): layout as layout
11713 (smartQuote): layout as layout
11715 * BufferView2.C (unlockInset): layout as layout
11717 2002-06-24 André Pönitz <poenitz@gmx.net>
11719 * lyxfunc.C: fix #487
11721 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11725 * lyxfunc.C: remove display_shortcuts, show_banner
11727 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11729 * Buffer_pimpl.C: oops, update on resize
11731 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11738 * BufferView.C: use repaint()
11740 * BufferView_pimpl.h:
11741 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11742 as it's a clearer description. Remove superfluous
11745 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11747 * text.C: fix bug 488. Not ideal, but getting
11748 getWord() to work properly for the insets that
11749 matter is more difficult ...
11751 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11753 * BufferView_pimpl.C:
11756 * lyxfunc.C: remove the six million index lyxfuncs to just
11757 one, and DTRT (bug 458)
11759 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11763 * BufferView_pimpl.h:
11764 * BufferView_pimpl.C: clean up resize() stuff,
11765 and unnecessary updateScreen()s
11767 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11771 * BufferView_pimpl.h:
11772 * BufferView_pimpl.C:
11775 * minibuffer.C: remove focus management of workarea,
11776 not needed. Use screen's greyOut()
11778 2002-06-17 Herbert Voss <voss@lyx.org>
11780 * converter.C: (convert) do not post a message, when converting
11781 fails, let the calling function decide what to do in this case
11783 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11785 * lyxfunc.C: tidy up a little
11787 2002-06-16 <alstrup@diku.dk>
11789 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11790 Got rid of FORMS_H_LOCATION include. Now we are
11793 2002-06-15 LyX Development team <lyx@rilke>
11795 * buffer.[Ch] (sgmlOpenTag):
11796 (sgmlCloseTag): Added support for avoiding pernicious mixed
11797 content. Return number of lines written.
11799 (makeLinuxDocFile):
11800 (makeDocBookFile): Fixed calls to sgml*Tag.
11801 Simple white space clean.
11803 (simpleDocBookOnePar): Simple white space clean.
11805 * tabular.[Ch] (docBook): Renamed to docbook and got another
11806 argument to related with the pernicious mixed content.
11808 (docbookRow): Fixed calls for docbook inset method.
11810 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11812 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11813 so it's X11 independent.
11817 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11819 2002-06-15 Lyx Development team <lyx@electronia>
11821 * intl.h: Renamed getTrans to getTransManager.
11823 2002-06-14 Angus Leeming <leeming@lyx.org>
11825 * Makefile.am: nuke forgotten stl_string_fwd.h.
11827 2002-06-12 Angus Leeming <leeming@lyx.org>
11829 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11831 2002-06-13 Angus Leeming <leeming@lyx.org>
11834 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11836 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11838 * kbmap.C (getiso): add support for cyrillic and greek
11840 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11844 * BufferView_pimpl.h:
11845 * BufferView_pimpl.C: move bogus scrolling logic
11848 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11851 * BufferView_pimpl.C: view->resize() change
11853 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11855 * BufferView_pimpl.C: topCursorVisible
11858 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11862 * lyx_gui.C: move to frontends/
11866 * lyx_main.C: changes from above
11868 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11875 * lyx_main.C: minor tidy
11877 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11879 * BufferView_pimpl.h:
11880 * BufferView_pimpl.C:
11882 * BufferView.C: make painter() const,
11885 * BufferView2.C: use screen() accessor
11888 * lyx_main.C: some minor cleanup
11890 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11892 * BufferView_pimpl.h:
11893 * BufferView_pimpl.C: remove enter/leaveView,
11896 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11901 * BufferView_pimpl.h:
11902 * BufferView_pimpl.C: only construct screen once,
11905 * lyxrc.C: remove pointless comment
11907 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11910 * BufferView.C: remove active() and belowMouse()
11912 * BufferView_pimpl.h:
11913 * BufferView_pimpl.C: use workarea() not workarea_,
11914 and make it use a scoped_ptr instead
11916 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11918 * lyx_gui.C: add debug message on BadWindow
11920 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11922 * sp_spell.C: fdopen is not part of the C++ standard.
11924 * paragraph.C (InsetIterator): use >= instead of ==
11926 2002-06-07 Angus Leeming <leeming@lyx.org>
11928 Fixes needed to compile with Compaq cxx 6.5.
11929 * BufferView_pimpl.C:
11936 * lyxtextclasslist.C:
11941 all c-library variables have been moved into namespace std. Wrap
11942 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11947 Add a using std::abs declaration.
11949 * kbmap.h (modifier_pair):
11950 * paragraph.h (InsetTable, InsetList):
11951 * lyxfont.h (FontBits):
11952 type definition made public.
11954 * bufferlist.C (emergencyWriteAll): the compiler complains that
11955 there is more than one possible lyx::class_fun template to choose from.
11956 I re-named the void specialisation as lyx::void_class_fun.
11958 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11960 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11961 the compiler is is unable to find tostr in write_attribute.
11963 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11965 * buffer.C (sgmlError): hide #warning
11967 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11969 * xtl/*: get rid of xtl, which is not in use anyway
11971 * LyXAction.C (init):
11972 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11973 were unimplemented xtl experimentation
11975 2002-06-04 André Pönitz <poenitz@gmx.net>
11977 * lyxfunc.C: disable array operation on simple formulae
11979 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11981 * converter.C: constify a bit
11983 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11985 * lyx_gui.C: check xforms version correctly
11987 2002-04-30 Herbert Voss <voss@lyx.org>
11989 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11992 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11994 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11995 attempt to register it with a VCS)
11997 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11999 * lyx_main.C (init): honor variables LYX_DIR_13x and
12002 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12006 * lyx_main.C: fix a crash on bad command line,
12007 and give a useful exit status on error
12009 * lyxfunc.C (doImport): allow -i lyx to work
12011 2002-03-30 André Pönitz <poenitz@gmx.net>
12013 * lyxfunc.C: mathed font changes
12015 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12030 * trans_mgr.h: srcdocs, and some minor cleanups
12032 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12034 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12035 call getFont all the time)
12037 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12039 * switch from SigC signals to boost::signals
12041 2002-05-29 André Pönitz <poenitz@gmx.net>
12043 * paragraph_pimpl.C (getChar): don't call size() too often...
12045 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12047 * paragraph_pimpl.C (insertChar): do not try to update tables when
12048 appending (pos == size())
12050 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12051 in order to reduce drastically the number of comparisons needed to
12052 parse a large document
12054 2002-05-29 André Pönitz <poenitz@gmx.net>
12060 * textclasslist.[Ch]:
12061 * sp_ispell.h: whitespace change
12063 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12065 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12066 lyxaction directly now.
12068 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12072 * lyxvc.C: remove unused headers
12074 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12081 * undo_funcs.C: some cleanups. Use shared_ptr
12082 and a template for the undo stacks.
12084 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12086 * BufferView_pimpl.h:
12087 * BufferView_pimpl.C:
12094 * text2.C: use key_state/mouse_state
12096 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12098 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12101 * chset.C: change include order
12102 (loadFile): use boost regex and get rid of LRegex and LSubstring
12104 * Makefile.am (BOOST_LIBS): new variable
12105 (lyx_LDADD): use it
12107 * LaTeX.C: change include order.
12108 (scanAuxFile): use boost regex and get rid of LRegex and
12112 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12117 * FontInfo.C: moved to frontends/xforms/
12120 * FontLoader.C: moved into frontends for GUIIzation
12125 * lyxfunc.C: changes from above
12127 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12129 * LColor.C: remove spurious X include
12131 * BufferView_pimpl.C:
12136 * text2.C: move font metrics to frontends/
12138 2002-05-24 Juergen Vigna <jug@sad.it>
12140 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12141 setting the undo_cursor.
12143 * ParagraphParameters.h: include local includes first.
12145 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12147 * BufferView_pimpl.C:
12148 * BufferView_pimpl.h:
12152 * screen.C: move WorkArea into frontends/
12158 * BufferView2.C: move LyXScreen into frontends/
12162 * lyx_gui.C: move lyxlookup into frontends/xforms/
12164 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12167 * BufferView_pimpl.C:
12177 * bufferview_funcs.C:
12190 * vc-backend.C: move LyX/XFormsView into frontends/
12192 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12204 * text2.C: move Painter to frontends/
12206 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12208 * buffer.C: comment out some some code that depend upon lyx_format
12211 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12212 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12214 * buffer.h (NO_COMPABILITY): turn off compability
12216 * ColorHandler.C: include scoped_array.hpp
12218 * font.C: Use more specific smart_ptr header.
12221 * ShareContainer.h: ditto
12222 * lyx_main.h: ditto
12224 * FontInfo.h: ditto
12225 * BufferView_pimpl.h: ditto
12226 * ColorHandler.h: ditto
12228 * kbmap.C (defkey): change call to shared_ptr::reset
12230 2002-05-21 Juergen Vigna <jug@sad.it>
12232 * buffer.C (insertErtContents): fix to insert ert asis if it is
12233 non empty. Skip it completely if it contains only whitespaces.
12235 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12237 * BufferView_pimpl.C:
12238 * BufferView2.C: clear selection on paste (bug 393)
12240 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12242 * DepTable.C: include ctime
12244 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12246 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12248 2002-05-14 Juergen Vigna <jug@sad.it>
12250 * text.C (breakParagraph): fixed function to honor the keepempty
12251 layout in the right maner and also to permit the right breaking
12252 algorithm on empty or non empyt keepempty paragraphs.
12254 * paragraph.C (breakParagraph): we have to check also if the par
12255 is really empty (!size()) for isempty otherwise we do the wrong
12258 2002-05-10 Juergen Vigna <jug@sad.it>
12260 * buffer.[Ch] : The following are only changes to the ert
12261 compatibility read reading old LaTeX layout and font stuff and
12262 convert it to ERTInsets.
12264 * buffer.h: added isErtInset().
12266 * buffer.C (struct ErtComp): add a fromlayout bool to check
12267 if we're inside a LaTeX layout.
12268 (isErtInset): new helper function.
12269 (insertErtContents): look for other ert insets before this one
12270 and insert the contents there, so that we don't have subsequent
12271 ERT insets with nothing between them. This way we create only one
12272 inset with multiple paragraphs. Also check if we don't insert only
12273 spaces ' ' as they are ignored anyway afterwards in the .tex file
12274 so if we have only spaces we will ignore this latex part in the
12276 (parseSingleLyXformat2Token \\layout): better compatibility when
12277 reading layout-latex stuff.
12278 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12280 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12281 stuff after reading the inset only get the information back from
12284 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12286 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12288 * LaTeXFeatures.C (getBabelOptions): New method.
12290 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12292 * BufferView_pimpl.C (Dispatch): work around missing argument for
12295 2002-05-08 Juergen Vigna <jug@sad.it>
12297 * text.C (leftMargin): handle paragraph leftindent.
12299 * paragraph.C (writeFile): write the new \\leftindent tag.
12300 (validate): handle leftindent code.
12301 (TeXEnvironment): handle paragraphleftindent code again.
12303 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12305 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12306 for paragrap_extra indent code and new token \\leftindent.
12307 (latexParagraphs): handle the leftindent as environment.
12309 * ParameterStruct.h: added leftindent support.
12311 * ParagraphParameters.C (leftIndent): added support functions for
12312 the paragraph left indent.
12314 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12317 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12319 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12322 * text.C (computeBidiTables): No bidi in insetERT.
12324 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12327 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12329 * version.C.in: pre 5
12331 2002-05-02 José Matos <jamatos@fep.up.pt>
12332 * buffer.C (makeDocBookFile): white space changes, add newline to
12334 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12336 * tabular.C (docBook): fix typo.
12338 2002-05-03 Juergen Vigna <jug@sad.it>
12340 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12341 change in LyXText as we can not be sure it was not freed.
12342 (drawOneRow): remove unused code.
12344 * text.C (drawInset): redo the calculation of the need_break_row as
12345 it could have a row which was already freed.
12346 (draw): look at the return value of drawInset and return false if
12347 it also returned false.
12348 (paintRowText): look at the return value of draw and return false if
12349 it also returned false.
12351 * lyxtext.h: added bool return type to drawInset() and draw() so that
12352 if we have a change in the row so that the rowbreak has to be redone
12353 we abort drawing as it will be called again.
12355 2002-05-02 Juergen Vigna <jug@sad.it>
12357 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12358 a change in the maintext also if we're inside an inset.
12359 (Dispatch): set the cursor again after a break line and after the
12360 screen has been updated as it could be we're in a different row.
12362 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12363 to set the cursor behind the pargraph with > size().
12364 (setCursor): check also for the same paragraph when checking where
12365 to put the cursor if we have a NFR inset.
12367 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12368 parts of layout read further up as it still was in the wrong
12371 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12373 * screen.C (drawFromTo): change sine fullRebreak always return
12376 * buffer.C (parseSingleLyXformat2Token): reindent some
12378 * BufferView_pimpl.C (update): change since fullRebreak always
12380 (Dispatch): git rid of the last hardcoded "Standard"s.
12382 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12384 * text2.[Ch] (fullRebreak): make it return void now that we always
12387 2002-04-30 Juergen Vigna <jug@sad.it>
12389 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12390 ert compatibility check for "latex" layout.
12392 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12394 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12395 minipages: use col% instead of p%, and also use the current font.
12396 (makeLaTeXFile): Fix use babel condition.
12397 (parseSingleLyXformat2Token): Correct font when reading old floats.
12399 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12401 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12402 inserting list of floats.
12404 2002-04-25 Herbert Voss <voss@lyx.org>
12406 * MenuBackend.C (expand): don't add the graphics extensions to the
12409 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12411 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12412 non-existing layout, do not complain if it was the default layout
12413 of the original class (bug #342)
12415 2002-04-24 Juergen Vigna <jug@sad.it>
12417 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12418 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12420 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12422 * buffer.C (getBibkeyList): If using \bibliography, return the
12423 option field with the reference itself. Enables us to provide natbib
12424 support when using \bibliography.
12426 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12428 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12430 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12431 natbib is provided by the LaTeX class.
12433 2002-04-23 Juergen Vigna <jug@sad.it>
12435 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12438 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12440 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12442 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12444 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12445 ensuremath around textordmasculine, textordfeminine and
12448 2002-04-19 Juergen Vigna <jug@sad.it>
12450 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12451 reinitializing the buffer otherwise row-dimensions may be wrong.
12452 (update): reset also the selection cursors if they do exits otherwise
12453 their x/y positions may be wrong.
12455 * text2.C (cursorDown): don't enter the inset if we came from a row
12456 above and are one row over the inset.
12458 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12459 really leaving an inset.
12461 2002-04-18 Juergen Vigna <jug@sad.it>
12463 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12464 of the selected paragraph does not have the selected layout also if
12467 * text2.C (setLayout): fixed bug which did not change last selected
12470 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12471 changed the read and substituted \\end_float with \\end_inset!
12473 * BufferView_pimpl.C (cursorPrevious):
12474 (cursorNext): fixed to make it work with rows heigher than the work
12475 area without moving the cursor only the draw of the row.
12476 (workAreaMotionNotify): fix jumping over high rows.
12478 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12480 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12483 2002-04-16 Juergen Vigna <jug@sad.it>
12485 * text2.C (setCursor): set also the irow().
12486 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12488 (cursorDown): support for locking an inset if the x_fix value goes
12489 inside it. That way I can transverse insets too with cursor up/down.
12491 * lyxrow.h: added irow helper function same as other (i) functions.
12493 * BufferView_pimpl.C (cursorPrevious):
12494 (cursorNext): fixed for insets!
12496 2002-04-15 Juergen Vigna <jug@sad.it>
12498 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12499 position otherwise it is wrong in some cases.
12501 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12502 inside the inset before the call.
12504 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12506 * buffer.[Ch] (getBibkeyList): make it const.
12508 2002-04-12 Juergen Vigna <jug@sad.it>
12510 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12512 * text2.C (getCursorX): new helper function
12513 (setCursor): compute also ix_
12514 (setCursorFromCoordinates): set also ix.
12516 * lyxcursor.h: added ix_ and helper functions.
12518 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12520 * buffer.C (insertStringAsLines): dont break paragraph if the this
12521 paragraph is inside an inset which does not permit it!
12523 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12524 also with no chars on this paragraph.
12525 (paintRowText): only paint stuff if it's inside the workarea!
12527 * paragraph.C (breakParagraph): honor keepempty flag and break the
12528 paragraph always below not above.
12530 * BufferView2.C (unlockInset): update the paragraph layout on inset
12531 unlock as we changed paragraph in such a case.
12533 * lyxfind.C (LyXFind): clear the former selection if not found!
12535 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12536 again called in insertChar().
12538 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12539 an inset which uses the whole row!
12540 (rightMargin): ditto.
12541 (insertChar): force a rebreak if we inserted an inset!
12543 2002-03-28 Herbert Voss <voss@lyx.org>
12545 * lyxlength.[Ch]: add inBP() to get the right PS-point
12546 units (BigPoint). With inPixels we have rounding errors
12548 2002-04-11 Juergen Vigna <jug@sad.it>
12550 * text2.C (setCursorFromCoordinates): set iy to the right value.
12551 (setCursor): add check if row->previous exists!
12553 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12554 an old float_type as this was the case in the old code!
12556 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12558 * BufferView2.C (showLockedInsetCursor): use iy
12559 (fitLockedInsetCursor): ditto
12561 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12562 locked insets as there we have the right value now.
12564 * lyxcursor.C: added iy_ variable and iy functions to set to the
12565 baseline of cursor-y of the locked inset.
12567 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12568 (setCursor): fixed for insets which need a full row.
12570 * text.C (rowLastPrintable): don't ignore the last space when before
12571 an inset which needs a full row.
12572 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12573 as last character of a row when before a inset which needs a full row.
12575 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12577 * version.C.in: update date
12579 * text2.C (fullRebreak): try to always return true and see what
12582 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12584 * MenuBackend.C (expand): use Floating::listName
12586 * FloatList.C (FloatList): add listName argument to the built-in
12589 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12590 text associated with the float.
12592 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12594 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12596 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12598 * ShareContainer.h: add a couple of missing typenames.
12600 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12602 * lyxrc.C (getDescription): use _() correctly rather than N_().
12604 2002-03-28 Herbert Voss <voss@lyx.org>
12606 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12607 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12609 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12611 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12612 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12614 2002-03-29 Juergen Vigna <jug@sad.it>
12616 * lyxfunc.C (dispatch): add a missing fitCursor call.
12618 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12619 it was scrolled by a cursor move, so return the bool status.
12621 * BufferView.C (fitCursor): return the bool flag also to the outside
12622 world as this is needed.
12624 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12626 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12627 call the edit() as it is not needed (and wrong) IMO.
12628 (workAreaButtonPress): set the screen_first variable before evt.
12629 unlock the inset as this may change screen_first and then we have
12630 a wrong y position for the click!
12632 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12634 * MenuBackend.C (expand): another translation that I missed
12636 2002-03-28 Juergen Vigna <jug@sad.it>
12638 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12640 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12642 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12644 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12646 * MenuBackend.C (expand): fix export/view/update when there is no
12649 2002-03-27 Herbert Voss <voss@lyx.org>
12651 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12654 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12656 * bufferview_funcs.C (currentState): only show paragraph number
12657 for is DEVEL_VERSION is set.
12659 * lyxfunc.C (dispatch): put warning in INFO channel
12661 * MenuBackend.C (expand): translate the name of floats
12663 * FloatList.C (FloatList): mark the float names for translation
12665 * converter.C (convert): use LibScriptSearch
12667 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12669 * MenuBackend.C (defaults): fix default menu (we might as well get
12672 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12674 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12677 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12679 * lyxvc.C: reorder includes.
12681 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12683 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12686 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12688 * CutAndPaste.C: change layouts earlier on paste
12689 to avoid crashing when calling getFont()
12691 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12693 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12696 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12698 * WorkArea.C: remove 'Pending' debug message.
12700 * most files: ws cleanup
12702 * buffer.[Ch]: ws changes
12704 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12706 2002-03-21 Juergen Vigna <jug@sad.it>
12708 * tabular.C (SetMultiColumn): collapse also the contents of the
12709 cells and set the last border right. Added a Buffer const * param.
12711 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12713 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12716 2002-03-19 Juergen Vigna <jug@sad.it>
12718 * text2.C (clearSelection): reset also xsel_cache.
12720 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12721 where it needs to be called (John tells us to do so too :)
12722 (selectionLost): reset sel_cache.
12724 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12726 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12728 * text2.C (setCursorIntern): put debuging code in INSETS channel
12730 2002-03-19 André Pönitz <poenitz@gmx.net>
12732 * lyxfunc.C: tiny whitespace change
12734 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12736 * ToolbarDefaults.C (init):
12737 * LyXAction.C (init):
12739 * BufferView_pimpl.C (Dispatch):
12740 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12742 2002-03-19 Allan Rae <rae@lyx.org>
12744 * exporter.C (Export): removeAutoInsets before doing anything else.
12745 While I've just introduced a dependency on BufferView this really is
12746 the best place to clean the buffer otherwise you need to cleanup in
12747 a dozen places before calling export or cleanup in a dozen functions
12750 * converter.C (runLaTeX):
12751 (scanLog): Better handling of removeAutoInsets and screen updates.
12753 * lyxfunc.C (dispatch): small whitespace changes
12755 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12757 * WorkArea.C (C_WorkAreaEvent): return a value.
12758 (event_cb): return 1 if we handled the event, 0 otherwise.
12760 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12762 2002-03-18 Juergen Vigna <jug@sad.it>
12764 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12765 (GetAdditionalWidth): ditto.
12766 (RightLine): ditto.
12769 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12770 inset if we're there actually (probably not used right now but this
12771 is the direction to go for unifying code).
12772 (paste): disable code to clear the selection.
12774 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12775 inside an InsetText and move the check further up as it is in the
12778 * text2.C (pasteSelection): set a selection over the pasted text.
12780 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12782 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12783 and libgraphics to build on Cygwin.
12785 2002-03-15 Juergen Vigna <jug@sad.it>
12787 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12788 inserting an Inset into the paragraph. I know this is not the best
12789 fix but we already use current_view in CutAndPaste so we will remove
12790 all of it's using at the same time.
12792 * buffer.C (sgmlError): deactivated function till it is rewritten in
12793 the right mode, now it can create problems.
12795 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12796 before accessing it.
12798 2002-03-14 Juergen Vigna <jug@sad.it>
12800 * undo_funcs.C (textHandleUndo): do the right thing when updating
12801 the inset after the undo/redo.
12803 * text2.C (setCursor): just some testcode for #44 not ready yet.
12805 * undo_funcs.C (textHandleUndo): set the next() and previous()
12806 pointers of the paragraph to 0 before deleting otherwise we have
12807 problems with the Paragraph::[destructor].
12809 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12810 on a paragraph insertion.
12812 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12814 * buffer.C (asciiParagraph): use += operator for char append to
12817 * paragraph.C (getFontSettings): compare >= not just >
12818 (highestFontInRange): ditto
12821 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12823 * paragraph.C: change several algorithm to be more appripriate for
12824 the problem domain. This is lookip in FontList and in the InsetList.
12826 2002-03-13 André Pönitz <poenitz@gmx.net>
12829 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12831 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12836 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12838 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12840 * Painter.C (display): anon helper function, adjust code for this
12842 (pixmap): remove function.
12844 * Painter.h: remove private display variable.
12846 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12848 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12850 * WorkArea.[Ch]: remove figinset_canvas cruft.
12852 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12854 * lyxtextclass.C (operator): add one item cache optimization.
12856 * bufferlist.h: doxy changes
12858 * bufferlist.C: ws changes
12860 * DepTable.[Ch] (ext_exist): place const in the right spot.
12862 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12864 (workAreaExpose): call resizeInsets when the with BufferView changes.
12865 (Dispatch): adjust for protectedBlank removal
12866 (specialChar): call updateInset if the insert went ok.
12868 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12869 specialChar instead.
12871 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12873 * BufferView.h: doxy change
12875 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12877 * lyxtextclass.C (operator[]): remove non-const version
12878 (defaultLayout): remove non-const version
12880 2002-03-12 Juergen Vigna <jug@sad.it>
12882 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12883 did resize the LyXText too.
12885 * buffer.C (readLyXformat2): set layout information on newly allocated
12888 * tabular.C (OldFormatRead): set layout information on the paragraph.
12890 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12892 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12894 2002-03-11 Juergen Vigna <jug@sad.it>
12896 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12898 (resizeCurrentBuffer): force also the insets to resize themselfes.
12899 (moveCursorUpdate): fixed up for InsetText.
12901 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12904 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12905 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12906 value of Dialogs::tooltipsEnabled().
12907 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12909 2002-03-08 Juergen Vigna <jug@sad.it>
12911 * BufferView_pimpl.C (updateInset): update inset inside inset also
12912 if it isn't inside theLockingInset().
12914 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12916 * buffer.C (asciiParagraph): redo some of the word and line length
12918 (getLists): look for Caption instead of caption.
12920 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12922 * buffer.C (Buffer): initialize niceFile to true
12924 (makeLinuxDocFile):
12925 (makeDocBookFile): make sure niceFile is true on exit
12927 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12929 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12931 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12933 * LyXSendto.C: remove.
12934 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12935 * lyx_gui.C: remove now-redundant comment.
12936 * ColorHandler.h: remove forward declaration of class WorkArea.
12937 * lyxfunc.C: remove #include "WorkArea.h".
12939 2002-03-07 Juergen Vigna <jug@sad.it>
12941 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12942 got moved away with the DEPM and also set the inset_owner always
12943 right which before could have been omitted.
12945 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12947 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12948 wanted layout is not found.
12950 2002-03-07 Juergen Vigna <jug@sad.it>
12952 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12954 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12956 * paragraph.C (breakParagraph): use default layout not layout of
12958 (Paragraph): clear ParagraphParameters.
12960 2002-03-06 Juergen Vigna <jug@sad.it>
12962 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12963 otherwise it would not be a valid lenght. Fixed a special case in
12964 the minipage compatibility read where we end the document with a
12967 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12968 was set as it could be 0 for InsetTexts first entry.
12970 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12972 * paragraph.C (writeFile): if layout is empty write out
12973 defaultLayoutName().
12975 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12976 file without named layout we set layout to defaultLayoutName().
12978 2002-03-06 Juergen Vigna <jug@sad.it>
12980 * CutAndPaste.C (copySelection): set layout for new paragraph.
12982 * text.C (prepareToPrint): leave ERT inset left aligned
12983 (leftMargin): don't indent paragraphs inside ERT insets
12985 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12987 * paragraph.C (breakParagraph): dont call clear do the work manually
12989 * paragraph.[Ch] (clear): remove function
12991 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12993 * paragraph.C (Paragraph): dont call clear, the work has already
12996 * lyxtextclass.C (operator): assert if n is empty
12998 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12999 work manually instead.
13001 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13003 * BufferView_pimpl.C: protect selectionLost against text == 0
13005 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13007 * text.C (breakParagraph): fix a setting layout to '0' problem.
13009 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
13011 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13012 final location of file, for the included files, and graphics.
13014 2002-03-05 Juergen Vigna <jug@sad.it>
13016 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13018 2002-03-04 Juergen Vigna <jug@sad.it>
13020 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13022 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13023 last column of multicolumn cells.
13024 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13026 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13028 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13029 file if it doesn't go to a temporary file.
13031 * buffer.C (sgmlOpenTag):
13032 (sgmlCloseTag): remove extra newline insertion.
13034 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13036 * text.C (getRowNearY): comment out debug msg
13038 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13040 * text2.C: first -> first_y
13042 * text.C (getRowNearY): add some attemts at a possible
13043 optimization, not working.
13045 * tabular.[Ch]: add BufferParams to several function so that newly
13046 created paragraph can be initialized to he default layotu for the
13049 * tabular-old.C (ReadOld): add buf->params to call of Init
13051 * screen.C: rename text->first to text->first_y
13053 * paragraph.C (breakParagraph): always set layout in the broken
13056 * lyxtextclass.C (Read): remove lowercase
13059 (delete_layout): ditto
13061 * lyxtext.h: rename first -> first_y
13063 * lyxlayout.C (Read): remove lowercase
13066 (obsoleted_by): ditto
13068 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13070 * buffer.C (insertErtContents): add params are to InsetERT
13071 (parseSingleLyXformat2Token): add code to check if a paragraphs
13072 layout really exist.
13073 (parseSingleLyXformat2Token): add params to several inset
13075 (asciiParagraph): remove lowercase, do the layout comparisons with
13078 * BufferView_pimpl.C (cursorNext): first -> first_y
13079 (resizeCurrentBuffer): first -> first_y
13080 (updateScrollbar): first -> first_y
13081 (scrollCB): first -> first_y
13082 (workAreaMotionNotify): first -> first_y
13083 (workAreaButtonPress): first -> first_y
13084 (checkInsetHit): first -> first_y
13085 (cursorPrevious): first -> first_y
13086 (cursorNext): first -> first_y
13087 (Dispatch): add buffer_->params to severl inset contructors
13089 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13091 * lyxlayout.C (Read): remove some debug info that I forgot.
13093 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13094 clean up the code slightly.
13095 (makeLinuxDocFile): ditto
13096 (makeDocBookFile): ditto
13098 * text2.C: layout as string
13100 * text.C: layout as string
13102 * paragraph_pimpl.C: layout as string
13104 * paragraph.[Ch]: layout as string
13106 * lyxtextclasslist.[Ch]: layout as string
13108 * lyxtextclass.[Ch]: layout as string
13110 * lyxtext.h: layout as string
13112 * lyxlayout.[Ch]: layout as string
13114 * lyx_cb.C: layout as string
13116 * bufferview_funcs.C: layout as string
13118 * bufferparams.C: layout as string
13120 * buffer.C: layout as string
13122 * LyXView.[Ch]: layout as string
13124 * LaTeXFeatures.[Ch]: layout as string
13126 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13128 * BufferView_pimpl.C: change current_layout to string, remove
13133 (workAreaButtonRelease): layout as string
13135 * BufferView2.C (unlockInset): adjust
13137 * vspace.C (asLatexCommand): use an explict temp variable.
13139 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13141 * Makefile.am: use FRONTEND_*
13143 2002-03-01 Juergen Vigna <jug@sad.it>
13145 * tabular.C (SetWidthOfMulticolCell): changed to something better
13146 I hope but still work in progress.
13147 (recalculateMulticolumnsOfColumn): renamed function from
13148 recalculateMulticolCells as it is more appropriate now.
13149 (SetWidthOfCell): calculate multicols better.
13151 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13153 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13155 * lyxfunc.C (processKeySym): print sequence also if it is
13156 `deleted' (complete)
13158 * kbsequence.C (print): print sequence even if it is deleted
13159 (complete would be a better word, actually).
13161 * lyxfunc.C (dispatch): print complete options after a prefix key
13163 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13165 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13167 * text2.C (setCharFont): eliminate setCharFont code duplication.
13169 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13171 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13172 LFUN_TABULAR_FEATURE (bug #177)
13174 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13176 * Makefile.am: remove figure.h
13178 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13180 * Bufferview_pimpl.C:
13192 * text2.C: remove #include "lyx_gui_misc.h".
13194 * LaTeX.C: added #include <cstdio>
13196 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13198 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13199 that the paragraph following this one can have.
13201 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13203 * vspace.C (asLatexCommand): fix bogus gcc warning
13205 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13207 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13209 * text2.C (setLayout): get rid of redundant code
13211 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13213 * text2.C (incDepth): make sure depth cannot be increased beyond
13216 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13218 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13219 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13221 * PainterBase.h (image):
13222 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13223 a LyXImage const *.
13225 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13229 * BufferView_pimpl.C:
13230 * BufferView_pimpl.h:
13250 * sp_spell.C: remove fig inset, and the crap house of
13251 cards that follows it
13253 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13258 * os2_errortable.h:
13259 * nt_defines.h: move .h into support/
13261 * vms_defines.h: remove
13263 * WorkArea.C: add space in debug output
13267 * buffer.C: add WITH_WARNINGS
13271 * bufferlist.C: s/retrive/retrieve/, add docs
13280 * chset.C: add docs
13282 * lyxgui.C: add ID to X error handler
13284 * lyxtestclass.c: fix typo
13286 2002-02-26 Juergen Vigna <jug@sad.it>
13288 * tabular_funcs.C (write_attribute): changed so that some default
13289 attributes are not written at all.
13290 (getTokenValue): set default values before trying to read the
13291 value so we have the return value always set as default if we don't
13292 find the token we search for.
13294 * tabular.C (Write): write bools as bools not as strings!
13296 2002-02-22 Juergen Vigna <jug@sad.it>
13298 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13299 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13301 * text.C (leftMargin): don't add an indent for paragraphs inside
13302 tabular cells (fix #208).
13304 2002-02-21 José Matos <jamatos@fep.up.pt>
13306 * tabular.C (docBook): fixed support for long tables.
13308 2002-02-20 Juergen Vigna <jug@sad.it>
13310 * text2.C (getFont): get the drawing font of the Inset if this
13311 paragraph is inside an inset (only important for InsetERT for now).
13313 * buffer.C (insertErtContents): use new lanugage params in ERT
13316 * CutAndPaste.C: commenting out seemingly uneeded code.
13318 2002-02-19 Allan Rae <rae@lyx.org>
13320 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13321 Iterators might be simple to use but they also get invalidated.
13322 (removeAutoInsets): renamed saved cursor tracking variables and added
13323 some comments to clarify what everything does.
13325 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13332 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13333 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13336 * vc-backend.h: remove #include "support/syscall.h"
13340 * converter.C: rearrange #includes in Lars' approved fashion.
13342 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13343 forward declare class Timeout in the header file.
13345 * XFormsView.C: changes due to the above.
13347 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13348 similar to LyXView.
13350 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13351 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13353 2002-02-18 José Matos <jamatos@fep.up.pt>
13355 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13358 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13360 * a lot of small ws changes
13361 * add a lot of using std::XXX
13362 * use std construcs some places where approp.
13363 * use some exisint stuff from lyxfunctional where approp.
13364 * Make file changes to use partial linking (lets test this now...)
13366 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13370 remove #include "support/syscontr.h" as it's redundant. Always has been.
13378 change Systemcalls::System to Systemcalls::Wait and
13379 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13380 No change of functionality, just reflects the stripped down Systemcalls
13383 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13385 * debug.[Ch]: add a GRAPHICS type to the enum.
13387 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13389 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13391 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13394 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13396 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13397 match the changes below.
13399 * text2.C (toggleInset): if there is not editable inset at cursor
13400 position, try to see if cursor is _inside_ a collapsable inset
13403 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13405 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13406 document menu has a nice checkbox
13408 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13410 * lyxlength.C (asLatexString): change PW to output as percent of
13413 * lengthcommon.C: change '%' to 't%'
13415 * lyxfunc.C (dispatch): a few comments from Martin
13417 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13421 * BufferView_pimpl.h:
13422 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13425 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13427 * vspace.C (inPixels): fix compiler warning
13429 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13431 * lyxfunc.C (getStatus): fix status message for disabled commands.
13433 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13435 * BufferView_pimpl.C: fix crash on close buffer
13436 during selection (#227)
13438 2002-01-27 Herbert Voss <voss@lyx.org>
13440 * buffer.C: link old Figure to new graphic inset
13442 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13444 * FontLoader.C (getFontinfo): Change the latex font names in order
13445 to match the names of type1inst.
13447 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13449 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13451 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13452 (extchanged): ditto
13454 (remove_files_with_extension): ditto
13455 (remove_file): ditto
13458 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13459 document is smaller than the work area height. Do not initialize
13460 static variables to 0.
13462 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13464 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13466 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13467 LFUN_LAYOUT_PARAGRAPHS.
13469 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13470 tabular. It is possible to provide a possible cell, which will
13471 typically be the actcell from the corresponding insettabular
13473 * lyxfunc.C (getStatus): small cleanup; disable
13474 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13477 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13479 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13481 * paragraph.C (startTeXParParams):
13482 (endTeXParParams): new methods. The LaTeX code to
13483 start/end paragraph formatting
13484 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13485 empty (fixes bug #200)
13487 * vspace.C (inPixels): adapt to the change below
13488 (inPixels): [later] more cleanups (remove unused variables)
13490 * lyxlength.C (inPixels): change to use a width and a height as
13493 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13495 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13496 Replaced with \paperwidth
13498 * DepTable.C (insert): add std:: qualifier
13500 2002-01-18 Allan Rae <rae@lyx.org>
13502 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13505 * text.C (drawInset): Turned out I didn't know enough about how
13506 rebreaking worked. This fixes most of the redraw problems. I see
13507 an occasional cursor trail when a line is broken now and the cursor
13508 placement can seem out by a few pixels also after a rebreak.
13510 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13512 * buffer.C (parseSingleLyXformat2Token): update because minipage
13513 width is now a LyXLength
13515 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13517 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13520 2002-01-17 Juergen Vigna <jug@sad.it>
13522 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13524 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13525 is set correctly and the inset is updated correctly.
13527 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13529 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13530 the beginning of the loop.
13532 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13534 * lyxrc.C: improve help for use_scalable_fonts
13536 2002-01-17 Allan Rae <rae@lyx.org>
13538 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13540 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13542 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13543 make sure to set their inset_owner to the right value (bug #171)
13545 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13548 * DepTable.C: Implement mtime checking to reduce time spent doing
13551 2002-01-16 Juergen Vigna <jug@sad.it>
13553 * tabular.C (GetAdditionalHeight): one of error fixed.
13555 * lyxrc.C (output): small fix in writing use_pspell.
13557 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13559 * sp_base.h: #include LString.h
13561 2002-01-16 Allan Rae <rae@lyx.org>
13563 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13564 Can someone check this please?
13566 * text.C (drawInset): It was possible that p.row would be removed by
13567 breakAgainOneRow upsetting a few other settings. There may be another
13568 small tweak possible by setting need_break_row = 0 when p.row has been
13569 removed but I don't know enough about the logic here.
13571 2002-01-15 Allan Rae <rae@lyx.org>
13573 * text.C (insertChar): removed conditional truism.
13575 * BufferView2.C (removeAutoInsets): More tweaks.
13576 cur_par_prev could be a stray pointer. Check for trailing empty line
13577 in case last line was cur_par and only had an error inset on it.
13579 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13581 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13584 * vc-backend.C (most methods):
13585 * exporter.C (Export):
13586 * converter.C (convert):
13588 * LyXSendto.C (SendtoApplyCB):
13589 * lyxfunc.C (dispatch):
13593 * lyx_cb.C (AutoSave):
13595 * BufferView_pimpl.C (MenuInsertLyXFile):
13596 * buffer.C (runChktex): use Buffer::filePath().
13598 * buffer.h: rename filename to filename_; rename filepath to
13599 filepath_ and make it private
13600 (filePath): new method
13602 * buffer.C (writeFile): use fileName()
13605 * lyx_main.C (init): fix starting of LyX when the binary is a
13606 link from so,ewhere else.
13608 * minibuffer.C: include <cctype> for isprint
13610 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13612 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13613 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13614 name clash with InsetCollapsable's width function.
13616 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13618 * lastfiles.C: include <iterator>
13620 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13622 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13625 * buffer.C (makeLaTeXFile): ditto.
13626 Also make loop operation more transparent.
13628 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13630 * ToolbarDefaults.C: remove trailing comma closing namespace.
13632 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13634 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13637 * trans.C (Load): comment out unused variable, allowed.
13639 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13641 * minibuffer.[Ch] (append_char): new method to recieve input from the
13642 drop-down completion browser. If a key was pressed, then recieve this
13643 char and append it to the existing string.
13644 (peek_event): modify the positioning data passed to the completion
13645 browser so that it can be placed above the minibuffer rather than below.
13646 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13648 * LyXAction.C (init): alloe error-next for readonly documents.
13650 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13653 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13655 * bufferlist.C (readFile): create the buffer _after_ checking that
13658 * lyxfunc.C (verboseDispatch): fix handling of arguments
13660 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13662 * lyxrc.C: use string::erase() instead of initializing to "".
13665 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13667 * BufferView_pimpl.h:
13668 * BufferView_pimpl.C:
13671 * text2.C: tell X when we have made a selection for copying
13673 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13675 * BufferView_pimpl.C (MenuInsertLyXFile):
13676 * lyxfunc.C (menuNew):
13678 (doImport): add shortcuts to directory buttons
13680 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13683 * lyxfunc.C (setStatusMessage):
13684 (getStatusMessage): new methods
13685 (getStatus):use setStatusMessage instead of setErrorMessage
13686 (dispatch): when function is disabled, set error message here
13687 [instead of in getStatus previously]
13689 * BufferView_pimpl.C (workAreaButtonRelease): update
13690 toolbar/menubar here too.
13692 2002-01-13 Allan Rae <rae@lyx.org>
13694 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13695 Now seems indestructible. Remaining task is to audit all other
13696 code affected by deleteEmptyParagraphMechanism. One small quirk
13697 left is that an empty document with an error in the preamble can
13698 be made to report an error but no error box appears. I don't know
13700 (removeAutoInsets): Improved comments.
13702 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13705 * Thesaurus.C: update for Aiksaurus 0.14
13707 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13709 * text2.C (firstParagraph): removed member function, all uses
13710 replaces with ownerParagraph
13711 (redoParagraphs): here
13712 (updateInset): here
13713 (toggleAppendix): here
13714 * BufferView2.C (insertErrors): here
13715 (setCursorFromRow): here
13717 2002-01-13 Allan Rae <rae@lyx.org>
13719 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13720 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13721 There is still a way to segfault this although you may have to do this
13722 multiple times: Have an InsetERT with an unknown command in it.
13723 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13724 <down-arrow>, <Enter> again, View->DVI, BANG!
13726 * text2.C (setCursor):
13727 (deleteEmptyParagraphMechanism):
13728 * lyxtext.h (setCursor):
13729 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13730 Making use of the return value may help fix other bugs.
13732 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13734 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13736 * LyXView.C (updateMenubar): call MenuBar::update here
13737 (updateToolbar): but not here
13738 (showState): do not update toolbar/menubar
13740 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13741 should need to care about that.
13743 * lyxfunc.C (verboseDispatch): simplify a bit
13744 (getStatus): have a version which takes a pseudoaction, and
13745 another which requires a (kb_action,string).
13747 * LyXAction.C (retrieveActionArg): make it work also when action
13748 is not a pseudo-action.
13749 (getActionName): simplify a bit
13752 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13754 * lyxfunc.C (verboseDispatch): new families of methods with
13755 several ways to specify a command and a bool to indicate whether
13756 the command name and shortcut should be displayed in minibuffer
13757 (eventually, we could extend that to a finer bitmask like
13758 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13759 (dispatch): the pristine dispatch command which just, well,
13760 dispatchs! Note it still sets its result to minibuffer; I'm not
13763 * lyxfunc.h: remove setHintMessage
13765 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13767 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13769 * BufferView_pimpl.C (specialChar): delete new inset if we have
13770 not been able to insert it.
13772 * kbmap.C: revert to using int instead of kb_action, since all we
13773 are dealing with is pseudo-actions.
13775 * LyXAction.C (searchActionArg): change to return int instead of
13776 kb_action, since the result is a pseudoaction.
13778 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13780 * buffer.C (insertErtContents): Fix (partially) the font bug.
13782 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13784 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13785 as the other one is broken on my machine!
13787 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13790 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13792 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13794 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13795 reflect their actual use. Provide compatibility code for older lyxrc
13798 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13800 change names of popup font variables in line with the changes to lyxrc.C
13802 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13804 * buffer.C (asciiParagraph): avoid outputing a word twice after
13807 * lyxrc.C (getDescription): document that document_path and
13808 template_path can be empty.
13810 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13812 * LaTeXFeatures.C (getMacros):
13813 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13815 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13817 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13819 (getPackages): rename feature "floats" to "float". Use an array to
13820 iterate over 'simple' features (i.e. just a \usepackage). Add
13821 handling of "amsmath" (renamed from "amsstyle").
13823 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13825 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13828 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13830 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13831 FuncStaus::FuncStatus & FuncStaus::some_method().
13833 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13835 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13836 of the func_satus stuff. Edited and massaged in various ways by
13839 * lyxfunc.C (getStatus): use FuncStatus
13841 2002-01-08 Juergen Vigna <jug@sad.it>
13843 * text.C (nextBreakPoint): use function Inset::isChar().
13845 * paragraph.C (TeXOnePar): use function
13846 Inset::forceDefaultParagraphs.
13848 * buffer.C (latexParagraphs): use function
13849 Inset::forceDefaultParagraphs.
13851 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13853 * lyx_gui.C (init): set the style of the menu popups to
13854 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13856 2002-01-07 Juergen Vigna <jug@sad.it>
13858 * text.C (setHeightOfRow): small fix
13859 (prepareToPrint): don't look at alignment if we don't have the place
13862 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13864 * box.C: New file. Move the Box methods and functions out of box.h,
13865 following Lars' suggestion.
13867 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13869 * box.h: #include "support/LOstream.h", needed for inlined function.
13872 * lyxtextclasslist.C: added some using std declarations.
13874 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13876 * box.h: make signed dimensions to allow insets wider than
13877 the screen (bug #162)
13879 * BufferView_pimpl.C: add some insetHit debug
13881 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13883 * vc-backend.C: add FIXME
13885 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13887 * lyxfunc.C (getStatus): enable code for showing math font status
13890 2002-01-07 Juergen Vigna <jug@sad.it>
13892 * text.C (nextBreakPoint): removed debug output not needed anymore.
13894 2002-01-06 Juergen Vigna <jug@sad.it>
13896 * text.C (nextBreakPoint): fixed up this function we had this bug
13897 since ever but now hopefully we break row better.
13898 (insertChar): we have to check if an inset is the next char as it
13899 could now happen that a large inset is causing a break.
13901 2002-01-05 Juergen Vigna <jug@sad.it>
13903 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13904 if it doesn't like to be drawed.
13906 2002-01-04 Juergen Vigna <jug@sad.it>
13908 * BufferView2.C (lockInset): forgot to set a cursor.
13910 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13912 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13914 * FormMathsPanel.C:
13917 * form_maths_panel.C:
13918 * form_maths_panel.h:
13919 * form_maths_panel.fd: implemented sub- and super- buttons in math
13922 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13923 (or ^ space) to be used as in TeX (req'd by André).
13925 * lyxfunc.C: Allow ^ and _ again to be used both as
13926 super/subscript (mathed) and as themselves (in text).
13928 2002-01-03 Allan Rae <rae@lyx.org>
13930 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13931 "LyX" or the filename of the current buffer if it has one. This is a
13932 modified form of John Levon's patch.
13934 * XFormsView.C (setWindowTitle): also set icon title.
13936 * LyXView.h (setWindowTitle): signature changed.
13937 * XFormsView.h (setWindowTitle): ditto.
13939 2002-01-02 Juergen Vigna <jug@sad.it>
13941 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13943 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13945 * screen.C (topCursorVisible): introduce a temp var for
13946 text->cursor.row(), handle the case where this row is null. (kindo
13949 * text2.C (setCursor): add a couple of asserts.
13951 * paragraph.h (inset_iterator): add -> operator
13953 * paragraph.[Ch] (autoDeleteInsets): remove member function
13955 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13956 cursor pos correctly and handle inset deletion by itself.
13957 (insertErrors): move iterator declaration out of for expression
13959 * lyxtextclass.C: add <algorithm>
13961 * Makefile.am: added the new files to sources, removed layout.C
13963 * layout.C: removed file
13965 * layout.h: remove LYX_DUMMY_LAYOUT
13967 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13971 * lyxtextclass.[Ch]:
13972 * lyxtextclasslist.[Ch]: new files
13974 * include order changes to a lot of files, also changes because of
13977 2001-12-27 Juergen Vigna <jug@sad.it>
13979 * buffer.C (asciiParagraph): more fixes.
13981 * tabular.C (ascii): make ascii export support export of only the
13982 data separated by a column-delimiter.
13983 (ascii): better support for ascii export.
13985 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13987 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13989 * tabular_funcs.C: use a "using std::getline" instead of the
13990 previous fix from Angus (necessary for cxx + lyxstring)
13992 2001-12-24 Juergen Vigna <jug@sad.it>
13994 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13996 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13997 problems. First check a minipage also if we have some ert-contents
13998 (not only on par->size(), second set the right depth of the paragraph
13999 on the relink to the root-paragraph-list!
14001 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14002 which then did not anymore update the main paragraphs on undo/redo!
14004 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14006 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14007 code. Support all font-changing funcs (even those which are not in
14008 menu currently). Support for reporting font settings in
14009 mathed (disabled until Andre provides a function on mathed's side).
14011 * func_status.h (toggle): small helper function to set toggle
14014 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14016 * tabular_funcs.C: getline -> std::getline
14018 2001-12-21 Juergen Vigna <jug@sad.it>
14020 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14021 accessed and could be 0 (I couldn't generate this but it seems
14024 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14026 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14027 * tabular_funcs.h: here and include iosfwd
14029 2001-12-20 Juergen Vigna <jug@sad.it>
14031 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14032 inside inset but undo_par was.
14034 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14036 * Thesaurus.C: always include <config.h> in sources.
14040 * box.h: do not include <config.h> in header files
14042 * text.C (paintLastRow): remove unused variable
14044 * text.C (transformChar):
14046 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14048 * Painter.C (text):
14049 * font.C (width): rewrite to use uppercase() instead of
14052 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14054 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14056 * lyxfind.C: clean up of find failure position change
14058 2001-12-20 Juergen Vigna <jug@sad.it>
14060 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14062 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14063 (TeXRow): added to LaTeX a single tabular row.
14064 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14065 (Latex): simplified and finally good LT-h/f support.
14066 (various_functions): just small adaptions for LT-h/f support.
14068 * tabular_funcs.[hC]: added and moved here all not classfunctions
14071 2001-12-19 Juergen Vigna <jug@sad.it>
14073 * tabular.[Ch]: better support for longtabular options (not finished
14076 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14078 * text.C (paintLastRow): use the label font instead of the font of
14079 the last character to compute the size of *_BOX. This makes more
14080 sense and avoids a crash with empty paragraphs.
14081 Use Painter::rectangle to draw EMPTY_BOX.
14083 2001-12-19 Juergen Vigna <jug@sad.it>
14085 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14086 the paragraphs if the replaced paragraph is not the first one!
14087 Tried to delete not used paragraphs but does not work yet so for
14088 now it's inside #ifdef's and by default off!
14090 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14092 * MenuBackend.C: include "lyx_main.h" instead of declaring
14093 lastfiles (actually was declared as LastFiles* instead of a
14096 2001-12-17 Juergen Vigna <jug@sad.it>
14098 * tabular.C (AppendColumn): applied John's fix
14100 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14104 * BufferView_pimpl.h:
14105 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14108 * box.h: new start of class for above
14110 * lyxfunc.C: ignore space-only minibuffer dispatches.
14111 Show the command name when it doesn't exist
14113 * minibuffer.C: don't add empty lines to the history
14115 * minibuffer.C: add a space on dropdown completion
14117 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14119 * text.C: fix line above/below drawing in insets
14121 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14123 * lyxlength.C (LyXLength): Initialize private variables.
14125 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14127 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14128 when inserting error insets.
14130 2001-12-13 Juergen Vigna <jug@sad.it>
14132 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14133 actually sometimes the before-paragraph.
14134 (setUndo): don't clear the redostack if we're not actually undoing!
14136 2001-12-06 Juergen Vigna <jug@sad.it>
14138 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14139 and fixed redoing of main paragraph, so we can use it now ;)
14141 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14143 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14145 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14148 2001-12-13 André Pönitz <poenitz@gmx.net>
14151 * undo_func.C: minor cleanup
14153 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14155 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14156 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14157 font in urw-fonts package which is marked as -urw-fontspecific and
14158 does not work (incidentally, changing the encoding in the
14159 fonts.dir of this package to -adobe-fontspecific fixes the
14162 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14163 is a crash when undoing first paragraph (Juergen, please take a
14164 look). THis does not mean the undo fix is wrong, just that it
14167 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14168 the (Paragraph*) version when needed instead of duplicating the
14171 * text.C (workWidth): use Inset::parOwner to find out where the
14172 inset has been inserted. This is a huge performance gain for large
14173 documents with lots of insets. If Inset::parOwner is not set, fall
14174 back on the brute force method
14176 * paragraph_pimpl.C (insertInset):
14177 * paragraph.C (Paragraph):
14178 (cutIntoMinibuffer): set parOwner of insets when
14179 inserting/removing them
14181 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14183 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14189 * mathed/formulabase.C:
14190 * mathed/math_cursor.[Ch]:
14191 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14194 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14196 * lyxlength.[Ch] (operator!=): new function
14198 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14200 * text.C (workWidth): use Inset::parOwner to find out where the
14201 inset has been inserted. This is a huge performance gain for large
14202 documents with lots of insets. If Inset::parOwner is not set, fall
14203 back on the brute force method
14205 * paragraph_pimpl.C (insertInset):
14206 * paragraph.C (Paragraph):
14207 (cutIntoMinibuffer): set parOwner of insets when
14208 inserting/removing them
14210 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14212 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14214 * tabular-old.C (getTokenValue):
14215 * tabular.C (getTokenValue):
14216 (write_attribute): new versions for LyXLength
14217 (everywhere): adjust the use of widths
14219 * tabular.h: change the type of widths from string to LyXLength
14221 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14223 * paragraph.C: fixed missing line number count when exporting
14224 Environments to LaTeX file
14226 * buffer.C: added informational message for checking line numbers.
14228 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14230 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14231 paragraph, do the 'double space' part, but not the 'empty
14234 * text.C (workWidth): small optimization
14235 (getLengthMarkerHeight): use minimal size for negative lengths.
14237 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14239 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14241 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14243 2001-12-11 André Pönitz <poenitz@gmx.net>
14246 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14248 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14250 * text2.C: keep selection on a setFont()
14252 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14254 * lyx_cb.C: another bv->text misuse, from insert label
14256 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14259 * kbsequence.C: re-instate nmodifier mask
14261 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14263 * lyx_main.h: make lyxGUI private.
14265 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14267 * lyxfind.C: place the cursor correctly on failed search
14269 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14271 * text.C (getLengthMarkerHeight): for small heights, the arrows
14272 are not always on top/bottom of the text
14273 (drawLengthMarker): smaller arrows; take the left margin in
14274 account; draw also vfills.
14276 (paintLastRow): remove special code for vfill and standard spaces,
14277 since everything is handled in drawLengthMarker now.
14279 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14281 * buffer.C (insertErtContents): try to handle font and language
14282 interaction a bit better.g
14284 * ColorHandler.C (updateColor): change the hash to cover the whole
14285 LColor enum, ws cleanup
14286 (getGCLinepars): ditto
14287 (getGCLinepars): only lookup in the linecache once.
14289 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14291 * iterators.C (operator++): Make the iterator more robust
14293 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14295 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14297 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14300 * text.C: better added space drawing
14302 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14305 * BufferView2.C: fix layout combo update on inset unlock
14307 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14309 * Makefile.am: don't compile unused files
14311 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14315 * LyXAction.C: remove old LFUN_LAYOUTNO
14317 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14319 * paragraph_pimpl.h:
14320 * paragraph_pimpl.C: isTextAt() doesn't need font param
14322 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14325 * lyxlex.C: little cleanup
14327 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14329 * BufferView_pimpl.C: fix insertAscii for insets
14331 2001-12-05 Juergen Vigna <jug@sad.it>
14333 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14334 set the right font on the "multi" paragraph paste!
14336 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14342 * lyxlength.C: remove out-commented code.
14344 * BufferView_pimpl:
14358 * vc-backend.C: change "while(" to "while ("
14360 * lyxlength.[Ch]: add zero function to check if length is zero or
14362 * lyxgluelength.C: use it
14364 2001-12-05 Allan Rae <rae@lyx.org>
14366 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14367 Works for 2.95.3, from what I understand of Garst's reports this should
14368 work for other g++ versions. We're screwed if the abs(int) definition
14369 changed between bugfix releases of gcc.
14371 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14373 * text.C: fix chapter label offset !
14375 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14378 * text.C: fix hfill at end of line, clean up
14380 2001-12-04 Juergen Vigna <jug@sad.it>
14382 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14383 that we force an update of the inset and it's owners if neccessary.
14385 2001-12-03 Juergen Vigna <jug@sad.it>
14387 * text.C (rowLast): simplified code
14389 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14391 * lyxfunc.C: fix show options on timeout
14393 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14395 * screen.C (topCursorVisible): scroll half a page when the cursor
14396 reached top of bottom of screen
14398 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14400 * minibuffer.C: deactivate on loss of focus
14402 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14404 * vspace.[Ch] (operator!=): add operator.
14406 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14408 * BufferView_pimpl.C: refuse to open an inset when
14409 there's a selection.
14411 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14413 * BufferView_pimpl.C: allow to click on RHS of full row insets
14415 2001-11-30 Juergen Vigna <jug@sad.it>
14417 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14418 insets for undo reasons.
14420 2001-11-28 André Pönitz <poenitz@gmx.net>
14422 * vspace.[Ch]: cosmetical changes
14424 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14434 * kbsequence.C: part re-write of old kb code
14437 * WorkArea.C: remove Lgb_bug_find_hack
14439 2001-11-30 José Matos <jamatos@fep.up.pt>
14441 * buffer.C (makeDocBookFile): add a comment to point a hack.
14442 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14443 Fixed a double write of labels.
14445 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14448 * LaTeX.h Fixed bug in LaTeX class where it would not
14449 re-run latex if no depfiles were changed, but the .dvi was removed.
14451 2001-11-28 André Pönitz <poenitz@gmx.net>
14453 * all the files from the change on 2001/11/26:
14454 use lyx::layout_type instead of LyXTextClass::size_type
14455 use lyx::textclass_type instead of LyXTextClassList::size_type
14457 2001-11-29 Juergen Vigna <jug@sad.it>
14459 * text.C: added support for paragraph::isFreeSpacing()
14461 * buffer.C: same as above
14463 * paragraph.h: inserted isFreeSpacing() function to enable
14464 FreeSpacing inside InsetERT.
14466 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14467 of the paragraph's in the cut/copy buffer to 0!
14469 * text2.C (removeRow): remove the assert as it can!
14471 * lyxtext.h: added helper function firstRow returning firstrow and
14472 made firstrow private again.
14474 * BufferView2.C (lockInset): don't relock if we're already locked!
14476 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14477 the only paragraph.
14478 (removeRow): added Assert::(firstrow)
14480 * debug.C: forgot to add INSETTEXT here.
14482 2001-11-28 Juergen Vigna <jug@sad.it>
14484 * sp_spell.C (initialize): changed error text to more general
14485 spellchecker command use (not only ispell!)
14487 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14489 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14491 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14493 * vspace.C: initialise lyxgluelength on failure
14495 2001-11-28 Allan Rae <rae@lyx.org>
14497 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14498 declaration & definition that looks like a function declaration.
14500 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14502 * BufferView2.C (copy):
14503 (copyEnvironment): do not clear the selection when doing a copy.
14505 * text.C (paintFirstRow): compilation fix
14507 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14509 * tabular.C (Latex): correct line count when writing latex.
14511 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14513 * paragraph_pimpl.h:
14514 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14517 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14521 * LColor.C: change vfillline->added_space
14523 * text.C: add markers and text for added space
14525 * vspace.C: fix comment
14527 2001-11-28 André Pönitz <poenitz@gmx.net>
14529 * paragraph.C: whitespace changes
14530 * all the other files from the change on 2001/11/26:
14531 change *::pos_type into lyx::pos_type
14533 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14535 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14536 language of the document when inserting error insets.
14538 2001-11-26 André Pönitz <poenitz@gmx.net>
14540 * BufferView_pimpl.[Ch]:
14548 * paragraph_pimpl.[Ch]:
14551 * text2.C: reduce header dependencies, introduce type for positions
14553 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14555 * <various>: change to use Alert.h
14557 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14559 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14560 when encountering an unknown token.
14561 (readLyXformat2): Show an error message if there were unknown tokens.
14563 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14566 * BufferView_pimpl.C:
14570 * text2.C: use par->isInset()
14572 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14574 * paragraph_pimpl.h:
14575 * paragraph_pimpl.C: cleanup
14577 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14579 * text2.C (removeRow):
14580 * text.C (setHeightOfRow): remove useless (and costly) call to
14583 2001-11-20 Allan Rae <rae@lyx.org>
14585 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14586 Now need Inset*::checkInsertChar() to return true for appropriate
14587 cases so that the characters in the minibuffer will actually be
14590 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14592 * text.C: change the order of the includes.
14593 (workWidth): initialize it at once.
14594 (workWidth): make maxw unsigned
14595 (setHeightOfRow): remove unused variable (inset)
14596 (selectSelectedWord): remove unused variable (inset)
14597 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14599 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14601 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14602 server is not running.
14604 (closeConnection): add debug info when server is disabled.
14606 * ColorHandler.C (getGCForeground): send debug message to GUI
14609 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14611 * kbmap.C (bind): modify because return conventions of
14612 kb_sequence::parse have changed.
14614 * kbsequence.C (parse): only ignore spaces and not any stupid
14615 control character. This avoids tests like s[i] <= ' ', which are
14616 guaranteed to fail with 8bit characters and signed chars.
14617 Change return code to string::npos when there have been no error
14618 (0 was a bad idea when error is at first character)
14620 2001-11-14 José Matos <jamatos@fep.up.pt>
14623 * buffer.C (simpleDocBookOnePar): removed unused argument.
14625 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14627 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14628 insets which are part of a word. Paragraph::isLetter takes care of
14629 that now. Use Paragraph::isInset to identify insets.
14630 (selectSelectedWord): do not test for hyphenation break.
14632 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14633 that protected spaces are considered as spaces.
14635 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14638 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14641 * lyxserver.C: fix it. and small cleanup.
14643 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14645 * BufferView_pimpl.C: use inline helpers
14648 * LaTeXFeatures.C: fix typos
14651 * Spacing.C: move spacing_string into class
14653 * ToolbarDefaults.C: move stuff into namespace anon
14655 * layout.h: update enum
14657 * lyxfunc.C: use better debug
14659 * minibuffer.h: fix typo
14663 * WorkArea.C: add and use Debug::WORKAREA
14667 * text2.C: code re-organisation, inline helpers
14669 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14671 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14672 std::vector.empty().
14674 2001-11-09 Allan Rae <rae@lyx.org>
14676 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14677 '\n's after tables. Tabular and ERT inset work now makes this no
14680 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14683 * minibuffer.C: fix crash, improve drop-down completion
14685 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14688 * lyxserver.C: invalidate fd's when doing endPipe()
14690 2001-11-08 José Matos <jamatos@fep.up.pt>
14692 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14693 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14696 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14698 2001-11-07 José Matos <jamatos@fep.up.pt>
14701 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14704 * buffer.C (sgmlOpenTag):
14705 * buffer.C (sgmlCloseTag): removed debug info.
14707 * buffer.h (sgmlOpenTag):
14708 * buffer.h (sgmlCloseTag): made public.
14710 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14712 * buffer.C (saveParamsAsDefaults):
14713 * lyx_cb.C (MenuLayoutSave): remove
14715 * LyXAction.C (init):
14717 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14719 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14721 * buffer.C (setPaperStuff): removed from here...
14723 * bufferparams.C (setPaperStuff): ... and moved there.
14725 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14729 * XFormsView.C: add support for drop-down completion
14731 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14733 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14736 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14738 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14741 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14743 * lyx_main.C: change ref to known bugs
14745 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14747 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14748 to work around older babel problems.
14750 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14752 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14754 2001-10-24 Juergen Vigna <jug@sad.it>
14756 * tabular-old.C (ReadOld): below variable changes reflected.
14758 * tabular.[Ch]: added ltType struct for longtable header/footer
14759 defines and changed all instances where they are used. Added
14760 future support for double top/bottom rows.
14762 2001-10-24 José Matos <jamatos@fep.up.pt>
14764 * buffer.h (docbookHandleCaption):
14765 * buffer.C (docbookHandleCaption): removed unused function.
14766 (makeDocBookFile): moved docbook supported version to v4.1.
14768 2001-10-24 José Matos <jamatos@fep.up.pt>
14771 * tabular.C (docbookRow): new function to export docbook code of a row.
14772 (DocBook): now honors the longtable flags.
14774 2001-10-23 José Matos <jamatos@fep.up.pt>
14777 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14778 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14780 * buffer.C (makeLinuxDocFile):
14781 (makeDocBookFile): reworked the preamble, more clean, and with
14782 support for lyx defined entities. Changed the document declaration
14783 to be more XML friendly.
14785 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14786 if we need to output XML that should be done with a filter.
14788 2001-10-22 Juergen Vigna <jug@sad.it>
14790 * sp_pspell.h (class PSpell): add alive function needed in the
14791 controller to see if the spellchecker could be started.
14793 2001-10-22 Juergen Vigna <jug@sad.it>
14795 * buffer.C (insertStringAsLines): modify the font for inserting
14796 chars in certain conditions by calling checkInsertChar(font).
14798 2001-10-19 Juergen Vigna <jug@sad.it>
14800 * text.C (workWidth): use getRow instead of wrong algorithm.
14801 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14803 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14808 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14810 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14812 * text.C (workWidth): do not search for the exact row when
14813 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14814 optimization for big documents.
14816 2001-10-18 Juergen Vigna <jug@sad.it>
14818 * text.C (workWidth): new function with added Inset * parameter.
14820 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14822 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14824 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14825 change return type of getColumnNearX.
14828 * text.C (changeRegionCase): use uppercase/lowercase instead of
14831 (rightMargin): simplify code by factoring out the uses of
14836 (appendParagraph): use Paragraph::size_type
14838 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14840 * vspace.C (asLatexString): add a missing break
14842 2001-10-15 Herbert Voss <voss@perce.de>
14844 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14846 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14848 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14851 2001-10-10 André Pönitz <poenitz@gmx.net>
14853 * lyxfunc.C: removed greek_kb_flag.
14855 2001-10-10 Herbert Voss <voss@perce.de>
14857 * lyx_main.C: delete global string help_lyxdir.
14859 2001-10-09 Herbert Voss <voss@perce.de>
14861 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14863 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14865 * lyx_main.C: added global string help_lyxdir.
14867 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14869 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14871 * lyxrc.C (set_font_norm_type): support iso8859-4
14873 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14875 * LaTeX.C (deplog): add another regex for MikTeX
14877 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14879 * lyxrc.C (set_font_norm_type): support iso8859-3
14881 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14883 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14885 * LaTeXFeatures.C: remove special case of french and index
14887 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14888 before \begin{document}). This solves several incompatibilities.
14890 2001-10-03 Garst Reese <reese@isn.net>
14892 * lyx_cb.C: change CheckTex error msg.
14894 2001-10-03 José Matos <jamatos@fep.up.pt>
14896 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14898 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14900 * .cvsignore: update
14902 * lyx_main.C (commandLineVersionInfo): use new style version info.
14904 * buffer.C (writeFile):
14906 (makeLinuxDocFile):
14907 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14909 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14911 * version.h: update to use stuff in version.C
14913 * version.C.in: new file. Contains version information determined
14914 at compile time. This is a merging of version.h and
14917 2001-10-03 Juergen Vigna <jug@sad.it>
14919 * BufferView_pimpl.C (update): don't change "dirty" status in
14922 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14924 * WorkArea.C (c-tor): re-position version string slightly.
14926 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14928 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14929 revert to previous code.
14931 WorkArea.[Ch]: (show, destroySplash): methods removed.
14933 WorkArea.C: rework code so that it's an amalgam of the codes before and
14934 after the splash screen was moved to WorkArea.
14936 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14939 * vspace.C (inPixels):
14942 * buffer.C (insertStringAsLines):
14943 (asciiParagraph): fix types to be large enough
14945 * lyxlex_pimpl.h: change member status from short to int
14947 * layout.h: fix type of endlabeltype
14950 * kbsequence.C (parse): change return type to string::size_type
14952 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14955 * Bullet.C (bulletSize):
14956 (bulletEntry): do not use short ints as parameters
14958 * BufferView2.C (insertLyXFile): change a char to an int.
14960 * WorkArea.C (WorkArea): remove unneeded floats in computation
14962 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14964 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14966 * paragraph.C (asString): Do not ignore newline/hfill chars when
14967 copying to the clipboard.
14969 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14971 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14972 after a multi-line inset.
14974 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14976 * paragraph.C (validate): Set NeedLyXFootnoteCode
14978 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14980 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14981 and decrease-error to decrease.
14983 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14985 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14986 it more readable (should be equivalent)
14988 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14990 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14992 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14994 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14995 of a cursor (row, etc.) after a character has been deleted
14996 (deleteEmptyParagraphMechanism): call the method above on _all_
14997 cursors held by the LyXText when a double space has been
15000 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15002 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15004 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15006 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15007 background. Use greyOut() and the new show() methods to toggle between
15008 the foreground and background. Add code to remove the splash after
15009 its initial showing.
15011 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15012 (create_forms): no longer call Dialogs::showSplash.
15014 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15016 * .cvsignore: add version_info.h
15018 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15020 * version_info.h.in: new file
15022 * Makefile.am: add version_info.h.in
15024 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15025 version_info.h instead of VERSION_INFO
15027 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15029 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15030 The ERT inset now returns string().
15032 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15034 * lyxtext.h, text.C (selectNextWord): renamed as
15035 selectNextWordToSpellcheck.
15037 * text.C (selectNextWordToSpellcheck): Modified to not select
15038 words inside an ERT inset.
15040 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15042 * lyx_cb.C (MenuLayoutSave): change a bit the question
15044 * sp_base.h: include <sys/types.h>
15046 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15048 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15050 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15052 * several files: fix typos in user-visible strings
15054 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15056 * text2.C (pasteSelection): do not set the selection, since it
15057 will be cleared later. Actually, the intent was to fix the way the
15058 selection was set, but I figured rmoving the code was just as good.
15060 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15062 * FontLoader.C (available): Check if font is available without
15065 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15067 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15069 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15071 * lyxrc.[Ch]: added display_graphics variable and associated code.
15073 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15075 * bufferparams.C (hasClassDefaults): new method. Returns true if
15076 the buffer parameters correspond to known class defaults
15078 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15080 * XFormsView.C (show): set minimum size to the main window.
15082 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15084 * text2.C (copySelection):
15086 * lyxfind.C (LyXReplace):
15087 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15088 LyXText::selectionAsString.
15090 * paragraph.C (asString): add "label" argument to the second form
15092 * text2.C (selectionAsString): add "label" argument and pass it to
15093 Paragraph::asString.
15095 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15097 * lyx_main.C (commandLineHelp): remove version information
15099 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15101 * lyx_main.C: add -version commandline option
15103 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15105 * paragraph.h: make the optional constructor arg required instead.
15106 some modifications to other files because of this.
15108 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15110 * lyxserver.C (C_LyXComm_callback): make it static
15112 * lyx_main.C (error_handler): make it static
15114 * lyx_gui.C (LyX_XErrHandler): make it static
15116 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15118 * WorkArea.C: make the extern "C" methods static.
15120 * Makefile.am (lyx_LDADD): simplify
15122 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15124 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15125 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15127 * LyXAction.C (init):
15128 * lyxfunc.C (dispatch): associated code removal.
15130 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15132 * lyxfont.h (isSymbolFont): shut off warning
15134 * text.C (setHeightOfRow):
15135 (getVisibleRow): fix crash with empty paragraphs which have a
15138 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15140 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15143 2001-09-04 José Matos <jamatos@fep.up.pt>
15146 * tabular.C (docbook): rename docBook method to docbook.
15148 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15150 * Makefile.am: add dependencies to main.o.
15152 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15154 * FontLoader.C (available): Return false if !lyxrc.use_gui
15156 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15158 * FontInfo.C (query):
15159 * converter.C (view):
15160 * importer.C (Import):
15161 * exporter.C (Export): Can not -> cannot.
15163 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15165 * BufferView_pimpl.C: allow to create index inset even if
15168 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15170 * buffer.C (getLists): replace boost::tie code with an explicit pair
15171 as boost::tie can break some compilers.
15173 * iterators.h: Added a std:: declaration to the return type of
15176 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15178 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15181 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15183 * iterators.[Ch]: New files. Provide paragraph iterators.
15185 * buffer.C (changeLanguage): Use paragraph iterators.
15186 (isMultiLingual): ditto
15188 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15190 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15192 * FontLoader.C: Support for cmr font.
15194 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15196 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15197 (available): New method.
15199 * FontInfo.C (getFontname): Use scalable fonts even when
15200 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15203 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15205 * converter.C (Formats::view): reverted! Incorrect fix.
15207 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15209 * converter.C (Formats::view): only output the -paper option
15210 if the dvi viewer is xdvi, thereby fixing bug #233429.
15212 2001-08-23 Herbert Voss <voss@perce>
15214 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15216 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15218 * Spacing.h (Spacing): Set space to Default on in the default
15221 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15223 * vc-backend.h (RCS::versionString): add RCS to version
15224 (CVS::versionString): add CVS to version
15226 * vc-backend.C (scanMaster): do not add CVS to version.
15227 (scanMaster): do not add RCS to version
15229 * lyxvc.C (versionString): new method
15231 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15233 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15235 * Spacing.C (set): initialize fval
15237 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15239 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15242 2001-08-16 Juergen Vigna <jug@sad.it>
15244 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15246 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15248 * BufferView_pimpl.C:
15251 * text2.C: setParagraph takes linespacing now
15253 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15255 * LyxAction.C: add internal LFUN_CITATION_INSERT
15257 * LyXView.C: actually apply fix
15259 * bufferlist.C: fix open non-existent file
15261 * lyxfind.C: fix indentation
15263 * lyxfunc.C: remove unneeded assert, fix typo
15265 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15267 * MenuBackend.C: use "Floatname List"
15269 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15271 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15272 when converting LaTeX layout to insetERT.
15273 Generate a non-collapsed float when reading old float
15275 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15277 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15280 2001-08-13 Juergen Vigna <jug@sad.it>
15282 * text.C (fill): return 0 instead of 20 as this seems to be the more
15285 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15287 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15290 2001-08-13 Juergen Vigna <jug@sad.it>
15292 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15294 (SearchBackward): comment out the unlocking of the inset_owner this
15295 should not be needed!
15297 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15299 * Many files: Remove inherit_language, and add latex_language
15301 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15302 collapsible insets.
15304 2001-08-10 Juergen Vigna <jug@sad.it>
15306 * text.C (prepareToPrint): fixed hfill-width in draw!
15308 * BufferView2.C (selectLastWord): save the selection cursor as this
15309 now is cleared in the function LyXText::clearSelection!
15311 2001-08-08 Juergen Vigna <jug@sad.it>
15313 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15314 BACKSPACE type functions.
15316 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15317 is only cutted from the document but not put in the cut-buffer, where
15318 still the old stuff should be.
15320 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15322 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15324 * tabular.C (SetWidthOfCell): fixed special case where the width
15326 (LeftLine): handle '|' in align_special.
15328 (LeftAlreadyDrawed): ditto
15329 (SetWidthOfCell): ditto
15331 2001-08-07 Juergen Vigna <jug@sad.it>
15333 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15335 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15337 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15338 * lyxlex.[hC]: ditto
15340 2001-08-06 Juergen Vigna <jug@sad.it>
15342 * text.C (getVisibleRow): fix up row clearing a bit.
15344 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15346 * minibuffer.C: make sure the X server sees the changes in the input.
15348 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15350 * paragraph.C (getFont): split into...
15351 (getLabelFont): this
15352 (getLayoutFont): and this
15353 * paragraph_pimpl.C (realizeFont): calling this
15355 * text2.C (getFont): split into...
15356 (getLayoutFont): this
15357 (getLabelFont): and this
15358 (realizeFont): all three calling this
15360 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15363 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15365 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15367 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15369 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15370 layouts from the Quote inset insertion.
15372 2001-08-03 Juergen Vigna <jug@sad.it>
15374 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15376 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15377 only if status not is already CHANGED_IN_DRAW (second level).
15379 * text.C (draw): don't set the need_break_row when inside an
15382 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15384 * buffer.C (parseSingleLyXformat2Token): handle more latex
15387 * bufferview_funcs.[hC]: change function names to
15388 begin with small char, adjust other files.
15390 2001-08-02 André Pönitz <poenitz@gmx.net>
15393 BufferView_pimpl.C: remove broken special code for math-greek
15395 2001-08-02 Juergen Vigna <jug@sad.it>
15397 * BufferView_pimpl.C (update): redone this function so that we
15398 update the text again if there was a CHANGE_IN_DRAW.
15400 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15401 (drawFromTo): added a new internal bool which is used by draw() and
15403 (general): some cursor drawing problems fixed.
15405 2001-08-01 Juergen Vigna <jug@sad.it>
15407 * lyxfind.C (LyXFind): fixed
15408 (SearchForward): ditto
15409 (SearchBackward): ditto
15411 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15412 spurius drawing of the cursor in the main area.
15414 * text2.C (status): small fix which could lead to a segfault!
15415 (clearSelection): remove unneeded BufferView param.
15417 2001-08-01 André Pönitz <poenitz@gmx.net>
15419 * lyxfunc.C: small change due to changed mathed interface
15421 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15423 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15425 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15427 * lyxfunc.c: fail gracefully if file doesn't exist
15432 * BufferView_pimpl.C: IsDirWriteable() proto changed
15434 * LyXView.C: fix updateWindowTitle() to store the last title
15436 2001-07-31 Juergen Vigna <jug@sad.it>
15438 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15439 the font (wrong since using of Paragraph::highestFontInRange).
15441 * paragraph.C (highestFontInRange): added a default_size parameter.
15443 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15444 (setHeightOfRow): reformat
15446 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15448 * converter.[hC] + affected files: move to (inital-char)lowercase
15451 * ParagraphParameters.C (ParagraphParameters): remove commented code
15453 * PainterBase.[Ch]: remove commented code
15455 * LaTeXFeatures.h: add "bool floats" for float.sty
15457 * LaTeXFeatures.C (LaTeXFeatures): init floats
15458 (require): handle float
15459 (getPackages): do it with floats
15461 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15463 * BufferView_pimpl.C (Dispatch): improve handling of
15464 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15466 * commandtags.h: #include lyxfont.h here temporarily to avoid
15469 * bufferlist.h: include LString.h here.
15471 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15473 * text2.C (getStringToIndex): new method.
15475 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15477 * *: Reduced header file dependencies all over.
15479 2001-07-30 Baruch Even <baruch@lyx.org>
15481 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15483 2001-07-29 Baruch Even <baruch@lyx.org>
15485 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15487 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15489 * ParameterStruct.h (endif): add a default constructor to make
15490 sure that all variables is initialized.
15492 * ParagraphParameters.C (ParagraphParameters): adjust
15494 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15496 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15497 index; also, check that there is something to index, and that it
15498 does not span over several paragraphs.
15499 (doubleClick): use WHOLE_WORD_STRICT for double click.
15501 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15503 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15506 2001-07-26 Baruch Even <baruch@lyx.org>
15508 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15509 an InsetFig figure, backwards compatible reading of old figure code.
15511 2001-07-27 Juergen Vigna <jug@sad.it>
15513 * text2.C: font.realize function adaption.
15515 * text.C (draw): add a warnings lyxerr text if needed.
15517 * layout.C: font.realize function adaption.
15519 * language.C: add inherit_language and implement it's handlings
15521 * bufferview_funcs.C (StyleReset): remove language parameter from
15522 font creation (should be language_inherit now).
15524 * bufferparams.C (writeFile): handle ignore_language.
15526 * paragraph.C (getFontSettings): the language has to be resolved
15527 otherwise we have problems in LyXFont!
15529 * lyxfont.C (lyxWriteChanges): added document_language parameter
15530 (update): removed unneeded language parameter
15532 * paragraph.C (validate): fixed wrong output of color-package when
15533 using interface colors for certain fonts in certain environments,
15534 which should not seen as that on the final output.
15536 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15538 * BufferView_pimpl.C:
15543 * LyXAction.C: add thesaurus support
15546 * lyxfind.C: add "once" parameter, for thesaurus, to not
15547 move to the next match
15549 2001-07-26 Juergen Vigna <jug@sad.it>
15551 * lyxfont.C (realize): honor ignore_language too!
15554 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15556 * text.C (draw): one place more for ignore_language to not draw
15559 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15561 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15563 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15565 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15566 the minipage conversion problem.
15568 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15570 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15573 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15575 * BufferView.h: don't forward declare WorkArea
15577 * BufferView.C: don't include WorkArea.h
15579 2001-07-25 André Pönitz <poenitz@gmx.net>
15583 * lyxfunc.C: new LFUN 'math-space'
15585 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15587 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15589 * text2.C (toggleInset): call open/close
15591 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15593 * lyxfunc.C (dispatch): add debug for the disabled case
15595 * font.C (buttonText): make similar to rectText
15597 * buffer.C (readInset): comment out parsing of insetlist and
15600 * PainterBase.C (rectText): small correction
15602 * BufferView_pimpl.C: comment out insettheorem and insetlist
15603 * LyXAction.C: ditto
15604 * commandtags.h: ditto
15606 2001-07-24 Juergen Vigna <jug@sad.it>
15608 * text.C (draw): honor the ignore_language.
15610 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15612 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15614 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15617 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15619 * lyxtext.h: remove unused (and unimplemented) methods
15621 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15623 * text.C (getVisibleRow): honor background color
15626 * Painter.h: remove default color argument for fillRectangle
15628 * text.C (backgroundColor): new method
15630 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15632 * text.C (getVisibleRow): adjust
15634 * font.[Ch] (rectText): new method, metrics
15635 (buttonText): new method, metrics
15637 * PainterBase.[hC]: make rectText and buttonText always draw and take
15640 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15642 * ToolbarDefaults.C (read):
15643 * MenuBackend.C (read): allow escaping in all strings
15645 * BufferView_pimpl.C (insertAndEditInset): new method.
15646 (Dispatch): use insertAndEditInset whenever appropriate.
15648 * BufferView_pimpl.C (insertNote): removed
15650 * BufferView_pimpl.C (smartQuote): new method, moved from
15651 BufferView; if an insetquote cannot be inserted, insert a '"'
15654 * BufferView2.C: remove insertCorrectQuote();
15656 * lyxfunc.C (getStatus): Add support for all remaingin
15657 inset-insert lfuns.
15659 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15661 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15662 command (necessary to pass " as parameter of self-insert.
15664 * text.C (selectWordWhenUnderCursor):
15665 (selectWord): add word_location parameter
15666 (selectWordWhenUnderCursor): same + remove special code for word
15668 (selectNextWord): use kind() to guess type of insetspecialchar,
15671 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15672 (insertErtContents): create ert insets as collapsed.
15673 (readInset): better compatibility code for Info inset.
15675 2001-07-20 Juergen Vigna <jug@sad.it>
15677 * lyxfunc.C (dispatch): use always LyXFind now!
15679 * text2.C (init): add a reinit flag so that the LyXText can be
15680 reinited instead of deleted and reallocated (used in InsetText).
15682 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15688 2001-07-18 Juergen Vigna <jug@sad.it>
15690 * text.C (selectNextWord): handle insets inside inset by calling
15691 always the bv->text functions so that we can go up the_locking_inset!
15693 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15694 in strange locations when inside an inset!
15696 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15697 handling to include insets.
15699 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15701 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15703 * LyXAction.C (init):
15705 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15706 LIGATURE_BREAK, since the name is so stupid.
15708 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15710 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15713 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15715 * sp_form.[Ch]: remove.
15717 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15719 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15722 * src/buffer.C (readInset): ditto.
15724 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15726 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15727 menuSeparator(), endOfSentenceDot(), ldots() and
15728 hyphenationPoint(), which are therefore removed.
15729 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15731 * LyXAction.C (init):
15732 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15734 * paragraph.C (getWord): removed.
15736 * BufferView_pimpl.C (Dispatch): use last word or selection for
15737 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15739 * lyx_main.C (queryUserLyXDir): do not ask before creating
15740 user_dir, except if it has been named explicitely.
15742 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15744 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15745 a document of zero size.
15747 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15749 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15750 approriately in the c-tor and in require().
15751 (getPackages): output the appropriate LaTeX for natbib support.
15753 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15754 variables "use_natbib" and "use_numerical_citations" when reading the
15756 (readInset): read the various natbib cite commands.
15757 (validate): white-space change.
15759 * bufferparams.[Ch]: new variables "bool use_natbib" and
15760 "bool use_numerical_citations".
15761 (writeFile): output them in the LyX file.
15763 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15765 * lyxfunc.C (getStatus): add support for all the inset insertion
15768 * text2.C (insertInset):
15769 * paragraph.C (insetAllowed):
15770 * BufferView_pimpl.C (insertInset): update to take in account the
15771 renaming of insertInsetAllowed
15773 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15775 * text2.C (getInset): new method. returns inset at cursor position.
15777 * BufferView_pimpl.C (Dispatch): changes because of this.
15779 * LyXAction.C (init): rename open-stuff to inset-toggle.
15781 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15783 * text2.C (toggleInset): renamed from openStuff; use
15786 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15788 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15790 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15792 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15794 * buffer.C (readLyXformat2): Add filename to the error dialog
15796 2001-07-18 Juergen Vigna <jug@sad.it>
15798 * tabular.C (GetCellNumber): put an assert here instead of the check!
15800 2001-07-17 Juergen Vigna <jug@sad.it>
15802 * BufferView_pimpl.C (toggleSelection): adapted too.
15804 * text.C (selectNextWord): adapted for use with insets.
15805 (selectSelectedWord): ditto
15807 2001-07-17 Juergen Vigna <jug@sad.it>
15809 * sp_spell.C (PSpell): fix initialitation order.
15811 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15813 * paragraph.C: spacing
15815 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15817 * sp_spell.C: repair language selection for pspell
15819 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15821 * lyxfunc.h: change more methods to begin with lower char.
15823 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15825 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15826 for unknown layouts.
15828 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15830 * buffer.C (readLyXformat2): Generate an error dialog if there are
15833 2001-07-16 Juergen Vigna <jug@sad.it>
15835 * sp_spell.C: always compile ISpell part.
15837 * lyxrc.C: added use_pspell entry and it's handling.
15839 2001-07-13 Juergen Vigna <jug@sad.it>
15841 * sp_spell.C: removed double includes.
15843 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15845 Consistent use of Lsstream.h:
15846 * Lsstream.h: added using std::stringstream for consistencies sake.
15848 * buffer.C: removed using std::stringstream
15850 * lyxfont.C (stateText):
15851 * paragraph.C (asString):
15852 * text.C (selectNextWord, selectSelectedWord):
15853 * text2.C (setCounter):
15854 * vspace.C (asString, asLatexString):
15855 std::ostringstream -> ostringstream.
15857 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15859 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15860 * commandtags.h: add LFUN_HELP_ABOUTLYX
15861 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15863 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15865 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15867 * lyx_gui_misc.C: remove spellchecker
15868 * lyxfunc.C: showSpellchecker
15870 * sp_ispell.h: added
15871 * sp_pspell.h: added
15872 * sp_spell.C: added
15873 * sp_form.[Ch]: removed
15874 * spellchecker.[Ch]: removed
15876 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15878 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15880 (simpleTeXSpecialChars): Simply print the input character without
15881 any special translation if pass_thru is set.
15883 * layout.h: Added bool pass_thru to layout class for being able to
15884 implement pass through of a paragraph for Literate Programming.
15886 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15887 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15888 * layout.C (Read): add "passthru" to list of layout tags and add
15889 code to set the pass_thru boolean when it is read.
15891 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15893 * trans_decl.h: remove allowed from KmodInfo
15895 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15896 remove allowed code
15899 * paragraph_pimpl.C (erase): use boost::prior
15901 * Painter.C (text): use data() instead of c_str() when length is
15903 * WorkArea.C (putClipboard): ditto
15904 * font.h (width): ditto
15906 * BufferView2.C: use it-> instead of (*it). for iterators
15908 * paragraph_pimpl.C: ditto
15909 * paragraph.C: ditto
15910 * minibuffer.C: ditto
15911 * language.C: ditto
15913 * encoding.C: ditto
15914 * counters.C: ditto
15915 * converter.C: ditto
15917 * Variables.C: ditto
15918 * TextCache.C: ditto
15919 * MenuBackend.C: ditto
15920 * LyXAction.C: ditto
15922 * FloatList.C: ditto
15923 * DepTable.C: ditto
15924 * ColorHandler.C (LyXColorHandler): ditto
15926 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15928 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15930 * text2.C (openStuff): reintroduce this method (which had been
15931 nuked in NEW_INSETS frenzy).
15933 * lyxfunc.C (Dispatch): when an action has not been handled, use
15934 its name in the error message, not its number.
15936 * paragraph.C (inInset): change method name to begin with lowercase.
15939 * text2.C: updates because of this.
15941 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15943 * ToolbarDefaults.C (add): add spaces in error message
15945 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15947 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15948 (readLyXformat2): rename return_par to first_par, use lyxlex's
15949 pushToken and remove the manual push handling.
15950 (parseSingleLyXformat2Token): add another ert comp. variable:
15951 in_tabular, rename return_par to first_par. handle newlines better
15953 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15955 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15957 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15959 * text2.C (getParFromID): removed
15961 * buffer.C (getParFromID): new method moved form lyxtext.
15962 * BufferView2.C (insertErrors): adjust
15963 (setCursorFromRow): adjust
15964 * BufferView_pimpl.C (restorePosition): adjust
15965 * lyxfunc.C (Dispatch): adjust
15966 * undo_funcs.C (textUndo): adjust
15968 (textHandleUndo): adjust
15969 (textHandleUndo): adjust
15971 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15973 * buffer.C: up' the LYX_FORMAT
15975 * lyxfont.h: turn NO_LATEX on as default
15977 * buffer.C (insertErtContents): new methods of tex style compability.
15978 (parseSingleLyXformat2Token): use it several places.
15979 * tabular.C (OldFormatRead): and here
15981 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15983 * text2.C: remove some commented code.
15986 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15987 * trans.C: changes because of the above.
15989 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15991 * text2.C (setCounter): Fix counters bug with bibliography layout.
15993 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15995 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15996 own member functions
15997 (simpleTeXSpecialChars): ditto
15999 2001-07-06 Juergen Vigna <jug@sad.it>
16001 * a lot of files: changed the access to LyXText::status and the
16002 call of undo-functions.
16004 * undo.[Ch]: added a inset_id to the undo informations.
16006 * undo_funcs.[Ch]: added and moved here all undo functions.
16008 * lyxtext.h: give the status enum a weight, made status_ a private
16009 variable and made accessor functions for it, removed the whole bunch
16010 of undo-functions as they are now in their own file, make some
16011 functions publically available. Added function ownerParagraph with
16014 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16015 made InInset() a const function, added getParFromID() function.
16017 * buffer.[Ch]: added const version for inset_iterator functions,
16018 added getInsetFromID() function.
16020 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16021 changed undo functions for new version.
16023 2001-07-05 Juergen Vigna <jug@sad.it>
16025 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16026 unknow mechanism does not call the proper constructor but only this
16027 one also if I request the other!?
16029 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16031 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16033 * text2.C (LyXText): use initialization lists.
16035 * lyxtext.h (Selection): initialize set_ and mark_
16036 (init): remove method
16038 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16040 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16042 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16044 * screen.[Ch]: change method names to begin with lowercase
16046 * BufferView_pimpl.C (updateScrollbar): simplify further and
16047 hopefully make it a bit faster.
16049 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16051 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16052 calling directly xforms functions.
16054 * Painter.C (Painter):
16055 * lyx_cb.C (MenuWrite):
16056 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16059 * lyx_gui.C: remove bogus guiruntime extern declaration.
16061 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16063 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16065 (redoDrawingOfParagraph): ditto
16066 (redoParagraphs): ditto
16067 (cutSelection): don't create a object for CutAndPaste use the
16068 static method directly
16069 (pasteSelection): ditto
16071 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16074 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16076 * modifications to some other files because of this.
16078 * Makefile.am (lyx_SOURCES): add XFormsView
16080 * XFormsView.[Ch]: new files
16082 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16083 the main window. Move the gui dependent stuff to XFormsView
16085 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16087 * tabular.C (GetCellInset): update cur_cell also in the row/col
16088 version of this function.
16090 * lyxfunc.C: no need to include figure_form.h here.
16096 * lyxvc.C: no need to include forms.h here.
16098 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16100 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16102 * lyxfunc.C (Dispatch):
16104 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16105 constructor argument.
16107 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16109 * paragraph.C (Paragraph): dont't clear, and just set layout.
16110 (makeSameLayout): use params's copy contructor.
16112 * ParagraphParameters.[Ch] (makeSame): delete method
16114 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16116 * Variables.[Ch]: fix indentation, rename set to isSet
16118 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16120 * lyxfunc.C (Dispatch): fix typo
16122 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16124 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16127 * bufferlist.C: include assert.h for emergencyWrite().
16129 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16131 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16132 give up at last (bug #425202) !
16134 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16140 * spellchecker.C: strip spellchecker options and bring up
16141 preferences tab instead
16143 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16145 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16146 the istringstream constructor
16148 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16150 * paragraph.C (getLayout): fix return value
16152 * paragraph.h: do not declare getLayout as inline.
16154 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16156 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16158 * lyxcursor.h (operator<): new func
16159 (operator>): new func
16160 (operator>=): new func
16161 (operator<=): new func
16163 * text.C (changeCase): use selection.start and selection.end
16164 (changeRegionCase): require from to be <= to. Require par to be a
16167 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16169 2001-06-27 Juergen Vigna <jug@sad.it>
16171 * text.C (cursorLeftOneWord): changed to return the cursor and added
16172 overlay with BufferView * parameter which calls this one.
16174 (selectWord): use new getWord function.
16175 (changeCase): renamed from changeWordCase as and extended to work
16176 also on selections.
16178 * lyxtext.h: added enum word_location
16180 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16181 changeCase as this operates now also on selections.
16183 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16185 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16187 * many files: send debug output to Debug::INFO instead of
16190 * converter.C (View):
16192 (Move): send debug output to Debug::FILES instead of console.
16194 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16196 * lyxfunc.C (getStatus): use func_status
16198 * func_status.h: new header, describing the results of
16199 LyXFunc::getStatus;
16201 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16204 2001-06-25 The LyX Project <jug@sad.it>
16206 * buffer.C (sgmlOpenTag):
16208 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16210 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16212 * text2.C: remove some dead code
16214 * tabular.C (GetCellInset): store the last cell checked (gotten)
16216 * tabular.h: add the helper for the speedup
16218 * lyxtext.h: remove some dead code
16220 2001-06-26 The LyX Project <Asger>
16222 * paragraph.C: Change export to LaTeX of alignment to
16223 \begin{center} and family for better roundtrip work with reLyX.
16225 * Tune the math drawing a bit.
16227 2001-06-25 The LyX Project <Asger>
16229 * LColor.C (LColor): New color for math background. New color
16232 2001-06-25 The LyX Project <jug@sad.it>
16234 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16236 * lyxfunc.C (Open):
16237 * bufferlist.C (newFile): do not restrict to files ending with
16240 * BufferView_pimpl.C (MenuInsertLyXFile):
16242 2001-06-24 The LyX Project <jug@sad.it>
16244 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16247 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16249 * lyxtext.h: rename most methods to begin with a small char.
16250 Lots of changes because of this.
16252 * paragraph.C (Paragraph): do not call fitToSize
16253 (erase): call Pimpl::erase
16254 (insertChar): call Pimpl::insertChar
16255 (insertInset): call Pipl::insertInset
16256 (breakParagraph): do not call fitToSize
16257 (breakParagraphConservative): do not call fitToSize
16258 (fitToSize): remove method
16260 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16262 2001-06-24 The LyX Project <Asger>
16264 * Fix Qt compilation^2
16266 2001-06-24 The LyX Project <jug@sad.it>
16268 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16269 depthHook(getDepth()-1).
16272 * ParagraphParameters.h:
16273 * ParameterStruct.h: change type of depth to unsigned int ==
16274 depth_type. Many adaptations to other files before of that.
16276 2001-06-24 The LyX Project <Asger>
16278 * Fix Qt compilation.
16280 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16282 * paragraph.h: renamed several methods to begin with small letter.
16283 several changes to many parts of the code because of this.
16285 2001-06-23 The LyX Project <jug@sad.it>
16287 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16288 rewritten to discard all double spaces when KeepEmpty is off
16289 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16290 to only handle newlines but not fiddle with spaces and friends.
16292 * lyxfunc.C (MenuNew): when doing 'new from template', use
16293 template_path as default directory
16295 2001-06-23 The LyX Project <Asger>
16297 * Clean-up of header file includes all over
16298 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16300 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16302 * paragraph.h: renamed from lyxparagraph.h
16304 2001-06-23 Asger <lyx@violet.home.sad.it>
16306 * Buffer.h: Removed Buffer::resize
16307 * BufferList.h: Removed BufferList::resize
16308 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16309 the document lazily when we change the width, or the font settings.
16311 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16313 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16315 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16317 * buffer.h: remove out of date comment
16319 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16322 * screen.C: fix "theoretical" GC leak
16324 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16326 * LaTeX.C (scanAuxFile):
16327 (deplog): remove trailing \r when reading stream (useful under
16330 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16332 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16333 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16334 and BufferView::theLockingInset(Inset*), so should use them and not
16335 access bv_->text->the_locking_inset directly.
16337 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16339 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16342 * tex-defs.h: remove old unused file
16344 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16346 * BufferView_pimpl.C: fix typo, remove minibuffer message
16347 when buffer has loaded
16349 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16351 * lyxfunc.C (Dispatch): use stringstream
16352 (MenuNew): use stringstream
16353 (Open): use stringstream
16355 * importer.C (Import): use stringstream
16357 * bufferview_funcs.C (CurrentState): use stringstream
16359 * LaTeX.C (run): use stringstream
16361 * BufferView_pimpl.C (savePosition): use stringstream
16362 (restorePosition): use stringstream
16363 (MenuInsertLyXFile): use stringstream
16365 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16378 * vspace.C: removed // -*- C++ -*- as first line.
16381 * version.h: added // -*- C++ -*- as first line.
16383 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16385 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16387 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16390 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16392 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16395 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16397 * gettext.C: include LString.h even when --disable-nls is on.
16399 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16401 * converter.h (Get): changed argument type from int to
16402 FormatList::size_type to avoid unnecessary conversion.
16404 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16407 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16409 * gettext.h: include LString.h even when --disable-nls is on.
16411 2001-06-07 Juergen Vigna <jug@sad.it>
16413 * text.C (BreakAgain): subst spaces with tabs.
16415 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16416 (resizeInsetsLyXText): set force on resizeLyXText.
16418 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16420 * gettext.h (gettext_init):
16421 (locale_init): use a real definition instead of a macro
16423 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16425 * Bufferview_pimpl.C:
16427 * LColor.C: further lcolor tidies
16429 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16431 * BufferView_pimpl.C (updateScrollbar): simplify.
16433 * BufferView2.C: don't include insets/insetinfo.h, change
16434 prototype for insertInset and call the Pimpl version. let
16435 updateInset call Pimpl version.
16437 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16438 gotoInset to BufferView::Pimpl
16440 2001-06-01 Juergen Vigna <jug@sad.it>
16442 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16443 inside a LockingInset (is the update needed at all?).
16445 2001-05-31 Juergen Vigna <jug@sad.it>
16447 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16448 here not the old one otherwise how should we compare it afterwards
16451 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16456 * FontInfo.C: bring C functions into global namespace when
16459 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16461 * LString.h: make sure config.h has been loaded before LString.h.
16463 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16464 (one for each char read by EatLine!).
16466 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16469 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16471 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16472 to the same as the par we break from
16474 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16476 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16478 * MenuBackend.C (expand): also create menu entries for wide
16479 versions of the floats.
16481 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16483 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16485 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16486 frontends/Makefile.am
16492 * tabular.C (getTokenValue): add std::
16494 * tabular-old.C (getTokenValue): add std::
16495 (getTokenValue): ditto
16496 (getTokenValue): ditto
16498 * screen.C (ToggleSelection): adjust
16500 * lyxtext.h: put selection cursors inside a Selection struct.
16502 * lyxfunc.C (moveCursorUpdate): adjust
16504 * lyxfont.C (latexWriteStartChanges): add std::
16506 * lyxfind.C: adjust
16508 * font.h: delete with(char const *, LyXFont const &)
16510 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16512 * FontInfo.C (getFontname): add std::
16514 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16515 (workAreaButtonPress): adjust
16516 (tripleClick): adjust
16518 (moveCursorUpdate): adjust
16521 * BufferView2.C (gotoInset): adjust
16523 2001-05-30 Juergen Vigna <jug@sad.it>
16525 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16526 to check pspell I add this as default as I now have new pspell
16527 libraries and they seem to use this.
16529 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16531 * text2.C (CutSelection): make the cursor valid before the call to
16534 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16536 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16537 relied on 0 terminated strings and other horrors. Bug found due to
16538 the new assert in lyxstring!
16540 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16543 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16545 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16548 * lyxfunc.C (processKeySym): change method of getting to the
16551 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16552 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16553 * BufferView_pimpl.[Ch]: here as private methods.
16555 2001-05-28 Juergen Vigna <jug@sad.it>
16557 * text.C (SetHeightOfRow): added the update() call again as it is
16558 needed to initialize inset dimensions!
16560 2001-05-16 Juergen Vigna <jug@sad.it>
16562 * text2.C (SetCharFont): Add new function with BufferView * and
16563 bool toggleall parameters for setting insets internal fonts.
16564 (SetFont): Freeze the undo as we may change fonts in Insets and
16565 all this change should be inside only one Undo!
16567 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16568 setting font's in insets as for them we have the SetFont function!
16570 2001-05-15 Juergen Vigna <jug@sad.it>
16572 * text2.C (ClearSelection): to be sure we REALLY don't have any
16575 * tabular.C (TeXCellPreamble): fixed the left border problem for
16578 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16580 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16583 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16585 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16586 LFUN_BREAKPARAGRAPH.
16588 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16589 help test to "internal only", similar for LFUN_INSERT_URL
16591 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16592 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16593 auto_region_delete and deadkeys.
16595 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16598 * LColor.C: remove some dead entries, tidy a little
16600 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16602 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16604 (Dispatch): implement LFUN_ESCAPE
16606 * commandtags.h: add LFUN_ESCAPE
16608 * LyXAction.C (init): add entry for LFUN_ESCAPE
16610 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16611 Remove commented code.
16612 (insertNote): moved here
16613 (open_new_inset): moved here
16615 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16618 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16620 * kbmap.C (findbinding): clean it up and make it work correctly.
16622 * lyx_main.C (init): do not pass argc and argv as parameters
16624 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16626 * buffer.C: fix path for OS/2 & Win32
16630 * lyx_main.C: Added os:: class.
16632 * os2_defines.h: update
16634 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16636 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16637 better by trying again with reduced state.
16639 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16641 * lyxrc.C (read): print error about invalid key sequence only when
16642 debugging (because not all latinX keysyms are known to some X
16645 * kbsequence.C (getiso): add a few std:: qualifiers
16646 (getiso): comment out extra return statement.
16648 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16650 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16652 (Dispatch): enhance the accent inset a bit. (not perfect)
16654 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16656 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16658 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16660 * bufferlist.C (emergencyWrite): fix assert() call
16662 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16664 * text.C (InsertChar): Added trivial patch to only send the "you
16665 can not do multiple spaces this way" message once during a
16668 2001-05-08 Baruch Even <baruch@lyx.org>
16670 * Makefile.am: Changed order of libraries to get LyX to link properly
16671 with the gnome frontend.
16673 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16675 * LaTeXFeatures.h: add a std:: qualifier
16677 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16679 * paragraph.C (String): use stringstream
16681 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16683 * paragraph.C (writeFile): remove footflag arg
16685 * buffer.C (makeLaTeXFile): use stringstream
16686 (latexParagraphs): remove footnot gurba
16688 * LaTeXFeatures.C (getPackages): use stringstream
16689 (getMacros): likewise
16690 (getTClassPreamble): likewise
16691 (getFloatDefinitions): new method
16693 * paragraph.C (writeFile): reindent
16696 * WorkArea.h: revert the xpos + etc changes.
16698 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16700 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16702 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16703 (pasteSelection): likewise
16704 * text2.C (CreateUndo): likewise
16706 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16708 * minibuffer.C (peek_event): temporarily reduce the functionality
16709 of the minibuffer (to allow args on lfuns)
16711 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16712 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16714 * buffer.C (readInset): add compability reading of old float
16715 lists, add reading of new style float list.
16716 (readInset): avoid reevaluation of inscmd.getCmdName()
16717 (getLists): reindent
16719 * MenuBackend.C (MenuItem): implement parsing of
16720 md_floatlistinsert and md_floatinsert.
16721 (expand::LastFiles): move initalizaton of iterators out of loop,
16722 avoid reevaluation.
16723 (expand::Documents): introduce typdedef vector<string> Strings,
16725 (expand::ExportFormats): introduce typedef vector<Format const *>
16726 Formats, and use it.
16727 (expand): implement FloatListInsert and FloatInsert.
16729 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16730 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16731 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16733 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16735 (Dispatch::LFUN_FLOAT_LIST): implement
16737 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16739 * LaTeX.C (run): Fix problem with --export code.
16741 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16743 * BufferView.[Ch] (workarea): removed.
16744 (getClipboard) new method; wrapper for workarea()->getClipboard()
16746 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16749 * WorkArea.h (width, height, xpos, ypos): These methods all
16750 returned the dimensions of the work_area sub-area of WorkArea,
16751 resulting in a position error if the WorkArea were resized. Now
16752 return the dimensions of the entire WorkArea.
16754 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16756 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16758 * LaTeX.C (deplog): correct the syntax of regex reg1
16760 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16762 * undo.C: remove !NEW_INSETS cruft
16764 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16766 * text2.C: remove !NEW_INSETS cruft
16768 * text.C: remove !NEW_INSETS cruft
16770 * tabular.C: remove !NEW_INSETS cruft
16772 * spellchecker.C: remove !NEW_INSETS cruft
16774 * lyxtext.h: remove !NEW_INSETS cruft
16776 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16778 * lyxfunc.C: remove !NEW_INSETS cruft
16780 * lyxfind.C: remove !NEW_INSETS cruft
16782 * lyx_cb.C: remove !NEW_INSETS cruft
16784 * figureForm.C: remove !NEW_INSETS cruft
16786 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16788 * buffer.[Ch]: remove !NEW_INSETS cruft
16790 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16792 * CutAndPaste.C: remove !NEW_INSETS cruft
16794 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16796 * BufferView2.C: remove !NEW_INSETS cruft
16798 * BufferView.h: remove !NEW_INSETS cruft
16800 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16802 * Lsstream.h: include LString.h before the sstream headers to
16803 fix problem with gcc 2.95.3 and lyxstring
16805 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16807 * lyx_main.C: add using directives when needed for C functions
16808 declared in std:: namespace.
16810 2001-04-27 Juergen Vigna <jug@sad.it>
16812 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16813 (SetHeightOfRow): comment out the update call should not be needed!
16815 2001-04-13 Juergen Vigna <jug@sad.it>
16817 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16818 (LyXTabular): tried to minimize operator= operations (and realized
16819 hopfully Lars wish).
16821 2001-04-27 Juergen Vigna <jug@sad.it>
16823 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16825 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16827 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16829 * buffer.C (readInset): hack to make listof algorithm work
16831 * BufferView_pimpl.C: hack to make listof algorithm work
16833 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16835 * LyXAction.C: removed all !NEW_INSETS cruft
16836 (init): moved lfun_item in method
16838 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16840 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16842 * BufferView2.C (theLockingInset): white space.
16844 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16846 * minibuffer.C: include <iostream>
16848 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16850 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16852 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16854 * text.[Ch] (TransposeChars): new method
16856 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16858 * call message directly through LyXView instead of through LyXFunc
16859 * BufferView2.C: adjust
16860 * BufferView_pimpl.C: adjust
16861 * FontLoader.C: adjust
16863 * bufferview_funcs.C: adjust
16864 * converter.C: adjust
16865 * figureForm.C: adjust
16866 * importer.C: adjust
16868 * lyx_gui_misc.C: adjust
16869 * lyxfunc.C: adjust
16872 + more files in subdirs
16874 * lyxparagraph.h (size): move up int file
16877 * adjust all uses of Assert to lyx::Assert.
16879 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16880 lyxfunctional in namespace lyx
16881 * layout.C (hasLayout): ditto
16884 (delete_layout): ditto
16885 (NumberOfClass): ditto
16886 * converter.C (GetFormat): ditto
16891 * bufferlist.C (getFileNames): ditto
16892 (emergencyWriteAll): ditto
16895 * MenuBackend.C (hasSubmenu): ditto
16898 * BufferView_pimpl.C (getInsetByCode): ditto
16900 2001-04-18 Juergen Vigna <jug@sad.it>
16902 * vspace.C (asLatexString): fixed the 100% problem.
16904 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16906 * lyxfunc.C (Dispatch):
16908 * minibuffer.h: add a few std:: qualifiers
16910 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16912 * minibuffer.[Ch]: reimplement so that commands is initiated and
16913 run from lyxfunc, simplified som handling, and made the completion
16914 and history code for complete. wip.
16916 * lyxfunc.C (processKeySym): call message
16917 (miniDispatch): new temporary method
16918 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16919 (LFUN_MESSAGE): implement
16920 (LFUN_MESSAGE_PUSH): implement
16921 (LFUN_MESSAGE_POP): implement
16922 (initMiniBuffer): the initial/defualt minibuffer message.
16924 * lyxfont.[Ch]: inline some more getters
16926 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16928 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16930 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16931 (AutoSave): use LFUN_MESSAGE
16932 (Reconfigure): ditto
16934 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16936 * figureForm.C: use LFUN_MESSAGE
16938 * converter.C (runLaTeX): use LFUN_MESSAGE
16940 * bufferview_funcs.C: use LFUN_MESSAGE
16942 (changeDepth): ditto
16944 * bufferparams.h: use boost::
16946 * bufferlist.h: inherit privately from noncopyable
16948 * bufferlist.C (loadLyXFile): remove some commented code.
16950 * buffer.C (runChktex): use LFUN_MESSAGE
16952 * ShareContainer.h: inherit privately from noncopyable
16954 * ParagraphParameters.[hC] (depth): inline it.
16956 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16958 (message): new method
16959 (messagePush): ditto
16960 (messagePop): ditto
16961 (show): init minibuffer
16962 (showState): direct call
16964 * LaTeX.[Ch]: inherit privately from noncopyable
16965 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16966 instead of WriteStatus.
16968 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16970 * BufferView_pimpl.C (buffer): don't init minibuffer
16971 (workAreaButtonPress): use LFUN_MESSAGE
16972 (workAreaButtonRelease): ditto
16973 (savePosition): ditto
16974 (restorePosition): ditto
16975 (MenuInsertLyXFile): ditto
16976 (workAreaExpose): don't init minibuffer
16977 (update): remove commented code, simplify
16979 * BufferView2.C (openStuff): use LFUN_MESSAGE
16980 (toggleFloat): ditto
16983 (copyEnvironment): ditto
16984 (pasteEnvironment): ditto
16989 (updateInset): remove some commented code
16991 * lastfiles.h: inherit privately from noncopyable
16994 * lyx_main.h: ditto
16996 * lyxlex_pimpl.h: ditto
16998 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16999 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17000 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17002 * LyXAction.h: inherit privately from noncopyable, add methods
17003 func_begin, func_end, returning iterators to the func map.
17005 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17006 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17007 (func_begin): new method
17008 (func_end): new method
17010 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17012 (copySelection): ditto
17013 (pasteSelection): ditto
17015 * BufferView.C: whitespace change
17016 * BufferView.h: inherit privately from noncopyable
17018 2001-04-16 Allan Rae <rae@lyx.org>
17020 * tabular-old.C (l_getline):
17021 * spellchecker.C (sc_check_word):
17022 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17023 an unrecognised preprocessor directive. So ensure they're wrapped.
17025 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17027 * src/exporter.C (Export): Give an error message when path to file
17030 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17032 * LaTeX.C (deplog): Always check that foundfile exists.
17034 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17037 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17039 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17041 * tabular.[Ch] (getLabelList): implement new method
17043 * minibuffer.h: comment ouf setTiimer
17045 * minibuffer.C (ExecutingCB): constify res
17046 (peek_event): constify s
17047 (Set): constify ntext
17048 (Init): constify nicename
17050 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17052 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17053 (savePosition): use two params to Minibuffer::Set
17054 (restorePosition): ditto
17056 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17058 * lyx_main.C: include language.h
17060 * Makefile.am (lyx_main.o): add language.h
17062 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17068 * CutAndPaste.C: include gettext.h
17070 * lyxfont.h: remove old hack with ON and OFF.
17073 * lyxfont.h: do not include language.h...
17078 * bufferview_funcs.C:
17084 * paragraph.C: ... but do it here instead
17086 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17088 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17090 * tabular.C: small reformat
17092 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17095 (BreakParagraph): ditto
17096 (SetOnlyLayout): ditto
17099 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17102 * lastfiles.C: removed most using decl, add std:: where needed
17104 * buffer.C: ws changes
17106 * MenuBackend.C (class compare_format): put into anon namespace
17107 (expand): constify label, names, action, action2
17110 * text.C (SingleWidth): constify font
17111 (IsBoundary): constify rtl2
17112 (GetVisibleRow): constify ww
17114 * LaTeX.C (deplog): constify logfile
17116 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17118 (workAreaExpose): constify widthChange, heightChange
17120 * lyxrow.C (par): moved
17123 * lyxrow.h: as inlines here
17125 * lyxfont.h (shape): moved from lyxfont.C
17126 (emph): moved from lyxfont.C
17128 * lyxfont.C (LyXFont): use initialization list for all
17130 (shape): move to lyxfont.h as inline
17131 (emph): move to lyxfont.h as inline
17134 2001-04-04 Juergen Vigna <jug@sad.it>
17136 * vspace.C: had to include stdio.h for use of sscanf
17138 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17141 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17142 independent of xforms.
17144 2001-04-02 Juergen Vigna <jug@sad.it>
17146 * spellchecker.C: fixed namespace placing!
17148 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17150 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17151 the LyXParagraph * is 0.
17153 2001-03-29 Juergen Vigna <jug@sad.it>
17155 * vspace.C: added support for %, c%, p%, l%.
17156 (stringFromUnit): added helper function.
17157 (asLatexString): changed to give right results for the %-values.
17159 * buffer.C: convert the widthp in a width%.
17161 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17163 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17166 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17167 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17169 * lyx_cb.[Ch]: see above.
17171 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17175 * lyx.[Ch]: replaced by figure_form.[Ch].
17179 * lyxfunc.C: changed headers associated with above changes.
17181 2001-03-27 Juergen Vigna <jug@sad.it>
17183 * BufferView_pimpl.C: set the temporary cursor right!
17185 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17187 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17189 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17191 * LString.h: removed "using std::getline"!
17193 * BufferView_pimpl.C (Dispatch): changes due to changes in
17194 InsetInclude::Params.
17196 * buffer.C (tag_name): removed redundant break statements as they were
17197 producing lots of warnings with my compiler.
17199 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17201 * LString.h: add "using std::getline" when using the real <string>.
17203 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
17205 * buffer.C: removed bitset usage.
17206 PAR_TAG moved to an anonymous name space.
17207 (tag_name): new funtion, also in the anonymous namespace.
17208 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17209 (makeDocBookFile): clean code. Completed transition from string arrays
17211 (SimpleDocBookOnePar): code clean.
17213 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17215 * tabular.C: add some comments.
17217 2001-03-22 Juergen Vigna <jug@sad.it>
17219 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17220 compatibility read a bit and fixed bug with minipage in different
17223 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
17225 * buffer.C (pop_tag): removed.
17226 (push_tag): removed.
17227 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17228 array replaced with vector. Added support for CDATA sections.
17229 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17231 (makeDocBookFile): XML conformant declaration of CDATA section,
17232 fixed bug related to <emphasis> in the first paragraph char.
17233 (sgmlOpenTag): exclude empty tags.
17234 (sgmlCloseTag): ditto.
17236 * buffer.h (pop_tag): removed.
17237 (push_tag): removed.
17239 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17241 * language.h (Languages): added size_type and size().
17243 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17245 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17246 response on compability reading of minipages. One probliem is that
17247 the old usage of minipages was «flertydig»
17249 * several files here and in subdirs: don't use static at file
17250 scope use anon namespaces instead.
17252 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17254 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17255 LaTeX output. This is necessary for Literate document
17258 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17260 * buffer.C: insert hfill when needed.
17262 * tabular.C (l_getline): use string::erase, small whitespace change.
17264 * BufferView_pimpl.C: try the anon namespace.
17265 * WorkArea.C: ditto
17267 2001-03-16 Juergen Vigna <jug@sad.it>
17269 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17270 otherwise it won't open options-dialogs.
17272 * buffer.C: honor pextraWidth(p) on converting minipages.
17274 * tabular.C (l_getline): changed the functions to strip trailing \r.
17276 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17278 * BufferView_pimpl.C:
17279 * minibuffer..C: added "using SigC::slot" declaration.
17281 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17283 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17289 * paragraph.C: ditto
17291 * lyxtext.h: NO_PEXTRA
17293 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17295 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17296 * ParameterStruct.h: ditto
17297 * ParagraphParameters.h: ditto
17298 * lyxparagraph.h: ditto
17300 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17302 * buffer.C: add compability for minipage alignment.
17303 (latexParagraphs): remove unwanted pextra check.
17305 * several files: remove CXX_WORKING_NAMESPACES
17307 * buffer.C (pop_tag): tie is in namespace boost
17309 * BufferView.h: noncopyable is in namespace boost
17311 * lyx_main.h: ditto
17314 * lastfiles.h: ditto
17315 * bufferlist.h: ditto
17316 * ShareContainer.h: ditto
17318 * LyXAction.h: ditto
17321 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17323 * Merging changes from BRANCH_MVC back into HEAD.
17325 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17327 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17329 * BufferView_pimpl.C: change from intl.C
17333 * Makefile.am: move combox.*
17339 * intl.C: remove dialog (covered by prefs)
17341 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17343 * lyxfunc.C (Dispatch): removed redundant break statement.
17345 2001-03-14 Juergen Vigna <jug@sad.it>
17347 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17349 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17351 * buffer.C: add hack to fix compability reading of minipages.
17353 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17355 * buffer.C (getLists): Cleanup.
17357 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17359 * lyxfont.C (update): don't honor toggleall on font size.
17361 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17365 * Makefile.am: moved to frontends/xforms/
17369 * BufferView_pimpl.C: changes for moved mathpanel
17371 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17373 * gettext.h: fix gettext_init() in --disable-nls
17375 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17377 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17379 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17382 * lyx.h: strip external form
17384 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17386 * BufferView_pimpl.C: add comment, destroySplash()
17388 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17390 * BufferView_pimpl.C:
17394 * lyxfunc.C: use re-worked insetinclude
17396 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17398 * buffer.C: add using std::stringstream.
17400 * lyx_cb.C: readd using std::ios.
17402 * buffer.C: add using std::map.
17404 * BufferView_pimpl.C: add using std::vector.
17406 * ShareContainer.h: add std:: to swap.
17408 * buffer.h: add some typedefs
17409 * buffer.C (getLists): use them
17410 (getLists): renamed from getTocList.
17411 add a counter for the different float types and use it in the
17413 (getLists): use the same counter for the NEW_INSETS and the "non"
17416 * lyx_cb.h: remove unused items, includes, using etc.
17418 * ShareContainer.h: remove some commented code, add more comments
17419 and "documentation".
17421 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17423 * buffer.C (getTocList): make the list also when NEW_INSETS is
17426 * buffer.h: remove TocType
17428 * buffer.C (getTocList): change to return a map<string,
17429 vector<TocItem> >, implement for dynamic number of list.
17431 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17432 * text2.C (PasteSelection): adjust
17433 * CutAndPaste.C (pasteSelection): adjust
17435 * FloatList.C (FloatList): update from the new_insets branch.
17436 * Floating.[Ch]: ditto
17437 * LaTeXFeatures.C: ditto
17439 * lyxlex_pimpl.C: ditto
17441 * paragraph.C (Last): remove when NEW_INSETS is defined.
17443 * other file: changes because of the above.
17445 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17447 * lyxparagraph.h: rename next to next_, previous to previous_,
17448 make them private for NEW_INSETS. Rename Next() to next(),
17449 Previous() to previous().
17451 * other files: changes because of the above.
17453 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17456 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17459 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17461 * main.C (main): pass lyx_localedir to gettext_init().
17463 * gettext.h: remove locale_init and gettext_init macros
17465 * gettext.C (locale_init): new function
17466 (gettext_init): new function
17468 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17471 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17473 * Moved credits to frontends:
17474 * credits.[Ch]: removed
17475 * credits_form.[Ch]: removed
17476 * lyx_gui_misc.C: remove credits stuff
17479 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17481 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17483 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17484 unneeded destructor.
17486 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17487 a standalone pointer again.
17489 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17491 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17497 * ToolbarDefaults.C:
17506 * BufferView_pimpl.C: use new file dialog in GUII
17509 * lyx_cb.C: remove LayoutsCB to Toolbar
17511 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17513 * ShareContainer.h (get): add std:: qualifier
17515 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17517 * ShareContainer.h: define a proper ShareContainer::value_type
17518 type (and use typename to please compaq cxx)
17520 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17522 * lyxparagraph.h: move serveral local vars to
17523 ParameterStruct/ParagraphParameters., use ShareContainer in
17524 FontTable., make vars in FontTable private and add getter and
17527 * paragraph.C: changes because of the above.
17529 * lyxfont.h: remove copy constructor and copy assignment. (the
17530 default ones is ok), move number inside FontBits. move inlines to
17533 * lyxfont.C: add number to initializaton of statics, move several
17534 inlines here. constify several local vars. some whitespace
17535 cleanup. Dont hide outerscope variables.
17537 * Spacing.h: add two new constructors to match the set methods.
17539 * ShareContainer.h: new file, will perhaps be moved to support
17541 * ParameterStruct.h: new file
17543 * ParagraphParameters.h: new file
17545 * ParagraphParameters.C: new file
17547 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17548 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17550 * BufferView_pimpl.C: ParagraphParameter changes.
17551 * buffer.C: Likewise.
17552 * bufferview_funcs.C: Likewise.
17553 * text.C: Likewise.
17554 * text2.C: Likewise.
17556 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17558 * lyxfind.C (LyXReplace): do not redefine default argument in
17560 (IsStringInText): ditto
17561 (SearchForward): ditto
17562 (SearchBackward): ditto
17564 2001-03-06 Juergen Vigna <jug@sad.it>
17566 * lyxfind.C (IsStringInText): put parentes around expressions.
17568 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17570 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17572 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17574 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17576 * stl_string_fwd.h: add comment
17578 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17581 * tabular.C: remove unused DocBook methods
17587 killed DO_USE_DEFAULT_LANGUAGE
17589 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17591 * lyx_gui.C: do not include language.h.
17593 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17594 arguments in function implementation.
17596 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17598 * BufferView_pimpl.C: add <ctime>
17600 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17602 * BufferView_pimpl.C: add using std::find_if
17604 2001-02-27 José Matos <jamatos@fep.up.pt>
17606 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17609 2001-02-11 José Matos <jamatos@fep.up.pt>
17611 * buffer.C (makeDocBookFile): command styles now have a parameter as
17612 "title" by default.
17614 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17616 * layout_forms.[Ch]: removed
17617 * lyx_cb.[Ch]: out character
17618 * lyx_gui.C: out character
17619 * lyx_gui_misc.C: out character
17620 * bufferview_funcs.C: : out character,
17621 added toggleall as parameter in ToggleAndShow
17623 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17625 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17627 * text2.C (SetCurrentFont): Disable number property at boundary.
17629 2001-02-26 Juergen Vigna <jug@sad.it>
17631 * lyxfunc.C (getStatus): added a string argument override function so
17632 that this is correctly called from LyXFunc::Dispatch if it contains a
17633 do_not_use_argument which is used!
17634 (Dispatch): added check for "custom" export and call appropriate func.
17636 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17638 * lyxrc.C: Add language_command_local, language_use_babel and
17639 language_global_options.
17641 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17643 * buffer.C (makeLaTeXFile): Use language_use_babel and
17644 language_global_options.
17646 2001-02-23 Juergen Vigna <jug@sad.it>
17648 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17649 which works with LyXText and putted it inside BufferView. Here now we
17650 only call for that part the BufferView::Dispatch() function.
17652 * BufferView.C (Dispatch): added.
17654 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17655 functions which needs to use a LyXText over from LyXFunc.
17656 (MenuInsertLyXFile): added
17657 (getInsetByCode): added
17658 (moveCursorUpdate): added
17659 (static TEXT): added
17661 2001-02-22 Juergen Vigna <jug@sad.it>
17663 * BufferView_pimpl.C (update): call a status update to see if LyXText
17666 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17668 * vc-backend.C (revert): implement for CVS
17669 (getLog): implement for CVS
17671 2001-02-20 Juergen Vigna <jug@sad.it>
17673 * text2.C (ClearSelection): added BufferView param for inset_owner call
17675 * lyxfunc.C (TEXT): added this function and use it instead of
17676 directly owner->view()-text of getLyXText().
17678 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17680 * src/layout_forms.C: out preamble
17681 * src/layout_forms.h: out preamble
17682 * src/lyx_cb.C: out preamble
17683 * src/lyx_cb.h: out preamble
17684 * src/lyx_gui.C: out preamble
17685 * src/lyx_gui_misc.C: out preamble
17686 * src/lyxfunc.C: connect with guii preamble
17688 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17690 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17692 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17694 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17695 whether to run bibtex.
17697 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17699 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17701 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17703 * Makefile.am (lyx_SOURCES): removed bibforms.h
17705 * vspace.h: doxygen
17707 * text.C (GetVisibleRow): make several local vars const
17709 * tabular.C: small cleanup.
17711 * lyxserver.C (callback): use compare instead of strncmp
17713 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17714 inlines to after class or to paragraph.C
17716 * lyxfont.h: remove friend operator!=
17718 * converter.h: move friend bool operator< to non friend and after
17721 * combox.h: small cleanup
17723 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17724 to inlines after class def.
17726 * buffer.C (pop_tag): use string operations instead of strcmp
17728 * bmtable.c: doxygen, small cleanup
17730 * LaTeX.h: remove friend operator==
17732 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17744 * BufferView_pimpl.C:
17745 * BufferView.[Ch]: remove cruft
17747 2001-02-14 Juergen Vigna <jug@sad.it>
17749 * lyxfunc.C: removed #if 0 unused code
17751 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17753 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17755 * text2.C (SetSelection): added a BufferView * parameter
17757 2001-02-13 Juergen Vigna <jug@sad.it>
17759 * lyxfunc.C (Dispatch): fixed protected blank problem.
17760 * BufferView2.C (protectedBlank): added LyxText * parameter.
17762 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17763 (AppendColumn): same as above for column_info.
17765 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17766 (moveCursorUpdate): use a LyXText param for support of InsetText.
17768 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17769 (tripleClick): ditto
17771 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17773 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17775 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17777 * text2.C (SetSelection): set correct update status if inset_owner
17778 (ToggleFree): ditto
17780 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17782 * tabular.C: remove some commented code.
17784 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17786 * BufferView_pimpl.C: call hideSplash()
17788 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17791 * bibforms.h: remove
17794 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17795 add LFUN_CHILD_CREATE
17797 * counters.h: fix tiny typo
17802 * lyx.C: move splash to frontends/xforms/
17804 * lyx_gui_misc.C: move Include and Bibform to frontends
17806 * lyxvc.h: clarify comment
17808 * vspace.C: tiny housekeeping
17810 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17812 * text.C (PrepareToPrint): RTL Fix.
17814 * paragraph.C (GetUChar): New method.
17815 (String): Use GetUChar.
17817 * buffer.C (asciiParagraph): Use GetUChar.
17819 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17821 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17823 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17826 * buffer.C: rename to getLogName(), handle
17827 build log / latex log nicely
17829 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17832 * MenuBackend.h: remove support for reference menuitem type.
17834 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17836 * BufferView_pimpl.C: housekeeping
17837 * BufferView_pimpl.h:
17842 * minibuffer.h: move Timeout GUI-I
17844 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17846 * lyxrc.C (read): Update converters data-structures.
17848 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17850 * LaTeX.h (operator!=): add operator != for Aux_Info
17852 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17854 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17856 * LaTeXLog.C: deleted, useful code moved to Buffer
17859 * buffer.C: new function getLatexLogName()
17865 * lyxfunc.C: use frontends for LaTeX and VC logs
17867 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17869 * LaTeX.h: yet another std:: that Allan forgot.
17871 * Variables.C (set): renamed from isset(), because this clashes
17872 with some HP-UX macros (grr).
17874 2001-02-06 Allan Rae <rae@lyx.org>
17876 * LaTeX.h: Another bug fix. Missing std:: this time.
17878 2001-02-04 Allan Rae <rae@lyx.org>
17880 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17881 floats problem. I've left it commented out because it's not quite
17882 correct. It should also test that the current object is a table or
17883 figure inset. But I haven't gotten around to figuring out how to do
17884 that. I *think* it'll be something like: "table" == inset.type()
17886 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17889 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17891 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17892 all the citation/databases/styles in the auxilary file.
17893 (run): Rerun latex if there was a babel language error.
17895 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17897 * text.C (Backspace): Preserve the font when changing newline char
17899 (BreakParagraph): If the cursor is before a space, delete the space.
17901 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17903 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17905 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17906 new argument (code).
17907 (ChangeCitationsIfUnique): New method.
17909 * paragraph.C (GetPositionOfInset): Handle bibkey.
17911 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17913 * BufferView_pimpl.h: change type of Position::par_pos to
17914 LyXParagraph::size_type.
17916 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17918 * BufferView_pimpl.C (savePosition, restorePosition): Write
17919 messages to minibuffer.
17921 2001-01-28 José Matos <jamatos@fep.up.pt>
17923 * buffer.C (makeDocBookFile): adds support for document language.
17924 A silly restriction on the name of LatexCommand types where removed.
17925 Added support for CDATA sections, allows to chars unescaped, used
17926 among others in code, to avoid escape < and >.
17928 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17930 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17931 saved positions instrad of a stack. Furthermore, a position is
17932 stored using paragraph id/paragraph position.
17934 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17935 Remove LFUN_REF_BACK.
17937 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17939 * converter.C (dvipdfm_options): New method.
17941 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17943 * vspace.C (isValidLength): Fix for empty input string.
17945 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17947 * LyXAction.C (init): change description of LFUN_FIGURE to
17950 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17952 * LaTeX.C: add using directive
17954 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17956 * MenuBackend.C (expand): Fix the sorting of the formats.
17958 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17960 * lyx_main.C: tiny error message fix
17962 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17964 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17965 calling fl_initialize(). This fixes the problem with ',' as
17966 decimal separator in text files.
17968 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17970 * trans.C (process): Fix the keymap bug.
17972 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17974 * LaTeX.C (scanAuxFiles): New method. Provides support for
17975 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17976 (scanLogFile) Scan for "run BibTeX" messages.
17978 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17979 OT1 font encoding. Also, load the aecompl package if the ae
17982 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17984 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17986 * texrow.C (increasePos): turn two error messages into debug
17989 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17991 * LaTeX.C (scanAux): Handle the \@input macro.
17992 (runBibTeX): Use scanAux().
17994 * language.C (latex_options_): New field.
17996 * LaTeXFeatures.C (getMacros): Add language macros.
17998 * buffer.C (makeLaTeXFile): Small fix.
18000 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18002 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18004 * text2.C: add a using directive.
18006 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18011 * lyxfunc.C: kill LyXBell.
18013 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18015 * text.C (IsBoundary): Remove the error message
18017 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18019 * lyxrc.C (setDefaults): Correct initialization value for
18022 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18024 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18027 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18028 and GotoNextNote().
18030 * src/LyXAction.C: Added reference-next.
18032 * text.C (InsertChar): Use contains instead of strchr.
18034 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18036 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18038 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18039 alignment commands (when needed).
18041 * text.C (InsertChar): Add ':' to number separator chars.