1 2005-07-17 Juergen Vigna <jug@lyx.org>
3 * text.C (Delete, backspace): fixed so that paragraph with the
4 same layout can be merged by Delete/Backspace.
6 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
8 * text.C (readParToken): fix spelling.
10 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
12 * text2.C: fix counter update for DEPM problem reported by
15 2005-07-17 Juergen Vigna <jug@lyx.org>
17 * BufferView_pimpl.C (setBuffer): save/restore the
18 cursor/selection when switching buffers
21 * buffer.C (saveCursor): add saveDocumentIterators to save the
22 cursor when switching buffer.
24 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
27 * buffer.C: clarify message
29 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
31 * dociterator.C (DocIterator): fix initialization order
33 2005-07-17 Juergen Vigna <jug@lyx.org>
35 * text2.C (cursorHome):
36 * text.C (drawSelection, cursorX):
37 * dociterator.C (textRow): add boundary to getRow() call
39 * paragraph.C (getRow): implementation of below
41 * paragraph.h: add parameter boundary for getRow() function
43 2005-07-18 José Matos <jamatos@fc.up.pt>
47 * tex-strings.[Ch]: new file format, remove support for a4.sty,
48 a4wide.sty and a4widemargins.
50 2005-07-17 Juergen Vigna <jug@lyx.org>
52 * text2.C (cursorLeft): fix one of error
54 2005-07-17 Juergen Vigna <jug@lyx.org>
56 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
58 more fixes for boundary handling
60 * text3.C (dispatch): don't reset cursor if boundary has changed
63 2005-07-16 Juergen Vigna <jug@lyx.org>
65 * text2.C (getColumnNearX): hopefully got it right now,
66 check if we are on column 0 for special case.
68 2005-07-16 Juergen Vigna <jug@lyx.org>
70 * text2.C (getColumnNearX): handle special case Newline Inset
72 * text.C (singleWidth): Just remove bogus check
74 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
76 * funcrequest.C (split): avoid reading uninitialized char c
78 2005-07-16 José Matos <jamatos@fc.up.pt>
84 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
85 single papersize variable.
87 2005-07-16 Juergen Vigna <jug@lyx.org>
89 * text3.C (dispatch): honor boundary when checking if a cursor
90 movement has been done
92 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
93 (setCursor, setCursorIntern): fix cursor movement with boundary
95 2005-07-16 Juergen Vigna <jug@lyx.org>
97 * text.C (currentState): output the actual Boundary
99 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
101 * factory.C (createInset): fix bad logic for tabular creation
103 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
105 * lyx_main.C (init): change some reLyX reference to tex2lyx
107 2005-07-16 Juergen Vigna <jug@lyx.org>
109 * dociterator.C (DocIterator): initialize boundary
111 2005-07-16 Juergen Vigna <jug@lyx.org>
113 * text2.C (getColumnNearX): Consider rows without trailing blank.
115 2005-07-16 André Pönitz <poenitz@gmx.net>
117 * lyxfont.h: Change order of declarations to give the compiler
118 a better chance to inline things
120 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
121 questions on unsaved docs for better scritability
123 2005-07-16 André Pönitz <poenitz@gmx.net>
125 * paragraph.h (getChar): remove asserts as the same kind of security
126 can be achieved by using a suitable standard library implementation
127 and the function was in the critical path (25.9% in profiler)
129 2005-07-16 Juergen Vigna <jug@lyx.org>
131 * cursor.C (bruteFind2):
132 * bufferview_funcs.C (coordOffset):
133 * text.C (cursorX,cursorY): Handle cursor position after last char
134 in row before a inset which uses a whole row.
136 2005-07-15 José Matos <jamatos@lyx.org>
138 * output_plaintext.[Ch] (writeFileAscii): control reference title
140 (asciiParagraph): noparbreak was already deal and was incorrectly
143 2005-07-15 Juergen Vigna <jug@lyx.org>
145 * lyxfunc.C (dispatch): save and restore the cursor after a
148 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
150 * text.C (backspace): bug 806 for empty keepempty paragraphs we
151 change the layout to default before letting DEPM do its thing.
153 * paragraph_funcs.C (breakParagraph): dont reset the layout on
156 * text.C (setCursorFromCoordinates): add a debug statement
158 * text2.C (getColumnNearX): bug 1825 make sure that we don't
159 return a pos that is not on the row
161 * output_latex.C (TeXDeeper): get rid of potential dereferencing
162 of past the end iterator
164 2005-07-14 André Pönitz <poenitz@gmx.net>
166 * undo.C (recordUndoFullBuffer): implement undo for
169 2005-07-14 André Pönitz <poenitz@gmx.net>
171 * cursor.C (setSelection): open insets when selection is set there
172 to avoid crashs with cold coord cache
174 2005-07-14 André Pönitz <poenitz@gmx.net>
176 * trans_mgr.C (insert): move cursor to the right after inserting
179 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
181 * BufferView_pimpl.C (update): dampen some of the debug blabbering
182 * factory.C (readInset): ditto
183 * text.C, text2.C: ditto
185 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
187 * buffer.C: format incremented to 242. There is no file format per
188 se, but the "frenchb" language has been removed from lib/language
189 and has to be translated to "french" by lyx2lyx.
191 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
193 * cursor_slice.h, dociterator.h: add some documentation
194 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
196 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
198 * text.C (leftMargin): do not add identation to display() style
199 insets, because they are always centered (bug 1293).
201 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
203 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
204 formatted_time methods in support/lyxtime.
206 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
208 * toc.[Ch]: new method getGuiName, which is used by the frontends
209 to set the toc combo (fixes bug 1870). Make TOC string translatable.
211 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
213 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
214 StableDocIterator const &)
215 * undo.C (recordUndo): use the above instead of cell.size() comparison
216 (fixes bug 1808; instructed by André).
218 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
221 * dociterator.h: Fix the assert when copying rows/cols in math
223 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
225 * BufferView_pimpl.C:
227 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
229 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
230 (findInset): new functions, refactored from goto Inset that return
231 the position of a certain inset without setting the buffer's cursor
233 (gotoInset): rewrite to call findInset and then set the cursor
236 2005-06-16 Angus Leeming <leeming@lyx.org>
238 * lyxrc.C (output, read): wrap all input and output of paths with
239 calls to os::internal_path and os::external_path, respectively.
240 (output): wrap bind_file inside quotes.
242 * format.C (view): enable the viewer to use the '$$s' placeholder.
244 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
246 * LColor.[Ch] (getFromLaTeXName): new
248 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
250 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
252 2005-06-14 Angus Leeming <leeming@lyx.org>
254 * lyx_main.C (init): ensure that the LyX binary dir is the first
255 element in the PATH on non-POSIX builds.
257 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
259 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
261 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
263 * rowpainter.C (paintInset, paintHebrewComposeChar)
264 (paintArabicComposeChar, paintChars): add a LyXFont argument.
265 (paintChars): use getFontSpan to reduce calls to getFont to a
266 minimum; use Paragraph::lookupChange instead of isXXXText.
267 (paintForeignMark): rename LyXFont argument.
268 (paintFromPos): pass a LyXFont object to the various paintXXX
271 * FontIterator.C (FontIterator, operator++): use
272 Paragraph::getFontSpan
274 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
275 version that returns the font span as a pair.
277 2005-06-09 Angus Leeming <leeming@lyx.org>
279 * converter.C (convert): Don't forget "outfile = real_outfile" as
280 the final step in a conversion where the input and output file names
281 are the same. Otherwise, future conversion steps won't work...
283 2005-06-09 Angus Leeming <leeming@lyx.org>
285 * lyxsocket.C: remove stub code as it isn't needed by
286 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
288 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
290 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
291 effectively disabled -x
293 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
295 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
296 when it actually makes sense.
298 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
300 * BufferView_pimpl.C: revert to showCursor in connection with
301 Lars's front-end stack
303 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
305 * text.C (redoParagraph): move cursor right after a bibitem
308 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
310 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
312 * buffer_funcs.C (bufferErrors): fix computation of the end of an
315 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
317 * BufferView.[Ch] (update):
318 * BufferView_pimpl.[Ch] (update, metrics):
319 * dimension.h (operator==):
320 * lyxfunc.C (dispatch):
321 * metricsinfo.h (ViewMetricsInfo):
322 * rowpainter.C (paintText):
324 * text.C (redoParagraph):
325 * text3.C (dispatch): Make LyX only repaint current paragraph in
326 case of character insert --> speedup. Also fix cursor draw
329 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
331 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
332 avoid a crash (bug 1891)
334 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
338 * text2.C (getStringToIndex): constify cur argument.
340 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
341 argument has been given
342 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
343 try to invoke LFUN_INSET_APPLY).
345 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
346 if no inset was created by doInsertInset
347 (doInsertInset): return true if an inset has been inserted.
349 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
351 * vspace.C (asGUIName): new method. A version of the space
352 suitable for showing on screen.
354 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
357 * lyxrc.C: rename "ASCII" to "Plain Text"
359 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
361 * buffer_funcs.C (expandLabel): take a Buffer as argument;
362 translate the labelstring.
363 (setCounter): translate labelstring as needed.
365 * output_docbook.C (makeCommand): fix expandLabel invokation
367 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
369 * BufferView.C: fix dialog title
371 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
373 * lyx_main.C (priv_exec): fix logic error with help from Angus
374 * lyx_main.C (parse_execute): set is_gui = false and remove now
375 obsolete comment about a segfault
377 2005-05-18 Angus Leeming <leeming@lyx.org>
379 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
381 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
383 * tabular.[hC]: added setCellInset to fix tabular paste.
385 2005-05-11 Lars Gullik Bjonnes <larsbj@gullik.net>
387 * buffer.C (save): check if destination is writable before trying
390 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
392 * BufferView_pimpl.C (update): fix processEvents -caused update
395 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
397 * buffer_funcs.C (setCounter): fix test for numbering of
400 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
401 depth correctly; use optional argument when it exists
403 * lyxtextclass.C: remove unused MaxCounterTags enum
404 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
405 (max_toclevel, min_toclevel): new methods.
407 * MenuBackend.C (expandToc2): fix case where depth is smaller than
408 the smallest depth in toc.
410 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
411 layouts that should not appear in a table of contents.
413 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
415 * cursor.h (undispatched, noUpdate): add comments from André
417 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
421 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
423 2005-05-07 André Pönitz <poenitz@gmx.net>
425 * cursor.[Ch] (leaveInset): new function
427 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
429 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
431 2005-05-04 Angus Leeming <leeming@lyx.org>
433 * lyxfunc.C (getStatus): disable the spell checker dialog if
434 none of USE_[AIP]SPELL are defined.
436 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
438 * tabular.C (setWidthOfCell): remove obsolete comment
440 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
442 * paragraph.C (bibitem):
443 * buffer_funcs.C (setCounter):
444 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
446 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
448 * text3.C (getStatus): immediately return after setOnOff
450 * rowpainter.C: fix drawing of appendix start
452 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
454 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
455 SwitchBetweenClasses and remove the unused return value.
456 Handle character styles, too
458 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
460 * factory.C (createInset): handle undefined character styles
462 2005-05-02 Angus Leeming <leeming@lyx.org>
464 * buffer.C: protect the #include of utime.h with a preprocessor
467 2005-05-02 Angus Leeming <leeming@lyx.org>
469 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
470 function so that auto-saving works, albeit in a blocking manner.
472 * Makefile.am: make compilation of the client sub directory, of
473 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
474 on conditionals set at configure time.
476 * SpellBase.[Ch]: no longer an abstract base class. Instead,
477 it can be compiled in its own right but has no-op functionality.
479 * aspell.C, pspell.C: remove preprocessor guards. The files should
480 be compiled only if the necessary functionality exists.
482 * lyxserver.C, lyxsocket.C: disable on Windows.
484 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
486 * text.C (leftMargin): Fix the parindent use bug (1764)
489 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
491 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
494 2005-04-25 Angus Leeming <leeming@lyx.org>
502 include <config.h> in .C files, not .h ones.
504 protect headers inside preprocessor guards.
506 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
508 * FuncStatus.h (StatusCodes): document
510 2005-04-21 André Pönitz <poenitz@gmx.net>
512 * FuncStatus.h (enabled, onoff): document
514 2005-04-19 Angus Leeming <leeming@lyx.org>
516 * BufferView_pimpl.C (cursorToggle): no longer test whether
517 any child processes have been reaped before calling
518 handleCompletedProcesses().
520 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
522 * text3.C (dispatch): fix, finally fix, the language problem in
523 new lyxtexts, without disabling on-the-fly font changes (Helge's
526 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
528 * text3.C (dispatch): set cursor on double/triple click events
531 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
533 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
534 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
536 * rowpainter.C (paintFirst): simplify the code a little bit. In
537 particular, remove the test for secnumdepth.
538 * text.C (setHeightOfRow): only allocate space for chapter number
539 when updateCounters provided an actual label, instead of looking
540 at secnumdepth directly.
542 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
544 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
545 paragraphs when secnumdepth is large enough or, for environments,
546 when they are not the first in a sequence.
548 2005-04-17 Angus Leeming <leeming@lyx.org>
550 * buffer.C (makeLaTeXFile): replace code to manipulate a path
551 containing space and '~' characters with a call to latex_path().
553 2005-04-17 Angus Leeming <leeming@lyx.org>
555 * converter.C (convert): protect all args of convertDefault.sh
558 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
560 * text3.C (dispatch): change the layout to "Caption" after inserting
563 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
565 * text3.C (dispatch): fix language problem in newly created
566 textinsets (and main text) in non-english docs
568 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
570 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
571 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
572 * text3.C (getStatus): disable LFUN_INSET_MODIFY
574 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
579 * rowpainter.C (getFont): Fix metrics bug introduced by inset
582 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
584 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
585 output of \item arguments without trailing text.
587 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
589 * FontIterator.C (operator*): avoid a copy of the font.
591 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
593 * rowpainter.C (getFont): fix language bug from previous fix
595 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
597 * rowpainter.C (RowPainter, getFont): fix font inside inset
600 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
602 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
603 preventing inserted font, deco, delim insets jumping to start of
606 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
608 * lyxfunc.C (dispatch): translate message before sending it to the
611 2005-03-29 Angus Leeming <leeming@lyx.org>
613 * lyx_main.C (priv_exec): call os::internal_path on each file passed
614 to LyX on the command line.
616 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
618 * vc-backend.C: use QuoteName to protect file names wherever
621 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
624 * BranchList.h: fix bugs 1844,1845: document settings don't
627 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
629 * lyxrc.C (setDefaults, read, output, getDescription): add support
630 for tex_allows_spaces.
632 * exporter.C (Export): allows files in directory containing spaces
633 if tex_allows_spaces is true.
635 * buffer.C (makeLaTeXFile): if the document path contains spaces,
636 output it in double quotes.
638 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
640 * rowpainter.C: use default text height for drawing change tracker
643 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
645 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
647 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
649 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
650 directory is missing.
652 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
654 * text2.C: fixed the fix, extended to other case.
656 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
658 * text2.C: fix for cursor up/down stuck in math [bug 1792]
660 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
662 * text2.C (cursorUp): get rid of a crash
663 * text.C (x2pos): add an assert
665 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
667 * lyxfunc.C (getStatus): fix warning when assertions are disabled
671 * dociterator.C: include <boost/current_function.hpp>, which is
672 needed when assertions are disabled.
674 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
676 * text2.C: fix for stuck cursor when traversing two
677 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
679 2005-02-25 Andreas Vox <avox@arcor.de>
681 * output_docbook.C (makeParagraph): suppress trailing newline
682 after a run of paragraphs
684 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
686 * paragraph.C: fix for confused change tracker when pasting
687 text that begins with a lineseparator. [bug 1827]
688 (setChange(0, Change::INSERTED);)
690 * paragraph_funcs.C: fix for lost changes on triple-paste
691 in change tracking mode [bug 1827] (par.setChange()).
693 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
695 * text2.C (updateCounters, setCounter, expandLabel): move to
698 * buffer_funcs.C (updateCounters): turn into a free standing
699 function and add a buffer parameter. Remove dead code for tracking
701 (setCounter): change into a free-standing function which gets a
702 dociterator as argument. Use this iterator to fix captions in a
703 simple way. When no float is found above the caption, use the
704 labelstring of the caption layout as default.
706 * text.C (breakParagraph, backspace):
707 * text2.C (init, setLayout, changeDepth):
708 * text3.C (dispatch):
709 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
712 * dociterator.C (forwardPar): make it much faster by calling
713 forwardPos() only when really necessary.
715 * output_docbook.C (makeCommand): adapt to expandLabel move.
717 * cursor.C: remove unused variable
719 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
721 * paragraph_funcs.C: fix crash when pasting insets in change
722 tracking mode [bug 1277] (honour change type in moveItem).
724 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
726 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
728 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
730 * BufferView.C (setCursor): change to use a DocIterator.
731 (gotoLabel): use BufferView::setCursor (other part of bug 781).
732 (putSelectionAt): adapt to BufferView::setCursor change.
734 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
735 moved here from LyXText and rewritten to use proper cursor
736 methods. Fixes bug 1787, 616 and 835.
738 * BufferView_pimpl.C (restorePosition): set the cursor correctly
739 when inside an inset (part of bug 781).
740 (dispatch): adapt to change of BufferView::setCursor.
741 (getStatus, dispatch): handle LFUN_GOTOERROR,
742 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
744 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
745 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
746 * text3.C (gotoNextInset, gotoInset): removed.
748 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
750 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
752 2005-02-15 Angus Leeming <leeming@lyx.org>
754 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
755 can be used meaningfully in a comparison.
757 2005-02-13 André Pönitz <poenitz@gmx.net>
759 * bufferview_funcs.C (coordOffset): improve cursor drawing
761 2005-02-13 André Pönitz <poenitz@gmx.net>
763 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
764 * Cursor.C (dispatch): use fixIfBroken
765 * lyxfunc.C (getStatus): use fixIfBroken
767 2005-02-15 Angus Leeming <leeming@lyx.org>
769 * lyx_main.C (error_handler):
771 * lyxrc.C (setDefaults):
773 #include "environment.h".
775 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
777 2005-02-15 Angus Leeming <leeming@lyx.org>
779 * lyxserver.C (startPipe): squash MSVC warning "local variable
780 'fd' used without having been initialized".
782 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
784 * BufferView_pimpl.C: revert accidental commit.
786 2005-02-14 André Pönitz <poenitz@gmx.net>
788 * dociterator.[Ch]: new member forwardPosNoDescent(),
789 which doesn't enter nested insets.
790 * text2.C (setFont): use forwardPosNoDescent() instead
791 of ForwardPos() (fixes crash on font change).
793 2005-02-13 Angus Leeming <leeming@lyx.org>
795 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
796 only if lyxrc.path_prefix is not empty.
798 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
800 * bufferparams.C (readGraphicsDriver): prevent crash
802 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
804 * text2.C (setCounter): check for inInset() == 0
806 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
808 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
809 but use update() to get correct screen display; use convert
810 instead of istringstream.
811 (getStatus): handle LFUN_GOTO_PARAGRAPH
813 * lyxfunc.C (dispatch, getStatus): do not handle
814 LFUN_GOTO_PARAGRAPH here.
816 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
818 * text3.C (dispatch): size() -> depth()
820 * text2.C: remove some debug output
822 * paragraph.C: ws changes only
824 * lyxfunc.C (getStatus): size() -> depth()
826 * dociterator.h (clear, push_back, pop_back, internalData,
827 operator[], resize, empty): new functions
828 Make StableDocIterator and operator== be friends. Don't inherit
829 from std::vector use a privat class variable slices_ instead.
832 * dociterator.C: update because of not inheriting from std::vector
833 anymore. Call explictly to slices_ instead. Use depth() instead of
834 size() and top() instead of back()
836 * cursor.C: chagne size() -> depth and back() -> top(). Also
837 remove some direct operator[](i) calls in favour of foo[i]
838 (getFont): remove some dead code
840 * bufferview_funcs.C (coordOffset): size() -> depth()
842 * buffer.C: ws changes only
844 * CutAndPaste.C (eraseSelection): back() -> top()
846 * BufferView_pimpl.C (selectionRequested): back() -> top()
848 * BufferView.C (setCursor): size() -> depth()
850 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
852 * text3.C (cursorPrevious): return true if depm changed something
854 (dispatch): rename sl to oldTopSlice, remove moving use the new
855 NoUpdate func attrib instead. Make sure that needsUpdate is set
856 for function that have NoUpdate, but where depm might have changed
859 * text2.C (cursorLeft): make us return true if depm changed
862 (cursorUpParagraph): ditto
863 (curosrDownParagraph): ditto
864 (cursorUp, cursorDown): ditto, make sure to read comments in code
865 (deleteEmptyParagraphMechanism): remove an assert, also return
866 true if just a single char was deleted.
868 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
869 cursor that we modify, to avoid modifying an active cursor before
870 we call setCursor. This allows depm to run. Also return true if
871 depm deleted something.
873 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
874 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
875 cursorDownParagraph, cursorPrevious and cursorNext, return true if
876 something was changed in the buffer because of them (ie. depm run)
878 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
879 debug messages. Make update by default be false. Make sure that
880 the result of update is retained throught several calls down to
883 * LyXAction.h: add a new func_attrib: NoUpdate
885 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
886 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
887 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
889 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
891 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
893 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
894 bv_->owner(), bv_->buffer() by direct references to the private
896 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
897 (getStatus): isSavedPosition() is in BufferView::Pimpl.
898 (fitCursor): center() is in BufferView::Pimpl.
899 (getStatus, trackChanges, dispatch): no need for a temporary buf
901 (fitCursor, workAreaDispatch): use workarea().workheight()
903 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
905 * CutAndPaste.C (pasteSelectionHelper): fix a crash
907 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
909 * buffer.C: format up to 241.
910 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
911 break if pasting into ERT
912 * lyxfunc.C (getStatus): suppress mathpanel and
913 LFUN_DIALOG_SHOW_NEW_INSET in ERT
915 2005-02-01 Angus Leeming <leeming@lyx.org>
917 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
919 2005-02-01 Angus Leeming <leeming@lyx.org>
921 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
922 calling fs::is_directory().
924 2005-01-31 Angus Leeming <leeming@lyx.org>
926 * lyx_main.C (priv_exec): specify explicitly the relative location
927 of the top level build directory when run in-place.
929 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
931 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
932 LyXText containing the cursor, not the top-level one.
934 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
936 (insertStringAsLines): rename par to pit; use temporary variable
937 par to hold a Paragraph; do not store par.layout() in a variable,
938 since the pointer may die when breaking paragraphs; pass pars to
939 breakParagraph() instead of Buffer::paragraphs().
941 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
943 * lyxlex_pimpl.h: #include <fstream>.
945 * BufferView.[Ch] (getLyXText): add a const version.
947 * BufferView_pimpl.C: add debug aids.
952 * paragraph_funcs.h: add commentary explaining what the class does.
955 * coordcache.[Ch]: add lots of commentary.
956 (startUpdating, doneUpdating): debug aids.
957 (arrays, insets, parPos, getParPos): accessors to private data.
959 * cursor_slice.[Ch] (text): add a const version.
960 * dociterator.[Ch] (text, innerText): add const versions.
962 * lyxtext.h (breakParagraph): change the keep_layout arg to a
965 * paragraph.C (getRow, pos2ros): add asserts.
967 * paragraph.h: add commentary. Lots of.
969 * paragraph.[Ch] (metrucs, draw): removed.
972 * rowpainter.[Ch]: const-correct changes.
974 * text.C: various obvious clean-ups. Removal of ancient cruft.
977 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
979 * vc-backend.C (find_file): rewrite to use boost.filesystem
982 * main.C (main): set default name check for boost.filesystem to
985 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
988 (actOnUpdatedPrefs): ditto
990 * lyx_main.C (init): rewrite to use boost.filesystem
991 (queryUserLyXDir): ditto
993 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
994 (getContentsOfAsciiFile): ditto
996 * lastfiles.C (readFile): rewrite to use boost.filesystem
998 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1000 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1001 (loadLyXFile): ditto
1003 * buffer.C (Buffer): adjust for destroydir
1004 (getLogName): rewrite to use boost.filesystem
1005 (setFileName): ditto
1006 (save): use fs::copy_file (from fs_extras)
1008 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1010 * LaTeX.C (run): rewrite to use boost.filesystem
1011 (scanAuxFiles): ditto
1012 (handleFoundFile): ditto
1014 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1016 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1018 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1020 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1022 * lyxlayout.[Ch]: change some vars from float to double
1024 * buffer.C (readFile): make a local var const
1026 * Several files: use convert<> instead of atoi,strToXXX and friends
1028 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1030 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1031 holds the contents of packages.lst. New functions getAvailable
1032 and isAvailable to parse and check that list, resp.
1036 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1038 * bufferparams.[Ch]: new param output_changes.
1040 * Buffer.C: increase file format to 240.
1041 Use output_changes and isVailable.
1045 * paragraph_pimpl.C: Use output_changes and isVailable.
1047 2005-01-23 Angus Leeming <leeming@lyx.org>
1049 * output_latex.C: #include "insetbibitem.h", rather than
1050 forward declare function bibitemWidest.
1052 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1054 * lyx_main.C (init): make it compile on the Mac.
1056 2005-01-20 Angus Leeming <leeming@lyx.org>
1058 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1059 (setLyXMisc): (char string literal) != (char string literal) is
1060 performing a comparison on the addresses. Convert one operand
1061 explicitly to string to guarantee expected behaviour.
1064 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1067 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1069 * output_plaintext.C: remove unneeded #include gzstream.h.
1071 2005-01-20 Angus Leeming <leeming@lyx.org>
1073 * SpellBase.h: rename some of the elements of the Result enum.
1080 * pspell.C (check): ditto
1082 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1084 * buffer.C: add #include <fstream>.
1086 * lyx_main.C (init): Compile fix.
1088 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1090 2005-01-20 Angus Leeming <leeming@lyx.org>
1092 * mover.h: change commentary to reflect the changed meaning of
1093 the $$s placeholder.
1095 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1097 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1099 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1101 2005-01-20 Angus Leeming <leeming@lyx.org>
1103 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1104 printing diagnostic data by not dereferecing an iterator past the
1107 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1109 * buffer.C (readHeader): use "&&" rather than "and".
1111 * lyxserver.h (inPipeName, outPipeName): make these const.
1113 2005-01-19 Angus Leeming <leeming@lyx.org>
1115 * lyx_main.C (error_handler, init): protect SIGHUP with
1116 #ifdef SIGHUP guards.
1118 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1120 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1122 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1124 * text.C (setHeightOfRow): add a margin at the top and bottom of
1125 the document (bug 1761)
1127 2005-01-17 Angus Leeming <leeming@lyx.org>
1129 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1130 with "python ". Workaround for a brain-dead Windows.
1132 2005-01-16 Angus Leeming <leeming@lyx.org>
1134 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1135 for MacOSX and Windows to use prependEnvPath.
1136 Strip out the hard-coded block to add elements to the PATH for
1137 MacOSX and replace it with a call to prependEnvPath using the
1138 contents of LyXRC::path_prefix.
1139 (queryUserLyXDir): strip out the code to run reconfigure, instead
1140 returning a boolean indicating the necessity to do so.
1141 (reconfigureUserLyXDir): contains the code to reconfigure the
1142 user support directory. Is now called after the various LyXRC data
1143 files have been read.
1145 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1147 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1149 * converter.[Ch] (convert): take a new parameter try_default. Use
1150 a default converter (imagemagick) if try_default is true.
1152 2005-01-13 Angus Leeming <leeming@lyx.org>
1154 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1155 os::cygwin_path_fix.
1156 (write): output LyXRC::cygwin_path_fix as necessary.
1158 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1161 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1163 2005-01-12 Angus Leeming <leeming@lyx.org>
1165 * lyx_main.C (init): set the PATH variable to include the
1166 directory containing the LyX binary when running on Mac or Windows.
1168 2005-01-12 Angus Leeming <leeming@lyx.org>
1170 * lyx_main.C (init): remove cruft that purports to set the locale
1171 dir. It doesn't and is not needed anyway.
1173 2005-01-10 Angus Leeming <leeming@lyx.org>
1175 * Makefile.am: remove the lyx_main.C special casing.
1177 * BufferView_pimpl.C:
1183 * messages.C: use support/package.h to provide the paths to the
1184 various directories used by LyX.
1186 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1188 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1189 layout if pasting into an empty paragraph)
1191 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1193 * tex-accent.C: add <string>
1195 2005-01-06 José Matos <jamatos@lyx.org>
1197 * ParagraphParameters.C (write): put every parameter in its own line.
1198 * paragraph.C (write): reduce number of consecutive empty lines exported.
1199 * buffer.C (LYX_FORMAT): increase file format to 239.
1201 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1203 * everywhere: change support/tostr.h -> support/convert.h
1205 * tabular.C: make all write_attributes templates, tostr -> convert
1207 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1208 (emptyTag): and -> &&, and fix type for ret from getChar
1209 (getFirstWord): fix type for ret from getChar
1210 (onlyText): and -> &&
1211 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1214 * toc.C (goTo, action):
1215 * text3.C (dispatch):
1216 * text.C (currentState):
1217 * tex-accent.C (DoAccent):
1220 * lyxfunc.C (menuNew):
1221 * lyxfinc.C (replace):
1222 * counters.C (laberItem):
1223 * bufferview_funcs.C (font2string):
1224 * bufferparams.C (writeFile):
1225 * buffer.C (readFile):
1227 * MenuBackend.C: tostr -> convert
1229 * LaTeX.C (runMessage): fix format
1230 (scanAuxFiles): tostr -> convert
1232 * BufferView_pimpl.C (savePosition): fix format
1233 (restorePosition): ditto
1236 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1238 * Spacing.[Ch]: New method getValueAsString().
1242 * ParagraphParameters.C:
1245 * text3.C: store/read spacing value as string.
1247 * rowpainter.C: change float value (spacing_val) to double.
1249 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1250 broken custom document spacing).
1252 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1254 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1255 namespace, also more use of temp references and const
1257 * cursor.[Ch] (getStatus): move to lyxfunc.C
1259 * bufferparams.C: reformat slightly
1261 * bufferview_funcs.C (font2string): constify arg
1267 * buffer_funcs.C: (many funcs): constify arg on function
1268 definitions, also make more local vars const, also add ASSERTS on
1271 * buffer.C (LYX_FORMAT): put const in correct place
1272 (many funcs): constify arg on function definitions, also make
1273 more local vars const
1275 * aspell_local.h: remove "struct" from typdef setup
1277 * aspell.C (check): make word_ok const
1278 (nextMiss): simplify slightly
1281 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1283 * lyxrc.[Ch]: store all float values as strings.
1284 use int (not float) for lyxrc.dpi.
1286 2005-01-04 Angus Leeming <leeming@lyx.org>
1288 * lyx_cb.C (Reconfigure):
1289 * lyx_main.C (queryUserLyXDir):
1290 to run the <system_lyxdir>/configure correctly on Windows, prefix
1291 the path to the script with "sh " when generating the string that
1292 is passed to system().
1294 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1296 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1298 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1300 * lyxlength.C (asLatexString): get rid of setprecision
1302 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1304 * text2.C (setLayout): remove unused variable endpit.
1305 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1307 * paragraph.C (onlyText): remove unused variable style.
1309 * cursor.C (bruteFind): remove unused variables beg and end.
1311 * Makefile.am (dist_noinset_DATA): not needed anymore
1313 * cheaders/*: remove.
1315 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1317 * text3.C: fix LFUN_MATH_MODE.
1319 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1321 * buffer_funcs.C (countWords): new function. Counts words between
1324 * BufferView_pimpl.C (getStatus, dispatch): handle
1327 * LyXAction.C (init):
1328 * lfuns.h: add LFUN_WORDS_COUNT.
1330 2004-12-19 Angus Leeming <leeming@lyx.org>
1332 * buffer.C (save): s/slashify_path/internal_path/.
1334 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1336 * lyxfind.C (findChange): do not search for end of pars, because
1337 the change tracker cannot handle this (fixes bug 1719).
1339 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1341 * paragraph.[Ch] (autoBreakRows): remove
1343 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1345 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1346 avoid using the paragraph one
1348 * text2.C (LyXText, insertStringAsLines): adjust
1350 2004-12-16 Angus Leeming <leeming@lyx.org>
1354 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1356 2004-12-14 Angus Leeming <leeming@lyx.org>
1358 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1360 * bufferlist.C (emergencyWrite):
1361 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1364 2004-12-14 Angus Leeming <leeming@lyx.org>
1366 * main.C: (main): no longer pass pointers to os::init.
1368 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1370 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1371 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1373 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1376 * text3.C: remove selection_possible global flag
1378 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1380 * text2.C (getSelectionSpan): remove
1381 (changeDepth, changeDepthAllowed): adjust
1383 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1385 * Makefile.am (BOOST_LIBS): use boost variables
1387 2004-12-03 José Matos <jamatos@lyx.org>
1389 * buffer.C: format up to 238.
1391 2004-12-03 José Matos <jamatos@lyx.org>
1393 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1395 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
1397 * cursor.C (goUpDown): remove call to idxUpDown2
1399 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1401 * tabular.[Ch]: use size_t-like types for cell, row and column
1404 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1406 * lyxfunc.C (getStatus): do not lose previous information when
1407 calling BufferView::getStatus; do not set a default "Command
1408 disabled" message at the beginning, but just before returning.
1410 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1412 * cursor.h (getStatus): add better comment from src/cursor.C
1414 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1416 * text3.C (getStatus): return false when the lfun is not handled
1418 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1420 * broken_headers.h: remove
1422 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1424 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1426 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1427 offset_ref accessors
1429 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1430 top_y_, merge fitcursor with update
1431 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1433 (metrics): introduce
1434 (workAreaDispatch): adapt to new coord scheme
1435 (redoCurrentBuffer): remove
1437 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1439 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1442 * coordcache.[Ch]: add paragraph cache and helpers
1444 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1447 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1448 (targetX, setTargetX): introduce
1450 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1451 baseline -> ascent, as the rest of lyx
1453 * lyxtext.h: remove redoParagraphs, updateParPositions,
1454 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1455 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1456 have ascent/descent (ascent is ascent of first par)
1458 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1461 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1463 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1465 * pariterator.C: fix infinite loop introduced in par->pit renaming
1467 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1468 in insets and LyXText, draw two off-screen paragraphs using
1469 NullPainter, and adapt to new coord scheme
1473 * text3.C: adapt lfun handlers to the new coord scheme, which
1474 means: there's only guaranteed coord information for onscreen pars
1475 plus one above and one below. This implies that one can do search
1476 from y coordinates in the range [-1,workHeight]
1478 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1480 * rename a lot of InsetOld to InsetBase
1482 2004-11-25 Angus Leeming <leeming@lyx.org>
1484 * BufferView_pimpl.C:
1486 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1488 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1490 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1491 call BufferView::getStatus if LCursor::getStatus did nothing
1492 (setStatusMessage, getStatusMessage): removed.
1494 * FuncStatus.C (message): new methods. Used to provide an error
1495 message indicating why a command is disabled.
1496 (clear, |=, FuncStatus): update for message.
1498 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1500 * lyxfunc.C (dispatch): always call sendDispatchMessage
1502 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1505 * BufferView_pimpl.C:
1510 * cursor_slice.[Ch]:
1513 * paragraph_funcs.C:
1519 * undo.C: par->pit renaming
1521 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1523 * tabular.C (cellstruct): use initialization, store a shared_ptr
1524 to insettext instead of the insettext directly, adjust to fit.
1525 (operator=): new function
1526 (swap): new function
1527 (rowstruct): use initialization
1528 (columnstruct): use initialization
1529 (ltType): use initialization
1532 * lyxlength.h (swap): new function
1534 * LColor.[Ch] (operator=): use the common semantics
1536 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1538 * lyxfind.C (findNextChange): update the bufferview after setting
1541 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1543 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1544 number of InsetOptArgs has already been inserted.
1546 * output_latex.C (latexOptArgInsets): new method. This outputs all
1547 the optarg insets, up to the limit defined in the layout file.
1548 (optArgInset): removed
1549 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1551 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1553 * paragraph.C (isLetter): remove special spellchecker-related
1554 code; return true also for digits
1555 (isWord, isKomma): remove
1557 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1558 * lyxfind.C (MatchString()): use isLetter instead of isWord
1560 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1562 * pariterator.h (operatir=): comment out un-implemented member
1565 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1568 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1570 * lyxfont.h: include LColor.h to satisfy concept checks.
1572 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1574 * pariterator.h: add typdefs for value_type, difference_type,
1575 pointer and reference to satisfy concept checks. Also add default
1576 constructor for same reason.
1578 * pariterator.C (operator++): add post-increment operator to
1579 satisfy concept checks.
1581 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1584 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1586 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1587 checks. Also rename base_type to BaseType to follow naming
1590 * FloatList.h: include Floating.h to satisfy concept checks.
1592 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1594 * lyxfunc.C (getStatus): when the origin of the request is menu or
1595 toolbar, and the LyXView does not have focus, do as if there was
1596 no buffer (bug 1720)
1598 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1599 FuncRequest to individual entries of LFUN_SEQUENCE
1601 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1603 * output_latex.C (TeXOnePar): override runparams.moving_arg
1604 according to the needprotect value of the current paragraph (bug
1607 * paragraph.C (simpleTeXOnePar): no need to override
1608 runparams.moving_args here
1610 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1612 * vspace.C: fix off-by-one-error, related to fix #1682
1614 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1616 * lengthcommon.C: a more general fix for bug 1682
1618 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1620 * text.C (backspace): fix crash
1622 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1624 * format.[Ch] (getFormatFromFile): new method
1625 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1627 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1629 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1631 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1633 * lyxfunc.C (dispatch): remove the verbose argument
1634 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1637 * kbmap.C (defkey): set the origin of func to KEYBOARD
1639 * MenuBackend.C (MenuItem):
1640 * ToolbarBackend.C (add): set the origin of func to UI
1642 * funcrequest.[Ch]: add origin member, which indicates which part
1643 of LyX requests an action
1645 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1647 * converter.C (move): don't lie in the error message
1648 * converter.h (isReachable, move): document
1650 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1652 * buffer.C: remove unused using lyx::support::atoi
1653 * paragraph_funcs.C: ditto
1655 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1657 * bufferlist.C (exists): use bind and equal_to instead of
1660 * lyxtextclasslist.C (NumberOfClass): ditto
1662 * cursor.C (insert): use for_each instead of explicit for loop
1664 * bufferlist.C (getFileNames): use std::transform and
1665 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1667 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1670 * buffer.C (changeLanguage): use for_each instead of explicit for
1672 (hasParWithID): implement using getParFromID
1674 * LaTeXFeatures.C: ws change only
1676 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1679 * BufferView_pimpl.C (trackChanges): use for_each instead of
1682 2004-11-04 André Pönitz <poenitz@gmx.net>
1685 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1687 * dociterator.C (asDocIterator): use hard assert again.
1689 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1691 * lyxlength.C (asLatexString): rewrite so that it does not use
1694 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1696 * text3.C (specialChar, dispatch): make sure cursor moves to the
1697 right after inserting an inset
1699 2004-11-02 José Matos <jamatos@lyx.org>
1701 * output_docbook.C (docbook):
1702 * paragraph.C (getID):
1703 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1704 garantee that the output is always legal.
1706 * tabular.C (docbook):
1707 * outputprams.[Ch]: remove mixed contents.
1709 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1711 * text2.C (setCounter): prevent endless loop
1713 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1715 * exporter.C (copyFile): use the mover instead of support::copy()
1716 * exporter.C (Export): pass format and latex name to copyFile()
1717 * exporter.h (addExternalFile): document
1718 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1720 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1722 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1724 2004-10-30 José Matos <jamatos@lyx.org>
1726 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1727 text and no inset or font change. This allows to use CDATA
1728 sections just for the whole paragraph.
1730 2004-10-30 José Matos <jamatos@lyx.org>
1732 * paragraph.C (getFirstWord): remove unused variable.
1734 2004-10-30 José Matos <jamatos@lyx.org>
1736 * paragraph.C (getFirstWord): the content should always be escaped
1738 (simpleDocBookOnePar):
1739 * output_docbook.C (makeEnvironment): replace reference to CDATA
1742 2004-10-30 José Matos <jamatos@lyx.org>
1744 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1746 2004-10-30 José Matos <jamatos@lyx.org>
1748 * output_docbook.C (makeParagraphs):
1749 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1750 standard paragraph has only a given type of content drop the wrapper.
1752 2004-10-29 José Matos <jamatos@lyx.org>
1754 * output_docbook.C (makeEnvironment):
1756 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1758 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1760 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1761 (cleanID): sanitize any id.
1763 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1765 * buffer.C, lyxlex_pimpl.C:
1766 * lyxlex_pimpl.C (setFile):
1767 s/getExtFromContents/getFormatFromContents/
1769 2004-10-28 José Matos <jamatos@lyx.org>
1771 * output_docbook.C (makeEnvironment): move id to broadest possible
1774 * sgml.C (openTag): apply substitution of <> for all attributes.
1776 2004-10-28 José Matos <jamatos@lyx.org>
1778 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1779 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1780 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1782 * sgml.[Ch]: new version for open and closeTag for paragraph and
1783 for strings. Now they handle the ids of paragraphs.
1785 2004-10-26 Angus Leeming <leeming@lyx.org>
1787 * Makefile.am: add mover.[Ch].
1789 * converter.C (convert, move): use the new Movers to move external
1790 files to the temp directory.
1792 * lyx_main.C (init): ensure that the global system_movers data
1795 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1798 * mover.[Ch]: new files, defining a Mover as a utility to move an
1799 external file between directories and, if necessary, manipulate this
1800 file using a helper script.
1802 2004-10-25 José Matos <jamatos@lyx.org>
1804 * output_docbook.C (makeCommand): merge two if's that tested the
1807 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1809 * sgml.C (escapeString): fix warning in a better way
1811 2004-10-25 José Matos <jamatos@lyx.org>
1813 * sgml.C (escapeString): import the require boosts header file for
1814 tie, and avoid a signed unsigned comparison.
1816 2004-10-25 José Matos <jamatos@lyx.org>
1818 * sgml.h: add #include <string>
1820 2004-10-25 José Matos <jamatos@lyx.org>
1822 * sgml.[Ch] (escapeString): new function to escape all the string.
1824 2004-10-24 José Matos <jamatos@lyx.org>
1826 * paragraph.[Ch] (getFirstWord): new function to get the first
1827 word. Useful for description.
1828 (simpleDocBookOnePar): remove depth argument, add another that
1829 says where to start the paragraph.
1831 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1832 use the new functions to fix cleanly the support for descriptions.
1834 2004-10-24 José Matos <jamatos@lyx.org>
1836 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1837 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1838 * output_linuxdoc.C (linuxdocParagraphs):
1839 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1840 add buffer as argument.
1842 2004-10-24 José Matos <jamatos@lyx.org>
1844 * output_docbook.C (makeEnvironment, searchEnvironment): place
1845 CDATA inside paragraphs and fix scope for listitems.
1847 2004-10-24 José Matos <jamatos@lyx.org>
1849 * output_docbook.C: remove using statement for stack.
1851 2004-10-23 José Matos <jamatos@lyx.org>
1853 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1854 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1855 docbook. The new scheme is recursive and makes use of iterators, the
1856 same as latex export works.
1857 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1858 directly with the paragraph contents. This code was moved up to
1859 output_docbook.C (docbookParagraphs).
1860 * sgml.C (openTag, closeTag): removed unneeded newlines.
1861 (closeEnvTags) removed.
1863 2004-10-23 André Pönitz <poenitz@gmx.net>
1865 * undo.C (textUndoOrRedo):
1866 * dociterator.C (asDocIterator): work around crash
1868 * cursor.C (getStatus): replace ASSERT by more verbose error message
1869 and manual correction of the problem. Should increase stability
1870 while providing more sensible information.
1872 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1874 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1876 * bufferlist.C (previous, next): new methods
1879 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1881 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1883 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1884 entities to preamble.
1886 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1888 * messages.C (Pimpl): strip off translation context information
1890 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1892 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1893 the cursor is correct (bug 1694)
1895 2004-10-13 José Matos <jamatos@lyx.org>
1897 * output_docbook.C (docbookParagraphs): fix closing tags in the
1898 end of the document.
1900 2004-10-09 José Matos <jamatos@lyx.org>
1902 * buffer.C: format up to 237.
1903 * bufferparams.C (write): use tostr to convert booleans to strings.
1905 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1907 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1909 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1911 * LaTeX.C: implement use of babel language in xindy.
1913 2004-10-05 José Matos <jamatos@lyx.org>
1915 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1916 Add new translators to help reading and writing the lyx file.
1918 2004-10-05 José Matos <jamatos@lyx.org>
1920 * ParagraphParameters.C (read):
1921 * text.C (readParToken): replace nexToken by more appropriate lex
1924 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1926 * LaTeX.C (runMakeIndex):
1927 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1928 (usually 'makeindex') configurable.
1930 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1931 with a variable rather than with a number.
1933 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1935 * output_latex.C (TeXOnePar): make sure font setting is the first
1936 thing that gets output (and the last at the end). Should fix bug
1939 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1941 * pch.h: use proper signal include
1943 * LaTeX.h: Use preferred calling of Boost.Signal
1946 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1948 * pch.h: dont include <boost/function/function0.hpp>
1950 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1952 * paragraph_pimpl.h: remove usage of ShareContainer
1954 * paragraph_pimpl.C: remove initialization of ShareContainer.
1956 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1960 * BufferView.C (putSelectionAt): change the semantics when
1961 backwards == true: now, this just swaps cursor and anchor wrt the
1964 * BufferView.h (putSelectionAt): add some documentation
1966 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1967 make sure backwardChar is done at least once (to avoid getting
1969 (findNextChange): use putSelectionAt in the forward direction
1970 (operator()): use Paragraph::isWord
1972 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1974 * Spacing.C (set): c_str fix
1976 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1978 * lyx_cb.C (Reconfigure): quote the name of configure script in
1979 case it contains spaces
1981 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1985 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1986 (BOOST_LIBS): use top_buildir when looking for the file
1988 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1990 * pch.h: do not use include boost/format.hpp, multiple symbols
1991 will result (gcc bug)
1994 2004-08-23 José Matos <jamatos@lyx.org>
1996 * bufferparams.C (readToken): fix reading of the author field.
1998 2004-08-20 José Matos <jamatos@lyx.org>
2000 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2002 2004-08-20 José Matos <jamatos@lyx.org>
2004 * lyxlex.[Ch] (findToken): remove function.
2006 * ParagraphParameters.C (findToken):
2007 * bufferparams.C (findToken): replace call for previous function
2008 with local copy. This local function has one more argument, the
2009 read string argument.
2011 2004-08-16 José Matos <jamatos@lyx.org>
2013 * ParagraphParameters.C (write):
2014 * Spacing.C (writeFile):
2015 * bufferparams.C (writeLaTeX):
2016 * lyx_cb.C (Reconfigure):
2017 * paragraph.C (write):
2018 * tabular.C (write): remove unnecessary space at end of line.
2021 2004-08-16 José Matos <jamatos@lyx.org>
2023 * text.C (readParagraph): remove debug message.
2025 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2027 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2030 * output_plaintext.C (asciiParagraph): set depth correctly
2032 * outputparams.h: add member depth
2034 * paragraph_funcs.C (ownerPar): remove.
2036 * text2.C (setCounter): remove first_pit; comment out some
2037 non-working code that uses ownerPar
2039 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2042 2004-08-16 José Matos <jamatos@lyx.org>
2044 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2045 For the same level of importance use the same chanel to report problems.
2046 (read): add code to deal with \begin_body and \end_body.
2049 2004-08-15 José Matos <jamatos@lyx.org>
2051 * lyxlex.C (getString): fix comment, buffer::readBody is now
2052 buffer:readDocument.
2054 * tex-strings.C (string_papersize): Default -> default,
2055 Custom -> custom, for consistency with other options.
2057 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
2061 * Makefile.am: support pch
2063 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2065 * text.C (readParToken): remove the static LyXFont variable and
2066 pass it as a parameter instead. This fixes a nasty bug where an
2067 inset will be inserted with a bad font in some situations
2068 (readParagraph): adapt
2070 * text2.C (setCounter): reduce number of calls to pars_[pit]
2072 * text.C (singleWidth): add an assert, fix a test
2074 * rowpainter.C (paintText): reduce number of calls to singleWidth
2076 * paragraph.C (isHfill):
2077 (isNewline): ws only
2079 2004-08-14 André Pönitz <poenitz@gmx.net>
2084 * lyxtext.h (several functions): use a Paragraph & argument
2087 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2089 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2091 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2093 * text.C (singleWidth): remove useless test
2095 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2097 * tabular.h: remove bogus comments
2099 * tabular.C (getDescentOfRow):
2100 (isPartOfMultiColumn): add assertions
2102 * lyxlength.C (inPixels): remove #warning
2104 2004-08-14 André Pönitz <poenitz@gmx.net>
2106 * paragraph.h: inline getChar()
2108 * BufferView.h: remove unused declarations
2110 2004-08-14 José Matos <jamatos@lyx.org>
2112 * Buffer.[Ch] (readDocument): new name for old readBody.
2113 * Buffer.C: new file format, new keywords: \begin_document,
2114 \begin_header, \begin_body, \end_body.
2116 * bufferparams.C (readToken): replace all calls to lex.nextToken
2117 by lex.next(). Do the same to eatLine except where really needed.
2119 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2120 line when writing to the lyx file.
2122 * output_plaintext.C (asciiParagraph): fix Bibliography style
2125 * text.C (read): fix end of file handling.
2127 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2129 * MenuBackend.C (Menu::operator[]): new method to access
2130 individual menu items
2131 (Menu::hasFunc): new method. search for an item that corresponds
2133 (MenuBackend::specialMenu): new method
2134 (MenuBackend::expand): if a special menu has been set, skip
2135 entries whose func() appears in this menu
2137 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
2139 * text3.C: use Debug::DEBUG a bit more
2141 * text.C (leftMargin): try to simplify a tiny bit change var x to
2142 l_margin. Dont output the wide margins always.
2143 (rightMargin): no margin in inner texts
2145 * rowpainter.h (nestMargin): new func
2146 (changebarMargin): new func
2147 (rightMargin): new func
2149 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2153 * factory.C (createInset): modify setDrawFrame
2155 * cursor.C: use Debug::DEBUG a bit more
2157 2004-08-14 André Pönitz <poenitz@gmx.net>
2160 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2161 cache for all insets in (at least partially) visible (top-level)
2164 * BufferView_pimpl.C: reset external coord cache before every update.
2165 This means the coord cache only contains valid entries.
2167 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
2170 * BufferView_pimpl.C (getInsetByCode): move function out of class
2171 and change in to a template in anon namespace. Also fix to do what
2174 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
2177 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2179 (breakParagraph): rename par to par_offset and use a local
2180 reference. Add code to keep the language over a rebreak.
2181 (breakParagraphConservative): rename par to par_offset, use a
2183 (mergeParagraph): ditto
2185 (isFirstInSequence): ditto
2186 (outerFont): rename pit to par_offset
2188 * paragraph.C: ws change
2189 * paragraph.h: ditto
2193 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2195 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2198 * paragraph.C (simpleTeXOnePar): when we have a \item with
2199 optional argument, enclose the argument with curly brackets (in
2200 case it contains a closing square bracket)
2204 * text3.C (checkInsetHit): constify
2206 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2208 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2209 documents (bug 1629)
2211 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2213 Fix toggling of collapsable insets with the mouse (bug 1558)
2215 * lyxfunc.C (dispatch): adapt to LCursor changes
2217 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2218 make sure that dispatch is not invoked twice
2220 * cursor.C (needsUpdate): new method
2221 (dispatch): return void
2222 (result): new method, to access the DispatchResult of the cursor.
2224 2004-08-13 José Matos <jamatos@lyx.org>
2226 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2228 2004-08-13 André Pönitz <poenitz@gmx.net>
2230 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2232 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2235 2004-08-12 André Pönitz <poenitz@gmx.net>
2237 * text3.C: take out the 'cursor right' form insertInset and only
2238 do it in those places when it is really needed. Fixes crash on
2241 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2243 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2245 * BufferView_pimpl.C (setBuffer): initialize the current font of
2246 the underlying LyXText
2248 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2250 * kbsequence.C (print): use UI native formatting for menu
2253 * text.C (insertChar): call Paragraph::insertChar with a font
2256 * paragraph.C (insertInset, insertChar): the version that takes a
2257 LyXFont argument is now a wrapper around the other one (the
2258 opposite used to be true).
2260 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2261 argument. Font setting is done in Paragraph now.
2263 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2265 * outputparams.h: add new members intitle and lang.
2267 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2268 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2270 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2272 * text3.C (dispatch): remove special handling of button 4 and 5,
2273 it is now taken care of in the frontend code.
2275 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2277 * Spacing.h: add <string> (STLPort compile fix)
2279 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2281 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2283 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
2285 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2288 * converter.C (showMessage): inherit from unary_function, make
2291 * buffer.C (writeFile): initialize retval
2293 * InsetList.h: rename private variable list to list_
2294 * InsetList.[Ch]: adjust accordingly.
2296 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
2298 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2299 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2300 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2301 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2302 * ParagraphParameters.C, LaTeXFeatures.C: replace
2303 "support/std_sstream.h" with <sstream>
2305 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
2307 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2308 * lyxsocket.C (LyXServerSocket): ditto
2309 (serverCallback): ditto
2311 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2313 * LaTeXFeatures.C: check release date when loading jurabib.
2315 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2317 * lyxserver.C (startPipe): call register_socket_callback
2318 (endPipe): call unregister_socket_callback
2320 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
2322 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2323 (LyXServerSocket): register the callback
2324 (LyXServerSocket): unregister the callback
2325 (fd): delete function
2326 (serverCallback): improve error checking and setup the callbacks.
2327 (dataCallback): change arg to fd.
2328 (writeln): new func (copied fro the client socket) used for server
2330 (LyXDataSocket): simplify
2331 (~LyXDataSocket): close ann unregiser callback
2332 (server): delete function
2333 (fd): delete function
2334 (readln): small changes, improve some std::string usage
2335 (writeln): constify a bit
2337 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2339 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2342 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2344 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2345 after it has been populated
2347 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2349 * text2.C (insertInset): move cursor when inserting inset.
2351 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2353 * kbmap.C (findbindings): a couple of new methods. returns a
2354 container of kb_sequence objects. The real work is done by the
2355 private recursive version
2356 (printbindings): uses findbindings to print out a bracketed list
2357 of bindings (renamed from findbinding).
2359 * MenuBackend.C (binding): use kb_keymap::findbindings
2361 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2363 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2365 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2367 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2369 * paragraph.C (isWord): return true on insets that report
2372 * text.C (getWord): use Paragraph::isWord to decide what is in a
2373 word and what is not; fix bug 1609.
2375 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2377 * tex-strings.C: add "none" to string_paperpackages[], fixes
2378 off-by-one-error in the paperpackage selection.
2381 * tex-strings.[Ch]: char const * string[n]
2382 -> char const * const string[]
2384 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2386 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2387 command, return early.
2389 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
2391 * debug.h: add DEBUG to enum and fix size of ANY.
2393 * debug.C: add support for Debug::DEBUG
2394 (showTags): cast errorTags.level to unsigned int
2396 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2397 (redoCurrentBuffer): ditto
2398 (updateScrollbar): ditto
2399 * cursor.C (dispatch): ditto
2400 * text2.C (setLayout): ditto
2402 (updateCounters): ditto
2404 (deleteEmptyParagraphMechanism): ditto
2406 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
2408 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2409 annotations to cleanup the Makefile slightly.
2411 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2413 * lyxrc.C: do not set user_email to a default value but use empty
2414 instead. The entry used to be translated, which does not work
2415 since at the point where lyxrc is constructed there is no
2416 translation service available
2418 * messages.C (getLocaleDir): remove and use directly
2419 lyx_localedir() instead
2421 2004-06-02 Angus Leeming <leeming@lyx.org>
2423 Fix crash caused by dereferencing null pointer 'exportdata' in
2424 OutputParams by creating a new ExportData variable on the heap,
2425 storing it in a boost::shared_ptr.
2426 The crash was triggered when generating an Instant Preview
2427 of an external inset.
2429 * Makefile.am: add outputparams.C
2431 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2432 (c-tor): allocate memory to it.
2434 * exporter.C (c-tor): associated changes.
2436 2004-06-01 Angus Leeming <leeming@lyx.org>
2438 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2439 contains data before calling isInset(0). (Bug 1513.)
2441 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2443 * exporter.C (checkOverwrite): new method
2444 * exporter.C (copyFile): new method
2445 * exporter.C (Export): copy referenced files to the document dir
2446 * exporter.[Ch]: new class ExportedFile
2447 * exporter.[Ch]: new class ExportData. Contains currently the
2448 names of referenced external files
2449 * outputparams.h: add exportdata member.
2451 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2453 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2456 2004-05-19 Angus Leeming <leeming@lyx.org>
2461 * lyxfunc.C: small changes due to the introduction of namespace
2462 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2464 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2466 * text3.C (dispatch): supress update when only moving the cursor
2467 * cursor.C (selHandle): remove commented code
2469 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2471 * paragraph.C (startTeXParParams): correct column count
2472 * CutAndPaste.C (pasteSelection): remove const_cast
2473 * output_docbook.C (docbookParagraphs): remove const_cast
2474 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2475 const_cast and return ParagraphList::const_iterator
2476 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2477 * output_plaintext.C (writeFileAscii): remove const_cast
2478 * paragraph.[Ch] (simpleTeXOnePar): make const
2479 * paragraph_funcs.C (outerPar): use const iterators
2480 * paragraph_pimpl.C (validate): use const iterators
2481 * text.C (setHeightOfRow): use const iterators
2483 2004-05-17 Angus Leeming <leeming@lyx.org>
2486 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2488 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2489 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2490 if the citation engine has changed.
2492 2004-05-14 José Matos <jamatos@lyx.org>
2494 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2495 if the textclass does not provide it. Have it different for sgml and
2497 support the language of document.
2498 * output_docbook.C (docbookParagraphs):
2499 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2500 first anchor as the id of the paragraph, remove special case code.
2501 * sgml.C (escapeChar): escape only < & >.
2503 2004-05-14 Angus Leeming <leeming@lyx.org>
2505 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2506 dependencies on src/frontends/controllers/biblio.h. Define a
2507 CiteEngine_enum wrapper class to enable the enum to be forward
2510 2004-05-12 Angus Leeming <leeming@lyx.org>
2512 * buffer.C: up LYX_FORMAT to 234.
2513 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2514 use_numerical_citations with a single biblio::CiteEngine cite_engine
2516 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2518 2004-05-13 José Matos <jamatos@lyx.org>
2521 * converter.C (Converter, readFlags): add xml member.
2522 * outputparams.h: add XML flavor.
2523 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2525 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2527 * lyxfunc.C (dispatch):
2528 (getStatus): fix handling of LFUN_SEQUENCE
2530 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2532 * debug.C (showLevel): do not forget the end-of-line marker
2534 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2536 * kbmap.C (read): do not stop parsing a bind file when an error
2539 2004-04-29 Angus Leeming <leeming@lyx.org>
2544 * text2.C: wrap a bunch of #warning statements
2545 inside #ifdef WITH_WARNINGS blocks.
2547 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2549 * buffer.C: increment format to 233.
2551 2004-04-28 Angus Leeming <leeming@lyx.org>
2553 * BufferView_pimpl.C:
2556 s/updateToolbar()/updateToolbars()/
2557 s/Toolbar.h/Toolbars.h/
2559 2004-04-28 Angus Leeming <leeming@lyx.org>
2561 * BufferView.[Ch] (c-tor):
2562 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2563 No longer passes these data to the WorkArea generator.
2565 2004-04-28 Angus Leeming <leeming@lyx.org>
2567 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2569 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2571 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2573 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2575 * output_latex.C (TeXEnvironment): make sure that there is a line
2576 break before \end{foo} for the last paragraph of a document
2577 (TeXOnePar): if the paragraph is at the end of the document (or
2578 inset) and the language has to be reset, then make sure that the
2579 line break is _before_ the language command, not after (fixes bug
2580 1225); also make sure that the language reset command is the first
2581 thing after the paragraph (to ensure proper nesting of
2582 environments and thus fix bug 1404)
2584 2004-04-21 John Levon <levon@movementarian.org>
2587 * ToolbarBackend.C: make "name" be a programmatic name
2588 and a gui_name field.
2590 * lyxfunc.C: display the minibuffer on M-x
2592 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2594 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2597 2004-04-19 Angus Leeming <leeming@lyx.org>
2599 * BufferView_pimpl.C (setBuffer): changed preview interface.
2601 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2604 2004-04-19 John Levon <levon@movementarian.org>
2606 * BufferView_pimpl.C:
2607 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2609 2004-04-05 Angus Leeming <leeming@lyx.org>
2611 * text.C (redoParagraphs): add call to updateCounters(), thereby
2612 fixing the missing "Figure #:" label from the caption of a
2615 2004-04-13 Angus Leeming <leeming@lyx.org>
2617 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2618 cursor is clicked out of an inset.
2620 2004-04-13 Angus Leeming <leeming@lyx.org>
2622 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2623 than an InsetOld one.
2625 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2627 * format.[Ch]: add editor to Format
2628 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2629 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2631 2004-04-08 André Pönitz <poenitz@gmx.net>
2633 * metricsinfo.h: remove PainterInfo::width member
2635 2004-04-08 Angus Leeming <leeming@lyx.org>
2637 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2638 "\providecommand" rather than "\newcommand", thereby preventing
2639 clashes with packages that define "\boldsymbol" themselves.
2642 2004-04-08 Angus Leeming <leeming@lyx.org>
2644 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2645 thereby squashing an unnecessary warning.
2647 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2649 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2652 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2654 * BufferView.C (setCursor): call redoParagraph (some insets could
2656 (putSelectionAt): remove the 'double update' trick
2658 * BufferView_pimpl.C (fitCursor): call refreshPar
2659 (workAreaDispatch): remove an uneeded update call
2660 (dispatch): remove some manual update calls
2662 * cursor.[Ch]: remove cached_y_, updatePos
2663 (selHandle): set noUpdate when appropriate
2665 * lyxfunc.C (dispatch): track if we need an update
2667 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2669 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2670 (paintSelection): cheap optimization, do not call cursorX when not
2672 (paintPars): change signature
2675 (paintTextInset): adjust
2679 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2681 * lengthcommon.C: compilation fix: remove explicit array size from
2682 unit_name[] and friends
2684 2004-04-05 Angus Leeming <leeming@lyx.org>
2686 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2688 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2689 present only for the preferences dialog.
2690 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2692 2004-04-05 Angus Leeming <leeming@lyx.org>
2694 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2695 to enable the frontends to export changes to lyxrc correctly.
2697 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2699 2004-04-07 André Pönitz <poenitz@gmx.net>
2701 * cursor.[Ch] (selClear, adjust): remove math
2703 * cursor_slice.C: more agressive assert
2706 * BufferView_pimpl.C: rework mouse event dispatch
2713 2004-04-05 André Pönitz <poenitz@gmx.net>
2715 * cursor.[Ch] (valign, halign...): remove unneeded functions
2717 2004-04-05 Angus Leeming <leeming@lyx.org>
2719 * lyxlength.[Ch] (unit_name et al.): const-correct.
2721 2004-04-05 Angus Leeming <leeming@lyx.org>
2723 * BufferView_pimpl.C:
2732 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2734 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2736 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2738 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2740 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2741 * BufferView_pimpl.[Ch] (getStatus)
2742 * BufferView.[Ch] (getStatus): add
2743 * lyxfunc.C (getStatus): move lfuns handled in
2744 BufferView::dispatch to te function above
2745 * Cursor.C (setSelection): set selection() = true
2747 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2749 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2751 2004-03-31 Angus Leeming <leeming@lyx.org>
2753 * lyxfunc.C (dispatch): Fall through to the generic
2754 Dialogs::show("preamble").
2756 2004-03-31 Angus Leeming <leeming@lyx.org>
2758 * lyxfunc.C (dispatch): Fall through to the generic
2759 Dialogs::show("spellchecker").
2761 2004-03-31 Angus Leeming <leeming@lyx.org>
2763 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2766 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2771 * insetiterator.[Ch]:
2776 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2778 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2780 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2781 insets where we are putting the cursor.
2783 2004-03-31 Angus Leeming <leeming@lyx.org>
2786 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2788 * lyxrc.[Ch] (read, write): overloaded member functions taking
2789 a std::[io]stream arguments.
2791 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2793 2004-03-31 Angus Leeming <leeming@lyx.org>
2795 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2796 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2798 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2799 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2801 2004-03-31 Angus Leeming <leeming@lyx.org>
2803 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2804 the LFUN_ALL_INSETS_TOGGLE code.
2806 2004-03-30 Angus Leeming <leeming@lyx.org>
2808 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2809 has died. Fall through to the generic Dialogs::show("document").
2811 2004-03-30 Angus Leeming <leeming@lyx.org>
2814 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2815 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2817 * lyxfunc.C (getStatus, dispatch): define the actions for these
2818 lfuns. Little more than a cut and pste job from ControlDocument.C
2820 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2822 2004-03-30 Angus Leeming <leeming@lyx.org>
2825 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2826 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2828 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2829 open/closed state of ollapsable insets. Usage:
2831 all-inset-toggle <state> <name>, where
2832 <state> == "open" || "closed" || "toggle" and
2833 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2835 * lyxtext.h, text2.C (toggleInset): removed.
2837 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2838 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2839 now passes LFUN_INSET_TOGGLE to the found inset.
2841 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2842 is now invoked as "all-insets-toggle toggle branch".
2844 2004-03-30 Angus Leeming <leeming@lyx.org>
2848 * pariterator.[Ch]: added/corrected header blurb.
2850 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2852 * dociterator.[Ch]: add an inset_ member
2853 (backwardPos): implemented
2854 (backwardPos, forwardPos): use inset_ when the stack is empty.
2855 (doc_iterator_begin, doc_iterator_end): implemented
2856 * pariterator.[Ch]: adjust, add begin, end
2857 * insetiterator.[Ch]: adjust, add begin, end
2861 * BufferView_pimpl.C:
2862 * CutAndPaste.C: adjust
2864 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2866 * buffer.C: increment file format to 232.
2867 * LaTeXFeatures.C: add bibtopic package.
2868 * bufferparams.[Ch]: param \use_bibtopic.
2870 * lyxrc.[Ch]: add lyxrc bibtex_command
2871 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2873 * buffer.C: increment file format to 231.
2875 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2877 * dociterator.C: implement forwardPar
2878 * iterators.[Ch]: remove, replaced by
2879 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2881 * BufferView_pimpl.C:
2884 * bufferview_funcs.C:
2890 * Makefile.am: adjust
2892 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2894 * CutAndPaste.C (pasteSelection): fix 2 crashes
2895 (eraseSelection): fix a crash
2896 * paragraph_funcs.C: remove a warning
2898 2004-03-28 Angus Leeming <leeming@lyx.org>
2901 * LyXAction.C (init): new LFUN_PRINT.
2903 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2905 2004-03-27 Angus Leeming <leeming@lyx.org>
2908 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2910 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2912 2004-03-27 Angus Leeming <leeming@lyx.org>
2914 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2915 insetlist always contains non-null pointers to insets.
2917 2004-03-26 Angus Leeming <leeming@lyx.org>
2919 * src/BufferView_pimpl.C:
2920 * src/CutAndPaste.C:
2923 * src/output_plaintext.C:
2924 * src/outputparams.h:
2925 * src/paragraph_funcs.C:
2929 * src/frontends/controllers/ControlErrorList.C:
2930 * src/frontends/gtk/FileDialogPrivate.C:
2931 * src/frontends/gtk/GPainter.C:
2932 * src/frontends/gtk/GToolbar.C:
2933 * src/frontends/qt2/QRef.C:
2934 * src/mathed/math_scriptinset.C: squash compiler warnings.
2936 2004-03-26 Angus Leeming <leeming@lyx.org>
2938 * ispell.C (LaunchIspell::start):
2939 * lyx_cb.C (AutoSaveBuffer::start):
2940 invoke run(DontWait) rather than runNonBlocking().
2942 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2944 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2946 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2948 * kbsequence.C (print): adjust
2950 * kbmap.C (printKeySym): rename and change signature
2951 (printKey): use LyXKeySym::print()
2953 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2955 * undo.C: add using std::advance to compile for stlport
2957 2004-03-24 Angus Leeming <leeming@lyx.org>
2959 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2960 it leads to a crash when no buffer is present.
2962 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2963 Martin Vermeer <martin.vermeer@hut.fi>
2965 * lyxfunc.C (dispatch):
2966 * bufferparams.C (readToken): use the new LColor::setColor
2968 * LColor.[Ch] (setColor): new version that takes two strings as
2969 argument and creates a new color entry if necessary
2971 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2973 * buffer.C (makeLaTeXFile): if the main latex file that is
2974 processed is usually a subdocument of some master, then pretend
2975 for a while that it is actually the master
2977 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2979 * buffer.C (getLabelList):
2980 (getBibkeyList): use getMasterBuffer()
2981 (getMasterBuffer): new method. Returns the main document in the
2982 case where one is using included documents.
2984 2004-03-25 André Pönitz <poenitz@gmx.net>
2988 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2990 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2992 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2993 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2995 * ParameterStruct.h: merge with ParagraphParameters
2997 * lyxtext.h: remove LyXText::parOffset() and getPar()
2999 * text3.C: Remove all 'manual' update calls. We do now one per user
3000 interaction which is completely sufficient.
3004 * BufferView_pimpl.C:
3005 * FontIterator.[Ch]:
3007 * ParagraphParameters.[Ch]:
3012 * cursor_slice.[Ch]:
3019 * output_docbook.[Ch]:
3020 * output_latex.[Ch]:
3021 * output_linuxdoc.[Ch]:
3022 * output_plaintext.[Ch]:
3024 * paragraph_funcs.[Ch]:
3025 * paragraph_pimpl.[Ch]:
3033 * frontends/controllers/ControlDocument.C:
3034 * frontends/controllers/ControlErrorList.C:
3035 * frontends/controllers/ControlSpellchecker.C:
3038 * insets/insetbase.h:
3039 * insets/insetbibitem.C:
3040 * insets/insetbox.C:
3041 * insets/insetbranch.C:
3042 * insets/insetcaption.C:
3043 * insets/insetcharstyle.C:
3044 * insets/insetcharstyle.h:
3045 * insets/insetcollapsable.C:
3046 * insets/insetcollapsable.h:
3047 * insets/insetert.C:
3048 * insets/insetfloat.C:
3049 * insets/insetfoot.C:
3050 * insets/insetmarginal.C:
3051 * insets/insetnote.C:
3052 * insets/insetoptarg.C:
3053 * insets/insettabular.C:
3054 * insets/insettext.C:
3055 * insets/insettext.h:
3056 * insets/insetwrap.C:
3057 * mathed/math_mboxinset.C:
3058 * mathed/math_nestinset.C:
3059 * mathed/math_scriptinset.C:
3060 * mathed/math_scriptinset.h:
3063 2004-03-24 Angus Leeming <leeming@lyx.org>
3065 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3066 deal with any child processes that have finished but are waiting to
3067 communicate this fact to the rest of LyX.
3069 2004-03-24 Angus Leeming <leeming@lyx.org>
3071 64-bit compile fixes.
3073 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3074 (c-tor): pass lyx::pos_types rather than ints.
3076 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3079 * text.C (Delete): compile fix.
3080 (getPar): ensure that function declaration is the same as that in
3083 2004-03-23 Angus Leeming <leeming@lyx.org>
3085 * ispell.C (LaunchIspell):
3086 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3087 a boost::shred_ptr rather than a std::auto_ptr.
3089 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3091 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3092 handle LFUN_FILE_INSERT_*
3094 * lyxrc.C (setDefaults, getDescription, output, read):
3095 * lyxrc.h: remove ps_command
3097 2004-03-22 Angus Leeming <leeming@lyx.org>
3099 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3100 Ensure that error_handler is processed once only and that all data
3101 is saved before attempting to output any warning messages.
3103 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3105 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3107 * tabular.C (TeXRow): crash fix (from Kayvan and André)
3109 2004-03-19 André Pönitz <poenitz@gmx.net>
3111 * cursor.[Ch] (reset): take main text inset as argument
3113 * BufferView: adjust
3114 * BufferView_pimpl.C: adjust
3116 * paragraph.[Ch]: fix completely broken operator=()
3118 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3120 * LColor.C (getFromLyXName): make sure that the color name is used
3123 2004-03-17 Angus Leeming <leeming@lyx.org>
3126 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3128 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3129 dialog and to kill a forked process.
3131 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3133 * text2.C (setCursorFromCoordinates): fix font problem
3135 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3137 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3138 bogus "rebuild cursor" code
3140 2004-03-11 André Pönitz <poenitz@gmx.net>
3142 * buffer.[Ch]: use InsetText instead of LyXText as container for
3145 * dociterator.[Ch]: drop the BufferView * member which is not needed
3146 anymore after the change to buffer.C
3148 * paragraph_funcs.C:
3152 * BufferView_pimpl.[Ch]:
3154 * cursor_slice.[Ch]: adjust
3156 * text3.C: fix bug in mathDispatch
3158 2004-03-08 André Pönitz <poenitz@gmx.net>
3160 * undo.[Ch]: use 'StableDocumentIterator' as base for
3163 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3166 * bufferparams.[Ch]: add jurabib support and param.
3168 * LaTeX.C: add FIXME/comment.
3170 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3172 * buffer.C: increment file format to 230.
3174 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3176 * cursor.C (dispatch): avoid infinite loops
3178 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3180 * rowpainter.C (paintSelection): fix x coordinates
3182 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3184 * text.C (rowBreakPoint): fix breaking before displayed insets
3186 2004-03-01 André Pönitz <poenitz@gmx.net>
3188 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3190 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3194 * BufferView_pimpl.C:
3202 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3208 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3209 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3211 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3213 * Bidi.[Ch] (computeTables): const correctness
3214 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3215 fill_hfill, fill_label_hfill and x from Row
3216 * lyxtext.h: prepareToPrint returns a RowMetrics
3217 * rowPainter.C: adjust
3218 * text.C (prepareToPrint): use width, not textWidth. adjust
3219 (redoParagraphInternal, cursorX): adjust
3220 * text2.C (getColumnNearX): adjust
3221 (init): put a default value to the top LyXText::width
3223 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3225 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3227 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3229 * lyxtext.h: add FontIterator class
3231 * text.C (FontIterator, operator*, operator->, operator++): add
3232 (rowBreakPoint, setRowWidth): adjust (fixing a
3235 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3237 * BufferView_pimpl.C (workAreaDispatch): allow also
3238 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3240 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3242 * text.C (rowBreakPoint): fix a bug showing with very large insets
3244 2004-02-25 André Pönitz <poenitz@gmx.net>
3247 * cursor.[Ch]: move some mathed specific code to mathed
3249 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3251 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3252 use_tempdir in preferences
3253 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3255 * lyx_main.C: ensure that tempdir is valid
3256 * lyxlex.h: correct typo
3257 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3258 * paragraph.[Ch] (isMultiLingual): make const
3259 * cursor.[Ch] (openable): make const
3261 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3263 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3265 2004-02-20 André Pönitz <poenitz@gmx.net>
3267 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3269 * cursor.[Ch]: prepare for localized getStatus()
3275 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3277 2004-02-20 André Pönitz <poenitz@gmx.net>
3279 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3281 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3283 * text2.C (setCursorFromCoordinates): switch to absolute coords
3285 (cursorDown): adjust
3286 * text3.C (dispatch): adjust
3288 2004-02-16 André Pönitz <poenitz@gmx.net>
3290 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3293 * cursor_slice.[Ch]: remove unneeded acessor function
3295 * lyxtext.h: rename rtl() to isRTL()
3303 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3305 * rowpainter.C (paintSelection): coord fix
3307 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3309 * Spacing.C: compile fix
3311 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3313 * cursor.C (dispatch): restore current_ before returning
3315 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3317 * text2.C (cursorUp, cursorDown): fix coords
3320 2004-02-12 André Pönitz <poenitz@gmx.net>
3325 * text3.C: add LCursor & parameter to most cursor movement functions
3326 remove usage of LyXText::cursorRow() and cursorPar()
3328 * cursor.[Ch]: add textRow() needed members
3331 * BufferView_pimpl.C:
3334 * BufferView_pimpl.C: adjust
3336 2004-02-11 André Pönitz <poenitz@gmx.net>
3340 * BufferView_pimpl.C: shift undo/redo handling
3342 * cursor.[Ch]: fix mathed crash
3345 * lyxtext.h: move selectionAsText to LCursor
3353 * rowpainter.C: fix excessive drawing
3355 2004-02-06 André Pönitz <poenitz@gmx.net>
3358 * BufferView_pimpl.[Ch]:
3359 * text3.C: move some text specific LFUN handling
3361 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3363 * text3.C (checkInsetHit): adjust coords
3364 * text2.C (getColumnNearX): adjust coords
3365 (edit): adjust coords
3366 * text.C (getRowNearY): add two asserts
3368 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3371 * format.C: add using std::distance to compile on gcc 2.95/stlport
3373 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3375 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3377 2004-02-04 André Pönitz <poenitz@gmx.net>
3379 * BufferView.[Ch] (insertInset):
3380 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3385 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3387 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3388 on the default clause of the switch
3389 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3390 wasn't catched by LCursor::dispatch
3392 2004-02-03 André Pönitz <poenitz@gmx.net>
3395 * cursor.[Ch]: some additional asserts
3397 * undo.[Ch]: remove LyXText dependency in interface
3401 * lyxtext.h (firstPar, lastPar): remove dead functions
3406 * paragraph.[Ch]: adjust
3408 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3410 * lyxfind.C (find): fix argument order in call to ::find
3412 2004-02-02 André Pönitz <poenitz@gmx.net>
3414 * cursor.[Ch]: remove direct access to anchor
3416 * text.C: remove findText() hack
3418 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3420 * iterators.[Ch] (lockPath): remove in favour of...
3421 * BufferView.[Ch] (setCursor): this addition
3422 * BufferView.C (putSelectionAt): adjust
3423 * undo.C (performUndoOrRedo): adjust
3424 * lyxfunc.C (dispatch): adjust
3426 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3428 * iterators.C (lockPath): add a missing slice
3429 * undo.C (performUndoOrRedo): remove redundant positioning code
3431 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
3433 * vc-backend.C (scanMaster): ";" -> ';'
3435 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
3437 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3438 std::binary_function
3440 * lyxtextclass.C (compare_name): rename to...
3441 (LayoutNamesEqual): ...this
3443 * lyxlex_pimpl.C (compare_tags): inherit from
3444 std::binary_function, put back into anon namespace
3446 * lyxfind.C (MatchString): inherig from std::binary_function
3447 (findChange): use empty() istead of !size()
3449 * format.C (FormatNamesEqual): new functor
3456 * converter.C (compare_Converter): rename to...
3457 (ConverterEqual): ...this, and fixup a bit.
3458 (getConverter): use it, and make function const
3459 (getNumber): use it, and make function const
3463 * bufferlist.C: add using boost::bind
3465 * MenuBackend.C (MenuNamesEqual): new functor
3466 (hasMenu): use it, and make function const
3467 (hasSubmenu): use nested bind to get rid of compare_memfun.
3469 2004-01-30 André Pönitz <poenitz@gmx.net>
3471 * BufferView_pimpl.C:
3474 * cursor_slice.[Ch]:
3477 * paragraph_funcs.C:
3478 * paragraph_funcs.h:
3482 * text3.C: move some of the edit(x,y) handling to the insets
3483 some coordinate changes.
3485 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
3487 * text.C: add using statements for std::advance and std::distance
3489 * paragraph.C: add using statement for std::distance
3491 * lyxfind.C: add using statement for std::advance
3493 * cursor.C (region): remove std:: from swap
3494 (openable): use nucleus in stead of operator->
3496 * BufferView.C: add using statements for std::distance and std::swap
3498 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
3500 * iterators.C: Remove the pimple, move the needed structures to
3501 the header file. Create accessor for the positions stack.
3502 (asPosIterator): remove function
3504 * PosIterator.C (PosIterator): move constructors to top of file
3505 (PosIterator): reimplement the constructor taking a ParIterator in
3507 (setFrom): new function
3508 (operator!=): inline it
3510 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
3512 * lyxfind.C (replaceAll): use std::advance
3514 * iterators.h: inherit from std::iterator.
3516 * PosIterator.C (advance, distance): remove
3517 * PosIterator.h: interit from std::iterator.
3519 2004-01-26 André Pönitz <poenitz@gmx.net>
3522 * BufferView_pimpl.[Ch]:
3526 * bufferview_funcs.C:
3536 * output_linuxdoc.C:
3537 * output_plaintext.C:
3539 * paragraph_funcs.[Ch]:
3540 * paragraph_pimpl.[Ch]:
3546 * text3.C: more IU: dumps most of the rest of the mathcursor
3547 implementation into cursor.[Ch]; "globalize" a bit of it.
3549 2004-01-25 Angus Leeming <leeming@lyx.org>
3551 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3553 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3555 * LaTeXFeatures.h: add nice_ and nice() const
3556 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3558 2004-01-20 André Pönitz <poenitz@gmx.net>
3561 * BufferView_pimpl.C:
3563 * bufferview_funcs.C:
3565 * cursor_slice.[Ch]:
3576 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3577 LCursor and mathcursor parts to LCursor and InsetBase.
3579 2004-01-15 André Pönitz <poenitz@gmx.net>
3581 * cursor_slice.[Ch]: add a few covienience functions
3583 * funcrequest.[Ch]: remove BufferView * member
3585 * BufferView_pimpl.C:
3592 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3594 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3596 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3597 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3599 2004-01-13 André Pönitz <poenitz@gmx.net>
3602 * lyxtext.h: hide cursor and selection anchor behind accessor function
3605 * BufferView_pimpl.[Ch]:
3607 * bufferview_funcs.C:
3617 * cursor_slice.[Ch]: some integer type changes for inset unification
3619 * lyxcursor.[hC]: remove, it's CursorSlice now.
3622 * BufferView_pimpl.[Ch]:
3623 * bufferview_funcs.C:
3629 * textcursor.[Ch]: adjust
3631 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3633 * text2.C (undoSpan): add and use
3634 * text.C (breakParagraph): use undoSpan (fix bug 578)
3637 2004-01-08 Angus Leeming <leeming@lyx.org>
3639 * BufferView_pimpl.C (MenuInsertLyXFile):
3640 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3641 * lyxfunc.C (menuNew, open, doImport):
3642 FileFilterList change to the FileDialog open and save functions.
3644 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
3646 * ShareContainer.h: make isEqual and isUnique adaptable
3648 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3650 2004-01-07 Angus Leeming <leeming@lyx.org>
3653 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3655 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3657 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3658 functions replacing find, replace and replaceAll.
3660 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3661 LFUN_WORDFIND(FORWARD|BACKWARD).
3663 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3665 * text.C (breakParagraph): remove an outdated #warning
3667 2004-01-07 André Pönitz <poenitz@gmx.net>
3669 * lyxfind.C: somewhat clearer logic
3671 * text.C: prevent crash in cursorX on unitialized row cache
3673 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3675 * lyxcursor.[Ch] (operator>): add
3676 * textcursor.C (selStart, selEnd): use std::min and std::max
3678 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3680 * Chktex.C: include boost/format.hpp
3682 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3684 * InsetList.C: replace functor MathcIt with adaptable functor
3686 (insetIterator): modify accordingly
3688 * BranchList.h: move the BranchNamesEqual functor here from...
3689 * BranchList.C: ... to here
3691 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3693 (add): replace a finding loop with std::find_if.
3695 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3697 * output_docbook.C: moving LatexParam functionality into
3700 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3702 * buffer.C: increment format to 229.
3704 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3707 * lyx_sty.[Ch]: remove minipageindent_def
3713 * text3.C: remove LFUN_INSET_MINIPAGE
3715 2003-12-28 Angus Leeming <leeming@lyx.org>
3717 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3719 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3721 * text2.C (setParagraph): fix off-by-one crash
3723 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3725 * output_docbook.C: header stuff for AGU
3727 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3729 * text2.C (redoCursor): remove
3732 * BufferView_pimpl.C: remove calls to redoCursor and
3733 setCursor(cursor.par(), cursor.pos()) all around
3735 2003-12-15 Angus Leeming <leeming@lyx.org>
3737 * buffer.C: up the format to 228.
3739 2003-12-15 André Pönitz <poenitz@gmx.net>
3741 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3746 * BufferView_pimpl.C:
3755 2003-12-15 Angus Leeming <leeming@lyx.org>
3757 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3758 than getFromGUIName to manipulate the color.
3760 2003-12-14 Angus Leeming <leeming@lyx.org>
3762 * BranchList.[Ch]: minimize the API.
3763 (Branch::getBranch, getColor): now return a 'const &'.
3764 (Branch::setSelected) now returns a bool set to true if the
3765 selection status changes.
3766 (BranchList::clear, size, getColor, setColor, setSelected,
3767 allBranches, allSelected, separator): removed.
3768 (BranchList::find): new functions, returning the Branch with
3770 (BranchList::add, remove): return a bool indicating that
3771 the operation was successful.
3773 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3774 new InsetBranch::isBranchSlected member function.
3776 * LColor.[Ch]: mimimize the API.
3777 (fill): renamed as addColor and made private.
3778 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3779 versions of these functions taking a string arg have been removed.
3781 * bufferparams.C (readToken):
3782 * lyxfunc.C (dispatch):
3783 * lyxrc.C (read): changes due to the altered BranchList and
3786 * factory.C (createInset, readInset): changes due to altered
3789 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3792 * lyxfunc.C: remove insetminipage. "minipage-insert"
3793 now produces a frameless minipage box inset.
3795 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3797 * textcursor.[Ch] (selStart,selEnd): add new methods
3798 remove selection::start, end, use LyXCursor::operator<
3799 * lyxcursor.[Ch] (operator<): add
3800 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3801 * BufferView.[Ch] (unsetXSel): add
3802 * text2.C (clearSelection): use unsetXSel,adjust
3805 * rowpainter.C: adjust
3806 * bufferview_funcs.C (put_selection_at): adjust
3808 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3810 * BufferView_pimpl.C: small coord. correction
3812 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3814 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3815 dragging over the splash screen.
3817 2003-12-11 Angus Leeming <leeming@lyx.org>
3819 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3820 as it is now handled in LyXText::dispatch.
3822 * text3.C (doInsertInset): remove a level of nesting.
3824 2003-12-11 Angus Leeming <leeming@lyx.org>
3826 * factory.C (createInset): changes due to the changed interface to
3827 InsetCommandMailer::string2params.
3829 2003-12-10 Angus Leeming <leeming@lyx.org>
3831 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3832 'dialog-show-new-inset <inset name>'
3834 2003-12-10 Angus Leeming <leeming@lyx.org>
3836 * buffer.C: up the format to 227.
3838 * factory.C: the box inset is now identified simply by 'Box'.
3840 2003-12-10 Angus Leeming <leeming@lyx.org>
3842 * buffer.C: up the format to 226.
3844 * factory.C: the note inset is now identified simply by 'Note'.
3846 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3848 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3849 when a pit is enough. Standarize a couple of loops.
3851 2003-12-05 Angus Leeming <leeming@lyx.org>
3853 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3854 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3855 data to the re-worked "log" dialog.
3857 2003-12-03 André Pönitz <poenitz@gmx.net>
3863 * paragraph_funcs.C:
3865 * text2.C: use Inset::getText instead of Inset::getParagraph
3867 2003-12-03 André Pönitz <poenitz@gmx.net>
3871 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3872 InsetText::read() as LyXText::read()
3874 2003-12-02 Angus Leeming <leeming@lyx.org>
3876 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3877 type. Add a comment in the implementation that the function uses
3878 the stream's bad() function rather than fail() as the std::streams
3881 2003-12-02 André Pönitz <poenitz@gmx.net>
3883 * lyxlex.[Ch]: make interface more similar to std::stream
3885 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3887 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3889 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3891 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3893 * vspace.[Ch]: remove VSpace::NONE
3895 2003-12-01 André Pönitz <poenitz@gmx.net>
3898 * lyxtext.h: move ParagraphList member to LyXText
3899 rename LyXText::ownerParagraphs to LyXText::paragraph
3902 * bufferview_funcs.C:
3912 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3914 * undo.C: fix cursor positioning
3916 2003-12-01 John Levon <levon@movementarian.org>
3918 * BufferView_pimpl.C: fix a crash on exit with
3921 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3923 * BranchList.C: fix setSelected() method.
3925 2003-11-28 André Pönitz <poenitz@gmx.net>
3927 * ParagraphParameters.[Ch]:
3928 * ParameterStruct.h: remove space above/below from Paragraph to
3931 * BufferView_pimpl.C:
3937 * paragraph_funcs.C:
3943 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3945 * factory.C: Syntax change for CharStyles
3947 2003-11-28 André Pönitz <poenitz@gmx.net>
3952 * buffer.[Ch]: move LyXText member
3954 2003-11-28 André Pönitz <poenitz@gmx.net>
3956 * BufferView.[Ch]: make LyXText * text a private member
3958 * BufferView_pimpl.C:
3969 * output_plaintext.C: cleanup
3971 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3974 * lyxtextclass.[Ch]: parametrize SGML document header
3976 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3979 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3982 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3984 * text2.C (setFont): rework using PosIterator (no more recursive)
3985 (setCharFont): no more needed
3986 (setLayout): no more selection cursors fiddling (done by redoCursor)
3987 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3988 destroy remaining ones)
3990 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3992 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3994 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3997 * text3.C: adjust + re-allow multi par depth changes
3998 * textcursor.C: simplify a bit
4000 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4006 * src/output_docbook.C:
4007 * src/output_latex.C:
4012 * src/text2.C: Introducing a number of tags parametrizing various
4013 XML formats that we may want to support
4015 2003-11-25 André Pönitz <poenitz@gmx.net>
4017 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4019 * lyxtext.h (leftMargin/rightMargin): simplify interface
4026 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4028 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4029 master file to any child files. Fixes bug 546.
4031 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4033 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4035 2003-11-24 André Pönitz <poenitz@gmx.net>
4037 * rowpainter.C: simplification
4039 * text2.C (updateCounters): remove call to redoParagraph on
4040 changed labels as this is far too expensive.
4042 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4044 * converter.C (convert): fix a crash: this function gets
4045 called with buffer == 0 from importer code.
4047 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
4049 * text3.C (cursorPrevious): make sure that we do not compare
4050 iterators form different containers.
4053 * rowpainter.C (paintSelection): make sure that we do not compare
4054 iterators from different containers.
4056 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4057 iterators from different ParagraphList containers.
4060 * text2.C (LyXText): change order of initialization slightly
4061 (operator=): new function. copy all variables except cache_par_
4062 (moveUp): make sure that we do not compare iterators from
4063 different ParagraphList constainers.
4066 * text.C (firstPar): new function
4067 (lastPar): new function
4068 (endPar): new function
4070 * lyxtext.h: move things around and group public functions, public
4071 variables, private functions, private variables
4073 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4075 * factory.C: change call to InsetERT constructor to avoid
4076 additional invocation of method status
4077 * text2.C (toggleInset): remove redundant update() call
4078 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4079 instead of a Bufferview pointer
4081 2003-11-21 André Pönitz <poenitz@gmx.net>
4083 * rowpainter.C: simplification
4085 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4087 * text3.C (dispatch): make possible to extend a word/row selection
4090 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4092 * lyxtext.h: x0_,y0_ -> xo_,yo_
4093 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4094 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4095 * rowpainter.C (paintRows): paint full paragraphs
4097 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4099 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4102 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4104 * lyxtext.h: add x0_, y0_
4105 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4106 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4108 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4110 * text2.C (setCursorIntern): move the x_target update here *
4111 * text3.C: change some bv() to true/false in calls to
4112 cursorUp/Down/Right/Left
4113 * cursor.C: use helper function.
4115 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4117 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4118 * paragraph_funcs.[Ch]: correct comment
4119 * rowpainter.C: do not paint selections away from bv->cursor()
4120 Fix a long standing selection painting bug.
4121 * text3.C: generalize mouse-selection code to LyXTexts other that
4123 * textcursor.C: do not use y coords if we can use par offsets
4125 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4127 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4128 cursor position after e.g. inset insert)
4130 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4132 * lyxfind.C (replace): adjust to locking removal + some
4135 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4137 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4140 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4143 * output_docbook.C: XML sanitation: new layout
4144 parameters InnerTag and CommandDepth
4146 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4148 * BufferView_pimpl.C:
4150 * text3.C: Fix the insertion and modification of button-style
4153 2003-11-13 André Pönitz <poenitz@gmx.net>
4155 * InsetList.[Ch]: remove deleteLyXText
4157 * paragraph.[Ch]: cache beginOfBody position
4162 * text3.C: remove superfluous update() calls
4166 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4168 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4169 * BufferView.C (fitLockedInsetCursor): remove
4170 * cursor.[Ch] (getDim): add
4171 * text.C (getRowNearY): add faster version
4172 * text3.C: remove some update calls
4174 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4186 * text3.C: The Character Style /XML short element patch.
4188 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4191 * factory.C: Small step to solving 'unable to insert some insets'
4194 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4196 * cursor.[Ch] (updatePos): new function for updating the y
4197 position of the tip inset
4198 * bufferview_funcs.C (put_selection_at):
4199 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4201 2003-11-11 André Pönitz <poenitz@gmx.net>
4203 * text.C: remove big comment on invalid Paragraph pointers as it is
4206 2003-11-11 André Pönitz <poenitz@gmx.net>
4208 * text_funcs.[Ch]: merge with ...
4216 * Makefile.am: remove text_funcs.[Ch]
4218 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4220 * cursor.C (getPos): return absolute cached y coord
4222 * BufferView_pimpl.C (fitCursor): new simplistic code
4223 (workAreaDispatch): add a fitCursor call
4225 2003-11-10 André Pönitz <poenitz@gmx.net>
4228 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4230 2003-11-10 André Pönitz <poenitz@gmx.net>
4232 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4233 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4234 indicate that the cursor needs to leave an inset
4236 * lyxtext.h: remove inset locking
4238 * cursor.[Ch]: re-implement functionality provided by inset locking
4241 * BufferView_pimpl.[Ch]:
4243 * bufferview_funcs.[Ch]:
4255 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4257 * PosIterator.[Ch]: replace the stack with a vector, add inset
4259 * iterators.[C]: adjust
4261 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4263 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4265 * paragraph_funcs.C (readParToken): put the correct id in the
4266 error item, not the id of the top paragraph
4268 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4270 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4271 * bufferview_funcs.C (put_selection_at): use the above
4273 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4275 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4277 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4279 * output_linuxdoc.h:
4280 * output_plaintext.h:
4282 * output_docbook.h: add #include statements
4284 2003-11-05 José Matos <jamatos@lyx.org>
4286 * output_docbook.[Ch]:
4287 * output_latex.[Ch]:
4288 * output_linuxdoc.[Ch]:
4289 * output_plaintext.[Ch]: New files for output formats.
4290 * output.[Ch]: New file for helper functions.
4293 * paragraph_funcs.[Ch]: output functions moved to new files.
4295 * outputparams.h: rename of latexrunparams.h
4303 * paragraph_funcs.[Ch]:
4304 * paragraph_pimpl.[Ch]:
4305 * tabular.[Ch]: rename ascii to plaintext
4306 and LatexRunParams to OutputParams.
4308 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4310 * iterators.[Ch] (text): require bv argument
4311 * undo.C (recordUndo):
4312 * lyxfunc.C (dispatch):
4313 * bufferview_funcs.C (put_selection_at): adjust
4315 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
4317 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4319 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4321 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4324 2003-11-04 André Pönitz <poenitz@gmx.net>
4326 * cursor.[Ch]: restructure
4329 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4331 * iterators.[Ch] (asCursor): remove
4333 * lfuns.h: remove LFUN_INSET_EDIT
4339 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4341 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4343 * lyxfind.[Ch]: complete overhaul
4344 * BufferView_pimpl.C:
4346 * paragraph.[Ch] (insert): add
4348 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4352 * text.C: remove dead spellcheck code
4354 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4356 * dispatchresult.h: add a val setter
4358 * cursor.C (dispatch): use a tempvar for data_[i]
4360 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4362 * PosIterator.[Ch]: compile fix
4364 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4366 * text.C (cursorPar): deactivate the cursor cache
4368 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4370 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4372 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4374 * text3.C (dispatch): adjust for new DisptchResult semantics.
4376 * lyxfunc.C (dispatch): handle update when return from
4377 Cursor::dispatch, adjust for new DispatchResult semantics.
4379 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4380 DispatchResult(true) mean to not update. Add class functions for
4381 setting dispatched and update, as well as reading.
4383 * cursor.C (dispatch): don't handle update here
4385 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4387 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4388 * trans_mgr.C: adjust
4390 * paragraph_funcs.C (readParToken): exception safety
4392 * lyxvc.h: store the vcs pointer in a scoped_ptr
4395 * lyxsocket.C (serverCallback): exception safety
4397 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4399 * ispell.C (clone): make it return a auto_ptr
4401 * factory.C (createInset): exception safety
4402 (readInset): exception safety
4404 * bufferlist.C (newBuffer): exception safety
4406 * Thesaurus.C (Thesaurus): use initialization for aik_
4408 * MenuBackend.C (expandToc): exception safety.
4410 2003-11-03 André Pönitz <poenitz@gmx.net>
4414 * bufferview_funcs.C: remove getInsetFromId()
4417 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4423 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4425 * PosIterator.C (distance, advance): new
4426 * bufferview_funcs.[Ch] (put_selection_at): new
4427 * iterators.[Ch] (lockPath): new
4429 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4431 * iterators.[Ch] (asPosIterator): added
4432 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4433 * PosIterator.[Ch]: added
4435 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4439 * cursor.C (dispatch):
4440 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4442 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4443 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4444 contructor, add a class function dispatched. Remove operator>=
4446 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4448 * debug.C: only use the default constructor for debugstream
4451 * main.C (main): include debug.h and setup the lyxerr streambuf
4454 2003-10-31 José Matos <jamatos@lyx.org>
4456 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4458 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4459 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4460 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4461 * paragraph_pimpl.C (simpleTeXSpecialC):
4462 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4463 add LatexRunParams argument.
4465 * exporter.C (Export): change call accordingly.
4467 * latexrunparams.h: add new member to take care of the other backends.
4468 2003-10-30 José Matos <jamatos@lyx.org>
4470 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4471 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4472 factorise code for paragraph output.
4474 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4477 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4479 * text3.C (dispatch):
4480 * lyxfunc.C (dispatch):
4481 * cursor.C (dispatch):
4482 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4484 * dispatchresult.h: make the dispatch_result_t ctor explicit
4486 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4489 * buffer.C: small refactoring of docbook stuff
4491 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4493 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4496 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4498 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4499 operator dispatch_result_t, and operators for == != and >=
4501 * cursor.C (dispatch): adjust for operator dispatch_result_t
4502 removal. comment out call to update
4504 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4506 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4514 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4517 * dispatchresult.h: new file, DispatchResult broken out of
4520 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4522 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4524 * text.C (rowBreakPoint): put a hack inside #if 0
4526 2003-10-28 André Pönitz <poenitz@gmx.net>
4530 * paragraph_funcs.C:
4533 * text2.C: general cleanup (lots of small stuff)
4535 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4537 * text2.C (cursorEnd): simple fix to the "end key goes to one
4538 before the end on last row" bug
4540 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4542 * text.C (backspace): fix the "zombie characters"
4544 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4546 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4548 2003-10-27 André Pönitz <poenitz@gmx.net>
4550 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4552 * factory.C: handle new InsetPagebreak, InsetLine
4554 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4555 and move handling into new InsetPagebreak, InsetLine
4557 * BufferView_pimpl.C:
4559 * ParagraphParameters.C:
4560 * ParameterStruct.h:
4565 * paragraph_funcs.C:
4566 * paragraph_pimpl.C:
4572 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4575 * lyxrow_funcs.[Ch]:
4581 * text3.C: remove lastPos uses in favour of Row::endpos
4583 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4585 * undo.C (performUndoOrRedo): fix two crashes by setting a
4586 cursor by hand and reordering some calls. Use bv->lockInset instead
4587 of inset->edit because the latter loses cursor information
4589 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4591 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4593 (rowBreakPoint): fix width. change point to point + 1.
4594 Add a missing check.
4596 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4599 * lyxfunc.C: fix (at least partly) the problems
4600 with the Nav menu and headers inside branch insets
4603 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4605 * paragraph.C (getChar): add strong asserts
4607 * lyxrow_funcs.C (lastPos): remove hideous hack
4609 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4610 (fill): adjust to that (avoid an infinite loop)
4612 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4614 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4616 2003-10-23 André Pönitz <poenitz@gmx.net>
4618 * RowList_fwd.h: change list<> to vector<> to gain speed
4619 after suggestion from Alfredo
4621 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4623 * lyxtext.h: move the bidi stuff from here...
4626 * Bidi.[Ch]: ... to here
4628 2003-10-23 André Pönitz <poenitz@gmx.net>
4631 * text.C (isLastRow, isFirstRow): new functions
4633 * paragraph.h: new width cache member
4635 * rowpainter.C: replace RowList::iterator with Row & where possible
4637 * lyxfunc.C: replace several view()->text with a single call
4639 * toc.C: fix 'unused' warning
4641 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4643 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4644 when woring with stream::pos_type
4645 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4647 2003-10-22 André Pönitz <poenitz@gmx.net>
4650 * text.C: use Row & instead of RowList::iterator
4652 * lyxrow.h: rename end() to endpos()
4658 2003-10-22 Angus Leeming <leeming@lyx.org>
4660 * buffer.[Ch] (fully_loaded): new member function, returning true
4661 only when the file has been loaded fully.
4662 Used to prevent the premature generation of previews and by the
4663 citation inset to prevent computation of the natbib-style label.
4665 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4666 templates are all set up.
4668 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4670 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4672 * text.C: fixed an "oops" in the "is a bit silly"
4675 2003-10-21 André Pönitz <poenitz@gmx.net>
4677 * FuncStatus.[Ch]: small stuff, whitespace
4679 * lyxfont.[Ch]: operator<<() for debug reasons
4683 * lyxtext.h: whitespace, spelling
4685 * paragraph.C: naming of variables
4688 * text2.C: small stuff
4691 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4693 * text.C: (1) finish off the inset display() work;
4694 (2) fix the "is a bit silly" bug (accessing char
4697 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4699 * text.C: re-introduce display() for insets, fixing the
4700 various bugs (stretch of line above, math inset
4703 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4705 * text.C (rightMargin): remove spurious semicolon
4707 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4710 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4712 * text3.C: fix one crash due to wrong cursor def
4714 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4716 * vc-backend.C (scanMaster): make the regex static
4718 * LaTeX.C (scanAuxFile): make the regexs static
4720 * text3.C (doInsertInset, dispatch, dispatch):
4721 * text2.C (cursorUp, cursorDown):
4722 * text.C (selectNextWordToSpellcheck):
4723 * BufferView_pimpl.C (dispatch):
4724 * lyxfunc.C (dispatch): localDispatch -> dispatch
4726 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4728 * lyxsocket.C: include <cerrno>
4730 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4732 * lyxfunc.C (dispatch): remove textcache stuff
4734 * bufferlist.C (release): remove textcache stuff
4737 * TextCache.C: delete file
4738 * TextCache.h: delete file
4740 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4742 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4743 delete of the bv_->text.
4744 (resizeCurrentBuffer): remove texcache stuff
4745 (workAreaResize): ditto
4747 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4749 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4752 2003-10-16 André Pönitz <poenitz@gmx.net>
4759 * text3.C: speed up by storing y positions per paragraph plus per-row
4760 offset instead of having a 'full' y position in the row.
4762 2003-10-15 André Pönitz <poenitz@gmx.net>
4766 * undo.[Ch]: make undo aware of inner insets
4768 2003-10-14 Angus Leeming <leeming@lyx.org>
4770 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4771 static member functions LyX::ref() and LyX::cref.
4772 (lastfiles): new accessor functions for the new lastfiles_ member var.
4773 (addLyXView, views_): add a new LyXView to the list of views_.
4774 (updateInset): loop over all LyXViews to call their own updateInset
4775 member function, returning a pointer to the Buffer owning the inset.
4777 * BufferView_pimpl.C (loadLyXFile):
4778 * MenuBackend.C (expandLastfiles):
4779 * bufferlist.C (MenuWrite, QuitLyX):
4780 lastfiles is no longer a global variable.
4781 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4783 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4784 static function. Access through LyX::cref().emergencyCleanup().
4786 2003-10-14 André Pönitz <poenitz@gmx.net>
4788 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4790 * undo.[Ch]: restoring part of 'undo in insets'
4793 * undo_funcs.[Ch]: merge with undo.[Ch]
4795 * tabular.C: small cleansing stuff
4797 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4799 * paragraph_funcs.C (readParToken): report unknown insets as error
4800 boxes. Use the outer paragraph as location (also for unknown
4803 * factory.C (readInset): do not abort on reading an unknown inset.
4804 Eat it and return 0.
4806 2003-10-13 Angus Leeming <leeming@lyx.org>
4808 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4810 * lyxrc.C: displayTranslator is now a function,
4811 declared in GraphicsTypes.h.
4813 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4815 * format.C: new placeholder $$a to pass the socket address.
4817 * bufferlist.[Ch]: new function getBufferFromTmp.
4819 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4820 files in the temporary dir.
4822 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4824 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4826 * Makefile.am: add lyxsocket.[Ch].
4828 * lyx_main.C (error_handler): handle SIGPIPE.
4830 2003-10-13 André Pönitz <poenitz@gmx.net>
4832 * BufferView_pimpl.C:
4837 * undo_funcs.[Ch]: use paroffset_type instead of
4838 ParagraphList::iterators to prevent multiple conversion
4839 (and get a more robust interface)
4841 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4843 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4845 * text3.C (dispatch): ditto
4847 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4849 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4850 move the onlyfile, use onlyfile instead of foundfile in a couple
4853 * DepTable.C (update): flush the error stream a bit more
4855 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4857 * lyxserver.C (callback): adjust
4859 * lyxfunc.C (getStatus): add a missing brace in commented code
4860 (ensureBufferClean): reindent
4861 (dispatch): delete version taking a string
4863 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4865 * LaTeX.C (deplog): move found file handlig from here...
4866 (handleFoundFile): .. to new function here.
4867 (deplog): make sure to discover several files mentioned on the
4870 2003-10-10 André Pönitz <poenitz@gmx.net>
4877 * text3.C: fix some of the tabular crashes
4879 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4881 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4883 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4885 2003-10-09 André Pönitz <poenitz@gmx.net>
4887 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4890 * BufferView_pimpl.C:
4891 * bufferview_funcs.C:
4902 * undo_funcs.C: adjust
4904 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4906 * text2.C (incrementItemDepth): new function, use a backtracking
4907 algorithm to discover the correct item depth.
4908 (resetEnumCounterIfNeeded): new function, use a backtracking
4909 algorithm to discover if counter reset is needed.
4910 (setCounter): use them. Simplify a bit. Add different labels for
4911 different item depths for itemize.
4913 * paragraph.C (Paragraph): remove initialization of enumdepth
4916 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4917 enumerate and itemize. Change the type of itemdepth to signed char.
4919 2003-10-08 André Pönitz <poenitz@gmx.net>
4921 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4926 * tabular.[Ch]: fix crash after 'row-insert'
4928 2003-10-08 Angus Leeming <leeming@lyx.org>
4930 Fix doxygen warnings.
4932 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4933 Remove CutAndPaste:: prefix from header file declaration.
4935 * LColor.h (fill): remove LColor:: prefix from declaration.
4937 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4938 use lyx::depth_type rather than Paragraph::depth_type so that
4939 header file and .C file match.
4941 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4943 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4944 * aspell.C: \file aspell_local.C -> \file aspell.C
4945 * gettext.C: \file gettext.C -> \file src/gettext.C
4946 * gettext.h: \file gettext.h -> \file src/gettext.h
4947 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4948 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4949 * text.C: \file text.C -> \file src/text.C
4951 * toc.C: move comment so that doxygen is not confused.
4953 2003-10-07 Angus Leeming <leeming@lyx.org>
4955 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4957 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4960 * aspell_local.h: add forgotten std::string's.
4962 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4969 * text3.C: The Box patch. Fancybox support, minipage, parbox
4971 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4977 * ParagraphParameters.h:
4987 * lyxtextclasslist.h:
4990 * paragraph_pimpl.C:
4991 * textcursor.h: add <string> and other small fixes to make Lars'
4992 std::string patch compile with STLport.
4994 2003-10-06 Angus Leeming <leeming@lyx.org>
4996 * LColor.h: Add missing #include <string>.
4998 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5000 * All most all file in all subdirs: Make <string> be the prefered
5001 way of getting to std::string, add using declarations.
5003 2003-10-06 André Pönitz <poenitz@gmx.net>
5005 * metricsinfo.C: initialize LyXFont before changing attribute.
5006 (fixes the 'math in \emph is upright' bug)
5008 2003-10-06 André Pönitz <poenitz@gmx.net>
5010 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5012 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5015 * paragraph_pimpl.C: Small fixes to build using STLport
5017 2003-10-02 André Pönitz <poenitz@gmx.net>
5020 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5022 2003-10-01 André Pönitz <poenitz@gmx.net>
5024 * factory.C: assert early
5026 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5028 * lyx_main.C: remove the global debug object
5030 * debug.h: adjust for new debugstream
5032 * debug.C: adjust for new debugstream and keep the global debug
5035 2003-09-22 Angus Leeming <leeming@lyx.org>
5037 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5038 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5039 an incomplete class LyXFont.
5041 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5043 * factory.C: bug fix in branches
5045 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5047 * lyxfunc.C (processKeySym): adjust
5049 (dispatch): change arg name from ev to func, adjust
5050 (sendDispatchMessage): ditto
5052 * lyx_main.C (defaultKeyBindings): adjust keybindings
5053 (deadKeyBindings): ditto
5055 * kbsequence.C (addkey): return a FuncRequest
5057 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5059 * kbmap.C (bind): take a FuncRequest as arg, adjust
5062 (defkey): change to take a FuncRequest as arg, adjust
5063 (findbinding): take a FuncRequest as arg, adjust.
5065 * funcrequest.h (operator=): added
5067 * funcrequest.C (FuncRequest): default kb_action changed from
5068 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5070 * buffer.C (dispatch): simplify
5071 (dispatch): adjust to take a FuncRequest as arg, adjust
5073 * boost.C (assertion_failed): change assertion message slightly
5075 * ToolbarBackend.C (read): simplify
5077 * MenuBackend.C (binding): adjust call to findbinding, add a
5078 message if no binding is found.
5080 (expandToc): correct by adding a empty FuncRequest
5082 * LyXAction.C: include <boost/assert.hpp>
5083 (isPseudoAction): delete function
5084 (LookupFunc): change name to...
5085 (lookupFunc): this. change return type to FuncRequest.
5086 (getActionName): take kb_action as arg, simplify
5087 (funcHasFlag): add an assert, simplify.
5089 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5091 * toc.C (action): return a FuncRequest, simplify
5093 * lyxfunc.C (processKeySym): adjust
5094 (getStatus): delete version that takes an int.
5096 (dispatch): delete version that takes action as int
5098 (sendDispatchMessage): simplify and adjust
5100 * funcrequest.C (getArg): take unsigned int as arg
5102 * ToolbarBackend.C (read): adjust
5103 (add): delete version that takes func as a string.
5104 (getIton): take a FuncRequest as arg
5106 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5109 * MenuBackend.C (MenuItem): add a new construct that only takes a
5110 Kind, simplify the constructor use for submenus.
5112 (expandLastfiles): adjust
5113 (expandDocuments): adjust
5114 (expandFormats): adjust
5115 (expandFloatListInsert): adjust
5116 (expandFloatInsert): adjust
5117 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5119 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5120 Remove class variables lyx_pseudo_map and lyx_arg_map
5122 * LyXAction.C (searchActionArg): delete function
5123 (getPseudoAction): delete function
5124 (retrieveActionArg): delete function
5125 (LookupFunc): make it return kb_action, simplify.
5126 (getActionName): simplify
5128 * factory.C (createInset): fix new bug
5130 2003-09-19 Angus Leeming <leeming@lyx.org>
5132 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5133 masterFilename_ parameter in the include inset.
5135 * factory.C (createInset): changes due to the changes to InsetInclude.
5137 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5139 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5141 2003-09-18 Angus Leeming <leeming@lyx.org>
5144 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5145 Inset::fillWithBibKeys.
5146 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5148 2003-09-18 Angus Leeming <leeming@lyx.org>
5150 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5152 (ctor): pass and store a 'Buffer const &'
5153 (buffer): new member function.
5155 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5156 '*this' to the LaTeXFeatures ctor.
5158 2003-09-18 Angus Leeming <leeming@lyx.org>
5164 * text.C: rename EnumLColor as LColor_color.
5166 2003-09-18 Angus Leeming <leeming@lyx.org>
5168 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5169 remove #include "insets/insetbase.h" from cursor.h.
5171 2003-09-18 Angus Leeming <leeming@lyx.org>
5173 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5174 InsetOld_code to remove #include "inset.h".
5176 * iterators.C: add #include "insets/inset.h"
5178 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5180 * BufferView.C: remove more locking stuff that apparently doesn't
5181 do anything sensible.
5183 2003-09-16 André Pönitz <poenitz@gmx.net>
5186 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5189 2003-09-16 Angus Leeming <leeming@lyx.org>
5191 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5193 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5196 * paragraph.h: remove #include "lyxfont.h". Forward declare
5199 2003-09-16 Angus Leeming <leeming@lyx.org>
5201 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5202 of support/textutils.h.
5203 (isWord): move the contents of support/textutils.h's IsWordChar here.
5209 * text2.C: add #include "paragraph.h".
5212 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5214 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5220 * LaTeX.C: use namespace alias for lyx::support::os
5222 2003-09-16 Angus Leeming <leeming@lyx.org>
5225 * bufferview_funcs.C:
5228 * paragraph_pimpl.C:
5230 * text.C: add #include "LColor.h".
5232 2003-09-16 Angus Leeming <leeming@lyx.org>
5234 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5235 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5237 Store the FontBits::color variable as an int rather than as an
5238 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5241 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5242 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5243 string calls together.
5245 * lyxrc.C: add #include "LColor.h".
5247 2003-09-15 Angus Leeming <leeming@lyx.org>
5249 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5252 2003-09-15 Angus Leeming <leeming@lyx.org>
5254 * LColor.h: add an EnumLColor wrapper for LColor::color.
5256 * lyxfont.[Ch] (color, setColor, realColor):
5257 * lyxtext.h, text.C (backgroundColor):
5258 pass EnumLColor args to/from the functions, rather than LColor::color
5262 * lyxtext.h: forward declare EnumLColor.
5264 * lyx_main.C: add #include "LColor.h".
5266 2003-09-15 Angus Leeming <leeming@lyx.org>
5268 * .cvsignore: add lyx-gtk.
5270 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5275 * ParagraphParameters.C
5279 * bufferview_funcs.C
5289 * vc-backend.C: remove usage of STRCONV
5291 2003-09-15 Angus Leeming <leeming@lyx.org>
5293 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5294 explicitly define the color passed to the painter.
5296 2003-09-15 Angus Leeming <leeming@lyx.org>
5298 * bufferparams.C (BufferParams): reorder member initializers to avoid
5301 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5303 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5304 * text.C (updateRowPositions): remove an unusual nop
5306 2003-09-12 André Pönitz <poenitz@gmx.net>
5308 * BufferView_pimpl.C:
5317 * Counters.[Ch]: finish the 'automatic counters' job
5319 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5321 * aspell.C: include <boost/assert.cpp> (compile fix)
5323 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5325 * boost.C (assertion_failed): use lyx::support::abort instead of
5328 2003-09-10 Angus Leeming <leeming@lyx.org>
5330 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5331 with their _fwd progeny.
5333 2003-09-09 Angus Leeming <leeming@lyx.org>
5335 134 files throughtout the source tree: replace 'using namespace abc;'
5336 directives with the appropriate 'using abc::xyz;' declarations.
5338 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5340 * boost.C (emergencyCleanup): moved here from LAssert.c
5341 (assertion_failed): new function, called by BOOST_ASSERT
5343 * several files: change Assert to BOOST_ASSERT
5345 2003-09-09 Angus Leeming <leeming@lyx.org>
5347 * buffer.[Ch]: Add an Impl class and move Buffer's member
5348 variables into it. As a result move several header files out of
5351 Add header files to lots of .C files all over the tree as a result.
5353 2003-09-09 Angus Leeming <leeming@lyx.org>
5355 * buffer.[Ch]: make Buffer's member variables private. Add
5358 Lots of changes all over the tree as a result.
5360 2003-09-08 Angus Leeming <leeming@lyx.org>
5362 * graph.C: #include <config.h>.
5364 2003-09-08 Angus Leeming <leeming@lyx.org>
5368 * BufferView_pimpl.C:
5397 * toc.C: remove redundant using directives.
5399 2003-09-07 Angus Leeming <leeming@lyx.org>
5401 * LaTeXFeatures.h: remove #include "support/types.h".
5402 * ToolbarBackend.h: remove #include <algorithm>.
5403 * changes.h: remove #include <ctime>.
5404 * debug.h: remove #include <iosfwd>.
5405 * graph.h: remove #include "support/std_string.h".
5406 * lyx_main.h: remove #include <csignal>.
5407 * lyxlex_pimpl.h: remove #include <fstream>.
5408 * sgml.h: remove #include <algorithm>, <utility>.
5409 * toc.h: remove #include "support/std_ostream.h".
5410 Add #include <iosfwd>.
5412 2003-09-07 Angus Leeming <leeming@lyx.org>
5414 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5416 * converter.h: forward declare LatexRunParams.
5417 * encoding.h: remove #include "lyxrc.h".
5418 * lyxtext.h: remove #include "LColor.h".
5419 * lyxtextclass.h: remove #include "support/types.h".
5420 * trans.h: remove #include "tex-accent.h".
5421 * trans_mgr.h: remove #include "tex-accent.h".
5422 * insets/inset.h: remove #include "support/types.h", <vector>.
5423 * insets/insetcollapsable.h: remove #include "LColor.h".
5424 * insets/insetinclude.h: remove #include "dimension.h".
5425 * insets/insetlatexaccent.h: remove #include "dimension.h".
5426 * insets/insetoptarg.h:: remove #include "insettext.h".
5427 * insets/insettext.h: remove #include "dimension.h",
5428 <boost/shared_ptr.hpp>
5430 * insets/renderers.h: add #include "dimension.h".
5431 * insets/updatableinset.h: add #include "support/types.h".
5433 * many .C files: Associated changes.
5435 2003-09-06 Angus Leeming <leeming@lyx.org>
5437 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5438 one, inside testInvariant.
5440 * PrinterParams.C: new file.
5441 * PrinterParams.[Ch]: move the function bodies out of line.
5443 2003-09-06 Angus Leeming <leeming@lyx.org>
5445 * ParagraphParameters.h: forward declare ParameterStruct rather than
5446 including its header file.
5447 (depth): moved out-of-line.
5449 2003-09-06 Angus Leeming <leeming@lyx.org>
5451 * BufferView_pimpl.h:
5454 * lyxfunc.h: forward declare LyXKeySym rather than
5455 #include "frontends/LyXKeySym.h".
5457 * BufferView_pimpl.C:
5460 * lyxfunc.C: associated changes.
5462 2003-09-06 Angus Leeming <leeming@lyx.org>
5464 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5465 As a result, can remove the #include "insets/inset.h" from BufferView.h
5467 2003-09-06 Angus Leeming <leeming@lyx.org>
5469 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5470 As a result, can remove the #include "insets/inset.h" from BufferView.h
5472 2003-09-06 Angus Leeming <leeming@lyx.org>
5478 * bufferview_funcs.C:
5479 * BufferView_pimpl.C:
5484 * ParagraphParameters.C:
5489 * frontends/controllers/ControlDocument.C:
5490 * insets/insetcaption.C: rearrange the #includes into some sort of
5493 * buffer.h: remove #includes ErrorList.h, undo.h
5495 2003-09-06 Angus Leeming <leeming@lyx.org>
5497 * support/types.h: add a 'depth_type' typedef, used to store the
5498 nesting depth of a paragraph.
5501 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5502 defining explicitly.
5505 * paragraph_funcs.h:
5506 * ParagraphParameters.h:
5507 * sgml.h: use lyx::depth_type rather than Paragraph or
5508 ParameterStruct's depth_type.
5511 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5514 * BufferView_pimpl.C:
5516 * ParagraphParameters.C:
5519 * bufferview_funcs.C:
5526 * frontends/LyXView.C:
5527 * frontends/controllers/ControlDocument.C:
5528 * frontends/controllers/ControlErrorList.C:
5529 * insets/insetbibitem.C:
5530 * insets/insetbranch.C:
5531 * insets/insetcaption.C:
5532 * insets/insetcollapsable.C:
5533 * insets/insetenv.C:
5534 * insets/insetert.C:
5535 * insets/insetfloat.C:
5536 * insets/insetfoot.C:
5537 * insets/insetfootlike.C:
5538 * insets/insetnewline.C:
5539 * insets/insetquotes.C:
5540 * insets/insettabular.C:
5541 * insets/insettext.C:
5542 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5544 * frontends/controllers/ControlChanges.C: #include "changes.h".
5546 2003-09-06 Angus Leeming <leeming@lyx.org>
5548 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5549 than #including paragraph.h.
5552 * RowList.h: deleted. Superfluous.
5562 * insets/insettext.h: use ParagraphList_fwd.h rather than
5565 * paragraph.h: don't forward declare ParagraphList.
5568 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5569 rather than ParagraphList.h. paragraph.h is still needed for the
5570 Paragraph::depth_type parameters.
5572 * textcursor.h: enable it to compile stand-alone in light of the
5575 * bufferview_funcs.C:
5587 * frontends/controllers/ControlParagraph.C:
5588 * frontends/controllers/ControlTabular.C:
5589 * insets/insetmarginal.C:
5590 * insets/insetminipage.C:
5591 * insets/insetnote.C:
5592 * insets/insetoptarg.C: add header files needed to compile again.
5594 2003-09-06 Angus Leeming <leeming@lyx.org>
5596 * RowList_fwd.h: new file, forward-declaring Row rather than
5597 #including lyxrow.h.
5602 * insets/insettext.h: use it instead of RowList.h
5604 * bufferview_funcs.C:
5611 * text3.C: #include "RowList.h".
5613 2003-09-05 Angus Leeming <leeming@lyx.org>
5615 * factory.C (createInset):
5616 * vspace.C (c-tor): replace sscanf call with an istringstream.
5617 * ispell.C: re-add missing HP/UX headers.
5618 * lyxserver.C: re-add missing os2 headers.
5620 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5629 * text3.C: re-add missing system headers, needed for 2.95.2.
5631 2003-09-05 Angus Leeming <leeming@lyx.org>
5633 Changes most place everywhere due to the removal of using directives
5634 from support/std_sstream.h.
5636 2003-09-05 Angus Leeming <leeming@lyx.org>
5638 Replace LString.h with support/std_string.h,
5639 Lsstream.h with support/std_sstream.h,
5640 support/LIstream.h with support/std_istream.h,
5641 support/LOstream.h with support/std_ostream.h.
5643 Changes resulting throughout the tree.
5645 2003-09-05 Angus Leeming <leeming@lyx.org>
5647 * sgml.h: ensure that the header file can be compiled stand-alone.
5648 * *.C: strip out redundant #includes. (320 in total.)
5650 2003-09-04 Angus Leeming <leeming@lyx.org>
5652 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5653 here (from getPackages).
5655 * debug.[Ch]: add a new EXTERNAL tag.
5657 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5659 * text2.C (cursorEnd): simplify
5661 (getColumnNearX): adjust
5663 * text.C (computeBidiTables): adjust
5666 * rowpainter.C (paintChars): adjust
5667 (paintSelection): adjust
5668 (paintChangeBar): adjust
5671 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5673 (numberOfSeparators): adjust
5675 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5681 * text3.C: Restricts the mouse click functionality
5682 of insets like bibtex, include, toc and floatlist to the visible
5683 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5684 up the dialogs. Cursor has to be in front of the inset (i.e.
5685 start of row) for this to function.
5687 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5689 * bufferview_funcs.C (currentState): output row information
5691 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5693 * bufferview_funcs.C (currentState): output paragraph position
5695 2003-09-04 Angus Leeming <leeming@lyx.org>
5697 * FloatList.h: move out #include "Floating.h".
5698 * LaTeX.h: move out #include "DepTable.h".
5699 * LyXAction.h: move out #include "funcrequest.h".
5700 * buffer.h: move out #include "author.h", "iterators.h".
5701 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5702 * lyx_main.h: move out #include "errorlist.h".
5703 * lyxfunc.h: move out #include "FuncStatus.h".
5704 * lyxtext: move out #include "lyxcursor.h".
5705 * paragraph_pimpl.h: move out #include "counters.h".
5707 2003-09-03 Angus Leeming <leeming@lyx.org>
5709 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5710 preamble_snippets list, enabling us to add snippets to the preamble
5711 only if the snippet was not there already.
5713 2003-09-04 Angus Leeming <leeming@lyx.org>
5715 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5717 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5719 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5722 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5724 * BranchList.C: point fix, earlier forgotten
5726 2003-09-02 Angus Leeming <leeming@lyx.org>
5728 * box.C (contains): renamed from 'contained' after a fantastic
5731 2003-09-02 John Levon <levon@movementarian.org>
5737 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5739 2003-09-02 John Levon <levon@movementarian.org>
5741 * text2.C: simplification of cursorEnd(), including partial
5744 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5746 * buffer.C (readFile): add a space
5748 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5750 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5752 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5754 * buffer.C (readFile): new function, take a filename and a
5755 ParagraphList::iterator
5757 (readFile): adjust, make it private. don't use setStream, make
5758 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5759 always contain the filename.
5761 * BufferView.C (insertLyXFile): simplify and make it work for
5764 2003-08-30 John Levon <levon@movementarian.org>
5766 * Makefile.am: fix dist (from Kayvan)
5768 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5770 * most files: change to use const Buffer refs
5772 2003-08-27 André Pönitz <poenitz@gmx.net>
5774 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5775 on top of ownerPar().
5777 2003-08-27 John Levon <levon@movementarian.org>
5779 * funcrequest.C: properly initialise POD members
5781 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5783 * lyxtext.h (top_y): move top_y from here
5788 * BufferView_pimpl.[Ch]: to here
5789 * frontends/screen.C:
5790 * insets/insettabular.C:
5791 * insets/insettext.C: adjust
5792 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5794 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5797 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5799 2003-08-26 André Pönitz <poenitz@gmx.net>
5801 * paragraph_func.[Ch] (outerPar): new function
5804 * paragraph_funcs.C:
5805 * paragraph_funcs.h:
5806 * paragraph_pimpl.C:
5807 * text2.C: remove Inset::par_owner
5809 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5814 * text2.C: eliminates the needFullRow/display() stuff
5815 altogether, putting the logic in metrics/draw in the insets.
5817 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5819 * text2.C (redoParagraphInternal, redoParagraphs):
5820 * text.C (redoParagraph): add a call to updateRowPositions at the
5821 end of each 'metrics-like' call. Remove all others.
5822 (getRow): remove the 'y-computing' version.
5823 (getRowNearY): do not compute nor return the real y. Solve the
5824 'y < 0' problem and simplify.
5826 2003-08-22 Angus Leeming <leeming@lyx.org>
5828 * *.[Ch]: clean-up of licence and author blurbs.
5829 Also move config.h out of a few .h files and into a few .C files.
5831 2003-08-22 André Pönitz <poenitz@gmx.net>
5833 * lyxrow.[Ch]: add x_ and *fill_ members
5838 * text2.C: adjust/remove prepareToPrint() calls
5840 2003-08-22 André Pönitz <poenitz@gmx.net>
5842 * lyxrow.[Ch]: add end_ member
5844 * lyxrow_funcs.C: use LyXRow::end_
5846 * lyxtext.h (singleWidth): add LyXFont parameter
5849 * text2.C: adjust LyXText::singleWidth() calls
5851 * text.C (redoParagraph): simplify row breaking logic
5854 2003-08-19 André Pönitz <poenitz@gmx.net>
5856 * funcrequest.C: initialize button_ member
5859 * rowpainter.[Ch]: interface consolidation
5861 2003-08-18 André Pönitz <poenitz@gmx.net>
5864 * BufferView_pimpl.C:
5866 * paragraph_funcs.C:
5868 * text3.C: remove LyXScreen::draw() and fitCursor calls
5870 * BranchList.h: remove spurious semicolons
5872 * MenuBackend.C: fix branchlist related crash
5874 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5882 * bufferparams.[Ch]:
5886 * text3.C: implements the 'branch inset'
5887 idea. This allows the output of various versions of a document
5888 from a single source version, selectively outputing or suppressing
5889 output of parts of the text.
5890 This implementation contains a 'branch list editor' in a separate
5891 tab of the document settings dialog. Branches are user definable
5892 and have a "display colour" to distinguish them on-screen.
5894 ColorHandler was somewhat cleaned up.
5895 (1) make possible a dynamically growing LColor list by allowing
5896 the graphic context cache to grow along (vector);
5897 (2) eliminate an IMHO unnecessary step in colour allocation.
5899 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5901 * BufferView_pimpl.C: compile fix
5903 2003-08-15 André Pönitz <poenitz@gmx.net>
5905 * rowpainter.C: remove extra metrics calls
5907 * lyxtext.h: merge the two constructors into a single one,
5908 pass reference to owner's par list
5910 * BufferView_pimpl.C:
5914 2003-08-15 André Pönitz <poenitz@gmx.net>
5916 * lyxrow_funcs.[Ch]:
5919 * paragraph_funcs.C:
5924 * text_funcs.C: split LyXText::rowlist_ into individual
5925 Paragraph::rows_ chunks
5928 * BufferView_pimpl.[Ch]:
5931 * text3.C: remove toggleSelection()
5933 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5935 * bufferlist.C: beautify two alerts (shorter text of buttons)
5936 * buffer.C: Remove redundant ' ' from message
5938 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5939 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5940 rename VALIGN_CENTER to VALIGN_MIDDLE
5942 2003-08-11 André Pönitz <poenitz@gmx.net>
5944 * lyxtext.h (getPar):
5945 * text.C: new function
5947 2003-08-11 André Pönitz <poenitz@gmx.net>
5950 * tracer.[Ch]: remove unneeded files
5952 * InsetList.[Ch]: remove resizeInsetsLyXText()
5957 * text3.C: merge insertParagraphs() and appendParagraph()
5958 remove breakAgain(), update()
5960 * BufferView_pimpl.[Ch]:
5961 * bufferview_funcs.[Ch]:
5965 * tabular.C: adjust after text & InsetList changes.
5967 2003-08-08 André Pönitz <poenitz@gmx.net>
5969 * text.C (insertChar, backspace): replace rowlist fiddling
5970 with rebreak of full par
5973 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5974 checkParagraph, updateInset): removed
5976 2003-08-07 André Pönitz <poenitz@gmx.net>
5979 * text3.C: merge some LFUN handlers, remove dead code
5981 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5983 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5985 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5987 * text2.C (DEPM): fix part of bug 1255 and 1256
5989 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5991 * BufferView_pimpl.C (workAreaDispatch): change to use
5992 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5993 that are no mouse related.
5995 2003-08-05 André Pönitz <poenitz@gmx.net>
5998 * BufferView_pimpl.[Ch]:
5999 * bufferview_funcs.C:
6001 * text3.C: rip out "deep update"
6003 * textcursor.[Ch] (last_sel_cursor): remove unused member
6005 2003-08-04 André Pönitz <poenitz@gmx.net>
6008 * BufferView_pimpl.[Ch]:
6009 * ParagraphParameters.C:
6010 * bufferview_funcs.C:
6016 * text3.C: replace "complicated" BufferView::update(...) calls with
6019 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6021 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6023 * Makefile.am (lyx_SOURCES): add paper.h
6025 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6027 * Makefile.am: move things around so that both lyx-qt and
6028 lyx-xforms can be built (according to --with-frontend). Then lyx
6029 is a symbolic link to lyx-[firstfrontend]
6031 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6033 * Always use std::endl with lyxerr
6035 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6037 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6039 2003-08-01 André Pönitz <poenitz@gmx.net>
6042 * BufferView_pimpl.[Ch]:
6044 * text3.C: merge BufferView::repaint() and BufferView::update()
6046 2003-08-01 José Matos <jamatos@lyx.org>
6048 * buffer.[Ch]: file_format is no longer a buffer data element.
6050 2003-08-01 André Pönitz <poenitz@gmx.net>
6055 * text2.C: make redoParagraph more independent of current cursor
6057 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6059 * text2.C: remove unneeded members
6061 2003-07-30 André Pönitz <poenitz@gmx.net>
6063 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6065 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6066 create a single function...
6068 * paragraph_funcs.C (moveItem): ... here.
6071 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6073 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6075 * LColor.[Ch]: Add comment and greyedout logical colors.
6077 2003-07-30 André Pönitz <poenitz@gmx.net>
6079 * tabular.C: don't use Assert too heavily. This crashes where it
6082 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6084 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6085 is disabled (bug 1232)
6087 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6089 * factory.C: limited 'arg' scope
6091 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6093 * factory.C: fixed Note submenu issues
6095 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6097 * factory.C: submenu for Note/Comment/Greyedout
6099 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6102 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6104 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6107 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6108 greyedout. Patch provided by Jürgen Spitzmüller.
6110 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6112 * kbmap.C (read): fix error message when reading bind files
6114 2003-07-29 Angus Leeming <leeming@lyx.org>
6116 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6117 certainly does not do what it purports to do. I am doing it, and
6118 us, a favour by killing it.
6120 2003-07-28 José Matos <jamatos@lyx.org>
6122 * buffer.C (readBody, do_writeFile):
6123 * paragraph.C(readParagraph): \end_document replaces \the_end.
6125 2003-07-29 André Pönitz <poenitz@gmx.net>
6128 * BufferView_pimpl.[Ch]:
6132 * textcursor.[Ch]: remove toggleToggle & Co
6134 2003-07-28 José Matos <jamatos@fep.up.pt>
6136 * buffer.C (readParagraph):
6137 * params_func (readParToken, readParagraph):
6138 * paragraph.C (write): \layout -> \begin_layout.
6140 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6142 * lyxlex_pimpl.C (setFile): clean up slightly.
6144 * bufferparams.h: add compressed var
6146 * buffer_funcs.C (readFile): adjust for LyXLex change
6147 (newFile): ditto + simplify
6149 * buffer.C (writeFile): handle writing of compressed files
6151 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6152 Check if the file is compressed and set a bufferparm if so.
6154 * Makefile.am (lyx_LDADD): remove explicit -lz
6156 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6158 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6159 makeDocBookFile): put the real LyX version in the first line of
6163 * version.C.in: remove lyx_docversion
6165 * tabular.C (write_attribute): add a template-based version to
6166 write enums properly
6168 2003-07-28 André Pönitz <poenitz@gmx.net>
6173 * text3.C: use doubles again for x-coordinates. They are needed.
6175 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6177 * messages.C (getLocaleDir): use lyx_localedir()
6179 * lyxlex_pimpl.C (setFile): compress stuff
6181 * buffer.C (writeFile): add some compression stuff
6182 (do_writeFile): new func, dont call expliti close... will this
6185 * Makefile.am (lyx_LDADD): add -lz
6187 2003-07-28 José Matos <jamatos@fep.up.pt>
6189 * buffer.C: increment file format.
6190 * paragraph_funcs (readParagraph, readParToken):
6191 * paragraph.C (readParagraph): add \end_layout.
6193 2003-07-27 Angus Leeming <leeming@lyx.org>
6195 * Makefile.am: remove special casing for configure-time setting of
6196 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6198 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6199 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6201 2003-07-26 André Pönitz <poenitz@gmx.net>
6203 * paragraph_func.[Ch]:
6204 * paragraph.C (realizeFont): inline it whereever it is used
6209 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6212 2003-07-26 André Pönitz <poenitz@gmx.net>
6216 * text2.C: get rid of LyXText::need_break_row
6218 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6220 * toc.[Ch]: put namespace toc inside namespace lyx
6222 * MenuBackend.C (expandToc2): adjust for lyx::toc
6225 * lyxfunc.C (dispatch): adjust for lyx::find
6227 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6228 lyx::find instead. Reorganize a bit.
6229 (LyXReplace): rename to replace
6230 (LyXFind): rename to find
6232 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6235 2003-07-26 André Pönitz <poenitz@gmx.net>
6237 * text.C (setHeightOfRow): restrict scope of temporary variable
6239 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6240 code (never has been used?)
6242 2003-07-27 Asger Alstrup <alstrup@local>
6244 * text.C (fill): Optimise algorithm to exploit that we can reuse
6245 the LyXFont for many characters.
6246 (setHeightOfRow): Same thing.
6247 (rowBreakPoint): Same thing.
6249 2003-07-26 Asger Alstrup <alstrup@local>
6251 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6253 * text.C (singleWidth): Spurious font copying in hot-spot
6254 singleWidth avoided. Reorder tests for arabic for efficiency.
6256 * text.C (fill): handle empty paragraphs better.
6258 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6261 * encoding.h: add includes
6263 * lyxrc.C: remove reading of bind files
6265 * lyx_main.C (init): setup bindings and menus only if we have a
6268 * kbmap.C (read): new method. Do the actual reading of bind
6271 * converter.C (dvipdfm_options):
6274 (output): adapt PAPER_* enums.
6276 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6278 * bufferparams.h: remove paper-related enums from there
6280 * paper.h: New file. A trivial header file to hold paper-related
6281 enums. It should later expand to contain many paper-related
6284 * lyxrc.C: declare extern displayTranslator
6286 2003-07-27 José Matos <jamatos@fep.up.pt>
6288 * tabular.[Ch] (linuxdoc): add support for tables and figures
6291 2003-07-27 José Matos <jamatos@fep.up.pt>
6293 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6294 consistency in both functions.
6295 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6297 2003-07-26 Asger Alstrup <alstrup@local>
6299 * rowpainter.C (paintRows): Change algorithm to work directly on
6300 the insets rather than asking every character in the document
6301 whether its an inset.
6303 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6305 * buffer.C (openFileWrite): factorize some code
6307 2003-07-26 Angus Leeming <leeming@lyx.org>
6310 * lyx_main.[Ch]: replace occurances of system_tempdir with
6313 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6315 * rename Inset to InsetOld
6317 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6319 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6320 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6321 which I think is a bit clearer. EDIT is gone, since it was
6322 premature optimisation, and broken for mathed anyway.
6323 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6324 with cursor positioning in insets as well (math insets still do not
6325 work, but that's a different story anyway.) It mysteriously
6326 crashes sometimes with undo in the first paragraph, but I'm fairly
6327 confident that this is a compiler bug.
6329 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6331 * paragraph.C (Paragraph): adjust for new clone return type
6333 (copyIntoMinibuffer): ditto
6335 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6337 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6338 by not having a special case, and always doing a full rebreak of
6339 the document after undo.
6341 2003-07-23 Angus Leeming <leeming@lyx.org>
6343 * factory.C (createInset): InsetExternal::setParams now takes a
6346 2003-07-23 Angus Leeming <leeming@lyx.org>
6348 * factory.C (createInset): changed interface to the external and
6349 graphics mailers' string2params functions.
6351 2003-07-23 Angus Leeming <leeming@lyx.org>
6353 * factory.C (createInset): pass a
6354 Buffer const * parameter to InsetExternalMailer's string2params.
6356 2003-07-22 John Levon <levon@movementarian.org>
6358 * Thesaurus.h: include the right aiksaurus header
6360 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6362 * MenuBackend.C (expand): check menu shortcuts unconditionally
6364 2003-07-21 Angus Leeming <leeming@lyx.org>
6366 * factory.C (createInset): pass a
6367 buffer_path parameter to InsetGraphicsMailer's string2params.
6369 2003-07-21 Angus Leeming <leeming@lyx.org>
6371 * BufferView_pimpl.C (buffer):
6374 * lyxfunc.C (dispatch):
6375 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6376 rather than the grfx shortcut.
6378 2003-07-21 André Pönitz <poenitz@gmx.net>
6380 * rowpainter.C: remove unused variables
6383 * tabular_funcs.h: move to tabular.C
6384 * Makefile.am: adjust
6386 * tabular.[Ch]: basic optical cleaning
6388 * author.h: pass references, not values
6390 2003-07-18 André Pönitz <poenitz@gmx.net>
6398 * text3.C: two-phase drawing for InsetText and InsetTabular
6399 some float -> int changes.
6401 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6403 * lyx_main.C: fix the fix
6405 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6407 * lyx_main.C: fix a crash in batch mode if no files specified
6410 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6412 * format.[Ch] (papersize): moved to BufferParams
6413 * converter.[Ch] (dvips_options): moved to BufferParams
6414 (dvipdfm_options): moved to anon namespace
6415 * bufferparams.[Ch]: added above functions.
6417 2003-07-17 André Pönitz <poenitz@gmx.net>
6421 * text2.C: don't call inset->update() anymore
6423 * metricsinfo.[Ch]: add convenience constructor
6425 2003-07-16 André Pönitz <poenitz@gmx.net>
6430 * text2.C: replace the LyXCursor::irow_ member with
6431 on-demand computation of the value
6433 2003-07-16 John Levon <levon@movementarian.org>
6435 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6437 2003-07-15 André Pönitz <poenitz@gmx.net>
6440 * text2.C: remove no more needed refresh_row
6442 2003-07-15 André Pönitz <poenitz@gmx.net>
6447 * text3.C: refresh_status tristate -> need_update bool
6449 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6451 * lyxtext.h (init): remove reinit argument (act as if always true)
6452 * text2.C: adjust to that
6454 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6456 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6457 * text3.C: use it to delete selections in some cases
6458 (bugs 441, 673, 702, 954).
6460 2003-07-14 André Pönitz <poenitz@gmx.net>
6462 * rowpainter.[Ch]: reduce interface
6464 2003-07-14 André Pönitz <poenitz@gmx.net>
6466 * BufferView_pimpl.C:
6467 * text2.C: adjust after removing unused BufferView * argument
6469 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6471 * text2.C (init): fix a crash fired on resize
6473 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6475 * buffer.[Ch]: added new closing signal
6476 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6477 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6478 BufferView::Pimpl via the closing the signal
6480 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6482 * buffer.[Ch]: take out all bv-related from buffer
6484 * BufferView_pimpl.[Ch]: connect to new signals
6485 * CutAndPaste.C: removed useless asserts
6486 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6489 * lyxfunc.C: moved view-related funciontality from vc here
6490 * paragraph.C: removed outdated comments
6493 2003-07-10 André Pönitz <poenitz@gmx.net>
6495 * BufferView_pimpl.C:
6499 * text2.C: remove InsetText::InnerCache, clean up consequences
6501 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6503 * ispell.C: fix two typos in error messages
6505 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6507 * Extend Note inset to other forms of annotation like Comment
6508 and Greyedout. Right button click gives dialog.
6510 Files modified or added (+):
6514 * ControlNote.[Ch] +
6516 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6517 frontends/controllers
6521 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6523 * aspell.C: add missing namespace lyx::support
6525 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6527 * BufferView.[Ch] (newFile): Add
6528 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6529 * LaTeX.[Ch] (message): added this signal and use it
6530 * buffer.[Ch] (busy, message): added these signals and use them
6531 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6535 * importer.C: use buffer signals instead of direct bv calling
6536 * lyx_cb.[Ch] (ShowMessage): removed
6539 * paragraph_funcs.C:
6540 * text2.C: use buffer signals
6542 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6544 * introduce namespace lyx::graphics
6546 2003-07-02 André Pönitz <poenitz@gmx.net>
6548 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6550 2003-07-01 André Pönitz <poenitz@gmx.net>
6557 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6558 text*.C to text_func.C
6560 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6562 * introduce namespace lyx::support
6564 2003-06-30 André Pönitz <poenitz@gmx.net>
6569 * text.C: re-enable --with-included-string
6571 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6573 * textcursor.C: add <config.h>
6575 * text.C (getWord): remove const from word_location arg
6577 * lyxvc.C (getLogFile): fix const type order
6579 * lyxtext.h: remove const from word_location arg, add arg name
6581 * lyxlayout.h: currect type on labeltype.
6583 * importer.C: correct \file
6585 * converter.C (intToFormat): use std:: on ret val, ws changes
6587 * bufferlist.h: correct \file
6589 * buffer.C (makeLinuxDocFile): fix const type order
6590 (makeDocBookFile): ditto
6591 (fillWithBibKeys): use std:: on stdlib args.
6593 * CutAndPaste.C: fix authors.
6594 (availableSelections): use std:: on return vector
6596 2003-06-27 André Pönitz <poenitz@gmx.net>
6598 * BufferView_pimpl.C:
6599 * bufferview_funcs.C:
6607 * text3.C: remove LyXCursor::row_ member
6610 * text.C: rename fullRebreak() to partialRebreak() and implement
6611 a fullRebreak() that really bereks fully
6613 * textcursor.h: new struct for cursor-related data
6615 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6617 * lyx_main.C (LyX): get full path of document loaded on the
6620 2003-06-26 André Pönitz <poenitz@gmx.net>
6622 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6623 remove unused/broken operator>,<,>=.
6625 * text.C: remove only use of broken operator<= in an Assert().
6627 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6629 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6630 moved errorlist_.clear to showErrorList
6632 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6634 * converter.C (scanLog, runLaTeX):
6635 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6636 move the bv->showErrorList call to the callers
6637 * lyxfunc.C: i.e. here...
6639 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6640 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6641 namespace, the second to...
6642 * buffer_funcs (BufferFormat, parseErrors): added
6643 * errorlist.C (ErrorList(TeXErrors const &)): removed
6645 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6647 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6649 2003-06-24 "Garst R. Reese" <reese@isn.net>
6653 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6655 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6657 * version.C.in: change docversion to 1.4
6659 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6661 * buffer.C: fix a bug just introduced
6663 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6665 * buffer.[Ch]: added the parseError signal and use it, removed
6667 * BufferView.[Ch] (addError): moved to ...
6668 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6669 to the Buffer::parseError signal to catch (guess what) parse errors
6670 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6672 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6674 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6675 ability to create a buffer and to return an existing one from
6676 the list. Moved these functions to...
6677 * buffer_funcs.[Ch]: added
6678 * BufferView.[Ch] (loadLyXFile): added
6679 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6680 job removed from bufferlist::loadLyXFile.
6681 * buffer.C (setReadOnly): make it work without view
6682 (i.e added an if (users))
6684 2003-06-19 Angus Leeming <leeming@lyx.org>
6687 * LyXAction.C (init):
6688 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6689 with LFUN_DIALOG_SHOW <name> <data>.
6691 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6693 * CutAndPaste.C (availableSelections): small compilation fix for
6694 ancient (gcc 2.9x) compilers
6696 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6698 * text3.C (cursorNext): add tmp var
6700 * text2.C (updateCounters): for function calling out of for clause
6701 (replaceSelectionWithString): ditto
6702 (insertStringAsParagraphs): ditto
6703 (getColumnNearX): add tmp var
6704 (setCursorFromCoordinates): add tmp var
6705 (cursorDownParagraph): add tmp var
6706 (deleteEmptyParagraphMechanism): add tmp var
6708 * text.C (insertChar): add tmp var
6710 * rowpainter.C (paintDepthBar): add tmp var
6712 * CutAndPaste.C (availableSelections): potentially check all
6713 paragraphs in a cut to fill the shown strings.
6715 2003-06-18 André Pönitz <poenitz@gmx.net>
6717 * kbmap.[Ch]: use vector<> instead of list<>
6719 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6721 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6722 pasteSelection with index
6724 * text2.C (pasteSelection): modify, call pasteSelection with index
6726 * paragraph.C (asString): reimplement version with no interval to
6727 call the one with interval.
6729 * lyxtext.h: add index arg to pasteSelection
6731 * MenuBackend.C (MenuItem): handle PasteRecent
6732 (Menu::read::Menutags): add md_pasterecent
6734 (expandPasteRecent): new function
6737 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6739 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6741 (availableSelections): new function
6743 2003-06-17 Angus Leeming <leeming@lyx.org>
6745 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6747 2003-06-17 Angus Leeming <leeming@lyx.org>
6750 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6752 * lyxfunc.C (dispatch): invoke it.
6754 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6756 * iterators.C (operator++, ParPosition): reintroduce some
6757 const_cast for the benefit of older compilers.
6759 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6761 * text3.C (dispatch): do not modify clipboard when doing
6762 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6763 LFUN_DELETE_SKIP on a selection selection
6765 2003-06-16 André Pönitz <poenitz@gmx.net>
6771 * tabular.[Ch]: IU of clone() and getLabelList();
6773 2003-06-13 André Pönitz <poenitz@gmx.net>
6775 * tabular.h: compactification
6777 2003-06-12 André Pönitz <poenitz@gmx.net>
6781 * tabular_funcs.h: some renaming plus whitespace
6783 2003-06-12 André Pönitz <poenitz@gmx.net>
6786 * BufferView_pimpl.C:
6792 * toc.C: Return a Paragraph & for ParIterator::operator*()
6794 2003-06-11 John Levon <levon@movementarian.org>
6798 * ToolbarBackend.C: add "Toolbars" section and
6801 2003-06-10 Angus Leeming <leeming@lyx.org>
6804 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6806 * lyxfunc.C (dispatch): invoke it.
6808 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6810 * main.C: protect <ios> with HAVE_IOS
6811 (main): protect sync_with_stdio with HAVE_IOS
6813 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6815 * text2.C (cutSelection): adjust
6816 (pasteSelection): adjust
6818 * messages.C: handle get of empty string
6820 * main.C (main): use sync_with_stdio(false)
6822 * lyxfunc.C (dispatch): adjust
6824 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6825 (WriteAs): remove unneeded BufferView arg.
6827 * bufferparams.h: use correct types on papersize, papersize2 and
6830 * bufferparams.C (readToken): adjust for type
6831 (writeLaTeX): add missing cases to switch.
6833 * bufferlist.C (quitWriteBuffer): adjust
6836 * buffer.C (asciiParagraph): remove some commented code.
6838 * CutAndPaste.C: remove current_view extern variable.
6839 (cutSelection): add BufferParams arg.
6840 (eraseSelection): add BufferParams arg.
6841 (pasteSelection): add Buffer const & arg
6843 2003-06-07 John Levon <levon@movementarian.org>
6846 * paragraph_funcs.C:
6847 * paragraph_pimpl.C:
6851 * paragraph.C: allow InsetERT to freely space lines,
6852 and some consolidation of code
6854 2003-06-06 José Matos <jamatos@fep.up.pt>
6856 * buffer.C (makeDocBookFile): fix bug #821
6858 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6860 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6862 2003-06-04 Angus Leeming <leeming@lyx.org>
6864 * buffer.C: bump format to 224.
6866 2003-06-05 André Pönitz <poenitz@gmx.net>
6868 * text2.C (redoParagraphs): remove two const_cast<>
6870 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6872 * ParagraphList.h: remove last remnants of NO_STD_LIST
6874 2003-06-03 Angus Leeming <leeming@lyx.org>
6876 * factory.C (createInset): small change to the way InsetExternal's params
6879 2003-06-04 André Pönitz <poenitz@gmx.net>
6881 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6883 * paragraph_pimpl.h:
6884 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6886 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6888 * undo_funcs.C: make some simple cases of undo work again
6890 2003-06-03 John Levon <levon@movementarian.org>
6892 * ispell.C: HPUX doesn't have sys/select.h
6895 2003-06-03 John Levon <levon@movementarian.org>
6897 * CutAndPaste.C: update tabular and include inset
6902 * paragraph.C: remove owningBuffer(), don't pass Buffer
6905 * factory.C: insetGraphicsParams changed
6907 2003-06-02 John Levon <levon@movementarian.org>
6913 * text3.C: remove insetparent
6915 2003-06-02 John Levon <levon@movementarian.org>
6918 * buffer.C: fix inset_iterator.end(), move out of line
6921 2003-06-01 John Levon <levon@movementarian.org>
6923 * text3.C: use a proper cut/paste when doing inset
6924 insert (from Jürgen Spitzmüller)
6926 2003-06-01 John Levon <levon@movementarian.org>
6928 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6930 2003-05-30 André Pönitz <poenitz@gmx.net>
6932 * rowpainter.C: unify second drawing phase
6934 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6936 * trans_mgr.C: remove one case of current_view
6938 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6940 * paragraph_funcs.h: remove paragraph.h include
6942 * paragraph.h: delete NO_STD_LIST stuff
6944 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6946 * buffer.h: remove paragraph.h include
6948 * ParagraphList.C: delete file
6950 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6952 * toc.C (getTocList): adjust
6954 * paragraph_pimpl.C (validate): adjust
6956 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6958 * paragraph.C (Paragraph): adjust
6959 (getPositionOfInset): use const_iterator, adjust
6960 (bibitem): use const_iterator, adjust
6961 (setInsetOwner): adjust
6963 * iterators.C (operator++): adjust
6965 * InsetList.[Ch]: Replace selfmade iterator with standard
6966 vector::iterator also introduce const_iterator. Remove getPos,
6967 getInset and setInset from InsetTable. Adjust accordingly.
6969 * BufferView.C (lockInset): adjust
6970 (ChangeInsets): adjust
6972 * tabular.[Ch]: delete commented same_id functions
6974 2003-05-28 John Levon <levon@movementarian.org>
6976 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6978 2003-05-28 André Pönitz <poenitz@gmx.net>
6980 * metricsinfo.[Ch]: remove 'fullredraw' member
6982 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6984 * lyxtextclass.C (operator): remove caching.
6986 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6990 * text2.C (cursorBottom): adjust
6991 (setCounter): use ParagraphList::find, adjust
6993 * text.C (workWidth): use ParagraphList::find, adjust
6995 * lyxcursor.C (LyXCursor): adjust
6997 * buffer.C (inset_iterator): adjust
6999 * ParagraphList.h: make iterator(value_type) private, make
7000 ParagraphList a friend of iterator.
7002 * ParagraphList.C (find): new function
7004 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7006 2003-05-27 André Pönitz <poenitz@gmx.net>
7008 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7010 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7012 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7014 2003-05-26 John Levon <levon@movementarian.org>
7016 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7018 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7020 * remove same_id from function signatures, adjust.
7022 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7024 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7026 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7028 * paragraph.C (Paragraph): get rid of same_ids parameter
7030 * ParagraphList.C (insert): adjust
7033 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7035 * paragraph_funcs.C (breakParagraph): adjust
7036 (breakParagraphConservative): adjust
7038 * buffer.C (readParagraph): adjust
7040 * ParagraphList.C (insert): take a reference instead of a pointer
7043 * paragraph.[Ch] (id): new function
7045 * bufferlist.C (newFile): adjust
7047 * ParagraphList.C (ParagraphList): adjust
7049 (push_back): take a reference instead of a pointer.
7051 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7053 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7056 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7057 set else use old code.
7059 * ParagraphList.C: remove all NO_NEXT code and only compile this
7060 code of NO_STD_LIST is set.
7062 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7064 * BufferView_pimpl.C:
7074 * graphics/GraphicsConverter.C:
7075 * graphics/PreviewLoader.C: header adjustment
7077 2003-05-23 Angus Leeming <leeming@lyx.org>
7079 * LaTeXFeatures.[Ch] (useBabel): new method.
7080 * bufferparams.C (writeLaTeX): use it.
7082 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7084 * ParagraphList.h (set): remove unused function.
7086 2003-05-23 André Pönitz <poenitz@gmx.net>
7089 * BufferView_pimpl.C:
7093 * undo_funcs.C: setUndo reworked
7095 * iterators.[Ch]: add access to topmost ParagraphList
7097 * lyxtext.[Ch] (workWidth): add a const
7099 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7101 * texrow.[Ch] (increasePos): remove function
7102 * exporter.C (export): removed unused var and outdated comment
7104 2003-05-23 Angus Leeming <leeming@lyx.org>
7106 * latexrunparams.h: rename fragile as moving_arg.
7107 * paragraph.C (simpleTeXOnePar): ditto.
7108 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7110 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7112 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7114 (textUndoOrRedo): comment out a currently unused var.
7116 * paragraph.h (NO_NEXT): enable NO_NEXT
7118 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7120 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7122 * exporter.C (Export): adjust for removeAutoInsets removal.
7124 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7126 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7128 * BufferView.[Ch] (removeAutoInsets): delete function
7130 2003-05-22 Angus Leeming <leeming@lyx.org>
7132 * latexrunparams.h: add a free_spacing variable.
7134 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7135 to pass moving_arg, as the data is stored in runparams.fragile.
7137 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7138 to Inset::latexOptional or to simpleTeXOnePar.
7140 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7141 free_spacing arg to Inset::latexOptional.
7143 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7146 2003-05-22 Angus Leeming <leeming@lyx.org>
7148 * latexrunparams.h: add fragile and use_babel variables.
7150 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7151 * buffer.C (makeLaTeXFile): store this returned value in
7152 runparams.use_babel, thus passing it to the inset::latex methods.
7154 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7155 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7157 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7158 longer has a fragile arg, as it is stored in runparams.fragile.
7160 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7161 moving_arg parameter as the data is stored in runparams.fragile.
7163 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7164 a fragile parameter as the data is stored in runparams.fragile.
7166 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7168 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7170 2003-05-22 Angus Leeming <leeming@lyx.org>
7172 * latexrunparams.h: add a 'bool nice' which defaults to false.
7174 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7175 now encapsulated within runparams.
7177 * bufferlist.C (updateIncludedTeXfiles):
7178 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7180 2003-05-22 Angus Leeming <leeming@lyx.org>
7182 * latexrunparams.h: new file containing struct LatexRunParams.
7183 * Makefile.am: add new file.
7185 * LaTeX.[Ch] (c-tor, run):
7186 * buffer.[Ch] (makeLaTeXFile):
7187 * bufferlist.[Ch] (updateIncludedTeXfiles):
7188 * converter.C (convert, scanLog):
7189 * converter.[Ch] (runLaTeX):
7190 * exporter.C (Export):
7191 * paragraph.[Ch] (simpleTeXOnePar):
7192 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7193 * paragraph_funcs.[Ch] (latexParagraphs):
7194 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7195 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7196 pass around a LatexRunParams parameter.
7198 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7200 * paragraph.[Ch]: remove unused constructor
7202 * ParagraphList.C (erase): new function, taking two iterators
7204 2003-05-22 André Pönitz <poenitz@gmx.net>
7206 * undo_funcs.C: remove duplicated code
7208 * iterator.[Ch]: operator=
7210 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7212 * tabular.C (SetMultiColumn): ws changes
7214 * rowpainter.C (paintFirst): get rid of a ->previous
7216 * lyx_cb.C (getPossibleLabel): parlist simplification
7218 * BufferView.C (ChangeInsets): simplify slightly.
7220 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7222 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7223 * lfuns.h: new LFUN_SPACE
7224 * lyxfunc.C: protected space has a new lfun
7225 * paragraph_funcs.C: read new space insets
7227 * factory.C: handle new space insets
7229 2003-05-22 André Pönitz <poenitz@gmx.net>
7232 * BufferView_pimpl.C:
7235 * undo_funcs.C: return a ParIterator from getParFromID.
7237 * iterators.[Ch]: add two const's
7239 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7241 * toc.C (getTocList): adjust
7243 * iterators.[Ch]: rework for parlist
7245 * buffer.C (par_iterator_begin): adjust
7246 (par_iterator_end): adjust
7248 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7250 * BufferView.C (removeAutoInsets): adjust
7251 (ChangeInsets): adjust
7253 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7255 * text.C (top_y): fix bug 1110
7257 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7259 * errorlist.[Ch]: added
7262 * BufferView_pimpl.C:
7263 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7266 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7268 * Makefile.am: ensure that lyx is relinked upon changes to the
7269 various "convenience" libs.
7271 2003-05-20 Angus Leeming <leeming@lyx.org>
7273 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7274 files are compiled in alphabetical order again.
7276 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7278 2003-05-19 Angus Leeming <leeming@lyx.org>
7280 * gettext.[Ch]: remove "char const * _(char const *)".
7282 2003-05-19 André Pönitz <poenitz@gmx.net>
7284 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7293 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7295 2003-05-19 André Pönitz <poenitz@gmx.net>
7299 * lyxtextclass.[Ch]:
7301 * paragraph_funcs.[Ch]:
7303 * text3.C: more insetenv work
7305 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7307 * ParagraphParameters.C (params2string): small bug fixed
7309 2003-05-16 André Pönitz <poenitz@gmx.net>
7312 * bufferview_funcs.C: patch from Kornel Benko to prevent
7313 crash when _(...) is called twice in a statement
7315 2003-05-16 André Pönitz <poenitz@gmx.net>
7322 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7324 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7326 * lyx_main.C (init): remove spurious static_cast
7328 2003-05-14 André Pönitz <poenitz@gmx.net>
7330 * BufferView.C: fix format string
7332 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7334 * BufferView.[Ch] (insertErrors): removed
7335 * BufferView.[Ch] (showErrorList): added
7336 * buffer.C (runChkTeX):
7337 * converter.C (scanLog): call showErrorList instead of inserterrors
7339 2003-05-13 André Pönitz <poenitz@gmx.net>
7341 * BufferView_pimpl.C:
7343 * bufferview_func.C:
7350 * tabular_funcs.h: tostr() from its own header
7352 * ParagraphParameters.C:
7357 * text3.C: STRCONV()
7359 2003-05-12 André Pönitz <poenitz@gmx.net>
7362 * BufferView_pimpl.C:
7366 * ParagraphParameters.C:
7370 * bufferview_funcs.C:
7383 * paragraph_funcs.C:
7387 * text3.C: boost::format -> bformat all over the place
7390 2003-05-09 André Pönitz <poenitz@gmx.net>
7392 * LColor.[Ch]: Pimpl the #include <map> away
7394 2003-05-09 John Levon <levon@movementarian.org>
7396 * bufferlist.C: never remove emergency saves
7398 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7400 * Makefile.am: better lib building
7402 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7404 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7406 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7407 (simpleTeXSpecialChars): adjust
7408 (simpleTeXSpecialChars): adjust
7409 * paragraph.C (simpleTeXOnePar): adjust
7410 * buffer.C (makeLaTeXFile): adjust
7412 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7414 * text2.C (changeDepth): parlist cleanup
7415 (getColumnNearX): ditto
7417 * rowpainter.C (getLabelFont): parlist cleanup
7419 * bufferlist.C (newFile): parlist cleanup
7421 * CutAndPaste.C (eraseSelection): parlist cleanup
7423 * BufferView_pimpl.C (trackChanges): parlist cleanup
7426 * BufferView.C (lockInset): parlist cleanup.
7427 (ChangeInsets): ditto
7429 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7431 * CutAndPaste.h: Update file header.
7433 * CutAndPaste.C: Update file header.
7434 Store the parts cut out of the Document in a limited_stack.
7435 (copySelection): adjust
7436 (pasteSelection): new function, takes the index in the limited stack.
7437 (nrOfParagraphs): adjust
7438 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7439 simplify error inset insertion.
7440 (checkPastePossible): adjust
7442 2003-05-06 John Levon <levon@movementarian.org>
7444 * text2.C: don't cast wrap inset to float
7446 2003-05-05 André Pönitz <poenitz@gmx.net>
7449 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7451 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7452 few naked Paragraph *.
7454 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7456 * bufferparams.C: Output warning if a document with missing
7457 TeX document class is loaded
7458 * exporter.C: Disable TeX exports if the document class is missing
7461 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7462 isTeXClassAvailable()
7464 2003-05-03 John Levon <levon@movementarian.org>
7467 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7468 explicit cursor show/hide
7470 * BufferView_pimpl.h:
7471 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7472 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7474 * lyxfunc.C: hide cursor before dispatching.
7479 * text3.C: remove explicit cursor hides
7481 2003-05-02 André Pönitz <poenitz@gmx.net>
7483 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7486 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7489 * text2.C: tiny whitespace
7491 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7493 * undo_funcs.C: almost only ws changes.
7495 * ParagraphList.C (splice): just return if pl is empty.
7497 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7499 * ParagraphList.C (splice): new function.
7501 * CutAndPaste.C (pasteSelection): use it
7503 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7505 * CutAndPaste.C (pasteSelection): remove the last next and
7506 previous from this file.
7508 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7510 * CutAndPaste.C (pasteSelection): more clean up, user proper
7511 ParagraphList functions for pasteing.
7513 * ParagraphList.C (insert): new function, three arg insert
7515 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7517 * ParagraphList.C (insert): new function, three arg insert
7519 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7522 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7524 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7526 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7528 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7530 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7532 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7533 (copySelection): clean up a bit.
7534 (pasteSelection): use make_pair
7536 * ParagraphList.C (ParagraphList): implement copy constructor
7537 (operator=): implement, base on copy constructor.
7540 * paragraph.C (erase): return a bool
7542 * paragraph_pimpl.C (erasePos): remove function, move contents...
7543 (erase): ... here. Return a bool.
7544 (erase): call erase instead of erasePos.
7546 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7548 * ParagraphList.h: define PitPosPair
7549 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7550 ParagraphList, fix a bug on pasting multiple pars
7551 * text2.C: change interface to C&P
7553 2003-04-30 André Pönitz <poenitz@gmx.net>
7555 * undo_func.C: revert part of yesterday's patch 2
7557 2003-04-30 John Levon <levon@movementarian.org>
7559 * LColor.C: s/tabular/table/
7561 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7563 * text3.C (dispatch): do not convert iterator -> pointer
7564 * undo_funcs.C (setCursorParUndo): ditto
7565 * text_funcs.C (transposeChars): ditto
7567 * text2.C (setLayout): ws changes only
7569 * text.C (breakParagraph): do not convert iterator -> pointer
7571 (acceptChange): ditto
7572 (rejectChange): ditto
7577 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7580 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7582 * text3.C (gotoInset): YABG (yet another bad getChar)
7584 2003-04-29 André Pönitz <poenitz@gmx.net>
7586 * paragraph.h: make operator= private unimplemented as long as
7589 * ParagraphList.C: whitespace
7592 * paragraph_pimpl.[Ch]:
7593 * paragraph_funcs.C:
7595 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7598 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7600 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7602 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7603 * paragraph.[Ch] (erase):
7604 * paragraph_pimpl.[Ch] (erase): change return type and value
7605 * text2.C (cutSelection): some rework
7607 2003-04-28 John Levon <levon@movementarian.org>
7609 * bufferlist.C: changes for unsaved changes dialog
7611 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7613 * bufferlist.C (newFile): set language (messages_) for new
7616 * buffer.C (readFile): ws changes only.
7618 2003-04-28 André Pönitz <poenitz@gmx.net>
7623 * BufferView_pimpl.C:
7624 * BufferView.C: getParFromID related ParagraphList::iterator changes
7626 2003-04-28 André Pönitz <poenitz@gmx.net>
7628 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7631 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7633 * messages.C: remove one more localedir class variable.
7635 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7637 * messages.C (getLocaleDir): singleton generation function
7639 (Messages): add a default constructor.
7641 * main.C (main): do not setup localedir here, do not call
7644 * gettext.C (_): use it.
7645 (gettext_init): delete funciton
7647 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7649 * gettext.C (getLyXMessages): new singleton generating function.
7651 * buffer.C (updateDocLang): adjust
7653 * Makefile.am (messages.o): add target
7654 (main.o): remove target
7656 2003-04-27 John Levon <levon@movementarian.org>
7661 * lyxvc.C: specify cancel button in Alert::prompt
7663 2003-04-26 John Levon <levon@movementarian.org>
7668 * LyXAction.C: add LFUN_INSET_SETTINGS
7670 * lyxfunc.C: don't enable tabular-feature when there's
7671 just any locking inset
7673 2003-04-26 John Levon <levon@movementarian.org>
7675 * bufferlist.C: re-add Cancel to buffer close question
7677 * lyxfunc.C: fix import UI a bit
7679 2003-04-25 John Levon <levon@movementarian.org>
7681 * gettext.C: remove the broken asserts for now
7683 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7685 * messages.C: make case where setlocale cannot comply work better.
7687 * buffer.C (updateDocLang): new function
7688 (changeLanguage): use it
7691 * text2.C (setCounter): use B_ a bit.
7693 * lyxlayout.C (Read): be sure to trim the label strings.
7695 * messages.C (Messages): fix typo in comment
7697 * buffer.C (readFile): set message_ after file is loaded.
7698 (makeDocBookFile): remove double return
7699 (changeLanguage): reset message_ upon language change.
7700 (B_): new func, use this to get translated buffer strings.
7702 * main.C: add myself and Jean Marc as authors.
7704 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7706 * messages.[hC]: pimplify Messages, and three different pimpls to be
7707 used in different circumstances.
7709 * gettext.[Ch]: change for use with new message code.
7711 2003-04-24 André Pönitz <poenitz@gmx.net>
7713 * factory.C: support for eqref
7715 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7717 * messages.[Ch]: add missing char
7719 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7721 * messages.[Ch]: New files
7723 2003-04-18 John Levon <levon@movementarian.org>
7727 * BufferView_pimpl.C:
7731 * text2.C: remove layout-copy/paste (bug 778)
7733 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7735 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7737 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7739 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7740 if they succeed. Act accordingly.
7742 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7744 * text2.C (setCharFont): adjust
7745 (setCounter): adjust
7746 (insertStringAsLines): adjust
7748 * text.C (leftMargin): adjust
7749 (setHeightOfRow): adjust
7751 * rowpainter.C (paintFirst): adjust
7754 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7756 (isFirstInSequence): ditto
7757 (getEndLabel): ditto
7760 * paragraph.C (getParLanguage): comment out some hard stuff.
7762 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7764 (simpleDocBookOnePar): ditto
7765 (makeDocBookFile): use ParagraphList::iterator
7767 * CutAndPaste.C (pasteSelection): adjust
7769 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7771 * text2.C (getFont): adjust
7772 (getLayoutFont): adjust
7773 (getLabelFont): adjust
7775 * paragraph_funcs.C (TeXOnePar): adjust
7777 * buffer.C (simpleLinuxDocOnePar): adjust
7778 (simpleDocBookOnePar): adjust
7780 * CutAndPaste.C (pasteSelection): adjust
7782 * BufferView.C (getEncoding): adjust
7784 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7786 2003-04-16 John Levon <levon@movementarian.org>
7788 * lyxfind.C: use parlist stuff for search/changes
7790 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7792 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7794 * text2.C (deleteEmptyParagraphMechanism): adjust
7796 * text2.[Ch] (ownerParagraph): delete func (both of them
7798 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7800 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7802 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7804 * ParagraphList.C: prepare for NO_NEXT
7806 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7808 * text2.C (getFont): adjust
7809 (getLayoutFont): adjust
7810 (getLabelFont): adjust
7812 * paragraph.C (getFont): adjust
7813 (getLabelFont): adjust
7814 (getLayoutFont): adjust
7816 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7818 2003-04-15 John Levon <levon@movementarian.org>
7822 * lyx_main.C: handle Include in .ui files
7824 2003-04-15 John Levon <levon@movementarian.org>
7826 * MenuBackend.C: make the doc files length shorter
7829 * ToolbarBackend.C: handle toolbar placement flags,
7832 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7834 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7837 * paragraph_funcs.C (TeXOnePar): adjust
7839 * paragraph.C (getLabelFont): add outerfont arg, adjust
7840 (getLayoutFont): ditto
7841 (simpleTeXOnePar): adjust
7843 * paragraph_pimpl.C (realizeFont): delete func
7845 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7847 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7848 row argument, constify cur argument.
7850 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7852 * text2.C (getFont): adjust
7853 (getLayoutFont): adjust
7854 (getLabelFont): adjust
7856 * paragraph_funcs.C (TeXOnePar): adjust
7857 (outerFont): new func...
7858 (realizeFont): ...moved out from here, changed this to facilitate
7861 * paragraph.C (getFont): take outerfont as arg, adjust
7862 (simpleTeXOnePar): add outerfont arg, adjust
7864 * buffer.C (simpleLinuxDocOnePar): adjust
7865 (simpleDocBookOnePar): adjust
7867 * CutAndPaste.C (pasteSelection): adjust
7869 * BufferView.C (getEncoding): adjust
7871 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7873 * text2.C (setCharFont): adjust
7874 (setCounter): adjust
7876 * text.C (leftMargin): adjust
7877 (setHeightOfRow): adjust
7879 * rowpainter.C (paintFirst): adjust
7882 * paragraph_pimpl.C (realizeFont): adjust
7884 * paragraph.C (isFirstInSequence): move from here...
7885 * paragraph_funcs.C (isFirstInSequence): ...to here
7887 * paragraph.C (outerHook): move from here...
7888 * paragraph_funcs.C (outerHook): ...to here
7890 * paragraph.C (depthHook): move from here...
7891 * paragraph_funcs.C (depthHook): ...to here
7893 * paragraph.C (getEndLabel): move from here...
7894 * paragraph_funcs.C (getEndLabel): ...to here
7896 * text2.C (realizeFont): move from here...
7897 * paragraph_funcs.C (realizeFont): ...to here
7899 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7901 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7903 2003-04-14 Angus Leeming <leeming@lyx.org>
7905 * LColor.[Ch]: scrap LColor mathcursor.
7907 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7909 * lyxlex.[Ch] (text): delete function
7910 * trans.C (Load): adjust
7911 * paragraph_funcs.C (readParToken): adjust
7913 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7915 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7916 vector<char> instead of a char[].
7918 * lyxlex_pimpl.C (getString): adjust
7920 (lex): use getString
7924 * lyxlex.C (text): use pimpl_->getString()
7928 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7930 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7931 (makeFontEntriesLayoutSpecific): temp var for par.size()
7932 (setLayout): temp var for ownerParagraphs().end()
7933 (fullRebreak): temp var for rows().end()
7934 (selectionAsString): temp var for boost::next(startpit), realize
7935 that the while really is a regular for loop.
7936 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7937 setCursor in one place.
7938 (setParagraph): temp vr for ownerParagraphs().end()
7939 (updateCounters): make the while loop a for loop
7940 (cutSelection): temp var for ownerParagraphs().end()
7941 (updateInset): make the do {} while() a regular for loop
7942 (getCursorX): use temp vars
7943 (setCurrentFont): use temp vars
7944 (getColumnNearX): use temp vars
7946 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7948 * text.C (transformChar): use temp var for getChar
7949 (computeBidiTables): use temp var for row->par()
7950 (fill): move temp vars for row->par() and pit->layout() earlier in
7952 (labelFill): use temp var for row->par()
7953 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7954 asc and desc, realize that pit never changes and that firstpit is
7955 just a duplicate and not needed. Exchange rit->par() with pit in a
7957 (breakAgain): use a temp var for boost::next(rit)
7958 (breakAgainOneRow): ditto
7959 (breakParagraph): use a temp var for rows().begin()
7960 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7961 (cursorRightOneWord): use temp var for cursor.par() and
7962 cursor.pos(), remove usage of tmpcursor.
7963 (cursorLeftOneWord): use temp var for cursor.par() and
7964 cursor.pos() only set cur at end of function.
7966 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7968 * text.C, text2.C: exchange all usage of Paragraph::next with
7969 boost::next(ParagraphList::iterator)
7971 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7973 * text2.C (cursorTop): simplify implementation
7974 (cursorBottom): ditto
7975 (setParagraph): use ParagraphList::iterator
7976 (setCurrentFont): adjust
7977 (getColumnNearX): adjust
7978 (cursorRight): adjust
7979 (cursorLeft): remove usage of Paragraph::previous
7980 (cursorUpParagraph): ditto
7981 (deleteEmptyParagraphMechanism): slight cleanup
7983 * text.C (isBoundary): take a Paragraph const & instead of a
7985 (addressBreakPoint): ditto
7986 (leftMargin): remove usage of Paragraph::previous.
7987 (setHeightOfRow): ditto
7988 (cursorLeftOneWord): ditto
7989 (selectNextWordToSpellcheck): ditto
7992 (breakParagraph): remove one usage of Paragraph::next
7993 (redoParagraph): ditto
7994 (acceptChange): ditto
7995 (insertChar): adjust
7996 (rowBreakPoint): adjust
7998 * bufferview_funcs.C (toggleAndShow): adjust
8000 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8002 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8003 methods to access it.
8005 * text.C: Added updateRowPositions to compute all row positions.
8006 Make top_y and getRowNearY() to use the cached y position
8008 2003-04-11 John Levon <levon@movementarian.org>
8010 * text.C (rowBreakPoint): reintroduce the labelEnd
8011 checks, code copied from the row fill stuff. Deep voodoo.
8013 * text.C (fill): add a comment and debugging for the
8016 2003-04-11 John Levon <levon@movementarian.org>
8018 * text.C: make sure fullrow insets get wrapped to the next line,
8019 even when they're in a manual label
8021 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8023 * text2.C (insertParagraph): make it take ParagraphList::iterator
8025 (setLayout): make it return ParagraphList::iterator
8026 (redoParagraphs): ditto
8028 (checkParagraph): ditto
8030 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8032 * text2.C: adjust several funcs.
8033 (realizeFont): take a ParagraphList::iterator as arg.
8034 (getLayoutFont): ditto
8035 (getLabelFont): ditto
8036 (setCharFont): ditto
8038 * text.C: adjust several funcs.
8040 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8042 * text.C (selectNextWordToSpellcheck): don't accidentally
8045 2003-04-10 John Levon <levon@movementarian.org>
8047 * ToolbarBackend.C (getIcon): special handling for
8050 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8052 * text2.C (cursorRight): a getChar assert fixed
8054 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8056 * text2.C (getFont): change to take a ParagraphList::iterator
8057 instead of Paragraph*
8058 Adjust several functions.
8060 * text.C (transformChar): change to take a ParagraphList::iterator
8061 instead of Paragraph*
8062 (singleWidth): ditto
8063 Adjust several functions.
8065 * rowpainter.C: adjust several functions
8066 * rowpainter.h:store a ParagraphList::iterator and not a
8070 2003-04-09 John Levon <levon@movementarian.org>
8075 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8076 and the "help" bits as well
8078 2003-04-09 John Levon <levon@movementarian.org>
8081 * ToolbarBackend.C: allow multiple toolbars
8083 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8085 * undo_funcs.C (setCursorParUndo): adjust
8087 * text_funcs.C (transposeChars): adjust
8089 * text3.C (gotoNextInset): adjust
8092 * text2.C (setLayout): adjust
8093 (changeDepth): adjust
8095 (redoParagraphs): adjust
8096 (selectionAsString): adjust
8097 (setParagraph): adjust
8098 (insertInset): adjust
8099 (cutSelection): adjust
8100 (copySelection): adjust
8101 (pasteSelection): adjust
8102 (insertStringAsLines): adjust
8103 (updateInset): adjust
8104 (setCursor): change to take a ParagraphList::iterator parameter
8105 (setCursorIntern): change to take a ParagraphList::iterator parameter
8106 (setCurrentFont): adjust
8107 (cursorLeft): adjust
8108 (cursorRight): adjust
8109 (deleteEmptyParagraphMechanism): adjust
8111 * text.C (breakParagraph): adjust
8112 (insertChar): adjust
8113 (acceptChange): adjust
8114 (rejectChange): adjust
8115 (selectNextWordToSpellcheck): adjust
8116 (changeCase): adjust
8120 * lyxfind.C (SearchForward): adjust
8121 (SearchBackward): adjust
8122 (nextChange): adjust
8124 * lyxcursor.C (par): adjust
8126 * lyxcursor.h: store a ParagraphList::iterator instead of a
8129 * lyx_cb.C (getPossibleLabel): adjust
8131 * bufferview_funcs.C (toggleAndShow): adjust
8133 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8136 * BufferView.C (removeAutoInsets): adjust
8137 (lockedInsetStoreUndo): adjust
8139 2003-04-09 John Levon <levon@movementarian.org>
8141 * ToolbarBackend.C: try icon without argument
8142 if with argument fails
8144 2003-04-08 John Levon <levon@movementarian.org>
8147 * ToolbarBackend.C: add getIcon(), handle tooltip,
8148 and change from "Icon" to "Item".
8150 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8152 * BufferView.C (lockInset): another bad getchar crunched
8154 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8156 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8159 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8161 * lyxfind.C (searchForward, searchBackwards): bug 782
8163 2003-04-07 John Levon <levon@movementarian.org>
8165 * paragraph.C: remove dead comment
8167 * text.C: remove troublesome depth-fiddling code
8168 in leftMargin() and rightMargin() (bug 1017)
8170 * text.C: fix breaking of rows in nested lists
8173 * text2.C (updateCounters): fix up depth values
8176 2003-04-07 John Levon <levon@movementarian.org>
8178 * BufferView_pimpl.C: clear message when doc finishes resizing,
8179 and after a mouse event
8181 * lyxfunc.C: clear message after exiting inset
8183 2003-04-07 John Levon <levon@movementarian.org>
8185 * bufferview_funcs.C: show math status not outside
8186 status in the statusbar
8188 2003-04-07 John Levon <levon@movementarian.org>
8190 * lyxfunc.C: note status changed after a depth change
8192 2003-04-04 Angus Leeming <leeming@lyx.org>
8194 * LaTeX.h: move AuxInfo operator==, != out of line.
8195 Remove LaTeX virtual destructor; nothing derives from it.
8196 Move operator()() out of public area and rename it startscript().
8197 Change protected for private.
8199 2003-04-04 Angus Leeming <leeming@lyx.org>
8202 * text2.C: remove unneeded #includes.
8204 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8206 * text2.C (dEPM): fix the heigth of the next row
8208 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8210 * text.C: squashed an invalid getChar requester + some ws changes
8212 2003-04-03 John Levon <levon@movementarian.org>
8214 * bufferview_funcs.h:
8215 * bufferview_funcs.C:
8218 * text2.C: make getStatus work for the env depth lfuns
8220 2003-04-03 John Levon <levon@movementarian.org>
8222 * bufferview_funcs.h:
8223 * bufferview_funcs.C:
8226 * text2.C: parlistize decDepth(), by merging it with incDepth()
8228 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8230 * lyxrow.h: store a ParagraphList::iterator instead of a
8231 Paragraph* and adjust other class functions to suit.
8233 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8236 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8238 * text2.C (setCursor): do not anchor to cursor row for the time being
8240 2003-04-02 John Levon <levon@movementarian.org>
8247 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8249 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8251 * paragraph.h: make ParagraphList and ParagraphList::iterator
8252 friends of Paragraph.
8254 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8256 * ParagraphList.C: Use the private next_ and previous_ from
8259 2003-04-01 John Levon <levon@movementarian.org>
8263 * Makefile.am: rename, remove defaults gunk
8266 * MenuBackend.C: remove defaults gunk
8269 * Languages.C: remove defaults gunk
8272 * lyx_main.C: error out if files couldn't be found.
8274 2003-04-02 John Levon <levon@movementarian.org>
8276 * text2.C: make incDepth() use parlist
8278 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8280 * undo_funcs.C (firstUndoParagraph): adjust
8282 * text3.C (gotoInset): adjust
8283 (dispatch): adjust, and rewrite loop.
8285 * text2.C (init): adjust, and rewrite loop.
8286 (redoParagraphs): adjust
8287 (updateInset): adjust, and rewrite loop.
8288 (deleteEmptyParagraphMechanism): adjust
8290 * tabular.C (LyXTabular): adjust
8291 (SetMultiColumn): adjust
8294 * lyxtext.[Ch] (ownerParagraph): delete function
8295 (ownerParagraphs): new function returns a ParagraphList.
8297 * BufferView.C (removeAutoInsets): adjust
8298 (insertErrors): adjust
8299 (setCursorFromRow): adjust
8301 2003-04-01 Angus Leeming <leeming@lyx.org>
8303 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8306 2003-04-02 John Levon <levon@movementarian.org>
8312 * text_funcs.C: make transposeChars a free function
8314 * lyxrow_funcs.C: remove wrong comment
8316 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8319 * rowpainter.C: adjust
8324 * lyxrow_funcs. [Ch]: new files
8326 * lyxrow.[Ch]: remove next and previous pointers
8327 (next,previous): remove accessor functions
8328 (isParEnd): move to lyxrow_funcs
8329 (lastPos): move to lyxrow_funcs
8330 (nextRowIsAllInset): move to lyxrow_funcs
8331 (lastPrintablePos): move to lyxrow_funcs
8332 (numberOfSeparators): move to lyxrow_funcs
8333 (numberOfHfills): move to lyxrow_funcs
8334 (numberOfLabelHfills): move to lyxrow_funcs
8335 (hfillExpansion): move to lyxrow_funcs
8339 * bufferview_funcs.C (toggleAndShow): adjust
8341 * RowList.h: Remove class RowList from file leave just a
8344 * RowList.C: delete file
8346 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8349 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8351 * text3.C (cursorPrevious): adjust
8352 (cursorNext): adjust
8355 * text2.C (redoHeightOfParagraph): adjust
8356 (redoDrawingOfParagraph): adjust
8359 * text.C (breakParagraph): adjust
8360 (insertChar): adjust
8363 * rowpainter.C (RowPainter): adjust
8364 (leftMargin): simplify and adjust
8365 (most rowpainter functions): adjust.
8367 * rowpainter.h: store the row as RowList::iterator not as Row*
8369 * lyxcursor.C (row): taka RowList::iterator as arg
8372 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8375 2003-04-01 Angus Leeming <leeming@lyx.org>
8377 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8378 stuff like bool Bool.
8380 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8382 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8385 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8387 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8390 * lyxtext.h (rows): drop one version and leve a const variant that
8391 returns a RowList::iterator.
8393 2003-03-31 Angus Leeming <leeming@lyx.org>
8395 * text.C (fill): ensure that the signature is the same as that in the
8398 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8400 * text2.C (redoParagraphs): adjust
8401 (updateCounters): adjust
8402 (checkParagraph): adjust
8403 (getColumnNearX): adjust and reformat a bit.
8405 * text.C (top_y): adjust
8407 (leftMargin): adjust
8408 (prepareToPrint): adjust
8410 (getRowNearY): adjust
8412 * lyxtext.h: make rowlist_ mutable.
8414 * RowList.h: add const_iterator
8415 * RowList.C: adjust for RowList::const_iterator.
8417 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8420 2003-03-31 John Levon <levon@movementarian.org>
8423 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8425 * lyx_main.C: set default fonts from using lyx_gui funcs
8427 * exporter.C: pdf_mode moved from lyxrc
8430 * lyxfunc.C: changes from above
8432 2003-03-31 John Levon <levon@movementarian.org>
8434 * lyx_main.C: fix to the last fix
8436 2003-03-31 John Levon <levon@movementarian.org>
8438 * bufferlist.C: "Load original" -> "Load Original"
8444 * format.C: more Alert cleanups
8446 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8448 * text2.C (removeParagraph): make it take a RowList::iterator as
8450 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8451 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8453 * text.C (anchor_row): make it take a RowList::iterator as arg,
8455 (computeBidiTables): make it take a const reference to Row instead
8456 of Row pointer, adjust.
8457 (leftMargin): make it take a RowList::iterator as arg, adjust.
8458 (rowBreakPoint): adjust
8459 (breakAgainOneRow): make it take a RowList::iterator as arg,
8461 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8463 * bufferview_funcs.C (toggleAndShow): adjust
8465 2003-03-30 John Levon <levon@movementarian.org>
8469 * boost-inst.C: moved to support
8471 * several files: changes as a result
8473 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8475 * text2.C (LyXText): adjust.
8477 (removeRow): make it take a RowList::iterator as arg, adjust.
8478 (fullRebreak): adjust
8479 (deleteEmptyParagraphMechanism): adjust
8480 (clearPaint): adjust
8483 * text.C (top_y): adjust
8484 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8485 (breakAgain): make it take a RowList::iterator as arg, adjust.
8486 (breakParagraph): adjust
8487 (insertChar): adjust
8490 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8491 need_break_row, and refresh_row.
8493 * text3.C (dispatch): adjust
8495 * text2.C (checkParagraph): adjust
8497 (setCursorFromCoordinates): adjust
8499 * text.C (top_y): adjust
8501 (getRow): make it return a RowList::iterator, adjust
8502 (getRowNearY): make it return a RowList::iterator, adjust
8504 * text2.C (init): adjust
8505 (insertRow): remove function
8506 (insertParagraph): adjust
8507 (redoParagraphs): adjust
8508 (fullRebreak): adjust
8509 (updateCounters): adjust
8511 * text.C (top_y): rewrite to use RowList iterators.
8513 (setHeightOfRow): rewrite to sue RowList iterators.
8514 (appendParagraph): adjust
8515 (breakAgain): adjust
8516 (breakAgainOneRow): adjust
8517 (breakParagraph): adjust
8519 (getRowNearY): adjust, and remove commented code.
8521 * lyxtext.h (firstRow): delete function
8522 (lastRow): delete function
8523 (rows): new function (const and non-const versions.)
8524 (insertRow): delete function
8526 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8528 2003-03-29 John Levon <levon@movementarian.org>
8530 * BufferView_pimpl.C: always update scrollbar top
8531 because pasting text when we're anchored could mean we
8532 miss an update altogether
8534 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8536 * text2.C (init): use rowlist_.end() and not 0.
8537 (insertRow): change to take a RowList::iterator as arg, adjust
8539 (insertParagraph): change to take a RowList::iterator as arg,
8541 (redoParagraphs): remove some debug msgs.
8543 * text.C (appendParagraph): change to take a RowList::iterator
8544 arg, adjust for this.
8545 (breakAgain): add an assert
8546 (breakAgainOneRow): ditto
8548 2003-03-29 John Levon <levon@movementarian.org>
8550 * text2.C: do not clear selection after inc/decDepth
8553 2003-03-29 John Levon <levon@movementarian.org>
8556 * buffer.C: fix broken strerrors according to Lars
8558 2003-03-29 John Levon <levon@movementarian.org>
8560 * converters.C: more Alert cleanups
8562 2003-03-29 John Levon <levon@movementarian.org>
8564 * bufferview_funcs.C: remove pointless Alert
8566 * buffer.C: fix confusing error message when
8567 a template is chmoded 000
8569 2003-03-29 John Levon <levon@movementarian.org>
8573 * BufferView_pimpl.C: Alert fixes
8577 * tabular-old.C: remove unused table compat reading
8579 2003-03-29 John Levon <levon@movementarian.org>
8584 * lyx_cb.C: more Alert cleanups
8586 * lyxfunc.C: don't allow chktex if not latex document
8588 2003-03-29 John Levon <levon@movementarian.org>
8592 * buffer.C: warnings pushed down from support/,
8595 2003-03-29 John Levon <levon@movementarian.org>
8597 * lyxfunc.C: safety check for C-r (revert)
8599 2003-03-29 John Levon <levon@movementarian.org>
8602 * bufferlist.C: several UI fixes using Alert::prompt.
8603 Fix the pointless looping quit code. Fix stupid revert
8608 * lyx_cb.C: use Alert::prompt
8610 * lyx_main.C: remove a silly question
8612 * lyxfunc.C: remove a couple of silly questions,
8615 2003-03-28 John Levon <levon@movementarian.org>
8617 * text2.C: fix bug 974 (End on empty par)
8619 2003-03-28 John Levon <levon@movementarian.org>
8621 * BufferView_pimpl.C:
8623 * lfuns.h: remove do-nothing math greek lfuns
8625 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8627 * lyxgluelength.h (isValidGlueLength): add default arg on
8628 parameter 2. Remove default arg from friend in class.
8630 * lyxlength.h (isValidLength): add default arg on parameter 2.
8631 Remove default arg from friend in class.
8633 * text2.C (LyXText): adjust, initialize refresh_row.
8637 (insertParagraph): adjst
8638 (redoParagraphs): adjust
8639 (fullRebreak): adjust
8640 (updateCounters): adjust
8641 (deleteEmptyParagraphMechanism): first attempt at fixing a
8644 * text.C (top_y): adjust
8645 (setHeightOfRow): adjust
8647 (getRowNearY): adjust
8649 * lyxtext.h: include RowList.h
8650 (~LyXText): not needed anymore, deleted.
8651 (firstRow): modify for RowList
8652 (lastRow): new function
8653 Delete firstrow and lastrow class variables, add a Rowlist
8654 rowlist_ class variable.
8656 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8659 * RowList.C (insert): fix case where it == begin().
8661 2003-03-26 Angus Leeming <leeming@lyx.org>
8663 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8664 the thesaurus dialog.
8666 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8668 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8670 * RowList.[Ch]: new files
8672 * ParagraphList.C (erase): handle the case where it == begin
8675 2003-03-25 John Levon <levon@movementarian.org>
8679 * aspell.C: add new aspell support
8682 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8685 2003-03-25 Angus Leeming <leeming@lyx.org>
8688 * LyXAction.C (init): new LFUN_INSET_INSERT.
8690 * BufferView_pimpl.C (dispatch): split out part of the
8691 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8693 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8696 2003-03-25 Angus Leeming <leeming@lyx.org>
8698 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8700 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8703 * text3.C: remove useless row->height(0)
8705 2003-03-25 John Levon <levon@movementarian.org>
8709 * text3.C: rename the refreshing stuff to better names
8711 2003-03-24 John Levon <levon@movementarian.org>
8713 * BufferView_pimpl.h:
8714 * BufferView_pimpl.C: update layout choice on a mouse
8717 2003-03-23 John Levon <levon@movementarian.org>
8719 * Makefile.am: fix commandtags.h reference
8721 2003-03-22 John Levon <levon@movementarian.org>
8723 * BufferView_pimpl.C:
8728 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8730 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8733 * text.C: take the rtl methods out of line
8735 2003-03-21 André Pönitz <poenitz@gmx.net>
8737 * metricsinfo.[Ch]: new files containing structures to be passed around
8738 during the two-phase-drawing...
8740 2003-03-21 André Pönitz <poenitz@gmx.net>
8742 * lyxtextclass.C: read 'environment' tag.
8744 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8746 * text2.C (removeRow): fix bug 964
8748 2003-03-20 John Levon <levon@movementarian.org>
8752 * text2.C: paint cleanups. Inset::update() dropped font
8755 2003-03-19 John Levon <levon@movementarian.org>
8757 * lyxfunc.C: only fitcursor/markDirty if available()
8759 2003-03-19 John Levon <levon@movementarian.org>
8761 * commandtags.h: rename to ...
8763 * lfuns.h: ... this, and renumber / cleanup
8765 2003-03-19 John Levon <levon@movementarian.org>
8767 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8768 fit the cursor after an lfun
8772 * BufferView_pimpl.h:
8773 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8775 * LyXAction.C: layout-character should have ReadOnly
8777 * ParagraphParameters.C:
8779 * bufferview_funcs.C:
8786 * undo_funcs.C: changes from above
8788 2003-03-18 John Levon <levon@movementarian.org>
8790 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8791 remove it from update()
8793 * lyxfunc.C: update layout choice after an lfun
8795 * text3.C: remove extra updateLayoutChoice()s
8797 2003-03-18 John Levon <levon@movementarian.org>
8799 * text.C: top_y change means full repaint, fix
8800 a drawing bug with cursor movement
8802 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8806 * text2.C: anchor row on setCursor
8808 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8810 * lyxtext.h: remove almost all mutable keywords
8813 * text3.C: remove const keywords accordingly
8815 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8817 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8819 (TeXEnvironment): ditto
8822 2003-03-17 John Levon <levon@movementarian.org>
8824 * text.C (rowBreakPoint): remove attempt to fix displayed
8825 math insets inside a manual label
8827 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8829 * lyxtext.h: remove BufferView* as first arg from almost all class
8831 * other files: adjust.
8833 2003-03-17 John Levon <levon@movementarian.org>
8837 * text2.C: more paint cleanups
8839 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8842 * rowpainter.C: remove "smart" background painting code
8844 2003-03-16 John Levon <levon@movementarian.org>
8849 * text3.C: add helper functions for setting refresh_row/y
8851 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8853 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8854 newline inset which *can* get inserted in the pass_thru layouts.
8855 This is primarily for literate documents.
8857 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8859 * buffer.C: increment LYX_FORMAT to 223
8861 2003-03-14 André Pönitz <poenitz@gmx.net>
8863 * textclass.h: prepare for environment handling, ws changes
8864 * lyxlayout.C: read latexheader and latexfooter tags
8866 2003-03-14 John Levon <levon@movementarian.org>
8868 * text2.C: rewrite ::status() a bit
8870 2003-03-13 John Levon <levon@movementarian.org>
8872 * lyxtext.h: add some docs
8874 2003-03-13 John Levon <levon@movementarian.org>
8879 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8881 2003-03-13 John Levon <levon@movementarian.org>
8883 * text3.C: fix appendix redrawing
8885 2003-03-13 John Levon <levon@movementarian.org>
8887 * text.C (setHeightOfRow):
8889 * rowpainter.C: make appendix mark have the text
8890 "Appendix" so the user knows what it is
8893 * LColor.C: s/appendixline/appendix/ from above
8895 2003-03-13 John Levon <levon@movementarian.org>
8897 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8899 * text.C: fix a getChar(pos) bug properly
8901 2003-03-13 Angus Leeming <leeming@lyx.org>
8904 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8905 Probably only temporary. Let's see how things pan out.
8907 * BufferView.C (unlockInset):
8908 * BufferView_pimpl.C (fitCursor):
8909 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8911 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8912 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8914 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8915 new functions that convert ParagraphParameters to and from a string.
8917 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8918 BufferView::Pimpl's dispatch.
8919 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8921 2003-03-13 André Pönitz <poenitz@gmx.net>
8925 * factory.C: make it aware of InsetEnv
8927 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8929 * text2.C (setCursor): never ask for one past last
8930 (setCursor): add some debugging messages.
8932 * text.C (singleWidth): never ask for one past last
8933 (singleWidth): ditto
8935 (rightMargin): ditto
8936 (rowBreakPoint): ditto
8937 (setHeightOfRow): ditto
8938 (prepareToPrint): ditto
8940 * rowpainter.C (paintBackground): never ask for one past last
8941 (paintText): never ask for one past last
8943 * paragraph_pimpl.C (getChar): make the assert stricter, never
8944 allow the one past last pos to be taken
8946 * paragraph.C (getChar): ws changes only
8948 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8949 (numberOfSeparators): ditto
8950 (numberOfHfills): ditto
8952 2003-03-12 John Levon <levon@movementarian.org>
8958 * paragraph_funcs.C: fix per-buffer authorlists
8960 2003-03-12 John Levon <levon@movementarian.org>
8962 * text.C: fix newline in right address
8964 2003-03-12 Angus Leeming <leeming@lyx.org>
8966 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8967 duplicate those in LyXFunc::dispatch.
8971 * ToolbarDefaults.C:
8972 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8973 Add LFUN_FONTFREE_UPDATE.
8975 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8976 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8978 * bufferview_func.[Ch]: several new functions to facilliate
8979 transfer of data to and from the character dialog.
8981 2003-03-12 John Levon <levon@movementarian.org>
8986 * paragraph_funcs.C:
8987 * paragraph_pimpl.C:
8991 * text3.C: remove META_NEWLINE in favour of an inset
8994 * rowpainter.C: remove paintNewline (done by inset)
8996 2003-03-12 John Levon <levon@movementarian.org>
8998 * paragraph_pimpl.C: complain about bad getChar()s
8999 for a while at least
9001 2003-03-12 John Levon <levon@movementarian.org>
9004 * buffer.C: move paragraph read into a separate function,
9005 a little renaming to reflect that.
9008 * bufferparams.C: remove the author_ids map, not necessary now
9011 * factory.C: moved Buffer::readInset to here
9013 * paragraph_funcs.h:
9014 * paragraph_funcs.C: readParagraph free function moved from
9017 * tabular.C: name change
9019 2003-03-12 John Levon <levon@movementarian.org>
9022 * ParagraphParameters.C: move par params input to
9025 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9026 behave like a normal read from the stream wrt reading
9027 a line vs. a \\token
9029 2003-03-12 John Levon <levon@movementarian.org>
9032 * ParagraphParameters.h:
9033 * ParagraphParameters.C: move output code to a
9036 2003-03-12 John Levon <levon@movementarian.org>
9038 * BufferView.C (insertLyXFile):
9041 * tabular.C: use a parlist iterator for creating the
9044 2003-03-12 John Levon <levon@movementarian.org>
9046 * buffer.C: make current_change static local not
9049 2003-03-12 John Levon <levon@movementarian.org>
9051 * buffer.C: fix insertStringAsLines for change tracking
9053 2003-03-12 John Levon <levon@movementarian.org>
9060 * bufferparams.C: move author list into params. Rename some
9061 functions. Move the header reading into a separate token
9062 loop. Move the header token reading into BufferParams.
9064 2003-03-12 John Levon <levon@movementarian.org>
9066 * changes.C: put debug inside lyxerr.debugging() checks
9068 2003-03-11 André Pönitz <poenitz@gmx.net>
9070 * factory.C: make it aware of InsetHFill
9072 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9074 * buffer.C (latexParagraphs): move function from here...
9075 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9078 2003-03-10 Angus Leeming <leeming@lyx.org>
9080 * LyXAction.C (init): fix bug in poplating array with multiple entries
9081 with the same LFUN (spotted by JMarc).
9083 2003-03-10 John Levon <levon@movementarian.org>
9086 * text2.C: move getColumnNearX() near its
9089 2003-03-10 John Levon <levon@movementarian.org>
9091 * text.C: fix break before a minipage
9093 2003-03-10 John Levon <levon@movementarian.org>
9095 * text.C: fix the last commit
9097 2003-03-09 John Levon <levon@movementarian.org>
9101 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9102 bug 365 (don't break before insets unless needed). Don't
9103 return a value > last under any circumstances.
9105 2003-03-09 Angus Leeming <leeming@lyx.org>
9107 * BufferView_pimpl.C (trackChanges, dispatch): call
9108 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9110 2003-03-09 Angus Leeming <leeming@lyx.org>
9112 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9113 than Dialogs::showAboutlyx().
9115 2003-03-09 Angus Leeming <leeming@lyx.org>
9117 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9118 than Dialogs::showTabularCreate().
9120 2003-03-09 John Levon <levon@movementarian.org>
9124 * text2.C: 3rd arg to nextBreakPoint was always the same.
9127 2003-03-08 John Levon <levon@movementarian.org>
9134 * text2.C: Remove the "main" bit from the "main body"
9137 2003-03-08 John Levon <levon@movementarian.org>
9139 * text.C (leftMargin): The left margin of an empty
9140 manual label paragraph should not include the label width
9143 * text.C (prepareToPrint): don't attempt to measure hfills
9144 for empty manual label paragraphs - the answer should be 0
9146 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9148 * CutAndPaste.C: remove commented code and reindent.
9150 2003-03-08 John Levon <levon@movementarian.org>
9153 * lyxfunc.C: move reloadBuffer()
9156 * BufferView.C: to here
9158 * lyxvc.C: add comment
9161 * vc-backend.C: call bv->reload() to avoid
9162 getStatus() check on MENURELOAD
9164 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9166 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9167 to an old format .dep file.
9169 2003-03-07 Angus Leeming <leeming@lyx.org>
9171 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9172 when the LFUN_MOUSE_RELEASE should have been handled by
9173 inset->localDispatch.
9175 2003-03-07 Angus Leeming <leeming@lyx.org>
9177 * BufferView_pimpl.C (dispatch):
9178 * LyXAction.C (init):
9179 * ToolbarDefaults.C (init):
9181 * lyxfunc.C (getStatus):
9182 remove LFUN_INSET_GRAPHICS.
9184 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9186 2003-03-07 Angus Leeming <leeming@lyx.org>
9189 * LyXAction.C (init):
9190 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9192 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9195 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9197 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9198 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9200 2003-03-07 Angus Leeming <leeming@lyx.org>
9202 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9205 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9207 * ParagraphList.C (front): new function
9210 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9212 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9213 and top_row_offset_. removed var first_y.
9215 * text2.C (LyXText, removeRow):
9217 * BufferView_pimpl.C:
9218 use these methods instead of using first_y
9220 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9222 * text2.C (pasteSelection): adjust for checkPastePossible
9224 * CutAndPaste.C: remove Paragraph * buf and replace with
9225 ParagraphList paragraphs.
9226 (DeleteBuffer): delete
9227 (cutSelection): change the tc type to textclass_type
9228 (copySelection): change the tc type to textclass_type
9229 (copySelection): adjust for ParagraphList
9230 (pasteSelection): change the tc type to textclass_type
9231 (pasteSelection): adjust for Paragraphlist
9232 (nrOfParagraphs): simplify for ParagraphList
9233 (checkPastePossible): simplify for ParagraphList
9234 (checkPastePossible): remove unused arg
9236 * ParagraphList.C (insert): handle the case where there are no
9239 * CutAndPaste.h: make CutAndPaste a namespace.
9241 * text3.C (dispatch): adjust
9243 * text.C (breakParagraph): add a ParagraphList as arg
9245 * paragraph_funcs.C (breakParagraph): change to take a
9246 BufferParams and a ParagraphList as args.
9247 (breakParagraphConservative): ditto
9248 (mergeParagraph): ditto
9249 (TeXDeeper): add a ParagraphList arg
9250 (TeXEnvironment): ditto
9253 * buffer.C (readLyXformat2): adjust
9254 (insertStringAsLines): adjust
9255 (latexParagraphs): adjust
9257 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9258 (cutSelection): adjust
9259 (pasteSelection): adjust
9261 * BufferView_pimpl.C (insertInset): adjust
9263 2003-03-05 Angus Leeming <leeming@lyx.org>
9266 * LyXAction.C (init):
9267 * BufferView_pimpl.C (dispatch):
9268 * lyxfunc.C (getStatus):
9269 remove LFUN_CHILD_INSERT.
9271 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9273 2003-03-05 Angus Leeming <leeming@lyx.org>
9276 * LyXAction.C (init):
9277 * src/factory.C (createInset):
9278 * lyxfunc.C (getStatus):
9279 * text3.C (dispatch):
9280 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9282 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9284 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9286 * ParagraphList.C (insert): handle insert right before end()
9287 (erase): fix cases where it can be first or last paragraph.
9289 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9291 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9292 Paragraph::next and Paragraph::previous
9295 * text.C (breakParagraph): adjust
9297 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9298 BufferParams& as arg.
9299 (breakParagraph): use ParagraphList::insert
9300 (breakParagraphConservative): take a Buffer* instead of a
9301 BufferParams& as arg.
9302 (breakParagraphConservative): use ParagraphList::insert.
9304 * buffer.C (insertStringAsLines): un-const it
9305 (insertStringAsLines): adjust
9307 * ParagraphList.C (insert): new function
9309 * CutAndPaste.C (pasteSelection): adjust
9311 * text.C (backspace): adjust
9313 * tabular.C (SetMultiColumn): adjust
9315 * CutAndPaste.C (cutSelection): adjust
9316 (pasteSelection): adjust
9318 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9319 Buffer const * as arg
9321 * ParagraphList.C (erase): new function
9322 * paragraph_funcs.C (mergeParagraph): use it
9323 (mergeParagraph): make it take a Buffer* instead of a
9324 BufferParams* as arg
9326 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9328 (breakParagraphConservative): ditto
9330 * paragraph.h: remove the breakParagraph friend
9332 * paragraph.C (eraseIntern): new function
9333 (setChange): new function
9335 * paragraph_funcs.C (mergeParagraph): make it take a
9336 ParagraphList::iterator instead of a Paragraph *, adjust
9339 * paragraph.h: move an #endif so that the change tracking stuff
9340 also works in the NO_NEXT case.
9342 2003-03-04 Angus Leeming <leeming@lyx.org>
9345 * LyXAction.C: new LFUN_INSET_MODIFY.
9347 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9348 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9350 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9352 * several files: ws changes only
9354 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9355 (TeXEnvironment): ditto
9358 * buffer.C (makeLaTeXFile): adjust
9359 (latexParagraphs): make it take ParagraphList::iterator as args
9361 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9363 * buffer.C (latexParagraphs): adjust
9365 * paragraph.C (TeXOnePar): move function...
9366 (optArgInset): move function...
9367 (TeXEnvironment): move function...
9368 * paragraph_pimpl.C (TeXDeeper): move function...
9369 * paragraph_funcs.C: ...here
9371 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9373 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9375 * buffer.C (readInset): remove compability code for old Figure and
9378 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9380 * buffer.C: ws changes
9383 * BufferView_pimpl.C: ditto
9386 * bufferlist.h: ditto
9390 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9392 * converter.[Ch]: split into itself +
9395 * Makefile.am: += graph.[Ch] + format.[Ch]
9402 * lyxrc.C: added #include "format.h"
9404 2003-02-27 Angus Leeming <leeming@lyx.org>
9406 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9409 * factory.C (createInset): add "label" to the factory.
9411 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9412 string and do no more.
9414 2003-02-27 Angus Leeming <leeming@lyx.org>
9417 * LyXAction.C (init):
9418 * factory.C (createInset):
9419 * BufferView_pimpl.C (dispatch):
9420 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9422 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9424 * lyxfunc.C (dispatch):
9425 * text3.C (dispatch): pass name to params2string.
9427 2003-02-26 Angus Leeming <leeming@lyx.org>
9429 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9431 Rearrange the ~includes. Strip out the unnecessary ones.
9433 * factory.C (createInset): reformat.
9434 create new insets for the various LFUN_XYZ_APPLY lfuns.
9436 2003-02-26 John Levon <levon@movementarian.org>
9439 * lyxrow.C: add isParStart,isParEnd helpers
9441 * paragraph.h: make isInserted/DeletedText take refs
9443 * paragraph_funcs.h:
9444 * paragraph_funcs.C: remove #if 0'd code
9449 * text.C: use lyxrow helpers above.
9450 Move draw and paint routines to RowPainter.
9451 Make several methods use refs not pointers.
9452 Make backgroundColor() const.
9453 Add markChangeInDraw(), isInInset().
9454 Merge changeRegionCase into changeCase.
9455 Make workWidth() shouldn't-happen code into an Assert.
9458 * rowpainter.C: new class for painting a row.
9461 * vspace.C: make inPixels take a ref
9463 2003-02-26 Angus Leeming <leeming@lyx.org>
9465 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9468 2003-02-25 John Levon <levon@movementarian.org>
9470 * ispell.C: give the forked command a more accurate name
9472 2003-02-22 John Levon <levon@movementarian.org>
9475 * toc.C: make TocItem store an id not a Paragraph *
9478 2003-02-21 Angus Leeming <leeming@lyx.org>
9480 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9481 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9482 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9483 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9484 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9485 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9487 * BufferView_pimpl.C (dispatch):
9488 * LyXAction.C (init):
9489 * factory.C (createInset):
9490 * lyxfunc.C (getStatus, dispatch):
9491 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9493 2003-02-21 Angus Leeming <leeming@lyx.org>
9495 * BufferView_pimpl.C (MenuInsertLyXFile):
9496 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9497 * lyxfunc.C (menuNew, open, doImport):
9498 no longer pass a LyXView & to fileDlg.
9500 2003-02-21 Angus Leeming <leeming@lyx.org>
9502 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9503 * LyXAction.C: change, BIBKEY to BIBITEM.
9504 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9505 Change InsetBibKey to InsetBibitem.
9506 Change BIBKEY_CODE to BIBITEM_CODE.
9507 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9508 * factory.C: replace insetbib.h with insetbibitem.h.
9509 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9510 * paragraph.C: replace insetbib.h with insetbibitem.h.
9511 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9512 Change bibkey() to bibitem().
9513 * text.C: remove insetbib.h.
9514 * text2.C: replace insetbib.h with insetbibitem.h.
9515 change bibkey() to bibitem().
9516 * text3.C: remove insetbib.h.
9517 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9519 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9521 * lyxrc.C (output): enclose user email in quotes (in case there are
9524 2003-02-18 John Levon <levon@movementarian.org>
9526 * buffer.h: add std::
9528 2003-02-17 John Levon <levon@movementarian.org>
9534 * pspell.C: reworking. Especially in ispell, a large
9535 number of clean ups and bug fixes.
9537 * lyxfunc.C: fix revert to behave sensibly
9539 2003-02-17 André Pönitz <poenitz@gmx.net>
9542 * commandtags.h: new LFUN_INSERT_BIBKEY
9552 * paragraph_func.C: remove special bibkey handling
9554 2003-02-17 John Levon <levon@movementarian.org>
9556 * text.C (Delete): fix case where delete at the end of
9557 the very first paragraph would not merge the pars
9559 2003-02-17 John Levon <levon@movementarian.org>
9561 * lyxrow.C: fix lastPrintablePos()
9563 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9565 * bufferparams.C (writeLaTeX): add a std:here
9567 * buffer.C: and remove a using directive there
9569 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9571 * buffer.C (makeLaTeXFile): move the code that generates the
9574 * bufferparams.C (writeLaTeX): ... in this new method
9576 * LaTeXFeatures.C (getEncodingSet): make const
9577 (getLanguages): make const
9579 * MenuBackend.C (binding): returns the binding associated to this
9581 (add): sets the status of each item by calling getStatus. Adds
9583 (read): add support for OptSubMenu
9584 (expand): remove extra separator at the end of expanded menu
9586 2003-02-15 John Levon <levon@movementarian.org>
9589 * BufferView_pimpl.C:
9591 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9592 inset code that had no actual effect. Remove unneeded status
9595 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9597 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9600 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9602 * text.C (drawLengthMarker): also draw an arrow marker for
9603 symbolic lengths (medskip...)
9605 2003-02-14 John Levon <levon@movementarian.org>
9608 * tabular.C: better method names
9610 2003-02-14 John Levon <levon@movementarian.org>
9612 * BufferView_pimpl.C:
9617 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9618 it's a more accurate name. Remove some pointless uses.
9620 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9622 * text2.C (LyXText): change order of initilizers to shut off
9625 2003-02-14 John Levon <levon@movementarian.org>
9627 * buffer.C: use ParIterator for getParFromID()
9631 * paragraph_pimpl.h:
9632 * paragraph_pimpl.C: remove unused getParFromID()
9634 2003-02-14 John Levon <levon@movementarian.org>
9636 * buffer.C: remove some very old #if 0'd parse code
9638 2003-02-13 John Levon <levon@movementarian.org>
9642 * text2.C: move hfillExpansion(), numberOfSeparators(),
9643 rowLast(), rowLastPrintable(), numberofHfills(),
9644 numberOfLabelHfills() ...
9647 * lyxrow.C: ... to member functions here.
9652 * text.C: remove LyXText::beginningOfMainBody(), and call
9653 p->beginningOfMainBody() directly. Move the check for
9654 LABEL_MANUAL into the latter.
9661 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9667 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9668 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9670 2003-02-13 John Levon <levon@movementarian.org>
9672 * CutAndPaste.C: remove debug
9674 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9676 * paragraph.C (asString): remove two unused variables
9678 * lyxtextclass.C (readTitleType):
9680 (LyXTextClass): handle new members titletype_ and titlename_
9682 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9684 2003-02-09 John Levon <levon@movementarian.org>
9687 * buffer.C: replace hand-coded list with a map for the dep clean
9689 2003-02-08 John Levon <levon@movementarian.org>
9691 * LaTeX.C: consolidate code into showRunMessage() helper
9693 2003-02-08 John Levon <levon@movementarian.org>
9698 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9699 and pass the size in explicitly
9701 * BufferView_pimpl.h:
9702 * BufferView_pimpl.C:
9704 * BufferView.C: add getCurrentChange()
9706 * BufferView_pimpl.h:
9707 * BufferView_pimpl.C: handle change lfuns
9709 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9710 for changes. Mark pasted paragraphs as new.
9712 * support/lyxtime.h:
9713 * support/lyxtime.C:
9714 * DepTable.C: abstract time_t as lyx::time_type
9717 * LColor.C: add colours for new text, deleted text, changebars
9719 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9720 package use "usenames" option.
9724 * LyXAction.C: add change lfuns
9728 * author.C: author handling
9731 * buffer.C: add a per-buffer author list, with first entry as
9732 current author. Handle new .lyx tokens for change tracking. Output
9733 author list to .lyx file. Output dvipost stuff to .tex preamble.
9734 Bump lyx format to 222.
9737 * bufferlist.C: add setCurrentAuthor() to reset current author details
9741 * bufferparams.C: add param for tracking
9743 * bufferview_funcs.C: output change info in minibuffer
9747 * changes.C: add change-tracking structure
9750 * debug.C: add CHANGES debug flag
9753 * lyxfind.C: add code for finding the next change piece
9756 * lyxrc.C: add user_name and user_email
9759 * lyxrow.C: add a metric for the top of the text line
9762 * text.C: implement accept/rejectChange()
9765 * text.C: paint changebars. Paint new/deleted text in the chosen
9766 colours. Strike through deleted text.
9770 * paragraph_pimpl.h:
9771 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9772 in the current change to the insert functions. Rework erase to
9773 mark text as deleted, adding an eraseIntern() and a range-based
9774 erase(). Implement per-paragraph change lookup and
9777 * paragraph_funcs.C: Fixup paste for change tracking.
9779 * tabular.C: mark added row/columns as new.
9781 * text.C: fix rowLast() to never return -1. Don't allow
9782 spellchecking of deleted text. Track transpose changes. Don't
9783 allow paragraph break or merge where appropriate.
9785 * text2.C: leave cursor at end of selection after a cut.
9787 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9789 * text.C (getLengthMarkerHeight):
9790 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9791 visible on screen too.
9793 2003-02-07 John Levon <levon@movementarian.org>
9795 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9797 2003-02-05 Angus Leeming <leeming@lyx.org>
9799 * lyxserver.C (read_ready): revert my patch of 11 September last year
9800 as it sends PC cpu through the roof. Presumably this means that
9801 the lyxserver will no longer run on an Alpha...
9803 2003-01-30 Angus Leeming <leeming@lyx.org>
9805 * factory.C (createInset): create an InsetCommandParam of type "index"
9806 and use it to 'do the right thing'.
9808 * text2.C (getStringToIndex): ensure that cursor position is always
9809 reset to the reset_cursor position.
9811 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9813 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9816 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9820 * lyxfunc.C: Output messages with identical spelling, punctuation,
9823 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9825 * MenuBackend.C (expandFormats): List only viewable export formats
9828 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9831 * lyxfunc.C (getStatus): Make sure that formats other than
9832 "fax" can also be disabled
9834 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9836 * text3.C (dispatch): put the lfuns that insert insets in 3
9837 groups, and call doInsertInset with appropriate arguments.
9838 (doInsertInset): new function, that creates an inset and inserts
9839 it according to some boolean parameters.
9841 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9843 * buffer.C (readFile): remember to pass on 'par' when calling
9844 readFile recursively.
9846 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9848 * MenuBackend.C (expandFormats): add "..." to import formats.
9850 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9852 * paragraph.C (asString): Remove XForms RTL hacks.
9854 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9855 * buffer.C: fix typo
9857 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9859 * Makefile.am (LIBS): delete var
9860 (lyx_LDADD): add @LIBS@ here instead.
9862 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9864 * Clarify the meaning of "wheel mouse jump"
9866 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9868 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9871 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9873 * importer.C (Loaders): do not preallocate 3 elements in the
9874 vector, since one ends up with 6 elements otherwise
9876 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9878 * DepTable.C (write): write the file name as last element of the
9879 .dep file (because it may contain spaces)
9880 (read): read info in the right order
9882 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9884 * paragraph_pimpl.C (simpleTeXBlanks):
9885 (simpleTeXSpecialChars):
9886 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9888 * tabular.C (latex): add some missing case statements. Reindent.
9890 * MenuBackend.C (expandToc): remove unused variable.
9892 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9901 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9904 2003-01-05 John Levon <levon@movementarian.org>
9907 * BufferView.C: add getEncoding()
9910 * kbsequence.C: do not store last keypress
9913 * lyxfunc.C: store last keypress here instead. Pass encoding
9916 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9918 * lyx_main.C (init): remove annoying error message when following
9919 symbolic links (bug #780)
9921 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9923 * text.C (insertChar):
9924 * lyxrc.C (getDescription): remove extra spaces
9926 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9928 * lyxrc.C (getDescription): remove extra spaces
9930 2002-12-20 John Levon <levon@movementarian.org>
9932 * text3.C: hack fix for page up/down across tall rows
9934 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9936 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9939 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9941 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9942 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9943 thesaurus is not compiled in
9945 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9947 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9949 2002-12-16 Angus Leeming <leeming@lyx.org>
9952 * lyx_main.C (init): remove override_x_deadkeys stuff.
9954 2002-12-12 John Levon <levon@movementarian.org>
9956 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9957 insert. Only remove shift modifier under strict
9960 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9962 * MenuBackend.C (expandToc): fix crash.
9964 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9966 * MenuBackend.C (expandToc): gettext on float names.
9968 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9970 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9971 implement bool empty() [bug 490]
9973 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9975 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9977 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9979 * several files: ws changes
9981 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9983 * text2.C (setCounter): clean up a bit, use boost.format.
9984 (updateCounters): initialize par upon declaration.
9986 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9987 if the layout exists. We do not just store the layout any more.
9988 (SwitchLayoutsBetweenClasses): use boost.format
9990 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9992 * converter.C (convert): if from and to files are the same, use a
9993 temporary files as intermediary
9995 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9998 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10000 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10002 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10004 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10006 * tabular.C (asciiPrintCell): use string(size, char) instead of
10009 * sgml.C (openTag): fix order of arguments to string constructor
10012 * lyxfunc.C (dispatch): use boost.format
10014 * lots of files: change "c" -> 'c'
10016 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10018 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10020 2002-11-25 Angus Leeming <leeming@lyx.org>
10022 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10024 * lyx_main.C (init): compile fix.
10026 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10028 * lyx_cb.C (start): boost.formatify
10029 do not include <iostream>
10031 * lengthcommon.C: ws only
10033 * boost-inst.C,BoostFormat.h: add more explict instantations
10035 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10037 * lots of files: handle USE_BOOST_FORMAT
10039 2002-11-21 John Levon <levon@movementarian.org>
10041 * pspell.C: fix compile
10043 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10045 * lyxfunc.C (dispatch): use boost::format
10049 * lyxfont.C (stateText): use boost::format
10051 * lyx_main.C (LyX): use boost::format
10053 (queryUserLyXDir): ditto
10054 (readRcFile): ditto
10056 (typedef boost::function): use the recommened syntax.
10058 * importer.C (Import): use boost::format
10060 * debug.C (showLevel): use boost::format
10062 * converter.C (view): use boost::format
10067 * bufferview_funcs.C (currentState): use boost::format
10069 * bufferlist.C (emergencyWrite): use boost::format
10071 * buffer.C (readLyXformat2): use boost::format
10072 (parseSingleLyXformat2Token): ditto
10074 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10076 * LaTeX.C (run): use boost::format
10078 * Chktex.C (scanLogFile): use boost::format
10080 * BufferView_pimpl.C (savePosition): use boost::format
10081 (restorePosition): ditto
10082 (MenuInsertLyXFile): ditto
10084 * BoostFormat.h: help file for explicit instation.
10086 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10088 * tabular.C (latex): Support for block alignment in fixed width
10091 2002-11-17 John Levon <levon@movementarian.org>
10093 * BufferView_pimpl.C:
10095 * lyxfunc.C: split filedialog into open/save
10097 2002-11-08 Juergen Vigna <jug@sad.it>
10099 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10100 by my last patch (hopefully).
10102 2002-11-08 John Levon <levon@movementarian.org>
10111 * toc.C: ParConstIterator, and use it (from Lars)
10113 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10115 * lyxtextclass.[Ch]: revise and add doxygen comments
10117 2002-11-07 John Levon <levon@movementarian.org>
10119 * text.C: fix progress value for spellchecker
10121 * toc.C: fix navigate menu for insetwrap inside minipage
10123 * paragraph_funcs.C: added FIXME for suspect code
10125 2002-11-07 John Levon <levon@movementarian.org>
10127 * BufferView_pimpl.C: fix redrawing of insets
10130 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10132 * text2.C (updateCounters): fix bug 668
10134 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10136 * text3.C (dispatch): Do not make the buffer dirty when moving the
10139 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10141 * vc-backend.C: STRCONV
10142 (scanMaster): ditto
10144 * text2.C (setCounter): STRCONV
10146 * paragraph.C (asString): STRCONV
10148 * lyxlength.C (asString): STRCONV
10149 (asLatexString): ditto
10151 * lyxgluelength.C (asString): STRCONV
10152 (asLatexString): ditto
10154 * lyxfunc.C (dispatch): STRCONV
10157 * lyxfont.C (stateText): STRCONV
10159 * importer.C (Import): STRCONV
10161 * counters.C (labelItem): STRCONV
10162 (numberLabel): ditto
10163 (numberLabel): remove unused ostringstream o
10168 * bufferview_funcs.C (currentState): STRCONV
10170 * buffer.C (readFile): STRCONV
10171 (asciiParagraph): ditto
10172 (makeLaTeXFile): ditto
10174 * Spacing.C (writeEnvirBegin): STRCONV
10176 * LaTeXFeatures.C (getLanguages): STRCONV
10177 (getPackages): ditto
10179 (getBabelOptions): ditto
10180 (getTClassPreamble): ditto
10181 (getLyXSGMLEntities): ditto
10182 (getIncludedFiles): ditto
10186 (scanAuxFile): ditto
10189 * LString.h: add the STRCONV macros
10191 * BufferView_pimpl.C (savePosition): STRCONV
10192 (restorePosition): ditto
10193 (MenuInsertLyXFile): ditto
10195 * vc-backend.C (scanMaster): change from submatch[...] to
10198 * funcrequest.C: include config.h
10200 * factory.C: include config.h
10202 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10204 * box.C: include config.h
10206 * LaTeX.C (scanAuxFile): change from submatch[...] to
10210 2002-10-25 Angus Leeming <leeming@lyx.org>
10212 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10214 * ispell.[Ch] (setError): new method.
10215 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10216 Use setError() insetead of goto END.
10218 * lyx_cb.C (AutoSave): move out child process into new class
10221 2002-10-30 John Levon <levon@movementarian.org>
10223 * text3.C: make start appendix undoable
10225 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10227 * lyxlength.C (inPixels): Fix returned value.
10229 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10232 2002-10-24 Angus Leeming <leeming@lyx.org>
10234 * lyxgluelength.h: no need to forward declare BufferParams
10235 or BufferView, so don't.
10237 2002-10-21 John Levon <levon@movementarian.org>
10239 * BufferView.C: menuUndo ->undo, redo
10241 * BufferView.h: document, remove dead, make some methods private
10243 * paragraph_funcs.h:
10244 * paragraph_funcs.C:
10245 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10250 * sgml.C: move sgml open/close tag into sgml.C
10252 * bufferview_funcs.h: unused prototype
10255 * lyxfunc.C: remove unused
10258 * text.C: remove unused
10260 2002-10-21 John Levon <levon@movementarian.org>
10264 * BufferView_pimpl.h:
10265 * BufferView_pimpl.C: fix mouse wheel handling based on
10266 patch from Darren Freeman
10268 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10270 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10272 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10274 * lyxlength.C (inPixels): Fix hanfling of negative length.
10275 Fix LyXLength::MU case.
10277 2002-10-16 John Levon <levon@movementarian.org>
10279 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10281 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10283 * converter.C (view): add support for $$i (file name) and $$p
10284 (file path) for the viewer command. If $$i is not specified, then
10285 it is appended to the command (for compatibility with old syntax)
10287 2002-10-14 Juergen Vigna <jug@sad.it>
10289 * undo_funcs.C (textHandleUndo): alter the order in which the
10290 new undopar is added to the LyXText, as we have to set first
10291 the right prev/next and then add it as otherwise the rebuild of
10292 LyXText is not correct. Also reset the cursor to the right paragraph,
10293 with this IMO we could remove the hack in "redoParagraphs()".
10295 2002-10-09 Angus Leeming <leeming@lyx.org>
10297 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10298 to turn off an optimisation if a new inset is to be inserted.
10300 2002-10-11 André Pönitz <poenitz@gmx.net>
10302 * lyxtext.h: make some functions public to allow access
10303 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10305 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10307 * text3.C (dispatch): when changing layout, avoid an infinite loop
10310 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10312 * lyxrc.C (read): treat a viewer or converter command of "none" as
10315 * MenuBackend.C (expandFormats): for an update, also allow the
10316 formats that are not viewable
10318 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10319 script if it is newer than the lyxrc.defaults in user directory
10321 2002-10-07 André Pönitz <poenitz@gmx.net>
10323 * text.C: Vitaly Lipatov's small i18n fix
10325 2002-09-25 Angus Leeming <leeming@lyx.org>
10327 * ispell.h: doxygen fix.
10329 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10331 * buffer.h (readFile): Add a new argument to the method, to allow
10332 reading of old-format templates.
10334 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10336 * toc.C (getTocList): Get TOC from InsetWrap.
10338 2002-09-16 John Levon <levon@movementarian.org>
10340 * lyxfunc.C: check tabular for cut/copy too
10342 2002-09-12 John Levon <levon@movementarian.org>
10344 * LyXAction.C: tidy
10347 * factory.C: add header
10349 * paragraph_funcs.h:
10350 * paragraph_funcs.C: cleanup
10352 2002-09-11 John Levon <levon@movementarian.org>
10354 * PrinterParams.h: odd/even default to true
10356 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10358 * PrinterParams.h: update printer parameters for new xforms dialog
10360 2002-09-11 Angus Leeming <leeming@lyx.org>
10362 * lyxserver.C (read_ready): re-write to make it more transparent
10363 and to make it work in coherent fashion under Tru64 Unix.
10365 2002-09-11 André Pönitz <poenitz@gmx.net>
10369 * text3.C: implement LFUN_WORDSEL
10371 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10373 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10374 make floatlist_ a boost::shared_ptr<FloatList>
10376 * lyxtextclass.C: include FloatList.h
10377 (LyXTextClass): initialize floatlist_
10378 (TextClassTags): add TC_NOFLOAT
10379 (Read): match "nofloat" to TC_NOFLOAT and use it.
10380 (readFloat): modify call to floatlist_
10384 * FloatList.[Ch] (FloatList): remove commented out float
10386 (erase): new function
10388 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10390 * MenuBackend.C (expandToc): fix crash when there is no document
10393 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10395 * many files: Add insetwrap.
10397 2002-09-09 John Levon <levon@movementarian.org>
10399 * text2.C: remove confusing and awkward depth wraparound
10401 2002-09-09 John Levon <levon@movementarian.org>
10403 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10406 * buffer.C: remove getIncludeonlyList()
10409 * lyxfunc.C: remove headers
10411 2002-09-09 Juergen Vigna <jug@sad.it>
10413 * text.C (getColumnNearX): fix form Michael this is most
10414 probably a cut&paste bug.
10416 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10418 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10420 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10421 references, ws changes.
10423 * text2.C (init): update counters after init
10424 (insertParagraph): no need to set counter on idividual paragraphs.
10425 (setCounter): access the counters object in the textclass object
10426 on in the buffer object.
10427 (updateCounters): ditto
10429 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10430 shared_ptr<Counters> to avoid loading counters.h in all
10432 (LyXTextClass): initialize ctrs_
10433 (TextClassTags): add TC_COUNTER, and ...
10434 (Read): use it here.
10435 (CounterTags): new tags
10436 (readCounter): new function
10437 (counters): new funtion
10438 (defaultLayoutName): return a const reference
10440 * counters.C (Counters): remove contructor
10441 (newCounter): remove a couple of unneeded statements.
10442 (newCounter): simplify a bit.
10443 (numberLabel): some small formatting changes.
10445 * buffer.[Ch]: remove all traces of counters, move the Counters
10446 object to the LyXTextClass.
10448 2002-09-06 Alain Castera <castera@in2p3.fr>
10450 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10451 package to set the horizontal alignment on fixed width columns.
10454 * lyx_sty.h: added tabularnewline macro def.
10456 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10458 2002-09-06 John Levon <levon@movementarian.org>
10460 * LyXAction.C: tooltips for sub/superscript
10462 * MenuBackend.C: a bit more verbose
10464 * lyxfunc.C: tiny clean
10466 * undo_funcs.C: document undo_frozen
10468 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10470 * counters.C (Counters): add missing algorithm counter.
10472 * text2.C (setCounter): lookup the counter with layouts latexname
10473 instead of by section number.
10474 (setCounter): use a hackish way to lookup the correct enum
10476 a float name->type change
10477 reset enum couners with counter name directly instead of depth value.
10479 * counters.C (Counters): remove the push_backs, change to use the
10480 float type not the float name.
10481 (labelItem): remove unused string, float name->type change
10483 * counters.h: don't include vector, loose the enums and sects vectors
10485 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10487 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10488 (Read): add float->TC_FLOAT to textclassTags
10489 (Read): and handle it in the switch
10490 (readFloat): new function
10492 * FloatList.C (FloatList): comment out the hardcoded float
10495 * lyxlayout.h: ws change.
10497 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10499 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10501 2002-09-03 Angus Leeming <leeming@lyx.org>
10503 * BufferView_pimpl.h: qualified name is not allowed in member
10504 declaration: WorkArea & Pimpl::workarea() const;
10506 * factory.C: added using std::endl directive.
10508 * text3.C: added using std::find and std::vector directives.
10510 2002-08-29 André Pönitz <poenitz@gmx.net>
10513 * text2.C: remove unused member number_of_rows
10516 * BufferView2.C: remove file, move contents to...
10517 * BufferView.C: ... here
10519 * BufferView_pimpl.C:
10520 * factory.C: move more inset creation to factory
10522 * vspace.C: avoid direct usage of LyXText, ws changes
10525 don't provide direct access to WorkArea, use two simple
10526 acessors haveSelction() and workHeight() instead
10529 2002-08-29 John Levon <levon@movementarian.org>
10531 * BufferView_pimpl.C (dispatch): do not continue when
10534 2002-08-28 André Pönitz <poenitz@gmx.net>
10536 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10539 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10541 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10543 * buffer.C: increment LYX_FORMAT to 221
10545 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10546 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10548 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10550 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10552 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10554 * factory.C (createInset): use LyXTextClass::floats
10556 * MenuBackend.C (expandFloatListInsert):
10557 (expandFloatInsert):
10560 * text2.C (setCounter):
10562 * LaTeXFeatures.C (useFloat):
10563 (getFloatDefinitions):
10565 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10567 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10568 floatlist_, with accessor floats().
10570 * FloatList.h: remove global FloatList
10572 2002-08-26 André Pönitz <poenitz@gmx.net>
10574 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10578 * BufferView_pimpl.C:
10579 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10581 2002-08-25 John Levon <levon@movementarian.org>
10583 * LyXAction.C: fix margin note description
10585 2002-08-24 John Levon <levon@movementarian.org>
10589 * bufferview_funcs.C:
10591 * undo_funcs.C: cleanups
10593 * lyxfunc.C: disable CUT/COPY when no selection
10595 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10597 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10598 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10600 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10601 Add backward compatibility to "mono", "gray" and "no".
10603 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10605 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10606 (and file_format >= 200).
10608 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10610 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10612 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10614 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10616 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10618 * BufferView_pimpl.C:
10625 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10626 inset and code to make it work with the paragraph code. The inset
10627 can be anywhere in the paragraph, but will only do the expected
10628 thing in LaTeX if the layout file contains the parameter line
10630 (or more generally, a nonzero value) for that layout.
10632 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10634 * paragraph.h: remove the declaration of undefined counters class
10637 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10639 * text2.C (setCounter): fixed enumeration mis-count as reported by
10640 Dr. Richard Hawkins.
10642 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10644 * paragraph_funcs.h: remove some unneeded includes
10646 * text.C (backspace): pasteParagraph now in global scipe
10648 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10649 (pasteSelection): ditto
10651 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10652 * paragraph_funcs.C (pasteParagraph): ... here
10654 2002-08-20 André Pönitz <poenitz@gmx.net>
10656 * commandtags.h: new LFUNs for swapping/copying table row/colums
10659 * lyxfunc.C: support for new lfuns
10661 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10664 * buffer.[Ch]: remove NO_COMPABILITY stuff
10666 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10668 * boost.C (throw_exception): new file, with helper function for
10669 boost compiled without exceptions.
10674 * ParameterStruct.h:
10675 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10677 * bufferlist.C (emergencyWriteAll): use boost bind
10679 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10681 * text.C: include paragraph_funcs.h
10682 (breakParagraph): breakParagraph is now in global scope
10684 * paragraph_funcs.[Ch]: new files
10686 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10689 * buffer.C: include paragraph_funcs.h
10690 (insertStringAsLines): breakParagraph is now in global scope
10692 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10695 * CutAndPaste.C: include paragraph_funcs.h
10696 (cutSelection): breakParagraphConservative is now in global scope
10697 (pasteSelection): ditto
10699 * buffer.h: declare oprator== and operator!= for
10700 Buffer::inset_iterator
10702 * bufferlist.C (emergencyWrite): don't use fmt(...)
10704 * text3.C: add using std::endl
10706 * BufferView.C (moveCursorUpdate): remove default arg
10708 2002-08-20 André Pönitz <poenitz@gmx.net>
10710 * buffer.[Ch]: move inline functions to .C
10713 * BufferView_pimpl.C:
10715 * buffer.[Ch]: use improved inset_iterator
10718 * paragraph.[Ch]: write one paragraph at a time
10720 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10722 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10723 style if style is not specified.
10725 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10727 * text2.C (setCounter): when searching for right label for a
10728 caption, make sure to recurse to parent insets (so that a caption
10729 in a minipage in a figure float works) (bug #568)
10731 2002-08-20 André Pönitz <poenitz@gmx.net>
10733 * text3.C: new file for LyXText::dispatch() and helpers
10735 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10737 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10739 2002-08-19 André Pönitz <poenitz@gmx.net>
10742 * text.C: new LyXText::dispatch()
10744 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10746 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10748 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10750 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10753 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10755 * Makefile.am: use $(variables) instead of @substitutions@
10757 2002-08-15 André Pönitz <poenitz@gmx.net>
10760 * BufferView_pimpl.C: streamlining mathed <-> outer world
10764 * LyXAction.C: remove unused LFUN_MATH
10766 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10768 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10770 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10772 * paragraph.C (Paragraph): reformat a bit
10773 (cutIntoMinibuffer): use builtin InsetList function instad of
10777 * buffer.C: include boost/bind.hpp, add using std::for_each
10778 (writeFileAscii): use ParagraphList iterators
10779 (validate): use for_each for validate traversal of paragraphs
10780 (getBibkeyList): use ParagraphList iterators
10781 (resizeInsets): use for_each to resizeInsetsLyXText for all
10783 (getParFromID): use ParagraphList iterators
10785 * BufferView2.C (lockInset): use paragraph list and iterators
10787 2002-08-14 John Levon <levon@movementarian.org>
10789 * lyxserver.C: remove spurious xforms include
10791 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10793 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10795 2002-08-13 André Pönitz <poenitz@gmx.net>
10798 * lyxfunc.C: further cleaning
10800 2002-08-13 André Pönitz <poenitz@gmx.net>
10802 * funcrequest.h: new constructor
10804 * funcrequest.C: move stuff here from .h
10807 * BufferView_pimpl.C:
10810 * lyxfunc.C: subsequent changes
10812 * lyxfunc.h: new view() member function
10814 * lyxfunc.C: subsequent changes
10816 2002-08-13 Angus Leeming <leeming@lyx.org>
10819 * BufferView_pimpl.C:
10827 changes due to the changed LyXView interface that now returns references
10828 to member variables not pointers.
10830 2002-08-13 Angus Leeming <leeming@lyx.org>
10832 * WordLangTuple (word, lang_code): return references to strings,
10837 * lyxtext.h: forward-declare WordLangTuple.
10842 * text.C: #include "WordLangTuple.h".
10845 * text.C: (selectNextWordToSpellcheck): constify return type.
10847 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10853 * paragraph_pimpl.h:
10856 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10857 suggested by Angus.
10858 Made updateCounter always count from start of buffer, and removed
10859 second argument (par).
10860 Reverted floats number display to '#'. Perhaps I'll try again when the
10861 code base is sanitized a bit.
10863 2002-08-12 Angus Leeming <leeming@lyx.org>
10865 * buffer.[Ch] (getLabelList): constify.
10867 2002-08-07 André Pönitz <poenitz@gmx.net>
10869 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10871 * funcrequest.h: extension to keep mouse (x,y) position
10873 2002-08-12 Juergen Vigna <jug@sad.it>
10875 * BufferView2.C (insertErrors): forbid undo when inserting error
10878 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10880 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10882 * ParagraphList.[Ch]: new files
10884 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10886 * BufferView2.C (lockInset): ParagraphList changes
10889 * bufferlist.C: ditto
10893 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10895 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10896 unused class variable counter_,
10898 * paragraph.[Ch] (getFirstCounter): delete unused function
10900 * counters.C: include LAssert.h
10901 (reset): add a new function with no arg, change other version to
10902 not have def. arg and to not allow empty arg.
10904 * text2.C (setCounter): remove empty arg from call to Counters::reset
10906 2002-08-11 John Levon <levon@movementarian.org>
10908 * Makefile.am: add WordLangTuple.h
10910 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10912 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10913 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10915 * insets/insettext.C: InsetList changes
10917 * graphics/GraphicsSupport.C (operator()): InsetList changes
10919 * toc.C (getTocList): InsetList changes
10921 * paragraph_pimpl.[Ch]: InsetList changes
10923 * paragraph.[Ch]: InsetList changes
10925 * buffer.C (inset_iterator): InsetList changes
10926 (setParagraph): ditto
10927 * buffer.h (inset_iterator): ditto
10928 * iterators.C (operator++): ditto
10929 * iterators.h: ditto
10931 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10933 * InsetList.[Ch]: new files, most InsetList handling moved out of
10936 * BufferView2.C (removeAutoInsets): InsetList changes
10938 (ChangeInsets): ditto
10940 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10942 * paragraph_pimpl.h (empty): new function
10944 * paragraph.[Ch] (empty): new function
10946 * other files: use the new Paragraph::empty function
10948 2002-08-09 John Levon <levon@movementarian.org>
10950 * lyxtext.h: remove unused refresh_height
10952 2002-08-09 John Levon <levon@movementarian.org>
10959 * paragraph.C: move sgml char escaping out of paragraph
10962 * paragraph.C: remove id setter
10966 * paragraph_pimpl.C: remove dead tex_code_break_column
10968 * bufferview_funcs.C: small cleanup
10970 * lyxfunc.C: remove dead proto
10972 * lyxtext.h: make some stuff private. Remove some dead stuff.
10974 * lyxgluelength.C: make as[LyX]String() readable
10976 2002-08-08 John Levon <levon@movementarian.org>
10981 * ToolbarDefaults.C:
10984 * toc.C: lyxaction cleanup
10986 2002-08-08 John Levon <levon@movementarian.org>
10988 * BufferView2.C: small cleanup
10991 * lyxfind.C: move unnecessary header into the .C
10993 2002-08-08 John Levon <levon@movementarian.org>
10995 * funcrequest.h: just tedious nonsense
10998 * lyx_main.C: cleanups
11001 * vspace.C: remove dead header lyx_main.h
11003 2002-08-07 Angus Leeming <leeming@lyx.org>
11006 * paragraph_pimpl.h:
11007 Forward declare class Counters in paragraph.h by moving the ctrs member
11008 variable into Paragraph::Pimpl.
11009 (counters): new method, returning a reference to pimpl_->ctrs.
11011 * text2.C: ensuing changes.
11013 2002-08-07 John Levon <levon@movementarian.org>
11015 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11017 * BufferView_pimpl.C: announce X selection on double/triple
11020 * lyx_main.C: use correct bool in batch dispatch
11022 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11024 2002-08-07 André Pönitz <poenitz@gmx.net>
11026 * funcrequest.h: new class to wrap a kb_action and its argument
11029 * BufferView_pimpl[Ch]:
11033 * lyxrc.C: subsequent changes
11036 2002-08-07 John Levon <levon@movementarian.org>
11038 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11039 document options change.
11041 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11046 * makefile.am: move counters functionality over from
11047 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11049 2002-08-06 John Levon <levon@movementarian.org>
11051 * WordLangTuple.h: new file for word + language code tuple
11062 * BufferView2.C: use WordLangTuple
11065 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11067 2002-08-06 John Levon <levon@movementarian.org>
11069 * lyx_main.C: fix cmdline batch handling
11071 2002-08-06 André Pönitz <poenitz@gmx.net>
11073 * lyxrc.C: set default for show_banner to true
11075 2002-08-06 John Levon <levon@movementarian.org>
11077 * pspell.C: fix a crash, and allow new aspell to work
11079 2002-08-06 John Levon <levon@movementarian.org>
11082 * kbmap.C: small cleanup
11085 * vspace.C: add const
11087 2002-08-05 John Levon <levon@movementarian.org>
11089 * LyXAction.C: back to tabular-insert
11091 2002-08-04 John Levon <levon@movementarian.org>
11094 * BufferView.C: cosmetic change
11096 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11106 * BufferView2.C: purge all "Lyx" not "LyX" strings
11109 * lyxcursor.C: attempt to add some documentation
11114 * ToolbarDefaults.C:
11115 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11116 merge with LFUN_TABULAR_INSERT
11123 * pspell.C: split up i/pspell implementations into separate
11124 files, many cleanups
11126 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11128 * text2.C: some cleanup
11130 * lyxfunc.C: don't check for isp_command == "none" any more, it
11131 didn't make any sense
11133 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11138 * makefile.am: move counters functionality over
11139 from text2.C/paragraph.[Ch] to counters.[Ch], and
11141 2002-08-02 John Levon <levon@movementarian.org>
11143 * buffer.C: s/lyxconvert/lyx2lyx/
11145 2002-08-02 Angus Leeming <leeming@lyx.org>
11147 * lyxlex.C: revert John's change as it breaks reading of the user
11150 2002-08-02 Angus Leeming <leeming@lyx.org>
11152 * importer.C (Import):
11153 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11154 changes due to LyXView::view() now returning a boost::shared_ptr.
11156 2002-08-02 John Levon <levon@movementarian.org>
11158 * lyxlex.C: small cleanup
11160 2002-08-02 John Levon <levon@movementarian.org>
11162 * text2.C (status): small cleanup, no logic change
11164 2002-08-01 John Levon <levon@movementarian.org>
11167 * buffer.C (writeFile): don't output alerts, caller
11171 * lyx_cb.C: from above
11173 * lyxfunc.C: allow to open non-existent files
11175 2002-07-31 John Levon <levon@movementarian.org>
11177 * lyxserver.C: don't let incidental errors get
11180 2002-07-30 John Levon <levon@movementarian.org>
11182 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11184 2002-07-30 John Levon <levon@movementarian.org>
11187 * lyxserver.C: remove I/O callback too
11189 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11191 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11194 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11196 * many files: strip,frontStrip -> trim,ltrim,rtrim
11198 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11200 * PrinterParams.h: remove extern containsOnly, and include
11201 support/lstrings.h instead.
11203 * LaTeX.C (scanAuxFile): modify because of strip changes
11205 * buffer.C (makeLaTeXFile): ditto
11206 * bufferparams.C (writeFile): ditt
11207 * lyxfont.C (stateText): ditto
11208 * lyxserver.C (read_ready): ditto
11209 * vc-backend.C (scanMaster): ditto
11211 * BufferView_pimpl.h: ws changes
11213 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11215 2002-07-26 André Pönitz <poenitz@gmx.net>
11217 * kb_sequence.C: remove unnedred usings
11219 2002-07-26 Juergen Vigna <jug@sad.it>
11221 * lyxfind.C (LyXReplace): we have to check better if the returned
11222 text is not of theLockingInset()->getLockingInset().
11224 2002-07-25 Juergen Vigna <jug@sad.it>
11226 * lyxfind.C (LyXReplace): don't replace if we don't get the
11229 * undo_funcs.C (createUndo): remove debugging code.
11231 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11233 * buffer.C (parseSingleLyXformat2Token): Use default placement
11234 when reading old floats.
11236 * FloatList.C (FloatList): Change the default placement of figure
11237 and tables to "tbp".
11239 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11241 * MenuBackend.C: using std::max
11243 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11245 * MenuBackend.C (expandToc):
11246 (expandToc2): code moved from xforms menu frontend. It is now
11247 generic and TOCs are transparent to menu frontends.
11249 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11251 * toc.C (getTocList): protect against buf=0
11253 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11254 Menu as first parameter. Now, this calls itself recursively to
11255 expand a whole tree (this will be useful for TOC handling)
11256 (expandFloatInsert): remove 'wide' version of floats
11258 * MenuBackend.h (submenuname): returns the name of the submenu.
11259 (submenu): returns the submenu itself, provided it has been
11260 created by MenuBackend::expand
11262 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11264 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11265 insets which have noFontChange == true. (bug #172)
11267 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11269 * BufferView_pimpl.C: add connection objects and use them...
11272 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11274 * MenuBackend.C (expandLastfiles):
11277 (expandFloatListInsert):
11278 (expandFloatInsert):
11279 (expand): split expand in parts
11281 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11283 * lyx_gui.C: use lyx_gui::exit()
11285 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11287 * LyXAction.C: show the failing pseudo action
11289 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11291 * buffer.C (readFile): Run the lyxconvert script in order to read
11294 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11298 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11300 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11304 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11306 2002-07-22 Herbert Voss <voss@lyx.org>
11309 * lyxlength.[Ch]: add support for the vertical lengths
11311 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11313 * toc.[Ch]: std:: fixes
11315 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11317 * lyxrc.C: do not include lyx_main.h
11319 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11325 * BufferView2.C: include "lyxlex.h"
11328 * bufferparams.h: do not #include "lyxlex.h"
11330 * lyxtextclasslist.C (Add): remove method
11331 (classlist): renamed to classlist_
11333 * paragraph_pimpl.C:
11337 * bufferview_funcs.C:
11342 * toc.C (getTocList): use BufferParams::getLyXTextClass
11344 * toc.C (getTocList): use InsetFloat::addToToc
11346 * toc.[Ch]: new files, containing helper functions to handle table
11349 * lyxfunc.C (dispatch): no need to remove spaces around command
11351 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11352 first command of the sequence; it is not very clever, but I do not
11353 have a better idea, actually
11355 * LyXAction.C (LookupFunc): make sure to remove space at the
11356 beginning and end of the command
11358 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11360 * MenuBackend.C (getMenubar): new method: return the menubar of
11362 (read): treat differently reading of menu and menubar (in
11363 particular, the menubar has no name now)
11364 (Menu::menubar): remove
11366 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11369 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11371 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11372 a bibitem inset in a RTL paragraph.
11374 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11376 * paragraph_pimpl.C: constify
11378 * BufferView_pimpl.C:
11380 * lyxfunc.C: fix dispatch in a nicer way
11382 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11384 * lyxfunc.C (dispatch):
11385 * BufferView_pimpl.C:
11386 * BufferView_pimpl.h:
11388 * BufferView.h: rename Dispatch() to dispatch()
11390 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11392 * lyxlayout.C (Read): honor DependsOn tag
11394 * lyxlayout.[Ch] (depends_on): new method
11396 * version.C.in: update lyx_docversion
11398 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11400 * paragraph.C (validate): remove from here...
11401 * paragraph_pimpl.C (validate): ... and move here
11402 (isTextAt): make it const
11404 * buffer.C (getLists): ws cleanup
11406 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11408 * language.C (read): Use iso8859-1 encoding in latex_lang
11409 (this prevents LyX from crashing when using iso10646-1 encoding).
11411 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11413 * text2.C (toggleInset): if cursor is inside an inset, close the
11414 inset and leave cursor _after_ it
11416 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11418 * lyxfunc.C: move minibuffer completion handling out of here
11420 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11422 * BufferView_pimpl.C:
11423 * LaTeX.C: fix dispatch calls
11425 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11427 * text.C (drawChars): Fix Arabic text rendering.
11429 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11433 * lyxfunc.C: remove message-push/pop
11437 * lyxfunc.C: rationalise some code by removing verboseDispatch
11438 in favour of a bool argument to dispatch()
11440 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11442 * lyx_main.C (init): make sure to read symlinks as absolute paths
11444 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11447 * lyxfunc.C: no need for commandshortcut to be a member
11449 2002-07-15 André Pönitz <poenitz@gmx.net>
11451 * converter.C: add support for $$s (scripts from lib/scripts dir)
11452 * lyx_main.C: white space
11454 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11458 * lyxrc.C: remove second exit confirmation
11460 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11465 * BufferView_pimpl.h:
11466 * BufferView_pimpl.C:
11467 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11469 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11471 * MenuBackend.C (expand): add numeric shortcuts to document menu
11473 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11475 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11477 * lyxfont.C (setLyXFamily):
11484 * buffer.C (asciiParagraph): use ascii_lowercase
11486 2002-07-15 Mike Fabian <mfabian@suse.de>
11488 * lyxlex_pimpl.C (search_kw):
11489 * lyxlex.C (getLongString):
11490 * converter.h (operator<):
11491 * converter.C (operator<):
11492 * buffer.C (parseSingleLyXformat2Token):
11494 * ToolbarDefaults.C (read):
11495 * MenuBackend.C (checkShortcuts):
11497 * LColor.C (getFromGUIName):
11498 (getFromLyXName): use the compare_ascii_no_case instead of
11499 compare_no_case, because in turkish, 'i' is not the lowercase
11500 version of 'I', and thus turkish locale breaks parsing of tags.
11502 2002-07-16 Angus Leeming <leeming@lyx.org>
11504 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11505 now takes a Buffer const & argument.
11507 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11509 * BufferView.C (resize): check there's a buffer to resize
11511 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11513 * lyxfunc.C: remove dead code
11516 * lyxserver.C: use lyx_guii::set_read_callback
11518 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11520 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11521 an inset in a RTL paragraph.
11523 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11525 * lyxfunc.C: repaint after a font size update
11527 2002-07-15 André Pönitz <poenitz@gmx.net>
11529 * lyxlength.C: inBP should be able to return negative values
11531 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11533 * lyxfunc.C: use lyx_gui::update_fonts()
11535 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11537 * lyxfunc.C: use lyx_gui::update_color()
11539 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11545 * lyxrc.C: remove file->new asks for name option, and let
11546 buffer-new take an argument
11548 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11550 * BufferView_pimpl.C: remove unneeded extra repaint()
11552 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11554 * LyXAction.C: allow command-sequence with NoBuffer
11556 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11558 2002-07-10 Angus Leeming <leeming@lyx.org>
11560 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11562 2002-07-09 Angus Leeming <leeming@lyx.org>
11564 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11566 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11568 * lengthcommon.h: whitespace
11570 * lyxfunc.C: update scrollbar after goto paragraph
11572 * lyxtext.h: factor out page break drawing, and fix it so
11573 page break/added space paints as selected nicely
11575 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11577 * BufferView_pimpl.C: add FIXMEs, clean up a little
11579 2002-07-09 André Pönitz <poenitz@gmx.net>
11581 * lyxfont.[Ch]: support for wasy symbols
11583 2002-07-08 André Pönitz <poenitz@gmx.net>
11585 * BufferView_pimpl.C: apply John's patch for #93.
11587 2002-07-05 Angus Leeming <leeming@lyx.org>
11589 * BufferView_pimpl.C (buffer): generate previews if desired.
11591 * LColor.h: add "preview" to the color enum.
11593 * LColor.C (LColor): add a corresponding entry to the items array.
11595 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11598 2002-07-05 Angus Leeming <leeming@lyx.org>
11600 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11601 The body of the code is now in the method that is passed an ostream &
11602 rather than a file name.
11603 Pass an additional only_preamble parameter, useful for the forthcoming
11606 2002-07-03 André Pönitz <poenitz@gmx.net>
11608 * lyxfunc.C: simplify getStatus() a bit for math stuff
11610 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11612 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11614 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11616 * text.C (changeRegionCase): do not change case of all the
11617 document when region ends at paragraph end (bug #461)
11619 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11621 * paragraph.C (startTeXParParams):
11622 (endTeXParParams): add \protect when necessary
11624 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11626 * BufferView_pimpl.C (workAreaExpose): remove warning
11628 2002-06-27 Angus Leeming <leeming@lyx.org>
11630 * Makefile.am: add lyxlayout_ptr_fwd.h.
11632 2002-06-26 André Pönitz <poenitz@gmx.net>
11634 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11636 2002-06-25 Angus Leeming <leeming@lyx.org>
11638 * lyxfunc.C (dispatch): Comment out the call to
11639 grfx::GCache::changeDisplay. The method no longer exists now that the
11640 pixmap generation part of the graphics loader has been moved into
11643 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11645 * text2.C: layout as layout
11647 * text.C: layout as layout
11649 * tabular.C (OldFormatRead): layout as layout
11651 * paragraph_pimpl.C (TeXDeeper): layout as layout
11652 (realizeFont): layout as layout
11654 * paragraph.C (writeFile): layout as layout
11655 (validate): layout as layout
11656 (getFont): layout as layout
11657 (getLabelFont): layout as layout
11658 (getLayoutFont): layout as layout
11659 (breakParagraph): layout as layout
11660 (stripLeadingSpaces): layout as layout
11661 (getEndLabel): layout as layout
11662 (getMaxDepthAfter): layout as layout
11663 (applyLayout): layout as layout
11664 (TeXOnePar): layout as layout
11665 (simpleTeXOnePar): layout as layout
11666 (TeXEnvironment): layout as layout
11667 (layout): layout as layout
11668 (layout): layout as layout
11670 * lyxtextclass.C (compare_name): new functor to work with
11671 shared_ptr, layout as layout
11672 (Read): layout as layout
11673 (hasLayout): layout as layout
11674 (operator): layout as layout
11675 (delete_layout): layout as layout
11676 (defaultLayout): layout as layout
11678 * lyxlayout_ptr_fwd.h: new file
11680 * lyxlayout.C (Read): layout as layout
11682 * lyx_cb.C (MenuInsertLabel): layout as layout
11684 * bufferlist.C (newFile): layout as layout
11686 * buffer.C (readLyXformat2): layout as layout
11687 (parseSingleLyXformat2Token): layout as layout
11688 (insertStringAsLines): layout as layout
11689 (asciiParagraph): layout as layout
11690 (latexParagraphs): layout as layout
11691 (makeLinuxDocFile): layout as layout
11692 (simpleLinuxDocOnePar): layout as layout
11693 (makeDocBookFile): layout as layout
11694 (simpleDocBookOnePar): layout as layout
11695 (getLists): layout as layout
11697 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11699 * CutAndPaste.C (cutSelection): layout as layout
11700 (pasteSelection): layout as layout
11701 (SwitchLayoutsBetweenClasses): layout as layout
11703 * BufferView_pimpl.C (Dispatch): layout as layout
11704 (smartQuote): layout as layout
11706 * BufferView2.C (unlockInset): layout as layout
11708 2002-06-24 André Pönitz <poenitz@gmx.net>
11710 * lyxfunc.C: fix #487
11712 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11716 * lyxfunc.C: remove display_shortcuts, show_banner
11718 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11720 * Buffer_pimpl.C: oops, update on resize
11722 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11729 * BufferView.C: use repaint()
11731 * BufferView_pimpl.h:
11732 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11733 as it's a clearer description. Remove superfluous
11736 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11738 * text.C: fix bug 488. Not ideal, but getting
11739 getWord() to work properly for the insets that
11740 matter is more difficult ...
11742 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11744 * BufferView_pimpl.C:
11747 * lyxfunc.C: remove the six million index lyxfuncs to just
11748 one, and DTRT (bug 458)
11750 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11754 * BufferView_pimpl.h:
11755 * BufferView_pimpl.C: clean up resize() stuff,
11756 and unnecessary updateScreen()s
11758 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11762 * BufferView_pimpl.h:
11763 * BufferView_pimpl.C:
11766 * minibuffer.C: remove focus management of workarea,
11767 not needed. Use screen's greyOut()
11769 2002-06-17 Herbert Voss <voss@lyx.org>
11771 * converter.C: (convert) do not post a message, when converting
11772 fails, let the calling function decide what to do in this case
11774 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11776 * lyxfunc.C: tidy up a little
11778 2002-06-16 <alstrup@diku.dk>
11780 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11781 Got rid of FORMS_H_LOCATION include. Now we are
11784 2002-06-15 LyX Development team <lyx@rilke>
11786 * buffer.[Ch] (sgmlOpenTag):
11787 (sgmlCloseTag): Added support for avoiding pernicious mixed
11788 content. Return number of lines written.
11790 (makeLinuxDocFile):
11791 (makeDocBookFile): Fixed calls to sgml*Tag.
11792 Simple white space clean.
11794 (simpleDocBookOnePar): Simple white space clean.
11796 * tabular.[Ch] (docBook): Renamed to docbook and got another
11797 argument to related with the pernicious mixed content.
11799 (docbookRow): Fixed calls for docbook inset method.
11801 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11803 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11804 so it's X11 independent.
11808 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11810 2002-06-15 Lyx Development team <lyx@electronia>
11812 * intl.h: Renamed getTrans to getTransManager.
11814 2002-06-14 Angus Leeming <leeming@lyx.org>
11816 * Makefile.am: nuke forgotten stl_string_fwd.h.
11818 2002-06-12 Angus Leeming <leeming@lyx.org>
11820 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11822 2002-06-13 Angus Leeming <leeming@lyx.org>
11825 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11827 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11829 * kbmap.C (getiso): add support for cyrillic and greek
11831 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11835 * BufferView_pimpl.h:
11836 * BufferView_pimpl.C: move bogus scrolling logic
11839 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11842 * BufferView_pimpl.C: view->resize() change
11844 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11846 * BufferView_pimpl.C: topCursorVisible
11849 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11853 * lyx_gui.C: move to frontends/
11857 * lyx_main.C: changes from above
11859 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11866 * lyx_main.C: minor tidy
11868 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11870 * BufferView_pimpl.h:
11871 * BufferView_pimpl.C:
11873 * BufferView.C: make painter() const,
11876 * BufferView2.C: use screen() accessor
11879 * lyx_main.C: some minor cleanup
11881 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11883 * BufferView_pimpl.h:
11884 * BufferView_pimpl.C: remove enter/leaveView,
11887 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11892 * BufferView_pimpl.h:
11893 * BufferView_pimpl.C: only construct screen once,
11896 * lyxrc.C: remove pointless comment
11898 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11901 * BufferView.C: remove active() and belowMouse()
11903 * BufferView_pimpl.h:
11904 * BufferView_pimpl.C: use workarea() not workarea_,
11905 and make it use a scoped_ptr instead
11907 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11909 * lyx_gui.C: add debug message on BadWindow
11911 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11913 * sp_spell.C: fdopen is not part of the C++ standard.
11915 * paragraph.C (InsetIterator): use >= instead of ==
11917 2002-06-07 Angus Leeming <leeming@lyx.org>
11919 Fixes needed to compile with Compaq cxx 6.5.
11920 * BufferView_pimpl.C:
11927 * lyxtextclasslist.C:
11932 all c-library variables have been moved into namespace std. Wrap
11933 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11938 Add a using std::abs declaration.
11940 * kbmap.h (modifier_pair):
11941 * paragraph.h (InsetTable, InsetList):
11942 * lyxfont.h (FontBits):
11943 type definition made public.
11945 * bufferlist.C (emergencyWriteAll): the compiler complains that
11946 there is more than one possible lyx::class_fun template to choose from.
11947 I re-named the void specialisation as lyx::void_class_fun.
11949 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11951 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11952 the compiler is is unable to find tostr in write_attribute.
11954 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11956 * buffer.C (sgmlError): hide #warning
11958 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11960 * xtl/*: get rid of xtl, which is not in use anyway
11962 * LyXAction.C (init):
11963 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11964 were unimplemented xtl experimentation
11966 2002-06-04 André Pönitz <poenitz@gmx.net>
11968 * lyxfunc.C: disable array operation on simple formulae
11970 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11972 * converter.C: constify a bit
11974 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11976 * lyx_gui.C: check xforms version correctly
11978 2002-04-30 Herbert Voss <voss@lyx.org>
11980 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11983 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11985 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11986 attempt to register it with a VCS)
11988 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11990 * lyx_main.C (init): honor variables LYX_DIR_13x and
11993 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11997 * lyx_main.C: fix a crash on bad command line,
11998 and give a useful exit status on error
12000 * lyxfunc.C (doImport): allow -i lyx to work
12002 2002-03-30 André Pönitz <poenitz@gmx.net>
12004 * lyxfunc.C: mathed font changes
12006 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12021 * trans_mgr.h: srcdocs, and some minor cleanups
12023 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12025 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12026 call getFont all the time)
12028 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12030 * switch from SigC signals to boost::signals
12032 2002-05-29 André Pönitz <poenitz@gmx.net>
12034 * paragraph_pimpl.C (getChar): don't call size() too often...
12036 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12038 * paragraph_pimpl.C (insertChar): do not try to update tables when
12039 appending (pos == size())
12041 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12042 in order to reduce drastically the number of comparisons needed to
12043 parse a large document
12045 2002-05-29 André Pönitz <poenitz@gmx.net>
12051 * textclasslist.[Ch]:
12052 * sp_ispell.h: whitespace change
12054 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12056 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12057 lyxaction directly now.
12059 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12063 * lyxvc.C: remove unused headers
12065 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12072 * undo_funcs.C: some cleanups. Use shared_ptr
12073 and a template for the undo stacks.
12075 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12077 * BufferView_pimpl.h:
12078 * BufferView_pimpl.C:
12085 * text2.C: use key_state/mouse_state
12087 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12089 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12092 * chset.C: change include order
12093 (loadFile): use boost regex and get rid of LRegex and LSubstring
12095 * Makefile.am (BOOST_LIBS): new variable
12096 (lyx_LDADD): use it
12098 * LaTeX.C: change include order.
12099 (scanAuxFile): use boost regex and get rid of LRegex and
12103 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12108 * FontInfo.C: moved to frontends/xforms/
12111 * FontLoader.C: moved into frontends for GUIIzation
12116 * lyxfunc.C: changes from above
12118 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12120 * LColor.C: remove spurious X include
12122 * BufferView_pimpl.C:
12127 * text2.C: move font metrics to frontends/
12129 2002-05-24 Juergen Vigna <jug@sad.it>
12131 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12132 setting the undo_cursor.
12134 * ParagraphParameters.h: include local includes first.
12136 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12138 * BufferView_pimpl.C:
12139 * BufferView_pimpl.h:
12143 * screen.C: move WorkArea into frontends/
12149 * BufferView2.C: move LyXScreen into frontends/
12153 * lyx_gui.C: move lyxlookup into frontends/xforms/
12155 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12158 * BufferView_pimpl.C:
12168 * bufferview_funcs.C:
12181 * vc-backend.C: move LyX/XFormsView into frontends/
12183 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12195 * text2.C: move Painter to frontends/
12197 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12199 * buffer.C: comment out some some code that depend upon lyx_format
12202 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12203 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12205 * buffer.h (NO_COMPABILITY): turn off compability
12207 * ColorHandler.C: include scoped_array.hpp
12209 * font.C: Use more specific smart_ptr header.
12212 * ShareContainer.h: ditto
12213 * lyx_main.h: ditto
12215 * FontInfo.h: ditto
12216 * BufferView_pimpl.h: ditto
12217 * ColorHandler.h: ditto
12219 * kbmap.C (defkey): change call to shared_ptr::reset
12221 2002-05-21 Juergen Vigna <jug@sad.it>
12223 * buffer.C (insertErtContents): fix to insert ert asis if it is
12224 non empty. Skip it completely if it contains only whitespaces.
12226 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12228 * BufferView_pimpl.C:
12229 * BufferView2.C: clear selection on paste (bug 393)
12231 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12233 * DepTable.C: include ctime
12235 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12237 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12239 2002-05-14 Juergen Vigna <jug@sad.it>
12241 * text.C (breakParagraph): fixed function to honor the keepempty
12242 layout in the right maner and also to permit the right breaking
12243 algorithm on empty or non empyt keepempty paragraphs.
12245 * paragraph.C (breakParagraph): we have to check also if the par
12246 is really empty (!size()) for isempty otherwise we do the wrong
12249 2002-05-10 Juergen Vigna <jug@sad.it>
12251 * buffer.[Ch] : The following are only changes to the ert
12252 compatibility read reading old LaTeX layout and font stuff and
12253 convert it to ERTInsets.
12255 * buffer.h: added isErtInset().
12257 * buffer.C (struct ErtComp): add a fromlayout bool to check
12258 if we're inside a LaTeX layout.
12259 (isErtInset): new helper function.
12260 (insertErtContents): look for other ert insets before this one
12261 and insert the contents there, so that we don't have subsequent
12262 ERT insets with nothing between them. This way we create only one
12263 inset with multiple paragraphs. Also check if we don't insert only
12264 spaces ' ' as they are ignored anyway afterwards in the .tex file
12265 so if we have only spaces we will ignore this latex part in the
12267 (parseSingleLyXformat2Token \\layout): better compatibility when
12268 reading layout-latex stuff.
12269 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12271 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12272 stuff after reading the inset only get the information back from
12275 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12277 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12279 * LaTeXFeatures.C (getBabelOptions): New method.
12281 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12283 * BufferView_pimpl.C (Dispatch): work around missing argument for
12286 2002-05-08 Juergen Vigna <jug@sad.it>
12288 * text.C (leftMargin): handle paragraph leftindent.
12290 * paragraph.C (writeFile): write the new \\leftindent tag.
12291 (validate): handle leftindent code.
12292 (TeXEnvironment): handle paragraphleftindent code again.
12294 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12296 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12297 for paragrap_extra indent code and new token \\leftindent.
12298 (latexParagraphs): handle the leftindent as environment.
12300 * ParameterStruct.h: added leftindent support.
12302 * ParagraphParameters.C (leftIndent): added support functions for
12303 the paragraph left indent.
12305 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12308 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12310 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12313 * text.C (computeBidiTables): No bidi in insetERT.
12315 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12318 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12320 * version.C.in: pre 5
12322 2002-05-02 José Matos <jamatos@fep.up.pt>
12323 * buffer.C (makeDocBookFile): white space changes, add newline to
12325 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12327 * tabular.C (docBook): fix typo.
12329 2002-05-03 Juergen Vigna <jug@sad.it>
12331 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12332 change in LyXText as we can not be sure it was not freed.
12333 (drawOneRow): remove unused code.
12335 * text.C (drawInset): redo the calculation of the need_break_row as
12336 it could have a row which was already freed.
12337 (draw): look at the return value of drawInset and return false if
12338 it also returned false.
12339 (paintRowText): look at the return value of draw and return false if
12340 it also returned false.
12342 * lyxtext.h: added bool return type to drawInset() and draw() so that
12343 if we have a change in the row so that the rowbreak has to be redone
12344 we abort drawing as it will be called again.
12346 2002-05-02 Juergen Vigna <jug@sad.it>
12348 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12349 a change in the maintext also if we're inside an inset.
12350 (Dispatch): set the cursor again after a break line and after the
12351 screen has been updated as it could be we're in a different row.
12353 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12354 to set the cursor behind the pargraph with > size().
12355 (setCursor): check also for the same paragraph when checking where
12356 to put the cursor if we have a NFR inset.
12358 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12359 parts of layout read further up as it still was in the wrong
12362 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12364 * screen.C (drawFromTo): change sine fullRebreak always return
12367 * buffer.C (parseSingleLyXformat2Token): reindent some
12369 * BufferView_pimpl.C (update): change since fullRebreak always
12371 (Dispatch): git rid of the last hardcoded "Standard"s.
12373 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12375 * text2.[Ch] (fullRebreak): make it return void now that we always
12378 2002-04-30 Juergen Vigna <jug@sad.it>
12380 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12381 ert compatibility check for "latex" layout.
12383 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12385 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12386 minipages: use col% instead of p%, and also use the current font.
12387 (makeLaTeXFile): Fix use babel condition.
12388 (parseSingleLyXformat2Token): Correct font when reading old floats.
12390 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12392 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12393 inserting list of floats.
12395 2002-04-25 Herbert Voss <voss@lyx.org>
12397 * MenuBackend.C (expand): don't add the graphics extensions to the
12400 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12402 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12403 non-existing layout, do not complain if it was the default layout
12404 of the original class (bug #342)
12406 2002-04-24 Juergen Vigna <jug@sad.it>
12408 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12409 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12411 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12413 * buffer.C (getBibkeyList): If using \bibliography, return the
12414 option field with the reference itself. Enables us to provide natbib
12415 support when using \bibliography.
12417 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12419 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12421 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12422 natbib is provided by the LaTeX class.
12424 2002-04-23 Juergen Vigna <jug@sad.it>
12426 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12429 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12431 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12433 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12435 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12436 ensuremath around textordmasculine, textordfeminine and
12439 2002-04-19 Juergen Vigna <jug@sad.it>
12441 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12442 reinitializing the buffer otherwise row-dimensions may be wrong.
12443 (update): reset also the selection cursors if they do exits otherwise
12444 their x/y positions may be wrong.
12446 * text2.C (cursorDown): don't enter the inset if we came from a row
12447 above and are one row over the inset.
12449 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12450 really leaving an inset.
12452 2002-04-18 Juergen Vigna <jug@sad.it>
12454 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12455 of the selected paragraph does not have the selected layout also if
12458 * text2.C (setLayout): fixed bug which did not change last selected
12461 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12462 changed the read and substituted \\end_float with \\end_inset!
12464 * BufferView_pimpl.C (cursorPrevious):
12465 (cursorNext): fixed to make it work with rows heigher than the work
12466 area without moving the cursor only the draw of the row.
12467 (workAreaMotionNotify): fix jumping over high rows.
12469 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12471 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12474 2002-04-16 Juergen Vigna <jug@sad.it>
12476 * text2.C (setCursor): set also the irow().
12477 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12479 (cursorDown): support for locking an inset if the x_fix value goes
12480 inside it. That way I can transverse insets too with cursor up/down.
12482 * lyxrow.h: added irow helper function same as other (i) functions.
12484 * BufferView_pimpl.C (cursorPrevious):
12485 (cursorNext): fixed for insets!
12487 2002-04-15 Juergen Vigna <jug@sad.it>
12489 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12490 position otherwise it is wrong in some cases.
12492 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12493 inside the inset before the call.
12495 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12497 * buffer.[Ch] (getBibkeyList): make it const.
12499 2002-04-12 Juergen Vigna <jug@sad.it>
12501 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12503 * text2.C (getCursorX): new helper function
12504 (setCursor): compute also ix_
12505 (setCursorFromCoordinates): set also ix.
12507 * lyxcursor.h: added ix_ and helper functions.
12509 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12511 * buffer.C (insertStringAsLines): dont break paragraph if the this
12512 paragraph is inside an inset which does not permit it!
12514 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12515 also with no chars on this paragraph.
12516 (paintRowText): only paint stuff if it's inside the workarea!
12518 * paragraph.C (breakParagraph): honor keepempty flag and break the
12519 paragraph always below not above.
12521 * BufferView2.C (unlockInset): update the paragraph layout on inset
12522 unlock as we changed paragraph in such a case.
12524 * lyxfind.C (LyXFind): clear the former selection if not found!
12526 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12527 again called in insertChar().
12529 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12530 an inset which uses the whole row!
12531 (rightMargin): ditto.
12532 (insertChar): force a rebreak if we inserted an inset!
12534 2002-03-28 Herbert Voss <voss@lyx.org>
12536 * lyxlength.[Ch]: add inBP() to get the right PS-point
12537 units (BigPoint). With inPixels we have rounding errors
12539 2002-04-11 Juergen Vigna <jug@sad.it>
12541 * text2.C (setCursorFromCoordinates): set iy to the right value.
12542 (setCursor): add check if row->previous exists!
12544 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12545 an old float_type as this was the case in the old code!
12547 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12549 * BufferView2.C (showLockedInsetCursor): use iy
12550 (fitLockedInsetCursor): ditto
12552 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12553 locked insets as there we have the right value now.
12555 * lyxcursor.C: added iy_ variable and iy functions to set to the
12556 baseline of cursor-y of the locked inset.
12558 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12559 (setCursor): fixed for insets which need a full row.
12561 * text.C (rowLastPrintable): don't ignore the last space when before
12562 an inset which needs a full row.
12563 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12564 as last character of a row when before a inset which needs a full row.
12566 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12568 * version.C.in: update date
12570 * text2.C (fullRebreak): try to always return true and see what
12573 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12575 * MenuBackend.C (expand): use Floating::listName
12577 * FloatList.C (FloatList): add listName argument to the built-in
12580 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12581 text associated with the float.
12583 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12585 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12587 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12589 * ShareContainer.h: add a couple of missing typenames.
12591 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12593 * lyxrc.C (getDescription): use _() correctly rather than N_().
12595 2002-03-28 Herbert Voss <voss@lyx.org>
12597 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12598 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12600 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12602 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12603 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12605 2002-03-29 Juergen Vigna <jug@sad.it>
12607 * lyxfunc.C (dispatch): add a missing fitCursor call.
12609 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12610 it was scrolled by a cursor move, so return the bool status.
12612 * BufferView.C (fitCursor): return the bool flag also to the outside
12613 world as this is needed.
12615 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12617 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12618 call the edit() as it is not needed (and wrong) IMO.
12619 (workAreaButtonPress): set the screen_first variable before evt.
12620 unlock the inset as this may change screen_first and then we have
12621 a wrong y position for the click!
12623 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12625 * MenuBackend.C (expand): another translation that I missed
12627 2002-03-28 Juergen Vigna <jug@sad.it>
12629 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12631 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12633 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12635 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12637 * MenuBackend.C (expand): fix export/view/update when there is no
12640 2002-03-27 Herbert Voss <voss@lyx.org>
12642 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12645 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12647 * bufferview_funcs.C (currentState): only show paragraph number
12648 for is DEVEL_VERSION is set.
12650 * lyxfunc.C (dispatch): put warning in INFO channel
12652 * MenuBackend.C (expand): translate the name of floats
12654 * FloatList.C (FloatList): mark the float names for translation
12656 * converter.C (convert): use LibScriptSearch
12658 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12660 * MenuBackend.C (defaults): fix default menu (we might as well get
12663 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12665 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12668 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12670 * lyxvc.C: reorder includes.
12672 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12674 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12677 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12679 * CutAndPaste.C: change layouts earlier on paste
12680 to avoid crashing when calling getFont()
12682 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12684 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12687 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12689 * WorkArea.C: remove 'Pending' debug message.
12691 * most files: ws cleanup
12693 * buffer.[Ch]: ws changes
12695 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12697 2002-03-21 Juergen Vigna <jug@sad.it>
12699 * tabular.C (SetMultiColumn): collapse also the contents of the
12700 cells and set the last border right. Added a Buffer const * param.
12702 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12704 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12707 2002-03-19 Juergen Vigna <jug@sad.it>
12709 * text2.C (clearSelection): reset also xsel_cache.
12711 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12712 where it needs to be called (John tells us to do so too :)
12713 (selectionLost): reset sel_cache.
12715 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12717 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12719 * text2.C (setCursorIntern): put debuging code in INSETS channel
12721 2002-03-19 André Pönitz <poenitz@gmx.net>
12723 * lyxfunc.C: tiny whitespace change
12725 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12727 * ToolbarDefaults.C (init):
12728 * LyXAction.C (init):
12730 * BufferView_pimpl.C (Dispatch):
12731 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12733 2002-03-19 Allan Rae <rae@lyx.org>
12735 * exporter.C (Export): removeAutoInsets before doing anything else.
12736 While I've just introduced a dependency on BufferView this really is
12737 the best place to clean the buffer otherwise you need to cleanup in
12738 a dozen places before calling export or cleanup in a dozen functions
12741 * converter.C (runLaTeX):
12742 (scanLog): Better handling of removeAutoInsets and screen updates.
12744 * lyxfunc.C (dispatch): small whitespace changes
12746 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12748 * WorkArea.C (C_WorkAreaEvent): return a value.
12749 (event_cb): return 1 if we handled the event, 0 otherwise.
12751 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12753 2002-03-18 Juergen Vigna <jug@sad.it>
12755 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12756 (GetAdditionalWidth): ditto.
12757 (RightLine): ditto.
12760 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12761 inset if we're there actually (probably not used right now but this
12762 is the direction to go for unifying code).
12763 (paste): disable code to clear the selection.
12765 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12766 inside an InsetText and move the check further up as it is in the
12769 * text2.C (pasteSelection): set a selection over the pasted text.
12771 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12773 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12774 and libgraphics to build on Cygwin.
12776 2002-03-15 Juergen Vigna <jug@sad.it>
12778 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12779 inserting an Inset into the paragraph. I know this is not the best
12780 fix but we already use current_view in CutAndPaste so we will remove
12781 all of it's using at the same time.
12783 * buffer.C (sgmlError): deactivated function till it is rewritten in
12784 the right mode, now it can create problems.
12786 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12787 before accessing it.
12789 2002-03-14 Juergen Vigna <jug@sad.it>
12791 * undo_funcs.C (textHandleUndo): do the right thing when updating
12792 the inset after the undo/redo.
12794 * text2.C (setCursor): just some testcode for #44 not ready yet.
12796 * undo_funcs.C (textHandleUndo): set the next() and previous()
12797 pointers of the paragraph to 0 before deleting otherwise we have
12798 problems with the Paragraph::[destructor].
12800 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12801 on a paragraph insertion.
12803 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12805 * buffer.C (asciiParagraph): use += operator for char append to
12808 * paragraph.C (getFontSettings): compare >= not just >
12809 (highestFontInRange): ditto
12812 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12814 * paragraph.C: change several algorithm to be more appripriate for
12815 the problem domain. This is lookip in FontList and in the InsetList.
12817 2002-03-13 André Pönitz <poenitz@gmx.net>
12820 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12822 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12827 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12829 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12831 * Painter.C (display): anon helper function, adjust code for this
12833 (pixmap): remove function.
12835 * Painter.h: remove private display variable.
12837 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12839 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12841 * WorkArea.[Ch]: remove figinset_canvas cruft.
12843 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12845 * lyxtextclass.C (operator): add one item cache optimization.
12847 * bufferlist.h: doxy changes
12849 * bufferlist.C: ws changes
12851 * DepTable.[Ch] (ext_exist): place const in the right spot.
12853 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12855 (workAreaExpose): call resizeInsets when the with BufferView changes.
12856 (Dispatch): adjust for protectedBlank removal
12857 (specialChar): call updateInset if the insert went ok.
12859 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12860 specialChar instead.
12862 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12864 * BufferView.h: doxy change
12866 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12868 * lyxtextclass.C (operator[]): remove non-const version
12869 (defaultLayout): remove non-const version
12871 2002-03-12 Juergen Vigna <jug@sad.it>
12873 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12874 did resize the LyXText too.
12876 * buffer.C (readLyXformat2): set layout information on newly allocated
12879 * tabular.C (OldFormatRead): set layout information on the paragraph.
12881 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12883 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12885 2002-03-11 Juergen Vigna <jug@sad.it>
12887 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12889 (resizeCurrentBuffer): force also the insets to resize themselfes.
12890 (moveCursorUpdate): fixed up for InsetText.
12892 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12895 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12896 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12897 value of Dialogs::tooltipsEnabled().
12898 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12900 2002-03-08 Juergen Vigna <jug@sad.it>
12902 * BufferView_pimpl.C (updateInset): update inset inside inset also
12903 if it isn't inside theLockingInset().
12905 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12907 * buffer.C (asciiParagraph): redo some of the word and line length
12909 (getLists): look for Caption instead of caption.
12911 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12913 * buffer.C (Buffer): initialize niceFile to true
12915 (makeLinuxDocFile):
12916 (makeDocBookFile): make sure niceFile is true on exit
12918 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12920 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12922 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12924 * LyXSendto.C: remove.
12925 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12926 * lyx_gui.C: remove now-redundant comment.
12927 * ColorHandler.h: remove forward declaration of class WorkArea.
12928 * lyxfunc.C: remove #include "WorkArea.h".
12930 2002-03-07 Juergen Vigna <jug@sad.it>
12932 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12933 got moved away with the DEPM and also set the inset_owner always
12934 right which before could have been omitted.
12936 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12938 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12939 wanted layout is not found.
12941 2002-03-07 Juergen Vigna <jug@sad.it>
12943 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12945 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12947 * paragraph.C (breakParagraph): use default layout not layout of
12949 (Paragraph): clear ParagraphParameters.
12951 2002-03-06 Juergen Vigna <jug@sad.it>
12953 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12954 otherwise it would not be a valid lenght. Fixed a special case in
12955 the minipage compatibility read where we end the document with a
12958 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12959 was set as it could be 0 for InsetTexts first entry.
12961 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12963 * paragraph.C (writeFile): if layout is empty write out
12964 defaultLayoutName().
12966 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12967 file without named layout we set layout to defaultLayoutName().
12969 2002-03-06 Juergen Vigna <jug@sad.it>
12971 * CutAndPaste.C (copySelection): set layout for new paragraph.
12973 * text.C (prepareToPrint): leave ERT inset left aligned
12974 (leftMargin): don't indent paragraphs inside ERT insets
12976 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12978 * paragraph.C (breakParagraph): dont call clear do the work manually
12980 * paragraph.[Ch] (clear): remove function
12982 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12984 * paragraph.C (Paragraph): dont call clear, the work has already
12987 * lyxtextclass.C (operator): assert if n is empty
12989 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12990 work manually instead.
12992 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12994 * BufferView_pimpl.C: protect selectionLost against text == 0
12996 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12998 * text.C (breakParagraph): fix a setting layout to '0' problem.
13000 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
13002 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13003 final location of file, for the included files, and graphics.
13005 2002-03-05 Juergen Vigna <jug@sad.it>
13007 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13009 2002-03-04 Juergen Vigna <jug@sad.it>
13011 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13013 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13014 last column of multicolumn cells.
13015 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13017 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13019 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13020 file if it doesn't go to a temporary file.
13022 * buffer.C (sgmlOpenTag):
13023 (sgmlCloseTag): remove extra newline insertion.
13025 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13027 * text.C (getRowNearY): comment out debug msg
13029 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13031 * text2.C: first -> first_y
13033 * text.C (getRowNearY): add some attemts at a possible
13034 optimization, not working.
13036 * tabular.[Ch]: add BufferParams to several function so that newly
13037 created paragraph can be initialized to he default layotu for the
13040 * tabular-old.C (ReadOld): add buf->params to call of Init
13042 * screen.C: rename text->first to text->first_y
13044 * paragraph.C (breakParagraph): always set layout in the broken
13047 * lyxtextclass.C (Read): remove lowercase
13050 (delete_layout): ditto
13052 * lyxtext.h: rename first -> first_y
13054 * lyxlayout.C (Read): remove lowercase
13057 (obsoleted_by): ditto
13059 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13061 * buffer.C (insertErtContents): add params are to InsetERT
13062 (parseSingleLyXformat2Token): add code to check if a paragraphs
13063 layout really exist.
13064 (parseSingleLyXformat2Token): add params to several inset
13066 (asciiParagraph): remove lowercase, do the layout comparisons with
13069 * BufferView_pimpl.C (cursorNext): first -> first_y
13070 (resizeCurrentBuffer): first -> first_y
13071 (updateScrollbar): first -> first_y
13072 (scrollCB): first -> first_y
13073 (workAreaMotionNotify): first -> first_y
13074 (workAreaButtonPress): first -> first_y
13075 (checkInsetHit): first -> first_y
13076 (cursorPrevious): first -> first_y
13077 (cursorNext): first -> first_y
13078 (Dispatch): add buffer_->params to severl inset contructors
13080 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13082 * lyxlayout.C (Read): remove some debug info that I forgot.
13084 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13085 clean up the code slightly.
13086 (makeLinuxDocFile): ditto
13087 (makeDocBookFile): ditto
13089 * text2.C: layout as string
13091 * text.C: layout as string
13093 * paragraph_pimpl.C: layout as string
13095 * paragraph.[Ch]: layout as string
13097 * lyxtextclasslist.[Ch]: layout as string
13099 * lyxtextclass.[Ch]: layout as string
13101 * lyxtext.h: layout as string
13103 * lyxlayout.[Ch]: layout as string
13105 * lyx_cb.C: layout as string
13107 * bufferview_funcs.C: layout as string
13109 * bufferparams.C: layout as string
13111 * buffer.C: layout as string
13113 * LyXView.[Ch]: layout as string
13115 * LaTeXFeatures.[Ch]: layout as string
13117 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13119 * BufferView_pimpl.C: change current_layout to string, remove
13124 (workAreaButtonRelease): layout as string
13126 * BufferView2.C (unlockInset): adjust
13128 * vspace.C (asLatexCommand): use an explict temp variable.
13130 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13132 * Makefile.am: use FRONTEND_*
13134 2002-03-01 Juergen Vigna <jug@sad.it>
13136 * tabular.C (SetWidthOfMulticolCell): changed to something better
13137 I hope but still work in progress.
13138 (recalculateMulticolumnsOfColumn): renamed function from
13139 recalculateMulticolCells as it is more appropriate now.
13140 (SetWidthOfCell): calculate multicols better.
13142 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13144 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13146 * lyxfunc.C (processKeySym): print sequence also if it is
13147 `deleted' (complete)
13149 * kbsequence.C (print): print sequence even if it is deleted
13150 (complete would be a better word, actually).
13152 * lyxfunc.C (dispatch): print complete options after a prefix key
13154 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13156 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13158 * text2.C (setCharFont): eliminate setCharFont code duplication.
13160 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13162 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13163 LFUN_TABULAR_FEATURE (bug #177)
13165 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13167 * Makefile.am: remove figure.h
13169 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13171 * Bufferview_pimpl.C:
13183 * text2.C: remove #include "lyx_gui_misc.h".
13185 * LaTeX.C: added #include <cstdio>
13187 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13189 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13190 that the paragraph following this one can have.
13192 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13194 * vspace.C (asLatexCommand): fix bogus gcc warning
13196 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13198 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13200 * text2.C (setLayout): get rid of redundant code
13202 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13204 * text2.C (incDepth): make sure depth cannot be increased beyond
13207 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13209 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13210 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13212 * PainterBase.h (image):
13213 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13214 a LyXImage const *.
13216 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13220 * BufferView_pimpl.C:
13221 * BufferView_pimpl.h:
13241 * sp_spell.C: remove fig inset, and the crap house of
13242 cards that follows it
13244 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13249 * os2_errortable.h:
13250 * nt_defines.h: move .h into support/
13252 * vms_defines.h: remove
13254 * WorkArea.C: add space in debug output
13258 * buffer.C: add WITH_WARNINGS
13262 * bufferlist.C: s/retrive/retrieve/, add docs
13271 * chset.C: add docs
13273 * lyxgui.C: add ID to X error handler
13275 * lyxtestclass.c: fix typo
13277 2002-02-26 Juergen Vigna <jug@sad.it>
13279 * tabular_funcs.C (write_attribute): changed so that some default
13280 attributes are not written at all.
13281 (getTokenValue): set default values before trying to read the
13282 value so we have the return value always set as default if we don't
13283 find the token we search for.
13285 * tabular.C (Write): write bools as bools not as strings!
13287 2002-02-22 Juergen Vigna <jug@sad.it>
13289 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13290 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13292 * text.C (leftMargin): don't add an indent for paragraphs inside
13293 tabular cells (fix #208).
13295 2002-02-21 José Matos <jamatos@fep.up.pt>
13297 * tabular.C (docBook): fixed support for long tables.
13299 2002-02-20 Juergen Vigna <jug@sad.it>
13301 * text2.C (getFont): get the drawing font of the Inset if this
13302 paragraph is inside an inset (only important for InsetERT for now).
13304 * buffer.C (insertErtContents): use new lanugage params in ERT
13307 * CutAndPaste.C: commenting out seemingly uneeded code.
13309 2002-02-19 Allan Rae <rae@lyx.org>
13311 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13312 Iterators might be simple to use but they also get invalidated.
13313 (removeAutoInsets): renamed saved cursor tracking variables and added
13314 some comments to clarify what everything does.
13316 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13323 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13324 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13327 * vc-backend.h: remove #include "support/syscall.h"
13331 * converter.C: rearrange #includes in Lars' approved fashion.
13333 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13334 forward declare class Timeout in the header file.
13336 * XFormsView.C: changes due to the above.
13338 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13339 similar to LyXView.
13341 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13342 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13344 2002-02-18 José Matos <jamatos@fep.up.pt>
13346 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13349 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13351 * a lot of small ws changes
13352 * add a lot of using std::XXX
13353 * use std construcs some places where approp.
13354 * use some exisint stuff from lyxfunctional where approp.
13355 * Make file changes to use partial linking (lets test this now...)
13357 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13361 remove #include "support/syscontr.h" as it's redundant. Always has been.
13369 change Systemcalls::System to Systemcalls::Wait and
13370 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13371 No change of functionality, just reflects the stripped down Systemcalls
13374 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13376 * debug.[Ch]: add a GRAPHICS type to the enum.
13378 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13380 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13382 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13385 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13387 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13388 match the changes below.
13390 * text2.C (toggleInset): if there is not editable inset at cursor
13391 position, try to see if cursor is _inside_ a collapsable inset
13394 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13396 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13397 document menu has a nice checkbox
13399 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13401 * lyxlength.C (asLatexString): change PW to output as percent of
13404 * lengthcommon.C: change '%' to 't%'
13406 * lyxfunc.C (dispatch): a few comments from Martin
13408 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13412 * BufferView_pimpl.h:
13413 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13416 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13418 * vspace.C (inPixels): fix compiler warning
13420 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13422 * lyxfunc.C (getStatus): fix status message for disabled commands.
13424 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13426 * BufferView_pimpl.C: fix crash on close buffer
13427 during selection (#227)
13429 2002-01-27 Herbert Voss <voss@lyx.org>
13431 * buffer.C: link old Figure to new graphic inset
13433 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13435 * FontLoader.C (getFontinfo): Change the latex font names in order
13436 to match the names of type1inst.
13438 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13440 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13442 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13443 (extchanged): ditto
13445 (remove_files_with_extension): ditto
13446 (remove_file): ditto
13449 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13450 document is smaller than the work area height. Do not initialize
13451 static variables to 0.
13453 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13455 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13457 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13458 LFUN_LAYOUT_PARAGRAPHS.
13460 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13461 tabular. It is possible to provide a possible cell, which will
13462 typically be the actcell from the corresponding insettabular
13464 * lyxfunc.C (getStatus): small cleanup; disable
13465 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13468 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13470 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13472 * paragraph.C (startTeXParParams):
13473 (endTeXParParams): new methods. The LaTeX code to
13474 start/end paragraph formatting
13475 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13476 empty (fixes bug #200)
13478 * vspace.C (inPixels): adapt to the change below
13479 (inPixels): [later] more cleanups (remove unused variables)
13481 * lyxlength.C (inPixels): change to use a width and a height as
13484 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13486 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13487 Replaced with \paperwidth
13489 * DepTable.C (insert): add std:: qualifier
13491 2002-01-18 Allan Rae <rae@lyx.org>
13493 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13496 * text.C (drawInset): Turned out I didn't know enough about how
13497 rebreaking worked. This fixes most of the redraw problems. I see
13498 an occasional cursor trail when a line is broken now and the cursor
13499 placement can seem out by a few pixels also after a rebreak.
13501 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13503 * buffer.C (parseSingleLyXformat2Token): update because minipage
13504 width is now a LyXLength
13506 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13508 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13511 2002-01-17 Juergen Vigna <jug@sad.it>
13513 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13515 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13516 is set correctly and the inset is updated correctly.
13518 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13520 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13521 the beginning of the loop.
13523 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13525 * lyxrc.C: improve help for use_scalable_fonts
13527 2002-01-17 Allan Rae <rae@lyx.org>
13529 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13531 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13533 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13534 make sure to set their inset_owner to the right value (bug #171)
13536 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13539 * DepTable.C: Implement mtime checking to reduce time spent doing
13542 2002-01-16 Juergen Vigna <jug@sad.it>
13544 * tabular.C (GetAdditionalHeight): one of error fixed.
13546 * lyxrc.C (output): small fix in writing use_pspell.
13548 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13550 * sp_base.h: #include LString.h
13552 2002-01-16 Allan Rae <rae@lyx.org>
13554 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13555 Can someone check this please?
13557 * text.C (drawInset): It was possible that p.row would be removed by
13558 breakAgainOneRow upsetting a few other settings. There may be another
13559 small tweak possible by setting need_break_row = 0 when p.row has been
13560 removed but I don't know enough about the logic here.
13562 2002-01-15 Allan Rae <rae@lyx.org>
13564 * text.C (insertChar): removed conditional truism.
13566 * BufferView2.C (removeAutoInsets): More tweaks.
13567 cur_par_prev could be a stray pointer. Check for trailing empty line
13568 in case last line was cur_par and only had an error inset on it.
13570 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13572 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13575 * vc-backend.C (most methods):
13576 * exporter.C (Export):
13577 * converter.C (convert):
13579 * LyXSendto.C (SendtoApplyCB):
13580 * lyxfunc.C (dispatch):
13584 * lyx_cb.C (AutoSave):
13586 * BufferView_pimpl.C (MenuInsertLyXFile):
13587 * buffer.C (runChktex): use Buffer::filePath().
13589 * buffer.h: rename filename to filename_; rename filepath to
13590 filepath_ and make it private
13591 (filePath): new method
13593 * buffer.C (writeFile): use fileName()
13596 * lyx_main.C (init): fix starting of LyX when the binary is a
13597 link from so,ewhere else.
13599 * minibuffer.C: include <cctype> for isprint
13601 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13603 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13604 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13605 name clash with InsetCollapsable's width function.
13607 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13609 * lastfiles.C: include <iterator>
13611 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13613 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13616 * buffer.C (makeLaTeXFile): ditto.
13617 Also make loop operation more transparent.
13619 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13621 * ToolbarDefaults.C: remove trailing comma closing namespace.
13623 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13625 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13628 * trans.C (Load): comment out unused variable, allowed.
13630 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13632 * minibuffer.[Ch] (append_char): new method to recieve input from the
13633 drop-down completion browser. If a key was pressed, then recieve this
13634 char and append it to the existing string.
13635 (peek_event): modify the positioning data passed to the completion
13636 browser so that it can be placed above the minibuffer rather than below.
13637 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13639 * LyXAction.C (init): alloe error-next for readonly documents.
13641 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13644 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13646 * bufferlist.C (readFile): create the buffer _after_ checking that
13649 * lyxfunc.C (verboseDispatch): fix handling of arguments
13651 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13653 * lyxrc.C: use string::erase() instead of initializing to "".
13656 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13658 * BufferView_pimpl.h:
13659 * BufferView_pimpl.C:
13662 * text2.C: tell X when we have made a selection for copying
13664 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13666 * BufferView_pimpl.C (MenuInsertLyXFile):
13667 * lyxfunc.C (menuNew):
13669 (doImport): add shortcuts to directory buttons
13671 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13674 * lyxfunc.C (setStatusMessage):
13675 (getStatusMessage): new methods
13676 (getStatus):use setStatusMessage instead of setErrorMessage
13677 (dispatch): when function is disabled, set error message here
13678 [instead of in getStatus previously]
13680 * BufferView_pimpl.C (workAreaButtonRelease): update
13681 toolbar/menubar here too.
13683 2002-01-13 Allan Rae <rae@lyx.org>
13685 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13686 Now seems indestructible. Remaining task is to audit all other
13687 code affected by deleteEmptyParagraphMechanism. One small quirk
13688 left is that an empty document with an error in the preamble can
13689 be made to report an error but no error box appears. I don't know
13691 (removeAutoInsets): Improved comments.
13693 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13696 * Thesaurus.C: update for Aiksaurus 0.14
13698 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13700 * text2.C (firstParagraph): removed member function, all uses
13701 replaces with ownerParagraph
13702 (redoParagraphs): here
13703 (updateInset): here
13704 (toggleAppendix): here
13705 * BufferView2.C (insertErrors): here
13706 (setCursorFromRow): here
13708 2002-01-13 Allan Rae <rae@lyx.org>
13710 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13711 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13712 There is still a way to segfault this although you may have to do this
13713 multiple times: Have an InsetERT with an unknown command in it.
13714 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13715 <down-arrow>, <Enter> again, View->DVI, BANG!
13717 * text2.C (setCursor):
13718 (deleteEmptyParagraphMechanism):
13719 * lyxtext.h (setCursor):
13720 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13721 Making use of the return value may help fix other bugs.
13723 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13725 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13727 * LyXView.C (updateMenubar): call MenuBar::update here
13728 (updateToolbar): but not here
13729 (showState): do not update toolbar/menubar
13731 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13732 should need to care about that.
13734 * lyxfunc.C (verboseDispatch): simplify a bit
13735 (getStatus): have a version which takes a pseudoaction, and
13736 another which requires a (kb_action,string).
13738 * LyXAction.C (retrieveActionArg): make it work also when action
13739 is not a pseudo-action.
13740 (getActionName): simplify a bit
13743 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13745 * lyxfunc.C (verboseDispatch): new families of methods with
13746 several ways to specify a command and a bool to indicate whether
13747 the command name and shortcut should be displayed in minibuffer
13748 (eventually, we could extend that to a finer bitmask like
13749 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13750 (dispatch): the pristine dispatch command which just, well,
13751 dispatchs! Note it still sets its result to minibuffer; I'm not
13754 * lyxfunc.h: remove setHintMessage
13756 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13758 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13760 * BufferView_pimpl.C (specialChar): delete new inset if we have
13761 not been able to insert it.
13763 * kbmap.C: revert to using int instead of kb_action, since all we
13764 are dealing with is pseudo-actions.
13766 * LyXAction.C (searchActionArg): change to return int instead of
13767 kb_action, since the result is a pseudoaction.
13769 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13771 * buffer.C (insertErtContents): Fix (partially) the font bug.
13773 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13775 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13776 as the other one is broken on my machine!
13778 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13781 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13783 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13785 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13786 reflect their actual use. Provide compatibility code for older lyxrc
13789 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13791 change names of popup font variables in line with the changes to lyxrc.C
13793 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13795 * buffer.C (asciiParagraph): avoid outputing a word twice after
13798 * lyxrc.C (getDescription): document that document_path and
13799 template_path can be empty.
13801 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13803 * LaTeXFeatures.C (getMacros):
13804 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13806 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13808 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13810 (getPackages): rename feature "floats" to "float". Use an array to
13811 iterate over 'simple' features (i.e. just a \usepackage). Add
13812 handling of "amsmath" (renamed from "amsstyle").
13814 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13816 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13819 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13821 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13822 FuncStaus::FuncStatus & FuncStaus::some_method().
13824 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13826 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13827 of the func_satus stuff. Edited and massaged in various ways by
13830 * lyxfunc.C (getStatus): use FuncStatus
13832 2002-01-08 Juergen Vigna <jug@sad.it>
13834 * text.C (nextBreakPoint): use function Inset::isChar().
13836 * paragraph.C (TeXOnePar): use function
13837 Inset::forceDefaultParagraphs.
13839 * buffer.C (latexParagraphs): use function
13840 Inset::forceDefaultParagraphs.
13842 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13844 * lyx_gui.C (init): set the style of the menu popups to
13845 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13847 2002-01-07 Juergen Vigna <jug@sad.it>
13849 * text.C (setHeightOfRow): small fix
13850 (prepareToPrint): don't look at alignment if we don't have the place
13853 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13855 * box.C: New file. Move the Box methods and functions out of box.h,
13856 following Lars' suggestion.
13858 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13860 * box.h: #include "support/LOstream.h", needed for inlined function.
13863 * lyxtextclasslist.C: added some using std declarations.
13865 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13867 * box.h: make signed dimensions to allow insets wider than
13868 the screen (bug #162)
13870 * BufferView_pimpl.C: add some insetHit debug
13872 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13874 * vc-backend.C: add FIXME
13876 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13878 * lyxfunc.C (getStatus): enable code for showing math font status
13881 2002-01-07 Juergen Vigna <jug@sad.it>
13883 * text.C (nextBreakPoint): removed debug output not needed anymore.
13885 2002-01-06 Juergen Vigna <jug@sad.it>
13887 * text.C (nextBreakPoint): fixed up this function we had this bug
13888 since ever but now hopefully we break row better.
13889 (insertChar): we have to check if an inset is the next char as it
13890 could now happen that a large inset is causing a break.
13892 2002-01-05 Juergen Vigna <jug@sad.it>
13894 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13895 if it doesn't like to be drawed.
13897 2002-01-04 Juergen Vigna <jug@sad.it>
13899 * BufferView2.C (lockInset): forgot to set a cursor.
13901 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13903 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13905 * FormMathsPanel.C:
13908 * form_maths_panel.C:
13909 * form_maths_panel.h:
13910 * form_maths_panel.fd: implemented sub- and super- buttons in math
13913 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13914 (or ^ space) to be used as in TeX (req'd by André).
13916 * lyxfunc.C: Allow ^ and _ again to be used both as
13917 super/subscript (mathed) and as themselves (in text).
13919 2002-01-03 Allan Rae <rae@lyx.org>
13921 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13922 "LyX" or the filename of the current buffer if it has one. This is a
13923 modified form of John Levon's patch.
13925 * XFormsView.C (setWindowTitle): also set icon title.
13927 * LyXView.h (setWindowTitle): signature changed.
13928 * XFormsView.h (setWindowTitle): ditto.
13930 2002-01-02 Juergen Vigna <jug@sad.it>
13932 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13934 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13936 * screen.C (topCursorVisible): introduce a temp var for
13937 text->cursor.row(), handle the case where this row is null. (kindo
13940 * text2.C (setCursor): add a couple of asserts.
13942 * paragraph.h (inset_iterator): add -> operator
13944 * paragraph.[Ch] (autoDeleteInsets): remove member function
13946 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13947 cursor pos correctly and handle inset deletion by itself.
13948 (insertErrors): move iterator declaration out of for expression
13950 * lyxtextclass.C: add <algorithm>
13952 * Makefile.am: added the new files to sources, removed layout.C
13954 * layout.C: removed file
13956 * layout.h: remove LYX_DUMMY_LAYOUT
13958 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13962 * lyxtextclass.[Ch]:
13963 * lyxtextclasslist.[Ch]: new files
13965 * include order changes to a lot of files, also changes because of
13968 2001-12-27 Juergen Vigna <jug@sad.it>
13970 * buffer.C (asciiParagraph): more fixes.
13972 * tabular.C (ascii): make ascii export support export of only the
13973 data separated by a column-delimiter.
13974 (ascii): better support for ascii export.
13976 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13978 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13980 * tabular_funcs.C: use a "using std::getline" instead of the
13981 previous fix from Angus (necessary for cxx + lyxstring)
13983 2001-12-24 Juergen Vigna <jug@sad.it>
13985 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13987 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13988 problems. First check a minipage also if we have some ert-contents
13989 (not only on par->size(), second set the right depth of the paragraph
13990 on the relink to the root-paragraph-list!
13992 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13993 which then did not anymore update the main paragraphs on undo/redo!
13995 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13997 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13998 code. Support all font-changing funcs (even those which are not in
13999 menu currently). Support for reporting font settings in
14000 mathed (disabled until Andre provides a function on mathed's side).
14002 * func_status.h (toggle): small helper function to set toggle
14005 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14007 * tabular_funcs.C: getline -> std::getline
14009 2001-12-21 Juergen Vigna <jug@sad.it>
14011 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14012 accessed and could be 0 (I couldn't generate this but it seems
14015 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14017 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14018 * tabular_funcs.h: here and include iosfwd
14020 2001-12-20 Juergen Vigna <jug@sad.it>
14022 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14023 inside inset but undo_par was.
14025 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14027 * Thesaurus.C: always include <config.h> in sources.
14031 * box.h: do not include <config.h> in header files
14033 * text.C (paintLastRow): remove unused variable
14035 * text.C (transformChar):
14037 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14039 * Painter.C (text):
14040 * font.C (width): rewrite to use uppercase() instead of
14043 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14045 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14047 * lyxfind.C: clean up of find failure position change
14049 2001-12-20 Juergen Vigna <jug@sad.it>
14051 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14053 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14054 (TeXRow): added to LaTeX a single tabular row.
14055 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14056 (Latex): simplified and finally good LT-h/f support.
14057 (various_functions): just small adaptions for LT-h/f support.
14059 * tabular_funcs.[hC]: added and moved here all not classfunctions
14062 2001-12-19 Juergen Vigna <jug@sad.it>
14064 * tabular.[Ch]: better support for longtabular options (not finished
14067 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14069 * text.C (paintLastRow): use the label font instead of the font of
14070 the last character to compute the size of *_BOX. This makes more
14071 sense and avoids a crash with empty paragraphs.
14072 Use Painter::rectangle to draw EMPTY_BOX.
14074 2001-12-19 Juergen Vigna <jug@sad.it>
14076 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14077 the paragraphs if the replaced paragraph is not the first one!
14078 Tried to delete not used paragraphs but does not work yet so for
14079 now it's inside #ifdef's and by default off!
14081 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14083 * MenuBackend.C: include "lyx_main.h" instead of declaring
14084 lastfiles (actually was declared as LastFiles* instead of a
14087 2001-12-17 Juergen Vigna <jug@sad.it>
14089 * tabular.C (AppendColumn): applied John's fix
14091 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14095 * BufferView_pimpl.h:
14096 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14099 * box.h: new start of class for above
14101 * lyxfunc.C: ignore space-only minibuffer dispatches.
14102 Show the command name when it doesn't exist
14104 * minibuffer.C: don't add empty lines to the history
14106 * minibuffer.C: add a space on dropdown completion
14108 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14110 * text.C: fix line above/below drawing in insets
14112 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14114 * lyxlength.C (LyXLength): Initialize private variables.
14116 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14118 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14119 when inserting error insets.
14121 2001-12-13 Juergen Vigna <jug@sad.it>
14123 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14124 actually sometimes the before-paragraph.
14125 (setUndo): don't clear the redostack if we're not actually undoing!
14127 2001-12-06 Juergen Vigna <jug@sad.it>
14129 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14130 and fixed redoing of main paragraph, so we can use it now ;)
14132 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14134 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14136 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14139 2001-12-13 André Pönitz <poenitz@gmx.net>
14142 * undo_func.C: minor cleanup
14144 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14146 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14147 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14148 font in urw-fonts package which is marked as -urw-fontspecific and
14149 does not work (incidentally, changing the encoding in the
14150 fonts.dir of this package to -adobe-fontspecific fixes the
14153 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14154 is a crash when undoing first paragraph (Juergen, please take a
14155 look). THis does not mean the undo fix is wrong, just that it
14158 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14159 the (Paragraph*) version when needed instead of duplicating the
14162 * text.C (workWidth): use Inset::parOwner to find out where the
14163 inset has been inserted. This is a huge performance gain for large
14164 documents with lots of insets. If Inset::parOwner is not set, fall
14165 back on the brute force method
14167 * paragraph_pimpl.C (insertInset):
14168 * paragraph.C (Paragraph):
14169 (cutIntoMinibuffer): set parOwner of insets when
14170 inserting/removing them
14172 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14174 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14180 * mathed/formulabase.C:
14181 * mathed/math_cursor.[Ch]:
14182 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14185 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14187 * lyxlength.[Ch] (operator!=): new function
14189 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14191 * text.C (workWidth): use Inset::parOwner to find out where the
14192 inset has been inserted. This is a huge performance gain for large
14193 documents with lots of insets. If Inset::parOwner is not set, fall
14194 back on the brute force method
14196 * paragraph_pimpl.C (insertInset):
14197 * paragraph.C (Paragraph):
14198 (cutIntoMinibuffer): set parOwner of insets when
14199 inserting/removing them
14201 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14203 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14205 * tabular-old.C (getTokenValue):
14206 * tabular.C (getTokenValue):
14207 (write_attribute): new versions for LyXLength
14208 (everywhere): adjust the use of widths
14210 * tabular.h: change the type of widths from string to LyXLength
14212 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14214 * paragraph.C: fixed missing line number count when exporting
14215 Environments to LaTeX file
14217 * buffer.C: added informational message for checking line numbers.
14219 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14221 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14222 paragraph, do the 'double space' part, but not the 'empty
14225 * text.C (workWidth): small optimization
14226 (getLengthMarkerHeight): use minimal size for negative lengths.
14228 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14230 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14232 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14234 2001-12-11 André Pönitz <poenitz@gmx.net>
14237 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14239 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14241 * text2.C: keep selection on a setFont()
14243 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14245 * lyx_cb.C: another bv->text misuse, from insert label
14247 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14250 * kbsequence.C: re-instate nmodifier mask
14252 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14254 * lyx_main.h: make lyxGUI private.
14256 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14258 * lyxfind.C: place the cursor correctly on failed search
14260 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14262 * text.C (getLengthMarkerHeight): for small heights, the arrows
14263 are not always on top/bottom of the text
14264 (drawLengthMarker): smaller arrows; take the left margin in
14265 account; draw also vfills.
14267 (paintLastRow): remove special code for vfill and standard spaces,
14268 since everything is handled in drawLengthMarker now.
14270 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14272 * buffer.C (insertErtContents): try to handle font and language
14273 interaction a bit better.g
14275 * ColorHandler.C (updateColor): change the hash to cover the whole
14276 LColor enum, ws cleanup
14277 (getGCLinepars): ditto
14278 (getGCLinepars): only lookup in the linecache once.
14280 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14282 * iterators.C (operator++): Make the iterator more robust
14284 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14286 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14288 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14291 * text.C: better added space drawing
14293 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14296 * BufferView2.C: fix layout combo update on inset unlock
14298 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14300 * Makefile.am: don't compile unused files
14302 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14306 * LyXAction.C: remove old LFUN_LAYOUTNO
14308 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14310 * paragraph_pimpl.h:
14311 * paragraph_pimpl.C: isTextAt() doesn't need font param
14313 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14316 * lyxlex.C: little cleanup
14318 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14320 * BufferView_pimpl.C: fix insertAscii for insets
14322 2001-12-05 Juergen Vigna <jug@sad.it>
14324 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14325 set the right font on the "multi" paragraph paste!
14327 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14333 * lyxlength.C: remove out-commented code.
14335 * BufferView_pimpl:
14349 * vc-backend.C: change "while(" to "while ("
14351 * lyxlength.[Ch]: add zero function to check if length is zero or
14353 * lyxgluelength.C: use it
14355 2001-12-05 Allan Rae <rae@lyx.org>
14357 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14358 Works for 2.95.3, from what I understand of Garst's reports this should
14359 work for other g++ versions. We're screwed if the abs(int) definition
14360 changed between bugfix releases of gcc.
14362 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14364 * text.C: fix chapter label offset !
14366 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14369 * text.C: fix hfill at end of line, clean up
14371 2001-12-04 Juergen Vigna <jug@sad.it>
14373 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14374 that we force an update of the inset and it's owners if neccessary.
14376 2001-12-03 Juergen Vigna <jug@sad.it>
14378 * text.C (rowLast): simplified code
14380 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14382 * lyxfunc.C: fix show options on timeout
14384 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14386 * screen.C (topCursorVisible): scroll half a page when the cursor
14387 reached top of bottom of screen
14389 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14391 * minibuffer.C: deactivate on loss of focus
14393 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14395 * vspace.[Ch] (operator!=): add operator.
14397 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14399 * BufferView_pimpl.C: refuse to open an inset when
14400 there's a selection.
14402 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14404 * BufferView_pimpl.C: allow to click on RHS of full row insets
14406 2001-11-30 Juergen Vigna <jug@sad.it>
14408 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14409 insets for undo reasons.
14411 2001-11-28 André Pönitz <poenitz@gmx.net>
14413 * vspace.[Ch]: cosmetical changes
14415 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14425 * kbsequence.C: part re-write of old kb code
14428 * WorkArea.C: remove Lgb_bug_find_hack
14430 2001-11-30 José Matos <jamatos@fep.up.pt>
14432 * buffer.C (makeDocBookFile): add a comment to point a hack.
14433 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14434 Fixed a double write of labels.
14436 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14439 * LaTeX.h Fixed bug in LaTeX class where it would not
14440 re-run latex if no depfiles were changed, but the .dvi was removed.
14442 2001-11-28 André Pönitz <poenitz@gmx.net>
14444 * all the files from the change on 2001/11/26:
14445 use lyx::layout_type instead of LyXTextClass::size_type
14446 use lyx::textclass_type instead of LyXTextClassList::size_type
14448 2001-11-29 Juergen Vigna <jug@sad.it>
14450 * text.C: added support for paragraph::isFreeSpacing()
14452 * buffer.C: same as above
14454 * paragraph.h: inserted isFreeSpacing() function to enable
14455 FreeSpacing inside InsetERT.
14457 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14458 of the paragraph's in the cut/copy buffer to 0!
14460 * text2.C (removeRow): remove the assert as it can!
14462 * lyxtext.h: added helper function firstRow returning firstrow and
14463 made firstrow private again.
14465 * BufferView2.C (lockInset): don't relock if we're already locked!
14467 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14468 the only paragraph.
14469 (removeRow): added Assert::(firstrow)
14471 * debug.C: forgot to add INSETTEXT here.
14473 2001-11-28 Juergen Vigna <jug@sad.it>
14475 * sp_spell.C (initialize): changed error text to more general
14476 spellchecker command use (not only ispell!)
14478 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14480 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14482 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14484 * vspace.C: initialise lyxgluelength on failure
14486 2001-11-28 Allan Rae <rae@lyx.org>
14488 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14489 declaration & definition that looks like a function declaration.
14491 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14493 * BufferView2.C (copy):
14494 (copyEnvironment): do not clear the selection when doing a copy.
14496 * text.C (paintFirstRow): compilation fix
14498 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14500 * tabular.C (Latex): correct line count when writing latex.
14502 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14504 * paragraph_pimpl.h:
14505 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14508 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14512 * LColor.C: change vfillline->added_space
14514 * text.C: add markers and text for added space
14516 * vspace.C: fix comment
14518 2001-11-28 André Pönitz <poenitz@gmx.net>
14520 * paragraph.C: whitespace changes
14521 * all the other files from the change on 2001/11/26:
14522 change *::pos_type into lyx::pos_type
14524 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14526 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14527 language of the document when inserting error insets.
14529 2001-11-26 André Pönitz <poenitz@gmx.net>
14531 * BufferView_pimpl.[Ch]:
14539 * paragraph_pimpl.[Ch]:
14542 * text2.C: reduce header dependencies, introduce type for positions
14544 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14546 * <various>: change to use Alert.h
14548 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14550 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14551 when encountering an unknown token.
14552 (readLyXformat2): Show an error message if there were unknown tokens.
14554 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14557 * BufferView_pimpl.C:
14561 * text2.C: use par->isInset()
14563 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14565 * paragraph_pimpl.h:
14566 * paragraph_pimpl.C: cleanup
14568 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14570 * text2.C (removeRow):
14571 * text.C (setHeightOfRow): remove useless (and costly) call to
14574 2001-11-20 Allan Rae <rae@lyx.org>
14576 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14577 Now need Inset*::checkInsertChar() to return true for appropriate
14578 cases so that the characters in the minibuffer will actually be
14581 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14583 * text.C: change the order of the includes.
14584 (workWidth): initialize it at once.
14585 (workWidth): make maxw unsigned
14586 (setHeightOfRow): remove unused variable (inset)
14587 (selectSelectedWord): remove unused variable (inset)
14588 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14590 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14592 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14593 server is not running.
14595 (closeConnection): add debug info when server is disabled.
14597 * ColorHandler.C (getGCForeground): send debug message to GUI
14600 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14602 * kbmap.C (bind): modify because return conventions of
14603 kb_sequence::parse have changed.
14605 * kbsequence.C (parse): only ignore spaces and not any stupid
14606 control character. This avoids tests like s[i] <= ' ', which are
14607 guaranteed to fail with 8bit characters and signed chars.
14608 Change return code to string::npos when there have been no error
14609 (0 was a bad idea when error is at first character)
14611 2001-11-14 José Matos <jamatos@fep.up.pt>
14614 * buffer.C (simpleDocBookOnePar): removed unused argument.
14616 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14618 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14619 insets which are part of a word. Paragraph::isLetter takes care of
14620 that now. Use Paragraph::isInset to identify insets.
14621 (selectSelectedWord): do not test for hyphenation break.
14623 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14624 that protected spaces are considered as spaces.
14626 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14629 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14632 * lyxserver.C: fix it. and small cleanup.
14634 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14636 * BufferView_pimpl.C: use inline helpers
14639 * LaTeXFeatures.C: fix typos
14642 * Spacing.C: move spacing_string into class
14644 * ToolbarDefaults.C: move stuff into namespace anon
14646 * layout.h: update enum
14648 * lyxfunc.C: use better debug
14650 * minibuffer.h: fix typo
14654 * WorkArea.C: add and use Debug::WORKAREA
14658 * text2.C: code re-organisation, inline helpers
14660 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14662 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14663 std::vector.empty().
14665 2001-11-09 Allan Rae <rae@lyx.org>
14667 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14668 '\n's after tables. Tabular and ERT inset work now makes this no
14671 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14674 * minibuffer.C: fix crash, improve drop-down completion
14676 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14679 * lyxserver.C: invalidate fd's when doing endPipe()
14681 2001-11-08 José Matos <jamatos@fep.up.pt>
14683 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14684 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14687 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14689 2001-11-07 José Matos <jamatos@fep.up.pt>
14692 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14695 * buffer.C (sgmlOpenTag):
14696 * buffer.C (sgmlCloseTag): removed debug info.
14698 * buffer.h (sgmlOpenTag):
14699 * buffer.h (sgmlCloseTag): made public.
14701 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14703 * buffer.C (saveParamsAsDefaults):
14704 * lyx_cb.C (MenuLayoutSave): remove
14706 * LyXAction.C (init):
14708 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14710 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14712 * buffer.C (setPaperStuff): removed from here...
14714 * bufferparams.C (setPaperStuff): ... and moved there.
14716 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14720 * XFormsView.C: add support for drop-down completion
14722 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14724 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14727 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14729 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14732 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14734 * lyx_main.C: change ref to known bugs
14736 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14738 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14739 to work around older babel problems.
14741 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14743 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14745 2001-10-24 Juergen Vigna <jug@sad.it>
14747 * tabular-old.C (ReadOld): below variable changes reflected.
14749 * tabular.[Ch]: added ltType struct for longtable header/footer
14750 defines and changed all instances where they are used. Added
14751 future support for double top/bottom rows.
14753 2001-10-24 José Matos <jamatos@fep.up.pt>
14755 * buffer.h (docbookHandleCaption):
14756 * buffer.C (docbookHandleCaption): removed unused function.
14757 (makeDocBookFile): moved docbook supported version to v4.1.
14759 2001-10-24 José Matos <jamatos@fep.up.pt>
14762 * tabular.C (docbookRow): new function to export docbook code of a row.
14763 (DocBook): now honors the longtable flags.
14765 2001-10-23 José Matos <jamatos@fep.up.pt>
14768 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14769 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14771 * buffer.C (makeLinuxDocFile):
14772 (makeDocBookFile): reworked the preamble, more clean, and with
14773 support for lyx defined entities. Changed the document declaration
14774 to be more XML friendly.
14776 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14777 if we need to output XML that should be done with a filter.
14779 2001-10-22 Juergen Vigna <jug@sad.it>
14781 * sp_pspell.h (class PSpell): add alive function needed in the
14782 controller to see if the spellchecker could be started.
14784 2001-10-22 Juergen Vigna <jug@sad.it>
14786 * buffer.C (insertStringAsLines): modify the font for inserting
14787 chars in certain conditions by calling checkInsertChar(font).
14789 2001-10-19 Juergen Vigna <jug@sad.it>
14791 * text.C (workWidth): use getRow instead of wrong algorithm.
14792 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14794 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14799 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14801 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14803 * text.C (workWidth): do not search for the exact row when
14804 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14805 optimization for big documents.
14807 2001-10-18 Juergen Vigna <jug@sad.it>
14809 * text.C (workWidth): new function with added Inset * parameter.
14811 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14813 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14815 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14816 change return type of getColumnNearX.
14819 * text.C (changeRegionCase): use uppercase/lowercase instead of
14822 (rightMargin): simplify code by factoring out the uses of
14827 (appendParagraph): use Paragraph::size_type
14829 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14831 * vspace.C (asLatexString): add a missing break
14833 2001-10-15 Herbert Voss <voss@perce.de>
14835 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14837 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14839 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14842 2001-10-10 André Pönitz <poenitz@gmx.net>
14844 * lyxfunc.C: removed greek_kb_flag.
14846 2001-10-10 Herbert Voss <voss@perce.de>
14848 * lyx_main.C: delete global string help_lyxdir.
14850 2001-10-09 Herbert Voss <voss@perce.de>
14852 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14854 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14856 * lyx_main.C: added global string help_lyxdir.
14858 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14860 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14862 * lyxrc.C (set_font_norm_type): support iso8859-4
14864 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14866 * LaTeX.C (deplog): add another regex for MikTeX
14868 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14870 * lyxrc.C (set_font_norm_type): support iso8859-3
14872 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14874 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14876 * LaTeXFeatures.C: remove special case of french and index
14878 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14879 before \begin{document}). This solves several incompatibilities.
14881 2001-10-03 Garst Reese <reese@isn.net>
14883 * lyx_cb.C: change CheckTex error msg.
14885 2001-10-03 José Matos <jamatos@fep.up.pt>
14887 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14889 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14891 * .cvsignore: update
14893 * lyx_main.C (commandLineVersionInfo): use new style version info.
14895 * buffer.C (writeFile):
14897 (makeLinuxDocFile):
14898 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14900 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14902 * version.h: update to use stuff in version.C
14904 * version.C.in: new file. Contains version information determined
14905 at compile time. This is a merging of version.h and
14908 2001-10-03 Juergen Vigna <jug@sad.it>
14910 * BufferView_pimpl.C (update): don't change "dirty" status in
14913 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14915 * WorkArea.C (c-tor): re-position version string slightly.
14917 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14919 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14920 revert to previous code.
14922 WorkArea.[Ch]: (show, destroySplash): methods removed.
14924 WorkArea.C: rework code so that it's an amalgam of the codes before and
14925 after the splash screen was moved to WorkArea.
14927 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14930 * vspace.C (inPixels):
14933 * buffer.C (insertStringAsLines):
14934 (asciiParagraph): fix types to be large enough
14936 * lyxlex_pimpl.h: change member status from short to int
14938 * layout.h: fix type of endlabeltype
14941 * kbsequence.C (parse): change return type to string::size_type
14943 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14946 * Bullet.C (bulletSize):
14947 (bulletEntry): do not use short ints as parameters
14949 * BufferView2.C (insertLyXFile): change a char to an int.
14951 * WorkArea.C (WorkArea): remove unneeded floats in computation
14953 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14955 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14957 * paragraph.C (asString): Do not ignore newline/hfill chars when
14958 copying to the clipboard.
14960 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14962 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14963 after a multi-line inset.
14965 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14967 * paragraph.C (validate): Set NeedLyXFootnoteCode
14969 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14971 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14972 and decrease-error to decrease.
14974 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14976 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14977 it more readable (should be equivalent)
14979 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14981 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14983 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14985 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14986 of a cursor (row, etc.) after a character has been deleted
14987 (deleteEmptyParagraphMechanism): call the method above on _all_
14988 cursors held by the LyXText when a double space has been
14991 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14993 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14995 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14997 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14998 background. Use greyOut() and the new show() methods to toggle between
14999 the foreground and background. Add code to remove the splash after
15000 its initial showing.
15002 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15003 (create_forms): no longer call Dialogs::showSplash.
15005 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15007 * .cvsignore: add version_info.h
15009 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15011 * version_info.h.in: new file
15013 * Makefile.am: add version_info.h.in
15015 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15016 version_info.h instead of VERSION_INFO
15018 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15020 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15021 The ERT inset now returns string().
15023 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15025 * lyxtext.h, text.C (selectNextWord): renamed as
15026 selectNextWordToSpellcheck.
15028 * text.C (selectNextWordToSpellcheck): Modified to not select
15029 words inside an ERT inset.
15031 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15033 * lyx_cb.C (MenuLayoutSave): change a bit the question
15035 * sp_base.h: include <sys/types.h>
15037 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15039 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15041 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15043 * several files: fix typos in user-visible strings
15045 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15047 * text2.C (pasteSelection): do not set the selection, since it
15048 will be cleared later. Actually, the intent was to fix the way the
15049 selection was set, but I figured rmoving the code was just as good.
15051 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15053 * FontLoader.C (available): Check if font is available without
15056 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15058 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15060 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15062 * lyxrc.[Ch]: added display_graphics variable and associated code.
15064 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15066 * bufferparams.C (hasClassDefaults): new method. Returns true if
15067 the buffer parameters correspond to known class defaults
15069 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15071 * XFormsView.C (show): set minimum size to the main window.
15073 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15075 * text2.C (copySelection):
15077 * lyxfind.C (LyXReplace):
15078 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15079 LyXText::selectionAsString.
15081 * paragraph.C (asString): add "label" argument to the second form
15083 * text2.C (selectionAsString): add "label" argument and pass it to
15084 Paragraph::asString.
15086 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15088 * lyx_main.C (commandLineHelp): remove version information
15090 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15092 * lyx_main.C: add -version commandline option
15094 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15096 * paragraph.h: make the optional constructor arg required instead.
15097 some modifications to other files because of this.
15099 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15101 * lyxserver.C (C_LyXComm_callback): make it static
15103 * lyx_main.C (error_handler): make it static
15105 * lyx_gui.C (LyX_XErrHandler): make it static
15107 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15109 * WorkArea.C: make the extern "C" methods static.
15111 * Makefile.am (lyx_LDADD): simplify
15113 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15115 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15116 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15118 * LyXAction.C (init):
15119 * lyxfunc.C (dispatch): associated code removal.
15121 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15123 * lyxfont.h (isSymbolFont): shut off warning
15125 * text.C (setHeightOfRow):
15126 (getVisibleRow): fix crash with empty paragraphs which have a
15129 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15131 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15134 2001-09-04 José Matos <jamatos@fep.up.pt>
15137 * tabular.C (docbook): rename docBook method to docbook.
15139 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15141 * Makefile.am: add dependencies to main.o.
15143 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15145 * FontLoader.C (available): Return false if !lyxrc.use_gui
15147 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15149 * FontInfo.C (query):
15150 * converter.C (view):
15151 * importer.C (Import):
15152 * exporter.C (Export): Can not -> cannot.
15154 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15156 * BufferView_pimpl.C: allow to create index inset even if
15159 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15161 * buffer.C (getLists): replace boost::tie code with an explicit pair
15162 as boost::tie can break some compilers.
15164 * iterators.h: Added a std:: declaration to the return type of
15167 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15169 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15172 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15174 * iterators.[Ch]: New files. Provide paragraph iterators.
15176 * buffer.C (changeLanguage): Use paragraph iterators.
15177 (isMultiLingual): ditto
15179 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15181 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15183 * FontLoader.C: Support for cmr font.
15185 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15187 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15188 (available): New method.
15190 * FontInfo.C (getFontname): Use scalable fonts even when
15191 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15194 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15196 * converter.C (Formats::view): reverted! Incorrect fix.
15198 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15200 * converter.C (Formats::view): only output the -paper option
15201 if the dvi viewer is xdvi, thereby fixing bug #233429.
15203 2001-08-23 Herbert Voss <voss@perce>
15205 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15207 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15209 * Spacing.h (Spacing): Set space to Default on in the default
15212 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15214 * vc-backend.h (RCS::versionString): add RCS to version
15215 (CVS::versionString): add CVS to version
15217 * vc-backend.C (scanMaster): do not add CVS to version.
15218 (scanMaster): do not add RCS to version
15220 * lyxvc.C (versionString): new method
15222 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15224 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15226 * Spacing.C (set): initialize fval
15228 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15230 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15233 2001-08-16 Juergen Vigna <jug@sad.it>
15235 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15237 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15239 * BufferView_pimpl.C:
15242 * text2.C: setParagraph takes linespacing now
15244 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15246 * LyxAction.C: add internal LFUN_CITATION_INSERT
15248 * LyXView.C: actually apply fix
15250 * bufferlist.C: fix open non-existent file
15252 * lyxfind.C: fix indentation
15254 * lyxfunc.C: remove unneeded assert, fix typo
15256 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15258 * MenuBackend.C: use "Floatname List"
15260 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15262 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15263 when converting LaTeX layout to insetERT.
15264 Generate a non-collapsed float when reading old float
15266 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15268 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15271 2001-08-13 Juergen Vigna <jug@sad.it>
15273 * text.C (fill): return 0 instead of 20 as this seems to be the more
15276 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15278 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15281 2001-08-13 Juergen Vigna <jug@sad.it>
15283 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15285 (SearchBackward): comment out the unlocking of the inset_owner this
15286 should not be needed!
15288 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15290 * Many files: Remove inherit_language, and add latex_language
15292 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15293 collapsible insets.
15295 2001-08-10 Juergen Vigna <jug@sad.it>
15297 * text.C (prepareToPrint): fixed hfill-width in draw!
15299 * BufferView2.C (selectLastWord): save the selection cursor as this
15300 now is cleared in the function LyXText::clearSelection!
15302 2001-08-08 Juergen Vigna <jug@sad.it>
15304 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15305 BACKSPACE type functions.
15307 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15308 is only cutted from the document but not put in the cut-buffer, where
15309 still the old stuff should be.
15311 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15313 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15315 * tabular.C (SetWidthOfCell): fixed special case where the width
15317 (LeftLine): handle '|' in align_special.
15319 (LeftAlreadyDrawed): ditto
15320 (SetWidthOfCell): ditto
15322 2001-08-07 Juergen Vigna <jug@sad.it>
15324 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15326 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15328 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15329 * lyxlex.[hC]: ditto
15331 2001-08-06 Juergen Vigna <jug@sad.it>
15333 * text.C (getVisibleRow): fix up row clearing a bit.
15335 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15337 * minibuffer.C: make sure the X server sees the changes in the input.
15339 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15341 * paragraph.C (getFont): split into...
15342 (getLabelFont): this
15343 (getLayoutFont): and this
15344 * paragraph_pimpl.C (realizeFont): calling this
15346 * text2.C (getFont): split into...
15347 (getLayoutFont): this
15348 (getLabelFont): and this
15349 (realizeFont): all three calling this
15351 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15354 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15356 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15358 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15360 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15361 layouts from the Quote inset insertion.
15363 2001-08-03 Juergen Vigna <jug@sad.it>
15365 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15367 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15368 only if status not is already CHANGED_IN_DRAW (second level).
15370 * text.C (draw): don't set the need_break_row when inside an
15373 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15375 * buffer.C (parseSingleLyXformat2Token): handle more latex
15378 * bufferview_funcs.[hC]: change function names to
15379 begin with small char, adjust other files.
15381 2001-08-02 André Pönitz <poenitz@gmx.net>
15384 BufferView_pimpl.C: remove broken special code for math-greek
15386 2001-08-02 Juergen Vigna <jug@sad.it>
15388 * BufferView_pimpl.C (update): redone this function so that we
15389 update the text again if there was a CHANGE_IN_DRAW.
15391 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15392 (drawFromTo): added a new internal bool which is used by draw() and
15394 (general): some cursor drawing problems fixed.
15396 2001-08-01 Juergen Vigna <jug@sad.it>
15398 * lyxfind.C (LyXFind): fixed
15399 (SearchForward): ditto
15400 (SearchBackward): ditto
15402 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15403 spurius drawing of the cursor in the main area.
15405 * text2.C (status): small fix which could lead to a segfault!
15406 (clearSelection): remove unneeded BufferView param.
15408 2001-08-01 André Pönitz <poenitz@gmx.net>
15410 * lyxfunc.C: small change due to changed mathed interface
15412 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15414 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15416 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15418 * lyxfunc.c: fail gracefully if file doesn't exist
15423 * BufferView_pimpl.C: IsDirWriteable() proto changed
15425 * LyXView.C: fix updateWindowTitle() to store the last title
15427 2001-07-31 Juergen Vigna <jug@sad.it>
15429 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15430 the font (wrong since using of Paragraph::highestFontInRange).
15432 * paragraph.C (highestFontInRange): added a default_size parameter.
15434 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15435 (setHeightOfRow): reformat
15437 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15439 * converter.[hC] + affected files: move to (inital-char)lowercase
15442 * ParagraphParameters.C (ParagraphParameters): remove commented code
15444 * PainterBase.[Ch]: remove commented code
15446 * LaTeXFeatures.h: add "bool floats" for float.sty
15448 * LaTeXFeatures.C (LaTeXFeatures): init floats
15449 (require): handle float
15450 (getPackages): do it with floats
15452 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15454 * BufferView_pimpl.C (Dispatch): improve handling of
15455 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15457 * commandtags.h: #include lyxfont.h here temporarily to avoid
15460 * bufferlist.h: include LString.h here.
15462 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15464 * text2.C (getStringToIndex): new method.
15466 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15468 * *: Reduced header file dependencies all over.
15470 2001-07-30 Baruch Even <baruch@lyx.org>
15472 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15474 2001-07-29 Baruch Even <baruch@lyx.org>
15476 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15478 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15480 * ParameterStruct.h (endif): add a default constructor to make
15481 sure that all variables is initialized.
15483 * ParagraphParameters.C (ParagraphParameters): adjust
15485 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15487 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15488 index; also, check that there is something to index, and that it
15489 does not span over several paragraphs.
15490 (doubleClick): use WHOLE_WORD_STRICT for double click.
15492 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15494 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15497 2001-07-26 Baruch Even <baruch@lyx.org>
15499 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15500 an InsetFig figure, backwards compatible reading of old figure code.
15502 2001-07-27 Juergen Vigna <jug@sad.it>
15504 * text2.C: font.realize function adaption.
15506 * text.C (draw): add a warnings lyxerr text if needed.
15508 * layout.C: font.realize function adaption.
15510 * language.C: add inherit_language and implement it's handlings
15512 * bufferview_funcs.C (StyleReset): remove language parameter from
15513 font creation (should be language_inherit now).
15515 * bufferparams.C (writeFile): handle ignore_language.
15517 * paragraph.C (getFontSettings): the language has to be resolved
15518 otherwise we have problems in LyXFont!
15520 * lyxfont.C (lyxWriteChanges): added document_language parameter
15521 (update): removed unneeded language parameter
15523 * paragraph.C (validate): fixed wrong output of color-package when
15524 using interface colors for certain fonts in certain environments,
15525 which should not seen as that on the final output.
15527 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15529 * BufferView_pimpl.C:
15534 * LyXAction.C: add thesaurus support
15537 * lyxfind.C: add "once" parameter, for thesaurus, to not
15538 move to the next match
15540 2001-07-26 Juergen Vigna <jug@sad.it>
15542 * lyxfont.C (realize): honor ignore_language too!
15545 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15547 * text.C (draw): one place more for ignore_language to not draw
15550 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15552 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15554 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15556 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15557 the minipage conversion problem.
15559 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15561 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15564 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15566 * BufferView.h: don't forward declare WorkArea
15568 * BufferView.C: don't include WorkArea.h
15570 2001-07-25 André Pönitz <poenitz@gmx.net>
15574 * lyxfunc.C: new LFUN 'math-space'
15576 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15578 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15580 * text2.C (toggleInset): call open/close
15582 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15584 * lyxfunc.C (dispatch): add debug for the disabled case
15586 * font.C (buttonText): make similar to rectText
15588 * buffer.C (readInset): comment out parsing of insetlist and
15591 * PainterBase.C (rectText): small correction
15593 * BufferView_pimpl.C: comment out insettheorem and insetlist
15594 * LyXAction.C: ditto
15595 * commandtags.h: ditto
15597 2001-07-24 Juergen Vigna <jug@sad.it>
15599 * text.C (draw): honor the ignore_language.
15601 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15603 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15605 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15608 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15610 * lyxtext.h: remove unused (and unimplemented) methods
15612 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15614 * text.C (getVisibleRow): honor background color
15617 * Painter.h: remove default color argument for fillRectangle
15619 * text.C (backgroundColor): new method
15621 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15623 * text.C (getVisibleRow): adjust
15625 * font.[Ch] (rectText): new method, metrics
15626 (buttonText): new method, metrics
15628 * PainterBase.[hC]: make rectText and buttonText always draw and take
15631 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15633 * ToolbarDefaults.C (read):
15634 * MenuBackend.C (read): allow escaping in all strings
15636 * BufferView_pimpl.C (insertAndEditInset): new method.
15637 (Dispatch): use insertAndEditInset whenever appropriate.
15639 * BufferView_pimpl.C (insertNote): removed
15641 * BufferView_pimpl.C (smartQuote): new method, moved from
15642 BufferView; if an insetquote cannot be inserted, insert a '"'
15645 * BufferView2.C: remove insertCorrectQuote();
15647 * lyxfunc.C (getStatus): Add support for all remaingin
15648 inset-insert lfuns.
15650 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15652 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15653 command (necessary to pass " as parameter of self-insert.
15655 * text.C (selectWordWhenUnderCursor):
15656 (selectWord): add word_location parameter
15657 (selectWordWhenUnderCursor): same + remove special code for word
15659 (selectNextWord): use kind() to guess type of insetspecialchar,
15662 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15663 (insertErtContents): create ert insets as collapsed.
15664 (readInset): better compatibility code for Info inset.
15666 2001-07-20 Juergen Vigna <jug@sad.it>
15668 * lyxfunc.C (dispatch): use always LyXFind now!
15670 * text2.C (init): add a reinit flag so that the LyXText can be
15671 reinited instead of deleted and reallocated (used in InsetText).
15673 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15679 2001-07-18 Juergen Vigna <jug@sad.it>
15681 * text.C (selectNextWord): handle insets inside inset by calling
15682 always the bv->text functions so that we can go up the_locking_inset!
15684 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15685 in strange locations when inside an inset!
15687 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15688 handling to include insets.
15690 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15692 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15694 * LyXAction.C (init):
15696 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15697 LIGATURE_BREAK, since the name is so stupid.
15699 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15701 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15704 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15706 * sp_form.[Ch]: remove.
15708 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15710 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15713 * src/buffer.C (readInset): ditto.
15715 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15717 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15718 menuSeparator(), endOfSentenceDot(), ldots() and
15719 hyphenationPoint(), which are therefore removed.
15720 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15722 * LyXAction.C (init):
15723 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15725 * paragraph.C (getWord): removed.
15727 * BufferView_pimpl.C (Dispatch): use last word or selection for
15728 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15730 * lyx_main.C (queryUserLyXDir): do not ask before creating
15731 user_dir, except if it has been named explicitely.
15733 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15735 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15736 a document of zero size.
15738 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15740 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15741 approriately in the c-tor and in require().
15742 (getPackages): output the appropriate LaTeX for natbib support.
15744 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15745 variables "use_natbib" and "use_numerical_citations" when reading the
15747 (readInset): read the various natbib cite commands.
15748 (validate): white-space change.
15750 * bufferparams.[Ch]: new variables "bool use_natbib" and
15751 "bool use_numerical_citations".
15752 (writeFile): output them in the LyX file.
15754 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15756 * lyxfunc.C (getStatus): add support for all the inset insertion
15759 * text2.C (insertInset):
15760 * paragraph.C (insetAllowed):
15761 * BufferView_pimpl.C (insertInset): update to take in account the
15762 renaming of insertInsetAllowed
15764 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15766 * text2.C (getInset): new method. returns inset at cursor position.
15768 * BufferView_pimpl.C (Dispatch): changes because of this.
15770 * LyXAction.C (init): rename open-stuff to inset-toggle.
15772 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15774 * text2.C (toggleInset): renamed from openStuff; use
15777 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15779 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15781 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15783 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15785 * buffer.C (readLyXformat2): Add filename to the error dialog
15787 2001-07-18 Juergen Vigna <jug@sad.it>
15789 * tabular.C (GetCellNumber): put an assert here instead of the check!
15791 2001-07-17 Juergen Vigna <jug@sad.it>
15793 * BufferView_pimpl.C (toggleSelection): adapted too.
15795 * text.C (selectNextWord): adapted for use with insets.
15796 (selectSelectedWord): ditto
15798 2001-07-17 Juergen Vigna <jug@sad.it>
15800 * sp_spell.C (PSpell): fix initialitation order.
15802 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15804 * paragraph.C: spacing
15806 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15808 * sp_spell.C: repair language selection for pspell
15810 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15812 * lyxfunc.h: change more methods to begin with lower char.
15814 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15816 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15817 for unknown layouts.
15819 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15821 * buffer.C (readLyXformat2): Generate an error dialog if there are
15824 2001-07-16 Juergen Vigna <jug@sad.it>
15826 * sp_spell.C: always compile ISpell part.
15828 * lyxrc.C: added use_pspell entry and it's handling.
15830 2001-07-13 Juergen Vigna <jug@sad.it>
15832 * sp_spell.C: removed double includes.
15834 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15836 Consistent use of Lsstream.h:
15837 * Lsstream.h: added using std::stringstream for consistencies sake.
15839 * buffer.C: removed using std::stringstream
15841 * lyxfont.C (stateText):
15842 * paragraph.C (asString):
15843 * text.C (selectNextWord, selectSelectedWord):
15844 * text2.C (setCounter):
15845 * vspace.C (asString, asLatexString):
15846 std::ostringstream -> ostringstream.
15848 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15850 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15851 * commandtags.h: add LFUN_HELP_ABOUTLYX
15852 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15854 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15856 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15858 * lyx_gui_misc.C: remove spellchecker
15859 * lyxfunc.C: showSpellchecker
15861 * sp_ispell.h: added
15862 * sp_pspell.h: added
15863 * sp_spell.C: added
15864 * sp_form.[Ch]: removed
15865 * spellchecker.[Ch]: removed
15867 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15869 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15871 (simpleTeXSpecialChars): Simply print the input character without
15872 any special translation if pass_thru is set.
15874 * layout.h: Added bool pass_thru to layout class for being able to
15875 implement pass through of a paragraph for Literate Programming.
15877 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15878 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15879 * layout.C (Read): add "passthru" to list of layout tags and add
15880 code to set the pass_thru boolean when it is read.
15882 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15884 * trans_decl.h: remove allowed from KmodInfo
15886 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15887 remove allowed code
15890 * paragraph_pimpl.C (erase): use boost::prior
15892 * Painter.C (text): use data() instead of c_str() when length is
15894 * WorkArea.C (putClipboard): ditto
15895 * font.h (width): ditto
15897 * BufferView2.C: use it-> instead of (*it). for iterators
15899 * paragraph_pimpl.C: ditto
15900 * paragraph.C: ditto
15901 * minibuffer.C: ditto
15902 * language.C: ditto
15904 * encoding.C: ditto
15905 * counters.C: ditto
15906 * converter.C: ditto
15908 * Variables.C: ditto
15909 * TextCache.C: ditto
15910 * MenuBackend.C: ditto
15911 * LyXAction.C: ditto
15913 * FloatList.C: ditto
15914 * DepTable.C: ditto
15915 * ColorHandler.C (LyXColorHandler): ditto
15917 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15919 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15921 * text2.C (openStuff): reintroduce this method (which had been
15922 nuked in NEW_INSETS frenzy).
15924 * lyxfunc.C (Dispatch): when an action has not been handled, use
15925 its name in the error message, not its number.
15927 * paragraph.C (inInset): change method name to begin with lowercase.
15930 * text2.C: updates because of this.
15932 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15934 * ToolbarDefaults.C (add): add spaces in error message
15936 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15938 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15939 (readLyXformat2): rename return_par to first_par, use lyxlex's
15940 pushToken and remove the manual push handling.
15941 (parseSingleLyXformat2Token): add another ert comp. variable:
15942 in_tabular, rename return_par to first_par. handle newlines better
15944 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15946 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15948 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15950 * text2.C (getParFromID): removed
15952 * buffer.C (getParFromID): new method moved form lyxtext.
15953 * BufferView2.C (insertErrors): adjust
15954 (setCursorFromRow): adjust
15955 * BufferView_pimpl.C (restorePosition): adjust
15956 * lyxfunc.C (Dispatch): adjust
15957 * undo_funcs.C (textUndo): adjust
15959 (textHandleUndo): adjust
15960 (textHandleUndo): adjust
15962 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15964 * buffer.C: up' the LYX_FORMAT
15966 * lyxfont.h: turn NO_LATEX on as default
15968 * buffer.C (insertErtContents): new methods of tex style compability.
15969 (parseSingleLyXformat2Token): use it several places.
15970 * tabular.C (OldFormatRead): and here
15972 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15974 * text2.C: remove some commented code.
15977 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15978 * trans.C: changes because of the above.
15980 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15982 * text2.C (setCounter): Fix counters bug with bibliography layout.
15984 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15986 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15987 own member functions
15988 (simpleTeXSpecialChars): ditto
15990 2001-07-06 Juergen Vigna <jug@sad.it>
15992 * a lot of files: changed the access to LyXText::status and the
15993 call of undo-functions.
15995 * undo.[Ch]: added a inset_id to the undo informations.
15997 * undo_funcs.[Ch]: added and moved here all undo functions.
15999 * lyxtext.h: give the status enum a weight, made status_ a private
16000 variable and made accessor functions for it, removed the whole bunch
16001 of undo-functions as they are now in their own file, make some
16002 functions publically available. Added function ownerParagraph with
16005 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16006 made InInset() a const function, added getParFromID() function.
16008 * buffer.[Ch]: added const version for inset_iterator functions,
16009 added getInsetFromID() function.
16011 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16012 changed undo functions for new version.
16014 2001-07-05 Juergen Vigna <jug@sad.it>
16016 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16017 unknow mechanism does not call the proper constructor but only this
16018 one also if I request the other!?
16020 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16022 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16024 * text2.C (LyXText): use initialization lists.
16026 * lyxtext.h (Selection): initialize set_ and mark_
16027 (init): remove method
16029 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16031 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16033 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16035 * screen.[Ch]: change method names to begin with lowercase
16037 * BufferView_pimpl.C (updateScrollbar): simplify further and
16038 hopefully make it a bit faster.
16040 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16042 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16043 calling directly xforms functions.
16045 * Painter.C (Painter):
16046 * lyx_cb.C (MenuWrite):
16047 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16050 * lyx_gui.C: remove bogus guiruntime extern declaration.
16052 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16054 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16056 (redoDrawingOfParagraph): ditto
16057 (redoParagraphs): ditto
16058 (cutSelection): don't create a object for CutAndPaste use the
16059 static method directly
16060 (pasteSelection): ditto
16062 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16065 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16067 * modifications to some other files because of this.
16069 * Makefile.am (lyx_SOURCES): add XFormsView
16071 * XFormsView.[Ch]: new files
16073 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16074 the main window. Move the gui dependent stuff to XFormsView
16076 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16078 * tabular.C (GetCellInset): update cur_cell also in the row/col
16079 version of this function.
16081 * lyxfunc.C: no need to include figure_form.h here.
16087 * lyxvc.C: no need to include forms.h here.
16089 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16091 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16093 * lyxfunc.C (Dispatch):
16095 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16096 constructor argument.
16098 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16100 * paragraph.C (Paragraph): dont't clear, and just set layout.
16101 (makeSameLayout): use params's copy contructor.
16103 * ParagraphParameters.[Ch] (makeSame): delete method
16105 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16107 * Variables.[Ch]: fix indentation, rename set to isSet
16109 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16111 * lyxfunc.C (Dispatch): fix typo
16113 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16115 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16118 * bufferlist.C: include assert.h for emergencyWrite().
16120 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16122 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16123 give up at last (bug #425202) !
16125 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16131 * spellchecker.C: strip spellchecker options and bring up
16132 preferences tab instead
16134 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16136 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16137 the istringstream constructor
16139 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16141 * paragraph.C (getLayout): fix return value
16143 * paragraph.h: do not declare getLayout as inline.
16145 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16147 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16149 * lyxcursor.h (operator<): new func
16150 (operator>): new func
16151 (operator>=): new func
16152 (operator<=): new func
16154 * text.C (changeCase): use selection.start and selection.end
16155 (changeRegionCase): require from to be <= to. Require par to be a
16158 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16160 2001-06-27 Juergen Vigna <jug@sad.it>
16162 * text.C (cursorLeftOneWord): changed to return the cursor and added
16163 overlay with BufferView * parameter which calls this one.
16165 (selectWord): use new getWord function.
16166 (changeCase): renamed from changeWordCase as and extended to work
16167 also on selections.
16169 * lyxtext.h: added enum word_location
16171 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16172 changeCase as this operates now also on selections.
16174 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16176 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16178 * many files: send debug output to Debug::INFO instead of
16181 * converter.C (View):
16183 (Move): send debug output to Debug::FILES instead of console.
16185 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16187 * lyxfunc.C (getStatus): use func_status
16189 * func_status.h: new header, describing the results of
16190 LyXFunc::getStatus;
16192 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16195 2001-06-25 The LyX Project <jug@sad.it>
16197 * buffer.C (sgmlOpenTag):
16199 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16201 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16203 * text2.C: remove some dead code
16205 * tabular.C (GetCellInset): store the last cell checked (gotten)
16207 * tabular.h: add the helper for the speedup
16209 * lyxtext.h: remove some dead code
16211 2001-06-26 The LyX Project <Asger>
16213 * paragraph.C: Change export to LaTeX of alignment to
16214 \begin{center} and family for better roundtrip work with reLyX.
16216 * Tune the math drawing a bit.
16218 2001-06-25 The LyX Project <Asger>
16220 * LColor.C (LColor): New color for math background. New color
16223 2001-06-25 The LyX Project <jug@sad.it>
16225 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16227 * lyxfunc.C (Open):
16228 * bufferlist.C (newFile): do not restrict to files ending with
16231 * BufferView_pimpl.C (MenuInsertLyXFile):
16233 2001-06-24 The LyX Project <jug@sad.it>
16235 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16238 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16240 * lyxtext.h: rename most methods to begin with a small char.
16241 Lots of changes because of this.
16243 * paragraph.C (Paragraph): do not call fitToSize
16244 (erase): call Pimpl::erase
16245 (insertChar): call Pimpl::insertChar
16246 (insertInset): call Pipl::insertInset
16247 (breakParagraph): do not call fitToSize
16248 (breakParagraphConservative): do not call fitToSize
16249 (fitToSize): remove method
16251 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16253 2001-06-24 The LyX Project <Asger>
16255 * Fix Qt compilation^2
16257 2001-06-24 The LyX Project <jug@sad.it>
16259 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16260 depthHook(getDepth()-1).
16263 * ParagraphParameters.h:
16264 * ParameterStruct.h: change type of depth to unsigned int ==
16265 depth_type. Many adaptations to other files before of that.
16267 2001-06-24 The LyX Project <Asger>
16269 * Fix Qt compilation.
16271 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16273 * paragraph.h: renamed several methods to begin with small letter.
16274 several changes to many parts of the code because of this.
16276 2001-06-23 The LyX Project <jug@sad.it>
16278 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16279 rewritten to discard all double spaces when KeepEmpty is off
16280 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16281 to only handle newlines but not fiddle with spaces and friends.
16283 * lyxfunc.C (MenuNew): when doing 'new from template', use
16284 template_path as default directory
16286 2001-06-23 The LyX Project <Asger>
16288 * Clean-up of header file includes all over
16289 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16291 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16293 * paragraph.h: renamed from lyxparagraph.h
16295 2001-06-23 Asger <lyx@violet.home.sad.it>
16297 * Buffer.h: Removed Buffer::resize
16298 * BufferList.h: Removed BufferList::resize
16299 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16300 the document lazily when we change the width, or the font settings.
16302 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16304 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16306 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16308 * buffer.h: remove out of date comment
16310 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16313 * screen.C: fix "theoretical" GC leak
16315 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16317 * LaTeX.C (scanAuxFile):
16318 (deplog): remove trailing \r when reading stream (useful under
16321 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16323 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16324 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16325 and BufferView::theLockingInset(Inset*), so should use them and not
16326 access bv_->text->the_locking_inset directly.
16328 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16330 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16333 * tex-defs.h: remove old unused file
16335 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16337 * BufferView_pimpl.C: fix typo, remove minibuffer message
16338 when buffer has loaded
16340 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16342 * lyxfunc.C (Dispatch): use stringstream
16343 (MenuNew): use stringstream
16344 (Open): use stringstream
16346 * importer.C (Import): use stringstream
16348 * bufferview_funcs.C (CurrentState): use stringstream
16350 * LaTeX.C (run): use stringstream
16352 * BufferView_pimpl.C (savePosition): use stringstream
16353 (restorePosition): use stringstream
16354 (MenuInsertLyXFile): use stringstream
16356 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16369 * vspace.C: removed // -*- C++ -*- as first line.
16372 * version.h: added // -*- C++ -*- as first line.
16374 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16376 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16378 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16381 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16383 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16386 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16388 * gettext.C: include LString.h even when --disable-nls is on.
16390 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16392 * converter.h (Get): changed argument type from int to
16393 FormatList::size_type to avoid unnecessary conversion.
16395 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16398 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16400 * gettext.h: include LString.h even when --disable-nls is on.
16402 2001-06-07 Juergen Vigna <jug@sad.it>
16404 * text.C (BreakAgain): subst spaces with tabs.
16406 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16407 (resizeInsetsLyXText): set force on resizeLyXText.
16409 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16411 * gettext.h (gettext_init):
16412 (locale_init): use a real definition instead of a macro
16414 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16416 * Bufferview_pimpl.C:
16418 * LColor.C: further lcolor tidies
16420 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16422 * BufferView_pimpl.C (updateScrollbar): simplify.
16424 * BufferView2.C: don't include insets/insetinfo.h, change
16425 prototype for insertInset and call the Pimpl version. let
16426 updateInset call Pimpl version.
16428 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16429 gotoInset to BufferView::Pimpl
16431 2001-06-01 Juergen Vigna <jug@sad.it>
16433 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16434 inside a LockingInset (is the update needed at all?).
16436 2001-05-31 Juergen Vigna <jug@sad.it>
16438 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16439 here not the old one otherwise how should we compare it afterwards
16442 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16447 * FontInfo.C: bring C functions into global namespace when
16450 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16452 * LString.h: make sure config.h has been loaded before LString.h.
16454 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16455 (one for each char read by EatLine!).
16457 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16460 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16462 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16463 to the same as the par we break from
16465 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16467 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16469 * MenuBackend.C (expand): also create menu entries for wide
16470 versions of the floats.
16472 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16474 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16476 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16477 frontends/Makefile.am
16483 * tabular.C (getTokenValue): add std::
16485 * tabular-old.C (getTokenValue): add std::
16486 (getTokenValue): ditto
16487 (getTokenValue): ditto
16489 * screen.C (ToggleSelection): adjust
16491 * lyxtext.h: put selection cursors inside a Selection struct.
16493 * lyxfunc.C (moveCursorUpdate): adjust
16495 * lyxfont.C (latexWriteStartChanges): add std::
16497 * lyxfind.C: adjust
16499 * font.h: delete with(char const *, LyXFont const &)
16501 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16503 * FontInfo.C (getFontname): add std::
16505 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16506 (workAreaButtonPress): adjust
16507 (tripleClick): adjust
16509 (moveCursorUpdate): adjust
16512 * BufferView2.C (gotoInset): adjust
16514 2001-05-30 Juergen Vigna <jug@sad.it>
16516 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16517 to check pspell I add this as default as I now have new pspell
16518 libraries and they seem to use this.
16520 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16522 * text2.C (CutSelection): make the cursor valid before the call to
16525 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16527 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16528 relied on 0 terminated strings and other horrors. Bug found due to
16529 the new assert in lyxstring!
16531 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16534 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16536 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16539 * lyxfunc.C (processKeySym): change method of getting to the
16542 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16543 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16544 * BufferView_pimpl.[Ch]: here as private methods.
16546 2001-05-28 Juergen Vigna <jug@sad.it>
16548 * text.C (SetHeightOfRow): added the update() call again as it is
16549 needed to initialize inset dimensions!
16551 2001-05-16 Juergen Vigna <jug@sad.it>
16553 * text2.C (SetCharFont): Add new function with BufferView * and
16554 bool toggleall parameters for setting insets internal fonts.
16555 (SetFont): Freeze the undo as we may change fonts in Insets and
16556 all this change should be inside only one Undo!
16558 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16559 setting font's in insets as for them we have the SetFont function!
16561 2001-05-15 Juergen Vigna <jug@sad.it>
16563 * text2.C (ClearSelection): to be sure we REALLY don't have any
16566 * tabular.C (TeXCellPreamble): fixed the left border problem for
16569 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16571 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16574 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16576 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16577 LFUN_BREAKPARAGRAPH.
16579 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16580 help test to "internal only", similar for LFUN_INSERT_URL
16582 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16583 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16584 auto_region_delete and deadkeys.
16586 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16589 * LColor.C: remove some dead entries, tidy a little
16591 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16593 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16595 (Dispatch): implement LFUN_ESCAPE
16597 * commandtags.h: add LFUN_ESCAPE
16599 * LyXAction.C (init): add entry for LFUN_ESCAPE
16601 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16602 Remove commented code.
16603 (insertNote): moved here
16604 (open_new_inset): moved here
16606 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16609 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16611 * kbmap.C (findbinding): clean it up and make it work correctly.
16613 * lyx_main.C (init): do not pass argc and argv as parameters
16615 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16617 * buffer.C: fix path for OS/2 & Win32
16621 * lyx_main.C: Added os:: class.
16623 * os2_defines.h: update
16625 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16627 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16628 better by trying again with reduced state.
16630 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16632 * lyxrc.C (read): print error about invalid key sequence only when
16633 debugging (because not all latinX keysyms are known to some X
16636 * kbsequence.C (getiso): add a few std:: qualifiers
16637 (getiso): comment out extra return statement.
16639 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16641 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16643 (Dispatch): enhance the accent inset a bit. (not perfect)
16645 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16647 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16649 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16651 * bufferlist.C (emergencyWrite): fix assert() call
16653 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16655 * text.C (InsertChar): Added trivial patch to only send the "you
16656 can not do multiple spaces this way" message once during a
16659 2001-05-08 Baruch Even <baruch@lyx.org>
16661 * Makefile.am: Changed order of libraries to get LyX to link properly
16662 with the gnome frontend.
16664 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16666 * LaTeXFeatures.h: add a std:: qualifier
16668 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16670 * paragraph.C (String): use stringstream
16672 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16674 * paragraph.C (writeFile): remove footflag arg
16676 * buffer.C (makeLaTeXFile): use stringstream
16677 (latexParagraphs): remove footnot gurba
16679 * LaTeXFeatures.C (getPackages): use stringstream
16680 (getMacros): likewise
16681 (getTClassPreamble): likewise
16682 (getFloatDefinitions): new method
16684 * paragraph.C (writeFile): reindent
16687 * WorkArea.h: revert the xpos + etc changes.
16689 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16691 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16693 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16694 (pasteSelection): likewise
16695 * text2.C (CreateUndo): likewise
16697 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16699 * minibuffer.C (peek_event): temporarily reduce the functionality
16700 of the minibuffer (to allow args on lfuns)
16702 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16703 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16705 * buffer.C (readInset): add compability reading of old float
16706 lists, add reading of new style float list.
16707 (readInset): avoid reevaluation of inscmd.getCmdName()
16708 (getLists): reindent
16710 * MenuBackend.C (MenuItem): implement parsing of
16711 md_floatlistinsert and md_floatinsert.
16712 (expand::LastFiles): move initalizaton of iterators out of loop,
16713 avoid reevaluation.
16714 (expand::Documents): introduce typdedef vector<string> Strings,
16716 (expand::ExportFormats): introduce typedef vector<Format const *>
16717 Formats, and use it.
16718 (expand): implement FloatListInsert and FloatInsert.
16720 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16721 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16722 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16724 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16726 (Dispatch::LFUN_FLOAT_LIST): implement
16728 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16730 * LaTeX.C (run): Fix problem with --export code.
16732 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16734 * BufferView.[Ch] (workarea): removed.
16735 (getClipboard) new method; wrapper for workarea()->getClipboard()
16737 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16740 * WorkArea.h (width, height, xpos, ypos): These methods all
16741 returned the dimensions of the work_area sub-area of WorkArea,
16742 resulting in a position error if the WorkArea were resized. Now
16743 return the dimensions of the entire WorkArea.
16745 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16747 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16749 * LaTeX.C (deplog): correct the syntax of regex reg1
16751 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16753 * undo.C: remove !NEW_INSETS cruft
16755 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16757 * text2.C: remove !NEW_INSETS cruft
16759 * text.C: remove !NEW_INSETS cruft
16761 * tabular.C: remove !NEW_INSETS cruft
16763 * spellchecker.C: remove !NEW_INSETS cruft
16765 * lyxtext.h: remove !NEW_INSETS cruft
16767 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16769 * lyxfunc.C: remove !NEW_INSETS cruft
16771 * lyxfind.C: remove !NEW_INSETS cruft
16773 * lyx_cb.C: remove !NEW_INSETS cruft
16775 * figureForm.C: remove !NEW_INSETS cruft
16777 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16779 * buffer.[Ch]: remove !NEW_INSETS cruft
16781 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16783 * CutAndPaste.C: remove !NEW_INSETS cruft
16785 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16787 * BufferView2.C: remove !NEW_INSETS cruft
16789 * BufferView.h: remove !NEW_INSETS cruft
16791 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16793 * Lsstream.h: include LString.h before the sstream headers to
16794 fix problem with gcc 2.95.3 and lyxstring
16796 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16798 * lyx_main.C: add using directives when needed for C functions
16799 declared in std:: namespace.
16801 2001-04-27 Juergen Vigna <jug@sad.it>
16803 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16804 (SetHeightOfRow): comment out the update call should not be needed!
16806 2001-04-13 Juergen Vigna <jug@sad.it>
16808 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16809 (LyXTabular): tried to minimize operator= operations (and realized
16810 hopfully Lars wish).
16812 2001-04-27 Juergen Vigna <jug@sad.it>
16814 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16816 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16818 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16820 * buffer.C (readInset): hack to make listof algorithm work
16822 * BufferView_pimpl.C: hack to make listof algorithm work
16824 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16826 * LyXAction.C: removed all !NEW_INSETS cruft
16827 (init): moved lfun_item in method
16829 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16831 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16833 * BufferView2.C (theLockingInset): white space.
16835 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16837 * minibuffer.C: include <iostream>
16839 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16841 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16843 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16845 * text.[Ch] (TransposeChars): new method
16847 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16849 * call message directly through LyXView instead of through LyXFunc
16850 * BufferView2.C: adjust
16851 * BufferView_pimpl.C: adjust
16852 * FontLoader.C: adjust
16854 * bufferview_funcs.C: adjust
16855 * converter.C: adjust
16856 * figureForm.C: adjust
16857 * importer.C: adjust
16859 * lyx_gui_misc.C: adjust
16860 * lyxfunc.C: adjust
16863 + more files in subdirs
16865 * lyxparagraph.h (size): move up int file
16868 * adjust all uses of Assert to lyx::Assert.
16870 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16871 lyxfunctional in namespace lyx
16872 * layout.C (hasLayout): ditto
16875 (delete_layout): ditto
16876 (NumberOfClass): ditto
16877 * converter.C (GetFormat): ditto
16882 * bufferlist.C (getFileNames): ditto
16883 (emergencyWriteAll): ditto
16886 * MenuBackend.C (hasSubmenu): ditto
16889 * BufferView_pimpl.C (getInsetByCode): ditto
16891 2001-04-18 Juergen Vigna <jug@sad.it>
16893 * vspace.C (asLatexString): fixed the 100% problem.
16895 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16897 * lyxfunc.C (Dispatch):
16899 * minibuffer.h: add a few std:: qualifiers
16901 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16903 * minibuffer.[Ch]: reimplement so that commands is initiated and
16904 run from lyxfunc, simplified som handling, and made the completion
16905 and history code for complete. wip.
16907 * lyxfunc.C (processKeySym): call message
16908 (miniDispatch): new temporary method
16909 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16910 (LFUN_MESSAGE): implement
16911 (LFUN_MESSAGE_PUSH): implement
16912 (LFUN_MESSAGE_POP): implement
16913 (initMiniBuffer): the initial/defualt minibuffer message.
16915 * lyxfont.[Ch]: inline some more getters
16917 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16919 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16921 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16922 (AutoSave): use LFUN_MESSAGE
16923 (Reconfigure): ditto
16925 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16927 * figureForm.C: use LFUN_MESSAGE
16929 * converter.C (runLaTeX): use LFUN_MESSAGE
16931 * bufferview_funcs.C: use LFUN_MESSAGE
16933 (changeDepth): ditto
16935 * bufferparams.h: use boost::
16937 * bufferlist.h: inherit privately from noncopyable
16939 * bufferlist.C (loadLyXFile): remove some commented code.
16941 * buffer.C (runChktex): use LFUN_MESSAGE
16943 * ShareContainer.h: inherit privately from noncopyable
16945 * ParagraphParameters.[hC] (depth): inline it.
16947 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16949 (message): new method
16950 (messagePush): ditto
16951 (messagePop): ditto
16952 (show): init minibuffer
16953 (showState): direct call
16955 * LaTeX.[Ch]: inherit privately from noncopyable
16956 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16957 instead of WriteStatus.
16959 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16961 * BufferView_pimpl.C (buffer): don't init minibuffer
16962 (workAreaButtonPress): use LFUN_MESSAGE
16963 (workAreaButtonRelease): ditto
16964 (savePosition): ditto
16965 (restorePosition): ditto
16966 (MenuInsertLyXFile): ditto
16967 (workAreaExpose): don't init minibuffer
16968 (update): remove commented code, simplify
16970 * BufferView2.C (openStuff): use LFUN_MESSAGE
16971 (toggleFloat): ditto
16974 (copyEnvironment): ditto
16975 (pasteEnvironment): ditto
16980 (updateInset): remove some commented code
16982 * lastfiles.h: inherit privately from noncopyable
16985 * lyx_main.h: ditto
16987 * lyxlex_pimpl.h: ditto
16989 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16990 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16991 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16993 * LyXAction.h: inherit privately from noncopyable, add methods
16994 func_begin, func_end, returning iterators to the func map.
16996 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16997 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16998 (func_begin): new method
16999 (func_end): new method
17001 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17003 (copySelection): ditto
17004 (pasteSelection): ditto
17006 * BufferView.C: whitespace change
17007 * BufferView.h: inherit privately from noncopyable
17009 2001-04-16 Allan Rae <rae@lyx.org>
17011 * tabular-old.C (l_getline):
17012 * spellchecker.C (sc_check_word):
17013 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17014 an unrecognised preprocessor directive. So ensure they're wrapped.
17016 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17018 * src/exporter.C (Export): Give an error message when path to file
17021 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17023 * LaTeX.C (deplog): Always check that foundfile exists.
17025 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17028 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17030 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17032 * tabular.[Ch] (getLabelList): implement new method
17034 * minibuffer.h: comment ouf setTiimer
17036 * minibuffer.C (ExecutingCB): constify res
17037 (peek_event): constify s
17038 (Set): constify ntext
17039 (Init): constify nicename
17041 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17043 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17044 (savePosition): use two params to Minibuffer::Set
17045 (restorePosition): ditto
17047 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17049 * lyx_main.C: include language.h
17051 * Makefile.am (lyx_main.o): add language.h
17053 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17059 * CutAndPaste.C: include gettext.h
17061 * lyxfont.h: remove old hack with ON and OFF.
17064 * lyxfont.h: do not include language.h...
17069 * bufferview_funcs.C:
17075 * paragraph.C: ... but do it here instead
17077 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17079 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17081 * tabular.C: small reformat
17083 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17086 (BreakParagraph): ditto
17087 (SetOnlyLayout): ditto
17090 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17093 * lastfiles.C: removed most using decl, add std:: where needed
17095 * buffer.C: ws changes
17097 * MenuBackend.C (class compare_format): put into anon namespace
17098 (expand): constify label, names, action, action2
17101 * text.C (SingleWidth): constify font
17102 (IsBoundary): constify rtl2
17103 (GetVisibleRow): constify ww
17105 * LaTeX.C (deplog): constify logfile
17107 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17109 (workAreaExpose): constify widthChange, heightChange
17111 * lyxrow.C (par): moved
17114 * lyxrow.h: as inlines here
17116 * lyxfont.h (shape): moved from lyxfont.C
17117 (emph): moved from lyxfont.C
17119 * lyxfont.C (LyXFont): use initialization list for all
17121 (shape): move to lyxfont.h as inline
17122 (emph): move to lyxfont.h as inline
17125 2001-04-04 Juergen Vigna <jug@sad.it>
17127 * vspace.C: had to include stdio.h for use of sscanf
17129 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17132 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17133 independent of xforms.
17135 2001-04-02 Juergen Vigna <jug@sad.it>
17137 * spellchecker.C: fixed namespace placing!
17139 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17141 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17142 the LyXParagraph * is 0.
17144 2001-03-29 Juergen Vigna <jug@sad.it>
17146 * vspace.C: added support for %, c%, p%, l%.
17147 (stringFromUnit): added helper function.
17148 (asLatexString): changed to give right results for the %-values.
17150 * buffer.C: convert the widthp in a width%.
17152 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17154 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17157 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17158 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17160 * lyx_cb.[Ch]: see above.
17162 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17166 * lyx.[Ch]: replaced by figure_form.[Ch].
17170 * lyxfunc.C: changed headers associated with above changes.
17172 2001-03-27 Juergen Vigna <jug@sad.it>
17174 * BufferView_pimpl.C: set the temporary cursor right!
17176 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17178 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17180 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17182 * LString.h: removed "using std::getline"!
17184 * BufferView_pimpl.C (Dispatch): changes due to changes in
17185 InsetInclude::Params.
17187 * buffer.C (tag_name): removed redundant break statements as they were
17188 producing lots of warnings with my compiler.
17190 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17192 * LString.h: add "using std::getline" when using the real <string>.
17194 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
17196 * buffer.C: removed bitset usage.
17197 PAR_TAG moved to an anonymous name space.
17198 (tag_name): new funtion, also in the anonymous namespace.
17199 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17200 (makeDocBookFile): clean code. Completed transition from string arrays
17202 (SimpleDocBookOnePar): code clean.
17204 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17206 * tabular.C: add some comments.
17208 2001-03-22 Juergen Vigna <jug@sad.it>
17210 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17211 compatibility read a bit and fixed bug with minipage in different
17214 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
17216 * buffer.C (pop_tag): removed.
17217 (push_tag): removed.
17218 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17219 array replaced with vector. Added support for CDATA sections.
17220 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17222 (makeDocBookFile): XML conformant declaration of CDATA section,
17223 fixed bug related to <emphasis> in the first paragraph char.
17224 (sgmlOpenTag): exclude empty tags.
17225 (sgmlCloseTag): ditto.
17227 * buffer.h (pop_tag): removed.
17228 (push_tag): removed.
17230 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17232 * language.h (Languages): added size_type and size().
17234 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17236 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17237 response on compability reading of minipages. One probliem is that
17238 the old usage of minipages was «flertydig»
17240 * several files here and in subdirs: don't use static at file
17241 scope use anon namespaces instead.
17243 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17245 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17246 LaTeX output. This is necessary for Literate document
17249 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17251 * buffer.C: insert hfill when needed.
17253 * tabular.C (l_getline): use string::erase, small whitespace change.
17255 * BufferView_pimpl.C: try the anon namespace.
17256 * WorkArea.C: ditto
17258 2001-03-16 Juergen Vigna <jug@sad.it>
17260 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17261 otherwise it won't open options-dialogs.
17263 * buffer.C: honor pextraWidth(p) on converting minipages.
17265 * tabular.C (l_getline): changed the functions to strip trailing \r.
17267 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17269 * BufferView_pimpl.C:
17270 * minibuffer..C: added "using SigC::slot" declaration.
17272 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17274 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17280 * paragraph.C: ditto
17282 * lyxtext.h: NO_PEXTRA
17284 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17286 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17287 * ParameterStruct.h: ditto
17288 * ParagraphParameters.h: ditto
17289 * lyxparagraph.h: ditto
17291 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17293 * buffer.C: add compability for minipage alignment.
17294 (latexParagraphs): remove unwanted pextra check.
17296 * several files: remove CXX_WORKING_NAMESPACES
17298 * buffer.C (pop_tag): tie is in namespace boost
17300 * BufferView.h: noncopyable is in namespace boost
17302 * lyx_main.h: ditto
17305 * lastfiles.h: ditto
17306 * bufferlist.h: ditto
17307 * ShareContainer.h: ditto
17309 * LyXAction.h: ditto
17312 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17314 * Merging changes from BRANCH_MVC back into HEAD.
17316 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17318 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17320 * BufferView_pimpl.C: change from intl.C
17324 * Makefile.am: move combox.*
17330 * intl.C: remove dialog (covered by prefs)
17332 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17334 * lyxfunc.C (Dispatch): removed redundant break statement.
17336 2001-03-14 Juergen Vigna <jug@sad.it>
17338 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17340 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17342 * buffer.C: add hack to fix compability reading of minipages.
17344 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17346 * buffer.C (getLists): Cleanup.
17348 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17350 * lyxfont.C (update): don't honor toggleall on font size.
17352 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17356 * Makefile.am: moved to frontends/xforms/
17360 * BufferView_pimpl.C: changes for moved mathpanel
17362 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17364 * gettext.h: fix gettext_init() in --disable-nls
17366 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17368 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17370 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17373 * lyx.h: strip external form
17375 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17377 * BufferView_pimpl.C: add comment, destroySplash()
17379 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17381 * BufferView_pimpl.C:
17385 * lyxfunc.C: use re-worked insetinclude
17387 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17389 * buffer.C: add using std::stringstream.
17391 * lyx_cb.C: readd using std::ios.
17393 * buffer.C: add using std::map.
17395 * BufferView_pimpl.C: add using std::vector.
17397 * ShareContainer.h: add std:: to swap.
17399 * buffer.h: add some typedefs
17400 * buffer.C (getLists): use them
17401 (getLists): renamed from getTocList.
17402 add a counter for the different float types and use it in the
17404 (getLists): use the same counter for the NEW_INSETS and the "non"
17407 * lyx_cb.h: remove unused items, includes, using etc.
17409 * ShareContainer.h: remove some commented code, add more comments
17410 and "documentation".
17412 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17414 * buffer.C (getTocList): make the list also when NEW_INSETS is
17417 * buffer.h: remove TocType
17419 * buffer.C (getTocList): change to return a map<string,
17420 vector<TocItem> >, implement for dynamic number of list.
17422 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17423 * text2.C (PasteSelection): adjust
17424 * CutAndPaste.C (pasteSelection): adjust
17426 * FloatList.C (FloatList): update from the new_insets branch.
17427 * Floating.[Ch]: ditto
17428 * LaTeXFeatures.C: ditto
17430 * lyxlex_pimpl.C: ditto
17432 * paragraph.C (Last): remove when NEW_INSETS is defined.
17434 * other file: changes because of the above.
17436 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17438 * lyxparagraph.h: rename next to next_, previous to previous_,
17439 make them private for NEW_INSETS. Rename Next() to next(),
17440 Previous() to previous().
17442 * other files: changes because of the above.
17444 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17447 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17450 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17452 * main.C (main): pass lyx_localedir to gettext_init().
17454 * gettext.h: remove locale_init and gettext_init macros
17456 * gettext.C (locale_init): new function
17457 (gettext_init): new function
17459 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17462 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17464 * Moved credits to frontends:
17465 * credits.[Ch]: removed
17466 * credits_form.[Ch]: removed
17467 * lyx_gui_misc.C: remove credits stuff
17470 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17472 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17474 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17475 unneeded destructor.
17477 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17478 a standalone pointer again.
17480 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17482 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17488 * ToolbarDefaults.C:
17497 * BufferView_pimpl.C: use new file dialog in GUII
17500 * lyx_cb.C: remove LayoutsCB to Toolbar
17502 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17504 * ShareContainer.h (get): add std:: qualifier
17506 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17508 * ShareContainer.h: define a proper ShareContainer::value_type
17509 type (and use typename to please compaq cxx)
17511 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17513 * lyxparagraph.h: move serveral local vars to
17514 ParameterStruct/ParagraphParameters., use ShareContainer in
17515 FontTable., make vars in FontTable private and add getter and
17518 * paragraph.C: changes because of the above.
17520 * lyxfont.h: remove copy constructor and copy assignment. (the
17521 default ones is ok), move number inside FontBits. move inlines to
17524 * lyxfont.C: add number to initializaton of statics, move several
17525 inlines here. constify several local vars. some whitespace
17526 cleanup. Dont hide outerscope variables.
17528 * Spacing.h: add two new constructors to match the set methods.
17530 * ShareContainer.h: new file, will perhaps be moved to support
17532 * ParameterStruct.h: new file
17534 * ParagraphParameters.h: new file
17536 * ParagraphParameters.C: new file
17538 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17539 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17541 * BufferView_pimpl.C: ParagraphParameter changes.
17542 * buffer.C: Likewise.
17543 * bufferview_funcs.C: Likewise.
17544 * text.C: Likewise.
17545 * text2.C: Likewise.
17547 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17549 * lyxfind.C (LyXReplace): do not redefine default argument in
17551 (IsStringInText): ditto
17552 (SearchForward): ditto
17553 (SearchBackward): ditto
17555 2001-03-06 Juergen Vigna <jug@sad.it>
17557 * lyxfind.C (IsStringInText): put parentes around expressions.
17559 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17561 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17563 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17565 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17567 * stl_string_fwd.h: add comment
17569 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17572 * tabular.C: remove unused DocBook methods
17578 killed DO_USE_DEFAULT_LANGUAGE
17580 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17582 * lyx_gui.C: do not include language.h.
17584 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17585 arguments in function implementation.
17587 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17589 * BufferView_pimpl.C: add <ctime>
17591 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17593 * BufferView_pimpl.C: add using std::find_if
17595 2001-02-27 José Matos <jamatos@fep.up.pt>
17597 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17600 2001-02-11 José Matos <jamatos@fep.up.pt>
17602 * buffer.C (makeDocBookFile): command styles now have a parameter as
17603 "title" by default.
17605 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17607 * layout_forms.[Ch]: removed
17608 * lyx_cb.[Ch]: out character
17609 * lyx_gui.C: out character
17610 * lyx_gui_misc.C: out character
17611 * bufferview_funcs.C: : out character,
17612 added toggleall as parameter in ToggleAndShow
17614 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17616 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17618 * text2.C (SetCurrentFont): Disable number property at boundary.
17620 2001-02-26 Juergen Vigna <jug@sad.it>
17622 * lyxfunc.C (getStatus): added a string argument override function so
17623 that this is correctly called from LyXFunc::Dispatch if it contains a
17624 do_not_use_argument which is used!
17625 (Dispatch): added check for "custom" export and call appropriate func.
17627 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17629 * lyxrc.C: Add language_command_local, language_use_babel and
17630 language_global_options.
17632 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17634 * buffer.C (makeLaTeXFile): Use language_use_babel and
17635 language_global_options.
17637 2001-02-23 Juergen Vigna <jug@sad.it>
17639 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17640 which works with LyXText and putted it inside BufferView. Here now we
17641 only call for that part the BufferView::Dispatch() function.
17643 * BufferView.C (Dispatch): added.
17645 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17646 functions which needs to use a LyXText over from LyXFunc.
17647 (MenuInsertLyXFile): added
17648 (getInsetByCode): added
17649 (moveCursorUpdate): added
17650 (static TEXT): added
17652 2001-02-22 Juergen Vigna <jug@sad.it>
17654 * BufferView_pimpl.C (update): call a status update to see if LyXText
17657 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17659 * vc-backend.C (revert): implement for CVS
17660 (getLog): implement for CVS
17662 2001-02-20 Juergen Vigna <jug@sad.it>
17664 * text2.C (ClearSelection): added BufferView param for inset_owner call
17666 * lyxfunc.C (TEXT): added this function and use it instead of
17667 directly owner->view()-text of getLyXText().
17669 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17671 * src/layout_forms.C: out preamble
17672 * src/layout_forms.h: out preamble
17673 * src/lyx_cb.C: out preamble
17674 * src/lyx_cb.h: out preamble
17675 * src/lyx_gui.C: out preamble
17676 * src/lyx_gui_misc.C: out preamble
17677 * src/lyxfunc.C: connect with guii preamble
17679 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17681 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17683 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17685 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17686 whether to run bibtex.
17688 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17690 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17692 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17694 * Makefile.am (lyx_SOURCES): removed bibforms.h
17696 * vspace.h: doxygen
17698 * text.C (GetVisibleRow): make several local vars const
17700 * tabular.C: small cleanup.
17702 * lyxserver.C (callback): use compare instead of strncmp
17704 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17705 inlines to after class or to paragraph.C
17707 * lyxfont.h: remove friend operator!=
17709 * converter.h: move friend bool operator< to non friend and after
17712 * combox.h: small cleanup
17714 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17715 to inlines after class def.
17717 * buffer.C (pop_tag): use string operations instead of strcmp
17719 * bmtable.c: doxygen, small cleanup
17721 * LaTeX.h: remove friend operator==
17723 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17735 * BufferView_pimpl.C:
17736 * BufferView.[Ch]: remove cruft
17738 2001-02-14 Juergen Vigna <jug@sad.it>
17740 * lyxfunc.C: removed #if 0 unused code
17742 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17744 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17746 * text2.C (SetSelection): added a BufferView * parameter
17748 2001-02-13 Juergen Vigna <jug@sad.it>
17750 * lyxfunc.C (Dispatch): fixed protected blank problem.
17751 * BufferView2.C (protectedBlank): added LyxText * parameter.
17753 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17754 (AppendColumn): same as above for column_info.
17756 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17757 (moveCursorUpdate): use a LyXText param for support of InsetText.
17759 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17760 (tripleClick): ditto
17762 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17764 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17766 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17768 * text2.C (SetSelection): set correct update status if inset_owner
17769 (ToggleFree): ditto
17771 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17773 * tabular.C: remove some commented code.
17775 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17777 * BufferView_pimpl.C: call hideSplash()
17779 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17782 * bibforms.h: remove
17785 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17786 add LFUN_CHILD_CREATE
17788 * counters.h: fix tiny typo
17793 * lyx.C: move splash to frontends/xforms/
17795 * lyx_gui_misc.C: move Include and Bibform to frontends
17797 * lyxvc.h: clarify comment
17799 * vspace.C: tiny housekeeping
17801 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17803 * text.C (PrepareToPrint): RTL Fix.
17805 * paragraph.C (GetUChar): New method.
17806 (String): Use GetUChar.
17808 * buffer.C (asciiParagraph): Use GetUChar.
17810 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17812 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17814 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17817 * buffer.C: rename to getLogName(), handle
17818 build log / latex log nicely
17820 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17823 * MenuBackend.h: remove support for reference menuitem type.
17825 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17827 * BufferView_pimpl.C: housekeeping
17828 * BufferView_pimpl.h:
17833 * minibuffer.h: move Timeout GUI-I
17835 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17837 * lyxrc.C (read): Update converters data-structures.
17839 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17841 * LaTeX.h (operator!=): add operator != for Aux_Info
17843 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17845 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17847 * LaTeXLog.C: deleted, useful code moved to Buffer
17850 * buffer.C: new function getLatexLogName()
17856 * lyxfunc.C: use frontends for LaTeX and VC logs
17858 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17860 * LaTeX.h: yet another std:: that Allan forgot.
17862 * Variables.C (set): renamed from isset(), because this clashes
17863 with some HP-UX macros (grr).
17865 2001-02-06 Allan Rae <rae@lyx.org>
17867 * LaTeX.h: Another bug fix. Missing std:: this time.
17869 2001-02-04 Allan Rae <rae@lyx.org>
17871 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17872 floats problem. I've left it commented out because it's not quite
17873 correct. It should also test that the current object is a table or
17874 figure inset. But I haven't gotten around to figuring out how to do
17875 that. I *think* it'll be something like: "table" == inset.type()
17877 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17880 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17882 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17883 all the citation/databases/styles in the auxilary file.
17884 (run): Rerun latex if there was a babel language error.
17886 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17888 * text.C (Backspace): Preserve the font when changing newline char
17890 (BreakParagraph): If the cursor is before a space, delete the space.
17892 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17894 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17896 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17897 new argument (code).
17898 (ChangeCitationsIfUnique): New method.
17900 * paragraph.C (GetPositionOfInset): Handle bibkey.
17902 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17904 * BufferView_pimpl.h: change type of Position::par_pos to
17905 LyXParagraph::size_type.
17907 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17909 * BufferView_pimpl.C (savePosition, restorePosition): Write
17910 messages to minibuffer.
17912 2001-01-28 José Matos <jamatos@fep.up.pt>
17914 * buffer.C (makeDocBookFile): adds support for document language.
17915 A silly restriction on the name of LatexCommand types where removed.
17916 Added support for CDATA sections, allows to chars unescaped, used
17917 among others in code, to avoid escape < and >.
17919 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17921 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17922 saved positions instrad of a stack. Furthermore, a position is
17923 stored using paragraph id/paragraph position.
17925 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17926 Remove LFUN_REF_BACK.
17928 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17930 * converter.C (dvipdfm_options): New method.
17932 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17934 * vspace.C (isValidLength): Fix for empty input string.
17936 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17938 * LyXAction.C (init): change description of LFUN_FIGURE to
17941 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17943 * LaTeX.C: add using directive
17945 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17947 * MenuBackend.C (expand): Fix the sorting of the formats.
17949 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17951 * lyx_main.C: tiny error message fix
17953 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17955 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17956 calling fl_initialize(). This fixes the problem with ',' as
17957 decimal separator in text files.
17959 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17961 * trans.C (process): Fix the keymap bug.
17963 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17965 * LaTeX.C (scanAuxFiles): New method. Provides support for
17966 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17967 (scanLogFile) Scan for "run BibTeX" messages.
17969 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17970 OT1 font encoding. Also, load the aecompl package if the ae
17973 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17975 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17977 * texrow.C (increasePos): turn two error messages into debug
17980 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17982 * LaTeX.C (scanAux): Handle the \@input macro.
17983 (runBibTeX): Use scanAux().
17985 * language.C (latex_options_): New field.
17987 * LaTeXFeatures.C (getMacros): Add language macros.
17989 * buffer.C (makeLaTeXFile): Small fix.
17991 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17993 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17995 * text2.C: add a using directive.
17997 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18002 * lyxfunc.C: kill LyXBell.
18004 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18006 * text.C (IsBoundary): Remove the error message
18008 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18010 * lyxrc.C (setDefaults): Correct initialization value for
18013 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18015 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18018 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18019 and GotoNextNote().
18021 * src/LyXAction.C: Added reference-next.
18023 * text.C (InsertChar): Use contains instead of strchr.
18025 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18027 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18029 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18030 alignment commands (when needed).
18032 * text.C (InsertChar): Add ':' to number separator chars.